:root {
  --paper: #f3f0e9;
  --ink: #181817;
  --muted: #716d65;
  --rule: #c8c3b8;
  --panel: #ebe7de;
  --blue: #2447e5;
  --serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--ink); color: var(--paper); }

main {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
}

.work-meta,
.project-focus,
.project-state,
.profile-facts,
.hero-contact-title,
.hero-contact-list,
.footer-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}

.hero { padding: clamp(40px, 5vw, 54px) 0 60px; }
.hero-profile { max-width: 660px; }

.hero-intent {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-contacts { margin-top: 32px; scroll-margin-top: 62px; }
.hero-contact-title { margin-bottom: 12px; color: var(--muted); }
.hero-contact-list { width: min(100%, 560px); }

.copy-contact,
.github-contact {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.copy-contact span,
.github-contact span { color: var(--muted); }
.copy-contact strong,
.github-contact strong { font-weight: 400; overflow-wrap: anywhere; }
.copy-contact.is-copied span,
.copy-contact.is-copied strong { color: var(--blue); }
.copy-contact.is-copy-error span { color: #9a3d32; }

.copy-contact:hover,
.copy-contact:focus-visible,
.github-contact:hover,
.github-contact:focus-visible {
  color: var(--blue);
  transform: translateX(4px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portfolio-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(243, 240, 233, .96);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.portfolio-nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 15px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}

.portfolio-nav a:hover,
.portfolio-nav a:focus-visible { background: #e4e0d7; }
.portfolio-nav a.is-active { background: var(--ink); color: var(--paper); }
.portfolio-nav a.is-active:hover,
.portfolio-nav a.is-active:focus-visible { background: var(--ink); }

.content-section { scroll-margin-top: 52px; padding: 68px 0 74px; }
.section-heading { margin-bottom: 30px; }

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vibe-card { min-width: 0; }
.vibe-card-link { display: block; }

.study {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 15px;
  overflow: hidden;
  background: var(--panel);
}

.study::before,
.study::after,
.study span,
.study i {
  content: "";
  position: absolute;
  display: block;
  transition: transform 500ms cubic-bezier(.2, .75, .2, 1);
}

.study-1::before {
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  left: 15%;
  top: 16%;
}

.study-1::after {
  width: 22%;
  aspect-ratio: 1;
  background: var(--blue);
  border-radius: 50%;
  right: 19%;
  bottom: 16%;
}

.study-1 span {
  width: 70%;
  height: 1px;
  background: var(--ink);
  left: 15%;
  top: 50%;
  transform: rotate(-15deg);
}

.study-2::before { inset: 16% 12%; border: 1px solid var(--ink); }

.study-2::after {
  width: 34%;
  height: 72%;
  left: 33%;
  top: 14%;
  background: var(--blue);
  transform: rotate(4deg);
}

.study-2 span,
.study-2 i {
  width: 66%;
  height: 1px;
  left: 17%;
  background: var(--ink);
}

.study-2 span { top: 34%; }
.study-2 i { bottom: 27%; }

.study-3::before {
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  left: 26%;
  top: 14%;
  transform: rotate(45deg);
}

.study-3::after {
  width: 8px;
  height: 8px;
  background: var(--blue);
  left: calc(50% - 4px);
  top: calc(50% - 4px);
}

.study-3 span {
  width: 86%;
  height: 1px;
  left: 7%;
  top: 50%;
  background: var(--ink);
}

.project-study::before,
.project-study::after { display: none; }

.project-study img,
.project-study video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.study.project-study .play-indicator {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(24, 24, 23, .86);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.vibe-card-link:hover .play-indicator,
.vibe-card-link:focus-visible .play-indicator { transform: translate(-50%, -50%) scale(1.08); }

.vibe-card:hover .study::before { transform: rotate(8deg) scale(1.04); }
.vibe-card:hover .study-2::after { transform: rotate(-3deg) translateY(-5px); }
.vibe-card:hover .study-3::before { transform: rotate(53deg) scale(.92); }
.work-meta { display: flex; justify-content: space-between; color: var(--muted); }

.vibe-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.vibe-summary {
  margin: 8px 0 0;
  color: #514d46;
  font-size: 13px;
  line-height: 1.75;
}

.project-list { display: grid; gap: 10px; }

.project-row {
  display: grid;
  grid-template-columns: 46px 1fr 1.45fr 60px;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
  background: rgba(235, 231, 222, .72);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  transition: color 170ms ease, transform 170ms ease;
}

.project-row:hover,
.project-row:focus-visible { color: var(--blue); transform: translateX(4px); }
.project-number { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.project-focus { margin-bottom: 8px; color: var(--muted); }

.project-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.project-summary { margin: 0; color: #514d46; font-size: 13px; line-height: 1.75; }
.project-state { justify-self: end; color: var(--muted); }
.project-arrow { color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1; }

.skill-index-list { display: grid; gap: 10px; }

.skill-index-item {
  display: grid;
  grid-template-columns: minmax(200px, .8fr) 1.5fr 22px;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 20px 22px;
  background: rgba(235, 231, 222, .72);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  transition: color 170ms ease, transform 170ms ease;
}

.skill-index-item:hover,
.skill-index-item:focus-visible { color: var(--blue); transform: translateX(4px); }
.skill-index-item h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.skill-index-item p { margin: 0; color: #514d46; font-size: 14px; line-height: 1.7; }
.skill-index-item span { justify-self: end; font-size: 17px; }

.about-content {
  display: block;
}

.about-content > section + section { margin-top: 54px; }

.about-subtitle {
  margin: 0 0 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.profile-facts { font-family: var(--sans); font-size: inherit; }
.profile-facts dl { width: min(100%, 560px); margin: 0; }

.profile-facts dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.5;
}

.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; }

.capability-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  position: relative;
  padding: 10px 0 10px 25px;
  color: #454139;
  font-size: 14px;
  line-height: 1.9;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 29px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.site-footer { padding: 34px 0 28px; }
.footer-note { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--rule); }
.footer-note a:hover { color: var(--blue); }

.skill-page { width: min(calc(100% - 48px), 980px); }

.skill-page-header {
  max-width: 780px;
  padding: clamp(48px, 8vw, 88px) 0 clamp(44px, 7vw, 72px);
}

.skill-page-type,
.skill-command,
.skill-article .section-heading p,
.workflow-list > li > span,
.surface-grid span,
.source-disclosure {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
}

.skill-page-type { margin-bottom: 16px; color: var(--muted); }

.skill-page-header h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(31px, 4vw, 42px);
  line-height: 1.18;
}

.skill-page-summary {
  max-width: 740px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.skill-command {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 540px);
  margin-top: 30px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.skill-command > span { padding: 13px 16px 13px 0; color: var(--muted); }
.skill-command code { padding: 13px 16px; overflow-wrap: anywhere; }

.skill-command button {
  align-self: stretch;
  min-width: 64px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.skill-command button:hover,
.skill-command button:focus-visible { background: var(--ink); color: var(--paper); }

.skill-page-nav { margin-inline: 0; }

.skill-article { width: min(100%, 820px); margin: 0 auto; padding-bottom: 72px; }
.skill-article > section { scroll-margin-top: 64px; padding: 70px 0 76px; border-bottom: 1px solid var(--rule); }
.skill-article > section:last-child { border-bottom: 0; }

.skill-article .section-heading { margin-bottom: 28px; }
.skill-article .section-heading p { margin-bottom: 10px; color: var(--muted); }
.skill-article .section-heading h2 { max-width: 660px; }

.skill-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.skill-copy-grid p,
.skill-section-lead,
.workflow-list p,
.surface-grid p,
.quality-note p {
  color: #454139;
  font-size: 14px;
  line-height: 1.85;
}

.skill-copy-grid p,
.skill-section-lead,
.workflow-list p,
.surface-grid p,
.quality-note p { margin-bottom: 0; }

.workflow-list { margin: 0; padding: 0; list-style: none; }

.workflow-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 19px 0;
  border-top: 1px solid var(--rule);
}

.workflow-list li:last-child { border-bottom: 1px solid var(--rule); }
.workflow-list > li > span { padding-top: 4px; color: var(--muted); }
.workflow-list h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 18px; font-weight: 600; }

.skill-section-lead { max-width: 700px; }
.skill-section-lead code { font-family: var(--mono); color: var(--ink); }
.skill-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 15px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
}

.primary-action:hover,
.primary-action:focus-visible { background: var(--blue); }

.quality-note {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  margin-top: 34px;
  padding: 20px;
  background: rgba(235, 231, 222, .72);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}

.quality-note strong { font-family: var(--serif); font-size: 17px; }
.source-disclosure { margin: 30px 0 0; padding-left: 14px; border-left: 2px solid var(--blue); color: var(--muted); line-height: 1.7; }

.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.surface-grid article { min-height: 150px; padding: 18px; background: rgba(235, 231, 222, .72); }
.surface-grid span { color: var(--blue); }
.surface-grid h3 { margin: 24px 0 6px; font-family: var(--serif); font-size: 19px; font-weight: 600; }

/* Skill detail pages intentionally contain only a description and acquisition path. */
.skill-page { width: min(calc(100% - 48px), 760px); }

.skill-back {
  display: inline-block;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.skill-back:hover,
.skill-back:focus-visible { color: var(--blue); }

.skill-profile { padding: clamp(60px, 9vw, 96px) 0 100px; }
.skill-profile .skill-page-type { margin-bottom: 18px; }

.skill-profile h1 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.25;
}

.skill-profile h1 span { margin-left: 8px; font-size: .62em; font-weight: 500; }

.skill-description {
  max-width: 720px;
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.skill-attribution {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.skill-get { margin-top: clamp(58px, 9vw, 82px); }
.skill-get h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.skill-get > p { margin: 0 0 16px; color: #4c4841; font-size: 14px; line-height: 1.8; }

.install-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: stretch;
  background: var(--panel);
}

.install-command code {
  padding: 20px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.install-command button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
}

.install-command button:hover,
.install-command button:focus-visible { background: var(--blue); }

.github-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
}

.project-page { width: min(calc(100% - 48px), 980px); }

.project-page-nav { margin-top: 20px; }
.project-back { color: var(--muted); }

.project-back:hover,
.project-back:focus-visible { color: var(--blue); }

.project-header { width: 100%; max-width: none; padding: 18px 0 36px; }
.project-header p { margin-bottom: 15px; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.project-header h1 { margin: 0; font-size: clamp(32px, 4vw, 42px); }
.project-header > span { display: block; margin-top: 20px; font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }

.project-video video {
  display: block;
  width: 100%;
  height: auto;
}

.project-story { width: min(100%, 720px); margin: 0 auto; padding: 70px 0 100px; }
.project-story section + section { margin-top: 58px; }
.project-story h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.project-story p { margin: 0; color: #454139; font-size: 15px; line-height: 1.95; }
.project-story p + p { margin-top: 16px; }

.project-rag-story,
.project-detail-story { width: min(100%, 860px); }

.project-bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-bullet-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: #454139;
  font-size: 14px;
  line-height: 1.85;
}

.project-bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.project-case-header { width: 100%; max-width: none; padding: 18px 0 34px; }

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.project-stack span {
  padding: 8px 11px;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.35;
}

.project-tech-stack { gap: 10px; margin-top: 24px; }
.project-tech-stack span { background: rgba(235, 231, 222, .52); }

.project-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.project-metrics article { padding: 24px 20px; border-right: 1px solid var(--rule); }
.project-metrics article:first-child { padding-left: 0; }
.project-metrics article:last-child { border-right: 0; }

.project-metrics strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
}

.project-metrics span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.project-case-content { width: min(100%, 820px); margin: 0 auto; padding-bottom: 90px; }
.project-case-content > section { padding: 62px 0; border-bottom: 1px solid var(--rule); }
.project-case-content > section:last-child { border-bottom: 0; }

.case-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
}

.project-case-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.case-lead {
  max-width: 700px;
  margin: 18px 0 0;
  color: #454139;
  font-size: 14px;
  line-height: 1.85;
}

.case-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.case-stage-grid article { min-height: 176px; padding: 20px; background: var(--panel); }
.case-stage-grid span { color: var(--blue); font-family: var(--mono); font-size: 11px; }
.case-stage-grid h3 { margin: 28px 0 8px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.case-stage-grid p { margin: 0; color: #514d46; font-size: 13px; line-height: 1.75; }

.case-decision-list { margin: 30px 0 0; padding: 0; list-style: none; }

.case-decision-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.case-decision-list li:last-child { border-bottom: 1px solid var(--rule); }
.case-decision-list strong { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.case-decision-list p { margin: 0; color: #514d46; font-size: 13px; line-height: 1.75; }

.case-routing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.case-routing article { padding: 22px; background: var(--panel); }
.case-routing span { color: var(--blue); font-family: var(--mono); font-size: 11px; }
.case-routing h3 { margin: 22px 0 8px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.case-routing p { margin: 0; color: #514d46; font-size: 13px; line-height: 1.75; }

@media (max-width: 760px) {
  main { width: min(calc(100% - 36px), 980px); }
  .hero { padding: 38px 0 50px; }
  .portfolio-nav { margin-inline: -18px; padding-inline: 18px; overflow-x: auto; }
  .portfolio-nav a { flex: 0 0 auto; padding-inline: 12px; }
  .content-section { padding: 56px 0 62px; }
  .vibe-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-row { grid-template-columns: 34px 1fr auto; gap: 12px; padding: 18px; }
  .project-summary { grid-column: 2 / -1; }
  .project-state { grid-column: 3; grid-row: 1; }
  .skill-index-item { grid-template-columns: 1fr auto; gap: 10px; padding: 18px; }
  .skill-index-item p { grid-column: 1; }
  .skill-index-item span { grid-column: 2; grid-row: 1; }
  .about-content { grid-template-columns: 1fr; gap: 38px; }
  .copy-contact,
  .github-contact { grid-template-columns: 68px minmax(0, 1fr); gap: 9px; }
  .skill-page { width: min(calc(100% - 36px), 980px); }
  .skill-page-header { padding-top: 42px; }
  .skill-page-nav { margin-inline: -18px; padding-inline: 18px; }
  .skill-article > section { padding: 56px 0 62px; }
  .skill-copy-grid { grid-template-columns: 1fr; gap: 14px; }
  .surface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-note { grid-template-columns: 1fr; gap: 8px; }
  .project-page { width: min(calc(100% - 36px), 980px); }
  .project-header { padding-top: 18px; }
  .project-case-header { padding-top: 18px; }
  .project-story { padding: 56px 0 72px; }
  .project-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-metrics article { border-bottom: 1px solid var(--rule); }
  .project-metrics article:nth-child(2) { border-right: 0; }
  .project-metrics article:nth-child(n + 3) { border-bottom: 0; }
  .project-metrics article:nth-child(3) { padding-left: 0; }
  .case-stage-grid { grid-template-columns: 1fr; }
  .case-stage-grid article { min-height: 0; }
}

@media (max-width: 460px) {
  .skill-command { grid-template-columns: auto minmax(0, 1fr); }
  .skill-command button { grid-column: 1 / -1; min-height: 38px; border-top: 1px solid var(--rule); }
  .surface-grid { grid-template-columns: 1fr; }
  .skill-profile h1 span { display: block; margin: 8px 0 0; }
  .install-command { grid-template-columns: 1fr; }
  .install-command button { min-height: 42px; }
  .case-decision-list li { grid-template-columns: 1fr; gap: 7px; }
  .case-routing { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
