/* ==========================================================================
   Formwork. Page styles. The engine (scrollcraft.css) is untouched; this file
   themes its tokens and styles Formwork's own markup.

   Identity
     Shutter   #0A0E0D  graphite, green undertone. The dark ground.
     Cast      #ECEBE6  pale concrete. The light ground.
     Laser     #1AFF8C  the accent on dark: lines, the primary action.
     Laser ink #00703F  the same hue on the light ground (AA on Cast).
     Formply   #D2561E  film-faced plywood. Formwork panels only.
   Type
     Archivo (width axis) for display and drawing labels.
     Instrument Sans for text.
   ========================================================================== */

:root {
  --shutter: #0A0E0D;
  --shutter-2: #121816;
  --cast: #ECEBE6;
  --cast-2: #F7F6F2;
  --laser: #1AFF8C;
  --laser-ink: #00703F;
  --laser-cut: #00B862;
  --formply: #D2561E;
  --formply-2: #A8411A;
  --concrete: #C7C4BC;

  --sc-canvas: var(--shutter);
  --sc-surface: var(--shutter-2);
  --sc-ink: #EEF2EF;
  --sc-ink-soft: #9AA7A1;
  --sc-accent: var(--laser);
  --sc-accent-ink: #0B110E;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Instrument Sans", system-ui, sans-serif;
  --sc-shadow-color: 150 20% 3%;
  --sc-r: 4px;
  --tb-h: 52px;
}

/* Grounds. Every token restated with `color`, because inherited colour resolves
   on the element that set it, not on the one that redefines the token. */
.g-dark {
  --sc-canvas: var(--shutter); --sc-surface: var(--shutter-2);
  --sc-ink: #EEF2EF; --sc-ink-soft: #9AA7A1;
  --sc-accent: var(--laser); --sc-accent-ink: #0B110E;
  --sc-hairline: rgb(236 239 234 / 0.12); --sc-hairline-strong: rgb(236 239 234 / 0.24);
  --line: var(--laser);
  background: var(--shutter); color: var(--sc-ink);
}
.g-cast {
  --sc-canvas: var(--cast); --sc-surface: var(--cast-2);
  --sc-ink: #0B0F0E; --sc-ink-soft: #454D49;
  --sc-accent: var(--laser-ink); --sc-accent-ink: #F4F6F2;
  --sc-hairline: rgb(11 15 14 / 0.14); --sc-hairline-strong: rgb(11 15 14 / 0.3);
  --sc-shadow-color: 40 10% 40%;
  --line: var(--laser-ink);
  background: var(--cast); color: var(--sc-ink);
}

body { background: var(--shutter); font-feature-settings: "ss01"; }
.sc-grain { opacity: 0.04; }

/* ---------------------------------------------------------------- type --- */
.d-lg, .hero__h1, .familiar__h, .bay__h, .work__note-h {
  font-family: var(--sc-font-display);
  font-stretch: 104%;
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1;
  text-wrap: balance;
  margin: 0;
}
.d-lg { font-size: clamp(2.2rem, 1.5rem + 2.9vw, 4.4rem); }
.body { color: var(--sc-ink-soft); max-width: 52ch; text-wrap: pretty; margin: 0; }
.g-dark .body { line-height: 1.66; letter-spacing: 0.002em; }
.lbl, .ledger__k, .tb__k, .laser__k, .slab__dim, .plate__stamp, .draft dt, .steps__n, .slot {
  font-family: var(--sc-font-display);
  font-stretch: 120%;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  background: var(--laser); color: var(--sc-accent-ink); padding: 10px 14px; border-radius: var(--sc-r);
  transform: translateY(-160%); transition: transform var(--sc-d-fast) var(--sc-ease-out);
}
.skip:focus-visible { transform: none; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.25rem;
  border-radius: var(--sc-r); border: 1px solid transparent;
  font-family: var(--sc-font-display); font-stretch: 108%; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: transform var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out), border-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: var(--sc-e1); }
.btn--line { border-color: var(--sc-hairline-strong); color: var(--sc-ink); }
.btn--quiet { color: var(--sc-ink-soft); padding-inline: 0.5rem; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: color-mix(in oklab, var(--sc-accent) 86%, white); transform: translateY(-1px); }
  .btn--line:hover { border-color: var(--sc-ink); }
  .btn--quiet:hover { color: var(--sc-ink); }
}

