/* A3 visual system. Scoped under body.a3 so unapproved surfaces (case-study shells, 404) keep their A2 styling.
   One system, different page registers: Home balanced, Work structured, Journey narrative, About warm, Resume quiet.
   Art direction reference: .review/visual-reference. Layout is re-implemented responsively with grid/flex. */

/* One font file only. The italic face was removed in the A3 review pass: it was used for a single label,
   which is now carried by weight/size/colour on the regular variable face. */
@font-face { font-family: 'Newsreader A3'; src: url('fonts/newsreader-latin.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
body.a3 {
  --a3-paper: #F6F5F0;
  --a3-ink: #1F2421;
  --a3-graphite: #5B605C;
  --a3-quiet: #8A8E88;
  --a3-rule: #DAD8CF;
  --a3-spruce: #1F4D3F;
  --a3-spruce-soft: #DCE5DF;
  --a3-warm: #EFEBE2;
  --a3-warm-rule: #D8D2C4;
  --a3-ph: #E3DFD4;
  --a3-ph-ink: #8F8A7E;
  --a3-serif: 'Newsreader A3', var(--cjk-serif), Georgia, 'Times New Roman', serif;
  --a3-sans: var(--sans);
  --a3-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  background: var(--a3-paper);
  color: var(--a3-ink);
  font-family: var(--a3-sans);
  font-size: 18px;
  line-height: 1.6;
}
body.a3 h1, body.a3 h2, body.a3 h3 { font-family: var(--a3-serif); font-weight: 400; margin: 0; }
/* zero-specificity reset so component margins still apply */
:where(body.a3) p { margin: 0; max-width: none; }
:where(body.a3) figure { margin: 0; }
body.a3 a { color: var(--a3-spruce); text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.a3 a:hover { color: #14332a; }
body.a3 :focus-visible { outline: 2px solid var(--a3-spruce); outline-offset: 3px; }

/* CJK readiness: no all-caps or tracking dependence, CJK stacks take over automatically */
body.a3:lang(zh-Hans) { font-family: var(--cjk-sans); }
body.a3:lang(zh-Hans) h1, body.a3:lang(zh-Hans) h2, body.a3:lang(zh-Hans) h3 { font-family: var(--cjk-serif); letter-spacing: 0; }
body.a3:lang(zh-Hans) .a3-mono { font-family: var(--cjk-sans); letter-spacing: 0; }

/* ---------- layout primitives ---------- */
.a3-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.a3-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.a3-sec { padding: clamp(56px, 8.5vw, 120px) 0; }
.a3-sec--rule { border-top: 1px solid var(--a3-rule); }
.a3-sec--warm { background: var(--a3-warm); }
.a3-h2 { font: 400 clamp(28px, 3vw, 34px)/1.15 var(--a3-serif); letter-spacing: -0.005em; font-variation-settings: 'opsz' 36; }
.a3-note { color: var(--a3-graphite); font-size: 17px; margin-top: 12px; max-width: 30ch; }
.a3-mono { font-family: var(--a3-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--a3-quiet); }
.a3-cap { font-size: 16px; color: var(--a3-graphite); margin-top: 12px; max-width: 38ch; }
.a3-cap b { font-weight: 600; color: var(--a3-ink); }
.a3-more { font-size: 17px; }
.a3-shot { width: 100%; height: auto; display: block; object-fit: cover; }
.a3-photo .a3-cap, .a3-sk .a3-cap { max-width: 42ch; }
.a3-sk .a3-cap + .a3-shot, .a3-sk .a3-shot + .a3-cap { margin-top: 12px; }
.a3-ph-inline { background: var(--a3-ph); color: var(--a3-ph-ink); padding: 2px 6px; }
.a3-note ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 15px; }

/* ---------- header / footer on A3 pages ---------- */
body.a3 .site-header { position: relative; background: transparent; border-bottom: 0; backdrop-filter: none; padding-top: clamp(18px, 3vw, 34px); }
body.a3 .header-inner { min-height: 0; align-items: baseline; }
body.a3 .wordmark { font-family: var(--a3-serif); font-size: 21px; font-weight: 500; font-variation-settings: 'opsz' 24; }
body.a3 .nav a { font-size: 16px; color: var(--a3-graphite); }
body.a3 .nav a[aria-current='page'] { color: var(--a3-ink); }
body.a3 .nav a[aria-current='page']::after { background: var(--a3-spruce); height: 1.5px; }
body.a3 .site-footer { border-top: 1px solid var(--a3-rule); margin-top: clamp(40px, 6vw, 80px); padding: 28px 0 44px; font-size: 15px; color: var(--a3-quiet); }
body.a3 .footer-links a { color: var(--a3-graphite); }
body.a3 .footer-meta { border-top: 0; margin-top: 10px; padding-top: 0; font-size: 13px; }

/* ---------- home: hero + now ---------- */
.a3-hero { padding: clamp(48px, 9vw, 150px) 0 clamp(48px, 8vw, 110px); }
.a3-hero h1 { grid-column: 1 / 8; font-size: clamp(44px, 7.4vw, 104px); line-height: 1.0; font-weight: 380; letter-spacing: -0.02em; font-variation-settings: 'opsz' 72; }
.a3-lede { grid-column: 1 / 8; margin-top: clamp(20px, 3vw, 44px); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 31em; }
.a3-sub { grid-column: 1 / 7; margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--a3-graphite); max-width: 34em; }
.a3-links { grid-column: 1 / 8; margin-top: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 30px; font-size: 17px; }
.a3-now { grid-column: 9 / 13; grid-row: 1 / 6; align-self: end; border-top: 2px solid var(--a3-spruce); padding-top: 20px; }
.a3-now .lab { font: 600 20px/1 var(--a3-serif); color: var(--a3-spruce); letter-spacing: 0.01em; font-variation-settings: 'opsz' 20; }
.a3-now .where { font-size: 15px; color: var(--a3-quiet); margin-top: 6px; }
.a3-now p.body { font-size: 17px; line-height: 1.6; margin-top: 18px; }
.a3-now .upd { margin-top: 18px; }

/* ---------- home: selected work ---------- */
.a3-work .head { grid-column: 1 / 4; }
.a3-work .list { grid-column: 4 / 13; }
.a3-row { display: grid; grid-template-columns: 56px 1fr 1fr; column-gap: clamp(16px, 2.4vw, 32px); padding: clamp(22px, 2.6vw, 30px) 0 clamp(24px, 2.8vw, 32px); border-top: 1px solid var(--a3-rule); }
.a3-row:last-of-type { border-bottom: 1px solid var(--a3-rule); }
.a3-row .n { padding-top: 9px; }
.a3-row h3 { font-size: clamp(22px, 2.3vw, 29px); line-height: 1.2; font-weight: 420; letter-spacing: -0.005em; font-variation-settings: 'opsz' 30; }
.a3-row h3 a { color: inherit; text-decoration: none; }
.a3-row h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.a3-row .ctx { font-size: 15px; color: var(--a3-quiet); margin-top: 8px; }
.a3-row .d { font-size: 17px; padding-top: 4px; }
.a3-work .more { margin-top: 28px; }

/* ---------- home: journey route ---------- */
.a3-journey .head { grid-column: 1 / 13; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.a3-route { grid-column: 1 / 13; position: relative; margin-top: clamp(40px, 5.5vw, 70px); }
.a3-route .line { position: absolute; left: 0; right: calc(100% / var(--stops)); top: 9px; height: 1px; background: var(--a3-ink); }
.a3-route .fut { position: absolute; left: calc((var(--stops) - 1) / var(--stops) * 100%); right: 0; top: 9px; border-top: 1px dashed var(--a3-quiet); }
.a3-stops { display: grid; grid-template-columns: repeat(var(--stops), minmax(0, 1fr)); }
.a3-stop { padding-right: 14px; }
.a3-stop .dot { display: block; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--a3-ink); background: var(--a3-paper); box-sizing: border-box; }
.a3-stop.on .dot { background: var(--a3-spruce); border-color: var(--a3-spruce); }
.a3-stop .pl { display: block; font: 420 22px/1.25 var(--a3-serif); margin-top: 18px; font-variation-settings: 'opsz' 24; }
.a3-stop .mono { display: block; margin-top: 6px; }
.a3-journey .say { grid-column: 1 / 9; margin-top: clamp(32px, 4vw, 56px); font: 400 clamp(22px, 2.6vw, 30px)/1.4 var(--a3-serif); color: var(--a3-ink); font-variation-settings: 'opsz' 30; }
.a3-journey .more { grid-column: 1 / 9; margin-top: 28px; }

/* ---------- home: what I explore (asymmetric) ---------- */
.a3-explore .head { grid-column: 1 / 6; }
.a3-explore .head p { font-size: 19px; color: var(--a3-graphite); margin-top: 14px; max-width: 24em; }
.a3-photo { grid-column: 1 / 8; grid-row: 2 / 4; margin-top: clamp(32px, 4vw, 56px); }
.a3-photo .a3-shot { aspect-ratio: 4 / 3; }
.a3-puzzle { grid-column: 9 / 13; grid-row: 2; margin-top: clamp(32px, 4vw, 56px); }
.a3-puzzle .big { font: 300 clamp(72px, 9vw, 128px)/0.85 var(--a3-serif); letter-spacing: -0.03em; color: var(--a3-spruce); font-variation-settings: 'opsz' 72; }
.a3-puzzle .a3-cap { margin-top: 18px; max-width: 22ch; }
.a3-elist { grid-column: 9 / 13; grid-row: 3; align-self: end; border-top: 1px solid var(--a3-warm-rule); padding-top: 22px; margin-top: 32px; }
.a3-elist p { font-size: 17px; margin-bottom: 14px; color: var(--a3-graphite); }
.a3-elist p:last-child { margin-bottom: 0; }
.a3-elist b { font-weight: 600; color: var(--a3-ink); }
.a3-stamps { grid-column: 1 / 13; margin-top: clamp(48px, 5.5vw, 80px); padding-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--a3-warm-rule); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.a3-stamps .txt { grid-column: 1 / 6; }
.a3-stamps .txt h3 { font: 420 clamp(22px, 2.4vw, 28px)/1.2 var(--a3-serif); }
.a3-stamps .txt p { font-size: 17px; color: var(--a3-graphite); margin-top: 10px; }
.a3-stamps .row { grid-column: 6 / 13; display: flex; gap: clamp(12px, 1.8vw, 22px); justify-content: flex-end; flex-wrap: wrap; }
.a3-explore .more { grid-column: 1 / 6; margin-top: clamp(32px, 4vw, 56px); }

/* ---------- quiet contact ---------- */
.a3-contact { padding: clamp(44px, 6vw, 90px) 0 clamp(36px, 5vw, 70px); }
.a3-contact .row { grid-column: 1 / 13; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 30px; }
.a3-contact .lab { font-size: 15px; color: var(--a3-quiet); min-width: 5rem; }
.a3-contact .ways { display: flex; flex-wrap: wrap; gap: 14px 30px; font-size: 17px; }

/* ---------- about: intro ---------- */
.a3-intro { padding: clamp(48px, 8.5vw, 130px) 0 clamp(44px, 7vw, 110px); }
.a3-intro .it { grid-column: 1 / 8; align-self: end; }
.a3-intro h1 { font-size: clamp(44px, 6.8vw, 96px); line-height: 1; font-weight: 380; letter-spacing: -0.02em; font-variation-settings: 'opsz' 72; }
.a3-intro p { margin-top: clamp(20px, 2.6vw, 36px); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; max-width: 26em; }
.a3-intro .portrait { grid-column: 10 / 13; align-self: start; margin-top: 10px; }
.a3-intro .portrait .a3-shot { aspect-ratio: 2 / 3; }

/* ---------- about: parks + stamps ---------- */
.a3-parks .txt { grid-column: 1 / 5; }
.a3-parks h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: 'opsz' 48; }
.a3-parks .txt p { font-size: 19px; line-height: 1.6; margin-top: 22px; }
.a3-parks .txt .soft { color: var(--a3-graphite); font-size: 17px; }
.a3-parks .map { grid-column: 6 / 13; }
.a3-parks .map .a3-shot { aspect-ratio: 16 / 10; }
.a3-stamprow { grid-column: 1 / 13; margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.a3-stamp { flex: 1 1 110px; max-width: 150px; text-align: center; }
.a3-stamp .c2 { margin-top: 12px; font-size: 14px; color: var(--a3-quiet); }

/* ---------- about: small experiments ---------- */
.a3-exp .head { grid-column: 1 / 8; margin-bottom: clamp(36px, 5vw, 64px); }
.a3-exp .head p { font-size: 19px; color: var(--a3-graphite); margin-top: 14px; }
.a3-sk { grid-column: 1 / 8; }
.a3-sk .a3-shot { aspect-ratio: 3 / 2; }
.a3-pz { grid-column: 9 / 13; align-self: center; }
.a3-pz .big { font: 300 clamp(80px, 9.6vw, 136px)/0.85 var(--a3-serif); letter-spacing: -0.03em; color: var(--a3-spruce); font-variation-settings: 'opsz' 72; }
.a3-pz .a3-cap { margin-top: 18px; max-width: 22ch; }
.a3-side { grid-column: 7 / 12; margin-top: clamp(48px, 7vw, 96px); align-self: end; }
.a3-note { padding: 26px 0 28px; border-top: 1px solid var(--a3-rule); }
.a3-note:last-child { border-bottom: 1px solid var(--a3-rule); }
.a3-note h3 { font: 420 26px/1.2 var(--a3-serif); }
.a3-note p { font-size: 17px; color: var(--a3-graphite); margin-top: 8px; }
.a3-note ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 17px; }
.a3-note li { padding: 4px 0; color: var(--a3-graphite); }

/* ---------- graceful degradation when authentic figures are not yet supplied ---------- */
.a3-explore:not(:has(figure)) .head { grid-column: 1 / 13; max-width: 62ch; }
.a3-explore:not(:has(figure)) .a3-photo { grid-column: 1 / 7; grid-row: auto; margin-top: clamp(20px, 2.6vw, 28px); }
.a3-explore:not(:has(figure)) .a3-puzzle { grid-column: 7 / 13; grid-row: auto; margin-top: clamp(20px, 2.6vw, 28px); }
.a3-explore:not(:has(figure)) .a3-elist { grid-column: 1 / 13; grid-row: auto; margin-top: clamp(20px, 2.6vw, 28px); }
.a3-explore:not(:has(figure)) .more { grid-column: 1 / 13; }
.a3-parks:not(:has(img)) .txt { grid-column: 1 / 8; }
.a3-stamps:not(:has(.row)) .txt { grid-column: 1 / 9; }
.a3-intro:not(:has(figure)) .it { grid-column: 1 / 9; }
.a3-exp:not(:has(figure)) .head { grid-column: 1 / 13; }
.a3-exp:not(:has(figure)) .a3-sk { grid-column: 1 / 7; grid-row: auto; margin-top: clamp(20px, 2.6vw, 28px); }
.a3-exp:not(:has(figure)) .a3-pz { grid-column: 7 / 13; grid-row: auto; margin-top: clamp(20px, 2.6vw, 28px); }
.a3-exp:not(:has(figure)) .a3-side { grid-column: 7 / 13; margin-top: clamp(24px, 3vw, 32px); }

/* ---------- specimen (internal, preview only) ---------- */
.a3-spec { padding: clamp(40px, 6vw, 80px) 0; }
.a3-spec .box { border: 1px solid var(--a3-rule); padding: 28px; margin-top: 24px; }
.a3-spec .h1 { font: 380 clamp(40px, 6vw, 88px)/1 var(--a3-serif); letter-spacing: -0.02em; }
.a3-spec .h2 { font: 400 clamp(28px, 3vw, 34px)/1.15 var(--a3-serif); }
.a3-spec .body { font-size: 18px; line-height: 1.85; }
.a3-spec .meta { font-family: var(--a3-mono); font-size: 13px; color: var(--a3-quiet); }

/* ---------- propagated pages: shared page header + prose ---------- */
.a3-pagehead h1 { grid-column: 1 / 9; font-size: clamp(38px, 5.6vw, 78px); line-height: 1.02; font-weight: 380; letter-spacing: -0.02em; font-variation-settings: 'opsz' 60; }
.a3-pagehead .a3-lede { grid-column: 1 / 8; }
.a3-h1--utility { font-size: clamp(32px, 3.8vw, 54px); }
.a3-404 .a3-more { grid-column: 1 / 13; margin-top: 28px; }
.a3-secnote { font-size: 16px; line-height: 1.6; color: var(--a3-graphite); }

/* ---------- work ---------- */
.a3-caps-head { grid-column: 1 / 4; }
.a3-caps-body { grid-column: 5 / 13; max-width: 64ch; font-size: 19px; line-height: 1.68; }
.a3-workselected .head, .a3-workadditional .head { grid-column: 1 / 4; }
.a3-workselected .list, .a3-workadditional .list { grid-column: 4 / 13; }
.a3-prow { display: grid; grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 32px); padding: clamp(20px, 2.4vw, 28px) 0; border-top: 1px solid var(--a3-rule); align-items: start; }
.a3-prow:last-child { border-bottom: 1px solid var(--a3-rule); }
.a3-prow .n { padding-top: 8px; }
.a3-prow h3 { font-size: clamp(24px, 2.5vw, 33px); line-height: 1.15; font-weight: 420; letter-spacing: -0.01em; font-variation-settings: 'opsz' 32; }
.a3-prow h3 a { color: inherit; text-decoration: none; }
.a3-prow h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.a3-prow .ctx { font-size: 15px; color: var(--a3-quiet); margin-top: 8px; }
.a3-prow .flag { margin-top: 12px; }
.a3-prow .d { font-size: 17px; color: var(--a3-ink); padding-top: 6px; }

