/* Unshaken landing page: one column.
   Photographs run the full width with the words on top or straight after, never beside them.
   Five type steps only: --t-display, --t-head, --t-lead, --t-body, --t-small. */
.site {
  --m: clamp(16px, 2.2vw, 32px);          /* the one pair of outer margins */
  --pad: clamp(20px, 4.4vw, 72px);        /* inside the reading column */
  --t-display: clamp(96px, 12.4vw, 208px);
  --t-head: clamp(30px, 3vw, 42px);
  --t-lead: clamp(21px, 1.7vw, 25px);
  --t-body: 18px;
  --t-small: 15px;
  background: var(--pine);
  font-size: var(--t-body);
}
.site h2 { font-size: var(--t-head); font-weight: 700; }
.site h3 { font-size: var(--t-lead); font-weight: 700; }
.site .note { color: var(--slate); max-width: 34em; margin: 0.7em 0 0; }
.site .fine { font-size: var(--t-small); }
.btn { transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--pine); }
.btn-light:hover { background: var(--amber); border-color: var(--amber); color: var(--pine); }

/* ---------- the stage ---------- */
.stage { position: relative; }
/* The photograph fills the first screen; a flat pine tint keeps the words readable over it. */
.pane { position: absolute; top: 0; left: 0; right: 0; height: var(--hero-h, 100svh); overflow: hidden; }
.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: drift 28s ease-in-out infinite alternate; }
.pane::after { content: ""; position: absolute; inset: 0; background: rgba(18, 35, 29, 0.62); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }

/* The name crosses from the photograph into the column, along the foot of the first screen. */
.wordmark {
  position: absolute; z-index: 2;
  top: calc(var(--hero-h, 100svh) - 1em - 28px); right: var(--m);
  font: 800 var(--t-display)/1 var(--display); letter-spacing: -0.055em;
  color: var(--paper); white-space: nowrap; transform-origin: 100% 100%;
}
@supports (animation-timeline: scroll()) {
  .wordmark { animation: settle linear both; animation-timeline: scroll(root); animation-range: 0 90svh; }
  @keyframes settle { to { transform: scale(0.93); } }
}

