/* ==========================================================================
   GripSockStudio — Atelier Design System
   Editorial serif (Instrument Serif) × Swiss grotesk (Instrument Sans)
   × technical mono (IBM Plex Mono). Linen light / obsidian dark pacing.
   ========================================================================== */

:root {
  --bone: #f2ede4;
  --paper: #f8f5ef;
  --linen: #e8e0d3;
  --sand: #d9cdb9;
  --ink: #191714;
  --ink-2: #2c2823;
  --obsidian: #12110f;
  --obsidian-2: #1b1916;
  --muted: #6b6358;
  --muted-2: #8a8276;
  --hair: rgba(25, 23, 20, 0.14);
  --hair-2: rgba(25, 23, 20, 0.32);
  --sage: #8c9a82;
  --sage-deep: #4f5d49;
  --clay: #a8714f;
  --on-dark: #ede7dc;
  --on-dark-2: rgba(237, 231, 220, 0.62);
  --hair-dark: rgba(237, 231, 220, 0.14);
  --hair-dark-2: rgba(237, 231, 220, 0.32);

  --serif: "Instrument Serif", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --sec-y: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --hdr-h: 72px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .09 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --linen-weave: repeating-linear-gradient(0deg, rgba(25,23,20,.018) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(25,23,20,.014) 0 1px, transparent 1px 4px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 24px); }
body {
  margin: 0;
  background-color: var(--bone);
  background-image: var(--linen-weave);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body { position: relative; }
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px;
  opacity: 0.16;
  mix-blend-mode: multiply;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.serif { font-family: var(--serif); font-weight: 400; }
.it, em { font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--bone); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- Typography ---------- */
.display, h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.018em; }
h1.display-xl, .display-xl {
  font-size: clamp(52px, 9.4vw, 152px);
  line-height: 0.86;
  letter-spacing: -0.03em;
}
h2, .display { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.96; }
.display em, h1 em, h2 em { font-style: italic; letter-spacing: -0.01em; }
h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.kicker > span:first-child { color: var(--ink); white-space: nowrap; }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: 0.5; }
.kicker--plain::after { display: none; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hdr-h);
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.hdr.is-scrolled { border-bottom-color: var(--hair); background: color-mix(in srgb, var(--bone) 92%, transparent); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-family: var(--serif); font-size: 26px; line-height: 1; letter-spacing: -0.01em; }
.brand__word em { font-style: italic; color: var(--sage-deep); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  padding: 6px 0;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__idx { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--bg);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sage-deep);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--sage-deep); }
.btn .arr { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--hair-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bone); border-color: var(--ink); }
.btn--light { --bg: var(--on-dark); --fg: var(--obsidian); }
.btn--light::before { background: var(--sage); }
.btn--light:hover { color: var(--obsidian); border-color: var(--sage); }
.btn--block { width: 100%; }
.link-u {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.5s var(--ease);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }
.prose a, .inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; color: var(--sage-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 4vw, 56px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  min-height: min(calc(100svh - var(--hdr-h) - 34px - 120px), 760px);
  align-items: stretch;
}
.hero__copy { position: relative; z-index: 4; display: flex; flex-direction: column; padding-bottom: 40px; padding-right: clamp(0px, 2vw, 32px); }
.hero__copy .kicker { margin-bottom: clamp(24px, 3.4vw, 44px); }
.hero .hero__h { position: relative; z-index: 4; }
.hero .hero__h .l { display: block; white-space: nowrap; }
.hero .hero__h .l--in { padding-left: 1.15em; }
.hero .hero__h .l--over { padding-left: 0.55em; }
.hero .hero__h .l--small {
  font-family: var(--sans); font-size: clamp(14px, 1.15vw, 16.5px); font-weight: 500; letter-spacing: 0.005em; line-height: 1.4;
  white-space: normal; max-width: 25em; color: var(--ink-2);
  display: flex; gap: 14px; align-items: baseline; margin-bottom: clamp(18px, 2.4vw, 34px);
}
.hero .hero__h .l--small::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--ink); transform: translateY(-4px); }
.hero__lead { margin-top: clamp(24px, 3vw, 40px); max-width: 27em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__sig { margin-top: auto; padding-top: 36px; display: flex; gap: 22px; align-items: center; color: var(--muted); }
.hero__sig .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(140,154,130,.22); animation: pulse 2.6s var(--ease-io) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(140,154,130,0); } }