/* Additional work: compact supporting records, deliberately subordinate to Selected work */
.a3-arow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(16px, 2.4vw, 32px); padding: clamp(14px, 1.6vw, 18px) 0; border-top: 1px solid var(--a3-rule); align-items: start; }
.a3-arow:last-child { border-bottom: 1px solid var(--a3-rule); }
.a3-arow h3 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.25; font-weight: 420; font-variation-settings: 'opsz' 22; }
.a3-arow .ctx { margin-top: 6px; font-family: var(--a3-mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--a3-quiet); }
.a3-arow .d { font-size: 15.5px; line-height: 1.55; color: var(--a3-graphite); }
.a3-prow-go { margin-top: 12px; font-size: 16px; }

/* ---------- journey: narrative chronology ---------- */
.a3-chron { grid-column: 1 / 13; list-style: none; margin: 0; padding: 0; }
.a3-era { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); border-top: 1px solid var(--a3-rule); padding-top: clamp(24px, 3vw, 36px); margin-top: clamp(32px, 4vw, 52px); }
.a3-era .era-head { grid-column: 1 / 5; }
.a3-era .era-head h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 420; letter-spacing: -0.005em; font-variation-settings: 'opsz' 30; }
.a3-era .era-head .a3-mono { display: block; margin-top: 10px; }
.a3-era.is-now .era-head h2 { color: var(--a3-spruce); }
.a3-era .era-body { grid-column: 5 / 13; max-width: 64ch; }
.a3-era .era-body p { font-size: 18px; line-height: 1.72; margin-bottom: 1.05em; }
.a3-era .era-body p:last-child { margin-bottom: 0; }
.a3-journey2 .a3-route { margin-top: clamp(28px, 3.5vw, 48px); }
.a3-journey2 .a3-more { grid-column: 1 / 13; margin-top: clamp(32px, 4vw, 52px); }