.col { min-width: 0; }
.hero { position: relative; z-index: 1; color: var(--paper); min-height: 100svh; display: flex; flex-direction: column; padding: var(--m) var(--m) calc(var(--t-display) + 64px) var(--pad); }
.nav { display: flex; flex-wrap: wrap; row-gap: 12px; justify-content: flex-end; align-items: center; gap: clamp(14px, 2vw, 28px); font: 500 var(--t-small)/1 var(--display); }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { color: var(--paper); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--amber); }
.hero-copy { margin-top: auto; padding-top: 48px; max-width: 30em; }
.statement { font: 700 clamp(26px, 2.5vw, 36px)/1.14 var(--display); letter-spacing: -0.025em; margin: 0; }
.hero .statement span { display: block; color: #c9d4ce; }
.sub { font-size: var(--t-lead); line-height: 1.45; margin: 1.1em 0 0; max-width: 27em; }
.hero-actions { margin-top: 1.6em; }
.hero-actions .btn { font-size: 1.2rem; }

.block { padding: clamp(64px, 9vw, 132px) max(var(--pad), calc((100% - 880px) / 2)); }
.block > * { max-width: 46ch; }
.block-chalk { background: var(--chalk); }
.block-paper { background: var(--paper); }
.block-moss { background: var(--moss-deep); color: var(--paper); }
.block-moss .note { color: #dfe8e1; }

/* ---------- the check ---------- */
.quiz-intro { color: var(--slate); margin: 0.6em 0 1.3em; }
.bar { height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; margin-bottom: 1.6em; }
.bar span { display: block; height: 100%; width: 0; background: var(--moss); transition: width 0.3s ease; }
.quiz-count { font: 500 var(--t-small)/1 var(--display); color: var(--slate); margin-bottom: 0.8em; }
.quiz-q { font: 700 var(--t-lead)/1.32 var(--display); letter-spacing: -0.01em; min-height: 3.8em; color: var(--plum); }
.quiz-q:focus, .result-title:focus { outline: none; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0.8em; }
.opt { font: 500 var(--t-body)/1.2 var(--display); padding: 1.05em 1em; background: var(--paper); color: var(--pine); border: 0; border-radius: 12px; cursor: pointer; text-align: left; transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
.opt:hover { background: var(--pine); color: var(--paper); }
.opt:active { transform: scale(0.97); }
.result-title { font: 800 var(--t-head)/1 var(--display); letter-spacing: -0.03em; margin-bottom: 0.45em; }
.result-low { color: var(--moss-deep); }
.result-moderate { color: var(--pine); }
.result-high, .result-severe { color: var(--plum); }
.result-lead { font: 700 var(--t-body)/1 var(--display); margin-bottom: 0.5em; }
.moves { margin: 0 0 1.4em; padding-left: 1.3em; }
.moves li { margin-bottom: 0.35em; }
.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 1em; }

/* ---------- the evidence ---------- */
.facts { margin: 2.6em 0 0; display: grid; gap: 2.1em; }
.facts dt { font: 700 var(--t-lead)/1.15 var(--display); letter-spacing: -0.01em; margin-bottom: 0.35em; }
.facts dd { margin: 0; }
.facts dd a { display: block; font-size: var(--t-small); margin-top: 0.4em; }

/* ---------- what's inside, set like a menu ---------- */
.group { margin-top: clamp(48px, 6vw, 84px); }
.group h3 { color: #f0bb4f; margin-bottom: 0.9em; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25em; }
.menu li { display: grid; grid-template-columns: 1fr auto; column-gap: 1.2em; align-items: baseline; }
.menu .name { font: 700 var(--t-body)/1.32 var(--display); }
.menu .tier { font: 500 var(--t-small)/1.32 var(--display); color: #dfe8e1; }
.menu p { grid-column: 1 / -1; margin: 0.2em 0 0; max-width: 34ch; color: #dfe8e1; }
.inline-photo { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; margin-bottom: 1.4em; }

/* ---------- the one section that breaks the split ---------- */
.band { position: relative; min-height: 86svh; display: grid; align-items: end; background: var(--pine); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.band-copy { position: relative; margin: var(--m); padding: clamp(22px, 3vw, 44px); background: var(--pine); color: var(--paper); max-width: 34em; }
.band-copy h2 { font-size: var(--t-lead); color: var(--amber); margin-bottom: 0.5em; }

/* ---------- pricing, set like a menu ---------- */
.pricing { background: var(--chalk); display: grid; gap: clamp(28px, 4vw, 56px); padding: clamp(72px, 10vw, 150px) max(var(--pad), calc((100% - 880px) / 2)); }
.pricing-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 64px); align-content: start; }
.plan h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-bottom: 0.8em; }
.plan .amount { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--moss-deep); }
.plan ul { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 0.5em; max-width: 36ch; }
.waitlist { background: var(--paper); padding: clamp(20px, 2.6vw, 34px); border-radius: 14px; }
.waitlist fieldset { border: 0; padding: 0; margin: 0; }
.waitlist legend { font: 700 var(--t-lead)/1.2 var(--display); padding: 0; margin-bottom: 0.5em; }
.pick { display: inline-flex; align-items: center; gap: 0.45em; margin: 0 1.4em 0 0; font-weight: 500; }
.pick input { width: 1.1em; height: 1.1em; accent-color: var(--moss); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row input { flex: 1 1 12em; }
.waitlist .fine { margin: 0.8em 0 0; }

/* ---------- the close ---------- */
.foot { position: relative; min-height: 100svh; background: var(--pine); color: var(--paper); display: flex; }
.foot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.foot::after { content: ""; position: absolute; inset: 0; background: rgba(18, 35, 29, 0.78); }
.foot-side { position: relative; z-index: 1; width: 100%; padding: clamp(40px, 6vw, 80px) max(var(--pad), calc((100% - 880px) / 2)) var(--m); display: flex; flex-direction: column; }
.foot .mark { font: 800 var(--t-lead)/1 var(--display); letter-spacing: -0.04em; color: var(--paper); text-decoration: none; }
.foot-menu { display: grid; gap: clamp(12px, 1.6vw, 26px); margin: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); }
.foot-menu a { font: 700 var(--t-head)/1 var(--display); letter-spacing: -0.03em; color: var(--paper); text-decoration: none; transition: transform 0.2s ease, color 0.2s ease; justify-self: start; }
.foot-menu a:hover { transform: translateX(12px); color: var(--amber); }
.foot-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.foot-notes h2 { font-size: var(--t-body); letter-spacing: 0; margin-bottom: 0.4em; }
.foot-notes p { font-size: var(--t-small); color: #dfe8e1; margin: 0; }
.foot-notes a { color: var(--amber); }
.credits { font-size: var(--t-small); color: #dfe8e1; margin: auto 0 0; padding-top: 36px; max-width: 60ch; }

/* ---------- entrances: parts of a section arrive in order ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }

/* ---------- phone and tablet: its own composition ---------- */
@media (max-width: 900px) {
  .pane img { object-position: 62% 50%; }
  .site { --t-display: 21vw; --pad: 20px; --m: 20px; }
  .statement { font-size: 23px; }
  .wordmark { top: calc(var(--hero-h, 100svh) - 1em - 20px); right: auto; left: 16px; }
  .hero { min-height: 100svh; padding: 88px 20px calc(var(--t-display) + 40px); }
  .nav { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 3; }
  .nav a:not(.btn) { display: none; }
  .inline-photo { aspect-ratio: 3 / 2; }
  .band { min-height: 78svh; }
  .pricing-list { grid-template-columns: 1fr; }
  .foot { min-height: 0; }
  .foot-notes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pane img { transition: none; animation: none !important; }
  .wordmark { animation: none !important; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .foot-menu a:hover { transform: none; }
}

/* The film: one honest moving picture, vertical like the phone it was made for. */
.reel { margin: 2em 0 0; max-width: 360px; }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--pine); }
.reel figcaption { font-size: var(--t-small); color: var(--slate); margin-top: 0.8em; }
@media (max-width: 900px) { .reel { max-width: none; } }

/* Where scrollbars take space (Windows, some Chrome setups), reserve the same on both sides so the two margins stay equal. */
html { scrollbar-gutter: stable both-edges; }

/* Wide screens: the fact lists use the whole reading column, two to a row, out to the page margin. */
@media (min-width: 1100px) {
  .block > .facts { max-width: none; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 3vw, 56px); }
}
.block-moss a { color: var(--amber); }
.waitlist .soon { font: 700 1.4rem/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 0.4em; }

/* Recognition, not-alone figures, cost and the from-to */
.block-plum { background: var(--plum); color: var(--paper); }
.block-plum .note, .block-plum dd { color: #eadfe8; }
.block-plum a { color: #f0bb4f; }
.recognise { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 0.9em; }
.recognise li { font: 700 var(--t-lead)/1.3 var(--display); letter-spacing: -0.01em; padding-left: 1.4em; position: relative; }
.recognise li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--amber); }
.alone-head { margin-top: 2.4em; color: var(--moss-deep); }
.block > .stats { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 1em 0 0; }
.stats dt { font: 800 var(--t-head)/1 var(--display); letter-spacing: -0.04em; color: var(--moss); margin-bottom: 0.25em; }
.stats dd { margin: 0; }
.block > .fromto { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: 2em; }
.fromto > div { padding: 1.4em 1.5em; border-radius: 14px; background: var(--chalk); }
.fromto > div + div { background: var(--moss-deep); color: var(--paper); }
.fromto h3 { margin-bottom: 0.7em; }
.fromto ul { margin: 0; padding-left: 1.1em; }
.fromto li { margin-bottom: 0.45em; }
@media (max-width: 900px) { .block > .stats, .block > .fromto { grid-template-columns: 1fr; } }
/* Hold the landing page to its five type steps */
.waitlist .soon { font-size: var(--t-lead); }
.site .btn { font-size: var(--t-body); }
.site .btn-small { font-size: var(--t-small); }
.site .hero-actions .btn { font-size: var(--t-lead); padding: 0.8em 1.3em; }
.block > .group { max-width: none; }
.group .menu { max-width: 46ch; }
/* One centred frame for the first screen too, so both margins match the sections below. */
@media (min-width: 901px) {
  .hero { padding-left: max(var(--pad), calc((100% - 880px) / 2)); padding-right: max(var(--pad), calc((100% - 880px) / 2)); }
  .wordmark { right: max(var(--pad), calc((100% - 880px) / 2)); }
}
/* The film sits beside the recognition list on wide screens, under it on phones. */
.block > .sound-top { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sound-top .reel { margin: 0.4em 0 0; max-width: none; }
.sound-top .reel figcaption { color: var(--slate); }
@media (max-width: 900px) { .block > .sound-top { grid-template-columns: 1fr; } .sound-top .reel { max-width: 300px; } }