/* Chip: a toggle whose box pours solid when it is on. */
.chip, .need {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 44px; padding: 0 1rem 0 0.8rem;
  border: 1px dashed var(--sc-hairline-strong); border-radius: var(--sc-r);
  background: none; color: var(--sc-ink); cursor: pointer;
  font-size: 0.95rem; font-weight: 500; text-align: left;
  transition: border-color var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out);
}
.chip:active, .need:active { transform: scale(0.97); }
.chip__box {
  flex: none; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 2px;
  background: linear-gradient(var(--sc-accent), var(--sc-accent)) left / 0% 100% no-repeat;
  transition: background-size var(--sc-d-base) var(--sc-ease-out), border-color var(--sc-d-fast);
}
[aria-pressed="true"] { border-style: solid; border-color: var(--sc-accent); }
[aria-pressed="true"] .chip__box { background-size: 100% 100%; border-color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) {
  .chip:hover, .need:hover { border-color: var(--sc-ink); }
}
.websites .chip { margin-top: var(--sc-6); }
.bay .chip { margin-top: auto; align-self: flex-start; }

/* ========================================================= title block === */
.tb {
  position: fixed; right: 16px; bottom: 16px; z-index: var(--sc-z-chrome);
  display: flex; align-items: stretch; height: var(--tb-h);
  background: color-mix(in oklab, var(--shutter-2) 94%, transparent);
  color: #EEF2EF;
  border: 1px solid rgb(236 239 234 / 0.16); border-radius: var(--sc-r);
  box-shadow: var(--sc-e2), inset 0 1px 0 rgb(255 255 255 / 0.05);
  --sc-accent: var(--laser); --sc-accent-ink: #0B110E;
  font-size: 0.85rem;
}
.tb > * + * { border-left: 1px solid rgb(236 239 234 / 0.12); }
.tb a, .tb button { color: inherit; text-decoration: none; background: none; border-top: 0; border-right: 0; border-bottom: 0; cursor: pointer; }
.tb__brand { display: flex; align-items: center; gap: 0.55rem; padding: 0 1rem; }
.tb__mark { width: 15px; height: 18px; fill: var(--laser); }
.tb__word { font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: 0.98rem; letter-spacing: -0.03em; }
.tb__sheet { display: flex; flex-direction: column; justify-content: center; padding: 0 1rem; min-width: 10.5rem; line-height: 1.2; }
.tb__k { color: #9AA7A1; font-size: 0.6rem; }
.tb__v { font-weight: 600; white-space: nowrap; }
.tb__index, .tb__brief { padding: 0 1rem; font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 0.4em; }
.tb__brief[hidden] { display: none; }
.tb__brief span { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 0.3em; background: var(--laser); color: #0B110E; border-radius: 2px; font-size: 0.75rem; }
.tb__cta { display: flex; align-items: center; padding: 0 1.1rem; font-weight: 650; font-family: var(--sc-font-display); font-stretch: 108%; color: #0B110E !important; background: var(--laser) !important; border-radius: 0 calc(var(--sc-r) - 1px) calc(var(--sc-r) - 1px) 0; }
@media (hover: hover) and (pointer: fine) {
  .tb__index:hover, .tb__brief:hover, .tb__brand:hover { background: rgb(236 239 234 / 0.06); }
  .tb__cta:hover { background: color-mix(in oklab, var(--laser) 86%, white) !important; }
}
.tb__list {
  position: absolute; right: 0; bottom: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  min-width: 15rem; background: var(--shutter-2); border: 1px solid rgb(236 239 234 / 0.16); border-radius: var(--sc-r);
  box-shadow: var(--sc-e3);
  counter-reset: s;
}
.tb__list[hidden] { display: none; }
.tb__list a { display: flex; justify-content: space-between; padding: 0.7rem 0.8rem; border-radius: 2px; }
.tb__list a[aria-current="true"] { color: var(--laser); }
.tb__list a:hover { background: rgb(236 239 234 / 0.06); }
.tb :focus-visible { outline-offset: -3px; }

/* ================================================================ hero === */
.hero__stage { background: var(--shutter); perspective: 1600px; }
.hero__copy {
  position: absolute; z-index: var(--sc-z-copy);
  left: var(--sc-gutter); bottom: clamp(5.5rem, 14vh, 9.5rem);
  width: min(42rem, 46vw);
}
.hero__h1 { font-size: clamp(2.5rem, 1rem + 4.5vw, 5.1rem); line-height: 0.96; letter-spacing: -0.042em; font-stretch: 100%; font-weight: 680; }
.hero__sub { margin: var(--sc-5) 0 0; max-width: 36ch; color: #C6D0CB; font-size: var(--sc-t-lg); line-height: 1.45; text-wrap: pretty; }

/* 3D hero. The canvas is the whole stage; the CSS scene is its fallback. */
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; opacity: 0; transition: opacity 700ms var(--sc-ease-out); }
.gl-on .hero__gl { display: block; }
.gl-ready .hero__gl { opacity: 1; }
.gl-on .scene { display: none; }
.hero__scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none;
  background: linear-gradient(90deg, rgb(10 14 13 / 0.92) 0%, rgb(10 14 13 / 0.78) 34%, rgb(10 14 13 / 0) 58%); }
.gl-on .hero__scrim { display: block; }
.hero__stages {
  position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); top: clamp(1.5rem, 4vh, 2.5rem);
  display: flex; gap: clamp(0.9rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none;
}
.hero__stages li {
  --on: clamp(0, (var(--sc-p, 0) - var(--a)) * 400, 1);
  --act: calc(var(--on) * clamp(0, (var(--b) - var(--sc-p, 0)) * 400, 1));
  position: relative; padding-bottom: 8px;
  font-family: var(--sc-font-display); font-stretch: 120%; font-weight: 650; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--laser) calc(var(--act) * 100%), #EEF2EF);
  opacity: calc(0.38 + var(--on) * 0.62);
}
.hero__stages li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--laser); transform-origin: 0 50%; transform: scaleX(var(--act)); }
.hero__stages li:first-child { --on: 1; }
.hero__act { margin-top: var(--sc-6); }