/* ---------- resume: quiet utility ---------- */
.a3-util { grid-column: 1 / 8; border: 1px solid var(--a3-rule); background: var(--a3-warm); padding: clamp(24px, 3vw, 40px); }
.a3-btn { display: inline-block; font-size: 17px; line-height: 1.2; padding: 0.75rem 1.25rem; border: 1px solid var(--a3-spruce); border-radius: 2px; color: var(--a3-spruce); text-decoration: none; }
.a3-btn:hover { background: var(--a3-spruce); color: var(--a3-paper); }
.a3-btn.is-disabled { color: var(--a3-quiet); border-color: #C4BBAA; border-style: dashed; background: transparent; }
.a3-util .a3-mono { margin-top: 14px; }
.a3-util .links { margin-top: 18px; font-size: 16px; }
.a3-util .links .lab { color: var(--a3-quiet); margin-right: 10px; }
.a3-util .links a { margin-right: 18px; }
.a3-util .a3-secnote { margin-top: 18px; max-width: 46ch; }
.a3-util p.ph-block { margin-top: 14px; border-left: 2px solid #E2CFA4; padding-left: 0.9rem; color: var(--a3-graphite); font-style: italic; }

/* ---------- case study (published projects): editorial research layer ---------- */
.a3-cs-head { padding: clamp(32px, 4.5vw, 64px) 0 clamp(18px, 2.4vw, 32px); }
.a3-cs-crumb { grid-column: 1 / 13; font-size: 15px; margin-bottom: clamp(16px, 2.4vw, 28px); }
.a3-cs-crumb a { color: var(--a3-quiet); text-decoration: none; }
.a3-cs-crumb a:hover { color: var(--a3-spruce); text-decoration: underline; text-underline-offset: 4px; }
.a3-cs-meta { grid-column: 1 / 13; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: clamp(14px, 2vw, 22px); }
.a3-cs-meta .a3-mono { color: var(--a3-graphite); }
.a3-cs-title { grid-column: 1 / 11; font-size: clamp(38px, 5.8vw, 82px); line-height: 1.02; font-weight: 380; letter-spacing: -0.02em; font-variation-settings: 'opsz' 60; }
.a3-cs-head .a3-lede { grid-column: 1 / 8; margin-top: clamp(16px, 2.4vw, 30px); }
.a3-cs-role { grid-column: 1 / 8; margin-top: 18px; font-size: 16px; color: var(--a3-graphite); }

.a3-cs-snap { border-top: 1px solid var(--a3-rule); border-bottom: 1px solid var(--a3-rule); padding: clamp(14px, 1.8vw, 22px) 0; }
.a3-cs-snaplist { grid-column: 1 / 13; display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 10px clamp(16px, 2.4vw, 32px); margin: 0; }
.a3-cs-snaplist dt { font-family: var(--a3-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--a3-quiet); padding-top: 3px; }
.a3-cs-snaplist dd { margin: 0; font-size: 17px; color: var(--a3-ink); max-width: 62ch; }

.a3-cs-sec { border-top: 1px solid var(--a3-rule); padding: clamp(32px, 4.5vw, 56px) 0 clamp(20px, 2.6vw, 32px); }
.a3-cs-sec .a3-h2 { grid-column: 1 / 4; font-size: clamp(24px, 2.6vw, 32px); }
.a3-cs-prose { grid-column: 4 / 13; max-width: 66ch; }
.a3-cs-prose p { font-size: 18px; line-height: 1.72; margin-bottom: 1.05em; }
.a3-cs-prose p:last-child { margin-bottom: 0; }
.a3-cs-intro { grid-column: 4 / 13; max-width: 66ch; font-size: 17px; color: var(--a3-graphite); margin-bottom: clamp(20px, 2.6vw, 32px); }
.a3-cs-note { grid-column: 4 / 13; max-width: 60ch; font-size: 15px; color: var(--a3-graphite); border-left: 2px solid var(--a3-spruce-soft); padding-left: 14px; margin-top: clamp(18px, 2.4vw, 28px); }
.a3-cs-lead { grid-column: 4 / 13; max-width: 34em; font: 400 clamp(20px, 2.1vw, 26px)/1.4 var(--a3-serif); margin-bottom: clamp(22px, 2.8vw, 34px); font-variation-settings: 'opsz' 30; }

.a3-cs-flow, .a3-ss-flow { grid-column: 4 / 13; list-style: none; margin: 0 0 clamp(22px, 2.8vw, 32px); padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.a3-cs-flow li, .a3-ss-flow li { color: var(--a3-graphite); font-size: 13px; letter-spacing: 0.04em; }
.a3-cs-flow li:not(:last-child)::after, .a3-ss-flow li:not(:last-child)::after { content: ' \2192'; color: var(--a3-spruce); margin-left: 14px; }

.a3-cs-case { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); border-top: 1px solid var(--a3-rule); padding-top: clamp(30px, 3.8vw, 50px); margin-top: clamp(40px, 5vw, 72px); }
.a3-cs-case-head { grid-column: 1 / 4; }
.a3-cs-num { font-family: var(--a3-serif); font-size: clamp(34px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.01em; color: #C6BFB0; margin-bottom: 12px; font-variation-settings: 'opsz' 40; }
.a3-cs-case-head h3 { font-size: clamp(25px, 2.7vw, 35px); line-height: 1.12; letter-spacing: -0.012em; font-weight: 420; font-variation-settings: 'opsz' 30; }
.a3-cs-context { margin-top: 12px; font-family: var(--a3-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--a3-quiet); }
.a3-cs-case-body { grid-column: 4 / 13; }
.a3-cs-q { font: 400 clamp(20px, 2.1vw, 26px)/1.35 var(--a3-serif); color: var(--a3-spruce); max-width: 30em; margin-bottom: clamp(18px, 2.4vw, 28px); font-variation-settings: 'opsz' 28; }
.a3-cs-take { grid-column: 4 / 13; margin-top: clamp(18px, 2.4vw, 28px); padding-left: 16px; border-left: 2px solid var(--a3-spruce); font-size: 18px; line-height: 1.6; max-width: 40em; }
.a3-cs-src { margin-top: 16px; font-size: 12.5px; color: var(--a3-quiet); max-width: 60ch; }

.a3-cs-themelist { grid-column: 4 / 13; margin: 0; max-width: 62ch; }
.a3-cs-themelist dt { font-family: var(--a3-serif); font-size: 21px; padding-top: 18px; border-top: 1px solid var(--a3-rule); }
.a3-cs-themelist dd { margin: 6px 0 0; padding-bottom: 18px; font-size: 17px; color: var(--a3-graphite); }
.a3-cs-chain { grid-column: 4 / 13; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: clamp(26px, 3.2vw, 40px) 0 0; padding: 0; max-width: 66ch; }
.a3-cs-chain li { font-size: 12.5px; color: var(--a3-graphite); }
.a3-cs-chain li:not(:last-child)::after { content: ' \2192'; color: var(--a3-spruce); margin-left: 14px; }

.a3-cs-srclist { grid-column: 4 / 13; max-width: 66ch; margin: 0; padding-left: 1.1em; }
.a3-cs-srclist li { font-size: 16px; color: var(--a3-graphite); padding: 6px 0; }

/* synthesis breathing point: warm band, not a card */
.a3-cs-break { background: var(--a3-warm); padding: clamp(44px, 6vw, 88px) 0; margin-top: clamp(40px, 5vw, 72px); }
.a3-cs-breakline { grid-column: 1 / 11; font: 400 clamp(23px, 2.8vw, 38px)/1.25 var(--a3-serif); letter-spacing: -0.01em; max-width: 24em; font-variation-settings: 'opsz' 36; }
.a3-cs-breakmeta { grid-column: 1 / 11; margin-top: clamp(14px, 2vw, 22px); color: var(--a3-graphite); font-size: 13px; letter-spacing: 0.05em; }
.a3-cs-break + .a3-cs-themes { border-top: 0; }
.a3-cs-back { margin: clamp(28px, 3.4vw, 44px) 0 clamp(8px, 1.4vw, 16px); font-size: 17px; }

/* ---------- case study: SleepSync (technical team project) ---------- */
.a3-ss-sub { grid-column: 1 / 11; margin-top: clamp(8px, 1.2vw, 14px); font: 400 clamp(19px, 1.9vw, 26px)/1.25 var(--a3-serif); color: var(--a3-graphite); font-variation-settings: 'opsz' 28; }

.a3-ss-arch { grid-column: 4 / 13; border: 1px solid var(--a3-rule); padding: clamp(20px, 2.6vw, 34px); margin: 0; background: var(--a3-paper); }
.a3-ss-arch-label { display: block; color: var(--a3-spruce); margin-bottom: clamp(18px, 2.2vw, 26px); }
.a3-ss-stack { max-width: 380px; margin: 0 auto; }
.a3-ss-node { border: 1px solid var(--a3-rule); padding: 12px 16px; text-align: center; background: var(--a3-warm); }
.a3-ss-node-title { font-family: var(--a3-serif); font-size: 18px; line-height: 1.2; }
.a3-ss-node-sub { margin-top: 6px; font-size: 13px; color: var(--a3-graphite); }
.a3-ss-connector { display: flex; flex-direction: column; align-items: center; padding: 10px 0; }
.a3-ss-connector::before, .a3-ss-connector::after { content: ''; width: 1px; height: 14px; background: var(--a3-rule-strong, #C4BBAA); }
.a3-ss-connector .a3-mono { margin: 6px 0; color: var(--a3-quiet); }
.a3-ss-fork { height: clamp(16px, 2vw, 26px); border-left: 1px solid #C4BBAA; margin: 0 auto; }
.a3-ss-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); margin-top: clamp(14px, 1.8vw, 20px); padding-top: clamp(14px, 1.8vw, 20px); border-top: 1px solid #C4BBAA; }
.a3-ss-branch { border: 1px solid var(--a3-rule); padding: 14px 16px; }
.a3-ss-branch-title { font-family: var(--a3-serif); font-size: 16px; line-height: 1.25; }
.a3-ss-branch ul { list-style: none; margin: 10px 0 0; padding: 0; }
.a3-ss-branch li { font-size: 13px; color: var(--a3-graphite); padding: 5px 0; border-top: 1px solid var(--a3-rule); }
.a3-ss-arch-note { margin-top: clamp(18px, 2.2vw, 26px); padding-top: 14px; border-top: 1px solid var(--a3-rule); font-size: 15px; line-height: 1.55; color: var(--a3-graphite); max-width: 62ch; }

.a3-ss-mine { grid-column: 4 / 13; margin: clamp(20px, 2.6vw, 30px) 0 0; display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 0 clamp(16px, 2.4vw, 28px); }
.a3-ss-mine dt { font-family: var(--a3-serif); font-size: 18px; padding: 12px 0; border-top: 1px solid var(--a3-rule); }
.a3-ss-mine dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--a3-rule); font-size: 15px; color: var(--a3-graphite); }
.a3-ss-mine dd::before { content: '\2190\00a0'; color: var(--a3-spruce); }
.a3-ss-mine dt:first-child { color: var(--a3-spruce); }
.a3-ss-mine dt:first-child + dd { color: var(--a3-ink); }
.a3-ss-caveat { grid-column: 4 / 13; margin-top: clamp(18px, 2.4vw, 26px); max-width: 62ch; font-size: 15px; color: var(--a3-graphite); border-left: 2px solid var(--a3-spruce-soft); padding-left: 14px; }

.a3-ss-facts { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; max-width: 68ch; }
.a3-ss-facts li { font-size: 16px; line-height: 1.6; color: var(--a3-graphite); padding: 12px 0; border-top: 1px solid var(--a3-rule); }
.a3-ss-facts li:last-child { border-bottom: 1px solid var(--a3-rule); }
.a3-ss-future { grid-column: 4 / 13; margin-top: clamp(18px, 2.4vw, 26px); max-width: 68ch; font-size: 15px; color: var(--a3-graphite); }
.a3-ss-future-label { color: var(--a3-ink); }

/* ---------- case study: Financial Codebook (data structure + analytical decisions) ---------- */
.a3-fc-sub { grid-column: 1 / 11; margin-top: clamp(8px, 1.2vw, 14px); font: 400 clamp(19px, 1.9vw, 26px)/1.25 var(--a3-serif); color: var(--a3-graphite); font-variation-settings: 'opsz' 28; }
.a3-fc-label { grid-column: 4 / 13; font-family: var(--a3-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--a3-quiet); }

.a3-fc-inherited { grid-column: 4 / 13; border: 1px solid var(--a3-rule); padding: clamp(18px, 2.2vw, 26px); margin-top: clamp(20px, 2.6vw, 30px); }
.a3-fc-inherited .a3-fc-label { grid-column: auto; display: block; }
.a3-fc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); margin-top: 18px; }
.a3-fc-stat .n { display: block; font-family: var(--a3-serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1; color: var(--a3-spruce); font-variation-settings: 'opsz' 32; }
.a3-fc-stat .l { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--a3-graphite); }
.a3-fc-inherited .note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--a3-rule); font-size: 14px; color: var(--a3-graphite); }

