/* ==========================================================================
   Pic 'N' Pay Shoes / Direction C: "Fit Lab" (Technical Systems)
   Light bone ground, near-black ink, one signal orange.
   ========================================================================== */

:root {
  --bone: oklch(95.5% 0.012 85);
  --bone-2: oklch(92.5% 0.014 85);
  --bone-3: oklch(89% 0.016 85);
  --ink: oklch(20% 0.01 70);
  --ink-2: oklch(45% 0.012 70);          /* muted text, 6.5:1 on bone */
  --rule: oklch(20% 0.01 70 / 0.16);
  --rule-2: oklch(20% 0.01 70 / 0.32);
  --sig: oklch(68% 0.2 40);              /* fills + large type only */
  --sig-ink: oklch(50% 0.16 38);         /* small orange text, 5.6:1 on bone */
  --sig-soft: oklch(68% 0.2 40 / 0.16);

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --pad: clamp(16px, 3vw, 44px);
  --head-h: 64px;
  --ease: cubic-bezier(.2, .8, .1, 1);
  --dots: radial-gradient(circle at 1px 1px, oklch(20% 0.01 70 / 0.22) 1px, transparent 1.4px);
  color-scheme: light;
}
@media (max-width: 720px) { :root { --head-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.5;
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.45; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-2); }
.sig-text { color: var(--sig-ink); font-weight: 600; }

:focus-visible { outline: 2px solid var(--sig-ink); outline-offset: 3px; }
.foot :focus-visible, .band :focus-visible, .inst-bar :focus-visible { outline-color: var(--bone); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 22px;
  font-family: var(--f-display); font-weight: 650; font-size: 16px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--ink);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn-solid { background: var(--sig); color: var(--ink); border-color: var(--sig); }
.btn-solid:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bone); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn:active { transform: translateY(1px); }

.icon-btn {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  background: transparent; border: 1.5px solid var(--ink); font-family: var(--f-mono); font-size: 16px;
  transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--ink); color: var(--bone); }

/* ---------- scroll progress (scroll-driven, progressive) ---------- */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--sig); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  html.motion .scrollbar { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ==========================================================================
   01 HEADER
   ========================================================================== */
/* backdrop blur lives on a pseudo-element so the fixed mobile menu is not trapped inside the header's containing block */
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rule); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: oklch(95.5% 0.012 85 / .9); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
.head-row { height: var(--head-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding-inline: var(--pad); }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; }
.wm-main { font-weight: 850; font-size: 22px; letter-spacing: -.045em; line-height: 1; }
.wm-sub { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 5px; background: var(--ink); color: var(--bone); transform: translateY(-3px); }
.nav ul { display: flex; justify-content: center; gap: clamp(10px, 1.35vw, 24px); }
.nav a { font-size: 14px; font-weight: 550; text-decoration: none; letter-spacing: -.005em; padding: 6px 0; background: linear-gradient(var(--sig), var(--sig)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background-size: 100% 2px; }
.head-tools { display: flex; align-items: center; gap: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status-detail { color: var(--ink-2); }
.dot { width: 8px; height: 8px; background: var(--ink-2); flex: none; }
[data-open="true"] .dot { background: var(--sig); box-shadow: 0 0 0 3px var(--sig-soft); }
html.motion [data-open="true"] .dot { animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .35; } }

.menu-btn { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 12px; background: var(--ink); color: var(--bone); border: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.menu-btn-lines { display: grid; gap: 5px; width: 16px; }
.menu-btn-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn-lines i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu { position: fixed; inset: var(--head-h) 0 0 0; background: var(--bone); background-image: var(--dots); background-size: 22px 22px; overflow-y: auto; z-index: 49; border-top: 1px solid var(--rule); }
.menu[hidden] { display: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; gap: 24px; padding: 20px var(--pad) 28px; }
.menu-meta { color: var(--ink-2); }
.menu-list { border-top: 2px solid var(--ink); }
.menu-list a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: clamp(30px, 8.5vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1; text-decoration: none; }
.menu-list a .mono { color: var(--sig-ink); font-size: 11px; letter-spacing: .04em; }
.menu-list a:hover { color: var(--sig-ink); }
.menu-foot { margin-top: auto; display: grid; gap: 12px; }
.menu-foot .btn { width: 100%; }
html.menu-open { overflow: hidden; }
html.motion .menu:not([hidden]) .menu-list li { animation: rise .45s var(--ease) both; }
html.motion .menu:not([hidden]) .menu-list li:nth-child(n) { animation-delay: calc(var(--i, 0) * 35ms); }

@media (max-width: 1239px) {
  .nav { display: none; }
  .head-row { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: inline-flex; }
  .head-tools { grid-column: 3; }
}
@media (max-width: 720px) {
  .status-detail, .hide-sm { display: none; }
  .head-tools { gap: 8px; }
  .head-call { padding: 0 10px; font-size: 13px; }
  .wm-main { font-size: 19px; }
}
@media (max-width: 440px) {
  .head-row { gap: 10px; }
  .menu-btn { padding: 0 11px; }
  .wm-sub { display: none; }
  .menu-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 360px) { .status-pill .status-text { display: none; } }

/* ==========================================================================
   02 HERO / SPECIMEN VIEWER
   ========================================================================== */
.hero { padding-inline: var(--pad); padding-top: 14px; }
.hero-head { container-type: inline-size; }
.kicker { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-2); padding-bottom: 6px; }
.kicker .k-b { flex: 1; text-align: center; }
.mega {
  font-weight: 850; font-size: 15.55cqi; line-height: .8; letter-spacing: -.062em;
  margin-left: -.045em; padding-block: .02em .06em; white-space: nowrap;
}
.mega-line { display: inline-block; }
@media (max-width: 720px) {
  .kicker .k-b { display: none; }
  .mega { font-size: 19.2cqi; white-space: normal; line-height: .84; }
  .mega-line { display: block; }
}

.hero-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 14px 0 16px; border-top: 1px solid var(--ink); }
.lead { font-size: clamp(16px, 1.3vw, 19px); max-width: 64ch; line-height: 1.4; text-wrap: pretty; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero-bar { grid-template-columns: 1fr; gap: 14px; }
  .ctas .btn { flex: 1 1 200px; }
}

.lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(290px, 25vw, 380px);
  grid-template-rows: auto auto;
  grid-template-areas: "stage panel" "sel panel";
  border-top: 1px solid var(--rule-2);
  margin-inline: calc(var(--pad) * -1);
}

/* stage */
.stage {
  grid-area: stage;
  --ar: 1.931;
  --sw: min(62cqw, calc(56cqh * var(--ar)));
  position: relative; container-type: size; overflow: hidden;
  height: clamp(380px, calc(100svh - 424px), 640px);
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 120px 120px,
    var(--dots) 0 0 / 24px 24px,
    var(--bone);
  background-position: 18px 18px;
  border-right: 1px solid var(--rule-2);
  touch-action: pan-y;
}
.ruler { position: absolute; z-index: 2; pointer-events: none; background-color: var(--bone); color: var(--ink-2); }
.ruler-x {
  top: 0; left: 18px; right: 22px; height: 18px; border-bottom: 1px solid var(--rule-2);
  background-image:
    linear-gradient(90deg, var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 120px 10px, 12px 5px; background-repeat: repeat-x; background-position: 0 100%, 0 100%;
}
.ruler-y {
  top: 18px; left: 0; bottom: 0; width: 18px; border-right: 1px solid var(--rule-2);
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(var(--rule-2) 1px, transparent 1px);
  background-size: 10px 120px, 5px 12px; background-repeat: repeat-y; background-position: 100% 0, 100% 0;
}
.ruler::before { content: ""; position: absolute; }
.ruler span { position: absolute; font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .02em; line-height: 1; color: var(--ink-2); }
.ruler-x span { top: 2px; transform: translateX(3px); }
.ruler-y span { left: 2px; transform: translateY(3px) ; writing-mode: vertical-rl; rotate: 180deg; }

.stage-tl, .stage-bl { position: absolute; z-index: 3; display: grid; gap: 1px; color: var(--ink-2); pointer-events: none; }
.stage-tl { top: 30px; left: 32px; }
.stage-tl b { font-weight: 600; }
.stage-bl { bottom: 14px; left: 32px; }
.stage-rail {
  position: absolute; z-index: 3; top: 0; right: 0; bottom: 0; width: 22px; margin: 0;
  background: var(--ink); color: var(--bone); writing-mode: vertical-rl;
  display: flex; align-items: center; justify-content: flex-start; padding-top: 14px; font-size: 9.5px; letter-spacing: .12em; white-space: nowrap; overflow: hidden;
}

.baseline {
  position: absolute; left: 18px; right: 22px; z-index: 1; height: 0;
  top: calc(54% + var(--sw) / var(--ar) / 2 - 2px);
  border-top: 1px dashed var(--rule-2);
  transition: top .5s var(--ease);
}
.baseline span { position: absolute; left: 14px; top: 4px; color: var(--ink-2); }

.specimen {
  position: absolute; z-index: 2; left: 50%; top: 54%;
  width: var(--sw); aspect-ratio: var(--ar);
  translate: -50% -50%;
  view-transition-name: specimen;
}
.specimen img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px oklch(20% 0.01 70 / .12)); view-transition-name: spec-img; }

.brk { position: absolute; width: 22px; height: 22px; border: 0 solid var(--ink); pointer-events: none; }
.brk-tl { top: -16px; left: -16px; border-width: 2px 0 0 2px; }
.brk-tr { top: -16px; right: -16px; border-width: 2px 2px 0 0; }
.brk-bl { bottom: -16px; left: -16px; border-width: 0 0 2px 2px; }
.brk-br { bottom: -16px; right: -16px; border-width: 0 2px 2px 0; }

.dim { position: absolute; pointer-events: none; color: var(--ink); }
.dim::before, .dim::after { content: ""; position: absolute; background: var(--ink); }
.dim-x { left: 0; right: 0; top: calc(100% + 30px); height: 1px; background: var(--ink); }
.dim-x::before, .dim-x::after { top: -5px; width: 1px; height: 11px; }
.dim-x::before { left: 0; } .dim-x::after { right: 0; }
.dim-y { top: 0; bottom: 0; left: -34px; width: 1px; background: var(--ink); }
.dim-y::before, .dim-y::after { left: -5px; height: 1px; width: 11px; }
.dim-y::before { top: 0; } .dim-y::after { bottom: 0; }
.dim-label { position: absolute; background: var(--bone); padding: 0 8px; font-size: 10px; white-space: nowrap; color: var(--ink); }
.dim-x .dim-label { left: 50%; top: 0; translate: -50% -50%; }
.dim-y .dim-label { top: 50%; left: 0; translate: -50% -50%; writing-mode: vertical-rl; rotate: 180deg; padding: 8px 0; }