/* The scene. Five planes, each driven from the act's --sc-p.
   --k  the strike, 0 closed mold to 1 struck.
   --k2 the late phase: what is left of the mold falls away. */
.scene {
  --k: clamp(0, (var(--sc-p, 0) - 0.04) / 0.58, 1);
  --k2: clamp(0, (var(--sc-p, 0) - 0.42) / 0.46, 1);
  --mx: 0; --my: 0;
  position: absolute; z-index: 2;
  right: calc(var(--sc-gutter) + 1vw); top: 50%;
  width: min(33vw, 500px, 60svh);
  aspect-ratio: 5 / 6;
  transform: translateY(-54%);
  transform-style: preserve-3d;
}
.pl { position: absolute; inset: 0; will-change: transform; }
.pl > i, .pl > b { position: absolute; display: block; }

/* far: the drafting grid, barely moving */
.pl-far {
  inset: -18% -22%; color: rgb(26 255 140 / 0.09);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  transform: translate3d(0, calc(var(--k) * -26px), 0) scale(calc(1 + var(--k) * 0.05));
  translate: calc(var(--mx) * -4px) calc(var(--my) * -4px);
}

/* plywood. Film-faced, with a grain that only shows up close. */
.pl-back, .pl-side, .pl-cap {
  background:
    repeating-linear-gradient(91deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(89deg, rgb(0 0 0 / 0.06) 0 2px, transparent 2px 13px),
    linear-gradient(180deg, #BF6136, var(--formply) 40%, var(--formply-2));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -2px 0 rgb(0 0 0 / 0.2), var(--sc-e2);
  border-radius: 1px;
}
.pl-back {
  inset: 9% 13% 27.5% 13%;
  transform: translate3d(0, calc(var(--k) * -14px), calc(var(--k) * -160px));
  opacity: calc(1 - var(--k) * 1.15);
  translate: calc(var(--mx) * -7px) calc(var(--my) * -7px);
}
.pl-back > i { top: 0; bottom: 0; width: 1px; background: rgb(0 0 0 / 0.28); box-shadow: 1px 0 0 rgb(255 255 255 / 0.08); }
.pl-back > i:nth-child(1) { left: 33.3%; }
.pl-back > i:nth-child(2) { left: 66.6%; }
.pl-back > i:nth-child(3) { left: 0; right: 0; width: auto; top: 50%; bottom: auto; height: 1px; }

.pl-cap {
  inset: 4% 8% auto 8%; height: 6%;
  transform: translate3d(0, calc(var(--k) * -150%), calc(var(--k) * 60px)) rotateX(calc(var(--k) * 30deg));
  opacity: calc(1 - var(--k) * 1.3);
  translate: calc(var(--mx) * -9px) calc(var(--my) * -9px);
}
.pl-side { top: 6%; bottom: 27.5%; width: 11%; transform-origin: 50% 100%; }
.pl-side > i { inset: 0 auto 0 30%; width: 1px; background: rgb(0 0 0 / 0.2); }
.pl-side--l {
  left: 3%; right: auto;
  transform: translate3d(calc(var(--k) * -330%), 0, calc(var(--k) * 90px)) rotateY(calc(var(--k) * 48deg)) rotateZ(calc(var(--k2) * -7deg));
  opacity: calc(1 - var(--k) * 0.35 - var(--k2) * 1.4);
  translate: calc(var(--mx) * -11px) calc(var(--my) * -11px);
}
.pl-side--r {
  right: 3%; left: auto;
  transform: translate3d(calc(var(--k) * 380%), 0, calc(var(--k) * 140px)) rotateY(calc(var(--k) * -54deg)) rotateZ(calc(var(--k2) * 8deg));
  opacity: calc(1 - var(--k) * 0.35 - var(--k2) * 1.4);
  translate: calc(var(--mx) * -12px) calc(var(--my) * -12px);
}

/* subject: the cast mark, standing on its slab */
.pl-cast {
  inset: 15% 22% auto 22%;
  transform-origin: 50% 100%;
  transform: translate3d(0, calc(var(--k) * -3px), 0) scale(calc(1 + var(--k) * 0.06));
  translate: calc(var(--mx) * -14px) calc(var(--my) * -10px);
}
.pl-cast svg { width: 100%; height: auto; overflow: visible; }
.cast__face { fill: var(--concrete); }
.cast__depth { fill: #6F6C66; }
.cast__lip { stroke: rgb(255 255 255 / 0.5); stroke-width: 0.5; fill: none; }

.pl-slab {
  inset: 72.4% 2% auto 2%; height: 4.5%;
  background: linear-gradient(180deg, #8F8C85, #5F5D58);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), var(--sc-e2);
  translate: calc(var(--mx) * -14px) calc(var(--my) * -10px);
}
.pl-slab::before { /* the contact shadow under the mark */
  content: ""; position: absolute; left: 19%; right: 19%; top: 0; height: 60%;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.35), transparent);
  opacity: calc(0.4 + var(--k) * 0.6);
}
.slab__dim {
  position: absolute; left: 0; right: 0; top: calc(100% + 14px);
  display: flex; justify-content: center; color: #9AA7A1;
  border-top: 1px solid rgb(157 168 162 / 0.35);
  padding-top: 8px;
}
.slab__dim::before, .slab__dim::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: rgb(157 168 162 / 0.5); }
.slab__dim::before { left: 0; } .slab__dim::after { right: 0; }
.slab__dim b { font-weight: 600; opacity: calc(0.2 + var(--k) * 0.8); }

/* near: walers and props. The fastest plane; they leave towards the viewer. */
.pl-front { pointer-events: none; }
.waler {
  left: -7%; right: -7%; height: 3.4%;
  background: linear-gradient(180deg, #4A524E, #2A302D 55%, #1B201E);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 6px 14px -4px rgb(0 0 0 / 0.6);
  border-radius: 1px;
}
.waler > b { top: 18%; width: 3.4%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9AA29E, #3B423F 70%); }
.waler > b:nth-child(1) { left: 16%; } .waler > b:nth-child(2) { left: 48.3%; } .waler > b:nth-child(3) { right: 16%; }
.waler--a {
  top: 28%;
  transform: translate3d(calc(var(--k) * -6%), calc(var(--k) * -150px), calc(var(--k) * 260px)) rotateZ(calc(var(--k) * -6deg));
  opacity: calc(1 - var(--k) * 1.5);
  translate: calc(var(--mx) * -22px) calc(var(--my) * -18px);
}
.waler--b {
  top: 54%;
  transform: translate3d(calc(var(--k) * 8%), calc(var(--k) * 170px), calc(var(--k) * 300px)) rotateZ(calc(var(--k) * 5deg));
  opacity: calc(1 - var(--k) * 1.5);
  translate: calc(var(--mx) * -24px) calc(var(--my) * -20px);
}
.tie { width: 2.2%; height: 48%; top: 31%; background: linear-gradient(90deg, #39403D, #5C6561 50%, #2B312F); border-radius: 2px; transform-origin: 50% 100%; }
.tie--a { left: -6%; transform: rotate(24deg) translate3d(calc(var(--k) * -120px), calc(var(--k) * 40px), 0); opacity: calc(1 - var(--k) * 1.6); }
.tie--b { right: -6%; transform: rotate(-24deg) translate3d(calc(var(--k) * 140px), calc(var(--k) * 40px), 0); opacity: calc(1 - var(--k) * 1.6); }

/* atmosphere: one laser sweep, the line that becomes the cut */
.pl-laser { inset: 0 -12% 0 -140%; pointer-events: none; z-index: -1; }
.pl-laser > i {
  inset: 0; height: 100%;
  transform: translate3d(0, calc((0.06 + var(--k) * 0.62) * 100%), 0);
  opacity: calc(min(var(--k) * 6, 1) * (1 - var(--k2) * 0.35));
  border-top: 1px solid var(--laser);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 92%, transparent);
}
.pl-laser > i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, rgb(26 255 140 / 0.08), transparent); }
.pl-laser { z-index: 1; }
.pl-front { z-index: 3; }
.pl-cast { z-index: 2; }
.pl-slab { z-index: 2; }

/* ============================================================ familiar === */
.familiar { padding-block: var(--sc-section) clamp(3rem, 6vw, 6rem); }
.familiar__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 6rem); }
.familiar__h { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.2rem); align-self: start; position: sticky; top: 15vh; }
.familiar__list { list-style: none; margin: 0; padding: 0; }
.familiar__list li {
  position: relative; padding: clamp(1.25rem, 2.4vw, 2rem) 0 clamp(1.25rem, 2.4vw, 2rem) 2.4rem;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2.05rem); line-height: 1.24; letter-spacing: -0.018em; font-weight: 500;
  border-top: 1px solid var(--sc-hairline-strong); text-wrap: balance;
}
.familiar__list li::before { /* a dimension tick, the survey mark */
  content: ""; position: absolute; left: 0; top: clamp(1.8rem, 3vw, 2.7rem); width: 12px; height: 12px;
  border-left: 1px solid var(--sc-ink); border-bottom: 1px solid var(--sc-ink);
}
.familiar__list li:last-child { border-bottom: 1px solid var(--sc-hairline-strong); }
.familiar__turn {
  grid-column: 2; margin: clamp(2rem, 4vw, 3.5rem) 0 0; max-width: 34ch;
  font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink);
}

