/* ═══════════════════════════════════════════════════════════
   Laura Hou · personal site v6
   Design system — ported from Design App to native HTML/CSS.
   All design tokens live in :root below. Inner pages reuse
   these tokens + the component classes further down.
   ═══════════════════════════════════════════════════════════ */

/* ---------- self-hosted fonts (no external CDN) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/space-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/space-mono-700.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-mono-500.woff2") format("woff2");
}
/* Noto Serif SC (700, unicode-range subset) loaded via its own 700.css */

/* ═══════════════ DESIGN TOKENS ═══════════════ */
:root {
  /* — color: surface & ink — */
  --bg:            #fdfcf9;   /* warm paper */
  --ink:           #26251f;   /* primary text */
  --ink-head:      #1c1b17;   /* headlines */
  --ink-body:      #47463f;   /* body copy */
  --ink-soft:      #6f6d64;   /* meta / secondary · WCAG AA on background */
  --ink-faint:     #737169;   /* kickers / footer · WCAG AA on background */
  --ink-mute:      #737169;   /* idle status rows · WCAG AA on background */

  /* — color: accent (change here to re-theme the whole site) — */
  --acc:           #c94732;   /* deeper cinnabar · readable as body text */
  --acc-wash:      rgba(201, 71, 50, 0.14);
  --acc-line:      rgba(201, 71, 50, 0.34);
  --online:        #3f9e6a;   /* live-dot green */

  /* — color: lines & grid — */
  --rule:          rgba(38, 37, 31, 0.10);
  --border:        rgba(38, 37, 31, 0.18);
  --grid-line:     rgba(38, 37, 31, 0.02);

  /* — type families — */
  --serif-en:  "Fraunces", Georgia, serif;
  --serif-zh:  "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans:      "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono-label:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --mono-status: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* — unified type scale — */
  --fs-page:    clamp(2rem, 4vw, 2.75rem);
  --fs-section: clamp(1.25rem, 2.2vw, 1.5rem);
  --fs-body:    15px;
  --fs-meta:    12px;

  /* — spacing scale — */
  --sp-1: 6px;
  --sp-2: 12px;
  --sp-3: 18px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --page-max: 64rem;
  --page-pad-x: 34px;

  /* — radius — */
  --r-sm: 7px;
  --r-md: 12px;
  --r-lg: 20px;
}

/* ═══════════════ RESET ═══════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* language switching */
html[data-lang="zh"] [data-lang="en"] { display: none; }
html[data-lang="en"] [data-lang="zh"] { display: none; }

/* ═══════════════ BACKGROUND ═══════════════ */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: gridshift 26s linear infinite;
}
.bg-glow {
  position: fixed; top: -20%; left: -8%; width: 60%; height: 78%;
  z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(224, 85, 60, 0.055), transparent 62%);
  animation: glowdrift 18s ease-in-out infinite;
}

/* ═══════════════ LAYOUT SHELL ═══════════════ */
.wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--page-max);
  margin: 0 auto;
  padding: 26px var(--page-pad-x) 22px;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ═══════════════ TOP BAR ═══════════════ */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  animation: fadeup 0.5s ease both;
}
.avatar {
  width: 52px; height: 52px; flex: none; display: block; line-height: 0;
  animation: aifloat 4.5s ease-in-out infinite;
}
.avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  display: block; transition: transform 0.3s ease;
}
.avatar:hover img { transform: scale(1.1) rotate(-4deg); }

.meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--mono-label);
  font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-soft);
}
.meta .sep { width: 1px; height: 11px; background: var(--border); flex: none; }
.meta-online { display: flex; align-items: center; gap: 7px; }
.meta-online .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--online); flex: none;
  animation: onlinepulse 1.9s ease-in-out infinite;
}
.meta-mail { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.meta-mail svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.meta-mail:hover { color: var(--acc); }
.home-link {
  min-height: 38px; padding: 7px 12px; border-radius: var(--r-sm);
  color: #fff; background: var(--acc); text-decoration: none;
  box-shadow: 0 3px 10px rgba(201, 71, 50, 0.16);
}
.home-link:hover, .home-link:focus-visible {
  color: #fff; background: #b94331; transform: translateX(-2px);
}
.lang-toggle {
  font-family: var(--mono-label); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--ink); background: transparent;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 5px 11px; cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.lang-toggle:hover { color: var(--acc); border-color: var(--acc-line); }

/* compact cross-page wayfinding */
.site-nav {
  display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap;
  margin-top: 12px; padding: 4px 0 10px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono-label); font-size: 11px; letter-spacing: 0.08em;
}
.site-nav a {
  min-height: 44px; display: inline-flex; align-items: center;
  color: var(--ink-soft); text-decoration: none; position: relative;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--acc); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px;
  height: 1px; background: var(--acc);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  margin-top: 5.5vh;
  display: flex; flex-wrap: wrap-reverse; gap: 36px;
  align-items: center; justify-content: space-between;
}
.hero-text { flex: 1 1 320px; }
.kicker {
  font-family: var(--mono-label);
  font-size: 11px; letter-spacing: 0.24em; color: var(--ink-faint);
  margin-bottom: var(--sp-3);
  animation: fadeup 0.6s ease 0.12s both;
}
.headline {
  color: var(--ink-head); margin-bottom: var(--sp-3);
  animation: fadeup 0.6s ease 0.26s both;
}
.headline-zh {
  font-family: var(--serif-zh); font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.25; letter-spacing: 0.01em;
}
.headline-en {
  font-family: var(--serif-en); font-weight: 700;
  font-size: clamp(1.85rem, 5.2vw, 2.6rem); line-height: 1.14; letter-spacing: -0.015em;
}
.role {
  font-family: var(--mono-label);
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-soft);
  text-transform: uppercase; line-height: 1.7;
  animation: fadeup 0.6s ease 0.4s both;
}
.hero-photo {
  position: relative; flex: 0 0 auto;
  animation: fadeup 0.6s ease 0.3s both;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(7px, 8px);
  background: rgba(122, 116, 104, 0.08); border-radius: var(--r-md);
}
.hero-photo img {
  position: relative; display: block;
  width: 138px; height: 174px; object-fit: cover; object-position: 50% 16%;
  border-radius: var(--r-md); border: 3px solid #fff;
  box-shadow: 0 6px 15px rgba(60, 57, 50, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.4s ease;
}
.hero-photo img:hover {
  transform: scale(1.03); box-shadow: 0 12px 28px rgba(60, 57, 50, 0.13);
}

.rule { border: none; border-top: 1px solid var(--rule); margin: 30px 0 32px; }

/* ═══════════════ CONTENT COLUMNS ═══════════════ */
.cols { display: flex; flex-wrap: wrap; gap: 36px 48px; align-items: start; }

/* — intro copy — */
.intro { flex: 3 1 340px; min-width: 280px; max-width: 29rem; }
.lead {
  font-size: 14px; line-height: 1.9; color: var(--ink-body);
  animation: fadeup 0.6s ease 0.52s both;
}
[data-lang="en"].lead { line-height: 1.8; }
.lead p { margin-bottom: 15px; }
.lead p:last-child { margin-bottom: 0; }

/* — keyword links — */
.kw {
  color: var(--acc); text-decoration: none;
  border-bottom: 1px solid var(--acc-line);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.kw:hover, .kw:focus-visible {
  background: var(--acc-wash); border-bottom-color: var(--acc);
}
.kw:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 2px; }

/* — credo — */
.credo {
  margin-top: var(--sp-4);
  border-left: 2.5px solid var(--acc); padding-left: 20px;
  animation: fadeup 0.6s ease 0.66s both;
}
.credo p { margin-bottom: var(--sp-1); }
.credo p:last-child { margin-bottom: 0; }
html[data-lang="zh"] .credo p {
  font-family: var(--serif-zh); font-size: 1.05rem; line-height: 1.6; color: #4a4a47;
}
html[data-lang="en"] .credo p {
  font-family: var(--serif-en); font-size: 1.15rem; line-height: 1.45; color: #4a4a47;
}
.credo p:last-child { color: var(--ink); }
.credo em { font-style: normal; color: var(--acc); }
html[data-lang="en"] .credo em { font-style: italic; font-weight: 600; }

/* ═══════════════ STATUS DASHBOARD ═══════════════ */
.status { flex: 1 1 280px; min-width: 255px; }
.status-title {
  font-family: var(--mono-status);
  font-size: 10px; letter-spacing: 0.18em; color: var(--ink-faint);
  text-transform: uppercase; margin-bottom: 22px;
  animation: fadeup 0.6s ease 0.58s both;
}
.status-list {
  list-style: none; display: flex; flex-direction: column; gap: 17px;
  animation: fadeup 0.6s ease 0.74s both;
}
.status-item { display: flex; align-items: center; gap: 13px; color: var(--ink-mute); }
.status-item svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.status-item .k {
  font-family: var(--mono-status);
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.01em;
}
html[data-lang="en"] .status-item .k { font-size: 0.76rem; text-transform: uppercase; }
.status-item.is-live {
  color: var(--acc);
  animation: statusbreath 3.6s ease-in-out infinite;
}
.status-link { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.status-link:hover { color: var(--acc); }
.status-item:has(.status-link):hover { color: var(--acc); }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  margin-top: auto; padding-top: 36px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--mono-label);
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-faint);
  text-transform: uppercase;
  animation: fadeup 0.6s ease 0.9s both;
}
.caret { color: var(--acc); margin-left: 4px; animation: cursor 1.1s step-end infinite; }

/* ═══════════════ INNER-PAGE HELPERS (work / about / …) ═══════════════ */
.back {
  display: inline-flex; align-items: center; min-height: 44px; width: fit-content;
  padding: 7px 13px; border: 1px solid var(--acc-line); border-radius: var(--r-sm);
  font-family: var(--mono-label); font-size: var(--fs-meta); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--acc); background: var(--acc-wash); text-decoration: none; margin: 22px 0 12px;
  transition: color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
