/* Lightplan. Page styles on top of scrollcraft.css. The engine selectors are
   left alone; everything here is this page's own markup. */

:root {
  --sc-canvas:     #EFEEE9;
  --sc-surface:    #E6E4DD;
  --sc-ink:        #15171C;
  --sc-ink-soft:   #4C5059;
  --sc-accent:     #2440D8;
  --sc-accent-ink: #F7F6F2;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text:    "Archivo", system-ui, sans-serif;
  --sc-font-mono:    "Geist Mono", ui-monospace, monospace;
  --sc-shadow-color: 228 30% 22%;
  --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.7);

  --paper: #EFEEE9;
  --paper-hi: #F8F7F3;
  --night: #0E0F12;
  --cobalt: #2440D8;
  --cobalt-light: #7D93FF;
  --r-ctl: 10px;
  --r-frame: 16px;
  --bar-h: 64px;
  --sc-maxw: 90rem;
  /* the content edge every section shares, nav included */
  --edge: max(var(--sc-gutter), calc((100vw - var(--sc-maxw)) / 2 + var(--sc-gutter)));

  --lift-1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.08), 0 4px 10px -4px hsl(var(--sc-shadow-color) / 0.12);
  --lift-2: 0 1px 2px hsl(var(--sc-shadow-color) / 0.08), 0 14px 28px -10px hsl(var(--sc-shadow-color) / 0.2), 0 34px 64px -24px hsl(var(--sc-shadow-color) / 0.26);
  --lift-3: 0 2px 4px hsl(var(--sc-shadow-color) / 0.08), 0 24px 44px -16px hsl(var(--sc-shadow-color) / 0.26), 0 60px 110px -30px hsl(var(--sc-shadow-color) / 0.34);
}

html { scroll-padding-top: var(--bar-h); }
body { font-stretch: 100%; font-weight: 400; }
em { font-style: italic; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: var(--sc-ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-ctl);
  transform: translateY(-160%); transition: transform 160ms var(--sc-ease-out);
}
.skip:focus-visible { transform: none; }
.sc-grain { opacity: 0.035; }
[data-sc-progress] { height: 2px; z-index: 70; }

/* ---------------------------------------------------------------- type -- */
.d1, .d2, .d3 { font-weight: 720; font-stretch: 100%; letter-spacing: -0.038em; }
.d1 { font-size: var(--sc-t-4xl); line-height: 0.92; }
.d2 { font-size: var(--sc-t-3xl); line-height: 0.96; }
.d3 { font-size: clamp(2rem, 1.3rem + 1.9vw, 3rem); line-height: 1; letter-spacing: -0.032em; }
:is(.d1, .d2, .d3, .h-title) em { font-weight: 620; color: var(--sc-accent); letter-spacing: -0.03em; }
.sc-lede { color: var(--sc-ink); }

/* ------------------------------------------------------------- controls -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: var(--r-ctl);
  background: var(--sc-ink); color: var(--paper);
  font-weight: 600; font-size: 1rem; letter-spacing: 0; white-space: nowrap;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: var(--lift-1);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn--accent { background: var(--cobalt); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--cobalt); color: #fff; }
  .btn--accent:hover { background: #1A30B0; }
}
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em; color: var(--sc-ink);
  transition: color 160ms var(--sc-ease-out), text-decoration-color 160ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--sc-accent); } }

/* ------------------------------------------------------------------ bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: var(--edge);
  color: var(--sc-ink);
  transition: background-color 240ms var(--sc-ease-out), color 240ms var(--sc-ease-out), box-shadow 240ms var(--sc-ease-out);
}
.bar.is-scrolled { background: color-mix(in oklab, var(--paper) 94%, transparent); box-shadow: 0 1px 0 hsl(var(--sc-shadow-color) / 0.1); }
.bar[data-tone="dark"].is-scrolled { background: color-mix(in oklab, var(--night) 94%, transparent); color: #F1EFEA; box-shadow: 0 1px 0 rgb(255 255 255 / 0.08); }
.bar[data-tone="cobalt"].is-scrolled { background: color-mix(in oklab, var(--cobalt) 96%, transparent); color: #F7F6F2; box-shadow: 0 1px 0 rgb(255 255 255 / 0.16); --mark-fill: #F7F6F2; }
/* the logo: an L and a lit block, a city block on a plan. It recolours per ground. */
.bar { --tile: #15171C; --l: #EFEEE9; --sq: #2440D8; --dot: #2440D8; }
.bar[data-tone="dark"] { --tile: #F1EFEA; --l: #0E0F12; --sq: #2440D8; --dot: var(--cobalt-light); }
.bar[data-tone="cobalt"] { --tile: #F7F6F2; --l: #2440D8; --sq: #15171C; --dot: #F7F6F2; }
.bar__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.16rem; }
.mark { width: 28px; height: 28px; flex: none; }
.wm { font-weight: 760; font-stretch: 108%; letter-spacing: -0.035em; line-height: 1; }
.wm__i { position: relative; }
.wm__i::after {
  content: ""; position: absolute; left: 50%; top: 0.06em; width: 0.17em; height: 0.17em;
  translate: -45% 0; background: var(--dot, #2440D8);
}
.bar__nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.95rem; font-weight: 500; }
.bar__nav a { text-decoration: none; opacity: 0.82; transition: opacity 140ms var(--sc-ease-out); }
.bar__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.3em; }
.bar[data-tone="dark"] .bar__cta, .bar[data-tone="cobalt"] .bar__cta { background: #F7F6F2; color: #15171C; }
@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; }
}

