/* Studio Tyto — studiotyto.co.uk
   Palette (neutral): ivory, near-black and warm greys. No accent colour — the client sites bring the colour.
   Type: Archivo (condensed black, display) · Schibsted Grotesk (body) · DM Mono (labels). */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --chalk: #ece7dd;
  --ink: #0c0c0c;
  --night: #0c0c0c;
  --night-2: #171716;
  --red: #8f897d; /* kept as a variable name; now a warm grey */
  --plate: #f4f0e8;
  --grey: #76716a;

  --bg: var(--chalk);
  --fg: var(--ink);
  --muted: var(--grey);
  --line: rgb(12 12 12 / 0.16);

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;

  --pad: clamp(20px, 3.4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html[data-theme="night"] {
  --bg: var(--night);
  --fg: var(--chalk);
  --muted: #8f897d;
  --line: rgb(236 231 221 / 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.7s ease, color 0.7s ease;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--fg); color: var(--bg); }

.display {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.012em;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.red { color: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  border: 1.5px solid var(--fg);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translate(3px, 0); }

/* ---------- nameplate (British street sign) ---------- */
.plate {
  display: inline-flex; align-items: stretch;
  background: var(--plate); color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 0 0 0 3px var(--plate), 0 10px 24px -12px rgb(0 0 0 / 0.55);
  font-family: var(--display); font-weight: 800; font-stretch: 70%;
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 19px; line-height: 1;
  white-space: nowrap;
}
.plate span { padding: 9px 12px 8px; }
.plate .plate__code { color: #7a746a; border-left: 2px solid var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  transition: transform 0.5s var(--ease), background-color 0.4s ease;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 21px; text-transform: uppercase; letter-spacing: 0.02em; }
.brand svg { width: 58px; height: 27px; fill: currentColor; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 15px; font-weight: 500; }
.nav__links a:not(.btn) { position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero: glow → type → owl → rocks ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 640px;
  padding: 96px var(--pad) 36px;
  overflow: hidden;
}
.hero__glow { position: absolute; z-index: 0; left: 50%; top: 46%; width: 90vw; height: 90vw; max-width: 1300px; max-height: 1300px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgb(236 231 221 / 0.13), rgb(236 231 221 / 0.04) 55%, transparent 72%); pointer-events: none; }
.hero__kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.hero__kicker .display { font-size: clamp(26px, 3.5vw, 58px); line-height: 1; }
.hero h1 { position: relative; z-index: 1; }
.hero__giant { display: block; font-size: 19.6vw; line-height: 0.8; margin: 0.02em 0 0 -0.035em; white-space: nowrap; }
.hero__giant .ch { display: inline-block; will-change: transform; }
.hero__giant .sp { display: inline-block; width: 0.18em; }
.hero__owl { position: absolute; z-index: 2; bottom: -2%; left: 50%; height: 82%; width: auto; max-width: none; margin-left: -8%; translate: -50% 0; pointer-events: none; filter: drop-shadow(0 40px 60px rgb(0 0 0 / 0.6)); will-change: transform; }
.hero__rocks { position: absolute; z-index: 3; left: -4%; bottom: -6%; width: 108%; max-width: none; height: auto; pointer-events: none; filter: grayscale(1) brightness(0.55); will-change: transform; }
.hero__foot { position: absolute; z-index: 4; right: var(--pad); bottom: 40px; width: min(30vw, 420px); }
.hero__lede { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.4; font-weight: 500; text-shadow: 0 1px 24px rgb(0 0 0 / 0.8); }
.hero__lede b { font-weight: 700; box-shadow: inset 0 -0.14em 0 var(--fg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- why an owl ---------- */
.why { padding: clamp(80px, 10vw, 150px) 0 clamp(40px, 6vw, 90px); overflow: hidden; }
.why > .mono { display: block; padding: 0 var(--pad); margin-bottom: clamp(24px, 4vw, 60px); }
.why__row { position: relative; display: grid; align-items: center; min-height: clamp(260px, 30vw, 460px); border-top: 1.5px solid var(--line); padding: 40px var(--pad); }
.why__row:last-child { border-bottom: 1.5px solid var(--line); }
.why__word { position: absolute; left: 0; top: 50%; font-size: clamp(170px, 31vw, 560px); line-height: 0.8; margin-top: -0.4em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgb(236 231 221 / 0.17); pointer-events: none; will-change: transform; }
.why__text { position: relative; max-width: 620px; }
.why__row:nth-of-type(even) .why__text { justify-self: end; }
.why__text h2 { font-size: clamp(44px, 5.6vw, 96px); margin-bottom: 18px; }
.why__text p { max-width: 36ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; }
.why__text p + p { margin-top: 8px; font-weight: 600; }

/* browser window */
.win {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1d1c;
  border: 1.5px solid var(--ink);
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.55);
}
.win__bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #151817; color: #9aa19c; }
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a403d; }
.win__dots i:first-child { background: #6b665e; }
.win__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; text-transform: none; }
.win__bar::after { content: ""; width: 39px; }
.win__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.win__view img { position: absolute; top: 0; left: 0; width: 100%; height: auto; will-change: transform; }
/* previews stay in greyscale until they are in focus, so nine different brands don't fight the page */
.card .win__view img { filter: grayscale(1) contrast(1.04) brightness(0.92); transition: filter 0.7s ease; }
.card:hover .win__view img, .card:focus-visible .win__view img, .card.is-live .win__view img { filter: none; }


/* ---------- trades marquee ---------- */
.trades { padding: clamp(28px, 4vw, 56px) 0; border-block: 1.5px solid var(--line); overflow: hidden; }
.trades__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.trades__track > div { display: flex; flex: none; }
.trades span { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(44px, 7vw, 110px); line-height: 1; padding-right: 0.3em; white-space: nowrap; }
.trades span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.trades span::after { content: "•"; color: var(--muted); -webkit-text-stroke: 0; padding-left: 0.3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- work street ---------- */
.street { position: relative; padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.street__track { display: flex; flex-direction: column; gap: 72px; padding: 0 var(--pad); }
.street__intro { max-width: 620px; }
.street__intro h2 { font-size: clamp(64px, 9vw, 150px); margin: 18px 0 22px; }
.street__intro p { max-width: 36ch; color: var(--muted); }
.street__hint { display: none; margin-top: 30px; align-items: center; gap: 12px; }
.street__hint i { width: 56px; height: 1.5px; background: var(--red); display: block; }

.card { position: relative; display: block; width: 100%; }
.card__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.card__meta { text-align: right; color: var(--muted); }
.card .win { border-color: rgb(240 241 236 / 0.18); box-shadow: 0 60px 120px -50px #000; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.card__visit { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color 0.3s ease; }
.card:hover .card__visit { opacity: 0.7; }
.card__visit .arrow { transition: transform 0.35s var(--ease); }
.card:hover .card__visit .arrow { transform: translate(3px, -3px); }
.card__tag { color: var(--muted); }

.card--all {
  display: grid; align-content: space-between; gap: 40px;
  background: var(--chalk); color: var(--ink);
  border-radius: 14px; padding: clamp(24px, 3vw, 44px);
  min-height: 320px;
  transition: transform 0.5s var(--ease);
}
.card--all:hover { transform: translateY(-6px); }
.card--all h3 { font-size: clamp(60px, 7.4vw, 124px); }
.card--all .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 18px; }
.card--all .circle { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--chalk); font-size: 26px; transition: transform 0.5s var(--ease); }
.card--all:hover .circle { transform: rotate(-45deg); }

.street__progress { display: none; }

/* horizontal mode (added by JS on wide screens with motion allowed) */
.is-horizontal .street { padding: 0; height: 100vh; }
.is-horizontal .street__track { flex-direction: row; align-items: center; gap: clamp(40px, 5vw, 96px); height: 100%; width: max-content; padding: 40px 12vw 40px var(--pad); will-change: transform; }
.is-horizontal .street__intro { flex: none; width: min(40vw, 620px); }
.is-horizontal .street__hint { display: flex; }
.is-horizontal .card { flex: none; width: min(58vw, calc((100vh - 260px) * 1.6)); perspective: 1600px; }
.is-horizontal .card--all { width: min(34vw, 520px); height: min(62vh, 560px); }
.is-horizontal .street__progress { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; height: 2px; background: var(--line); }
.is-horizontal .street__progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---------- how it works ---------- */
.section { padding: clamp(80px, 10vw, 160px) var(--pad); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 90px); }
.section__head h2 { font-size: clamp(60px, 10.5vw, 176px); }
.steps { display: grid; gap: 0; border-top: 1.5px solid var(--fg); }
.step { display: grid; grid-template-columns: 1fr; gap: 10px; padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1.5px solid var(--line); }
.step__n { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-size: clamp(64px, 8vw, 132px); line-height: 0.8; color: var(--fg); opacity: 0.28; }
.step h3 { font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 54px); line-height: 0.95; }
.step p { max-width: 44ch; color: var(--muted); }
@media (min-width: 900px) {
  .step { grid-template-columns: 2fr 5fr 5fr; align-items: start; gap: 32px; }
}

.includes { margin-top: clamp(56px, 7vw, 110px); }
.includes__head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.includes__head h2 { font-size: clamp(40px, 6.6vw, 116px); }
.includes__list { border-top: 1.5px solid var(--fg); }
.includes__list li { position: relative; display: grid; grid-template-columns: 1fr; gap: 6px 28px; align-items: center; padding: clamp(18px, 2.2vw, 30px) clamp(0px, 1.4vw, 22px); border-bottom: 1.5px solid var(--line); transition: background-color 0.45s var(--ease), color 0.45s var(--ease), padding 0.45s var(--ease); }
.includes__list h3 { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 92px); line-height: 0.9; }
.includes__list p { max-width: 32ch; color: var(--muted); transition: color 0.45s var(--ease); }
.includes__n { color: var(--muted); }
.includes__list li:hover { background: var(--fg); color: var(--bg); padding-left: clamp(12px, 2.6vw, 44px); }
.includes__list li:hover p, .includes__list li:hover .includes__n { color: var(--bg); opacity: 0.7; }
.includes__cta { display: grid; gap: 22px; align-items: center; margin-top: clamp(28px, 4vw, 56px); padding: clamp(24px, 3.4vw, 52px); border-radius: 20px; background: var(--ink); color: var(--chalk); }
.includes__cta p { font-size: clamp(34px, 4.6vw, 76px); }
.btn--big { height: 64px; padding: 0 30px; font-size: 18px; }
.includes__cta .btn { background: var(--chalk); color: var(--ink); border-color: var(--chalk); justify-self: start; }
.includes__cta .btn:hover { background: transparent; color: var(--chalk); }
@media (min-width: 900px) {
  .includes__list li { grid-template-columns: 60px minmax(0, 7fr) minmax(0, 4fr); }
  .includes__cta { grid-template-columns: 1fr auto; }
  .includes__cta .btn { justify-self: end; }
}