.back:hover { color: #fff; background: var(--acc); transform: translateX(-3px); }
.page-title {
  color: var(--ink-head); font-size: var(--fs-page); line-height: 1.16; margin: 6px 0 8px;
  animation: fadeup 0.6s ease 0.1s both;
}
.page-lede {
  font-family: var(--mono-label); font-size: var(--fs-meta); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--sp-6);
}
/* when a page has no lede, the first section still needs air under the title */
.page-title + .section { margin-top: 44px; }
.section {
  margin-bottom: var(--sp-6); scroll-margin-top: 88px;
  padding-left: 18px; border-left: 2px solid transparent;
  transition: border-color 0.4s ease;
  animation: fadeup 0.6s ease both;
}
.section:target { border-left-color: var(--acc); }
.section h2 { font-weight: 700; color: var(--ink-head); margin-bottom: 10px; }
html[data-lang="zh"] .section h2 { font-family: var(--serif-zh); }
html[data-lang="en"] .section h2 { font-family: var(--serif-en); }
.section p { color: var(--ink-body); max-width: 36rem; font-size: var(--fs-body); line-height: 1.78; }
.section p + p { margin-top: 12px; }

/* rich section: narrative + media side by side, stacks on mobile */
.section.rich { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 760px) {
  .section.rich { grid-template-columns: 1.5fr 1fr; align-items: start; }
}
.sec-body p { color: var(--ink-body); }
.sec-media { margin: 0; }
.sec-media img {
  width: 100%; height: auto; display: block; border-radius: var(--r-md);
  border: 3px solid #fff; box-shadow: 0 6px 15px rgba(60, 57, 50, 0.08);
}
/* no text-transform here: captions carry proper nouns (TEDx, Fides) whose casing must survive */
.sec-media figcaption {
  font-family: var(--mono-label); font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-faint); margin-top: 8px;
}
.sec-media.placeholder {
  display: flex; align-items: center; justify-content: center; min-height: 180px;
  border: 1px dashed var(--border); border-radius: var(--r-md);
  font-family: var(--mono-label); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-faint); text-align: center; padding: 20px;
}

/* chapter: a narrative block with a permanent accent rule + bigger title */
.section.lined {
  border-left-color: var(--acc); border-top: 1px solid var(--rule);
  margin-bottom: 64px; padding-top: 22px; padding-bottom: 22px;
}
.chapter-title,
.tool-name {
  font-family: var(--serif-zh); font-weight: 700;
  font-size: var(--fs-section); line-height: 1.35;
  color: var(--ink-head); margin-bottom: 12px;
}
html[data-lang="en"] .chapter-title,
html[data-lang="en"] .tool-name { font-family: var(--serif-en); }

/* stage eyebrow: makes the school sequence scannable (01 本科 / 02 硕士 / 03 MBA) */
.stage {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono-label); font-size: var(--fs-meta);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 9px;
}
.stage-no {
  font-family: var(--mono-status); font-weight: 700; font-size: 12px;
  letter-spacing: 0.02em; color: var(--acc);
}
.stage-rule { flex: none; width: 16px; height: 1px; background: var(--acc-line); }
/* identity chips sit directly under the title, not buried at the bottom */
.chips--top { margin-top: 0; margin-bottom: 18px; }

/* ── lab: express each tool as a diagram, not paragraphs ── */

/* tool header: icon + name + mono subtitle */
.tool-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.tool-ico {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  border: 1px solid var(--acc-line); display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.5);
}
.tool-ico svg {
  width: 20px; height: 20px; fill: none; stroke: var(--acc);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.tool-name { display: block; margin-bottom: 2px; }
.tool-sub {
  display: block;
  font-family: var(--mono-label); font-size: var(--fs-meta); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--acc); margin-top: 4px;
}

/* flow diagram: nodes joined by dashed connectors */
.flow { display: flex; align-items: stretch; flex-wrap: wrap; margin: 26px 0 4px; }
.flow-node {
  border: 1px solid var(--acc-line); border-radius: 8px; padding: 8px 12px;
  background: rgba(255, 255, 255, 0.55); flex: none;
}
.flow-node b {
  display: block; font-family: var(--mono-status); font-weight: 400;
  font-size: var(--fs-meta); color: var(--ink); letter-spacing: 0.01em;
}
.flow-node i {
  display: block; font-family: var(--mono-label); font-style: normal;
  font-size: 11px; letter-spacing: 0.04em; color: var(--ink-faint); margin-top: 3px;
}
.flow-node.is-key { border-color: var(--acc); background: var(--acc-wash); }
.flow-arrow {
  align-self: center; flex: none; width: 20px; height: 1px;
  border-top: 1px dashed var(--acc-line);
}
.flow-note {
  font-family: var(--mono-label); font-size: var(--fs-meta); letter-spacing: 0.04em;
  color: var(--ink-faint); margin-top: 12px;
}
.lab-story {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
  gap: 28px; align-items: start; margin-top: 28px;
}
.lab-story .sec-media { max-width: 320px; justify-self: end; }
@media (max-width: 700px) {
  .flow { flex-direction: column; align-items: flex-start; }
  .flow-arrow {
    width: 1px; height: 13px; border-top: none;
    border-left: 1px dashed var(--acc-line); margin-left: 20px; align-self: flex-start;
  }
}

