/* ==========================================================
   The Momentum Map by Motive
   Mobile-first. Brand tokens match the main site.
   ========================================================== */
:root {
  --ink: #201B13;
  --ink-2: #2B251C;
  --clay: #B45938;
  --clay-2: #D0714E;
  --clay-soft: #F1D9CC;
  --cream: #F6F0E6;
  --sand: #EADFCF;
  --paper: #FBF8F3;
  --muted: #6E6558;
  --line: rgba(32, 27, 19, .12);
  --line-strong: rgba(32, 27, 19, .22);
  --line-light: rgba(246, 240, 230, .18);

  --lane-creative: var(--clay);
  --lane-social: var(--clay-2);
  --lane-marketing: var(--ink-2);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: 16px;
  --max: 1120px;
  --flow: 600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--clay); }
::selection { background: var(--clay); color: var(--cream); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--clay); margin: 0 0 14px;
}
.eyebrow--light { color: var(--clay-2); }
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(38px, 10.5vw, 76px); line-height: 1; margin: 0;
}
.display--md { font-size: clamp(32px, 8.4vw, 54px); line-height: 1.04; }
.lede { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 34em; }
.lede--sm { font-size: 15px; margin-top: 10px; }
.pill {
  display: inline-block; vertical-align: 1px; margin-left: 6px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 3px 8px; border-radius: 999px; background: var(--clay-soft); color: var(--clay);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  background: var(--bg);
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn__arrow { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--clay); color: #fff; box-shadow: 0 12px 26px -14px rgba(180, 89, 56, .9); }
.btn--primary:hover { --bg: #9f4c2e; }
.btn--primary[disabled] { opacity: .75; cursor: progress; }
.btn--big { min-height: 60px; padding: 18px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--ghost-light { border-color: var(--line-light); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }
.btn--text-light { background: none; border: 0; color: var(--cream); opacity: .8; padding: 10px 14px; min-height: 44px; font-weight: 500; font-size: 15px; }
.btn--text-light:hover { opacity: 1; }
.btn--text-light svg { width: 18px; height: 18px; }

.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px;
  margin-left: -8px; border: 0; background: none; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 500;
}
.back:hover { color: var(--ink); background: rgba(32, 27, 19, .05); }
.back svg { width: 20px; height: 20px; }

/* ---------- Header / footer ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gutter); max-width: var(--max); width: 100%; margin: 0 auto;
}
.top__logo { display: block; border-radius: 8px; }
.top__logo img { width: 92px; height: auto; }
.top__tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot { padding: 28px var(--gutter) 36px; text-align: center; font-size: 13px; color: var(--muted); }
.foot a { color: inherit; text-underline-offset: 3px; }

/* ---------- Screens ---------- */
.screen { animation: screenIn .55s var(--ease) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Landing ---------- */
.landing { padding: 4px 0 24px; }
.landing__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 22px; }
.landing__copy .btn { margin-top: 26px; width: 100%; }
.trust { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 30em; }

.landing__visual {
  position: relative; border-radius: var(--r); background: var(--cream);
  padding: 18px 16px 14px; overflow: hidden;
}
.field {
  display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px 0;
  justify-items: center; align-items: center;
}
.field i {
  display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
  opacity: .14; transform: scale(.7);
  transition: opacity .7s var(--ease), transform .7s var(--ease), background-color .5s;
}
.field i:nth-child(n+97) { display: none; }
.field.is-full i { opacity: .82; transform: none; }
.field.is-leak i { opacity: .1; transform: scale(.55); }
.field.is-leak i.is-kept { opacity: 1; transform: scale(1.35); background: var(--clay); box-shadow: 0 0 0 4px rgba(180, 89, 56, .16); }
.field__caption { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ---------- Flow screens ---------- */
.flow { padding: 0 0 32px; }
.flow__inner { max-width: var(--flow); margin: 0 auto; padding: 0 var(--gutter); }
.flow__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.step-tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Step 1 ---------- */
.reach { margin-top: 26px; }
.field-group { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.field-group legend { padding: 0; font-weight: 600; font-size: 16px; line-height: 1.35; margin-bottom: 12px; }
.field-group.is-missing legend { color: var(--clay); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper);
  font-size: 15px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 3px; }
.chip input:active + span { transform: scale(.97); }

.slider { background: var(--cream); border-radius: var(--r-sm); padding: 16px 16px 12px; }
.slider__out { display: block; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--ink); }
.slider__out small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.slider__input {
  --fill: 12%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 6px 0 0;
  background: transparent; cursor: pointer;
}
.slider__input::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--clay) var(--fill), var(--sand) var(--fill));
}
.slider__input::-moz-range-track { height: 8px; border-radius: 99px; background: var(--sand); }
.slider__input::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--clay); }
.slider__input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--clay); box-shadow: 0 4px 12px -4px rgba(32, 27, 19, .4);
}
.slider__input::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--clay); box-shadow: 0 4px 12px -4px rgba(32, 27, 19, .4);
}
.slider__input:focus-visible { outline: none; }
.slider__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(180, 89, 56, .3); }
.slider__input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(180, 89, 56, .3); }
.slider__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

