/* OneMissingPiece landing page.
   One motif runs the page: the logo's frame with its top-right corner missing, and that corner
   sitting detached beside it in amber. Amber marks the next step and nothing else. */

:root {
  --ground: #EEF2EF;
  --sheet: #FFFFFF;
  --raised: #E6ECE8;
  --ink: #12201C;
  --muted: #55675F;
  --edge: #7B8D86;
  --petrol: #0E2E2A;
  --petrol-soft: #DDE8E4;
  --on-petrol: #EEF2EF;
  --on-petrol-muted: #A9C4BD;
  --teal: #14655B;
  --amber: #F3B43F;
  --amber-strong: #E5A42A;
  --amber-soft: #FDF1D6;

  --font: "Archivo", system-ui, sans-serif;
  --font-ur: "Noto Sans Arabic", "Archivo", sans-serif;

  /* Five sizes do all the work. */
  --s-xl: clamp(40px, 5.2vw, 80px);
  --s-l: clamp(32px, 3.9vw, 58px);
  --s-m: clamp(24px, 2.3vw, 34px);
  --s-body: 18px;
  --s-small: 16px;

  --m: max(clamp(20px, 2.8vw, 40px), calc((100vw - 1520px) / 2));
  --gap: 24px;
  --section: clamp(112px, 12vw, 176px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--s-body);
  line-height: 1.5;
  font-stretch: 100%;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }
[lang="ur"] { font-family: var(--font-ur); line-height: 1.8; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.js-only { display: none; }
.js .js-only { display: flex; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--amber); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }

/* Display type: condensed, bold, tight. */
.hero__title, .story__title, .how__clause, .choose__title, .board h2, .season__title,
.fixers__title, .faq__title, .get__title, .card__title, .footer__name {
  font-weight: 700;
  font-stretch: 84%;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

/* ---- The motif ----------------------------------------------------------------------------
   .notched cuts the top-right corner out of a block (--nw by --nh, 16 by 24 in the mark).
   .piece is that corner as an L, detached up and to the right like the mark's amber piece. */
.notched {
  --nw: 64px;
  --nh: calc(var(--nw) * 1.5);
  clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%);
}
.has-piece { position: relative; }
.piece {
  --t: calc(var(--nw) * 0.6875);
  position: absolute;
  width: var(--nw);
  height: var(--nh);
  right: calc(var(--nw) * -0.25);
  top: calc(var(--nw) * -0.19);
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - var(--t)) 100%, calc(100% - var(--t)) var(--t), 0 var(--t));
  z-index: 2;
}

/* The one button shape: square, amber, its own corner notched. */
.button {
  --nw: 12px;
  --nh: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px 0 22px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 650;
  font-size: var(--s-body);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button__icon { width: 18px; height: 18px; margin-right: 10px; flex: none; }
button.button { border: 0; cursor: pointer; font-family: inherit; }
.button--small { min-height: 48px; padding: 0 26px 0 16px; font-size: var(--s-small); }
@media (hover: hover) and (pointer: fine) { .button:hover { background: var(--amber-strong); } }
.text-button {
  min-height: 44px; min-width: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em;
}

/* ---- Navigation --------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ground);
  transition: translate 320ms var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--m) 0;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 650; font-size: 18px; color: var(--teal); }
.wordmark__mark { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 28px; font-size: var(--s-small); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; text-underline-offset: 0.25em; }
.nav__links li:last-child a { font-weight: 650; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { text-decoration: underline; } }
.nav.is-hidden { translate: 0 -100%; }
.nav.is-hidden:focus-within { translate: 0 0; }
section[id] { scroll-margin-top: 72px; }

/* ---- Hero --------------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: max(100svh, 865px);
  margin-top: -62px;
  padding: 150px var(--m) 0;
  overflow: hidden;
}
.hero__copy { position: relative; z-index: 1; max-width: 54%; }
.hero__title { font-size: var(--s-xl); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title [data-line] { display: block; }
.hero__lead { margin-top: 36px; max-width: 40ch; }
.hero__copy .button { margin-top: 32px; }
.hero__facts { display: grid; gap: 12px; margin-top: 40px; font-size: var(--s-small); }
.hero__facts li { display: flex; align-items: center; gap: 12px; }
.hero__facts li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--teal); clip-path: polygon(0 0, 66% 0, 66% 34%, 100% 34%, 100% 100%, 0 100%); }
/* The stage carries the notch on its own background layer, so the detached piece can sit outside it. */
.hero__stage {
  --nw: 104px;
  position: absolute;
  left: calc(var(--m) + (100% - 2 * var(--m) + var(--gap)) / 12 * 4);
  right: var(--m);
  top: clamp(340px, 42%, 420px);
  bottom: 0;
  clip-path: none;
}
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--petrol);
  clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%);
}
.hero__stage .piece { right: calc(var(--nw) * -0.14); }
.hero__stage .ui { position: absolute; left: 56px; top: 56px; width: min(580px, calc(100% - 112px)); }