/* ── inlined SVG diagrams (work page) ───────────────────────
   Recolored from the handoff's 5-hue palette to this site's
   single-accent system: one cinnabar focus per diagram.      */
.dg-card {
  margin: 26px 0 0; padding: 14px 6px 6px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  box-shadow: 0 6px 15px rgba(60, 57, 50, 0.05);
  overflow-x: auto;
  overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch;
}
.dg-scroll-hint { display: none; }
.dg { width: 100%; height: auto; display: block; min-width: 620px; }
.dg text { font-family: var(--sans); }
.dg text.th { font-size: 14px; font-weight: 600; fill: var(--ink-head); }
.dg text.ts { font-size: 12px; fill: var(--ink-body); }
.dg .arr { stroke: var(--ink-mute); stroke-width: 1.5; fill: none; }
.dg .t-key  { fill: var(--acc); }
.dg .t-mute { fill: var(--ink-faint); }
.dg .c-mute rect { fill: rgba(38, 37, 31, 0.035); stroke: var(--border); }
.dg .c-base rect { fill: rgba(255, 255, 255, 0.7);  stroke: var(--border); }
.dg .c-key  rect { fill: var(--acc-wash); stroke: var(--acc); }

/* diagram hover interactions (from the handoff, scoped to .dg) */
.dg .raw-node, .dg .sys-node, .dg .hint-before { transition: opacity .2s; }
.dg .sys-wrap:hover .raw-node { opacity: .35; }
.dg .sys-node { opacity: .9; }
.dg .sys-wrap:hover .sys-node { opacity: 1; }
.dg .sys-wrap:hover .hint-before { opacity: 0; }
.dg .hint-after { opacity: 0; transition: opacity .2s; }
.dg .sys-wrap:hover .hint-after { opacity: 1; }
.dg .board-card, .dg .loop-step, .dg .layer-card { transition: opacity .18s; }
.dg .board-wrap:hover .board-card,
.dg .loop-wrap:hover .loop-step,
.dg .net-wrap:hover .layer-card { opacity: .5; }
.dg .board-wrap .board-card:hover,
.dg .loop-wrap .loop-step:hover,
.dg .net-wrap .layer-card:hover { opacity: 1; }
.dg .layer-note { opacity: 0; transition: opacity .2s; }
.dg .layer-card:hover .layer-note { opacity: 1; }
.dg .future-branch { opacity: .55; transition: opacity .25s; }
.dg .net-wrap:hover .future-branch { opacity: 1; }

/* module 3 is the emphasis: thicker rule */
.section.lined.is-focus { border-left-width: 3.5px; }

/* ── atlas: an inline world map that lights up places visited ── */
.atlas {
  position: relative; width: 100%; margin: 26px 0 6px;
  border: 1px solid var(--rule); border-radius: var(--r-md);
  background: rgba(255, 252, 246, 0.72);
  padding: 14px; overflow: hidden;
}
.atlas-map { width: 100%; height: auto; display: block; }
.atlas-land { fill: rgba(38, 37, 31, 0.07); stroke: none; }

.pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 20px; height: 20px; padding: 0; border: 0; background: none;
  cursor: pointer; z-index: 2;
}
.pin-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 0 0 var(--acc-line);
}
.pin.has-photo .pin-dot { animation: pinpulse 2.4s ease-out infinite; }
.pin.home .pin-dot { width: 9px; height: 9px; background: var(--ink-head); }
.pin.no-photo .pin-dot { width: 6px; height: 6px; background: var(--ink-mute); }
.pin:hover, .pin:focus-visible, .pin.is-open { z-index: 6; }
@keyframes pinpulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,85,60,0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(224,85,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,85,60,0); }
}

/* popup: photo + caption, above the dot; edge pins align inward */
.pin-pop {
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) scale(0.92);
  transform-origin: bottom center;
  width: 132px; background: #fff; border: 3px solid #fff; border-radius: 10px;
  box-shadow: 0 10px 26px rgba(38,37,31,0.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; z-index: 3;
}
.pin[data-align="r"] .pin-pop { left: auto; right: 50%; transform: translateX(0) scale(0.92); transform-origin: bottom right; }
.pin[data-align="l"] .pin-pop { left: 50%; right: auto; transform: translateX(0) scale(0.92); transform-origin: bottom left; }
.pin-pop img { width: 100%; height: auto; display: block; border-radius: 7px; }
.pin-pop.multi img + img { margin-top: 4px; }
.pin-pop.multi { max-height: 60vh; overflow-y: auto; }
.pin-pop .cap {
  display: block; font-family: var(--mono-label); font-size: 9px;
  letter-spacing: 0.08em; color: var(--ink-soft); padding: 5px 2px 1px; text-align: center;
}
.pin:hover .pin-pop, .pin:focus-visible .pin-pop, .pin.is-open .pin-pop {
  opacity: 1; visibility: visible; transform: translateX(-50%) scale(1);
}
.pin[data-align="r"]:hover .pin-pop, .pin[data-align="r"].is-open .pin-pop { transform: translateX(0) scale(1); }
.pin[data-align="l"]:hover .pin-pop, .pin[data-align="l"].is-open .pin-pop { transform: translateX(0) scale(1); }