.a3-fc-flow { grid-column: 4 / 13; list-style: none; margin: clamp(16px, 2.2vw, 24px) 0 0; padding: 0; max-width: 62ch; }
.a3-fc-flow li { position: relative; padding: 0 0 clamp(16px, 2vw, 24px) 26px; border-left: 1px solid var(--a3-rule); }
.a3-fc-flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.a3-fc-flow li::before { content: ''; position: absolute; left: -4.5px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--a3-paper); border: 1.5px solid #C4BBAA; }
.a3-fc-flow li:first-child::before { border-style: dashed; background: transparent; }
.a3-fc-flow li:last-child::before { background: var(--a3-spruce); border-color: var(--a3-spruce); }
.a3-fc-flow .t { display: block; font-family: var(--a3-serif); font-size: 19px; line-height: 1.25; }
.a3-fc-flow .s { display: block; margin-top: 4px; font-size: 15px; color: var(--a3-graphite); }
.a3-fc-flow-note { grid-column: 4 / 13; margin-top: clamp(18px, 2.2vw, 26px); max-width: 62ch; font-size: 15px; color: var(--a3-graphite); border-left: 2px solid var(--a3-spruce-soft); padding-left: 14px; }

.a3-fc-decisions { grid-column: 4 / 13; margin-top: clamp(16px, 2.2vw, 24px); }
.a3-fc-decision { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: clamp(12px, 1.8vw, 20px); border-top: 1px solid var(--a3-rule); padding: clamp(18px, 2.2vw, 26px) 0; }
.a3-fc-decision:last-child { border-bottom: 1px solid var(--a3-rule); }
.a3-fc-decision .n { font-family: var(--a3-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--a3-quiet); padding-top: 6px; }
.a3-fc-decision h3 { font-size: clamp(20px, 2.1vw, 25px); line-height: 1.2; margin-bottom: 10px; font-weight: 420; letter-spacing: -0.008em; font-variation-settings: 'opsz' 26; }
.a3-fc-decision p { font-size: 17px; line-height: 1.68; color: var(--a3-graphite); max-width: 62ch; }