.tag { position: absolute; bottom: calc(100% + 30px); display: grid; gap: 2px; font-size: 10.5px; line-height: 1.3; white-space: nowrap; pointer-events: none; }
.tag b { font-weight: 600; }
.tag::after { content: ""; position: absolute; top: calc(100% + 3px); height: 16px; width: 1px; background: var(--ink); }
.tag-a { left: -16px; padding-left: 10px; border-left: 2px solid var(--sig); }
.tag-a::after { left: -2px; }
.tag-b { right: -16px; text-align: right; padding-right: 10px; border-right: 2px solid var(--ink); }
.tag-b::after { right: -2px; }

@property --x { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --y { syntax: "<length>"; inherits: true; initial-value: 0px; }
.xhair { position: absolute; inset: 18px 22px 0 18px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .2s; }
html.motion .stage.is-parked .xhair { transition: opacity .4s, --x .7s var(--ease), --y .7s var(--ease); }
.stage.is-tracking .xhair { opacity: 1; }
.xh-h, .xh-v { position: absolute; background: var(--sig); }
.xh-h { left: 0; right: 0; top: var(--y); height: 1px; }
.xh-v { top: 0; bottom: 0; left: var(--x); width: 1px; }
.xh-box { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; translate: -50% -50%; border: 1.5px solid var(--ink); background: oklch(95.5% 0.012 85 / .35); }
.stage.is-locked .xh-box { border-color: var(--sig); width: 34px; height: 34px; }
.xh-read { position: absolute; left: var(--x); top: var(--y); translate: 14px 12px; background: var(--ink); color: var(--bone); padding: 3px 6px; font-size: 10px; white-space: nowrap; }
.xhair.flip-x .xh-read { translate: calc(-100% - 14px) 12px; }
.xhair.flip-y .xh-read { translate: 14px calc(-100% - 12px); }
.xhair.flip-x.flip-y .xh-read { translate: calc(-100% - 14px) calc(-100% - 12px); }
@media (hover: none), (pointer: coarse) { .xhair { display: none; } }

/* panel */
.spec-panel { grid-area: panel; padding: 22px var(--pad) 12px 24px; display: grid; gap: 12px; align-content: start; }
.spec-count { color: var(--ink-2); }
.spec-count b { color: var(--ink); font-weight: 600; }
.spec-name { font-weight: 800; font-size: clamp(28px, 2.5vw, 40px); letter-spacing: -.045em; line-height: .95; text-wrap: balance; min-height: 1.9em; view-transition-name: spec-name; }
.spec-table { width: 100%; border-top: 2px solid var(--ink); view-transition-name: spec-table; }
.spec-table tr { border-bottom: 1px solid var(--rule-2); }
.spec-table th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; color: var(--ink-2); padding: 7px 10px 7px 0; white-space: nowrap; }
.spec-table td { text-align: right; font-size: 14.5px; font-weight: 600; padding: 7px 0; }
.spec-ctrl { display: flex; align-items: center; gap: 8px; }
.spec-ctrl .play { gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; grid-auto-flow: column; }
.pp { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.play[aria-pressed="true"] .pp { border: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.hint { margin-left: auto; color: var(--ink-2); }

/* selector */
.selector { grid-area: sel; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2); }
.sel-btn {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) 64px; align-items: center; gap: 8px;
  min-height: 60px; padding: 6px 12px; text-align: left; background: transparent; border: 0; border-left: 1px solid var(--rule-2);
  font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: background-color .15s, color .15s;
}
.sel-btn:first-child { border-left: 0; }
.sel-btn .sel-name { line-height: 1.1; }
.sel-btn .mono { color: var(--ink-2); }
.sel-btn img { width: 64px; height: 34px; object-fit: contain; }
.sel-btn:hover { background: var(--bone-2); }
.sel-btn[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.sel-btn[aria-pressed="true"] .mono { color: var(--sig); }
.sel-btn .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sig); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; }
.sel-btn[aria-pressed="true"] .prog { opacity: 1; }

