/* ==========================================================================
   Saizen Acuity · Greg Kinsey · "Operational reality"
   Light, like a well-run plant in daylight: chalk paper, graphite ink,
   oxide copper for emphasis and steel slate for structure. The andon
   colours (green, amber, red) appear only where something is running or
   at risk. Crisp by design: hairlines, 2-4px corners, no glows or glass.
   Type is the site's: Playfair Display SC headlines, Playfair Display,
   DM Sans and DM Mono.
   ========================================================================== */

:root {
  --paper: #F5F4F0;
  --paper-2: #ECEAE3;
  --ink: #1C2329;
  --ink-2: #3C4750;
  --mut: #6B747B;
  --ln: rgba(28, 35, 41, 0.1);
  --ln-2: rgba(28, 35, 41, 0.2);
  --copper: #B4532A;
  --copper-d: #93411F;
  --copper-t: #F6E8E0;
  --slate: #3E5C76;
  --slate-d: #2C4558;
  --slate-t: #E5ECF2;
  --sage: #6E8B74;
  --run: #2E8B57;
  --warn: #D99A1E;
  --stop: #C0392B;
  --gold: #E2AE36;

  --f-sc: 'Playfair Display SC', 'Playfair Display', Georgia, serif;
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
/* Playfair SC would set "fl" and "fi" as lowercase ligatures */
h1, h2, h3, .hero__name, .sh__h, .close__h, .wm, .gb__mono span { font-variant-ligatures: no-common-ligatures; }
p { margin: 0; }
em, i { font-style: normal; }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.wm { font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.01em; }
.wm b { font-weight: 700; color: var(--gold); }
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--run); flex: none; animation: led 1.6s steps(2) infinite; }
@keyframes led { 50% { opacity: 0.35; } }

/* ── buttons ────────────────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 6px 0 22px; border-radius: 3px; font: 600 15px/1 var(--f-body); white-space: nowrap; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.btn__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 2px; transition: transform 0.3s var(--ease-out), background 0.25s, color 0.25s; }
.btn__ico svg { width: 15px; height: 15px; }
.btn:hover .btn__ico { transform: translate(2px, -2px); }
.btn--em { color: #fff; background: var(--ink); }
.btn--em:hover { background: var(--copper-d); }
.btn--em .btn__ico { background: var(--copper); }
.btn--line { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.btn--line .btn__ico { background: var(--paper); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* ── boot: the andon tower cycles ───────────────────────────────────── */
.boot { display: none; }
.js .boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); clip-path: inset(0 0 0 0); transition: clip-path 0.8s var(--ease-io); animation: bootFailsafe 0.01s 4.5s forwards; }
.boot.is-done { clip-path: inset(0 0 100% 0); }
.boot.is-gone { display: none; }
.boot.is-exit { clip-path: inset(0 0 0 0); animation: none; }
.boot.is-enter { clip-path: inset(100% 0 0 0); animation: none; transition: none; }
@keyframes bootFailsafe { to { visibility: hidden; } }
.boot__in { width: min(340px, 78vw); display: grid; gap: 14px; justify-items: center; text-align: center; }
.boot__andon { display: grid; gap: 3px; padding: 4px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--ln-2); }
.boot__andon i { width: 26px; height: 12px; border-radius: 2px; background: var(--ln); }
.boot__andon i:nth-child(1) { animation: andonR 1.2s steps(1) infinite; }
.boot__andon i:nth-child(2) { animation: andonA 1.2s steps(1) infinite; }
.boot__andon i:nth-child(3) { animation: andonG 1.2s steps(1) infinite; }
@keyframes andonR { 0%, 32% { background: var(--stop); } 33%, 100% { background: var(--ln); } }
@keyframes andonA { 0%, 32% { background: var(--ln); } 33%, 65% { background: var(--warn); } 66%, 100% { background: var(--ln); } }
@keyframes andonG { 0%, 65% { background: var(--ln); } 66%, 100% { background: var(--run); } }
.boot__line { font: 400 22px var(--f-display); color: var(--ink); }
.boot__bar { width: 100%; height: 2px; background: var(--ln); overflow: hidden; }
.boot__bar i { display: block; height: 100%; background: var(--copper); transform: scaleX(var(--p, 0)); transform-origin: left; }
.boot__meta { display: flex; justify-content: space-between; width: 100%; color: var(--mut); text-transform: none; letter-spacing: 0.04em; }