.dock {
  position: sticky; bottom: 0; z-index: 5;
  margin: 8px calc(var(--gutter) * -1) 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.estimate { margin-bottom: 12px; }
.estimate__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.estimate__line { margin-top: 4px; font-size: 15px; color: var(--ink); line-height: 1.35; min-height: 2.7em; }
.estimate__line strong { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--clay); line-height: 1; margin-right: 2px; font-variant-numeric: tabular-nums; }
.form-error { color: var(--clay); font-size: 14px; font-weight: 500; margin-bottom: 10px; }

/* ---------- Step 2: questions ---------- */
.qprog { margin-bottom: 22px; }
.qprog__label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.qprog__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.qprog__lane { display: block; height: 6px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.qprog__lane i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.qprog__lane[data-lane="creative"] i { background: var(--lane-creative); }
.qprog__lane[data-lane="social"] i { background: var(--lane-social); }
.qprog__lane[data-lane="marketing"] i { background: var(--lane-marketing); }

.q { animation: qIn .45s var(--ease) both; }
.q.is-back { animation-name: qInBack; }
@keyframes qIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes qInBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.q__lane { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.q__lane i { width: 9px; height: 9px; border-radius: 50%; background: var(--clay); }
.q__title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 7.6vw, 42px); line-height: 1.08; margin: 0 0 22px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px;
  padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: var(--paper); text-align: left; font-size: 16px; font-weight: 500; line-height: 1.35;
  transition: border-color .2s, background .2s, color .2s, transform .3s var(--ease), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.opt:hover { border-color: var(--ink); box-shadow: 0 10px 24px -18px rgba(32, 27, 19, .5); }
.opt:active { transform: scale(.985); }
.opt__key {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  border: 1.5px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.opt__text { flex: 1; }
.opt__check { flex: none; width: 22px; height: 22px; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .35s var(--ease); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.opt[aria-pressed="true"] .opt__key { background: var(--clay); border-color: var(--clay); color: #fff; }
.opt[aria-pressed="true"] .opt__check { opacity: 1; transform: none; color: var(--clay-2); }
.q__next { margin-top: 16px; }
.qhint { display: none; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Gate ---------- */
.gate__inner { display: grid; gap: 22px; }
.teaser { display: flex; align-items: center; gap: 18px; }
.teaser__num { font-family: var(--serif); font-size: 92px; line-height: .85; color: var(--clay); font-variant-numeric: tabular-nums; }
.teaser__num small { font-family: var(--sans); font-size: 15px; color: var(--muted); margin-left: 2px; }
.teaser__tier { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.teaser__line { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }

.locked { position: relative; margin-top: 18px; border-radius: var(--r); background: var(--cream); overflow: hidden; }
.locked__blur { display: flex; align-items: center; gap: 14px; padding: 16px; filter: blur(7px); opacity: .85; transform: scale(1.04); }
.locked__radar { flex: 0 0 46%; }
.locked__rows { flex: 1; display: grid; gap: 10px; }
.locked__rows span { display: block; height: 12px; border-radius: 99px; background: var(--sand); }
.locked__rows span:nth-child(1) { width: 90%; background: var(--clay-soft); }
.locked__rows span:nth-child(2) { width: 70%; }
.locked__rows span:nth-child(3) { width: 82%; background: var(--clay-soft); }
.locked__rows span:nth-child(4) { width: 55%; }
.locked__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px -16px rgba(32, 27, 19, .7);
}
.locked__badge svg { width: 16px; height: 16px; color: var(--clay-2); }

.gate__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; box-shadow: 0 30px 60px -44px rgba(32, 27, 19, .45); }
.gate__h { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 0; }
.gate__sub { margin: 8px 0 18px; font-size: 14.5px; color: var(--muted); }
.input { margin-bottom: 14px; }
.input label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.input .optional { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.input input {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
  font: 400 16px var(--sans); transition: border-color .2s, box-shadow .2s;
}
.input input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(180, 89, 56, .14); }
.input input[aria-invalid="true"] { border-color: var(--clay); background: #fff7f3; }
.input__err { margin-top: 6px; font-size: 13.5px; color: var(--clay); font-weight: 500; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 16px; padding: 12px; border-radius: 12px; background: var(--cream); animation: screenIn .35s var(--ease) both; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--clay); }
.consent label { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate__form .btn { margin-top: 6px; }
.privacy { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Results ---------- */
.results { padding-bottom: 0; }
.r-hero { padding: 6px 0 36px; }
.r-hero__inner { display: grid; gap: 26px; align-items: center; }
.r-tier { margin-top: 18px; font-family: var(--serif); font-size: 30px; line-height: 1.05; color: var(--ink); }
.r-tier::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--clay); margin-right: 10px; vertical-align: 5px; }
.r-hero .lede { margin-top: 8px; }

.dial { position: relative; width: min(280px, 78vw); margin: 0 auto; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; transform: rotate(135deg); }
.dial circle { fill: none; stroke-width: 14; stroke-linecap: round; }
.dial__track { stroke: var(--sand); stroke-dasharray: 424.12 565.49; }
.dial__value { stroke: var(--clay); stroke-dasharray: 424.12 565.49; stroke-dashoffset: 424.12; transition: stroke-dashoffset 1.6s var(--ease); }
.dial__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial__num { font-family: var(--serif); font-size: clamp(76px, 22vw, 104px); line-height: .9; font-variant-numeric: tabular-nums; }
.dial__of { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.block { padding: 40px 0; border-top: 1px solid var(--line); }
.block__head { margin-bottom: 26px; max-width: 640px; }
.block__lede { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* Map */
.map { display: grid; gap: 26px; align-items: center; }
.map__radar { max-width: 440px; width: 100%; margin: 0 auto; }
.radar { width: 100%; height: auto; overflow: visible; }
.radar__ring { fill: none; stroke: var(--line); stroke-width: 1; }
.radar__axis { stroke: var(--line); stroke-width: 1; }
.radar__wedge { opacity: .09; }
.radar__wedge--creative { fill: var(--lane-creative); }
.radar__wedge--social { fill: var(--lane-social); }
.radar__wedge--marketing { fill: var(--lane-marketing); }
.radar__shape { transform-origin: 0px 0px; transform: scale(0); transition: transform 1.3s var(--ease); }
.is-in .radar__shape, .radar--static .radar__shape { transform: none; }
.radar__poly { fill: rgba(180, 89, 56, .2); stroke: var(--clay); stroke-width: 2.25; stroke-linejoin: round; }
.radar__pt { stroke: var(--paper); stroke-width: 2.5; }
.radar__label { font-family: var(--sans); font-size: 12px; fill: var(--ink); }
.radar__score { font-family: var(--serif); font-size: 19px; fill: var(--clay); }

.lanes { display: grid; gap: 18px; }
.lane__name { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lane__name i { width: 10px; height: 10px; border-radius: 3px; }
.lane--creative .lane__name i, .lane--creative .bar i { background: var(--lane-creative); }
.lane--social .lane__name i, .lane--social .bar i { background: var(--lane-social); }
.lane--marketing .lane__name i, .lane--marketing .bar i { background: var(--lane-marketing); }
.sub { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; margin-bottom: 10px; }
.sub__label { font-size: 15px; font-weight: 500; }
.sub__score { font-family: var(--serif); font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease); }
.is-in .bar i { transform: none; }

/* Leak */
.leak { display: grid; gap: 26px; }
.leak__nums { display: grid; gap: 16px; }
.stat { padding-left: 14px; border-left: 3px solid var(--sand); }
.stat--kept { border-color: var(--clay); }
.stat--potential { border-color: var(--clay-soft); }
.stat__num { font-family: var(--serif); font-size: clamp(46px, 13vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat--kept .stat__num { color: var(--clay); }
.stat__label { margin-top: 4px; font-size: 14px; color: var(--muted); }
.leak__visual { background: var(--cream); border-radius: var(--r); padding: 18px; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; max-width: 320px; margin: 0 auto; }
.dots i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--ink); opacity: .8; transition: opacity .6s var(--ease), transform .6s var(--ease), background-color .5s, box-shadow .5s; }
.is-in .dots i.l { background: var(--sand); opacity: 1; transform: scale(.7); }
.is-in .dots i.p { background: transparent; opacity: 1; box-shadow: inset 0 0 0 2px var(--clay-2); transform: scale(.85); }
.is-in .dots i.k { background: var(--clay); opacity: 1; }
.dots__legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.dots__legend li { display: flex; align-items: center; gap: 10px; }
.dots__legend i { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.dots__legend i.k { background: var(--clay); }
.dots__legend i.p { box-shadow: inset 0 0 0 2px var(--clay-2); }
.dots__legend i.l { background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }
.leak__copy { margin-top: 26px; font-family: var(--serif); font-size: clamp(24px, 6.4vw, 34px); line-height: 1.2; max-width: 30em; }
.leak__copy strong { font-weight: 400; color: var(--clay); }
.footnote { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 46em; }

/* Time back */
.time { display: grid; gap: 26px; }
.time__nums { display: grid; gap: 16px; }
.time__visual { background: var(--cream); border-radius: var(--r); padding: 18px; }
.time__cap { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; text-align: center; }
.week { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; max-width: 320px; margin: 0 auto; }
.week i { display: block; aspect-ratio: 1; border-radius: 5px; background: var(--sand); transform: scale(.6); opacity: .4; transition: transform .5s var(--ease), opacity .5s var(--ease), background-color .5s, box-shadow .5s; }
.is-in .week i { transform: none; opacity: 1; }
.is-in .week i.k { background: var(--clay); }
.is-in .week i.p { background: transparent; box-shadow: inset 0 0 0 2px var(--clay-2); }
.dots__legend i.sq { border-radius: 3px; }

/* Moves */
.moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: move; }
.move {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 18px 20px; counter-increment: move;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.is-in .move { opacity: 1; transform: none; }
.is-in .move:nth-child(2) { transition-delay: .12s; }
.is-in .move:nth-child(3) { transition-delay: .24s; }
.move__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.move__num { font-family: var(--serif); font-size: 44px; line-height: .8; color: var(--clay); }
.move__num::before { content: "0" counter(move); }
.move__lane { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }
.move__lane b { display: block; color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; }
.move__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; margin: 0 0 8px; }
.move__body { font-size: 15px; color: var(--ink-2); }
.move__svc { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.move__svc p { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--clay-soft); color: #8a3f24; }

/* Pathway */
.block--path { border-top: 0; padding-top: 8px; }
.path {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 28px 20px;
  background: var(--ink-2); color: var(--cream);
}
.path::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 113, 78, .45), transparent 70%); pointer-events: none;
}
.path .display { color: var(--cream); }
.path__body { margin-top: 12px; font-size: 16px; color: rgba(246, 240, 230, .82); max-width: 36em; }
.path__tags { margin-top: 18px; }
.path__tags li { background: rgba(246, 240, 230, .1); color: var(--cream); }

/* CTA */
.cta { margin-top: 24px; background: var(--ink); color: var(--cream); padding: 52px 0 40px; }
.cta .display em { color: var(--clay-2); }
.cta .lede { color: rgba(246, 240, 230, .75); }
.cta__actions { display: grid; gap: 12px; margin-top: 26px; }
.cta__tools { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 18px; margin-left: -14px; }
body.is-results .foot { background: var(--ink); color: rgba(246, 240, 230, .6); }

/* ---------- Wider screens ---------- */
@media (min-width: 560px) {
  .landing__copy .btn { width: auto; }
  .cta__actions { display: flex; flex-wrap: wrap; }
  .move { padding: 26px 24px 24px; }
  .path { padding: 36px 32px; }
  .gate__form { padding: 28px 26px; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .top { padding-top: 22px; padding-bottom: 22px; }
  .top__logo img { width: 110px; }
  .landing { display: flex; align-items: center; min-height: calc(100svh - 170px); }
  .landing__inner { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; width: 100%; }
  .landing__visual { order: 2; padding: 32px 28px 22px; }
  .field { grid-template-columns: repeat(12, 1fr); gap: 16px 0; }
  .field i { width: 10px; height: 10px; }
  .field i:nth-child(n+97) { display: block; }
  .qhint { display: block; }
  .gate .flow__inner { max-width: var(--max); }
  .gate__inner { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 20px; }
  .r-hero { padding: 20px 0 56px; }
  .r-hero__inner { grid-template-columns: 1.3fr 1fr; }
  .block { padding: 64px 0; }
  .map { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .leak, .time { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .moves { grid-template-columns: repeat(3, 1fr); }
  .path { padding: 48px 48px; }
  .cta { padding: 80px 0 64px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