.hero__media {
  position: relative;
  z-index: 1;
  margin-right: calc(-1 * ((100vw - min(100vw, var(--maxw))) / 2 + var(--gutter)));
  min-height: 560px;
}
.frame { position: absolute; inset: 0; overflow: hidden; background: var(--linen); }
.frame__canvas {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  aspect-ratio: 1376 / 768;
  height: 100%;
  transform: translate3d(-63%, var(--py, 0px), 0) scale(1.04);
  will-change: transform;
}
.frame__canvas img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 2.2s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.08); filter: saturate(0.7) brightness(1.06); } to { transform: none; filter: none; } }
.frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,17,15,0) 55%, rgba(18,17,15,.38) 100%), linear-gradient(90deg, rgba(242,237,228,.28), rgba(242,237,228,0) 22%);
  pointer-events: none;
}
.pin { position: absolute; z-index: 2; width: 0; height: 0; }
.pin__dot {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.9);
  display: grid; place-items: center;
}
.pin__dot::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.pin__dot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.pin__label {
  position: absolute; left: 26px; top: -58px;
  display: flex; flex-direction: column; gap: 3px;
  padding: 9px 12px 10px;
  background: rgba(18,17,15,.58);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  color: rgba(255,255,255,.78); white-space: nowrap; font-size: 12px;
}
.pin__label::before { content: ""; position: absolute; left: -26px; top: 58px; width: 26px; height: 1px; background: rgba(255,255,255,.8); transform-origin: left; transform: rotate(-38deg) scaleX(1.25); }
.pin__label b { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1; letter-spacing: 0; text-transform: none; font-style: italic; }
.pin--b .pin__label { left: auto; right: 26px; top: -96px; text-align: right; }
.pin--b .pin__label::before { left: auto; right: -26px; top: 96px; transform-origin: right; transform: rotate(38deg) scaleX(1.25); }
.frame__cap { position: absolute; z-index: 2; left: 24px; top: 22px; color: rgba(25,23,20,.72); display: flex; gap: 18px; }
.frame__foot { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.86); }
.ledger-card {
  position: absolute; z-index: 3;
  left: calc(-1 * clamp(24px, 4vw, 64px)); bottom: 56px;
  width: 288px;
  background: var(--obsidian);
  color: var(--on-dark);
  padding: 22px 22px 20px;
  box-shadow: 0 40px 80px -30px rgba(18,17,15,.6);
}
.ledger-card .mono { color: var(--on-dark-2); }
.ledger-card__row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair-dark); }
.ledger-card__row:last-of-type { border-bottom: 0; }
.ledger-card__row .num { font-size: 30px; line-height: 1; }
.ledger-card__row .num em { color: var(--sage); }
.ledger-card__bar { height: 4px; background: var(--hair-dark); margin-top: 12px; position: relative; overflow: hidden; }
.ledger-card__bar i { position: absolute; inset: 0 auto 0 0; width: 89%; background: var(--sage); transform-origin: left; animation: grow 1.8s 0.6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0.05); } }