@media (max-width: 1100px) {
  .lab { grid-template-columns: 1fr; grid-template-areas: "stage" "sel" "panel"; grid-template-rows: auto; }
  .stage { height: clamp(320px, 62vw, 560px); border-right: 0; }
  .selector { border-right: 0; border-bottom: 1px solid var(--rule-2); }
  .sel-btn { grid-template-columns: 1fr; justify-items: center; gap: 2px; padding: 8px 4px; min-height: 76px; }
  .sel-btn .sel-name { font-size: 12px; text-align: center; line-height: 1.1; max-width: 100%; }
  .spec-panel { padding: 20px var(--pad) 8px; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .spec-count, .spec-name { grid-column: 1; }
  .spec-table { grid-column: 2; grid-row: 1 / span 3; }
  .spec-ctrl { grid-column: 1; align-self: end; }
}
@media (max-width: 720px) {
  .stage { height: 340px; --sw: min(70cqw, calc(52cqh * var(--ar))); }
  .stage-tl { top: 26px; left: 26px; }
  .stage-bl { left: 26px; bottom: 10px; }
  .stage-bl span:nth-child(3), .stage-tl, .baseline span { display: none; }
  .dim-y { display: none; }
  .tag { font-size: 9.5px; bottom: calc(100% + 26px); }
  .tag::after { height: 12px; }
  .dim-label { font-size: 9px; }
  .sel-btn .sel-name { display: none; }
  .sel-btn { min-height: 56px; }
  .sel-btn img { width: 52px; height: 24px; }
  .spec-panel { grid-template-columns: 1fr; }
  .spec-table { grid-column: 1; grid-row: auto; }
  .spec-name { min-height: 0; }
  .hint { display: none; }
}

/* view transitions for the specimen swap */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(spec-img) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(spec-img) { animation: vt-in .5s var(--ease) both; }
::view-transition-old(spec-name), ::view-transition-old(spec-table) { animation: fade-out .2s both; }
::view-transition-new(spec-name), ::view-transition-new(spec-table) { animation: fade-in .35s .1s both; }
@keyframes vt-out { to { opacity: 0; transform: translateX(-6%); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(6%); filter: blur(6px); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
.stage.swapping .brk { animation: relock .6s var(--ease); }
@keyframes relock { 0% { margin: -14px; opacity: .2; } 60% { opacity: 1; } 100% { margin: 0; } }

/* ---------- entrance (motion only) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes reveal-line { from { clip-path: inset(0 0 100% 0); transform: translateY(.18em); } to { clip-path: inset(-10% -5% -10% -5%); transform: none; } }
@keyframes lock { from { margin: -38px; opacity: 0; } 50% { opacity: 1; } to { margin: 0; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }
html.motion .mega-line { animation: reveal-line .9s var(--ease) both; }
html.motion .mega-line + .mega-line { animation-delay: .08s; }
html.motion .kicker { animation: fade .6s .1s both; }
html.motion .hero-bar { animation: rise .7s .25s var(--ease) both; }
html.motion .specimen img { animation: rise .8s .3s var(--ease) both; }
html.motion .specimen .brk { animation: lock .7s .55s var(--ease) both; }
html.motion .dim-x { animation: draw-x .6s .8s var(--ease) both; }
html.motion .dim-y { animation: draw-y .6s .8s var(--ease) both; }
html.motion .tag, html.motion .dim-label { animation: fade .4s 1s both; }
html.motion .spec-panel, html.motion .selector { animation: fade .6s .45s both; }

/* ---------- scroll reveals (only once main.js is ready) ---------- */
html.motion.ready [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
html.motion.ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(28px); }
html.failsafe [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Telemetry band
   ========================================================================== */
.band { background: var(--ink); color: var(--bone); padding: 0 var(--pad); }
.band-list { display: flex; flex-wrap: wrap; font-size: 12px; }
.band-list li { flex: 1 1 auto; padding: 14px 18px; border-left: 1px solid oklch(95% 0.01 85 / .18); white-space: nowrap; }
.band-list li:first-child { border-left: 0; padding-left: 0; }
.band-list span { color: var(--sig); margin-right: 8px; }
.band-list b { font-weight: 500; }
@media (max-width: 720px) {
  .band-list { display: grid; grid-template-columns: 1fr 1fr; }
  .band-list li { padding: 10px 0; border-left: 0; border-top: 1px solid oklch(95% 0.01 85 / .18); white-space: normal; }
  .band-list li:nth-child(-n+2) { border-top: 0; }
  .band-list li:nth-child(even) { padding-left: 14px; border-left: 1px solid oklch(95% 0.01 85 / .18); }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.sec { position: relative; padding: clamp(72px, 9vw, 150px) var(--pad); }
.rail { position: absolute; top: clamp(72px, 9vw, 150px); left: 10px; writing-mode: vertical-rl; rotate: 180deg; color: var(--ink-2); font-size: 10px; letter-spacing: .14em; white-space: nowrap; display: none; }
@media (min-width: 1240px) {
  .sec { padding-left: calc(var(--pad) + 24px); }
  .rail { display: block; left: calc(var(--pad) - 14px); }
}
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.sec-idx { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; border-top: 2px solid var(--ink); padding-top: 10px; font-size: 12px; }
.sec-idx span { background: var(--ink); color: var(--bone); padding: 2px 7px; font-weight: 600; }
.sec-title { grid-column: 1 / span 9; font-weight: 850; font-size: clamp(46px, 7.6vw, 128px); letter-spacing: -.055em; line-height: .86; text-wrap: balance; margin-left: -.04em; }
.sec-note { grid-column: 10 / -1; align-self: end; font-size: 16px; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
@media (max-width: 900px) {
  .sec-title, .sec-note { grid-column: 1 / -1; }
}

/* ==========================================================================
   03 NEW IN
   ========================================================================== */
.newin-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(56px, 7vw, 110px); }
.card { position: relative; display: grid; gap: 0; container-type: inline-size; }
.card-img {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: var(--dots) 12px 12px / 24px 24px, var(--bone-2);
  border: 1px solid var(--rule-2); overflow: hidden;
}
.card-img .shot { position: relative; width: 66%; }
.card-img img { width: 100%; height: auto; filter: drop-shadow(0 14px 14px oklch(20% 0.01 70 / .12)); transition: transform .6s var(--ease); }
.card-img .brk { transition: margin .45s var(--ease), border-color .3s; margin: 0; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-img .brk { margin: -8px; border-color: var(--sig); }
.card-id { position: absolute; top: 10px; left: 12px; color: var(--ink-2); }
.card-xy { position: absolute; top: 10px; right: 12px; color: var(--ink-2); text-align: right; }
.card-new { position: absolute; top: 8px; left: 10px; background: var(--sig); color: var(--ink); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 4px 8px; }
.card-title { font-weight: 800; letter-spacing: -.04em; line-height: .95; font-size: clamp(26px, 3.2vw, 48px); padding: 16px 0 12px; }
.card-title small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; color: var(--ink-2); margin-bottom: 8px; }
.rails { border-top: 2px solid var(--ink); }
.rails > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule-2); }
.rails dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.rails dd { font-size: 14.5px; font-weight: 600; text-align: right; }

.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 24px; }
.sub-title { font-weight: 800; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.05em; line-height: .95; }
.sub-meta { color: var(--ink-2); max-width: 60ch; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.strip .card-title { font-size: clamp(22px, 2vw, 30px); padding: 14px 0 10px; }
.strip .card-img { aspect-ratio: 4 / 3; }
.strip .card-img .shot { width: 72%; }
@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .newin-feature { grid-template-columns: 1fr; }
  .strip { gap: 28px 12px; }
  .strip .rails > div:nth-child(n+3) { display: none; }
  .strip .card-title { font-size: 19px; }
  .strip .rails dd { font-size: 13px; }
  .strip .card-xy, .strip .card-id { display: none; }
  .card-img .brk { width: 14px; height: 14px; }
}

/* ==========================================================================
   04 DEPARTMENTS / SPEC INDEX
   ========================================================================== */
.dept-index { border-top: 2px solid var(--ink); }
.dept {
  display: grid; grid-template-columns: 70px minmax(0, 1.05fr) minmax(0, 2.2fr) 190px; gap: 12px clamp(16px, 2.2vw, 36px);
  padding: 26px 0 30px; border-bottom: 1px solid var(--rule-2); position: relative;
  transition: background-color .3s;
}
.dept:hover { background: linear-gradient(90deg, var(--bone-2), transparent 80%); }
.dept-idx { color: var(--sig-ink); font-weight: 600; font-size: 12px; padding-top: 10px; }
.dept-name { font-weight: 850; font-size: clamp(36px, 3.5vw, 60px); letter-spacing: -.055em; line-height: .88; }
.dept-name a { text-decoration: none; }
.dept-blurb { margin-top: 12px; font-size: 16px; max-width: 34ch; color: var(--ink-2); }
.dept-range { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--ink); padding: 4px 8px; }
.dept-range b { font-weight: 600; }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 28px; align-content: start; padding-top: 8px; }
.grp h4 { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; margin-bottom: 8px; font-weight: 500; }
.grp h4 span:last-child { color: var(--ink-2); }
.grp ul { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 15px; line-height: 1.5; }
.grp li:not(:last-child)::after { content: " /"; color: var(--ink-2); }
.dept-thumb { position: relative; align-self: start; aspect-ratio: 1; display: grid; place-items: center; background: var(--dots) 8px 8px / 16px 16px, var(--bone-2); border: 1px solid var(--rule-2); }
.dept-thumb .shot { position: relative; width: 70%; }
.dept-thumb .brk { width: 14px; height: 14px; }
.dept-thumb .mono { position: absolute; top: 6px; left: 8px; color: var(--ink-2); font-size: 9.5px; }
.dept-thumb.none { background: repeating-linear-gradient(45deg, transparent 0 8px, var(--rule) 8px 9px), var(--bone-2); }
.dept-thumb.none p { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); text-align: center; padding: 12px; }
@media (max-width: 1100px) {
  .dept { grid-template-columns: 56px minmax(0, 1fr) 150px; }
  .groups { grid-column: 2 / -1; }
  .dept-thumb { grid-row: 1; grid-column: 3; }
}
@media (max-width: 720px) {
  .dept { grid-template-columns: minmax(0, 1fr) 96px; }
  .dept-idx { grid-column: 1 / -1; padding-top: 0; }
  .dept-head { grid-column: 1; }
  .dept-thumb { grid-column: 2; grid-row: 2; }
  .groups { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .dept-name { font-size: clamp(32px, 10vw, 44px); }
}

/* ==========================================================================
   05 FIT FINDER
   ========================================================================== */
.fit { background: var(--bone-2); border-block: 1px solid var(--rule-2); }
.fit-head .sec-title { grid-column: 1 / span 7; }
.promise { grid-column: 8 / -1; display: grid; gap: 20px; align-self: end; }
.promise > p { font-size: 17px; text-wrap: pretty; }
.gauges { display: grid; gap: 10px; }
.gauge { display: grid; grid-template-columns: 72px 1fr 150px; align-items: center; gap: 12px; }
.g-k { color: var(--ink-2); }
.g-bar { height: 12px; background:
  linear-gradient(90deg, var(--ink) calc(var(--fill) * 100%), transparent 0),
  repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 8px); border: 1px solid var(--ink); }