/* ============================================================ websites === */
.websites__stage { padding-block: var(--sc-section); }
.websites { --pp: calc((var(--sc-p, 0) - 0.16) * 1.75); }
.websites__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.websites__intro .body { margin-top: var(--sc-5); }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li {
  --f: clamp(0, var(--pp) * 8.4 - var(--i) - 0.5, 1);
  position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: clamp(0.85rem, 1.6vh, 1.25rem) 0;
}
.ledger li::before, .ledger li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.ledger li::before { border-top: 1px dashed var(--sc-hairline-strong); opacity: calc(1 - var(--f)); }
.ledger li::after { background: var(--sc-ink); transform-origin: 0 50%; transform: scaleX(var(--f)); }
.ledger li:last-child { box-shadow: inset 0 -1px 0 var(--sc-hairline); }
.ledger__k { color: var(--sc-accent); opacity: calc(0.35 + var(--f) * 0.65); }
.ledger__v { font-size: var(--sc-t-lg); line-height: 1.35; letter-spacing: -0.012em; opacity: calc(0.3 + var(--f) * 0.7); text-wrap: pretty; }

/* ============================================================== strike === */
.strike__stage { background: var(--cast); display: flex; align-items: center; }
.strike__wrap { width: 100%; position: relative; z-index: 2; }
.strike__h { margin: 0 0 clamp(1rem, 3vh, 2rem); font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: clamp(1rem, 0.85rem + 0.6vw, 1.35rem); letter-spacing: -0.01em; color: var(--sc-ink-soft); }
.strike__list { list-style: none; margin: 0; padding: 0; }
.strike__list li {
  --a: clamp(0, (var(--sc-p, 0) + 0.1 - var(--i) * 0.085) / 0.1, 1);
  --s: clamp(0, (var(--sc-p, 0) - 0.37 - var(--i) * 0.068) / 0.06, 1);
  overflow: hidden; padding: 0.02em 0 0.12em; margin-bottom: -0.1em; clip-path: inset(0 -1em 0 -1em);
  font-family: var(--sc-font-display); font-stretch: 114%; font-weight: 760;
  font-size: clamp(2.5rem, 0.6rem + 6.3vw, 7.6rem); line-height: 0.98; letter-spacing: -0.048em;
  white-space: nowrap;
}
.strike__list li:nth-child(even) { padding-left: clamp(0rem, 9vw, 10rem); }
.strike__t {
  position: relative; display: inline-block;
  transform: translate3d(0, calc((1 - var(--a)) * 140%), 0);
  opacity: calc(var(--a) * 1.6 - 0.6);
  color: color-mix(in oklab, var(--sc-ink) calc((1 - var(--s) * 0.78) * 100%), var(--cast));
}
.strike__t::after {
  content: ""; position: absolute; left: -0.06em; right: -0.06em; top: 54%; height: 0.085em;
  background: var(--laser-cut); transform-origin: 0 50%; transform: scaleX(var(--s));
}
.strike__list li.strike__fix { --a: clamp(0, (var(--sc-p, 0) - 0.7) / 0.1, 1); --s: 0; padding-left: 0; margin-top: 0.12em; }
.strike__fix .strike__t { color: var(--laser-ink); }
.strike__laser {
  --L: clamp(0, (var(--sc-p, 0) - 0.33) / 0.36, 1);
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  transform: translate3d(0, calc((0.22 + var(--L) * 0.56) * 100%), 0);
  opacity: calc(clamp(0, (var(--sc-p, 0) - 0.31) * 30, 1) * clamp(0, (0.72 - var(--sc-p, 0)) * 30, 1));
  border-top: 2px solid var(--laser-cut);
}
.strike__laser::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 90px; background: linear-gradient(0deg, rgb(26 255 140 / 0.22), transparent); }
.strike__laser::after { content: ""; position: absolute; left: var(--sc-gutter); top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--laser-cut); box-shadow: 0 2px 6px rgb(0 112 63 / 0.4); }