/* ── back ───────────────────────────────────────────────────────────── */
.back { position: fixed; z-index: 60; top: clamp(14px, 2.4vw, 26px); left: var(--gutter); height: 46px; padding: 0 18px 0 4px; gap: 10px; font: 500 14px/1 var(--f-body); color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.back .btn__ico { width: 38px; height: 38px; background: var(--paper); color: var(--ink); }
.back:hover .btn__ico { transform: translateX(-3px); background: var(--copper); color: #fff; }
.back .wm { color: var(--ink); font-size: 15px; }
.js .back { opacity: 0; transform: translateY(-12px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.is-live .back, html:not(.boot-pending) .back { opacity: 1; transform: none; }

/* ── rail ───────────────────────────────────────────────────────────── */
.bus { position: fixed; z-index: 40; right: clamp(16px, 2vw, 30px); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; align-items: center; gap: 16px; pointer-events: none; }
@media (min-width: 1180px) { .bus { display: flex; } }
.bus__track { position: relative; width: 2px; height: 26vh; background: var(--ln); overflow: hidden; }
.bus__fill { position: absolute; inset: 0; background: var(--slate); transform: scaleY(var(--p, 0)); transform-origin: top; }
.bus__label { writing-mode: vertical-rl; display: flex; gap: 10px; color: var(--mut); font-size: 10px; }
.bus__ref { color: var(--copper); font-weight: 500; }

/* ══ HERO ═══════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; padding: clamp(100px, 13vh, 150px) 0 clamp(36px, 5vh, 56px); background: var(--paper); }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero.has-video .hero__video { opacity: 1; }
.hero__board { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 244, 240, 0.95) 36%, rgba(245, 244, 240, 0.62) 60%, rgba(245, 244, 240, 0.25)), linear-gradient(180deg, transparent 72%, var(--paper)); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero__copy { position: relative; z-index: 3; }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); font-size: 14px; color: var(--mut); }
.status b { color: var(--ink); font-weight: 500; }
.hero__name { margin: clamp(20px, 3vh, 28px) 0 clamp(14px, 2vh, 20px); font-family: var(--f-sc); font-weight: 400; font-size: clamp(64px, 9vw, 150px); line-height: 0.9; letter-spacing: -0.02em; color: var(--ink); }
.hero__l { display: block; white-space: nowrap; overflow: hidden; padding-bottom: 0.04em; }
.hero__w { display: inline-block; }
.hero__w--em { color: var(--copper); }
.hero__w .ch { display: inline-block; }
.js .hero__w .ch { transform: translateY(105%); }
.is-live .hero__w .ch { animation: chOn 0.9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + var(--w, 0ms)); }
@keyframes chOn { to { transform: none; } }
.hero__claim { font: italic 400 clamp(22px, 2.1vw, 32px)/1.25 var(--f-display); color: var(--ink-2); max-width: 22em; }
.hero__claim em { font-style: normal; color: var(--ink); box-shadow: inset 0 -0.1em 0 var(--copper); }
.hero__lead { margin-top: 18px; max-width: 34em; color: var(--ink-2); font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.65; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.js [data-boot] { opacity: 0; transform: translateY(14px); }
.is-live [data-boot] { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js:not(.boot-pending):not(.is-live) [data-boot], html.js:not(.boot-pending):not(.is-live) .hero__w .ch, html.js:not(.boot-pending):not(.is-live) .gb__pkg { opacity: 1; transform: none; }

/* the gemba board */
.gb { position: relative; margin: 0; justify-self: center; width: min(430px, 100%); z-index: 1; }
.gb__pkg { position: relative; background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.js .gb__pkg { opacity: 0; transform: translateY(20px); }
.is-live .gb__pkg { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) 0.3s, transform 1.1s var(--ease-out) 0.3s; }
.gb__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; color: var(--mut); font-size: 9.5px; box-shadow: inset 0 -1px 0 var(--ink); }
.gb__st { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px; border-radius: 2px; color: var(--run); font-weight: 500; box-shadow: inset 0 0 0 1px var(--run); }
.gb__st i { width: 6px; height: 6px; border-radius: 50%; background: var(--run); animation: led 1.6s steps(2) infinite; }
.gb__body { display: grid; grid-template-columns: minmax(0, 1fr) 46px; }
.gb__frame { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; background: var(--paper); }
.gb__grid { position: absolute; inset: 0; background: linear-gradient(var(--ln) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, var(--ln) 1px, transparent 1px) 0 0 / 26px 26px; }
.gb__fig { position: absolute; inset: 0; }
.gb__fig img { position: absolute; left: 50%; bottom: 0; width: 104%; height: auto; max-width: none; transform: translateX(-50%); }
.gb__mono { display: none; position: absolute; inset: 0; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.gb.no-photo .gb__mono { display: grid; }
.gb__mono span { font: 400 clamp(96px, 12vw, 150px)/0.9 var(--f-sc); color: var(--ink); letter-spacing: -0.03em; }
.gb__mono small { color: var(--copper); font-size: 10px; }
.gb__andon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 14px; box-shadow: inset 1px 0 0 var(--ink); background: #fff; }
.gb__andon i { width: 22px; height: 22px; border-radius: 3px 3px 2px 2px; box-shadow: inset 0 0 0 1px var(--ln-2); background: var(--paper); transition: background 0.4s; }
.gb__andon i.g { background: var(--run); box-shadow: none; }
.gb__andon b { flex: 1; width: 3px; margin-top: 2px; background: var(--ink); }
.gb__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; box-shadow: inset 0 1px 0 var(--ink); }
.gb__meta > div { padding: 8px 12px; }
.gb__meta > div + div { box-shadow: inset 1px 0 0 var(--ink); }
.gb__meta dt { font-size: 8.5px; color: var(--mut); }
.gb__meta dd { margin: 2px 0 0; font: 400 15px/1.2 var(--f-display); }
.gb__meta > div:first-child dd { color: var(--copper); }

.readouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(36px, 5vh, 64px); background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.ro { position: relative; padding: 16px 18px 18px; }
.ro + .ro { box-shadow: inset 1px 0 0 var(--ln); }
.ro::before { content: ''; position: absolute; left: 18px; top: 0; width: 24px; height: 2px; background: var(--copper); }
.ro dt { font-size: 13px; color: var(--mut); line-height: 1.35; min-height: 2.7em; }
.ro dd { margin: 8px 0 0; font: 400 clamp(34px, 3.4vw, 52px)/1 var(--f-display); color: var(--ink); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ro dd small { font-size: 0.5em; color: var(--slate); margin: 0 0.04em; }

/* ══ SECTIONS ═══════════════════════════════════════════════════════════ */
.sec { position: relative; padding: var(--section) 0; overflow-x: clip; isolation: isolate; background: #fff; }
.tint { background: var(--paper); }
.sh { margin-bottom: clamp(36px, 5vw, 60px); }
.sh__ref { display: flex; align-items: center; gap: 12px; color: var(--mut); margin-bottom: 18px; }
.sh__ref b { display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 8px; border-radius: 2px; color: #fff; font-weight: 500; background: var(--ink); }
.sh__ref i { flex: 1; max-width: 200px; height: 1px; background: var(--ink); transform-origin: left; }
.js .sh__ref i { transform: scaleX(0); transition: transform 1s var(--ease-out) 0.2s; }
.js .is-in .sh__ref i, .js .sh__ref.is-in i { transform: none; }
.sh__h { font: 400 clamp(40px, 5vw, 78px)/1 var(--f-sc); letter-spacing: -0.015em; max-width: 15em; }
.sh__h em { color: var(--copper); }
.sh__sub { margin-top: 18px; max-width: 42em; color: var(--ink-2); font-size: 18px; }
.sh__sub b { color: var(--ink); font-weight: 600; }
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.xhd { display: flex; align-items: center; gap: 12px; margin: clamp(48px, 6vw, 80px) 0 20px; color: var(--mut); }
.xhd b { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 2px; color: #fff; background: var(--copper); font-weight: 500; }
.xhd i { flex: 1; height: 1px; background: var(--ink); }

/* ── 01 about ───────────────────────────────────────────────────────── */
.bio__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.bio__quote { margin: 0; font: 400 clamp(24px, 2.3vw, 34px)/1.38 var(--f-display); color: var(--ink); }
.bio__quote b { font-weight: 400; font-style: italic; color: var(--copper); }
.bio__quote .w { transition: color 0.4s; }
.js .bio__quote.is-split .w { color: #CFCCC3; }
.js .bio__quote.is-split .w.on { color: var(--ink); }
.js .bio__quote.is-split b .w.on { color: var(--copper); }
.tenets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; box-shadow: inset 0 0 0 1px var(--ln-2); }
.tenets li + li { border-left: 1px solid var(--ln-2); }
.tenets li { display: grid; gap: 6px; align-content: start; padding: 16px 16px 18px; background: #fff; }
.tenets b { font: 500 11px var(--f-mono); color: var(--copper); letter-spacing: 0.1em; }
.tenets h3 { font: 400 20px/1.2 var(--f-display); }
.tenets p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.spec { position: sticky; top: 100px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); border-top: 2px solid var(--ink); }
.spec__h { display: flex; justify-content: space-between; padding: 14px 18px 0; color: var(--mut); }
.spec__rev { color: var(--copper); }
.spec__t { padding: 8px 18px 14px; font: 400 26px/1.2 var(--f-sc); border-bottom: 1px solid var(--ln); }
.spec dl { margin: 0; padding: 0 18px 6px; }
.spec dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ln); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { color: var(--mut); font-size: 9.5px; padding-top: 3px; }
.spec dd { margin: 0; font-size: 15px; line-height: 1.45; }
.tag { display: inline-block; margin: 0 4px 4px 0; padding: 2px 7px; border-radius: 2px; font-size: 12.5px; box-shadow: inset 0 0 0 1px var(--ln-2); }

/* ── 02 experience: the era stack ───────────────────────────────────── */
.era { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.era__stage { position: relative; height: 100%; }
.era__sticky { position: sticky; top: max(90px, calc(50vh - 280px)); display: grid; gap: 12px; padding: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.era__now { display: flex; align-items: baseline; gap: 12px; color: var(--mut); }
.era__yr { font: 400 34px/1 var(--f-display); letter-spacing: 0; color: var(--copper); text-transform: none; }
.era__nm { font-size: 11px; }
.era__svg { width: 100%; height: auto; overflow: visible; }
.era__dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.era__dots li { flex: 1; height: 3px; background: var(--ln); transition: background 0.4s; }
.era__dots li.on { background: var(--copper); }
.era__list { display: grid; gap: clamp(28px, 10vh, 120px); padding: 4vh 0 20vh; }
.ec { padding: 22px 22px 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); opacity: 0.45; transition: opacity 0.5s, box-shadow 0.5s; }
.ec.is-on { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink), inset 3px 0 0 var(--copper); }
.ec__when { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--mut); }
.ec__when b { color: var(--ink); font-weight: 500; }
.ec h3 { margin-top: 10px; font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--f-sc); }
.ec__org { margin: 6px 0 12px; font: 600 14.5px var(--f-body); color: var(--slate); }
.ec p:not(.mono) { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ec p b { color: var(--ink); font-weight: 600; }
.ec__note { margin-top: 12px; padding: 10px 12px; background: var(--paper); box-shadow: inset 2px 0 0 var(--slate); font-size: 15px !important; }
.ec__big { display: grid; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ln); }
.ec__big b { font: 400 clamp(30px, 3vw, 44px)/1 var(--f-display); color: var(--copper); }
.ec__big span { font-size: 14px; color: var(--mut); }
/* svg layers */
.era__svg .ly { opacity: 0.12; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.era__svg .ly.is-on { opacity: 1; }
.era__svg .ly.is-new { animation: lyIn 0.9s var(--ease-out); }
@keyframes lyIn { from { opacity: 0; transform: translateY(10px); } }
.era__svg .fl { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.era__svg .fl2 { fill: none; stroke: var(--ink); stroke-width: 1; }
.era__svg .fill { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.era__svg .cu { fill: none; stroke: var(--copper); stroke-width: 1.6; }
.era__svg .cuf { fill: var(--copper); }
.era__svg .sl { fill: none; stroke: var(--slate); stroke-width: 1.4; }
.era__svg .slf { fill: var(--slate-t); stroke: var(--slate); stroke-width: 1.2; }
.era__svg .dash { stroke-dasharray: 4 4; }
.era__svg .t { fill: var(--ink-2); font: 500 10px var(--f-mono); letter-spacing: 0.12em; }
.era__svg .tc { fill: var(--copper); font: 500 10px var(--f-mono); letter-spacing: 0.12em; }
.era__svg .run { fill: var(--run); }
.era__svg .pulse { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.era__svg .flow { stroke-dasharray: 6 6; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }

/* the record */
.xps { display: grid; gap: 14px; }
.xp { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 40px); padding: clamp(22px, 2.6vw, 32px); background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.xp--now { box-shadow: inset 0 0 0 1px var(--ln-2), inset 0 2px 0 var(--copper); }
.xp__meta { display: flex; flex-direction: column; gap: 7px; }
.xp__when { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--mut); }
.xp__when b { color: var(--ink); font-weight: 500; }
.xp__org { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 600 14.5px var(--f-body); color: var(--slate); }
.xp__note { font-weight: 400; font-size: 13px; color: var(--mut); }
.xp__role { font: 400 clamp(21px, 2vw, 27px)/1.2 var(--f-display); }
.xp__big { margin-top: auto; padding-top: 16px; display: grid; gap: 4px; border-top: 1px solid var(--ln); }
.xp__big b { font: 400 clamp(34px, 3.4vw, 50px)/1 var(--f-display); color: var(--copper); }
.xp__big span { font-size: 14px; color: var(--mut); }
.xp__steps { display: grid; gap: 0; margin: auto 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--ln); font-size: 10px; color: var(--ink-2); text-transform: none; letter-spacing: 0.04em; }
.xp__steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px; padding: 5px 0 5px 14px; }
.xp__steps li::before { content: ''; position: absolute; left: 3px; top: 0; bottom: 0; width: 1px; background: var(--ln-2); }
.xp__steps li::after { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--slate); }
.xp__steps li:last-child::after { background: var(--copper); box-shadow: none; }
.xp__steps b { color: var(--copper); font-weight: 500; }
.star { margin: 0; display: grid; }
.star__row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--ln); }
.star__row:first-child { padding-top: 0; }
.star__row:last-child { border-bottom: 0; }
.star dt { display: flex; align-items: center; gap: 10px; font: 500 10.5px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); padding-top: 1px; }
.star dt i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 2px; font: 500 11px/1 var(--f-mono); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.star dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.star dd b { color: var(--ink); font-weight: 600; }
.star .star--r { margin-top: 4px; padding: 12px 14px; background: var(--copper-t); border-bottom: 0; box-shadow: inset 2px 0 0 var(--copper); }
.star--r dt { color: var(--copper-d); }
.star--r dt i { color: #fff; background: var(--copper); box-shadow: none; }
.star--r dd { color: var(--ink); }
.also { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ink); }
.also__h { color: var(--mut); margin-bottom: 14px; }
.also ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.also li { display: grid; gap: 4px; align-content: start; padding: 14px 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln); }
.also b { font: 500 11px var(--f-mono); color: var(--copper); letter-spacing: 0.06em; }
.also span { font: 400 20px/1.2 var(--f-display); }
.also small { font-size: 13.5px; color: var(--mut); }