/* Spec rail */
.rail { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); }
.rail__item { padding: 18px 24px 22px 0; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--hair); }
.rail__item + .rail__item { padding-left: 24px; }
.rail__item:last-child { border-right: 0; }
.rail__item .mono { color: var(--muted); }
.rail__item .num { font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.rail__item .num small { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: var(--sec-y); }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.sec--paper { background: var(--paper); }
.sec--linen { background: var(--linen); background-image: var(--linen-weave); }
.sec--dark { background: var(--obsidian); color: var(--on-dark); }
.sec--dark .lead, .sec--dark .muted { color: var(--on-dark-2); }
.sec--dark .kicker { color: var(--on-dark-2); }
.sec--dark .kicker > span:first-child { color: var(--on-dark); }
.sec--dark ::selection { background: var(--on-dark); color: var(--obsidian); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .kicker { grid-column: 1 / -1; }
.sec-head__aside { color: var(--muted); max-width: 30em; font-size: 16.5px; }
.sec--dark .sec-head__aside { color: var(--on-dark-2); }
.sec-head--stack { grid-template-columns: 1fr; }
.rule { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* Manifesto */
.manifesto { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.manifesto__side { display: flex; flex-direction: column; gap: 14px; color: var(--muted); padding-top: 14px; }
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(32px, 3.9vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.014em;
  text-wrap: balance;
}
.manifesto__text em { color: var(--sage-deep); }
.manifesto__text .strike { position: relative; color: var(--muted-2); }
.manifesto__text .strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: 1.5px; background: var(--clay); transform-origin: left; }
.manifesto__text .chip {
  display: inline-block; vertical-align: middle;
  width: 1.6em; height: 0.8em; border-radius: 999px; margin: 0 0.08em;
  background: url("/_a/photo-hero-editorial.7a090c19e6.jpg") 72% 54% / 520% auto;
}

/* ---------- Ledger table ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: 15px; }
.ledger caption { text-align: left; padding-bottom: 16px; color: var(--muted); }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--hair); }
.ledger thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding-top: 0; }
.ledger tbody th { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; width: 24%; }
.ledger td { color: var(--ink-2); }
.ledger .is-us { background: linear-gradient(90deg, rgba(140,154,130,.16), rgba(140,154,130,.08)); padding-left: 18px; color: var(--ink); }
.ledger thead .is-us { background: var(--ink); color: var(--bone); padding-top: 14px; padding-left: 18px; border-bottom-color: var(--ink); }
.ledger .is-us strong { font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.table-scroll .ledger { min-width: 860px; }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.est__controls { display: flex; flex-direction: column; }
.est__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--hair); align-items: start; }
.est__row:last-child { border-bottom: 1px solid var(--hair); }
.est__row > .mono { color: var(--muted); padding-top: 10px; }
.est__row > .mono span { color: var(--ink); margin-right: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  padding: 9px 15px; border: 1px solid var(--hair-2); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn.active, .chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip-btn small { font-family: var(--mono); font-size: 12px; opacity: 0.65; margin-left: 6px; }
.slider { --p: 43%; width: 100%; }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.slider__val { font-family: var(--serif); font-size: 40px; line-height: 1; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p), var(--hair-2) var(--p)); }
.range::-moz-range-track { height: 2px; background: var(--hair-2); }
.range::-moz-range-progress { height: 2px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--bone); border: 1.5px solid var(--ink); box-shadow: 0 4px 14px rgba(25,23,20,.2); transition: transform .3s var(--ease); }
.range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--bone); border: 1.5px solid var(--ink); }
.slider__ticks { display: flex; justify-content: space-between; color: var(--muted-2); margin-top: 4px; }

.receipt {
  position: sticky; top: calc(var(--hdr-h) + 24px);
  background: var(--obsidian); color: var(--on-dark);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: inset 0 0 0 1px var(--hair-dark), 0 50px 100px -50px rgba(18,17,15,.6);
}
.receipt::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--obsidian) 6.5px) 0 0 / 14px 10px repeat-x; }
.receipt .mono { color: var(--on-dark-2); }
.receipt__head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px dashed var(--hair-dark-2); }
.receipt__unit { padding: 26px 0 22px; border-bottom: 1px solid var(--hair-dark); }
.receipt__unit .big { display: flex; align-items: flex-start; gap: 4px; font-family: var(--serif); font-size: clamp(76px, 8vw, 118px); line-height: 0.86; letter-spacing: -0.03em; margin: 10px 0 10px; }
.receipt__unit .big sup { font-size: 0.36em; line-height: 1; margin-top: 0.12em; color: var(--on-dark-2); }
.receipt__unit .range-txt { color: var(--on-dark-2); }
.anatomy { margin: 20px 0 6px; }
.anatomy__bar { display: flex; height: 10px; gap: 2px; }
.anatomy__bar i { display: block; height: 100%; transition: flex-grow 0.8s var(--ease); min-width: 2px; }
.anatomy__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-2); }
.anatomy__legend span { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.anatomy__legend span::before { content: ""; width: 8px; height: 8px; background: var(--c); flex: none; }
.anatomy__legend span em { margin-right: auto; font-style: normal; }
.receipt__rows { padding: 8px 0; }
.receipt__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair-dark); }
.receipt__row:last-child { border-bottom: 0; }
.receipt__row span:first-child { color: var(--on-dark-2); font-size: 14px; }
.receipt__row strong { font-weight: 500; font-size: 15px; text-align: right; }
.margin { margin: 14px 0 24px; padding: 20px; background: rgba(140,154,130,.12); border: 1px solid rgba(140,154,130,.35); }
.margin__top { display: flex; justify-content: space-between; align-items: baseline; }
.margin__pct { font-family: var(--serif); font-size: 64px; line-height: 0.9; color: var(--on-dark); }
.margin__pct small { font-size: 0.45em; }
.margin__profit { text-align: right; }
.margin__profit strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.margin__bar { position: relative; height: 3px; margin-top: 16px; background: var(--hair-dark-2); }
.margin__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--m, 74%); background: var(--sage); transition: width 0.8s var(--ease); }
.receipt__note { margin-top: 14px; font-size: 12.5px; color: var(--on-dark-2); line-height: 1.55; }

/* ---------- Palette chips ---------- */
.palette { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.chipcard { display: flex; flex-direction: column; text-align: left; background: var(--paper); border: 1px solid var(--hair); padding: 8px 8px 12px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.chipcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(25,23,20,.5); }
.chipcard__c { aspect-ratio: 1 / 1.15; background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, rgba(255,255,255,.05) 2px 5px), var(--c); position: relative; }
.chipcard__c::after { content: "✓"; position: absolute; right: 8px; top: 6px; font-size: 13px; color: var(--chk, var(--ink)); opacity: 0; transition: opacity .3s; }
.chipcard.active .chipcard__c::after { opacity: 1; }
.chipcard.active { border-color: var(--ink); }
.chipcard b { font-family: var(--serif); font-weight: 400; font-size: 19px; margin-top: 10px; line-height: 1.1; }
.chipcard .mono { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- Plates (craft) ---------- */
.plates { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 40px); }
.plate { background: var(--paper); border: 1px solid var(--hair); display: flex; flex-direction: column; }
.plate__fig { position: relative; border-bottom: 1px solid var(--hair); background: var(--bone); background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.plate__fig img { width: 100%; }
.plate__fig .mono { position: absolute; left: 16px; top: 14px; color: var(--muted); }
.plate__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plate__body p { color: var(--ink-2); }
.plate__body .link-u { margin-top: auto; align-self: flex-start; }
.plate--photo .plate__fig { aspect-ratio: 4 / 3.1; overflow: hidden; background: none; }
.plate--photo .plate__fig img { height: 100%; object-fit: cover; object-position: 88% 40%; }

/* ---------- Spec sheet ---------- */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-dark-2); }
.spec { padding: 28px 24px 34px 0; border-right: 1px solid var(--hair-dark); display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.spec + .spec { padding-left: 24px; }
.spec:last-child { border-right: 0; }
.spec .mono { color: var(--on-dark-2); }
.spec h3 { font-size: clamp(30px, 2.8vw, 44px); }
.spec p { color: var(--on-dark-2); font-size: 15px; margin-top: auto; }
.spec a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 8px; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--hair-2); }
.step { position: relative; padding: 40px 32px 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bone); border: 1px solid var(--ink); }
.step:first-child::before { background: var(--ink); }
.step .mono { color: var(--muted); }
.step h3 { margin: 10px 0 12px; }
.step p { color: var(--ink-2); font-size: 15.5px; max-width: 26em; }

