/* ECHORRO — site styles */
.nowrap { white-space: nowrap; }
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --plate: #1f2926;
  --well: #18211e;
  --sand: #e7dcc6;
  --silt: #a3aca6;
  --brass: #d2ad6c;
  --patina: #5f8278;
  --ink: #16201d;
  --line: rgb(95 130 120 / 0.5);

  --gutter: clamp(20px, 4.2vw, 72px);
  --gutter-r: var(--gutter);
  --col-gap: clamp(12px, 1.8vw, 28px);
  --bar-h: 56px;
  --ch-pad: clamp(72px, 11.5vh, 148px);

  --t-small: clamp(0.84rem, 0.8rem + 0.18vw, 0.94rem);
  --t-body: clamp(1.0625rem, 1rem + 0.24vw, 1.1875rem);
  --t-lead: clamp(1.26rem, 1.08rem + 0.78vw, 1.78rem);
  --t-state: clamp(1.56rem, 1.12rem + 1.7vw, 2.7rem);
  --t-head: clamp(2.3rem, 1.1rem + 4.7vw, 6rem);
  --t-hero: clamp(2.45rem, 0.9rem + 5.25vw, 6.2rem);
}

@media (min-width: 700px) {
  :root { --bar-h: 64px; }
}

@media (min-width: 1180px) {
  :root { --gutter-r: max(var(--gutter), 84px); }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--plate);
  color: var(--sand);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}