html.motion.ready .gauge:not(.in) .g-bar { background-size: 0 100%, auto; background-repeat: no-repeat, repeat; }
html.motion.ready .gauge .g-bar { transition: background-size 1s var(--ease); background-size: 100% 100%, auto; background-repeat: no-repeat, repeat; }
.g-v { font-weight: 650; font-size: 15px; white-space: nowrap; text-align: right; }
@media (max-width: 900px) {
  .fit-head .sec-title, .promise { grid-column: 1 / -1; }
}

.instrument { border: 1.5px solid var(--ink); background: var(--bone); box-shadow: 10px 10px 0 var(--ink); }
.inst-bar { display: flex; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--bone); padding: 10px 16px; }
.inst-name b { color: var(--sig); font-weight: 600; }
.inst-state { display: inline-flex; align-items: center; gap: 8px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 8px var(--sig); }
html.motion .led { animation: blink 1.6s steps(1) infinite; }
.inst-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); }
.inst-steps { border-right: 1px solid var(--ink); }
.step { border: 0; margin: 0; padding: 22px 24px 24px; border-bottom: 1px solid var(--rule-2); min-width: 0; }
.step:last-child { border-bottom: 0; }
.step legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-weight: 750; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.035em; line-height: 1.05; }
.step-n { display: block; color: var(--sig-ink); font-weight: 600; margin-bottom: 4px; }
.seg { clear: both; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1.5px solid var(--ink); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { display: grid; place-items: center; text-align: center; min-height: 54px; padding: 8px 10px; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.15; border-left: 1.5px solid var(--ink); cursor: pointer; transition: background-color .15s, color .15s; user-select: none; }
.seg label .mono { font-size: 10px; display: block; margin-top: 2px; }
.seg input:first-child + label { border-left: 0; }
.seg label:hover { background: var(--bone-2); }
.seg input:checked + label { background: var(--ink); color: var(--bone); }
.seg input:checked + label .mono { color: var(--sig); }
.seg input:focus-visible + label { outline: 2px solid var(--sig-ink); outline-offset: -6px; }
.seg label.is-empty { background-image: repeating-linear-gradient(45deg, transparent 0 6px, var(--rule) 6px 7px); }
@media (max-width: 359px) { .seg { grid-auto-flow: row; } .seg label { border-left: 0; border-top: 1.5px solid var(--ink); min-height: 48px; } .seg input:first-child + label { border-top: 0; } }

.size-row { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.size-row .icon-btn { width: 52px; height: 52px; font-size: 22px; }
.size-read { flex: 1; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.size-num { font-weight: 850; font-size: clamp(56px, 6vw, 88px); letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.size-unit { color: var(--ink-2); font-size: 12px; }
.tape { position: relative; --thumb: 16px; padding-top: 18px; }
.tape input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 48px; margin: 0; background: transparent; position: relative; z-index: 2; cursor: ew-resize; }
.tape input[type="range"]::-webkit-slider-runnable-track { height: 48px; background:
  linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat; }
.tape input[type="range"]::-moz-range-track { height: 48px; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat; }
.tape input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: 48px; background: linear-gradient(90deg, transparent 6px, var(--sig) 6px 10px, transparent 10px), linear-gradient(var(--ink), var(--ink)) 50% 0 / 16px 12px no-repeat; border: 0; }
.tape input[type="range"]::-moz-range-thumb { width: var(--thumb); height: 48px; border: 0; border-radius: 0; background: linear-gradient(90deg, transparent 6px, var(--sig) 6px 10px, transparent 10px), linear-gradient(var(--ink), var(--ink)) 50% 0 / 16px 12px no-repeat; }
.tape input[type="range"]:focus-visible { outline-offset: 4px; }
.tape-band { position: absolute; top: 18px; height: 48px; z-index: 1; left: calc(var(--thumb) / 2 + var(--b0, 0) * (100% - var(--thumb))); width: calc(var(--bw, 1) * (100% - var(--thumb))); background: repeating-linear-gradient(-45deg, var(--sig-soft) 0 5px, transparent 5px 10px); border-inline: 1.5px solid var(--sig); transition: left .35s var(--ease), width .35s var(--ease); }
.tape-band span { position: absolute; bottom: 100%; left: -1.5px; font-size: 9.5px; color: var(--sig-ink); font-weight: 600; white-space: nowrap; padding-bottom: 2px; }
.tape-scale { position: relative; height: 34px; }
.tape-scale i { position: absolute; top: 0; width: 1px; height: 6px; background: var(--ink); left: calc(var(--thumb) / 2 + var(--t) * (100% - var(--thumb))); }
.tape-scale i.maj { height: 11px; }
.tape-scale b { position: absolute; top: 14px; font-weight: 400; font-size: 9.5px; translate: -50% 0; white-space: nowrap; color: var(--ink-2); left: calc(var(--thumb) / 2 + var(--t) * (100% - var(--thumb))); }

.inst-out { padding: 24px; display: grid; gap: 16px; align-content: start; background: var(--dots) 12px 12px / 24px 24px, var(--bone); min-width: 0; }
.out-code { color: var(--ink-2); }
.out-verdict { justify-self: start; font-weight: 850; font-size: clamp(40px, 4.4vw, 72px); letter-spacing: -.055em; line-height: .9; padding: .06em .14em .1em; margin-left: -.02em; }
.inst-out[data-state="in"] .out-verdict { background: var(--sig); color: var(--ink); }
.inst-out[data-state="out"] .out-verdict { border: 2px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--bone) 0 8px, var(--bone-2) 8px 16px); }
.inst-out[data-state="none"] .out-verdict { border: 2px dashed var(--ink); }
.out-line { font-size: 17px; max-width: 44ch; text-wrap: pretty; }
.out-k { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 5px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; border: 1px solid var(--ink); padding: 4px 8px; background: var(--bone); }
html.motion .chips li { animation: fade .3s both; animation-delay: calc(var(--i) * 25ms); }
.chips .chip-none { border-style: dashed; color: var(--ink-2); }
.out-call { border-top: 1px solid var(--rule-2); padding-top: 16px; display: grid; gap: 12px; }
.out-call p { font-size: 16px; }
.out-call .btn { justify-self: start; }
@media (max-width: 1000px) {
  .inst-body { grid-template-columns: 1fr; }
  .inst-steps { border-right: 0; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 720px) {
  .instrument { box-shadow: 6px 6px 0 var(--ink); margin-right: 6px; }
  .step { padding: 18px 16px 20px; }
  .inst-out { padding: 20px 16px; }
  .inst-bar { font-size: 10px; padding: 9px 12px; }
  .out-call .btn { justify-self: stretch; }
}

/* ==========================================================================
   06 BRANDS
   ========================================================================== */
.bx-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end; border-top: 2px solid var(--ink); padding-top: 18px; }
.search { display: grid; gap: 6px; grid-column: 1 / -1; }
.search-k { color: var(--ink-2); }
.search input { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 6px 0 10px; font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -.035em; border-radius: 0; }
.search input::placeholder { color: oklch(45% 0.012 70 / .6); font-weight: 500; }
.search input:focus-visible { outline: 0; border-bottom-color: var(--sig); box-shadow: 0 2px 0 var(--sig); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.flt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; background: transparent; border: 1px solid var(--ink); font-size: 14px; font-weight: 600; transition: background-color .15s, color .15s; }
.flt .mono { color: var(--ink-2); font-size: 10.5px; }
.flt:hover { background: var(--bone-2); }
.flt[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.flt[aria-pressed="true"] .mono { color: var(--sig); }
.bx-count { color: var(--ink-2); white-space: nowrap; }
.bx-count b { color: var(--ink); font-weight: 600; }
.bx-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); margin: 22px 0 10px; }
.bx-legend b { color: var(--ink); font-weight: 600; }
.bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); column-gap: clamp(16px, 2vw, 32px); counter-reset: none; }
.bx-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--rule-2); }
.bx-row[hidden] { display: none; }
.bx-n { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-2); }
.bx-name { font-weight: 650; font-size: 16px; letter-spacing: -.015em; line-height: 1.2; }
.bx-name mark { background: var(--sig); color: var(--ink); }
.bx-cells { display: flex; gap: 2px; }
.bx-cells i { display: grid; place-items: center; min-width: 20px; height: 18px; padding: 0 3px; font-style: normal; font-family: var(--f-mono); font-size: 9px; border: 1px solid var(--rule-2); color: oklch(45% 0.012 70 / .5); }
.bx-cells i.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.bx-cells i.on.csa { background: var(--sig); color: var(--ink); border-color: var(--sig); }
.bx-empty { padding: 28px 0; font-size: 18px; border-top: 1px solid var(--rule-2); }
@media (max-width: 720px) {
  .bx-tools { grid-template-columns: 1fr; }
  .flt { min-height: 38px; padding: 0 10px; font-size: 13px; }
}