/* ---------- RFQ ---------- */
.rfq { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rfq__intro .lead { margin-top: 24px; }
.rfq__steps { margin-top: 36px; border-top: 1px solid var(--hair); }
.rfq__steps li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.rfq__steps li .mono { color: var(--ink); padding-top: 3px; }
.rfq__mail { margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.form { background: var(--paper); border: 1px solid var(--hair); padding: clamp(24px, 3.4vw, 48px); position: relative; }
.form__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--ink); }
.form__head h3 { font-size: 30px; }
.form__head .mono { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { display: flex; flex-direction: column; padding-top: 20px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--hair-2); background: transparent;
  padding: 10px 0 11px; font-size: 16px; color: var(--ink); border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23191714' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input[type="file"] { font-size: 13.5px; padding: 12px 0; }
.field input[type="file"]::file-selector-button { font: 500 12px var(--sans); padding: 8px 14px; margin-right: 14px; border-radius: 999px; border: 1px solid var(--hair-2); background: var(--bone); cursor: pointer; }
.form .btn--block { margin-top: 30px; min-height: 58px; font-size: 15px; }
.form__fine { margin-top: 14px; color: var(--muted); font-size: 12.5px; text-align: center; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; font-size: 14px; border-left: 2px solid var(--sage-deep); background: rgba(140,154,130,.14); }
.form-status.show { display: block; }
.form-status.error { border-left-color: var(--clay); background: rgba(168,113,79,.12); }
.build { display: none; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; margin-top: 18px; background: var(--obsidian); color: var(--on-dark); }
.build.show { display: grid; animation: buildIn 0.8s var(--ease); }
@keyframes buildIn { from { transform: translateY(8px); } }
.build__thumb { width: 96px; height: 96px; background: radial-gradient(circle at 45% 40%, #3b342c, #161411); }
.build__thumb svg { width: 100%; height: 100%; }
.build .mono { color: var(--sage); }
.build p { font-size: 13.5px; color: var(--on-dark-2); margin-top: 4px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr 32px; gap: 16px; align-items: baseline;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--muted); }
.faq summary i { position: relative; width: 18px; height: 18px; justify-self: end; align-self: center; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform 0.5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 48px 28px 80px; color: var(--ink-2); max-width: 52em; }

/* ---------- Page hero (subpages) ---------- */
.phero { padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 104px); }
.crumbs { display: flex; gap: 10px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.crumbs a { color: var(--ink); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.phero h1 { font-size: clamp(46px, 6.4vw, 104px); line-height: 0.92; letter-spacing: -0.026em; }
.phero h1 em { color: var(--sage-deep); }
.phero__side { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.phero__side .lead { font-size: 18px; }
.phero__media { margin-top: clamp(40px, 5vw, 72px); position: relative; height: clamp(300px, 42vw, 560px); overflow: hidden; background: var(--linen); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; color: rgba(255,255,255,.9); }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(18,17,15,.55)); pointer-events: none; }
.phero__media figcaption { z-index: 1; }
.phero__media--plate { background: var(--paper); border: 1px solid var(--hair); background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 40px 40px; }
.phero__media--plate img { object-fit: contain; padding: 24px; }
.phero__media--plate::after { display: none; }
.phero__media--plate figcaption { color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__fig { background: var(--paper); border: 1px solid var(--hair); }
.marks { margin-top: 28px; border-top: 1px solid var(--hair); }
.marks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); font-size: 15.5px; }
.marks li > .mono { color: var(--muted); padding-top: 3px; }
.marks li strong { color: var(--ink); font-weight: 600; }
.sec--dark .marks, .sec--dark .marks li { border-color: var(--hair-dark); color: var(--on-dark-2); }
.sec--dark .marks li strong { color: var(--on-dark); }

/* Cards grid (venues, styles) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 32px 32px 36px 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 14px; }
.cards--2 .card:nth-child(2n) { padding-left: 32px; border-right: 0; }
.cards:not(.cards--2) .card + .card { padding-left: 32px; }
.cards:not(.cards--2) .card:last-child { border-right: 0; }
.card .mono { color: var(--muted); }
.card h3 { font-size: clamp(28px, 2.6vw, 38px); }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .marks { margin-top: 8px; }
.card__fig { height: 170px; color: var(--ink); margin-bottom: 6px; }
.card__fig svg { height: 100%; width: auto; overflow: visible; }
.card__meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--hair-2); color: var(--ink); }

/* Tier table cells */
.tier-num { font-family: var(--serif); font-size: 26px; line-height: 1; }

/* Prose (guide) */
.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 32px); border-top: 1px solid var(--ink); }
.toc p { padding: 14px 0 10px; color: var(--muted); }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-2); transition: color .3s; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active .mono { color: var(--sage-deep); }
.toc a .mono { color: var(--muted); padding-top: 2px; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.72; color: var(--ink-2); }
.prose h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; color: var(--ink); margin: 88px 0 24px; padding-top: 24px; border-top: 1px solid var(--hair); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .mono { font-size: 12px; color: var(--muted); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 18px; }
.prose ul { margin-top: 18px; border-top: 1px solid var(--hair); }
.prose li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--hair); font-size: 17px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 12px; height: 1px; background: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .dropcap::first-letter { float: left; font-family: var(--serif); font-size: 5.2em; line-height: 0.82; padding: 6px 14px 0 0; color: var(--ink); }
.pull { margin: 48px 0; padding: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.12; color: var(--ink); }
.pull em { color: var(--sage-deep); }
.pull cite { display: block; margin-top: 16px; font-style: normal; }
.figure-math { margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.figure-math div { padding: 18px 16px 18px 0; border-right: 1px solid var(--hair); }
.figure-math div + div { padding-left: 16px; }
.figure-math div:last-child { border-right: 0; }
.figure-math .num { font-size: 44px; line-height: 1; display: block; margin-top: 8px; color: var(--ink); }
.figure-math .mono { color: var(--muted); }
.cta-band { margin-top: 72px; padding: clamp(28px, 4vw, 48px); background: var(--obsidian); color: var(--on-dark); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.cta-band h3 { font-size: clamp(30px, 3vw, 44px); color: var(--on-dark); }
.cta-band p { color: var(--on-dark-2); margin-top: 12px; font-size: 16px; }

/* Size code diagram */
.sizecode { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--hair-dark-2); }
.sizecode div { padding: 22px 16px 24px 0; border-right: 1px solid var(--hair-dark); }
.sizecode div + div { padding-left: 16px; }
.sizecode div:last-child { border-right: 0; }
.sizecode i { display: block; height: 56px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 2px, transparent 2px 5px), var(--c); margin-bottom: 14px; }
.sizecode b { font-family: var(--serif); font-weight: 400; font-size: 30px; display: block; line-height: 1; }
.sizecode .mono { color: var(--on-dark-2); margin-top: 8px; display: block; }