/* ============================================================ 1 · HERO == */
.hero { background: var(--paper); }
.hero__stage {
  --hp: 0; --mx: 0; --my: 0;
  background:
    radial-gradient(70% 60% at 72% 70%, rgb(255 255 255 / 0.55), transparent 70%),
    var(--paper);
}
.h-plane { position: absolute; will-change: transform; }

.h-plan {
  width: max(100vw, 1200px); left: 50%; top: -18vh; margin-left: max(-50vw, -600px);
  transform-origin: 58% 62%;
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--hp) * -46px + var(--my) * -5px), 0) scale(calc(1 + var(--hp) * 0.07));
  opacity: 0.95;
}
.h-plan img { width: 100%; height: auto; max-width: none; }
.h-glow {
  position: absolute; right: -10vw; bottom: -20vh; width: 80vw; height: 90vh; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.6), transparent);
  transform: translate3d(0, calc(var(--hp) * -60px), 0);
}

/* back window: the butcher (bigbeef.page), furthest away, cropped by the right edge */
.h-b {
  width: min(28vw, 440px); right: -7vw; top: 14vh; perspective: 1400px;
  transform: translate3d(calc(var(--mx) * 9px), calc(var(--hp) * -110px + var(--my) * 7px), 0);
}
.h-b .win { transform: rotateY(calc(-20deg + var(--hp) * 16deg + var(--mx) * 2deg)) rotateX(calc(8deg - var(--hp) * 6deg)); transform-origin: 30% 50%; }

/* the copy rides at about 1x, between the back window and the front ones */
.h-copy {
  position: absolute; z-index: 5; left: var(--edge); top: 15vh; width: min(62rem, calc(100vw - var(--edge) * 2));
  transform: translate3d(0, calc(var(--hp) * -70px), 0);
}
.h-more { width: max-content; max-width: 100%; }
.h-title {
  width: fit-content; margin: 0; font-family: var(--sc-font-display);
  font-size: min(6.1vw, 10.6vh, 6.4rem); line-height: 0.95;
  font-weight: 730; font-stretch: 104%; letter-spacing: -0.042em;
  text-wrap: balance;
}
.h-title em { display: block; }
.h-sub { margin: clamp(18px, 3.4vh, 30px) 0 0; max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.42; color: var(--sc-ink-soft); text-wrap: pretty; }
.h-actions { display: flex; align-items: center; gap: 26px; margin-top: clamp(20px, 3.6vh, 34px); }

/* second beat: arrives as the windows square up, and names the idea */
.h-beat { position: absolute; z-index: 5; left: var(--edge); top: 16vh; width: min(36vw, 32rem); }
.h-beat p {
  margin: 0; font-size: min(1rem + 2vw, 5.4vh, 3rem); line-height: 1.04;
  font-weight: 680; letter-spacing: -0.028em; text-wrap: balance;
}
.h-beat em { display: block; margin-top: 0.3em; font-weight: 600; color: var(--sc-accent); }

/* front window: the cafe, the subject */
.h-a {
  z-index: 6; width: min(57vw, 900px); right: 4vw; top: 47vh; perspective: 1700px;
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--hp) * -300px + var(--my) * 12px), 0);
}
.h-a .win {
  transform-origin: 62% 50%;
  transform: rotateY(calc(-15deg + var(--hp) * 15deg + var(--mx) * 3deg)) rotateX(calc(7deg - var(--hp) * 7deg - var(--my) * 2deg)) rotateZ(calc(1.2deg - var(--hp) * 1.2deg));
}
.h-caption {
  position: absolute; left: 4px; bottom: 100%; margin: 0 0 12px;
  font: 500 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: 0.06em; color: var(--sc-ink-soft);
  transform: rotateY(-8deg); opacity: calc(1 - var(--hp) * 3);
}
.h-phone {
  z-index: 7; width: clamp(150px, 12.5vw, 200px); right: 8.5vw; top: 55vh;
  transform: translate3d(calc(var(--mx) * 26px), calc(var(--hp) * -430px + var(--my) * 20px), 0) rotate(calc(5deg - var(--hp) * 5deg));
}
.h-chip {
  z-index: 8; left: 25vw; top: 83vh;
  transform: translate3d(calc(var(--mx) * 34px), calc(var(--hp) * -350px + var(--my) * 26px), 0) rotate(calc(-2deg + var(--hp) * 2deg));
}