/* label chip for no-photo pins */
.pin-label {
  position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-family: var(--mono-label); font-size: 9.5px;
  letter-spacing: 0.06em; color: var(--ink-soft);
  background: rgba(255,255,255,0.9); border: 1px solid var(--rule); border-radius: 5px;
  padding: 2px 7px; opacity: 0; visibility: hidden; transition: opacity .18s ease; z-index: 3;
}
.pin[data-align="r"] .pin-label { left: auto; right: 50%; transform: translateX(0); }
.pin[data-align="l"] .pin-label { left: 50%; right: auto; transform: translateX(0); }
.pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.is-open .pin-label { opacity: 1; visibility: visible; }

.atlas-legend {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px;
  font-family: var(--mono-label); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-faint);
}
.atlas-legend b { color: var(--acc); font-weight: 400; }

@media (max-width: 640px) {
  .pin-pop { width: 108px; }
  .pin { width: 26px; height: 26px; }
}

/* gallery: masonry columns — mixed aspect ratios, never cropped */
.gallery { columns: 2; column-gap: 18px; margin-top: 26px; }
@media (max-width: 640px) { .gallery { columns: 1; } }
.shot { break-inside: avoid; margin: 0 0 18px; }
.shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-md); border: 3px solid #fff;
  box-shadow: 0 6px 15px rgba(60, 57, 50, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.4s ease;
}
.shot img:hover {
  transform: scale(1.02); box-shadow: 0 12px 28px rgba(60, 57, 50, 0.13);
}
.shot figcaption {
  font-family: var(--mono-label); font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-faint); margin-top: 8px;
}

/* stat row: big number + mono caption */
.stats { display: flex; flex-wrap: wrap; gap: 30px 40px; margin: 26px 0 2px; }
.stat b {
  display: block; font-family: var(--serif-en); font-weight: 700;
  font-size: 1.75rem; line-height: 1; color: var(--acc);
}
.stat span {
  display: block; font-family: var(--mono-label); font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 7px;
}

/* work list: mono label + one desensitized line each */
.work-list { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.work-item { display: grid; grid-template-columns: 1fr; gap: 3px; }
@media (min-width: 640px) {
  .work-item { grid-template-columns: 7.5em 1fr; gap: 16px; }
}
.work-k {
  font-family: var(--mono-status); font-size: 11.5px; letter-spacing: 0.02em;
  color: var(--acc); padding-top: 3px;
}
.work-item p { margin: 0; }

/* mono data chips (echo the STATUS dashboard) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--mono-status); font-size: 11px; letter-spacing: 0.03em;
  color: var(--ink-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.chip b { color: var(--acc); font-weight: 400; }
.chip--acc { color: var(--acc); border-color: var(--acc-line); }
.todo { color: var(--acc); font-style: normal; }

/* ═══════════════ WORK · MODERN CASE STUDIES ═══════════════ */
.work-wrap { max-width: var(--page-max); }
.work-hero {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(210px, .45fr);
  gap: 48px; align-items: end;
  padding: 46px 0 62px;
}

/* ═══════════════ PROJECTS · BUILT AND IN USE ═══════════════ */
.projects-intro { max-width: 700px; padding: 42px 0 56px; }
.projects-kicker, .project-index, .project-status, .project-detail h3 {
  font-family: var(--mono-label); text-transform: uppercase;
}
.projects-kicker { margin-bottom: 9px; font-size: 10px; letter-spacing: .14em; color: var(--acc); }
.projects-intro .page-title { margin: 0; }
.projects-intro .page-lede { max-width: 620px; margin-top: 14px; }
.projects-list { display: flex; flex-direction: column; }
.project-entry { padding: 28px 0 34px; border-top: 1px solid var(--rule); }
.project-entry:last-child { border-bottom: 1px solid var(--rule); }
.project-head { display: grid; grid-template-columns: minmax(120px, .32fr) minmax(0, 1.68fr); gap: 26px; }
.project-index { padding-top: 5px; font-size: 10px; letter-spacing: .1em; color: var(--ink-faint); }
.project-status { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font-size: 9px; letter-spacing: .1em; color: #427f5d; }
.project-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(66,127,93,.1); }
.project-status--active { color: var(--acc); }
.project-status--done { color: var(--ink-faint); }
.project-head h2 { max-width: 720px; font-family: var(--serif-zh); font-size: var(--fs-section); line-height: 1.34; color: var(--ink-head); }
html[data-lang="en"] .project-head h2 { font-family: var(--serif-en); }
.project-reason { max-width: 680px; margin-top: 9px; font-size: var(--fs-body); line-height: 1.72; color: var(--ink-soft); }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: 48px; align-items: stretch; margin: 30px 0 0 146px; }
.project-detail { display: grid; gap: 24px; }
.project-detail h3 { margin-bottom: 7px; font-size: 9px; letter-spacing: .1em; color: var(--acc); }
.project-detail p { max-width: 560px; font-size: 14px; line-height: 1.78; color: var(--ink-body); }
.project-detail--compact { margin: 24px 0 0 146px; }
.project-visual { min-height: 210px; padding: 22px; border: 1px solid var(--rule); border-radius: var(--r-md); background: rgba(255,252,246,.72); }
.signal-board { display: grid; grid-template-columns: 1fr auto 1.15fr; gap: 14px; align-items: center; }
.signal-board > b { color: var(--acc); font-weight: 400; }
.signal-sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.signal-sources span, .memory-pipeline span, .pet-states span { padding: 8px; border: 1px solid var(--border); border-radius: var(--r-sm); background: rgba(255,255,255,.5); font-size: 10px; text-align: center; color: var(--ink-soft); }
.signal-output { padding: 18px; border: 1px solid var(--acc-line); border-radius: var(--r-sm); background: var(--acc-wash); }
.signal-output small { display: block; font-family: var(--mono-label); font-size: 8px; letter-spacing: .12em; color: var(--acc); }
.signal-output strong { display: block; margin-top: 5px; font-family: var(--serif-zh); font-size: 16px; color: var(--ink-head); }
.memory-pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: center; }
.memory-pipeline b { grid-column: 1 / -1; margin-top: 8px; padding: 17px; border: 1px solid var(--acc-line); border-radius: var(--r-sm); background: var(--acc-wash); font-family: var(--serif-zh); font-size: 16px; text-align: center; color: var(--ink-head); }
.pet-states { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; align-content: center; padding-right: 92px; }
.pet-states b { position: absolute; right: 22px; top: 50%; display: grid; place-items: center; width: 62px; height: 62px; transform: translateY(-50%); border-radius: 45% 55% 50% 48%; background: var(--acc-wash); border: 1px solid var(--acc-line); font-family: var(--serif-zh); font-size: 14px; color: var(--acc); }
.project-photo { margin: 0; }
.project-photo img { display: block; width: 100%; height: 230px; object-fit: cover; border-radius: var(--r-md); filter: saturate(.82); }
.project-photo figcaption { margin-top: 7px; font-family: var(--mono-label); font-size: 9px; letter-spacing: .08em; color: var(--ink-faint); }