/* ── 03 OEE: where the losses hide ──────────────────────────────────── */
.oee { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); background: #fff; border: 1px solid var(--ink); }
.oee__main { padding: clamp(16px, 2vw, 24px); min-width: 0; }
.oee__svg { width: 100%; height: auto; overflow: visible; }
.oee__svg .ax { stroke: var(--ln-2); }
.oee__svg .gl { stroke: var(--ln); }
.oee__svg .bt { fill: var(--mut); font: 500 8.5px var(--f-mono); letter-spacing: 0.04em; text-anchor: middle; text-transform: uppercase; }
.oee__svg .bv { fill: var(--ink); font: 400 15px var(--f-display); text-anchor: middle; }
.oee__svg .bar { transition: y 0.6s var(--ease-out), height 0.6s var(--ease-out), fill 0.3s; }
.oee__svg .bar--base { fill: var(--ink); }
.oee__svg .bar--loss { fill: var(--copper-t); stroke: var(--copper); stroke-width: 1; }
.oee__svg .bar--loss.is-top { fill: var(--copper); }
.oee__svg .bar--gain { fill: var(--run); opacity: 0.85; }
.oee__svg .bar--sub { fill: var(--slate); }
.oee__svg .bar--oee { fill: var(--copper); }
.oee__svg .cat { fill: var(--ink-2); font: 500 9px var(--f-mono); letter-spacing: 0.14em; text-anchor: middle; }
.oee__svg .catl { stroke: var(--ln-2); }
.oee__fixes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; margin-top: 14px; }
.fx { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 10px 12px; border: 0; border-radius: 2px; cursor: pointer; text-align: left; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ln); transition: background 0.2s, box-shadow 0.2s; }
.fx:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.fx i { grid-row: span 2; width: 16px; height: 16px; margin-top: 2px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--ink-2); transition: background 0.2s; }
.fx b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.fx span { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font: 500 9.5px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.fx em { padding: 1px 5px; border-radius: 2px; color: #fff; font-style: normal; }
.fx em.people { background: var(--copper); } .fx em.process { background: var(--slate); } .fx em.tech { background: var(--sage); }
.fx.is-on { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.fx.is-on i { background: var(--ink); box-shadow: none; }
.fx.is-on i::after { content: ''; display: block; width: 8px; height: 4px; margin: 4px 0 0 4px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.oee__side { display: flex; flex-direction: column; background: var(--paper); box-shadow: inset 1px 0 0 var(--ink); }
.oee__dial { padding: 20px 20px 16px; border-bottom: 1px solid var(--ln-2); }
.oee__dial > .mono { color: var(--mut); font-size: 10px; }
.oee__val { display: flex; align-items: baseline; gap: 2px; margin-top: 4px; }
.oee__n { font: 400 clamp(64px, 6vw, 88px)/0.9 var(--f-display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.oee__val span { font: 400 28px var(--f-display); color: var(--mut); }
.oee__eq { margin-top: 10px; color: var(--ink-2); font-size: 10px; text-transform: none; letter-spacing: 0.04em; }
.oee__out { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ln-2); }
.oee__out > div { padding: 12px 16px; }
.oee__out > div:nth-child(odd) { box-shadow: inset -1px 0 0 var(--ln); }
.oee__out > div:nth-child(n+3) { border-top: 1px solid var(--ln); }
.oee__out dt { font: 500 10px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); }
.oee__out dd { margin: 4px 0 0; display: grid; }
.oee__out b { font: 400 26px/1 var(--f-display); color: var(--run); font-variant-numeric: lining-nums tabular-nums; }
.oee__out b.is-zero { color: var(--mut); }
.oee__out span { font-size: 12px; color: var(--mut); }
.oee__mix { padding: 14px 16px; border-bottom: 1px solid var(--ln-2); }
.oee__mix > .mono { color: var(--mut); font-size: 9.5px; margin-bottom: 8px; }
.oee__bar { display: flex; height: 12px; background: var(--ln); }
.oee__bar i { height: 100%; width: 0; transition: width 0.6s var(--ease-out); }
.oee__bar i[data-l="people"] { background: var(--copper); } .oee__bar i[data-l="process"] { background: var(--slate); } .oee__bar i[data-l="tech"] { background: var(--sage); }
.oee__leg { display: flex; gap: 12px; margin-top: 8px; font-size: 9.5px; color: var(--ink-2); }
.oee__leg span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: -1px; }
.oee__leg .l-people::before { background: var(--copper); } .oee__leg .l-process::before { background: var(--slate); } .oee__leg .l-tech::before { background: var(--sage); }
.oee__tip { padding: 14px 16px 18px; font: italic 400 17px/1.45 var(--f-display); color: var(--ink); }
.oee__tip b { font-style: normal; font-weight: 400; color: var(--copper); }
.oee__note { margin-top: 14px; max-width: 64em; font-size: 13.5px; color: var(--mut); }

/* ── 04 field topics ────────────────────────────────────────────────── */
.field__sh { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.field__fig { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ln-2); }
.field__fig img { width: 100%; height: 100%; object-fit: cover; }
.field__fig::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34%; height: 3px; background: var(--copper); }
.topics { display: grid; border-top: 1px solid var(--ink); }
.tp { border-bottom: 1px solid var(--ln-2); }
.tp__h { display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; align-items: center; gap: 12px; width: 100%; padding: 20px 4px; border: 0; background: none; cursor: pointer; text-align: left; }
.tp__h b { color: var(--copper); font-weight: 500; }
.tp__h span { font: 400 clamp(22px, 2.4vw, 32px)/1.15 var(--f-display); transition: color 0.25s, transform 0.4s var(--ease-out); }
.tp__h:hover span { color: var(--copper); transform: translateX(6px); }
.tp__h i { position: relative; width: 28px; height: 28px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--ln-2); }
.tp__h i::before, .tp__h i::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease-out); }
.tp__h i::after { transform: rotate(90deg); }
.tp.is-on .tp__h i { background: var(--ink); box-shadow: none; }
.tp.is-on .tp__h i::before, .tp.is-on .tp__h i::after { background: #fff; }
.tp.is-on .tp__h i::after { transform: none; }
.tp__b { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; max-height: 0; overflow: hidden; padding: 0 4px 0 64px; transition: max-height 0.6s var(--ease-io), padding 0.6s var(--ease-io); }
.tp.is-on .tp__b { max-height: 360px; padding-bottom: 24px; }
.tp__q { font: italic 400 19px/1.45 var(--f-display); color: var(--ink-2); }
.tp__b ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tp__b li { position: relative; padding: 6px 0 6px 18px; font-size: 15px; border-bottom: 1px solid var(--ln); }
.tp__b li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 1.5px; background: var(--copper); }