@media (max-width: 1023px) and (min-width: 761px) {
  .h-a { width: 66vw; right: -6vw; top: 52vh; }
  .h-b { display: none; }
  .h-chip { left: 6vw; top: 80vh; }
}
@media (max-width: 760px) {
  .h-plan { width: 200vw; left: -52vw; margin-left: 0; top: 20vh; }
  .h-b { display: none; }
  .h-copy { top: calc(var(--bar-h) + 4vh); }
  .h-title { font-size: clamp(2.3rem, 10.4vw, 3.4rem); line-height: 0.98; }
  .h-title em { display: inline; }
  .h-sub { font-size: 1.06rem; max-width: 30ch; }
  .h-actions { gap: 20px; }
  .h-a { width: 104vw; left: 5vw; right: auto; top: 61vh;
    transform: translate3d(0, calc(var(--hp) * -230px), 0); }
  .h-a .win { transform: rotateY(calc(-9deg + var(--hp) * 9deg)) rotateX(calc(5deg - var(--hp) * 5deg)); }
  .h-caption { font-size: 0.7rem; }
  .h-phone { width: 29vw; right: 5vw; top: 66vh; transform: translate3d(0, calc(var(--hp) * -320px), 0) rotate(calc(4deg - var(--hp) * 4deg)); }
  .h-chip { left: 4vw; top: auto; bottom: 3vh; transform: translate3d(0, calc(var(--hp) * -260px), 0); }
  .serp--chip { transform: scale(0.88); transform-origin: 0 100%; }
  .h-beat { top: calc(var(--bar-h) + 5vh); left: var(--sc-gutter); width: auto; right: var(--sc-gutter); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .h-sub { display: none; }
  .h-a { top: 52vh; } .h-phone { top: 58vh; }
}

/* --------------------------------------------------------- frames ------ */
.win {
  position: relative; background: var(--paper-hi); border-radius: 14px; overflow: hidden;
  box-shadow: var(--lift-3), 0 0 0 1px hsl(var(--sc-shadow-color) / 0.08);
}
.win__bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  background: #E9E8E3; border-bottom: 1px solid hsl(var(--sc-shadow-color) / 0.08);
}
.win__bar > i { width: 9px; height: 9px; border-radius: 50%; background: hsl(var(--sc-shadow-color) / 0.18); }
.win__url {
  display: inline-flex; align-items: center; gap: 6px; margin-inline: auto; min-width: 0;
  padding: 4px 14px; border-radius: 7px; background: rgb(255 255 255 / 0.7);
  font: 500 0.72rem/1.2 var(--sc-font-mono); color: #3A3D45; white-space: nowrap; overflow: hidden;
}
.win__url svg { width: 11px; height: 11px; flex: none; }
.win__url b { font-weight: 500; }
.win__screen { display: block; position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; background: #FAFAF7; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; }
.win--link { display: block; color: inherit; text-decoration: none; transition: box-shadow 220ms var(--sc-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .win--link:hover { box-shadow: var(--lift-3), 0 0 0 2px var(--cobalt); }
}

.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: clamp(18px, 2.1vw, 30px);
  background: #17181D; padding: 5px; box-shadow: var(--lift-3);
}
.phone::after {
  content: ""; position: absolute; top: 10px; left: 50%; width: 30%; height: 3.4%; translate: -50% 0;
  background: #17181D; border-radius: 99px; z-index: 3;
}
.phone__screen {
  position: absolute; inset: 5px; overflow: hidden; container-type: inline-size;
  border-radius: calc(clamp(18px, 2.1vw, 30px) - 5px); background: #FAFAF7;
}

/* the search listing, used three times: hero chip, the gap, the payoff */
.serp {
  display: grid; gap: 4px; width: max-content; max-width: 100%;
  padding: 14px 16px 15px; border-radius: 14px; background: #fff; color: #1C1E24;
  box-shadow: var(--lift-2), 0 0 0 1px hsl(var(--sc-shadow-color) / 0.06);
  font-size: 0.86rem; line-height: 1.3;
}
.serp__name { font-weight: 650; font-size: 1.02rem; letter-spacing: -0.01em; }
.serp__meta { color: #5A5E68; }
.serp__btns { display: flex; gap: 6px; margin-top: 8px; }
.serp__btns b {
  font-weight: 550; font-size: 0.78rem; padding: 6px 12px; border-radius: 99px;
  border: 1px solid #D5D7DC; color: #2B2E36; white-space: nowrap;
}
.serp__btns b.is-on { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.serp__btns b.is-missing { border: 1.5px dashed var(--cobalt); color: #8A8E98; background: hsl(228 72% 50% / 0.05); }

/* ================================================= example mini-sites == */
/* Sized in cqw so one markup renders at any frame width. */
.ms {
  --name-scale: 1;
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 0 4cqw; background: var(--bg); color: var(--ink);
  font-family: var(--sc-font-text); font-stretch: 100%; overflow: hidden;
}
.ms[data-trade="cafe"]   { --bg:#FAF9F6; --ink:#161616; --soft:#5E5D58; --acc:#2E4A7D; --acc-ink:#F1F3F7; --panel:#EFEDE7; --a1:#F3E9DC; --a2:#C9502B; --a3:#3B2416; --tf:"Young Serif", Georgia, serif; --tw:400; --ts:100%; --tst:normal; --tt:none; --ttr:-0.025em; --br:0.3cqw; }
.ms[data-trade="trades"] { --bg:#0F1B2D; --ink:#F2F4F7; --soft:#A9B4C4; --acc:#F5B700; --acc-ink:#0F1B2D; --panel:#F5B700; --a1:#0F1B2D; --a2:#FFFFFF; --a3:#0F1B2D; --tw:880; --ts:118%; --tst:normal; --tt:uppercase; --ttr:-0.015em; }
.ms[data-trade="salon"]  { --bg:#F6E7E4; --ink:#2A1720; --soft:#775F68; --acc:#8E2C48; --acc-ink:#FFF1F3; --panel:#2A1720; --a1:#F6E7E4; --a2:#D9809A; --a3:#8E2C48; --tw:300; --ts:112%; --tst:italic; --tt:none; --ttr:-0.045em; }
.ms[data-trade="clinic"] { --bg:#F2F7F5; --ink:#10302A; --soft:#4E6A63; --acc:#1F8A70; --acc-ink:#F2F7F5; --panel:#CFE5DD; --a1:#1F8A70; --a2:#10302A; --a3:#F2F7F5; --tw:620; --ts:100%; --tst:normal; --tt:none; --ttr:-0.035em; }
.ms[data-trade="shop"]   { --bg:#F1F0EA; --ink:#1B1B1B; --soft:#5C5C55; --acc:#3E6B35; --acc-ink:#F1F0EA; --panel:#C9D4B5; --a1:#1B1B1B; --a2:#E4572E; --a3:#F1F0EA; --tw:820; --ts:76%; --tst:normal; --tt:uppercase; --ttr:-0.005em; }

.ms-nav {
  flex: none; display: flex; align-items: center; gap: 3cqw; height: 8.4cqw;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
}
.ms-logo {
  font-family: var(--tf, var(--sc-font-display)); font-style: var(--tst); font-weight: var(--tw); font-stretch: var(--ts);
  font-size: 1.9cqw; letter-spacing: var(--ttr); text-transform: var(--tt); white-space: nowrap;
}
.ms-links { display: flex; gap: 2.4cqw; margin-left: auto; font-size: 1.3cqw; color: var(--soft); white-space: nowrap; }
.ms-links i { font-style: normal; }
.ms-btn {
  display: inline-block; flex: none; background: var(--acc); color: var(--acc-ink);
  font-size: 1.35cqw; font-weight: 600; line-height: 1; padding: 1.1cqw 2.1cqw; border-radius: var(--br, 99cqw); white-space: nowrap;
}
.ms-btn--sm { font-size: 1.15cqw; padding: 0.9cqw 1.6cqw; }
.ms-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 4cqw; align-items: center; padding: 3.2cqw 0; }
.ms-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.9cqw; min-width: 0; }
.ms-kicker { font: 500 1.15cqw/1.2 var(--sc-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.ms-title {
  font-family: var(--tf, var(--sc-font-display)); font-style: var(--tst); font-weight: var(--tw); font-stretch: var(--ts);
  font-size: calc(6.3cqw * var(--name-scale)); line-height: 0.96; letter-spacing: var(--ttr); text-transform: var(--tt);
  text-wrap: balance; overflow-wrap: anywhere;
}
.ms-sub { font-size: 1.55cqw; line-height: 1.45; color: var(--soft); max-width: 32ch; text-wrap: pretty; }
.ms-art { position: relative; align-self: stretch; background: var(--panel); border-radius: 2cqw; overflow: hidden; }
.ms-art svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
/* the cafe example uses Bluebird's real photography once it is in colour */
.ms-photo { display: none; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ms[data-trade="cafe"]:not(.ms--wire):not(.ms--mono) .ms-photo { display: block; }
.ms-row {
  flex: none; display: flex; gap: 3.2cqw; padding: 2.3cqw 0 2.6cqw; font-size: 1.3cqw; color: var(--soft);
  border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); white-space: nowrap;
}
.ms-hours { margin-left: auto; color: var(--ink); font-weight: 600; }

/* phone layout */
.ms--phone { padding: 0 6cqw; }
.ms--phone .ms-nav { height: 17cqw; padding-top: 6cqw; gap: 0; }
.ms--phone .ms-logo { font-size: 5.4cqw; }
.ms-burger { margin-left: auto; width: 7cqw; height: 1.3cqw; border-radius: 1cqw; background: var(--ink); box-shadow: 0 2.6cqw 0 var(--ink); translate: 0 -1.3cqw; }
.ms--phone .ms-art { flex: none; height: 62cqw; margin-top: 5cqw; border-radius: 5cqw; align-self: auto; }
.ms--phone .ms-copy { gap: 4cqw; padding-top: 7cqw; }
.ms--phone .ms-kicker { font-size: 3.2cqw; }
.ms--phone .ms-title { font-size: calc(11.5cqw * var(--name-scale)); }
.ms--phone .ms-btn { font-size: 4cqw; padding: 3.2cqw 5.6cqw; }
.ms--phone .ms-sub { font-size: 4.1cqw; max-width: none; }
.ms-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 5cqw 0 8cqw; border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); }
.ms-tabs i { width: 6cqw; height: 6cqw; border-radius: 2cqw; background: color-mix(in oklab, var(--ink) 20%, transparent); }

/* ========================================================= 2 · TENSION == */
.tension { background: var(--paper); padding-top: clamp(4rem, 9vw, 8rem); }
.tension__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.tension__copy .d2 { max-width: 13ch; }
.tension__copy .sc-lede { max-width: 40ch; }
.tension__copy .sc-body { font-size: var(--sc-t-lg); color: var(--sc-ink); font-weight: 560; }
.tension__fig { margin: 0; display: grid; gap: 18px; justify-items: start; padding-bottom: 6px; }
.tension__fig .serp { padding: 20px 22px; font-size: 0.95rem; }
.tension__fig .serp__name { font-size: 1.2rem; }
.mark-note { display: flex; align-items: center; gap: 12px; font: 500 var(--sc-t-xs)/1.3 var(--sc-font-mono); letter-spacing: 0.04em; color: var(--sc-accent); margin-left: 22px; }
.mark-note__line { width: 1.5px; height: 30px; background: var(--sc-accent); }
@media (max-width: 860px) {
  .tension__grid { grid-template-columns: 1fr; align-items: start; }
}

/* ========================================================= 3 · BUILDER == */
.build { background: var(--sc-surface); }
.build__stage {
  --plan: 0; --type: 0; --colour: 0; --phone: 0; --live: 0;
  display: grid; grid-template-columns: minmax(290px, 0.78fr) 1.62fr; gap: clamp(2rem, 4.5vw, 5rem); align-items: center;
  padding: calc(var(--bar-h) + 3vh) var(--edge) 5vh;
  background:
    linear-gradient(hsl(var(--sc-shadow-color) / 0.05) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--sc-surface);
}
.build__side { display: flex; flex-direction: column; gap: clamp(14px, 2.3vh, 22px); min-width: 0; }
.build__lede { margin: -6px 0 0; color: var(--sc-ink-soft); max-width: 30ch; text-wrap: pretty; }
.field { display: grid; gap: 8px; }
.field label, .trades legend {
  font: 500 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.field input {
  height: 54px; padding: 0 16px; border-radius: var(--r-ctl);
  border: 1.5px solid hsl(var(--sc-shadow-color) / 0.22); background: var(--paper-hi);
  font-size: 1.14rem; font-weight: 560; letter-spacing: -0.01em; color: var(--sc-ink);
  transition: border-color 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out);
}
.field input::placeholder { color: hsl(var(--sc-shadow-color) / 0.42); font-weight: 450; }
.field input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px hsl(228 72% 50% / 0.16); }
.trades { border: 0; margin: 0; padding: 0; min-width: 0; }
.trades__row { display: flex; flex-wrap: wrap; gap: 8px; }
.trades legend { padding: 0; margin-bottom: 10px; }
.trades label { position: relative; }
.trades input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.trades span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: var(--r-ctl);
  border: 1px solid hsl(var(--sc-shadow-color) / 0.22); background: var(--paper-hi);
  font-weight: 560; font-size: 0.95rem; transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out);
}
.trades input:checked + span { background: var(--sc-ink); border-color: var(--sc-ink); color: var(--paper); }
.trades input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .trades label:hover span { border-color: var(--sc-ink); } }

.steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.steps button {
  position: relative; width: 100%; display: grid; grid-template-columns: 4.6rem 1fr; align-items: baseline; gap: 10px;
  padding: 10px 0 12px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--sc-ink-soft);
}
.steps b { font-weight: 650; font-size: 1rem; color: var(--sc-ink-soft); transition: color 160ms var(--sc-ease-out); }
.steps span { font-size: 0.9rem; }
.steps__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: hsl(var(--sc-shadow-color) / 0.12); overflow: hidden; }
.steps__bar::after { content: ""; position: absolute; inset: 0; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.steps button[aria-current="step"] b { color: var(--sc-accent); }
.steps button[aria-current="step"] span { color: var(--sc-ink); }
@media (hover: hover) and (pointer: fine) { .steps button:hover b { color: var(--sc-ink); } }

.build__view { position: relative; min-width: 0; max-width: 980px; justify-self: center; width: 100%; }
.win--build { box-shadow: var(--lift-3), 0 0 0 1px hsl(var(--sc-shadow-color) / 0.1); }
.win--build .win__bar { height: 40px; }
.bd-url { display: grid; padding: 5px 16px; }
.bd-url > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.u-draft { opacity: calc(1 - var(--live)); color: #6A6E78; }
.u-live { opacity: var(--live); color: #15171C; }
.bd-live {
  font: 500 0.68rem/1 var(--sc-font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; background: var(--cobalt); color: #fff;
  opacity: var(--live); transform: scale(calc(0.8 + var(--live) * 0.2));
}
.bd-screen { background: #FAFAF7; }
.bd-layer { position: absolute; inset: 0; }
.bd-grid {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4cqw; padding: 0 4cqw;
  pointer-events: none; opacity: calc(0.95 - var(--colour) * 0.95);
}
.bd-grid i { background: hsl(228 72% 50% / 0.05); border-inline: 1px solid hsl(228 72% 50% / 0.13); }

/* plan: wireframe, drawn in groups */
.ms.ms--wire { --bg:#FAFAF7; --ink:#15171C; --soft:#15171C; --acc:transparent; --acc-ink:transparent; --panel:transparent; }
.ms--wire .t { color: transparent; background: hsl(225 10% 45% / 0.17); border-radius: 0.4cqw; -webkit-box-decoration-break: clone; box-decoration-break: clone; opacity: calc(1 - var(--type) * 0.9); }
.ms--wire .ms-btn, .ms--wire .ms-art { outline: 1.5px dashed hsl(225 10% 40% / 0.5); outline-offset: -1.5px; }
.ms--wire .ms-art {
  background:
    linear-gradient(to top right, transparent calc(50% - 0.7px), hsl(225 10% 40% / 0.28) 50%, transparent calc(50% + 0.7px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.7px), hsl(225 10% 40% / 0.28) 50%, transparent calc(50% + 0.7px));
}
.ms--wire .ms-art svg { display: none; }
.ms--wire .ms-nav, .ms--wire .ms-row { border-color: hsl(225 10% 40% / 0.35); border-style: dashed; }
.ms--wire :is(.ms-nav, .ms-kicker, .ms-title, .ms-sub, .ms-copy > .ms-btn, .ms-art, .ms-row) {
  --g: clamp(0, calc((var(--plan) - var(--d, 0)) * 3), 1);
  opacity: var(--g); transform: scaleX(calc(0.35 + var(--g) * 0.65)); transform-origin: 0 50%;
}
.ms--wire .ms-kicker { --d: 0.12; } .ms--wire .ms-title { --d: 0.2; } .ms--wire .ms-sub { --d: 0.3; }
.ms--wire .ms-copy > .ms-btn { --d: 0.4; } .ms--wire .ms-art { --d: 0.3; } .ms--wire .ms-row { --d: 0.55; }

/* type: the words arrive in ink, no colour yet */
.ms.ms--mono { --bg:transparent; --ink:#15171C; --soft:#4C5059; --acc:#15171C; --acc-ink:#FAFAF7; --panel:transparent; opacity: var(--type); }
.ms--mono .ms-art svg { display: none; }
.ms--mono .ms-nav, .ms--mono .ms-row { border-color: transparent; }
.ms--mono .ms-copy { transform: translate3d(0, calc((1 - var(--type)) * 1.2cqw), 0); }

/* colour: everything floods in from the illustration */
.bd-colour { clip-path: circle(calc(var(--colour) * 142%) at 74% 50%); }
.bd-colour .ms-art svg { transform: scale(calc(0.84 + var(--colour) * 0.16)) rotate(calc((1 - var(--colour)) * -10deg)); }

/* phone and the search listing */
.bd-phone {
  position: absolute; right: -1.5%; bottom: -7%; width: 19.5%;
  opacity: clamp(0, calc(var(--phone) * 3), 1);
  transform: translate3d(calc((1 - var(--phone)) * 70%), calc((1 - var(--phone)) * 10%), 0) rotate(calc((1 - var(--phone)) * 9deg));
}
.bd-serp {
  position: absolute; left: -4%; bottom: -9%; max-width: min(330px, 46%);
  opacity: clamp(0, calc(var(--live) * 3), 1); transform: translate3d(0, calc((1 - var(--live)) * 26px), 0) scale(calc(0.96 + var(--live) * 0.04));
}

@media (max-height: 820px) and (min-width: 861px) {
  .steps span { display: none; }
  .steps button { padding: 8px 0 9px; }
}
@media (max-width: 860px) {
  .build__stage {
    grid-template-columns: 1fr; align-content: start; gap: 14px;
    padding: calc(var(--bar-h) + 14px) var(--sc-gutter) 16px;
  }
  .build__side { gap: 12px; }
  .build__side .d3 { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
  .build__lede { font-size: 0.95rem; margin: -4px 0 0; }
  .field input { height: 48px; font-size: 1.05rem; }
  .trades__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--sc-gutter) * -1); padding: 2px var(--sc-gutter) 4px; }
  .trades legend { margin-bottom: 8px; }
  .trades span { height: 38px; padding: 0 13px; font-size: 0.9rem; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0; }
  .steps button { grid-template-columns: 1fr; padding: 6px 0 9px; }
  .steps b { font-size: 0.82rem; }
  .steps span { display: none; }
  .build__view { margin-top: 4px; width: 90%; justify-self: start; }
  .win--build .win__screen { aspect-ratio: 4 / 3.3; }
  .bd-phone { width: 30%; right: -11%; bottom: -16%; }
  .bd-serp { left: 4%; right: auto; bottom: -30%; max-width: 76%; }
  .bd-serp .serp__btns b { padding: 4px 8px; font-size: 0.7rem; }
  .win--build .win__bar { height: 30px; }
  .win__url { font-size: 0.64rem; padding: 3px 8px; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .build__lede, .field label { display: none; }
}

/* ============================================================ 4 · WORK == */
.work {
  --sc-ink: #F1EFEA; --sc-ink-soft: #A4A7AF; --sc-accent: var(--cobalt-light); --sc-accent-ink: var(--night);
  color: var(--sc-ink); background: var(--night);
  padding-block: clamp(5rem, 10vw, 9rem) clamp(4rem, 7vw, 6rem);
}
.work__head { display: grid; gap: 18px; max-width: 46rem; }
.work__head .d1 { font-stretch: 112%; font-weight: 760; }
.pf {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-radius: var(--r-frame); overflow: hidden;
  background: #17181D; box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.08);
}
.pf__bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.pf__bar > i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.16); }
.pf__bar .win__url { background: rgb(255 255 255 / 0.07); color: #D9DBE0; font-size: 0.78rem; padding: 6px 16px; }
.pf__open {
  display: inline-flex; align-items: center; gap: 6px; color: #F1EFEA; font-size: 0.86rem; font-weight: 600;
  text-decoration: none; padding: 7px 10px; border-radius: 8px;
}
.pf__open svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .pf__open:hover { background: rgb(255 255 255 / 0.08); } }
.pf__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.pf__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pf__frame { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 600ms var(--sc-ease-out); pointer-events: none; }
.pf__frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #111; }
.pf__screen.is-loaded .pf__frame { opacity: 1; }
.pf__screen.is-interactive .pf__frame { pointer-events: auto; }
.pf__try {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  height: 44px; padding: 0 18px; border-radius: var(--r-ctl); border: 0; cursor: pointer;
  background: #F1EFEA; color: #15171C; font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.6);
  transition: transform 120ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.pf__try:active { transform: translateY(1px) scale(0.98); }
.pf__screen.is-interactive .pf__try { background: var(--cobalt-light); color: var(--night); }
.facts { margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts > div { border-top: 1px solid rgb(255 255 255 / 0.14); padding-top: 14px; }
.facts dt { font: 500 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.facts dd { margin: 10px 0 0; font-size: 1.05rem; font-weight: 560; }
.facts a { color: var(--sc-accent); }
.work__item { margin-top: clamp(6rem, 12vw, 10rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgb(255 255 255 / 0.12); }
.work__split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; }
.work__split .sc-label { margin: 0 0 14px; }
.work__split .d2 { font-stretch: 112%; font-weight: 760; }
.work__split .sc-lede { color: var(--sc-ink-soft); max-width: 40ch; justify-self: end; }
.pf--light { background: #E9E8E3; box-shadow: 0 40px 100px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.12); }
.pf--light .pf__bar { border-bottom-color: rgb(0 0 0 / 0.08); }
.pf--light .pf__bar > i { background: rgb(0 0 0 / 0.16); }
.pf--light .pf__bar .win__url { background: rgb(255 255 255 / 0.75); color: #3A3D45; }
.pf--light .pf__open { color: #15171C; }
@media (hover: hover) and (pointer: fine) { .pf--light .pf__open:hover { background: rgb(0 0 0 / 0.06); } }
.pf--light .pf__screen { background: #F4ECE0; }
.pf--light .pf__try { background: #15171C; color: #F1EFEA; }
@media (max-width: 860px) {
  .work__split { grid-template-columns: 1fr; }
  .work__split .sc-lede { justify-self: start; }
}
@media (max-width: 760px) {
  .pf__screen { aspect-ratio: 390 / 720; }
  .pf__bar .win__url { font-size: 0.7rem; padding: 5px 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* ========================================================= 5 · PROCESS == */
.process { background: var(--night); }
.process__stage {
  --sc-ink: #F1EFEA; --sc-ink-soft: #A4A7AF; --sc-accent: var(--cobalt-light);
  color: var(--sc-ink); background: var(--night);
  display: flex; align-items: center;
}
.rail { gap: clamp(1.5rem, 2.6vw, 2.5rem); padding-inline: var(--edge); align-items: stretch; counter-reset: step; padding-top: clamp(5rem, 14vh, 9rem); }
.rail__lead { flex: 0 0 min(30rem, 84vw); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-right: 2vw; }
.rail__lead .sc-lede { color: var(--sc-ink-soft); max-width: 26ch; }
.step {
  flex: 0 0 clamp(16.5rem, 23vw, 21.5rem); display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid rgb(255 255 255 / 0.2); padding-top: 26px;
  position: relative; counter-increment: step;
}
/* the step number, big and quiet, standing on the hairline */
.step::before {
  content: counter(step) / "";
  position: absolute; left: -0.04em; bottom: calc(100% + 0.06em);
  font-weight: 800; font-stretch: 112%; font-size: clamp(5.5rem, 9vw, 9.5rem); line-height: 0.74; letter-spacing: -0.06em;
  color: rgb(255 255 255 / 0.08);
}
.step__icon { width: 46px; height: 46px; fill: none; stroke: var(--cobalt-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.step__n { margin: 0; font: 500 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sc-ink-soft); }
.step h3 { margin: 0; font-size: var(--sc-t-xl); font-weight: 680; letter-spacing: -0.02em; line-height: 1.1; }
.step p:last-child { margin: 0; color: var(--sc-ink-soft); text-wrap: pretty; max-width: 30ch; }
.rail__end { flex: 0 0 min(24rem, 76vw); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding-left: 2vw; }
.rail__end .d3 { margin: 0; }
.link--light { color: var(--sc-ink); }
@media (prefers-reduced-motion: no-preference) {
  .step {
    --k: clamp(0, calc(var(--sc-p, 0) * 8 - var(--i) + 1.6), 1);
    opacity: calc(0.45 + var(--k) * 0.55);
    transform: translate3d(0, calc((1 - var(--k)) * 30px), 0);
  }
}
@media (max-width: 760px) {
  .step { flex-basis: 76vw; }
  .rail__lead { flex-basis: 82vw; }
  .rail { padding-top: 5.5rem; }
}

/* =========================================================== 6 · ABOUT == */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.about .d2 { max-width: 11ch; }
.about .sc-lede { max-width: 38ch; }
.about__side { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.map {
  margin: 0; position: relative; border-radius: var(--r-frame); overflow: hidden;
  background: var(--paper-hi); box-shadow: var(--lift-1), 0 0 0 1px hsl(var(--sc-shadow-color) / 0.1);
}
.map img { width: 100%; height: auto; aspect-ratio: 1200 / 1000; object-fit: cover; }
.map figcaption {
  position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; background: var(--paper-hi); box-shadow: var(--lift-1);
  font: 500 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: 0.04em; color: var(--sc-ink);
}
.map figcaption::before { content: ""; width: 9px; height: 9px; background: var(--cobalt); }
.price { padding-top: 20px; border-top: 2px solid var(--cobalt); }
.price .sc-label { margin: 0; }
.price__v {
  margin: 12px 0 0; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); font-weight: 720;
  line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums;
}
.price__v span { margin: 0 0.32em; font-size: 0.42em; font-weight: 450; letter-spacing: 0; color: var(--sc-ink-soft); }
.price__note { margin: 14px 0 0; max-width: 36ch; color: var(--sc-ink-soft); text-wrap: pretty; }
.incl__h { margin: 0 0 8px; font-size: var(--sc-t-lg); font-weight: 680; letter-spacing: -0.015em; }
.incl ul { list-style: none; margin: 0; padding: 0; }
.incl li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid hsl(var(--sc-shadow-color) / 0.14); }
.incl li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--cobalt); translate: 0 -2px; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* =========================================================== 7 · CLOSE == */
.close {
  --sc-ink: #F7F6F2; --sc-ink-soft: #D6DBF8; --sc-accent: #F7F6F2; --sc-accent-ink: var(--cobalt);
  color: var(--sc-ink); background: var(--cobalt);
}
.close ::selection { background: #F7F6F2; color: var(--cobalt); }
.close__stage { min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--bar-h) + clamp(2.5rem, 8vh, 6rem)); overflow: hidden; }
.close__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.close .d1 { font-size: var(--sc-t-3xl); font-stretch: 106%; max-width: 11ch; }
.close .d1 em, .close .sc-lede { color: var(--sc-ink); }
.close__direct { color: var(--sc-ink-soft); }
.close__direct a { color: var(--sc-ink); font-weight: 600; word-break: break-all; }
.copy {
  margin-left: 6px; height: 30px; padding: 0 10px; border-radius: 7px; cursor: pointer;
  border: 1px solid rgb(255 255 255 / 0.45); background: transparent; color: var(--sc-ink);
  font: 500 0.75rem/1 var(--sc-font-mono); letter-spacing: 0.04em; vertical-align: 2px;
}
@media (hover: hover) and (pointer: fine) { .copy:hover { background: rgb(255 255 255 / 0.12); } }

.mail {
  --sc-ink: #15171C; --sc-ink-soft: #4C5059; --sc-accent: var(--cobalt);
  color: var(--sc-ink); background: var(--paper-hi); border-radius: var(--r-frame); overflow: hidden;
  box-shadow: 0 2px 4px rgb(10 20 80 / 0.12), 0 30px 70px -24px rgb(10 20 80 / 0.55);
}
.mail ::selection { background: var(--cobalt); color: #fff; }
.mail__head { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 18px; background: #E6E5DF; font-weight: 600; font-size: 0.9rem; }
.mail__dots { display: flex; gap: 6px; } .mail__dots i { width: 9px; height: 9px; border-radius: 50%; background: hsl(var(--sc-shadow-color) / 0.2); }
.mail__row { display: grid; grid-template-columns: 4.6rem 1fr; align-items: center; min-height: 52px; padding: 0 18px; border-bottom: 1px solid hsl(var(--sc-shadow-color) / 0.12); }
.mail__row:focus-within { box-shadow: inset 3px 0 0 var(--cobalt); }
.mail__k { font: 500 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft); }
.mail__v { min-width: 0; font-size: 1rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.mail input.mail__v { border: 0; background: transparent; height: 50px; padding: 0; outline: none; }
.mail input::placeholder, .mail textarea::placeholder { color: hsl(var(--sc-shadow-color) / 0.45); }
.mail textarea {
  display: block; width: 100%; border: 0; resize: vertical; min-height: 9.5rem; padding: 16px 18px;
  background: transparent; font-size: 1rem; line-height: 1.55; outline: none;
}
.mail textarea:focus-visible { box-shadow: inset 3px 0 0 var(--cobalt); }
.mail__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px 18px; border-top: 1px solid hsl(var(--sc-shadow-color) / 0.1); }
.mail__hint { font-size: 0.86rem; color: var(--sc-ink-soft); }

.close__mark {
  margin-top: auto; padding-top: clamp(2rem, 5vh, 4rem); line-height: 0.74; overflow: hidden;
  font-weight: 800; font-stretch: 112%; font-size: clamp(4rem, 13.5vw, 15rem); letter-spacing: -0.06em;
  text-align: center; white-space: nowrap; color: rgb(255 255 255 / 0.1); user-select: none;
}
.close__mark span { display: inline-block; }
.close__mark .wm { font-weight: 800; font-stretch: 112%; letter-spacing: -0.06em; line-height: 0.74; --dot: rgb(255 255 255 / 0.32); }
.close__mark .wm__i { display: inline; }
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 18px 22px; border-top: 1px solid rgb(255 255 255 / 0.22);
  font: 500 var(--sc-t-xs)/1.4 var(--sc-font-mono); letter-spacing: 0.04em; color: var(--sc-ink-soft);
}
.foot a { color: var(--sc-ink); }
@media (max-width: 860px) {
  .close__grid { grid-template-columns: 1fr; }
  .close__stage { padding-top: calc(var(--bar-h) + 3rem); }
}

/* ======================================================= reduced motion == */
@media (prefers-reduced-motion: reduce) {
  .h-plane, .h-glow, .h-a .win, .h-b .win, .h-copy { transform: none !important; }
  .h-a .win { transform: rotateY(-8deg) !important; }
  .bd-colour { clip-path: none; opacity: var(--colour); }
  .bd-phone, .bd-serp, .ms--mono .ms-copy, .ms--wire * { transform: none !important; }
  .bd-colour .ms-art svg { transform: none; }
}