/* The neighbourhood behind the message box: who the message reaches. */
.hero-map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 620px;
  perspective: 900px;
  overflow: hidden;
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%);
}
.hero-map__plane { position: absolute; left: 50%; top: 58%; width: 520px; height: 640px; margin: -320px 0 0 -260px; transform-style: preserve-3d; transform: rotateX(42deg) rotateZ(-8deg); }
.hero-map svg { position: absolute; inset: 0; width: 520px; height: 640px; max-width: none; }
.hero-map__roads path { fill: none; stroke: #1E4F48; stroke-width: 12; }
.hero-map__blocks rect { fill: #133A35; }
.hero-map__ring { fill: rgba(243, 180, 63, 0.06); stroke: var(--amber); stroke-width: 2; stroke-dasharray: 6 10; transform-box: fill-box; transform-origin: center; }
.hero-map__ln { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: opacity 300ms ease; }
.hero-map__me { fill: var(--on-petrol); }
.hero-map__fixer { fill: var(--amber); transition: opacity 300ms ease; }
.hero-pin, .hero-offer {
  position: absolute;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  transform-origin: 0 0;
  transform: rotateZ(8deg) rotateX(-42deg) translate(-50%, -150%);
  padding: 5px 9px;
  background: var(--sheet);
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 400ms ease;
}
.hero-offer { transform: rotateZ(8deg) rotateX(-42deg) translate(-30%, -280%); background: var(--amber); font-weight: 650; opacity: 0; }
.hero-map.has-offer .hero-offer { opacity: 1; }
.hero-map.no-match .hero-map__ln, .hero-map.no-match .hero-pin, .hero-map.no-match .hero-map__fixer { opacity: 0; }
.hero__stage .ui { transform: perspective(1400px) rotateY(calc(var(--tx, 0) * 5deg)) rotateX(calc(var(--ty, 0) * -5deg)); transition: transform 500ms var(--ease-out); }

/* ---- Interface fragments: the app's own Field Manual look. --------------------------------- */
.ui {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.ui p { margin: 0; }
.ui__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #D7DFDA; } /* taste-skill-ignore: the app's own sheet rule */
.ui__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-stretch: 84%; font-size: 18px; }
.ui__brand svg { width: 22px; height: 22px; }
.ui__city select {
  appearance: none;
  min-height: 44px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--petrol-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312201C' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
  font-size: 14px;
  cursor: pointer;
}
.ui__thread { display: flex; flex-direction: column; gap: 12px; padding: 14px 0; }
.bubble { max-width: 82%; border-radius: 14px; padding: 10px 14px; }
.bubble--me { align-self: flex-end; background: var(--petrol); color: var(--on-petrol); border-bottom-right-radius: 4px; display: flex; gap: 12px; align-items: flex-end; }
.bubble--them { align-self: flex-start; background: var(--raised); border-bottom-left-radius: 4px; }
.bubble__photo { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.reply { background: var(--ground); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.reply__title { font-weight: 700; font-stretch: 84%; font-size: 18px; line-height: 1.15; }
.reply__ur { font-size: 14px; color: var(--muted); text-align: right; }
.reply__note { color: var(--muted); }
.reply__also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; color: var(--muted); }
.reply__also button, .ui__chips button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--sheet);
  cursor: pointer;
  font-size: 14px;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.reply__also button:active, .ui__chips button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .reply__also button:hover, .ui__chips button:hover { background: var(--petrol-soft); }
}
.ui__composer { flex-wrap: wrap; gap: 8px; }
.ui__composer input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--sheet);
  font-size: 16px;
}
.ui__composer input:focus-visible { outline-offset: 1px; }
.ui__send {
  width: 48px; height: 48px; flex: none; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--amber); color: var(--ink); display: grid; place-items: center;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.ui__send svg { width: 22px; height: 22px; }