/* ── 05 work with Greg ──────────────────────────────────────────────── */
.ways { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ln-2); border-left: 1px solid var(--ln-2); }
.way { border-right: 1px solid var(--ln-2); border-bottom: 1px solid var(--ln-2); }
.way { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 22px; background: #fff; transition: background 0.25s; }
.way:hover { background: var(--paper); }
.way .mono { color: var(--copper); font-size: 9.5px; }
.way h3 { font: 400 21px/1.15 var(--f-display); }
.way p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.wo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 0; margin-top: clamp(32px, 4vw, 52px); background: #fff; border: 1px solid var(--ink); }
.wo__form { display: grid; gap: 16px; padding: clamp(18px, 2.2vw, 28px); }
.wo__k { color: var(--copper); font-size: 10px; }
.wo__f { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.wo__f legend { padding: 0; margin-bottom: 8px; color: var(--mut); font-size: 9.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { height: 36px; padding: 0 14px; border: 0; border-radius: 2px; cursor: pointer; background: var(--paper); font: 500 14px var(--f-body); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ln); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chips button.is-on { color: #fff; background: var(--ink); box-shadow: none; }
.wo__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wo__in { display: grid; gap: 6px; }
.wo__in .mono { color: var(--mut); font-size: 9.5px; }
.wo__in input, .wo__in textarea { width: 100%; padding: 10px 12px; border: 0; border-radius: 2px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ln-2); font-size: 15px; resize: vertical; transition: box-shadow 0.2s, background 0.2s; }
.wo__in input:focus, .wo__in textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.wo__card { display: flex; flex-direction: column; background: var(--paper); box-shadow: inset 1px 0 0 var(--ink); }
.wo__ch { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: var(--mut); font-size: 10px; border-bottom: 1px solid var(--ink); background: #fff; }
.wo__no { color: var(--copper); font-weight: 500; }
.wo__sum { margin: 0; padding: 4px 18px; flex: 1; }
.wo__sum > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--ln-2); }
.wo__sum dt { color: var(--mut); font-size: 9.5px; padding-top: 3px; }
.wo__sum dd { margin: 0; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; color: var(--ink); }
.wo__sum dd.is-empty { color: var(--mut); }
.wo__ready { display: flex; align-items: center; gap: 10px; padding: 12px 18px; }
.wo__meter { flex: 1; height: 4px; background: var(--ln); }
.wo__meter i { display: block; height: 100%; width: 0; background: var(--warn); transition: width 0.4s var(--ease-out), background 0.3s; }
.wo__meter i.is-full { background: var(--run); }
.wo__rt { color: var(--mut); font-size: 9.5px; white-space: nowrap; }
.wo__send { margin: 0 18px; justify-content: space-between; }
.wo__priv { padding: 12px 18px 18px; font-size: 12.5px; line-height: 1.5; color: var(--mut); }

/* ── 06 speaking ────────────────────────────────────────────────────── */
.talk__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.pass { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; background: var(--ink); color: #fff; }
.pass__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.pass::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28, 35, 41, 0.1), rgba(28, 35, 41, 0.92) 62%); }
.pass__in { position: relative; z-index: 2; padding: clamp(20px, 2.6vw, 32px); }
.pass__k { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.7); font-size: 10px; }
.pass__cd { padding: 3px 8px; border-radius: 2px; color: var(--ink); background: var(--warn); font-weight: 500; }
.pass__cd:empty { display: none; }
.pass h3 { margin-top: 12px; font: 400 clamp(28px, 3vw, 42px)/1.05 var(--f-sc); }
.pass__d { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 32em; }
.pass__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.pass__meta > div { padding: 10px 12px 0 0; }
.pass__meta dt { font-size: 9px; color: rgba(255, 255, 255, 0.55); }
.pass__meta dd { margin: 3px 0 0; font: 400 17px var(--f-display); }
.talk__list { display: grid; box-shadow: inset 0 0 0 1px var(--ln-2); background: #fff; }
.tl + .tl { border-top: 1px solid var(--ln-2); }
.tl { display: grid; gap: 4px; align-content: center; padding: 18px 20px; background: #fff; }
.tl .mono { color: var(--copper); font-size: 9.5px; }
.tl h3 { font: 400 20px/1.2 var(--f-display); }
.tl p { font-size: 14.5px; color: var(--ink-2); }
.creds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.creds li { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--ln-2); }
.creds li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--slate); }
.creds b { font: 400 34px/1 var(--f-display); color: var(--copper); }
.creds span { margin-top: 6px; font-weight: 600; font-size: 15px; }
.creds small { font-size: 13px; color: var(--mut); line-height: 1.4; }