.a3-fc-fields { grid-column: 4 / 13; margin: 0; max-width: 66ch; }
.a3-fc-fields dt { font-family: var(--a3-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--a3-ink); padding-top: 14px; border-top: 1px solid var(--a3-rule); }
.a3-fc-fields dd { margin: 5px 0 0; padding-bottom: 14px; font-size: 16px; line-height: 1.55; color: var(--a3-graphite); }

.a3-fc-limits { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; max-width: 66ch; }
.a3-fc-limits li { font-size: 17px; line-height: 1.6; color: var(--a3-graphite); padding: 12px 0; border-top: 1px solid var(--a3-rule); }
.a3-fc-limits li:last-child { border-bottom: 1px solid var(--a3-rule); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .a3-hero h1, .a3-lede { grid-column: 1 / 9; }
  .a3-sub { grid-column: 1 / 9; }
  .a3-now { grid-column: 9 / 13; grid-row: auto; align-self: start; }
  .a3-work .head { grid-column: 1 / 13; margin-bottom: 28px; }
  .a3-work .list { grid-column: 1 / 13; }
  .a3-explore .head { grid-column: 1 / 8; }
  .a3-photo { grid-column: 1 / 13; grid-row: auto; }
  .a3-puzzle { grid-column: 1 / 7; grid-row: auto; }
  .a3-elist { grid-column: 7 / 13; grid-row: auto; align-self: end; }
  .a3-stamps .txt, .a3-stamps:not(:has(.row)) .txt { grid-column: 1 / 13; }
  .a3-stamps .row { grid-column: 1 / 13; justify-content: flex-start; margin-top: 24px; }
  .a3-parks .txt, .a3-parks:not(:has(img)) .txt { grid-column: 1 / 7; }
  .a3-parks .map { grid-column: 7 / 13; }
  .a3-sk { grid-column: 1 / 9; }
  .a3-pz { grid-column: 9 / 13; }
  .a3-intro .it { grid-column: 1 / 9; }
  .a3-intro .portrait { grid-column: 10 / 13; }
  .a3-pagehead h1 { grid-column: 1 / 10; }
  .a3-pagehead .a3-lede { grid-column: 1 / 9; }
  .a3-caps-head { grid-column: 1 / 5; }
  .a3-caps-body { grid-column: 5 / 13; font-size: 18px; }
  .a3-workselected .head, .a3-workadditional .head { grid-column: 1 / 4; }
  .a3-workselected .list, .a3-workadditional .list { grid-column: 4 / 13; }
}
@media (max-width: 860px) {
  body.a3 { font-size: 17px; }
  .a3-hero h1 { grid-column: 1 / 13; }
  .a3-lede, .a3-sub, .a3-links { grid-column: 1 / 13; }
  .a3-now { grid-column: 1 / 13; margin-top: 40px; }
  .a3-row { grid-template-columns: 44px 1fr; row-gap: 12px; }
  .a3-row .d { grid-column: 2; padding-top: 0; }
  .a3-route { min-height: 0; margin-top: 28px; }
  .a3-route .line, .a3-route .fut { display: none; }
  .a3-stops { grid-template-columns: 1fr; }
  .a3-stop { display: grid; grid-template-columns: 13px 1fr auto; align-items: center; column-gap: 14px; padding: 12px 0; border-top: 1px solid var(--a3-rule); }
  .a3-stop .dot { width: 11px; height: 11px; margin-left: 1px; }
  .a3-stop .pl { margin-top: 0; font-size: 19px; }
  .a3-stop .mono { margin-top: 0; }
  .a3-journey .say, .a3-journey .more { grid-column: 1 / 13; }
  .a3-photo, .a3-puzzle, .a3-elist { grid-column: 1 / 13; }
  .a3-puzzle { margin-top: 32px; }
  .a3-elist { margin-top: 32px; }
  .a3-explore .head, .a3-explore .more { grid-column: 1 / 13; }
  .a3-parks .txt, .a3-parks:not(:has(img)) .txt, .a3-parks .map { grid-column: 1 / 13; }
  .a3-explore:not(:has(figure)) .head, .a3-explore:not(:has(figure)) .a3-photo, .a3-explore:not(:has(figure)) .a3-puzzle, .a3-explore:not(:has(figure)) .a3-elist, .a3-explore:not(:has(figure)) .more { grid-column: 1 / 13; }
  .a3-exp:not(:has(figure)) .head, .a3-exp:not(:has(figure)) .a3-sk, .a3-exp:not(:has(figure)) .a3-pz, .a3-exp:not(:has(figure)) .a3-side { grid-column: 1 / 13; }
  .a3-parks .map { margin-top: 32px; }
  .a3-stamprow { justify-content: flex-start; }
  .a3-stamp { flex: 0 0 30%; max-width: none; }
  .a3-pz { margin-top: 32px; }
  .a3-side { margin-top: 40px; }
  .a3-intro .it, .a3-intro .portrait { grid-column: 1 / 13; }
  .a3-intro .portrait { margin-top: 32px; max-width: 320px; }
  .a3-pagehead h1, .a3-pagehead .a3-lede { grid-column: 1 / 13; }
  .a3-caps-head, .a3-caps-body { grid-column: 1 / 13; }
  .a3-caps-body { margin-top: 14px; }
  .a3-workselected .head, .a3-workadditional .head, .a3-workselected .list, .a3-workadditional .list { grid-column: 1 / 13; }
  .a3-workselected .head, .a3-workadditional .head { margin-bottom: 20px; }
  .a3-prow { grid-template-columns: 40px minmax(0, 1fr); row-gap: 10px; }
  .a3-prow .d { grid-column: 2; padding-top: 0; }
  .a3-arow { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 14px 0; }
  .a3-arow .d { font-size: 15px; }
  .a3-era .era-head, .a3-era .era-body { grid-column: 1 / 13; }
  .a3-era .era-body { margin-top: 14px; }
  .a3-era .era-body p { font-size: 17px; }
  .a3-util { grid-column: 1 / 13; }
  .a3-cs-title { grid-column: 1 / 13; }
  .a3-cs-head .a3-lede, .a3-cs-role { grid-column: 1 / 13; }
  .a3-cs-snaplist { grid-column: 1 / 13; grid-template-columns: 1fr; gap: 4px; }
  .a3-cs-snaplist dd { margin-bottom: 12px; font-size: 16px; }
  .a3-cs-sec .a3-h2, .a3-cs-prose, .a3-cs-intro, .a3-cs-note, .a3-cs-lead, .a3-cs-flow, .a3-cs-themelist, .a3-cs-chain, .a3-cs-srclist { grid-column: 1 / 13; }
  .a3-cs-sec .a3-h2 { margin-bottom: 16px; }
  .a3-cs-case { grid-template-columns: 1fr; row-gap: 16px; }
  .a3-cs-case-head, .a3-cs-case-body { grid-column: 1 / 13; }
  .a3-cs-prose p { font-size: 17px; }
  .a3-cs-take { font-size: 17px; }
  .a3-cs-src { font-size: 12.5px; line-height: 1.5; margin-top: 18px; }
  /* mobile chapter rhythm for the three cases */
  .a3-cs-case { row-gap: 20px; margin-top: clamp(36px, 8vw, 50px); padding-top: clamp(26px, 6vw, 36px); }
  .a3-cs-num { font-size: 32px; margin-bottom: 10px; }
  .a3-cs-case-head h3 { font-size: 24px; }
  .a3-cs-context { margin-top: 8px; font-size: 12px; }
  .a3-cs-q { font-size: 20px; margin-bottom: 20px; }
  .a3-cs-prose p { margin-bottom: 1.15em; }
  .a3-cs-take { margin-top: 24px; padding-left: 14px; }
  .a3-cs-breakline, .a3-cs-breakmeta { grid-column: 1 / 13; }
  .a3-ss-sub { grid-column: 1 / 13; }
  .a3-ss-arch { grid-column: 1 / 13; padding: 18px 16px; }
  .a3-ss-branches { grid-template-columns: minmax(0, 1fr); }
  .a3-ss-stack { max-width: none; }
  .a3-ss-mine { grid-column: 1 / 13; grid-template-columns: minmax(0, 1fr); }
  .a3-ss-mine dt { padding-bottom: 0; border-top: 1px solid var(--a3-rule); }
  .a3-ss-mine dd { padding-top: 8px; border-top: 0; }
  .a3-ss-caveat, .a3-ss-facts, .a3-ss-future { grid-column: 1 / 13; }
  .a3-ss-arch-note { font-size: 14.5px; }
  .a3-ss-flow { grid-column: 1 / 13; }
  .a3-fc-sub, .a3-fc-inherited, .a3-fc-flow, .a3-fc-label, .a3-fc-flow-note, .a3-fc-decisions, .a3-fc-fields, .a3-fc-limits { grid-column: 1 / 13; }
  .a3-fc-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .a3-fc-stat { display: flex; align-items: baseline; gap: 12px; }
  .a3-fc-stat .n { font-size: 24px; }
  .a3-fc-stat .l { margin-top: 0; }
  .a3-fc-decision { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .a3-fc-decision p { font-size: 16.5px; }
}
@media (max-width: 620px) {
  body.a3 .site-header { padding-top: 18px; }
  /* direct navigation: four short links stay visible and tappable */
  body.a3 .header-inner { gap: 0.75rem; align-items: center; }
  body.a3 .menu-toggle { display: none; }
  body.a3 .nav { display: flex; gap: 0.85rem; }
  body.a3 .nav a { font-size: 0.9375rem; padding: 0.7rem 0; }
  .a3-stamp { flex: 1 1 40%; }
  .a3-contact .ways { gap: 10px 22px; }
}
@media (max-width: 380px) {
  body.a3 .header-inner { gap: 0.5rem; }
  body.a3 .wordmark { font-size: 1.0625rem; }
  body.a3 .nav { gap: 0.6rem; }
  body.a3 .nav a { font-size: 0.875rem; }
}
@media print {
  body.a3 .site-header { display: none; }
  .a3-sec--warm { background: #fff; }
}