/* ---------- Footer ---------- */
.ftr { background: var(--obsidian); color: var(--on-dark); padding-top: clamp(72px, 9vw, 136px); overflow: hidden; position: relative; }
.ftr__cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 32px; align-items: end; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--hair-dark); }
.ftr__cta p.display { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.92; }
.ftr__cta p.display em { color: var(--sage); }
.ftr__cta-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; color: var(--on-dark-2); }
.ftr__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0; }
.ftr__cols h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 18px; }
.ftr__cols li + li { margin-top: 10px; }
.ftr__cols a { font-size: 15px; color: var(--on-dark); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.ftr__cols a:hover { background-size: 100% 1px; }
.ftr__about { color: var(--on-dark-2); font-size: 15px; max-width: 26em; }
.ftr__cols li.mono { color: var(--on-dark-2); }
.ftr__mark {
  font-family: var(--serif); font-size: clamp(52px, 17.8vw, 248px); line-height: 0.8; letter-spacing: -0.045em;
  white-space: nowrap; color: var(--on-dark-2);
  margin-bottom: -0.12em; user-select: none;
}
.ftr__mark em { font-style: italic; }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--hair-dark); color: var(--on-dark-2); position: relative; z-index: 1; background: var(--obsidian); }

/* ---------- Motion: transform-only reveal (never hides content) ---------- */
.rv { transition: transform 1.2s var(--ease); }
.js .rv.is-pre { transform: translate3d(0, 36px, 0); }
.js .rv.is-pre.is-in { transform: none; }
.lines-rule { transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .rv.is-pre { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav ul { gap: 18px; }
  .nav ul a { font-size: 13px; }
  .hdr__meta { display: none; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  :root { --hdr-h: 64px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: calc(var(--hdr-h) + 34px) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px var(--gutter) 32px;
    background: var(--bone);
    background-image: var(--linen-weave);
    transform: translateY(-8px); visibility: hidden; opacity: 0;
    transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .6s;
    overflow-y: auto;
  }
  .nav.open { transform: none; visibility: visible; opacity: 1; transition: opacity .45s var(--ease), transform .6s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--ink); }
  .nav ul a { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--hair); font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.05; }
  .nav ul a::after { display: none; }
  .nav__idx { display: inline; font-family: var(--mono); font-size: 12px; color: var(--muted); }
  .nav .btn { margin-top: 28px; min-height: 56px; }
  body.nav-open { overflow: hidden; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero .hero__h { width: auto; }
  .hero__media { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); height: 68vw; min-height: 380px; max-height: 620px; }
  .hero__sig { display: none; }
  .ledger-card { left: var(--gutter); bottom: -48px; width: 280px; }
  .rail { margin-top: 88px; grid-template-columns: repeat(2, 1fr); }
  .rail__item:nth-child(2) { border-right: 0; }
  .rail__item:nth-child(3) { padding-left: 0; }
  .rail__item:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .atelier__grid, .est, .rfq, .split, .plates, .phero__grid, .guide { grid-template-columns: minmax(0, 1fr); }
  .receipt { position: relative; top: 0; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .manifesto { grid-template-columns: minmax(0, 1fr); }
  .manifesto__side { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; padding-top: 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(3) { padding-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--hair-dark); }
  .palette { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .toc { position: relative; top: 0; }
  .cards { grid-template-columns: 1fr; }
  .cards .card, .cards:not(.cards--2) .card + .card, .cards--2 .card:nth-child(2n) { padding-left: 0; padding-right: 0; border-right: 0; }
  .cards--2 { grid-template-columns: 1fr; }
  .ftr__cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }

  .nav { inset: calc(var(--hdr-h) + 30px) 0 0 0; }
  .brand__word { font-size: 23px; }
  .brand__mark { width: 30px; height: 30px; }
  .hero { padding-top: 22px; }
  .hero__copy .kicker { margin-bottom: 20px; }
  .hero__copy .kicker::after { display: none; }
  h1.display-xl, .display-xl { font-size: clamp(44px, 12.6vw, 64px); line-height: 0.92; }
  .hero .hero__h .l--in { padding-left: 0.5em; }
  .hero__lead { margin-top: 18px; font-size: 17px; }
  .hero__ctas { margin-top: 22px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__copy { padding-bottom: 28px; }
  .hero__media { height: 112vw; min-height: 0; }
  .pin--cream { display: none; }
  .pin__label b { font-size: 17px; }
  .frame__cap { left: 16px; top: 14px; }
  .frame__foot { display: none; }
  .ledger-card { left: var(--gutter); width: calc(100% - 2 * var(--gutter)); bottom: -150px; padding: 16px 18px; }
  .ledger-card__row { padding: 8px 0; }
  .ledger-card__row .num { font-size: 26px; }
  .rail { margin-top: 176px; }
  .rail__item { padding: 16px 12px 18px 0; }
  .rail__item + .rail__item { padding-left: 12px; }
  .rail__item:nth-child(3) { padding-left: 0; }
  .rail__item .num { font-size: 30px; }
  .rail__item .num small { display: block; margin: 6px 0 0; font-size: 12px; }
  h2, .display { font-size: clamp(38px, 10.6vw, 52px); }
  .est__row { grid-template-columns: 1fr; gap: 12px; }
  .est__row > .mono { padding-top: 0; }
  .chip-btn { font-size: 13px; padding: 8px 12px; }
  .receipt__unit .big { font-size: 84px; }
  .margin__pct { font-size: 52px; }
  .palette { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .chipcard b { font-size: 15px; }
  .chipcard .mono { display: none; }
  .specs { grid-template-columns: 1fr; }
  .spec, .spec + .spec { padding: 24px 0; border-right: 0; min-height: 0; border-top: 1px solid var(--hair-dark); }
  .spec:first-child { border-top: 0; }
  .process { grid-template-columns: 1fr; }
  .process::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .step { padding: 0 0 36px 40px; }
  .form { padding: 22px 18px 26px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .form-grid { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 40px 1fr 24px; font-size: 22px; padding: 22px 0; }
  .faq details p { padding: 0 0 24px 56px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 44px 0; }
  .ftr__cols > div:first-child { grid-column: 1 / -1; }
  .ftr__base { flex-direction: column; gap: 6px; }
  .figure-math { grid-template-columns: 1fr; }
  .figure-math div, .figure-math div + div { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .cta-band { grid-template-columns: 1fr; }
  .sizecode { grid-template-columns: repeat(2, 1fr); }
  .sizecode div, .sizecode div + div { padding: 18px 12px 20px 0; border-right: 0; }
  .prose { font-size: 17px; }
  .prose h2 { margin-top: 64px; grid-template-columns: 1fr; gap: 8px; }
  .phero h1 { font-size: clamp(40px, 11.2vw, 58px); }
  .phero__media { height: 92vw; margin-inline: calc(-1 * var(--gutter)); }
  .phero__media--plate { height: auto; margin-inline: 0; }
  .phero__media--plate img { height: auto; padding: 36px 8px 44px; }
}

/* ==========================================================================
   v3 — Mobbin benchmark pass
   Farfetch (header restraint), lululemon / Selfridges / H&M (PDP option rows,
   outlined selectors, rectangular CTA, accordions), Apple (option cards),
   Givingli + Krea (floating canvas view switcher), Revolut (CTA that names
   the build), Face Formula (pale product tiles, uppercase micro-labels),
   Linear (highlighted comparison column).
   ========================================================================== */
:root { --sec-y: clamp(80px, 9vw, 140px); --tile: #e8e1d6; --hdr-h: 76px; }

/* Micro-labels: sans, tracked caps (Face Formula / Farfetch) */
.mono { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; font-weight: 500; }
.kicker { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.kicker::after { flex-basis: 32px; }
h2, .display { font-size: clamp(38px, 4.8vw, 72px); }
code, .code { font-family: var(--mono); }

/* Announcement bar (Selfridges / Urban Outfitters) */
.annc { background: var(--ink); color: var(--on-dark-2); font-size: 12px; letter-spacing: 0.02em; }
.annc__in { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.annc p { display: inline-flex; align-items: center; gap: 10px; }
.annc__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }
.annc a { color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }

/* Header: split navigation around a centred wordmark (Farfetch) */
.brand { flex-direction: column; gap: 3px; }
.brand__word { font-size: 28px; }
.brand__sub { font: 500 9px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.hdr__mini { display: none; }
@media (min-width: 1041px) {
  .hdr__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; }
  .nav { display: contents; }
  .nav ul { display: flex; gap: clamp(18px, 2vw, 30px); }
  .nav__l { grid-column: 1; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .nav__r { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2vw, 30px); }
  .nav ul a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
}

/* Buttons: rectangular, tracked caps (lululemon “ADD TO BAG”, H&M) */
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 600; min-height: 52px; padding: 0 28px; gap: 12px; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn--light { --bg: var(--bone); }
.link-u { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; }
.form .btn--block { font-size: 12.5px; }

/* Outlined form fields (Selfridges size selector) */
.field label { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea { border: 1px solid var(--hair-2); border-radius: 2px; padding: 13px 14px; background-color: #fff; font-size: 15.5px; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23191714' stroke-width='1.2'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(25, 23, 20, 0.07); }
.field input[type="file"] { padding: 9px 10px; }
.field input[type="file"]::file-selector-button { border-radius: 2px; }
.form { border-radius: 4px; background: var(--bone); }
.form-grid { gap: 0 20px; }
.build { background: var(--paper); color: var(--ink); border: 1px solid var(--hair); border-radius: 3px; }
.build p { color: var(--ink-2); }
.build .mono { color: var(--sage-deep); }
.build__thumb { background: var(--tile); border-radius: 2px; overflow: hidden; }
.build__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ: H&M-style accordion, sans questions */
.faq summary { font-family: var(--sans); font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; letter-spacing: -0.005em; line-height: 1.35; padding: 22px 0; grid-template-columns: 56px 1fr 24px; }
.faq details p { padding: 0 40px 24px 72px; font-size: 15.5px; line-height: 1.65; }

/* Linear-style highlighted comparison column */
.ledger thead th { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; }
.ledger tbody th { font-size: 19px; }
.ledger .is-us { background: rgba(140, 154, 130, 0.12); box-shadow: inset 1px 0 0 rgba(79, 93, 73, 0.25), inset -1px 0 0 rgba(79, 93, 73, 0.25); }
.ledger thead .is-us { background: var(--ink); border-radius: 4px 4px 0 0; }

/* ---------- The Atelier: live 3D builder in a PDP layout ---------- */
.atelier { background: var(--paper); }
.atelier__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.stage { position: sticky; top: calc(var(--hdr-h) + 16px); min-width: 0; }
.stage__canvas { position: relative; aspect-ratio: 12 / 13; background: var(--tile) center / cover no-repeat; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 1px var(--hair); }
.stage__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; outline: none; }
.stage__canvas canvas.is-dragging { cursor: grabbing; }
.stage__canvas canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.stage__top { position: absolute; left: 18px; right: 18px; top: 18px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }
.stage__live, .stage__hint { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(248, 245, 239, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.stage__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(79, 93, 73, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(79, 93, 73, 0); } }
.stage__hint svg { width: 14px; height: 14px; }
.stage__hint { transition: opacity 0.6s var(--ease); }
.stage__hint.is-gone { opacity: 0; }
.stage__views { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: rgba(248, 245, 239, 0.86); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 12px 32px -14px rgba(25, 23, 20, 0.4), 0 0 0 1px rgba(25, 23, 20, 0.06); }
.stage__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--ink); transition: transform 0.55s var(--ease); }
.stage__views[data-pos="1"] .stage__thumb { transform: translateX(100%); }
.stage__views[data-pos="2"] .stage__thumb { transform: translateX(200%); }
.stage__views button { position: relative; z-index: 1; padding: 11px 18px; font: 600 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transition: color 0.4s var(--ease); }
.stage__views button[aria-selected="true"] { color: var(--bone); }
.stage__code { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; font: 500 11px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stage__code b { font-family: var(--mono); font-weight: 500; letter-spacing: 0.04em; color: var(--ink); }

.cfg { min-width: 0; }
.cfg__head { padding-bottom: 24px; border-bottom: 1px solid var(--hair); }
.cfg__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 2.9vw, 46px); line-height: 1; letter-spacing: -0.02em; margin-top: 18px; }
.cfg__title em { color: var(--sage-deep); }
.cfg__price { margin-top: 16px; font-size: 15px; color: var(--muted); }
.cfg__price b { color: var(--ink); font-weight: 600; }
.cfg__lede { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.cfg__group { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.cfg__label { display: flex; gap: 6px; align-items: baseline; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
label.cfg__label { justify-content: space-between; }
.cfg__val { font-weight: 400; color: var(--muted); }
.cfg__input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--hair-2); border-radius: 2px; background: #fff; font: 600 15px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; }
.cfg__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(25, 23, 20, 0.07); }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 12px; align-items: center; padding: 7px 10px 7px 7px; border: 1px solid var(--hair); border-radius: 4px; background: #fff; text-align: left; transition: border-color 0.3s, box-shadow 0.3s; }
.opt__img { grid-row: 1 / span 2; position: relative; width: 60px; height: 60px; border-radius: 3px; overflow: hidden; background: var(--tile); }
.opt__img img, .opt__img canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.opt__name { align-self: end; font-size: 13.5px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.opt__meta { align-self: start; font-size: 12px; color: var(--muted); margin-top: 2px; }
.opt:hover { border-color: var(--hair-2); }
.opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt:focus-visible, .sw:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.sw { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(25, 23, 20, 0.14); }
.sw--knit { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0 1.5px, transparent 1.5px 4px), var(--c); }
.sw::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color 0.3s; }
.sw:hover::after { border-color: var(--hair-2); }
.sw[aria-checked="true"]::after { border-color: var(--ink); }
.cfg__buy { padding: 24px 0 0; }
.cfg__buy .btn { min-height: 56px; white-space: normal; text-align: center; line-height: 1.35; padding: 12px 20px; }
.cfg__fine { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); }
.cfg__fine b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.acc { margin-top: 24px; border-top: 1px solid var(--hair); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; width: 12px; height: 12px; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.2px; background: var(--ink); transition: transform 0.4s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc p { padding: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Collection: pale product tiles (Face Formula) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile__fig { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--tile); }
.tile__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile__fig:hover img { transform: scale(1.035); }
.tile__no { position: absolute; left: 14px; top: 12px; font: 500 11px/1 var(--sans); letter-spacing: 0.14em; color: var(--ink-2); }
.tile__meta { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.tile__tag { font: 500 11px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tile__name { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.04; }
.tile__name em { color: var(--sage-deep); }
.tile__body { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.tile__spec { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--muted); }
.tile__spec b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tile .link-u { align-self: flex-start; margin-top: 6px; }
.card__fig--render { display: block; height: auto; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 3px; background: var(--tile); }
.card__fig--render img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform 1.2s var(--ease); }
.card__fig--render:hover img { transform: scale(1.03); }
.phero__media--render { background: var(--tile); border-radius: 4px; }
.phero__media--render img { object-fit: cover; object-position: 50% 52%; }
.phero__media--render::after { background: linear-gradient(180deg, transparent 70%, rgba(18, 17, 15, 0.28)); }
.card__fig--render { width: 100%; }

@media (max-width: 1180px) {
  .atelier__grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); }
}
@media (max-width: 1040px) {
  :root { --hdr-h: 60px; }
  .hdr__in { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
  .burger { grid-column: 1; grid-row: 1; margin-left: -10px; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .brand__word { font-size: 24px; }
  .brand__sub { display: none; }
  .hdr__mini { display: inline-block; grid-column: 3; grid-row: 1; justify-self: end; font: 600 10.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid currentColor; }
  .nav { position: fixed; inset: auto 0 auto 0; top: var(--hdr-h); height: calc(100svh - var(--hdr-h)); }
  .nav ul + .nav__r, .nav__r ul { border-top: 0; }
  .nav__r { display: flex; flex-direction: column; }
  .atelier__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .stage { top: var(--hdr-h); z-index: 5; margin-inline: calc(-1 * var(--gutter)); background: var(--paper); padding-bottom: 8px; }
  .stage__canvas { aspect-ratio: auto; height: min(104vw, 620px); border-radius: 0; }
  .stage__code { padding-inline: var(--gutter); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 640px) {
  .annc { font-size: 12px; }
  .annc__in { min-height: 30px; gap: 10px; }
  .annc p span + * { display: none; }
  .stage__canvas { height: min(100vw, 430px); }
  .stage__top { left: 12px; right: 12px; top: 12px; }
  .stage__live, .stage__hint { padding: 7px 10px; font-size: 12px; }
  .stage__views { bottom: 12px; }
  .stage__views button { padding: 10px 12px; font-size: 12px; letter-spacing: 0.06em; }
  .stage__code span:last-child { display: none; }
  .opt { grid-template-columns: 48px minmax(0, 1fr); padding: 6px 8px 6px 6px; column-gap: 9px; }
  .opt__img { width: 48px; height: 48px; }
  .opt__name { font-size: 12.5px; }
  .opt__meta { font-size: 12px; }
  .swatches { gap: 11px; }
  .sw { width: 34px; height: 34px; }
  .tiles { gap: 32px 12px; }
  .tile__body { display: none; }
  .tile__name { font-size: 21px; }
  .tile__spec { flex-direction: column; gap: 2px; }
  .faq summary { grid-template-columns: 40px 1fr 20px; font-size: 16.5px; }
  .faq details p { padding: 0 0 22px 52px; }
}


/* ---------- a11y: footer wordmark contrast (engine check: design_contrast) ---------- */
.ftr .ftr__mark {
  color: var(--on-dark-2);
  background-color: var(--obsidian);
}


/* wordmark contrast fixed in its base rule above */


/* ---------- design_review round 2: mobile hero density + 3D stage affordance ---------- */
.stage__canvas {
  box-shadow: 0 0 0 1px var(--hair-2), 0 18px 44px -30px var(--ink);
}
.stage__hint {
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--hair-2);
  font-size: 12px;
  padding: 9px 13px;
  color: var(--ink);
}
@media (max-width: 640px) {
  .hero .display-xl,
  .hero__copy .display-xl,
  .hero .hero__h {
    font-size: clamp(36px, 10.4vw, 46px);
    line-height: 0.96;
  }
  .hero__lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero__ctas {
    margin-top: 16px;
  }
}

/* hero: H1 holds only the keyword line; tagline is a paragraph styled the same */
.hero__h { font-family: var(--serif); font-weight: 400; position: relative; z-index: 4; }
.hero__h h1, .hero__h .hero__tag { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.hero__h h1.l--small { font-size: clamp(14px, 1.15vw, 16.5px); line-height: 1.4; }
.manifesto__h { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; margin: 0; }

.nav a { white-space: nowrap; }