/* ---------- quiz ---------- */
.quiz { background: var(--night); color: var(--chalk); padding: clamp(80px, 10vw, 150px) var(--pad) clamp(40px, 5vw, 70px); display: grid; gap: clamp(32px, 5vw, 80px); --fg: var(--chalk); --bg: var(--night); --muted: #8f897d; --line: rgb(236 231 221 / 0.16); }
.quiz__head h2 { font-size: clamp(54px, 7.4vw, 128px); margin: 16px 0 22px; }
.quiz__head p { max-width: 38ch; }
.quiz__card { border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 44px); background: var(--night-2); min-height: 420px; display: flex; flex-direction: column; }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quiz__back { font: inherit; font-size: 14px; font-weight: 600; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 0; }
.quiz__back:hover { color: var(--chalk); }
.quiz__back[hidden] { display: block; visibility: hidden; }
.quiz__bar { height: 2px; background: var(--line); margin: 14px 0 clamp(22px, 3vw, 36px); }
.quiz__bar i { display: block; height: 100%; background: var(--chalk); transform-origin: left; transition: transform 0.6s var(--ease); }
.quiz__q { font-family: var(--display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 50px); line-height: 0.98; margin-bottom: clamp(20px, 2.4vw, 32px); }
.quiz__gap { display: grid; gap: 8px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.35; font-weight: 600; padding: 16px 18px; border-left: 3px solid var(--chalk); background: rgb(236 231 221 / 0.06); border-radius: 0 12px 12px 0; margin-bottom: 26px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { font: inherit; font-size: 17px; font-weight: 600; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 12px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: transparent; color: var(--chalk); cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease); }
.quiz__opt::after { content: "→"; opacity: 0.4; transition: transform 0.3s var(--ease), opacity 0.3s ease; }
.quiz__opt:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.quiz__opt:hover::after { transform: translateX(4px); opacity: 1; }
.quiz__fields { display: grid; gap: 14px; }
.quiz__fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.quiz__fields input { font: inherit; font-size: 18px; color: var(--chalk); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 10px 0; border-radius: 0; }
.quiz__fields input:focus { outline: none; border-color: var(--chalk); }
.quiz__fields input::placeholder { color: #5d5952; }
.quiz__err { color: var(--chalk); font-size: 14px; min-height: 20px; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.quiz__result { display: grid; gap: 22px; }
.quiz__summary { display: grid; gap: 0; }
.quiz__summary div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1.5px solid var(--line); font-size: 15px; }
.quiz__summary dt { color: var(--muted); }
.quiz__summary dd { margin: 0; font-weight: 600; text-align: right; }
.quiz__match { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; }
.quiz__match img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.quiz__match b { display: block; font-size: 17px; }
.quiz__match:hover { border-color: var(--chalk); }
.quiz .btn--wa { justify-self: start; }
@media (min-width: 900px) {
  .quiz { grid-template-columns: 5fr 6fr; align-items: start; }
  .quiz__opts { grid-template-columns: 1fr 1fr; }
  .quiz__head { position: sticky; top: 110px; }
}

/* ---------- contact ---------- */
.contact { background: var(--night); color: var(--chalk); padding: clamp(60px, 8vw, 120px) var(--pad) 28px; position: relative; overflow: hidden; }
.contact h2 { font-size: clamp(72px, 15.4vw, 300px); margin: 14px 0 0 -0.03em; }
.contact__row { display: grid; gap: 28px; margin-top: clamp(30px, 4vw, 60px); align-items: end; }
.contact__row p { max-width: 34ch; font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; line-height: 1.35; }
.btn--wa { height: 68px; padding: 0 34px; font-size: 19px; background: var(--chalk); color: var(--ink); border-color: var(--chalk); justify-self: start; }
.btn--wa:hover { background: transparent; color: var(--chalk); border-color: var(--chalk); transform: translateY(-3px); }
.btn--wa svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .contact__row { grid-template-columns: 1fr auto; } .btn--wa { justify-self: end; } }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; margin-top: clamp(60px, 8vw, 120px); padding-top: 20px; border-top: 1.5px solid rgb(236 231 221 / 0.2); }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer nav { display: flex; gap: 24px; }