/* ══ CLOSE ═════════════════════════════════════════════════════════════ */
.close { position: relative; padding: var(--section) 0 36px; overflow: hidden; isolation: isolate; background: var(--paper); }
.close__photo { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: clamp(420px, 52vw, 760px); object-fit: cover; object-position: 50% 70%; opacity: 0.5;
  -webkit-mask-image: linear-gradient(transparent, #000 55%); mask-image: linear-gradient(transparent, #000 55%); }
.close__h { font: 400 clamp(52px, 7.6vw, 126px)/0.96 var(--f-sc); letter-spacing: -0.015em; max-width: 11em; }
.close__h em { color: var(--copper); }
.close__sub { margin-top: 20px; max-width: 36em; color: var(--ink-2); font-size: 18px; }
.links { display: grid; margin-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--ink); }
.links a { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 26px) 4px; border-bottom: 1px solid var(--ln-2); background: rgba(245, 244, 240, 0.86); }
.links span { color: var(--mut); }
.links b { font: 400 clamp(22px, 3vw, 42px)/1.1 var(--f-display); overflow-wrap: anywhere; transition: transform 0.4s var(--ease-out), color 0.25s; }
.links i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 3px; color: #fff; background: var(--ink); font-size: 17px; transition: transform 0.3s var(--ease-out), background 0.25s; }
.links a:hover b { transform: translateX(8px); color: var(--copper); }
.links a:hover i { transform: translate(2px, -2px); background: var(--copper); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: clamp(56px, 8vw, 100px); color: var(--mut); }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; }
.foot__brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px rgba(23, 19, 14, 0.18); }
.foot__brand .wm { font-size: 22px; color: var(--ink); }
.foot .mono { font-size: 10px; }