/* =============================================================== hush === */
.hush { position: relative; min-height: min(88svh, 780px); display: flex; align-items: center; overflow: hidden; }
.hush__inner { position: relative; z-index: 1; }
.hush__line { margin: 0; max-width: 26ch; font-family: var(--sc-font-display); font-stretch: 104%; font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--sc-ink); text-wrap: balance; }
.hush__laser {
  position: absolute; left: 0; right: 0; top: 66%; height: 1px; background: var(--laser);
  transform-origin: 0 50%; transform: scaleX(clamp(0, (var(--sc-p, 0) - 0.22) / 0.42, 1));
}

/* ================================================================ work === */
.work__stage { background: var(--shutter); display: flex; align-items: center; }
.work__rail {
  --tw: min(56vw, calc((100svh - 230px) * 1.6));
  --gap: clamp(1.5rem, 4vw, 4rem);
  display: flex; align-items: center; gap: var(--gap);
  padding-inline: var(--sc-gutter); height: 100%;
}
.work__lead { flex: none; width: min(40rem, 42vw); }
.work__lead .d-lg { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.4rem); }
.work__lead .body { margin-top: var(--sc-5); max-width: 30ch; }
.tile { flex: none; width: var(--tw); margin: 0; }
.tile__frame {
  position: relative; aspect-ratio: 1440 / 900; overflow: hidden;
  border: 1px solid rgb(26 255 140 / 0.28); border-radius: 2px;
  background: #0C110F;
  box-shadow: var(--sc-e3);
}
.tile__bp { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--laser); }
.tile__built { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); will-change: clip-path; }
.tile__built img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile figcaption { margin-top: var(--sc-4); display: flex; gap: 0.9rem; align-items: baseline; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); max-width: 60ch; }
.tile figcaption b { font-family: var(--sc-font-display); font-stretch: 118%; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--laser); white-space: nowrap; }
.work__note { flex: none; width: min(36rem, 40vw); }
.work__note-h { font-size: var(--sc-t-xl); }
.work__facts { list-style: none; margin: var(--sc-5) 0 0; padding: 0; max-width: 28rem; }
.work__facts li { padding: 0.8rem 0 0.8rem 1.6rem; border-top: 1px solid var(--sc-hairline); position: relative; color: var(--sc-ink); }
.work__facts li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 9px; height: 1px; background: var(--laser); }
.laser { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.laser__line {
  position: absolute; left: 50%; top: 9%; bottom: 9%; width: 2px; margin-left: -1px; background: var(--laser);
}
.laser__line::before { /* light falling on the built side, not a halo */
  content: ""; position: absolute; right: 2px; top: 0; bottom: 0; width: 64px;
  background: linear-gradient(270deg, rgb(26 255 140 / 0.1), transparent);
}
.laser__k { position: absolute; top: calc(9% - 1.6rem); color: var(--laser); }
.laser__k--l { right: calc(50% + 12px); }
.laser__k--r { left: calc(50% + 12px); color: #9AA7A1; }

/* ============================================================== beyond === */
.beyond { padding-block: var(--sc-section); }
.beyond__head { max-width: 46rem; }
.beyond__head .body { margin-top: var(--sc-5); }
.bays {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: 1.25fr 1fr 0.85fr;
  border: 1px solid var(--sc-hairline-strong);
  background: var(--cast-2);
  box-shadow: var(--sc-e1);
}
.bay { position: relative; display: flex; flex-direction: column; gap: var(--sc-4); padding: clamp(1.5rem, 3vw, 2.75rem); min-height: 21rem; }
.bay + .bay { border-left: 1px solid var(--sc-hairline-strong); }
.bay::before { /* the form, offset inside the bay; it pours when the bay is in the brief */
  content: ""; position: absolute; inset: 10px; border: 1px dashed var(--sc-hairline-strong); pointer-events: none;
  transition: border-color var(--sc-d-base) var(--sc-ease-out);
}
.bay.is-in::before { border-style: solid; border-color: var(--sc-accent); }
.bay__h { font-size: var(--sc-t-xl); letter-spacing: -0.025em; }
.bay p { margin: 0; color: var(--sc-ink-soft); max-width: 40ch; text-wrap: pretty; }
.bay--other { background: color-mix(in oklab, var(--cast) 60%, var(--cast-2)); }

/* ============================================================= process === */
.process__stage { background: var(--cast); display: flex; align-items: center; }
.process { --q: clamp(0, (var(--sc-p, 0) - 0.04) / 0.74, 1); }
.process__wrap { width: 100%; }
.steps { position: relative; margin-top: clamp(2.5rem, 7vh, 5rem); }
.steps__line { position: absolute; left: 0; right: 0; top: 13px; width: 100%; height: 10px; overflow: visible; }
.steps__line path { fill: none; stroke: var(--sc-accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q)); }
.steps__line--v { display: none; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); position: relative; }
.steps__list li { --f: clamp(0, (var(--q) - var(--i) / 3 + 0.06) / 0.08, 1); opacity: calc(0.34 + var(--f) * 0.66); }
.steps__n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--sc-ink); background: var(--cast); color: var(--sc-ink); font-stretch: 100%; font-size: 0.8rem; letter-spacing: 0;
  box-shadow: 0 0 0 calc(var(--f) * 6px) var(--cast);
}
.steps__list li h3 { margin: var(--sc-5) 0 var(--sc-2); font-family: var(--sc-font-display); font-stretch: 104%; font-weight: 600; font-size: var(--sc-t-lg); letter-spacing: -0.02em; }
.steps__list li p { margin: 0; color: var(--sc-ink-soft); max-width: 30ch; text-wrap: pretty; }