@media (max-width: 760px) {
  .projects-intro { padding: 38px 0 48px; }
  .project-entry { padding: 24px 0 32px; }
  .project-head { grid-template-columns: 1fr; gap: 8px; }
  .project-index { padding: 0; }
  .project-body { grid-template-columns: 1fr; gap: 26px; margin: 26px 0 0; }
  .project-detail--compact { margin: 22px 0 0; }
  .project-visual { min-height: 190px; }
  .project-photo img { height: auto; }
}

@media (max-width: 420px) {
  .signal-board { grid-template-columns: 1fr; }
  .signal-board > b { transform: rotate(90deg); text-align: center; }
  .memory-pipeline { grid-template-columns: 1fr; }
  .memory-pipeline b { grid-column: auto; }
}
.work-context, .case-index, .visual-kicker {
  font-family: var(--mono-label); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--acc);
}
.work-title {
  max-width: 620px; margin-top: 10px;
  font-family: var(--serif-zh); font-size: var(--fs-page);
  line-height: 1.16; letter-spacing: 0; color: var(--ink-head);
  text-wrap: balance;
}
html[data-lang="en"] .work-title { font-family: var(--serif-en); letter-spacing: -.015em; }
.work-deck {
  max-width: 580px; margin-top: 16px; font-size: var(--fs-body);
  line-height: 1.78; color: var(--ink-body); text-wrap: pretty;
}
.career-arc { list-style: none; position: relative; display: grid; gap: 24px; padding-left: 22px; }
.career-arc::before {
  content: ""; position: absolute; inset: 9px auto 9px 3px; width: 1px;
  background: linear-gradient(var(--acc), var(--ink-head));
}
.career-arc li { position: relative; display: grid; grid-template-columns: 36px 1fr; align-items: baseline; }
.career-arc li::before {
  content: ""; position: absolute; left: -23px; top: 8px; width: 9px; height: 9px;
  border: 2px solid var(--bg); border-radius: 50%; background: var(--acc);
  box-shadow: 0 0 0 1px var(--acc);
}
.career-arc li:last-child::before { background: var(--ink-head); box-shadow: 0 0 0 1px var(--ink-head); }
.career-arc b { font-family: var(--mono-status); font-size: 10px; color: var(--ink-faint); }
.career-arc span { font-family: var(--serif-zh); font-size: var(--fs-section); font-weight: 700; color: var(--ink-head); }
html[data-lang="en"] .career-arc span { font-family: var(--serif-en); }