/* ==========================================================================
   07 STORY
   ========================================================================== */
.story-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .12em; grid-column: 1 / -1; font-size: clamp(64px, 15vw, 240px); letter-spacing: -.065em; line-height: .82; }
.story-title .arrow { color: var(--sig); font-weight: 500; font-size: .6em; }
.timeline { position: relative; height: 150px; margin: 0 0 28px; border-bottom: 2px solid var(--ink); }
.tl-tick, .tl-mark { font-style: normal; }
.tl-tick { position: absolute; bottom: 0; width: 1px; height: 8px; background: var(--rule-2); }
.tl-tick.dec { height: 22px; background: var(--ink); }
.tl-lab:first-of-type { translate: 0 0 !important; }
.tl-lab { position: absolute; bottom: 28px; translate: -50% 0; font-family: var(--f-mono); font-size: 10px; color: var(--ink-2); }
.tl-mark { position: absolute; bottom: -7px; width: 12px; height: 12px; translate: -50% 0; background: var(--ink); }
.tl-mark.sig { background: var(--sig); }
.tl-mark::after { content: attr(data-label); position: absolute; bottom: 100%; left: 50%; translate: -50% -94px; font-family: var(--f-mono); font-size: 10.5px; white-space: nowrap; color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.tl-mark::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1px; height: 90px; background: var(--ink); }
.tl-mark.end::after { translate: -100% -94px; left: 100%; }
.tl-mark.start::after { translate: 0 -94px; left: 0; }
.tl-span { position: absolute; bottom: 50px; height: 14px; border: 1.5px solid var(--sig); border-bottom: 0; }
.tl-span::before { content: ""; position: absolute; right: 100%; top: -1.5px; width: 48px; border-top: 1.5px dashed var(--sig); }
.tl-span span { position: absolute; bottom: 100%; left: 0; padding-bottom: 3px; font-family: var(--f-mono); font-size: 10px; color: var(--sig-ink); font-weight: 600; white-space: nowrap; letter-spacing: .04em; }
html.motion.ready .timeline:not(.in) .tl-mark, html.motion.ready .timeline:not(.in) .tl-span { opacity: 0; }
html.motion.ready .timeline .tl-mark, html.motion.ready .timeline .tl-span { transition: opacity .5s var(--ease); transition-delay: calc(var(--d, 0) * 120ms + 200ms); }
@media (max-width: 720px) {
  .timeline { height: 150px; }
  .tl-lab:nth-of-type(even) { display: none; }
  .tl-mark::after { font-size: 9.5px; content: attr(data-short); }
  .ro-v { font-size: 29vw; }
  .tl-span span { font-size: 9px; }
}