/* ══ RESPONSIVE ═════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .readouts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ro:nth-child(4) { box-shadow: inset 0 1px 0 var(--ln); }
  .ro:nth-child(5) { box-shadow: inset 1px 0 0 var(--ln), inset 0 1px 0 var(--ln); }
  .xp { grid-template-columns: 1fr; }
  .xp__big, .xp__steps { margin-top: 4px; }
  .oee, .wo, .talk__grid { grid-template-columns: 1fr; }
  .oee__side, .wo__card { box-shadow: inset 0 1px 0 var(--ink); }
  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .gb { width: min(380px, 92%); margin-top: 8px; }
  .hero__veil { background: linear-gradient(180deg, rgba(245, 244, 240, 0.94), rgba(245, 244, 240, 0.82) 60%, var(--paper)); }
  .bio__grid, .field__sh { grid-template-columns: 1fr; }
  .spec { position: relative; top: 0; }
  .era { grid-template-columns: 1fr; }
  .era__stage { position: sticky; top: 64px; z-index: 5; height: auto; }
  .era__sticky { position: relative; top: 0; padding: 10px; grid-template-columns: minmax(0, 1fr); }
  .era__svg { max-height: 34vh; }
  .era__list { padding: 0 0 6vh; gap: 18px; }
  .field__fig { aspect-ratio: 16 / 9; }
  .tp__b { grid-template-columns: 1fr; padding-left: 4px; }
  .tp.is-on .tp__b { max-height: 520px; }
}
@media (max-width: 640px) {
  .hero__name { font-size: clamp(60px, 18vw, 92px); }
  .readouts { grid-template-columns: 1fr 1fr; }
  .ro, .ro + .ro { box-shadow: inset 0 1px 0 var(--ln); }
  .ro:nth-child(1), .ro:nth-child(2) { box-shadow: none; }
  .ro:nth-child(even) { box-shadow: inset 1px 0 0 var(--ln), inset 0 1px 0 var(--ln); }
  .ro:nth-child(2) { box-shadow: inset 1px 0 0 var(--ln); }
  .ro:last-child { grid-column: 1 / -1; }
  .tenets, .also ol, .ways, .creds, .wo__row { grid-template-columns: 1fr; }
  .tenets li + li { border-left: 0; border-top: 1px solid var(--ln-2); }
  .star__row { grid-template-columns: 1fr; gap: 6px; }
  .oee__main { padding: 12px; }
  .oee__chart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .oee__svg { width: 580px; max-width: none; }
  .oee__fixes { grid-template-columns: 1fr; }
  .tp__h { grid-template-columns: 32px minmax(0, 1fr) 28px; padding: 16px 0; }
  .pass__meta { grid-template-columns: 1fr 1fr 1fr; }
  .back { height: 42px; font-size: 13px; padding-right: 14px; }
  .back .btn__ico { width: 34px; height: 34px; }
  .links a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .links span, .links b { grid-column: 1; }
  .links i { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .close__h { font-size: clamp(44px, 13vw, 68px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
}

/* ══ MOBILE (≤640px only; desktop untouched) ═════════════════════════════ */
@media (max-width: 640px) {
  /* back: a compact icon button, so it never sits over headings */
  .back { height: 44px; padding: 0 3px; gap: 0; }
  .back .btn__ico { width: 38px; height: 38px; }
  .back__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* the factory eras: labels a touch larger, tracking tightened so they still fit */
  .era__svg .t, .era__svg .tc { font-size: 12px; letter-spacing: 0.04em; }
  /* close: the photo sits under the footer, not behind the wordmark */
  .close { padding-bottom: 200px; }
  .close__photo { height: 240px; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
}