/* ---------- all work page ---------- */
.page-head { padding: 130px var(--pad) 0; }
.page-head h1 { font-size: clamp(72px, 17vw, 320px); margin-left: -0.03em; }
.page-head__row { display: grid; gap: 22px; margin-top: 22px; }
.page-head__row p { max-width: 44ch; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: 14px; font-weight: 600; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: none; color: inherit; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.filters button:hover { border-color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (min-width: 900px) { .page-head__row { grid-template-columns: 1fr auto; align-items: end; } }
.grid { display: grid; gap: clamp(40px, 5vw, 72px) clamp(20px, 2.6vw, 40px); padding: clamp(40px, 6vw, 80px) var(--pad) clamp(80px, 10vw, 140px); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid .plate { font-size: 16px; }
.grid .card[hidden] { display: none; }
.grid .win__view img { transition: transform 0.6s var(--ease), filter 0.7s ease; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }

@media (max-width: 899px) {
  body { font-size: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .hero { padding-top: 88px; height: auto; min-height: 100svh; display: flex; flex-direction: column; }
  .hero__kicker .mono { display: none; }
  .hero__giant { font-size: 31.5vw; white-space: normal; line-height: 0.8; }
  .hero__giant .sp { display: block; width: 0; height: 0; }
  .hero__owl { position: relative; left: auto; bottom: auto; height: auto; width: 170vw; margin: -20vw 0 0 -52vw; translate: none; }
  .hero__rocks { display: none; }
  .hero__foot { position: relative; right: auto; bottom: auto; width: auto; margin-top: -6vw; }
  .plate { font-size: 16px; }
  .card__head { flex-direction: column; align-items: flex-start; }
  .card__meta { text-align: left; }
  .why__row:nth-of-type(even) .why__text { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .trades__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; }
}
.hero .btn--ghost { background: rgb(12 12 12 / 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- how it works: compact layout (steps side by side) ---------- */
.section { padding-block: clamp(64px, 7vw, 110px); }
.section__head { margin-bottom: clamp(28px, 3.4vw, 52px); }
.section__head h2 { font-size: clamp(44px, 6.6vw, 116px); }
.step__n { font-size: clamp(48px, 5vw, 84px); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1.5px solid var(--line); }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 28px 28px 36px 0; border-bottom: 0; align-content: start; }
  .step + .step { padding-left: 28px; border-left: 1.5px solid var(--line); }
}

/* ---------- how it works + included: two tabs switched by scroll ---------- */
.duo__tabs { display: none; }
.includes__list h3 { font-size: clamp(26px, 3.4vw, 56px); }
.is-duo .duo { height: 100vh; padding: 84px var(--pad) 26px; display: flex; flex-direction: column; }
.is-duo .duo__tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 2vh; }
.duo__tabs button { font: inherit; font-size: 14px; font-weight: 600; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: none; color: inherit; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.duo__tabs button:hover { border-color: var(--fg); }
.duo__tabs button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.duo__bar { flex: 1; height: 2px; background: var(--line); margin: 0 14px; }
.duo__bar i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.is-duo .duo__panes { position: relative; flex: 1; min-height: 0; }
.is-duo .duo__pane { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.is-duo .duo__pane > .section__head > .mono, .is-duo .includes__head > .mono { display: none; }
.is-duo .section__head { margin-bottom: 4vh; }
.is-duo .includes { margin-top: 0; display: grid; grid-template-columns: 5fr 7fr; grid-template-areas: "head list" "cta list"; column-gap: clamp(28px, 4vw, 80px); row-gap: 4vh; align-content: center; align-items: start; }
.is-duo .includes__head { grid-area: head; margin: 0; }
.is-duo .includes__head h2 { font-size: clamp(40px, 5.6vw, 104px); }
.is-duo .includes__list { grid-area: list; align-self: center; }
.is-duo .includes__list li { grid-template-columns: 30px minmax(0, 6fr) minmax(0, 5fr); padding: 1.7vh 12px; gap: 4px 18px; }
.is-duo .includes__list h3 { font-size: clamp(22px, 2.3vw, 40px); }
.is-duo .includes__list p { font-size: 15px; line-height: 1.35; }
.is-duo .includes__cta { grid-area: cta; margin: 0; padding: 22px 24px; grid-template-columns: 1fr; gap: 16px; }
.is-duo .includes__cta p { font-size: clamp(24px, 2.3vw, 40px); }
.is-duo .includes__cta .btn { justify-self: start; height: 54px; font-size: 16px; }

/* ---------- contact: sized to fit one screen ---------- */
.contact { padding-top: clamp(44px, 6vh, 90px); }
.contact h2 { font-size: clamp(56px, min(11vw, 17vh), 200px); margin-top: 10px; }
.contact__row { margin-top: clamp(20px, 4vh, 44px); }
.footer { margin-top: clamp(26px, 5vh, 60px); }

/* ---------- quiz: one of the main sections, so it takes the whole screen ---------- */
.quiz { min-height: 100svh; align-content: center; padding-block: clamp(90px, 12vh, 150px); }
.quiz__head h2 { font-size: clamp(60px, 7.6vw, 140px); margin: 18px 0 26px; }
.quiz__head p { font-size: clamp(18px, 1.5vw, 24px); max-width: 34ch; }
.quiz__card { min-height: min(64vh, 640px); padding: clamp(26px, 3.4vw, 56px); border-radius: 24px; }
.quiz__q { font-size: clamp(34px, 3.8vw, 64px); }
.quiz__opt { min-height: 78px; font-size: clamp(18px, 1.3vw, 21px); padding: 16px 24px; border-radius: 16px; }
.quiz__fields input { font-size: 20px; padding: 12px 0; }
.quiz__gap { font-size: clamp(19px, 1.7vw, 26px); }
@media (min-width: 900px) {
  .quiz { grid-template-columns: 1fr 1fr; align-items: center; }
  .quiz__head { position: static; }
}
.quiz { padding-block: clamp(70px, 9vh, 130px); }
.quiz__gap + .quiz__q { font-size: clamp(26px, 2.4vw, 40px); margin-bottom: 20px; }
.quiz__gap { margin-bottom: 20px; }
.quiz__actions { margin-top: 8px; }
@media (min-width: 900px) {
  .quiz__fields { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .quiz__fields label:first-child, .quiz__fields .quiz__err, .quiz__fields .quiz__actions { grid-column: 1 / -1; }
}
.quiz__err:empty { display: none; }
.quiz__card { padding-block: clamp(24px, 4.5vh, 56px); }
.quiz__bar { margin-bottom: clamp(16px, 3vh, 36px); }

/* ---------- contact: exactly one full screen of its own ---------- */
.contact { min-height: 100svh; display: flex; flex-direction: column; padding-top: clamp(64px, 9vh, 110px); }
.contact h2 { font-size: clamp(56px, min(13vw, 20vh), 240px); }
.contact .footer { margin-top: auto; }
.contact__row { margin-bottom: clamp(20px, 4vh, 44px); }