/* =============================================================== close === */
.close { padding-block: clamp(5rem, 11vh, 8rem) 0; min-height: 100svh; display: flex; flex-direction: column; }
.close__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; flex: 1; }
.close__ask .body { margin-top: var(--sc-5); max-width: 42ch; }
.needs { margin: var(--sc-6) 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.plate {
  position: relative; background: var(--shutter-2);
  border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r);
  box-shadow: var(--sc-e3), var(--sc-edge);
  padding: clamp(1.25rem, 2.4vw, 2rem);
}
.plate__frame { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--sc-hairline-strong); margin-bottom: var(--sc-5); }
.slot {
  position: relative; display: grid; place-items: center; height: 40px; overflow: hidden;
  color: rgb(157 168 162 / 0.6); font-size: 0.6rem; letter-spacing: 0.08em; border: 1px dashed rgb(236 239 234 / 0.16);
}
.slot::before { /* the poured panel */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.05) 0 2px, transparent 2px 6px), var(--concrete);
  transform: translateY(-104%); transition: transform 300ms var(--sc-ease-out);
}
.slot.is-in { color: #1B211F; border-style: solid; border-color: var(--concrete); }
.slot.is-in::before { transform: none; }
.slot { isolation: isolate; } .slot::before { z-index: -1; }
.draft { margin: 0; display: grid; gap: 0; }
.draft > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--sc-hairline); align-items: baseline; }
.draft dt { color: var(--sc-ink-soft); }
.draft dd { margin: 0; overflow-wrap: anywhere; }
[data-draft-subject] { font-weight: 600; color: var(--laser); }
.draft__body { grid-template-columns: 1fr !important; border-bottom: 0 !important; }
.draft pre { margin: 0; font-family: var(--sc-font-text); font-size: 0.95rem; line-height: 1.55; white-space: pre-wrap; color: var(--sc-ink-soft); max-height: 13.5rem; overflow: auto; }
.plate__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: var(--sc-5); }
.plate__status { min-height: 1.4em; margin: var(--sc-3) 0 0; font-size: var(--sc-t-sm); color: var(--laser); }
.plate__stamp {
  position: absolute; right: clamp(1.25rem, 2.4vw, 2rem); top: calc(-0.7rem - 1px); margin: 0;
  padding: 0.25rem 0.55rem; background: var(--shutter); border: 1px solid var(--laser); color: var(--laser); border-radius: 2px;
}
.foot {
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center;
  margin-top: clamp(3rem, 8vh, 6rem); padding-block: 1.75rem calc(var(--tb-h) + 2.25rem);
  border-top: 1px solid var(--sc-hairline); color: var(--sc-ink-soft); font-size: var(--sc-t-sm);
}
.foot__brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--sc-ink); font-family: var(--sc-font-display); font-stretch: 112%; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.03em; }
.foot__mark { width: 15px; height: 18px; fill: var(--laser); }