.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(56px, 7vw, 110px); }
.ev { padding: 16px 20px 8px 16px; border-left: 1px solid var(--rule-2); display: grid; gap: 8px; align-content: start; }
.ev:first-child { border-left: 2px solid var(--sig); }
.ev-now { border-left: 2px solid var(--ink); }
.ev-t { color: var(--sig-ink); font-weight: 600; }
.ev-h { font-weight: 800; font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.04em; line-height: 1; }
.ev p:last-child { font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) { .events { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
@media (max-width: 520px) { .events { grid-template-columns: 1fr; } }

.story-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.store-photo { display: grid; gap: 10px; }
.sp-frame { position: relative; margin: 16px; }
.sp-frame img { width: 100%; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.sp-frame::after { content: ""; position: absolute; inset: 0; background: var(--dots) 0 0 / 5px 5px; mix-blend-mode: multiply; opacity: .7; pointer-events: none; }
.store-photo figcaption { color: var(--ink-2); padding-left: 16px; }
.story-big { font-weight: 800; font-size: clamp(30px, 3.8vw, 60px); letter-spacing: -.045em; line-height: .98; text-wrap: balance; margin-bottom: 18px; }
.story-copy > p:last-child { font-size: 18px; max-width: 46ch; color: var(--ink-2); }
@media (max-width: 900px) { .story-foot { grid-template-columns: 1fr; } }

/* ==========================================================================
   08 VISIT
   ========================================================================== */
.visit .sec-head { margin-bottom: 12px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); }
.readout { display: grid; align-content: start; }
.ro-k { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.ro-k::before { content: ""; width: 12px; height: 12px; background: var(--ink-2); }
.readout[data-open="true"] .ro-k::before { background: var(--sig); box-shadow: 0 0 0 4px var(--sig-soft); }
html.motion .readout[data-open="true"] .ro-k::before { animation: blink 1.6s steps(1) infinite; }
.ro-v { font-weight: 850; font-size: clamp(88px, 15vw, 250px); letter-spacing: -.07em; line-height: .8; margin: 10px 0 14px -.05em; text-transform: uppercase; }
.readout[data-open="false"] .ro-v { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.ro-d { font-size: clamp(13px, 1.2vw, 16px); font-weight: 600; }
.ro-clock { margin-top: 6px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.visit-info { display: grid; gap: 24px; align-content: start; }
.kv { border-top: 2px solid var(--ink); }
.kv > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.kv dt { color: var(--ink-2); padding-top: 3px; }
.kv dd { font-size: 18px; font-weight: 600; }
.kv dd.mono { font-size: 12px; font-weight: 500; padding-top: 3px; }
.kv a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.visit-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.readout { grid-column: 1; grid-row: 1; }
.visit-info { grid-column: 1; grid-row: 2; }
.hours { grid-column: 2; grid-row: 1 / span 2; }
.hours-table { width: 100%; border-top: 2px solid var(--ink); }
.hours-table caption { text-align: left; color: var(--ink-2); padding-bottom: 8px; }
.hours-table th, .hours-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--rule-2); }
.hours-table thead th { font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); padding-block: 8px; }
.hours-table tbody th { font-weight: 650; font-size: 17px; }
.hours-table td { font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.hours-table td:last-child, .hours-table th:last-child { text-align: right; }
.hours-table tr.today { background: var(--ink); color: var(--bone); }
.hours-table tr.today th::after { content: "TODAY"; margin-left: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; background: var(--sig); color: var(--ink); padding: 2px 6px; vertical-align: 2px; }
.locator { grid-column: 1 / -1; grid-row: 3; position: relative; display: block; min-height: 240px; border: 1.5px solid var(--ink); overflow: hidden; text-decoration: none; background: var(--bone-2); }
.loc-grid { position: absolute; inset: 0; background:
  linear-gradient(var(--rule-2) 1px, transparent 1px) 0 0 / 60px 60px,
  linear-gradient(90deg, var(--rule-2) 1px, transparent 1px) 0 0 / 60px 60px,
  var(--dots) 0 0 / 12px 12px; }
.loc-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 14px; translate: 0 -50%; background: var(--bone); border-block: 1px solid var(--ink); }
.loc-grid::after { content: "MAIN STREET"; position: absolute; left: 24px; top: 50%; translate: 0 -50%; font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em; color: var(--ink-2); }
.loc-x { position: absolute; inset: 0; background: linear-gradient(var(--sig), var(--sig)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--sig), var(--sig)) 0 calc(50% - 22px) / 100% 1px no-repeat; }
.loc-pin { position: absolute; left: 50%; top: calc(50% - 22px); width: 18px; height: 18px; translate: -50% -50%; background: var(--sig); outline: 1.5px solid var(--ink); outline-offset: 6px; transition: outline-offset .3s var(--ease); }
.locator:hover .loc-pin { outline-offset: 12px; }
.loc-label { position: absolute; left: calc(50% + 24px); top: calc(50% - 72px); background: var(--ink); color: var(--bone); padding: 5px 8px; font-size: 10px; }
.loc-cta { position: absolute; right: 12px; bottom: 10px; font-weight: 600; background: var(--bone); padding: 4px 6px; border: 1px solid var(--ink); }
@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .readout, .visit-info, .hours, .locator { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  .kv > div { grid-template-columns: 84px 1fr; }
  .visit-ctas .btn { flex: 1 1 100%; }
  .loc-label { left: 16px; }
}

/* ==========================================================================
   09 FOOTER
   ========================================================================== */
.foot { background: var(--ink); color: var(--bone); padding: clamp(40px, 5vw, 72px) var(--pad) 24px; container-type: inline-size; overflow: hidden; }
.foot-mark { font-weight: 900; font-size: 22.4cqi; letter-spacing: -.07em; line-height: .78; margin: 0 0 clamp(32px, 5vw, 64px) -.05em; white-space: nowrap; color: var(--bone); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 28px; border-top: 1px solid oklch(95% 0.01 85 / .25); padding-top: 22px; }
.foot-name { font-weight: 800; font-size: 26px; letter-spacing: -.04em; }
.foot-tag { color: oklch(95% 0.01 85 / .7); margin-top: 6px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.foot-nav a, .foot-contact a { text-decoration: none; font-weight: 550; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--sig); }
.foot-contact { display: grid; gap: 10px; font-size: 16px; }
.foot-contact a { font-size: 22px; font-weight: 750; letter-spacing: -.03em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 14px; border-top: 1px solid oklch(95% 0.01 85 / .25); color: oklch(95% 0.01 85 / .75); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--sig); }
.foot-base p:first-child { color: var(--bone); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reduced motion: everything static, visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