.ui__send:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .ui__send:hover { background: var(--amber-strong); } }
.ui__error { flex-basis: 100%; color: #AF2936; font-size: 14px; min-height: 0; }
.ui__error:empty { display: none; }
.ui__chips { flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.stamp {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 84%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1.2;
}
.stamp--amber { color: #875A08; background: var(--amber-soft); }
.ui-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--edge); border-radius: 10px; font-weight: 600; font-size: 14px;
}
.ui-btn--amber { background: var(--amber); border-color: var(--amber); }
.ui-btn--wide { width: 100%; margin-top: 8px; }
.ui__heading { font-weight: 700; font-stretch: 84%; font-size: 18px; margin-bottom: 10px; }
.ui__fine { color: var(--muted); font-size: 14px; margin-top: 10px; }
.disc { width: 36px; height: 36px; border-radius: 50%; background: var(--petrol-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.offer { border: 1px solid #D7DFDA; border-radius: 12px; padding: 12px; margin-top: 10px; }
.offer__who { display: flex; gap: 10px; align-items: center; }
.offer__who > div { flex: 1; display: grid; }
.offer__who span:not(.disc):not(.stamp) { color: var(--muted); font-size: 14px; }
.offer__lines { display: grid; gap: 4px; margin-top: 10px; font-size: 14px; }
.offer__lines div { display: flex; justify-content: space-between; gap: 12px; }
.offer__lines dd { font-variant-numeric: tabular-nums; }
.offer__total { border-top: 1px solid #D7DFDA; /* taste-skill-ignore: the app's own sheet rule */ padding-top: 6px; margin-top: 2px; font-weight: 700; font-size: 16px; }
.offer__actions { display: flex; gap: 8px; margin-top: 12px; }
.sent { display: flex; gap: 10px; align-items: flex-start; background: var(--petrol-soft); border-radius: 10px; padding: 10px 12px; margin-top: 6px; }
.sent svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.sent div { display: grid; gap: 2px; }
.sent span { color: var(--muted); font-size: 14px; }
.booked { display: grid; gap: 6px; justify-items: start; margin-top: 14px; padding: 12px; background: var(--ground); border-radius: 10px; }
.done__photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }

/* ---- The story on a map -------------------------------------------------------------------
   A neighbourhood seen from above. Scrolling moves a 3D camera over it; chapters add their people,
   lines and offers. Cards stand upright like billboards: each one undoes the plane's rotation. */
.story { position: relative; margin-top: var(--section); }
.story__stage { position: relative; background: #0A2421; color: var(--on-petrol); overflow: hidden; }
.map { position: relative; height: min(72svh, 720px); perspective: 1500px; perspective-origin: 50% 30%; overflow: hidden; }
.map__plane {
  --rx: 50;
  --rz: -20;
  --cs: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1600px;
  height: 1000px;
  transform-origin: 0 0;
  transform-style: preserve-3d;
  transform: rotateX(50deg) rotateZ(-20deg) scale(0.6) translate(-960px, -470px);
}
.map__svg, .map__lines { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; max-width: none; }
.map__label { fill: #4E8A7F; font-family: var(--font); font-weight: 700; font-size: 32px; }
.ln { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; transition: opacity 500ms ease; }
.ln--old { stroke: #C9D8D3; stroke-width: 4; }
.ln--new { stroke: var(--amber); stroke-width: 8; }
.ln--route { stroke: var(--amber); stroke-width: 14; }
.ring { fill: rgba(243, 180, 63, 0.07); stroke: var(--amber); stroke-width: 3; stroke-dasharray: 10 14; transform-box: fill-box; transform-origin: center; transition: opacity 600ms ease, scale 1000ms var(--ease-expo); }
.mk { transition: opacity 500ms ease; }
.mk--home rect { fill: var(--on-petrol); }
.mk--old rect { fill: #7B8D86; }
.mk--fixer rect { fill: var(--amber); }
.anchor { position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); width: 0; height: 0; transform-style: preserve-3d; }
.bb { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform-origin: 0 0; transform: rotateZ(calc(var(--rz) * -1deg)) rotateX(calc(var(--rx) * -1deg)) scale(var(--cs)); }
.bb__in { position: absolute; left: 0; bottom: 18px; translate: -50% 0; transform-origin: 50% 100%; transition: opacity 500ms ease, scale 650ms var(--ease-out), filter 500ms ease; }
.pcard { display: grid; gap: 6px; width: 160px; padding: 8px 8px 10px; background: var(--ground); color: var(--ink); }
.pcard--ammi { width: 190px; }
.pcard--bilal { width: 150px; }
.pcard__photo {
  --nw: 30px;
  --nh: 44px;
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%);
}
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.pcard__photo .pcard__after { position: absolute; inset: 0; }
.pcard__name { font-weight: 700; font-stretch: 84%; font-size: 18px; line-height: 1.1; }
.pcard__name--late { font-weight: 500; font-stretch: 100%; font-size: 14px; color: var(--muted); }
.pcard__say { position: absolute; top: -20px; left: -26px; padding: 6px 10px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; rotate: -4deg; }
.pcard__say--done { left: auto; right: -30px; top: 40%; rotate: 3deg; }
.tag { padding: 6px 10px; background: var(--sheet); color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; }
.msg { display: grid; gap: 8px; width: 260px; padding: 12px; background: var(--sheet); color: var(--ink); border-radius: 12px; font-size: 14px; line-height: 1.4; }
.msg__brand { display: flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 700; font-size: 14px; }
.msg__brand svg { width: 16px; height: 16px; }
.msg__bubble { justify-self: end; padding: 8px 11px; background: var(--petrol); color: var(--on-petrol); border-radius: 12px 12px 3px 12px; }
.msg__sent { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.msg__sent::before { content: ""; width: 12px; height: 12px; background: var(--amber); flex: none; }
.offer-tag { display: grid; gap: 1px; padding: 10px 14px 10px 20px; background: var(--sheet); color: var(--ink); font-size: 14px; white-space: nowrap; }
.offer-tag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--amber); }
.offer-tag b { font-size: 18px; font-stretch: 84%; }
.offer-tag span:last-child { color: var(--muted); }

.story__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding: 0 var(--m) 56px; }
.story__title { grid-column: 1 / 7; font-size: var(--s-l); }
.story__lead { grid-column: 7 / 13; font-size: var(--s-m); font-weight: 500; line-height: 1.25; }
.story__panel { position: relative; padding: 36px var(--m) 56px; }
.story__chapters { display: grid; gap: 22px; max-width: 64ch; margin: 28px 0 0; padding: 0; list-style: none; }
.chapter h3 { font-size: var(--s-m); font-weight: 700; font-stretch: 84%; line-height: 1.05; }
.chapter p { margin-top: 6px; }
.story__steps { display: none; }

/* The WebGL city (story3d.js): the canvas replaces the CSS plane, the cards float over it. */
.map__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map__overlay { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.story--gl .map__plane { display: none; }
.story--gl .anchor { left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.story--gl .bb { transform: none; }
.map__tag { width: auto; height: auto; translate: -50% -50%; color: #7FB3A8; font-weight: 700; font-size: 18px; white-space: nowrap; }

/* Pinned: the stage holds while the chapters pass. The captions have their own column beside the map. */
.story--live { height: calc(var(--chapters) * 72svh + 100svh); }
.story--live .story__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(340px, 32%) minmax(0, 1fr); }
.story--live .map { position: relative; grid-column: 2; grid-row: 1; height: 100%; perspective-origin: 50% 34%; }
.story--live .map__plane { left: 50%; top: 54%; }
.story--live .story__panel { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 40px 48px var(--m); background: var(--ground); color: var(--ink); }
.story--live .story__chapters { display: grid; margin: 0; }
.story--live .chapter { grid-area: 1 / 1; visibility: hidden; opacity: 0; translate: 0 14px; transition: opacity 380ms ease, translate 520ms var(--ease-out), visibility 0s linear 380ms; }
.story--live .chapter.is-active { visibility: visible; opacity: 1; translate: 0 0; transition: opacity 380ms ease, translate 520ms var(--ease-out); }
.story--live .chapter h3 { font-size: var(--s-l); }
.story--live .chapter p { margin-top: 18px; max-width: 32ch; }
.story--live .story__steps { display: flex; gap: 6px; margin-top: 40px; }
.story__steps i { width: 24px; height: 6px; background: #C9D3CE; transition: background-color var(--t-ui) ease; }
.story__steps i.is-on { background: var(--ink); }
.story__steps i.is-now { background: var(--amber); }
.story--live:not(.at-1) .show-1, .story--live:not(.at-2) .show-2, .story--live:not(.at-3) .show-3,
.story--live:not(.at-4) .show-4, .story--live:not(.at-5) .show-5, .story--live:not(.at-6) .show-6 { opacity: 0; scale: 0.82; }
.story--live:not(.at-1b) .show-1b { opacity: 0; }
.story--live.at-3 .dim-3 { opacity: 0.22; filter: grayscale(1); }
.story--live.at-3 .bb__in.dim-3, .story--live.at-4 .hide-4, .story--live.at-5 .hide-5, .story--live.at-6 .hide-6 { opacity: 0; scale: 0.82; }

/* ---- How it works: drag through four stages ----------------------------------------------- */
.how {
  margin-top: var(--section);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 76svh;
}
.how__words { display: flex; flex-direction: column; background: var(--petrol-soft); padding: 56px var(--m); }
.how__clause { font-size: var(--s-l); max-width: 11ch; min-height: 2em; }
.how__detail { margin-top: 28px; max-width: 34ch; }
.how__screen { background: var(--petrol); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; padding: 56px 24px; min-height: 640px; }
.ui--phone { position: relative; width: 420px; max-width: 100%; padding-top: 44px; }
.ui--phone > .stamp { position: absolute; top: 14px; right: 16px; }
.state { display: flex; flex-direction: column; gap: 12px; }
.js .state { display: none; }
.js .how[data-stage="0"] [data-state="0"],
.js .how[data-stage="1"] [data-state="1"],
.js .how[data-stage="2"] [data-state="2"],
.js .how[data-stage="3"] [data-state="3"] { display: flex; animation: state-in 200ms ease both; }
.state + .state { margin-top: 32px; }
.js .state + .state { margin-top: 0; }
.state .offer { margin-top: 0; }
.state .bubble { max-width: 88%; }
@keyframes state-in { from { opacity: 0; } to { opacity: 1; } }
.how__stops { display: grid; gap: 2px; margin-top: auto; padding-top: 40px; }
.how__stops button {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: var(--s-m); font-weight: 700; font-stretch: 84%; line-height: 1.05; color: var(--muted);
  transition: color var(--t-hover) ease;
}
.how__stops button::before {
  content: ""; width: 0.5em; height: 0.5em; flex: none; background: var(--on-petrol-muted);
  clip-path: polygon(0 0, 66% 0, 66% 34%, 100% 34%, 100% 100%, 0 100%);
  transition: background-color var(--t-hover) ease;
}
.how__stops button[aria-current] { color: var(--ink); }
.how__stops button[aria-current]::before { background: var(--amber); }
@media (hover: hover) and (pointer: fine) { .how__stops button:hover { color: var(--ink); } }

@media (min-width: 1024px) { .how__screen .ui--phone { zoom: 1.2; } }

/* ---- One control, blown up ---------------------------------------------------------------- */
.choose {
  position: relative;
  margin-top: var(--section);
  min-height: 80svh;
  background: var(--teal);
  color: var(--on-petrol);
  padding: 72px var(--m);
  overflow: hidden;
  transition: background-color 400ms var(--ease-out);
}
.choose.is-off { background: var(--petrol); }
.choose__words { position: relative; z-index: 1; max-width: 520px; }
.choose__title { font-size: var(--s-l); max-width: 12ch; }
.choose__lead { margin-top: 16px; max-width: 40ch; }
/* The switch runs off the right edge of the section on purpose; everything written on it stays in view. */
.choose__control { position: absolute; left: 30%; right: 0; bottom: -3svh; font-size: clamp(48px, min(11svh, 7vw), 112px); }
.big-switch {
  display: flex; align-items: center; gap: 0.7em; width: 100%;
  padding: 0.7em;
  background: var(--sheet); color: var(--ink);
  border: 0; border-radius: 0.5em 0 0 0.5em; cursor: pointer; text-align: left;
  font-size: 1em;
  transition: transform var(--t-press) var(--ease-out);
}
.big-switch:active { transform: scale(0.99); }
.big-switch__label { display: grid; gap: 0.15em; min-width: 0; }
.big-switch__name { font-weight: 700; font-stretch: 84%; font-size: 1em; line-height: 1.05; white-space: nowrap; }
.big-switch__state { font-size: 0.42em; color: var(--muted); }
.big-switch__track { position: relative; width: 3.6em; height: 2em; border-radius: 1em; background: var(--teal); flex: none; transition: background-color var(--t-ui) ease; }
.big-switch__thumb { position: absolute; top: 0.2em; left: 1.8em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--amber); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) ease; }
.big-switch[aria-checked="false"] .big-switch__track { background: var(--edge); }
.big-switch[aria-checked="false"] .big-switch__thumb { transform: translateX(-1.6em); background: var(--sheet); }

/* ---- Close-ups on a board ----------------------------------------------------------------- */
.board {
  margin: 0 var(--m);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 104px;
  gap: 8px;
  grid-template-areas:
    "h h h h h h a a a a a a"
    "h h h h h h a a a a a a"
    "b b b c c c a a a a a a"
    "b b b c c c a a a a a a"
    "b b b c c c d d d d d d"
    "b b b c c c d d d d d d"
    "e e e f f f g g g g g g"
    "e e e f f f g g g g g g";
}
.tile { position: relative; overflow: hidden; background: var(--raised); }
.tile--head { grid-area: h; background: var(--petrol); color: var(--on-petrol); padding: 28px; }
.tile--head h2 { font-size: var(--s-l); }
.tile--a { grid-area: a; background: var(--petrol-soft); }
.tile--b { grid-area: b; background: var(--sheet); }
.tile--c { grid-area: c; background: var(--amber-soft); }
.tile--d { grid-area: d; background: var(--raised); }
.tile--e { grid-area: e; background: var(--petrol-soft); }
.tile--f { grid-area: f; background: var(--petrol); }
.tile--g { grid-area: g; background: var(--amber); }
.tile__ui { position: absolute; }
.tile__cap { position: absolute; left: 32px; bottom: 28px; right: 32px; max-width: 36ch; }
.tile__cap h3 { font-size: var(--s-body); font-weight: 650; }
.tile__cap p { font-size: 16px; }
.tile--a .tile__ui { font-size: 44px; right: 32px; top: 40px; }
.tile--a .bubble { max-width: none; white-space: nowrap; border-radius: 0.3em; border-bottom-right-radius: 0.08em; padding: 0.3em 0.45em; }
.tile--b .tile__ui { font-size: 30px; left: 24px; right: 24px; top: 32px; }
.tile--b .offer__lines div { flex-direction: column; gap: 0; }
.tile--b .offer__lines dd { font-weight: 700; }
.tile--b .offer__lines { font-size: 1em; gap: 0.25em; }
.tile--c .tile__ui { font-size: 48px; left: 32px; top: 56px; transform: rotate(-6deg); }
.tile--c .stamp { font-size: 1em; border-width: 0.05em; border-radius: 0.12em; padding: 0.06em 0.18em; }
.tile--d .tile__ui { font-size: 36px; right: 32px; top: 32px; }
.chip-pin { display: inline-flex; align-items: center; gap: 0.25em; padding: 0.35em 0.6em; background: var(--sheet); border-radius: 0.3em; font-weight: 650; white-space: nowrap; }
.chip-pin svg { width: 0.9em; height: 0.9em; color: var(--teal); }
.tile--e .tile__ui { font-size: 28px; right: 28px; top: 28px; transform: rotate(4deg); }
.tile--e .stamp { font-size: 1em; border-width: 0.05em; border-radius: 0.12em; padding: 0.06em 0.18em; }
.tile__photo { --nw: 44px; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__cap--on-photo { color: var(--on-petrol); background: var(--petrol); padding: 12px 14px; left: 0; bottom: 0; right: auto; max-width: 30ch; }
.tile--g .tile__ui { font-size: 36px; right: 32px; top: 32px; }
.tile--g .stamp { font-size: 1em; border-width: 0.05em; border-radius: 0.12em; padding: 0.06em 0.18em; white-space: nowrap; }

/* ---- What breaks this season: cards fold into spines -------------------------------------- */
.season { margin-top: var(--section); }
.season__pin { padding: 0 var(--m); }
.season__title { font-size: var(--s-l); }
.deck { display: grid; gap: 12px; margin-top: 40px; }
.card { display: grid; }
.card:nth-child(4n+1) { background: var(--petrol); color: var(--on-petrol); }
.card:nth-child(4n+2) { background: var(--teal); color: var(--on-petrol); }
.card:nth-child(4n+3) { background: var(--petrol-soft); }
.card:nth-child(4n+4) { background: var(--raised); }
.card__spine { display: none; }
.card__body { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 32px; min-height: 300px; }
.card__art { position: absolute; right: 32px; top: 28px; width: 72px; height: 72px; color: var(--on-petrol-muted); }
.card__art .tint { fill: currentColor; fill-opacity: 0.18; }
.card:nth-child(4n+3) .card__art, .card:nth-child(4n+4) .card__art { color: var(--teal); }
.card__title, .card__text { padding-right: 88px; }
.card__title { font-size: var(--s-m); }
.card__title .stamp { vertical-align: middle; margin-left: 10px; color: inherit; }
.card__text { max-width: 44ch; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.card__ask { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: 0.2em; }
.card.is-now .card__title::after {
  content: "On now";
  display: inline-block;
  margin-left: 12px;
  padding: 4px 8px;
  background: var(--amber);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  font-stretch: 84%;
}
.season__all { margin-top: 32px; }
.season__all a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 650; text-underline-offset: 0.2em; }
.season__all a::before { content: ""; width: 0.7em; height: 0.7em; background: var(--teal); clip-path: polygon(0 0, 66% 0, 66% 34%, 100% 34%, 100% 100%, 0 100%); }

/* Desktop: the deck pins while four seasons pass. The open card fills the row; the others fold
   into spines on either side, their names set upright like books on a shelf. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .js .season { height: 200svh; margin-top: 0; }
  .js .season__pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .js .deck { display: flex; gap: 0; height: min(500px, 56svh); margin-top: 40px; }
  .js .card { flex: 0 0 112px; min-width: 0; height: 100%; position: relative; overflow: hidden; transition: flex-basis 560ms var(--ease-in-out); }
  .js .card.is-open { flex: 1 1 auto; }
  .js .card__spine {
    display: flex; align-items: flex-start; justify-content: center;
    position: absolute; inset: 0; z-index: 1; width: 100%;
    background: transparent; border: 0; cursor: pointer; padding: 28px 0; color: inherit;
    font-size: var(--s-m); font-weight: 700; font-stretch: 84%; white-space: nowrap;
    writing-mode: vertical-rl; transform: rotate(180deg);
  }
  .js .card.is-open .card__spine { display: none; }
  .js .card:not(.is-open) .card__body { display: none; }
  .js .card.is-open .card__body { animation: state-in 420ms ease 240ms both; }
  .js .card__body { width: 100%; height: 100%; min-height: 0; }
  .js .card__art { top: 50%; right: 6%; width: min(30%, 300px); height: auto; translate: 0 -50%; }
  .js .card__title, .js .card__text { padding-right: 0; }
  .js .card__foot { padding-right: calc(min(30%, 300px) + 6%); }
  .js .card__title { font-size: var(--s-l); }
  .js .card__text { font-size: var(--s-m); line-height: 1.25; max-width: 30ch; }
  .js .season__all { margin-top: 32px; }
}

/* ---- For fixers --------------------------------------------------------------------------- */
.fixers { margin-top: var(--section); padding: 0 var(--m); }
.fixers__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(24px, 5vw, 68px);
  background: var(--petrol);
  color: var(--on-petrol);
}
.fixers__head { grid-column: 1 / -1; }
.fixers__title { font-size: var(--s-l); }
.fixers__gloss { margin-top: 16px; color: var(--on-petrol-muted); font-size: var(--s-m); font-weight: 500; }
.fixers__photo {
  --nw: clamp(72px, 7vw, 112px);
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  clip-path: none;
}
.fixers__photo img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%); }
.fixers__text { align-self: center; display: grid; gap: 32px; justify-items: start; }
.fixers__text h3 { font-size: var(--s-m); font-weight: 700; font-stretch: 84%; line-height: 1.05; }
.fixers__text p { margin-top: 10px; max-width: 36ch; }

/* ---- Questions: the list, and the open answer large beside it -------------------------------- */
.faq { margin-top: var(--section); padding: 0 var(--m); }
.faq__title { font-size: var(--s-l); }
.faq__index { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-content: start; margin-top: 40px; min-height: 440px; }
.faq__item { grid-column: 1 / 6; }
.faq__item h3 { font-size: inherit; font-weight: inherit; }
.faq__item button {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: var(--s-m); font-weight: 700; font-stretch: 84%; line-height: 1.05; color: var(--muted);
  transition: color var(--t-hover) ease;
}
.faq__item button::before {
  content: ""; width: 0.45em; height: 0.45em; flex: none; background: var(--on-petrol-muted);
  clip-path: polygon(0 0, 66% 0, 66% 34%, 100% 34%, 100% 100%, 0 100%);
  transition: background-color var(--t-hover) ease;
}
.faq__item button[aria-expanded="true"] { color: var(--ink); }
.faq__item button[aria-expanded="true"]::before { background: var(--amber); }
@media (hover: hover) and (pointer: fine) { .faq__item button:hover { color: var(--ink); } }
.faq__a {
  --nw: 56px;
  --nh: 84px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc((100% + var(--gap)) / 12 * 6);
  display: flex;
  align-items: flex-end;
  padding: 48px;
  background: var(--petrol);
  color: var(--on-petrol);
  clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%);
  animation: state-in 320ms ease both;
}
.faq__a p { max-width: 26ch; font-size: var(--s-m); font-weight: 500; line-height: 1.25; }

/* ---- Every kind of repair --------------------------------------------------------------------- */
.services { margin-top: var(--section); padding: 0 var(--m); }
.services__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.services__title { grid-column: 1 / 8; font-size: var(--s-l); font-weight: 700; font-stretch: 84%; letter-spacing: -0.02em; line-height: 0.98; }
.services__lead { grid-column: 9 / 13; }
.services__popular { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px var(--gap); margin-top: 48px; }
.services__popular a {
  display: flex; align-items: center; gap: 14px; min-height: 64px; text-decoration: none;
  font-size: var(--s-m); font-weight: 700; font-stretch: 84%; line-height: 1.05;
  transition: color var(--t-hover) ease;
}
.services__popular a::before { content: ""; width: 0.45em; height: 0.45em; flex: none; background: var(--amber); clip-path: polygon(0 0, 66% 0, 66% 34%, 100% 34%, 100% 100%, 0 100%); }
@media (hover: hover) and (pointer: fine) { .services__popular a:hover { color: var(--teal); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.15em; } }
.services__all { columns: 4 240px; column-gap: calc(var(--gap) * 2); margin-top: 64px; }
.services__group { break-inside: avoid; margin-bottom: 28px; }
.services__group h3 { font-size: var(--s-body); font-weight: 700; }
.services__group ul { margin-top: 8px; }
.services__group li { display: inline; font-size: var(--s-small); line-height: 1.6; }
.services__group li:not(:last-child)::after { content: ", "; }
.services__cities { margin-top: 28px; max-width: 70ch; }

/* ---- The same story, in Urdu ------------------------------------------------------------------ */
.watch { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; margin-top: var(--section); padding: 0 var(--m); }
.watch__copy { grid-column: 1 / 5; }
.watch__title { font-size: var(--s-l); font-weight: 700; font-stretch: 84%; letter-spacing: -0.02em; line-height: 0.98; }
.watch__lead { margin-top: 24px; max-width: 34ch; }
.watch__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.watch__credit { margin-top: 28px; max-width: 40ch; font-size: var(--s-small); color: var(--muted); }
.watch__credit a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.watch__frame { --nw: clamp(56px, 6vw, 96px); --nh: calc(var(--nw) * 1.5); position: relative; grid-column: 5 / 13; }
.watch__clip { background: var(--petrol); clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw)) var(--nh), 100% var(--nh), 100% 100%, 0 100%); }
.watch__clip video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---- Get the app: the app itself, floating in 3D ------------------------------------------- */
.get {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  align-items: center;
  margin-top: var(--section);
  padding: clamp(56px, 5vw, 88px) var(--m);
  background: var(--petrol);
  color: var(--on-petrol);
  overflow: hidden;
}
.get__copy { grid-column: 1 / 7; position: relative; z-index: 1; }
.get__title { font-size: var(--s-xl); }
.get__lead { margin-top: 28px; max-width: 40ch; }
.get__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.get__fixer { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 0.2em; }
.get__scene { grid-column: 7 / 13; position: relative; height: clamp(560px, 44vw, 680px); perspective: 1600px; }
.get__rig {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(8deg + var(--py, 0) * -8deg)) rotateY(calc(-22deg + var(--px, 0) * 14deg));
  transition: transform 700ms var(--ease-out);
}
.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 620px;
  margin: -310px 0 0 -150px;
  padding: 11px;
  background: #061A18;
  border-radius: 46px;
  transform-style: preserve-3d;
}
.phone::before { content: ""; position: absolute; inset: 0; border-radius: 46px; background: #020B0A; transform: translateZ(-18px); }
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 14px 14px; border-radius: 36px; overflow: hidden; font-size: 13px; }
.phone__screen .ui__thread { flex: 1; }
.phone__screen .ui__brand { font-size: 18px; }
.phone__screen .bubble__photo { width: 48px; height: 60px; }
.phone__screen .reply__title { font-size: 16px; }
.phone__composer { display: flex; align-items: center; justify-content: space-between; padding: 7px 7px 7px 12px; border: 1px solid var(--edge); border-radius: 10px; color: var(--muted); }
.phone__composer i { width: 30px; height: 30px; background: var(--amber); border-radius: 8px; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--sheet); color: var(--ink); font-size: 14px; line-height: 1.3; }
.float div { display: grid; }
.float--offer { left: 0; top: 24%; padding-left: 22px; transform: translateZ(110px); }
.float--offer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--amber); }
.float--done { right: 0; bottom: 14%; display: grid; gap: 8px; width: 210px; transform: translateZ(160px); }
.float--done img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.float--mark { right: 8%; top: 11%; width: 110px; height: 110px; padding: 0; background: transparent; transform: translateZ(220px); }
.float--mark svg { width: 100%; height: 100%; }
.get__floor { position: absolute; left: 50%; bottom: 0; width: 320px; height: 44px; margin-left: -160px; background: #071E1B; border-radius: 50%; transform: rotateX(70deg) translateZ(-40px); }

/* ---- Footer: the mark, built large --------------------------------------------------------- */
.footer { background: #0A2421; color: var(--on-petrol); padding: 56px var(--m) 32px; }
.footer__mark { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 48px); }
.footer__blocks { height: 34svh; min-height: 200px; width: auto; aspect-ratio: 1; flex: none; margin-left: -1.5%; }
.footer__name { font-size: clamp(40px, 8.4vw, 136px); line-height: 0.82; letter-spacing: -0.035em; white-space: nowrap; padding-bottom: 0.03em; }
.footer__links { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: 56px; font-size: var(--s-small); }
.footer__links ul { grid-column: span 2; display: grid; align-content: start; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.footer__contact { grid-column: 9 / 13; display: grid; align-content: start; }
.footer__contact p { min-height: 44px; display: flex; align-items: center; }
.footer__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; font-size: var(--s-small); color: var(--on-petrol-muted); }

/* ---- 404 ---------------------------------------------------------------------------------- */
.lost { display: grid; justify-items: start; align-content: center; gap: 28px; min-height: calc(100svh - 62px); padding: 48px var(--m) 96px; }
.lost__mark { width: clamp(96px, 12vw, 160px); height: auto; }
.lost__title { max-width: 14ch; font-size: var(--s-xl); font-weight: 700; font-stretch: 84%; letter-spacing: -0.02em; line-height: 0.98; }
.lost__lead { max-width: 40ch; }

/* ---- Tablet ------------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero__copy { max-width: 70%; }
  .hero__stage { left: var(--m); top: auto; bottom: 0; height: 520px; position: absolute; }
  .hero__stage .piece { right: 0; }
  .how { min-height: 0; }
  .choose { min-height: 72svh; }
  .hero { padding-bottom: 560px; }
  .how { grid-template-columns: 1fr; grid-template-rows: auto; }
  .how__screen { order: -1; }
  .choose { min-height: 64svh; }
  .choose__control { left: var(--m); font-size: 9vw; bottom: 6svh; }
  .faq__index { display: block; min-height: 0; }
  .faq__a { position: static; display: block; margin: 4px 0 16px; padding: 24px; clip-path: none; }
  .faq__a p { max-width: 60ch; font-size: var(--s-body); line-height: 1.5; font-weight: 400; }
  .services__title, .services__lead { grid-column: 1 / -1; }
  .services__lead { margin-top: 16px; }
  .services__popular { grid-template-columns: repeat(2, 1fr); }
  .watch__copy, .watch__frame { grid-column: 1 / -1; }
  .watch__frame { order: -1; margin-bottom: 32px; }
  .get__copy, .get__scene { grid-column: 1 / -1; }
  .hero-map { left: 640px; }
  .get__scene { margin-top: 48px; height: 640px; }
  .story--live .story__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .story--live .map { grid-column: 1; grid-row: 1; perspective-origin: 50% 30%; }
  .story--live .map__plane { top: 50%; }
  .story--live .story__panel { grid-column: 1; grid-row: 2; padding: 24px var(--m) 28px; }
  .story--live .story__steps { margin-top: 20px; }
  .story__title, .story__lead { grid-column: 1 / -1; }
  .story__lead { margin-top: 20px; }
  .footer__links ul { grid-column: span 4; }
  .board { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(150px, 22vw); gap: 6px;
    grid-template-areas: "h h" "a a" "a a" "b c" "b c" "d d" "e f" "e f" "g g" "g g"; }
  .tile--a .tile__ui { font-size: 32px; right: 20px; top: 24px; }
  .tile--c .tile__ui { font-size: 30px; left: 20px; top: 24px; }
  .tile--d .tile__ui { font-size: 28px; right: 20px; top: 20px; }
  .tile--e .tile__ui { font-size: 22px; right: 20px; top: 20px; }
  .tile--g .tile__ui { font-size: 32px; right: 20px; top: 16px; }
  .footer__mark { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__name { font-size: 11vw; }
  .how__screen { min-height: 0; }
  .footer__contact { grid-column: 1 / -1; margin-top: 16px; }
}

@media (max-width: 899px) { .hero-map { display: none; } }

/* ---- Phone -------------------------------------------------------------------------------- */
@media (max-width: 719px) {
  :root { --s-xl: 10.4vw; --s-l: 9vw; --s-m: 24px; --s-body: 17px; --s-small: 15px; --section: 96px; --gap: 12px; }
  .nav { padding-top: 12px; }
  .nav__wide { display: none; }
  .wordmark { font-size: 17px; }
  .hero { margin-top: 0; padding: 40px var(--m) 0; min-height: 0; }
  .hero__copy { max-width: none; }
  .hero__lead { margin-top: 20px; }
  .hero__copy .button { margin-top: 24px; }
  .hero__stage { --nw: 48px; position: relative; left: auto; right: auto; top: auto; bottom: auto; height: auto; margin: 42px 0 0; padding: 16px 16px 0; }
  .hero__stage .piece { right: 0; top: -20px; }
  .hero__stage .ui { position: relative; left: auto; top: auto; width: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-top: calc(var(--nw) * 1.5 + 4px); }
  .hero { padding-bottom: 0; }
  .ui { padding: 14px; }
  .ui__brand { font-size: 19px; }
  .how__words { padding: 32px var(--m) 40px; order: 2; }
  .how__clause { font-size: 9vw; }
  .how__screen { padding: 32px 16px; min-height: 46svh; }
  .ui--phone { min-height: 0; }
  .how__stops { grid-template-columns: 1fr 1fr; padding-top: 24px; }
  .how__stops button { font-size: var(--s-m); }
  .choose { min-height: 66svh; padding: 48px var(--m); }
  .choose__control { left: var(--m); bottom: 6svh; font-size: 9.5vw; }

  .tile--head { padding: 20px var(--m); }
  .tile__cap { left: var(--m); right: var(--m); bottom: 16px; }
  .tile__cap p { font-size: var(--s-small); }
  .tile--a .tile__ui { font-size: 24px; }
  .tile--b .tile__ui { font-size: 18px; left: var(--m); right: var(--m); top: 16px; }
  .tile--c .tile__ui { font-size: 24px; }
  .tile--d .tile__ui { font-size: 22px; }
  .tile--e .tile__ui { font-size: 18px; right: 14px; top: 14px; }
  .tile--g .tile__ui { font-size: 21px; right: 14px; top: 14px; }
  .tile__cap--on-photo { left: 0; right: auto; bottom: 0; padding: 12px var(--m); }
  .card__body { padding: 24px; min-height: 0; }
  .fixers__panel { grid-template-columns: 1fr; }
  .fixers__photo { order: 2; }
  .footer__blocks { height: 22svh; min-height: 120px; }
  .hero-map { display: none; }
  .hero__stage .ui { transform: none; }
  .map { height: 64svh; }
  .story--live .chapter h3 { font-size: 24px; }
  .get__scene { height: 560px; margin-top: 24px; }
  .get__rig { scale: 0.86; }
  .float--done { width: 170px; right: -4%; bottom: 2%; }
  .float--offer { left: -4%; top: 56%; }
  .float--mark { right: 4%; top: 0; width: 72px; height: 72px; }
  .phone__booking { display: none; } /* on a phone the floating "work done" card sits over this part of the screen */
  .map__tag { font-size: 14px; }
  .faq__item button { font-size: var(--s-m); min-height: 56px; }
  .services__popular { grid-template-columns: 1fr; }
  .services__popular a { font-size: var(--s-m); min-height: 52px; }
  .services__all { columns: 1; }
  .board { margin: 0; grid-template-areas: "h h" "a a" "a a" "b c" "b c" "d d" "e e" "f f" "f f" "g g" "g g"; }
  .season__pin { padding: 0; }
  .season__title, .season__all { padding: 0 var(--m); }
  .deck { gap: 0; }
  .card__body { padding: 28px var(--m); }
  .footer__mark { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__name { font-size: var(--s-xl); }
  .footer__links { row-gap: 24px; }
  .footer__links ul { grid-column: span 6; }
}

/* ---- Motion ------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i) * 110ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(20px); animation: rise 640ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: var(--rd, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hero__stage .piece { animation: piece-in 700ms var(--ease-out) 700ms both; }
  .js .tile { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-expo); transition-delay: var(--rd, 0ms); }
  .js .tile.is-in { opacity: 1; transform: none; }
  .hero-map.is-drawing .hero-map__ln { animation: draw 1000ms var(--ease-expo) both; }
  .hero-map.is-drawing .hero-map__ln:nth-of-type(2) { animation-delay: 140ms; }
  .hero-map.is-drawing .hero-map__ln:nth-of-type(3) { animation-delay: 280ms; }
  .hero-map__ring { animation: pulse 2.8s var(--ease-out) infinite; }
  .phone { animation: bob 5s ease-in-out infinite alternate; }
  .float--offer { animation: bob 4.2s ease-in-out -1s infinite alternate; }
  .float--done { animation: bob 4.8s ease-in-out -2.4s infinite alternate; }
  .float--mark svg { animation: spin 9s linear infinite; }
}
@keyframes line-up { to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bob { from { translate: 0 -10px; } to { translate: 0 10px; } }
@keyframes spin { from { rotate: y 0deg; } to { rotate: y 360deg; } }
@keyframes pulse { from { scale: 0.6; opacity: 0.9; } to { scale: 1.15; opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes piece-in { from { opacity: 0; transform: translate(-18px, 14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .state { animation: none !important; }
}