.case-list { display: flex; flex-direction: column; gap: 64px; }
.case-study { padding-top: 22px; border-top: 1px solid var(--rule); }
.case-header { display: grid; grid-template-columns: minmax(90px, .28fr) minmax(0, 1.72fr); gap: 24px; }
.case-index { padding-top: 5px; color: var(--ink-faint); }
.case-header h2 {
  max-width: 620px; font-family: var(--serif-zh); font-size: var(--fs-section);
  line-height: 1.35; letter-spacing: 0; color: var(--ink-head); text-wrap: balance;
}
html[data-lang="en"] .case-header h2 { font-family: var(--serif-en); }
.case-thesis { max-width: 580px; margin-top: 10px; font-size: var(--fs-body); line-height: 1.78; color: var(--ink-soft); }
.case-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 30px 0 38px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.case-facts > div { padding: 20px 24px 22px 0; }
.case-facts > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.case-facts dt { font-family: var(--mono-label); font-size: 10px; letter-spacing: .1em; color: var(--ink-faint); }
.case-facts dd { margin-top: 7px; font-size: 14px; line-height: 1.55; color: var(--ink-head); }
.case-body { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); gap: 38px; align-items: center; }
.case-body-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr); }
.case-body-reverse .case-copy { order: 2; }
.case-copy { max-width: 420px; }
.case-copy p { font-size: var(--fs-body); line-height: 1.78; color: var(--ink-body); }
.case-copy p + p { margin-top: 18px; }
.case-visual { position: relative; min-height: 310px; border-radius: var(--r-md); overflow: hidden; }

.composite-system {
  display: grid; grid-template-rows: auto auto 1fr auto; align-content: center;
  min-height: 390px; padding: 24px; background: rgba(255, 252, 246, .72); border: 1px solid var(--rule);
}
.employment-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.employment-types span { padding: 8px 5px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 10px; text-align: center; color: var(--ink-body); background: rgba(255,255,255,.5); }
.composite-arrow { padding: 4px 0; text-align: center; font-family: var(--mono-label); color: var(--acc); }
.composite-core { display: grid; align-content: center; padding: 18px; border: 1px solid var(--acc-line); border-radius: var(--r-md); background: var(--acc-wash); }
.composite-core small { font-family: var(--mono-label); font-size: 9px; letter-spacing: .14em; color: var(--acc); }
.composite-core strong { margin-top: 4px; font-family: var(--serif-zh); font-size: var(--fs-section); color: var(--ink-head); }
.composite-core > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.composite-core span { padding: 3px 7px; border-radius: 999px; font-size: 10px; color: var(--ink-soft); background: rgba(255,255,255,.55); }
.product-lifecycle { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 18px; border-top: 1px solid var(--rule); }
.product-lifecycle li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-top: 10px; }
.product-lifecycle li::before { content: ""; position: absolute; left: 0; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); }
.product-lifecycle b { font-family: var(--mono-status); font-size: 8px; color: var(--ink-faint); }
.product-lifecycle span { font-size: 10px; color: var(--ink-body); }
.product-lifecycle .is-closed::before { background: var(--ink-faint); }
.product-lifecycle .is-closed span { color: var(--ink-faint); }
.network-demand small, .network-result small { font-family: var(--mono-label); font-size: 9px; letter-spacing: .14em; opacity: .6; }

.operations-network {
  display: grid; grid-template-rows: 1fr auto 1fr; min-height: 390px;
  padding: 24px; background: rgba(255, 252, 246, .72); border: 1px solid var(--rule);
}
.operations-layer { display: grid; align-content: center; padding: 18px 20px; border-radius: var(--r-sm); }
.operations-layer small { font-family: var(--mono-label); font-size: 9px; letter-spacing: .12em; color: var(--ink-faint); }
.operations-layer > strong { margin-top: 5px; font-family: var(--serif-zh); font-size: var(--fs-section); color: var(--ink-head); }
.operations-layer-online { border: 1px solid var(--acc-line); background: var(--acc-wash); }
.operations-layer-online > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.operations-layer-online span { padding: 4px 8px; border: 1px solid var(--acc-line); border-radius: 999px; font-size: 11px; color: var(--ink-body); background: rgba(255,255,255,.45); }
.operations-flows { display: flex; justify-content: space-around; gap: 20px; padding: 8px 14px; }
.operations-flows span { display: flex; align-items: center; gap: 7px; font-family: var(--mono-label); font-size: 9px; letter-spacing: .08em; color: var(--ink-faint); }
.operations-flows b { font-size: 14px; font-weight: 400; color: var(--acc); }
.operations-flows i { font-style: normal; }
.operations-layer-field { border: 1px solid var(--border); background: rgba(255,255,255,.5); }
.field-scale { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.field-scale > span { display: flex; flex-direction: column; gap: 2px; }
.field-scale > span + span { padding-left: 14px; border-left: 1px solid var(--rule); }
.field-scale b { font-family: var(--serif-en); font-size: 1.35rem; line-height: 1; color: var(--acc); }
.field-scale i { font-style: normal; font-size: 10px; color: var(--ink-soft); }

.impact-row { display: flex; align-items: center; gap: 24px; margin: 8px 0 36px; padding-left: 114px; }
.impact-row div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.impact-row strong { font-family: var(--serif-en); font-size: 1.75rem; line-height: 1; letter-spacing: -.02em; color: var(--acc); }
.impact-row span { font-family: var(--mono-label); font-size: 10px; letter-spacing: .08em; color: var(--ink-faint); }
.impact-row i { font-family: var(--mono-label); font-size: 28px; font-style: normal; color: var(--border); }
.visual-network {
  display: grid; grid-template-columns: .72fr 1.2fr .72fr; gap: 20px; align-items: center;
  padding: 28px; color: var(--ink); background: rgba(255, 252, 246, .72); border: 1px solid var(--rule);
}
.network-demand, .network-result { display: flex; flex-direction: column; gap: 5px; }
.network-demand strong, .network-result strong { font-family: var(--serif-zh); font-size: 20px; }
.network-layers { display: grid; gap: 10px; }
.network-layers span { display: grid; grid-template-columns: 30px 1fr; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-sm); background: rgba(255,255,255,.55); }
.network-layers b { font-family: var(--mono-status); font-size: 9px; color: var(--acc); }
.network-layers i { font-style: normal; font-size: 13px; }
.network-result { padding: 16px; border-radius: var(--r-md); color: var(--acc); background: var(--acc-wash); border: 1px solid var(--acc-line); }
.credentials-band { display: grid; grid-template-columns: minmax(140px,.5fr) 1.5fr; gap: 30px; padding: 30px 0; border-top: 1px solid var(--ink-head); border-bottom: 1px solid var(--ink-head); }
.credentials-band > p { font-family: var(--mono-label); font-size: 10px; letter-spacing: .1em; color: var(--ink-faint); }
.credentials-band > div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.credentials-band span { font-size: 13px; color: var(--ink-body); }