html.js:not(.motion-off) { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  overflow-x: clip;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
svg { display: block; }
strong { font-weight: 620; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { color: var(--brass); }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 40;
  padding: 0.7rem 1.1rem;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 10px; color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sand {
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

main, .foot { position: relative; z-index: 1; }

/* ---------- header ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--gutter);
}
.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(24 33 30 / 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.bar.is-scrolled::before { opacity: 1; }
.bar > * { position: relative; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  color: var(--sand);
  text-decoration: none;
}
.brand:hover { color: var(--sand); }
.brand-mark { width: 18px; height: 18px; }
.brand-word { width: auto; height: 11px; aspect-ratio: 6939.7 / 710.8; }

.bar-actions { display: flex; align-items: center; gap: 0.6rem; }

.motion-toggle {
  display: none;
  width: 40px; height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--silt);
  cursor: pointer;
}
.js .motion-toggle { display: grid; }
.motion-toggle:hover { color: var(--sand); border-color: var(--patina); }
.motion-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.motion-toggle .i-play { display: none; }
.motion-off .motion-toggle .i-play { display: block; }
.motion-off .motion-toggle .i-pause { display: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.6rem;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-size: var(--t-body);
  font-weight: 600;
  font-stretch: 106%;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
}
.btn:hover { background: #e2c188; color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 1.05rem; font-size: var(--t-small); }
.btn-big { min-height: 64px; padding: 0 2.3rem; font-size: var(--t-lead); }

/* ---------- section navigation (figures) ---------- */

.figures { display: none; }

@media (min-width: 1180px) {
  .figures {
    display: block;
    position: fixed;
    right: clamp(14px, 1.5vw, 26px);
    top: 50%;
    z-index: 25;
    transform: translateY(-50%);
  }
  .figures ol { display: grid; gap: 3px; }
  .figures a {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    color: var(--patina);
    text-decoration: none;
  }
  .figures svg {
    width: 22px; height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .figures a:hover, .figures a:focus-visible { color: var(--sand); }
  .figures a[aria-current="true"] { color: var(--brass); }
  .fig-label {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    padding: 0.4rem 0.75rem;
    background: var(--well);
    color: var(--sand);
    font-size: var(--t-small);
    font-stretch: 90%;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .figures a:hover .fig-label,
  .figures a:focus-visible .fig-label { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- chapters: shared ---------- */

.ch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding: var(--ch-pad) var(--gutter-r) var(--ch-pad) var(--gutter);
}
.ch > * { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 700px) {
  .ch { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.split { display: grid; grid-template-columns: subgrid; }
.split > span { display: block; grid-column: 1 / -1; }

.plate-slot { position: relative; width: 100%; }

.hd {
  font-size: var(--t-head);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.008em;
}

.statement {
  font-size: var(--t-state);
  font-weight: 380;
  line-height: 1.16;
  letter-spacing: -0.004em;
}

/* ---------- hero ---------- */

.ch-hero {
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto auto auto auto auto 1fr;
  row-gap: clamp(16px, 2.6vh, 30px);
  padding-top: calc(var(--bar-h) + clamp(24px, 6vh, 84px));
  padding-bottom: clamp(28px, 6vh, 64px);
}

.hero-title {
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  font-size: var(--t-hero);
  font-weight: 470;
  font-stretch: 118%;
  line-height: 0.98;
  letter-spacing: 0.004em;
  opacity: 1;
}
.js .hero-title { opacity: 0; animation: title-safety 0s linear 2.6s forwards; }
.js .hero-title.is-ready { opacity: 1; animation: none; }
@keyframes title-safety { to { opacity: 1; } }

.hero-title .ln { display: block; grid-column: 1 / -1; }
.hero-title .ln-1 { grid-row: 1; }
.hero-title .ln-2 { grid-row: 3; }
.ln-vis { white-space: nowrap; }

.slot-hero { grid-row: 2; aspect-ratio: 16 / 11; }

.hero-sub { grid-row: 4; max-width: 36rem; font-size: var(--t-lead); line-height: 1.38; font-weight: 380; }

.hero-act { grid-row: 5; display: grid; justify-items: start; gap: 0.9rem; }
.act-note { max-width: 25rem; color: var(--silt); font-size: var(--t-small); line-height: 1.5; }
.act-alt { color: var(--silt); font-size: var(--t-small); }
.act-alt a { color: var(--sand); }

.hero-strip {
  grid-row: 6;
  align-self: end;
  display: grid;
  gap: 0.7rem;
  padding-top: 1.2rem;
  font-size: var(--t-small);
  line-height: 1.35;
}
.hero-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--silt);
  text-decoration: none;
}
.hero-strip a:hover { color: var(--sand); }
.hero-strip svg {
  flex: none;
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--patina);
  stroke-width: 1.1;
  stroke-linecap: round;
}
.hero-strip a:hover svg { stroke: var(--brass); }

@media (min-width: 700px) {
  .ch-hero { grid-template-rows: auto auto auto 1fr auto; }
  .hero-title { grid-row: 1 / span 2; }
  .hero-title .ln-2 { grid-row: 2; grid-column: 5 / -1; }
  .slot-hero { grid-row: 2 / span 3; grid-column: 1 / 5; aspect-ratio: 1; width: min(100%, 54vh); }
  .hero-sub { grid-row: 3; grid-column: 5 / -1; }
  .hero-act { grid-row: 4; grid-column: 5 / -1; }
  .hero-strip { grid-row: 5; grid-column: 1 / -1; grid-template-columns: subgrid; }
  .hero-strip li { grid-column: span 4; }
}

@media (min-width: 1024px) {
  .hero-title .ln { white-space: nowrap; }
  .hero-sub, .hero-act { grid-column: 6 / 12; }
  .hero-strip li:nth-child(1) { grid-column: 1 / 5; }
  .hero-strip li:nth-child(2) { grid-column: 6 / 9; padding-top: 1.6rem; }
  .hero-strip li:nth-child(3) { grid-column: 10 / 13; padding-top: 0.7rem; }
}

/* ---------- the stage nobody owns ---------- */

.gap-title { font-stretch: 66%; font-weight: 600; font-size: calc(var(--t-head) * 1.12); }
.gap-p1 { margin-top: clamp(28px, 5vh, 56px); max-width: 32rem; }
.gap-p2 { margin-top: 1.2rem; max-width: 30rem; color: var(--silt); }
.gap-claim { margin-top: clamp(48px, 9vh, 110px); max-width: 24em; font-size: var(--t-state); font-weight: 380; line-height: 1.16; }

.slot-gap { margin-top: clamp(36px, 6vh, 72px); aspect-ratio: 2 / 1; }
.axis {
  position: absolute;
  bottom: -2.1rem;
  font-size: var(--t-small);
  font-stretch: 92%;
  color: var(--silt);
}
.axis-start { left: 0; }
.axis-end { right: 0; }

.gap-cases { margin-top: clamp(64px, 9vh, 104px); display: grid; gap: 2.6rem; }
.case h3 {
  font-size: var(--t-state);
  font-weight: 480;
  font-stretch: 112%;
  line-height: 1.05;
  transition: color 0.3s ease;
}
.case p { margin-top: 0.8rem; max-width: 26rem; color: var(--silt); }
.case.is-on h3 { color: var(--brass); }

.gap-cost { margin-top: clamp(56px, 9vh, 110px); max-width: 30em; font-size: var(--t-lead); line-height: 1.34; }

@media (min-width: 700px) {
  .gap-title { grid-column: 4 / -1; }
  .gap-p1 { grid-column: 1 / 7; }
  .gap-p2 { grid-column: 7 / 12; margin-top: 4.5rem; }
  .gap-claim { grid-column: 1 / 11; }
  .slot-gap { aspect-ratio: 3 / 1; }
  .gap-cases { grid-template-columns: subgrid; }
  .case-top { grid-column: 1 / 5; }
  .case-close { grid-column: 9 / 13; margin-top: 3.5rem; }
  .case-all { grid-column: 5 / 9; margin-top: 1.1rem; }
  .gap-cost { grid-column: 3 / 11; }
}

/* ---------- what we run / what we don't ---------- */

.run-title { font-stretch: 124%; font-weight: 420; font-size: calc(var(--t-head) * 0.9); row-gap: 0.12em; }
.run-big { margin-top: clamp(40px, 7vh, 88px); max-width: 22em; font-size: var(--t-state); font-weight: 380; line-height: 1.16; }
.run-p1 { margin-top: 2rem; max-width: 30rem; }
.run-p2 { margin-top: 1.2rem; max-width: 28rem; color: var(--silt); }
.slot-run { margin-top: clamp(40px, 7vh, 80px); aspect-ratio: 1; width: 82%; justify-self: end; }
.run-hire { margin-top: clamp(48px, 8vh, 96px); }
.run-hire h3, .run-not h3 {
  font-size: var(--t-lead);
  font-weight: 520;
  font-stretch: 104%;
  line-height: 1.2;
}
.run-hire p { margin-top: 1rem; max-width: 34rem; }
.run-hire p + p { color: var(--silt); }

.run-not { margin-top: clamp(64px, 11vh, 140px); display: grid; }
.not-list { margin-top: 1.4rem; display: grid; gap: 0.5rem; }
.not-list li {
  font-size: var(--t-lead);
  line-height: 1.3;
  color: var(--silt);
  text-decoration: line-through;
  text-decoration-color: var(--patina);
  text-decoration-thickness: 1px;
}
.not-do { margin-top: 2.2rem; max-width: 30rem; color: var(--silt); }
.run-do {
  margin-top: clamp(16px, 2.4vh, 28px);
  font-size: var(--t-state);
  font-weight: 560;
  font-stretch: 118%;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

@media (min-width: 700px) {
  .run-title .s1 { grid-column: 1 / 8; }
  .run-title .s2 { grid-column: 5 / -1; }
  .run-big { grid-column: 1 / 10; }
  .run-p1 { grid-column: 2 / 7; margin-top: 2.6rem; }
  .run-p2 { grid-column: 8 / 12; grid-row: 3; margin-top: 2.6rem; align-self: start; }
  .slot-run { grid-column: 8 / -1; grid-row: 4 / span 2; width: 100%; }
  .run-hire { grid-column: 1 / 7; grid-row: 4; }
  .run-not { grid-column: 1 / -1; grid-template-columns: subgrid; }
  .run-not h3 { grid-column: 1 / 4; padding-top: 0.2em; }
  .not-list { grid-column: 4 / -1; margin-top: 0; }
  .not-list li:nth-child(2) { margin-left: 22%; }
  .not-list li:nth-child(3) { margin-left: 8%; }
  .not-list li:nth-child(4) { margin-left: 30%; }
  .not-do { grid-column: 4 / 10; }
  .run-do { grid-column: 4 / -1; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .run-p1 { grid-row: 3; grid-column: 1 / 7; }
  .slot-run { grid-row: 4; }
}

/* ---------- channels ---------- */

.ch-title { font-size: calc(var(--t-head) * 0.86); font-weight: 520; row-gap: 0.1em; }
.ch-title .s2 { font-stretch: 62%; font-weight: 700; font-size: 1.3em; line-height: 0.9; color: var(--sand); }
.ch-agencies { margin-top: clamp(36px, 6vh, 72px); max-width: 30rem; color: var(--silt); }
.ch-other { margin-top: 2.2rem; max-width: 19em; font-size: calc(var(--t-state) * 0.92); font-weight: 380; line-height: 1.2; }
.slot-channels { margin-top: clamp(40px, 6vh, 72px); aspect-ratio: 1; }

.buyers { margin-top: 2.2rem; display: grid; gap: 0.4rem; }
.buyer {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.6rem 0;
  cursor: pointer;
}
.buyer input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  width: 15px; height: 15px;
  margin: 0.42em 0 0;
  border: 1px solid var(--patina);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.buyer input::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
  transform: scale(0);
  transition: transform 0.2s ease;
}
.buyer input:checked { border-color: var(--brass); }
.buyer input:checked::before { transform: scale(1); }
.buyer input:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.buyer span { font-size: calc(var(--t-lead) * 0.88); line-height: 1.32; transition: color 0.25s ease; }
.buyer:hover span { color: #f3ecdd; }
.buyer input:checked + span { color: var(--brass); }

.strings { margin-top: 2rem; display: grid; gap: 0.65rem; max-width: 20rem; }
.str {
  display: grid;
  grid-template-columns: 6rem minmax(0, 6.5rem);
  align-items: center;
  gap: 1rem;
  color: var(--silt);
  font-size: var(--t-small);
  font-stretch: 92%;
  transition: color 0.3s ease;
}
.str svg { width: 100%; height: 18px; overflow: hidden; }
.str path { fill: none; vector-effect: non-scaling-stroke; }
.str .flat { stroke: var(--patina); stroke-width: 1; transition: opacity 0.3s ease; }
.str .wave {
  stroke: var(--brass);
  stroke-width: 1.3;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: str-run 2.2s linear infinite;
}
.str-phone .wave { animation-duration: 3s; }
.str-linkedin .wave { animation-duration: 1.6s; }
@keyframes str-run { to { transform: translateX(-400px); } }

.strings[data-active="phone"] .str-phone,
.strings[data-active="linkedin"] .str-linkedin,
.strings[data-active="all"] .str { color: var(--sand); }
.strings[data-active="phone"] .str-phone .wave,
.strings[data-active="linkedin"] .str-linkedin .wave,
.strings[data-active="all"] .wave { opacity: 1; }
.strings[data-active="phone"] .str-phone .flat,
.strings[data-active="linkedin"] .str-linkedin .flat,
.strings[data-active="all"] .flat { opacity: 0; }
.strings[data-active="all"] .wave { opacity: 0.4; }
.strings[data-seq="phone"] .str-phone .wave,
.strings[data-seq="email"] .str-email .wave,
.strings[data-seq="linkedin"] .str-linkedin .wave { opacity: 1; }
.strings[data-seq="phone"] .str-phone,
.strings[data-seq="email"] .str-email,
.strings[data-seq="linkedin"] .str-linkedin { color: var(--brass); }

.ch-table { margin-top: clamp(48px, 8vh, 96px); max-width: 34rem; }

@media (min-width: 700px) {
  .ch-title .s1 { grid-column: 1 / -1; }
  .ch-title .s2 { grid-column: 8 / -1; }
  .ch-agencies { grid-column: 1 / 6; }
  .ch-other { grid-column: 7 / -1; grid-row: 2; align-self: end; margin-top: 1.3rem; }
  .slot-channels { grid-column: 1 / 7; grid-row: 3 / span 3; width: min(100%, 76vh); }
  .buyers { grid-column: 7 / -1; grid-row: 3; margin-top: clamp(48px, 7vh, 84px); }
  .buyer:nth-child(2) { margin-left: 6%; }
  .buyer:nth-child(3) { margin-left: 12%; }
  .strings { grid-column: 8 / -1; grid-row: 4; }
  .ch-table { grid-column: 8 / -1; grid-row: 5; margin-top: 3rem; color: var(--silt); }
}

/* ---------- nothing goes out on day one ---------- */

.ch-build { position: relative; padding: var(--ch-pad) 0; }

.build-pin {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding: 0 var(--gutter-r) 0 var(--gutter);
}
.build-pin > * { grid-column: 1 / -1; min-width: 0; }

.build-title { font-stretch: 62%; font-weight: 300; font-size: calc(var(--t-head) * 1.25); line-height: 0.9; letter-spacing: 0; }
.build-intro { margin-top: 1.4rem; max-width: 26rem; font-size: var(--t-lead); line-height: 1.35; color: var(--silt); }

.slot-build { margin-top: 2.4rem; aspect-ratio: 16 / 11; }
.guide, .frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  fill: none;
  pointer-events: none;
}
.guide path {
  stroke: var(--patina);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.6s ease, stroke 0.6s ease;
}
.frame rect {
  stroke: var(--patina);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 0.8s ease, stroke 0.6s ease;
}
.slot-build.is-guide .guide path { opacity: 0.55; }
.slot-build.is-frame .frame rect { opacity: 1; }
.slot-build.is-signed .guide path,
.slot-build.is-signed .frame rect { stroke: var(--brass); }
.slot-build.is-live .guide path { opacity: 0.18; }

.build-rail {
  margin-top: 2.4rem;
  margin-inline: calc(var(--gutter) * -1) calc(var(--gutter-r) * -1);
  padding: 0 var(--gutter-r) 0.6rem var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.build-rail::-webkit-scrollbar { display: none; }
.build-track { position: relative; display: flex; gap: var(--col-gap); width: max-content; }

.step, .step-why { scroll-snap-align: start; width: min(76vw, 330px); }
.step {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  transition: border-color 0.4s ease;
}
.step-n {
  font-size: var(--t-state);
  font-weight: 300;
  font-stretch: 62%;
  line-height: 1;
  color: var(--silt);
  transition: color 0.4s ease;
}
.step h3 { font-size: var(--t-lead); font-weight: 520; font-stretch: 106%; line-height: 1.15; }
.step p { color: var(--silt); max-width: 30ch; }
.step.is-past { border-top-color: var(--patina); }
.step.is-now { border-top-color: var(--brass); }
.step.is-now .step-n { color: var(--brass); }
.step-why { padding-top: 1rem; border-top: 1px solid transparent; }
.step-why p { max-width: 32ch; font-size: var(--t-lead); line-height: 1.35; }
.step-why strong { color: var(--brass); font-weight: 520; }

@media (min-width: 700px) {
  .build-pin { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .build-head { grid-column: 1 / 8; grid-row: 1; }
  .slot-build { grid-column: 9 / -1; grid-row: 1; margin-top: 0; aspect-ratio: 1; }
  .build-rail { grid-row: 2; margin-top: clamp(40px, 7vh, 80px); }
}

/* desktop without pinning (motion paused, or short screens): a plain grid */
@media (min-width: 1024px) {
  html:not(.build-pinned) .build-rail { overflow: visible; margin-inline: 0; padding: 0; }
  html:not(.build-pinned) .build-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; width: auto; }
  html:not(.build-pinned) .step,
  html:not(.build-pinned) .step-why { width: auto; }
  html:not(.build-pinned) .step-why { grid-column: 1 / -1; }
}

/* desktop pinned: the build scrolls sideways while the page holds still */
html.build-pinned .ch-build { padding: 0; }
html.build-pinned .build-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  grid-template-rows: auto 1fr;
  padding-top: calc(var(--bar-h) + clamp(28px, 6vh, 72px));
  padding-bottom: clamp(32px, 7vh, 80px);
}
html.build-pinned .slot-build { width: min(100%, 44vh); justify-self: end; }
html.build-pinned .build-rail { align-self: end; overflow: visible; scroll-snap-type: none; margin-top: 0; }
html.build-pinned .build-track { will-change: transform; }
html.build-pinned .step { width: clamp(250px, 23vw, 350px); }
html.build-pinned .step-why { width: clamp(300px, 30vw, 440px); }

/* ---------- every week ---------- */

.week-title { font-size: calc(var(--t-head) * 0.92); font-weight: 460; row-gap: 0.1em; }
.week-title .s2 { font-stretch: 125%; font-weight: 560; }
.slot-week { margin-top: clamp(36px, 6vh, 72px); aspect-ratio: 4 / 3; width: 84%; }
.week-one { margin-top: 2.4rem; max-width: 30rem; font-size: var(--t-lead); line-height: 1.36; }
.cadence { margin-top: clamp(40px, 7vh, 88px); display: grid; gap: 1.4rem; }
.cadence li:nth-child(1) { max-width: 24em; font-size: var(--t-state); font-weight: 380; line-height: 1.18; }
.cadence li:nth-child(2) { font-size: var(--t-lead); line-height: 1.3; }
.cadence li:nth-child(3) { color: var(--silt); }
.week-fail { margin-top: clamp(48px, 8vh, 96px); max-width: 32rem; color: var(--silt); }

@media (min-width: 700px) {
  .week-title .s1 { grid-column: 1 / -1; }
  .week-title .s2 { grid-column: 5 / -1; }
  .slot-week { grid-column: 1 / 6; grid-row: 2 / span 2; width: 100%; aspect-ratio: 1; }
  .week-one { grid-column: 7 / 12; grid-row: 2; margin-top: clamp(40px, 7vh, 80px); }
  .cadence { grid-column: 7 / -1; grid-row: 3; }
  .cadence li:nth-child(2) { margin-left: 10%; }
  .cadence li:nth-child(3) { margin-left: 20%; }
  .week-fail { grid-column: 2 / 9; }
}

/* ---------- when we say no / test ---------- */

.test-title { font-size: calc(var(--t-head) * 0.86); font-weight: 480; row-gap: 0.12em; }
.test-title .s1 { font-stretch: 112%; }
.t-no { margin-top: clamp(40px, 7vh, 88px); max-width: 20em; font-size: var(--t-state); font-weight: 380; line-height: 1.16; }
.slot-test { margin-top: 2.6rem; aspect-ratio: 1; width: 78%; justify-self: end; }
.slot-test .frame { inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
.slot-test .frame rect { stroke: var(--brass); transition-duration: 1.4s; }
.slot-test.is-boxed .frame rect { opacity: 1; }
.t-test { margin-top: 2.6rem; max-width: 34rem; }
.t-stop { margin-top: 2.2rem; max-width: 26em; font-size: var(--t-lead); line-height: 1.34; }

@media (min-width: 700px) {
  .test-title .s1 { grid-column: 1 / 8; }
  .test-title .s2 { grid-column: 3 / -1; }
  .t-no { grid-column: 1 / 7; }
  .slot-test { grid-column: 8 / -1; grid-row: 2 / span 3; width: 100%; margin-top: clamp(40px, 7vh, 88px); }
  .t-test { grid-column: 2 / 7; }
  .t-stop { grid-column: 1 / 7; margin-top: 3rem; }
}

/* ---------- faq ---------- */

.faq-title { font-stretch: 125%; font-weight: 300; font-size: calc(var(--t-head) * 0.9); }
.faq-plate { margin-top: clamp(32px, 5vh, 56px); }
.slot-faq { aspect-ratio: 16 / 10; }
.faq-list { margin-top: clamp(32px, 5vh, 56px); border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.15rem 2.6rem 1.15rem 0;
  font-size: var(--t-lead);
  font-weight: 440;
  line-height: 1.28;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--silt);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list summary:hover { color: #f3ecdd; }
.faq-list details[open] summary { color: var(--brass); }
.faq-list details[open] summary::before,
.faq-list details[open] summary::after { background: var(--brass); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 2.6rem 1.5rem 0; max-width: 40rem; color: var(--silt); }

@media (min-width: 700px) {
  .faq-title { grid-column: 6 / -1; }
  .faq-plate { grid-column: 1 / 5; grid-row: 1 / span 2; align-self: stretch; margin-top: 0; }
  .slot-faq { position: sticky; top: calc(var(--bar-h) + 12vh); aspect-ratio: 1; }
  .faq-list { grid-column: 6 / -1; }
}

/* ---------- close ---------- */

.ch-close { padding-bottom: clamp(88px, 14vh, 160px); }
.close-title {
  font-size: clamp(2.3rem, 0.7rem + 5vw, 5.9rem);
  font-weight: 470;
  font-stretch: 118%;
  line-height: 0.98;
  letter-spacing: 0.004em;
  text-wrap: balance;
}
.close-copy { margin-top: clamp(32px, 6vh, 72px); display: grid; gap: 1.1rem; }
.close-copy p { max-width: 28rem; }
.close-copy p:nth-child(1) { font-size: var(--t-lead); line-height: 1.34; }
.close-copy p:nth-child(2) { color: var(--silt); }
.close-copy p:nth-child(3) { font-size: var(--t-lead); line-height: 1.34; }
.close-copy p:nth-child(4) { color: var(--silt); }
.slot-close { margin-top: 2.6rem; aspect-ratio: 1; }
.close-act { margin-top: 2.6rem; display: grid; justify-items: start; gap: 1rem; }

@media (min-width: 700px) {
  .close-title { grid-column: 1 / -1; }
  .close-copy { grid-column: 1 / 6; grid-row: 2; }
  .close-copy p:nth-child(3), .close-copy p:nth-child(4) { margin-left: 12%; }
  .slot-close { grid-column: 7 / -1; grid-row: 2 / span 2; margin-top: clamp(32px, 6vh, 72px); width: min(100%, 72vh); justify-self: end; }
  .close-act { grid-column: 1 / 6; grid-row: 3; margin-top: 3rem; }
}

/* ---------- footer ---------- */

.foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  padding: 2.6rem var(--gutter) calc(2.4rem + env(safe-area-inset-bottom));
  background: var(--well);
  color: var(--silt);
  font-size: var(--t-small);
}
.foot-word { width: auto; height: 12px; aspect-ratio: 6939.7 / 710.8; color: var(--sand); }
.foot-mail { color: var(--sand); }

@media (min-width: 700px) {
  .foot { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .foot-mail { justify-self: center; }
}

/* ---------- 404 ---------- */

.nf-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.4rem;
  padding: var(--gutter);
}
.nf-main .brand-word { height: 13px; }
.nf-title { margin-top: 3rem; font-size: var(--t-head); font-weight: 470; font-stretch: 118%; line-height: 0.98; }
.nf-text { max-width: 30rem; color: var(--silt); }

/* ---------- motion preferences ---------- */

.motion-off .str .wave { animation: none; }
.motion-off .frame rect,
.motion-off .guide path,
.motion-off .case h3,
.motion-off .step,
.motion-off .step-n { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html:not(.js) .str .wave { animation: none; }
  html:not(.js) { scroll-behavior: auto; }
}

@media print {
  .sand, .bar, .figures, .motion-toggle { display: none !important; }
  html, body { background: #fff; color: #000; }
}