/* ============================================================== narrow === */
@media (max-width: 1100px) and (min-width: 761px) {
  .hero__copy { width: 52vw; }
  .scene { width: min(36vw, 54svh); }
}

@media (max-width: 760px) {
  :root { --tb-h: 50px; --sc-gutter: 1.25rem; }
  .tb { left: 10px; right: 10px; bottom: 10px; }
  .tb__word, .tb__k { display: none; }
  .tb__brand { padding: 0 0.85rem; }
  .tb__sheet { flex: 1; min-width: 0; padding: 0 0.8rem; }
  .tb__v { overflow: hidden; text-overflow: ellipsis; }
  .tb__index, .tb__brief { padding: 0 0.8rem; }
  .tb__cta { padding: 0 0.9rem; }
  .tb__list { left: 0; right: 0; }

  /* hero, art-directed: mark above, type below, shorter travel */
  .scene { top: 11svh; right: auto; left: 50%; width: min(76vw, 44svh); transform: translateX(-50%); }
  .tb:has(.tb__brief:not([hidden])) .tb__sheet { display: none; }
  .tb:has(.tb__brief:not([hidden])) .tb__index { margin-left: auto; }
  .pl-side--l { transform: translate3d(calc(var(--k) * -200%), 0, calc(var(--k) * 60px)) rotateY(calc(var(--k) * 44deg)) rotateZ(calc(var(--k2) * -7deg)); }
  .pl-side--r { transform: translate3d(calc(var(--k) * 220%), 0, calc(var(--k) * 80px)) rotateY(calc(var(--k) * -48deg)) rotateZ(calc(var(--k2) * 8deg)); }
  .waler--a { transform: translate3d(0, calc(var(--k) * -90px), calc(var(--k) * 180px)) rotateZ(calc(var(--k) * -6deg)); }
  .waler--b { transform: translate3d(0, calc(var(--k) * 100px), calc(var(--k) * 200px)) rotateZ(calc(var(--k) * 5deg)); }
  .pl-laser { inset: 0 -40% 0 -40%; }
  .slab__dim { display: none; }
  .hero__copy { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; bottom: calc(var(--tb-h) + 2rem); }
  .hero__h1 { font-size: clamp(2.15rem, 1.2rem + 4.8vw, 2.8rem); }
  .hero__sub { font-size: 1.02rem; margin-top: var(--sc-4); }
  .hero__scrim { background: linear-gradient(0deg, rgb(10 14 13 / 0.94) 0%, rgb(10 14 13 / 0.7) 34%, rgb(10 14 13 / 0) 56%); }
  .hero__stages { gap: 0.8rem; }
  .hero__stages li { font-size: 0.58rem; letter-spacing: 0.1em; }
  .strike__list li { font-size: clamp(1.7rem, 8.2vw, 3.4rem); font-stretch: 100%; }
  .strike__list li:nth-child(even) { padding-left: 4vw; }
  .hero__act { margin-top: var(--sc-5); }

  .familiar__grid { grid-template-columns: 1fr; }
  .familiar__h { position: static; margin-bottom: var(--sc-5); }
  .familiar__list li { padding-left: 1.9rem; }
  .familiar__turn { grid-column: 1; }

  .websites__grid { grid-template-columns: 1fr; }
  .ledger li { grid-template-columns: 5.6rem 1fr; }
  .ledger__v { font-size: 1.05rem; }
  .websites .chip { margin-top: var(--sc-5); }

  .work__rail { --tw: min(64vw, calc((100svh - 300px) * 0.462)); --gap: 1.5rem; }
  .tile__frame { aspect-ratio: 390 / 844; }
  .work__lead { width: 78vw; }
  .work__note { width: 80vw; }
  .tile figcaption { flex-direction: column; gap: 0.25rem; font-size: 0.85rem; }
  .laser__line { top: 7%; bottom: calc(var(--tb-h) + 28px); }
  .laser__k { top: calc(7% - 1.5rem); }

  .bays { grid-template-columns: 1fr; }
  .bay { min-height: 0; }
  .bay + .bay { border-left: 0; border-top: 1px solid var(--sc-hairline-strong); }
  .bay .chip { margin-top: var(--sc-3); }

  .process__stage { height: auto !important; position: static !important; padding-block: var(--sc-section); }
  .process { --q: clamp(0, (var(--sc-p, 0) - 0.2) / 0.5, 1); }
  .steps__line { display: none; }
  .steps__line--v { display: block; position: absolute; left: 13px; top: 0; bottom: 0; width: 10px; height: 100%; }
  .steps__list { grid-template-columns: 1fr; gap: var(--sc-6); padding-left: 0; }
  .steps__list li { display: grid; grid-template-columns: 36px 1fr; column-gap: 1.1rem; }
  .steps__list li .steps__n { grid-row: span 2; }
  .steps__list li h3 { margin-top: 0.35rem; }

  .close { padding-top: var(--sc-section); }
  .close__grid { grid-template-columns: 1fr; }
  .plate__frame { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .slot { font-size: 0.5rem; letter-spacing: 0.04em; height: 34px; }
  .draft > div { grid-template-columns: 4.6rem 1fr; }
  .plate__actions .btn { flex: 1 1 auto; }
}

/* ===================================================== reduced motion ===
   Fewer and gentler, not none. The hero holds a struck, layered composition;
   the ledger, steps and laser are shown complete. */
@media (prefers-reduced-motion: reduce) {
  .scene { --k: 0.5; --k2: 0; }
  .strike__list li { --a: 1 !important; --s: 1 !important; }
  .strike__list li.strike__fix { --s: 0 !important; }
  .strike__laser { display: none; }
  .hero__stages li { --on: 1 !important; --act: 0 !important; }
  .pl { translate: none !important; }
  .websites { --pp: 1; }
  .process { --q: 1; }
  .hush__laser { transform: none; }
  .slot::before { transition: none; }
}