@media (max-width: 760px) {
  .work-hero { grid-template-columns: 1fr; gap: 32px; padding: 42px 0 52px; }
  .work-title { font-size: var(--fs-page); }
  .career-arc { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 0 0; border-top: 1px solid var(--rule); }
  .career-arc::before { display: none; }
  .career-arc li { grid-template-columns: 1fr; gap: 2px; }
  .career-arc li::before { display: none; }
  .career-arc span { font-size: var(--fs-section); }
  .case-header { grid-template-columns: 1fr; gap: 10px; }
  .case-index { padding: 0; }
  .case-facts { grid-template-columns: 1fr; margin: 34px 0 40px; }
  .case-facts > div, .case-facts > div + div { padding: 15px 0; border-left: 0; }
  .case-facts > div + div { border-top: 1px solid var(--rule); }
  .case-body, .case-body-reverse { grid-template-columns: 1fr; gap: 32px; }
  .case-body-reverse .case-copy { order: 0; }
  .case-copy { max-width: none; }
  .case-visual { min-height: 300px; border-radius: var(--r-md); }
  .operations-network { min-height: 370px; padding: 18px; }
  .operations-layer { padding: 15px; }
  .operations-flows { padding: 7px 0; }
  .operations-flows span { gap: 4px; letter-spacing: .03em; }
  .composite-system { min-height: 370px; padding: 18px; }
  .employment-types { grid-template-columns: repeat(2, 1fr); }
  .impact-row { padding-left: 0; flex-wrap: wrap; margin: 0 0 42px; }
  .impact-row strong { font-size: 1.75rem; }
  .visual-network { grid-template-columns: 1fr; align-content: center; }
  .network-demand, .network-result { text-align: center; align-items: center; }
  .credentials-band { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .section.lined { margin-bottom: 48px; padding: 18px 0 18px 14px; }
  .sec-body p { font-size: var(--fs-body); }
  .chip { font-size: var(--fs-meta); padding: 4px 9px; white-space: normal; }
  .lab-story { grid-template-columns: 1fr; gap: 20px; }
  .lab-story .sec-media { max-width: none; justify-self: stretch; }
  .dg-scroll-hint {
    display: block; position: sticky; left: 0; width: max-content;
    margin: 0 8px 8px; font-family: var(--mono-label);
    font-size: 12px; letter-spacing: 0.04em; color: var(--ink-soft);
  }
}

/* ═══════════════ KEYFRAMES ═══════════════ */
@keyframes aifloat     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes cursor      { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fadeup      { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes statusbreath{ 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes onlinepulse { 0% { box-shadow: 0 0 0 0 rgba(63,158,106,0.5); opacity: 1; } 70% { box-shadow: 0 0 0 6px rgba(63,158,106,0); opacity: 0.55; } 100% { box-shadow: 0 0 0 0 rgba(63,158,106,0); opacity: 1; } }
@keyframes gridshift   { from { background-position: 0 0, 0 0; } to { background-position: 34px 34px, 34px 34px; } }
@keyframes glowdrift   { 0% { transform: translate(0,0); } 50% { transform: translate(55%,12%); } 100% { transform: translate(0,0); } }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 640px) {
  :root { --page-pad-x: 22px; }
  .wrap { padding-top: 20px; }
  body { font-size: 16px; }
  .meta { gap: 4px 8px; font-size: 12px; letter-spacing: 0.04em; }
  .meta-mail, .lang-toggle { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-toggle { font-size: 12px; padding: 8px 12px; }
  .site-nav { justify-content: space-between; gap: 0 8px; font-size: 12px; }
  .kicker, .role, .page-lede, .stage, .tool-sub,
  .sec-media figcaption, .shot figcaption, .atlas-legend,
  .status-title, .footer { font-size: 12px; letter-spacing: 0.06em; }
  .lead { font-size: 15px; line-height: 1.85; }
  .hero { margin-top: 3.5vh; gap: 24px; }
  .cols { gap: 32px; }
  .footer { gap: 8px; }
  .pin { width: 44px; height: 44px; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
