/* ============================================================
   SELL RIGHT — Sales Health Audit landing page
   Palette locked by Brand Guidelines v1.1.

   TYPE, amended 12 Aug 2026: Archivo carries the whole page.
   It matches the logo lettering, and hierarchy comes from weight,
   size, and tracking rather than from a second family. Bodoni Moda
   and IBM Plex Mono are no longer loaded.

   Two contrast rules govern every colour choice:
     Ink text on Accent  = 2.60:1 — banned.
     Accent text on Ink  = 2.60:1 — banned.
   On Ink surfaces, Accent is for non-text elements only.
   ============================================================ */

:root {
  --paper:      #F4F1EA;
  --ink:        #1A1A17;
  --accent:     #A63328;

  /* Muted text is built from Ink tints. Slate (#5E6B73) is
     placeholder-only per brand and never ships. */
  --ink-72:     #55544F;
  --ink-58:     #64635E;   /* darkened from #71706B — that measured 4.4:1 on Paper */
  --ink-30:     #B3B0AB;
  --ink-14:     #DAD7D1;
  --ink-08:     rgba(26, 26, 23, .08);
  --ink-16:     rgba(26, 26, 23, .16);

  --paper-78:   rgba(244, 241, 234, .78);
  --paper-56:   rgba(244, 241, 234, .68);   /* raised for AA on Ink surfaces */
  --paper-20:   rgba(244, 241, 234, .20);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --max:  1240px;
  --pad:  clamp(1.25rem, 5vw, 4rem);
  --r:    22px;
  --r-sm: 14px;
  --sec:  clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(.16, .84, .34, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .8rem 1.25rem;
  font: 500 .875rem/1 var(--sans); border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .slab :focus-visible { outline-color: var(--paper); }

/* ── Type scale ───────────────────────────────────────────── */

h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0; }

/* ch on a display element resolves against ITS OWN font-size. Never
   cap a heading from a body-sized wrapper. */
.d1 { font-size: clamp(2.5rem, 6vw, 4.6rem); max-width: 18ch; text-wrap: balance; }
.d2 { font-size: clamp(1.95rem, 4.3vw, 3.3rem); line-height: 1.02; max-width: 22ch; text-wrap: balance; }
.d3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -0.028em; line-height: 1.1; font-weight: 700; }

p { margin: 0 0 1.15em; }
.lede { font-size: clamp(1.075rem, 1.55vw, 1.28rem); line-height: 1.55; color: var(--ink-72); max-width: 52ch; }
.on-ink .lede, .slab .lede { color: var(--paper-78); }
.prose { max-width: 68ch; color: var(--ink-72); }
.prose strong { color: var(--ink); font-weight: 600; }
.on-ink .prose, .slab .prose { color: var(--paper-78); }
.on-ink .prose strong, .slab .prose strong { color: var(--paper); }

/* Labels are Archivo carrying tracking and weight, not a second
   family wearing a technical costume. */
.tag {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink-58);
}
.on-ink .tag, .slab .tag { color: var(--paper-56); }
h3.tag { font-weight: 700; line-height: 1.4; letter-spacing: .17em; margin: 0 0 .25rem; }

/* Big numerals. Archivo at display weight, tabular so a column of
   figures aligns. */
.num { font-weight: 800; font-feature-settings: "tnum"; letter-spacing: -0.045em; }

/* The section label is the page's own structure, set as the literal
   opening words of the heading in the heading's own face, coloured.
   Not a label on its own line above the heading — that is the banned
   eyebrow regardless of where the DOM puts it. */
.step__t {
  display: inline; font: inherit; letter-spacing: inherit;
  text-transform: none; color: var(--accent);
}
.on-ink .step__t, .slab .step__t { color: var(--paper); }
.step__t::after { content: ". "; }

/* ── Nav — deliberately thin ──────────────────────────────── */
/* A landing page with one job gets no menu. Logo, one action.
   Every extra link is an exit that costs a booking. */

.nav { position: sticky; top: 0; z-index: 90; padding: .875rem 0; }
/* Solid, not a fade. The mark is Accent rust, and the hero behind it is
   Ink — accent on Ink measures 2.60:1 and is banned, so the bar cannot be
   allowed to go transparent under a sticky logo mid-scroll. */
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  pointer-events: none;
}
.nav__in { position: relative; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }

/* The logo is a raster file that may not be in place yet. The text
   lockup underneath is revealed by the img's own onerror, so the page
   is never missing its mark. */
.mark { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
/* The logo file carries its own generous margin, so the lettering
   occupies roughly half the box height. Set taller than the mark needs
   to look, or it reads as small. */
.mark__img { height: 54px; width: auto; }
.mark__txt { display: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.04em; text-transform: uppercase; }
.mark__txt em { font-style: normal; color: var(--accent); }
.mark--txt .mark__txt { display: inline; }
.foot .mark__img { height: 46px; }

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--paper);   /* 5.96:1 — Ink on Accent is banned */
  font: 700 .95rem/1 var(--sans); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: .7rem 1.15rem; font-size: .875rem; }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.03rem; }
.btn--ghost { background: transparent; border-color: var(--ink-16); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.on-ink .btn--ghost, .slab .btn--ghost { border-color: var(--paper-20); color: var(--paper); }
.on-ink .btn--ghost:hover, .slab .btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* The line under a CTA that removes the last hesitation. Scan-length,
   never a sentence. */
.btn-note { margin: .9rem 0 0; font-size: .8125rem; line-height: 1.5; color: var(--ink-58); }
.on-ink .btn-note, .slab .btn-note { color: var(--paper-56); }

/* ── Photography ──────────────────────────────────────────── */
/* Photographs ship untreated — see the note on .shot img below.
   Every slot IS its own empty state: an Ink field carrying the ECG
   device, revealed because the image tag deletes itself when the file
   is missing. */

.shot {
  position: relative; overflow: hidden;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(244,241,234,.035) 26px 27px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80' fill='none' stroke='%23A63328' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M2 46h22l10-26 12 46 12-34 8 14h64'/%3E%3C/svg%3E");
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center;
  background-size: auto, min(46%, 320px) auto;
}
.hero__bg .shot { background-size: auto, min(38%, 420px) auto; }

/* Photographs ship in their own colour, untreated.

   This is a deliberate departure from Brand Guidelines v1.1, which
   mandates a duotone treatment (Ink shadows, Paper highlights) on all
   imagery. Ryan's call, 13 Aug 2026: real photographs of a real floor
   read as evidence, and a colour treatment on top of them reads as
   art direction. Do not reintroduce a filter here without asking.

   The dark scrims over the hero remain — those exist so type stays
   legible over a photograph, which is a contrast requirement rather
   than a treatment. */
.shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero { position: relative; margin-top: -4.75rem; padding-top: 4.75rem; }
.hero__frame {
  position: relative; border-radius: var(--r); overflow: hidden;
  min-height: min(84vh, 780px); display: flex; flex-direction: column;
  justify-content: flex-end; isolation: isolate;
  /* Contrast floor: Paper type must never land on Paper if the image
     layer fails to paint. */
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg .shot, .hero__bg img { width: 100%; height: 100%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(26,26,23,.95) 8%, rgba(26,26,23,.76) 46%, rgba(26,26,23,.54) 100%);
}
.hero__body { position: relative; padding: clamp(2rem, 5vw, 4rem); padding-top: clamp(5rem, 13vw, 9rem); }
.hero .lede { margin-top: 1.5rem; }
.hero__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.25rem; align-items: center; }

.hero__bar {
  position: relative; display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--paper-20); border-top: 1px solid var(--paper-20);
}
.hero__bar > div {
  background: rgba(26,26,23,.84); padding: 1.4rem clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(6px);
}
.hero__bar svg { width: 19px; height: 19px; color: var(--accent); margin-bottom: .8rem; }
.hero__bar p { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--paper-56); }
.hero__bar b { display: block; color: var(--paper); font-weight: 700; font-size: .875rem; margin-bottom: .15rem; }

/* ── Sections ─────────────────────────────────────────────── */

.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(3.25rem, 6.5vw, 5.5rem); }/* Any Ink surface flips the whole foreground. Setting background
   without foreground leaves Ink type on an Ink ground. */
.on-ink { color: var(--paper); }

/* An Ink surface. Every rule scoped to .on-ink also applies inside a
   .slab, so text inside one never has to be corrected by hand. Setting
   the background without the foreground is how a slab ends up rendering
   dark type on a dark ground. */
.slab { background: var(--ink); color: var(--paper); border-radius: var(--r); overflow: hidden; }
/* The one line in a slab that carries the point. */
.slab__lead {
  color: var(--paper); font-weight: 700; font-size: 1.15rem;
  line-height: 1.35; letter-spacing: -0.02em;
}

.head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.head .prose { margin-top: 1.35rem; max-width: 56ch; }

/* ── Self-check ───────────────────────────────────────────── */
/* The page's highest-engagement element. It qualifies the reader to
   themselves before any claim is made. */

.check { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); max-width: 820px; }
.check__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-14); }
.check__list li { border-bottom: 1px solid var(--ink-14); }
.check__list label {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem .25rem;
  cursor: pointer; line-height: 1.45; transition: color .2s var(--ease);
  font-size: 1.0625rem;
}
.check__list label:hover { color: var(--accent); }
.check__list input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 1.2rem; height: 1.2rem; margin-top: .22rem;
  border: 1.5px solid var(--ink-30); border-radius: 6px; background: transparent;
  cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.check__list input:checked { background: var(--accent); border-color: var(--accent); }
.check__list input:checked::after {
  content: ""; display: block; width: 100%; height: 100%;
  background: no-repeat center/.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F4F1EA' stroke-width='2.4'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.9'/%3E%3C/svg%3E");
}
.check__out {
  margin-top: 1.75rem; padding: 1.35rem 1.5rem; border-radius: var(--r-sm);
  background: var(--ink-08); display: flex; flex-wrap: wrap; gap: .35rem 1.25rem;
  align-items: baseline; font-size: .95rem; line-height: 1.5; color: var(--ink-72);
  transition: background .3s var(--ease);
}
.check__n { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-58); white-space: nowrap; text-transform: uppercase; }
.check[data-live="on"] .check__out { background: rgba(166,51,40,.09); color: var(--ink); }
.check[data-live="on"] .check__n { color: var(--accent); }
/* The tally earns a CTA only once enough boxes are ticked to make it
   true. Shown by script, so it never appears on a blank list. */
.check__cta { display: none; margin-top: 1.25rem; }
.check[data-live="on"] .check__cta { display: inline-flex; }

/* ── The three things already tried ───────────────────────── */

.buckets { display: grid; gap: 1px; background: var(--ink-14); border-radius: var(--r-sm); overflow: hidden; }
@media (min-width: 880px) { .buckets { grid-template-columns: repeat(3, 1fr); } }
.buckets > div { background: var(--paper); padding: 1.85rem 1.6rem; }
.buckets h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.1rem; }
.buckets ul { list-style: none; margin: 0; padding: 0; }
.buckets li {
  padding: .8rem 0 .8rem 1.75rem; position: relative;
  border-top: 1px solid var(--ink-14); font-size: .9375rem; line-height: 1.5; color: var(--ink-72);
}
.buckets li::before {
  content: ""; position: absolute; left: 0; top: 1.4rem;
  width: 11px; height: 1.5px; background: var(--accent);
}

/* ── Stats ────────────────────────────────────────────────── */

.stats {
  display: grid; gap: 1px; background: var(--ink-14);
  border-radius: var(--r-sm); overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats--proof { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.stats > div { background: var(--paper); padding: 1.7rem 1.5rem; }
.on-ink .stats, .slab .stats { background: var(--paper-20); }
.on-ink .stats > div, .slab .stats > div { background: var(--ink); }
.stats dt { font-size: clamp(2.3rem, 4.4vw, 3.2rem); line-height: 1; margin-bottom: .55rem; }
.stats dd { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-58); }
.on-ink .stats dd, .slab .stats dd { color: var(--paper-56); }
.stats .accent { color: var(--accent); }
.on-ink .stats .accent, .slab .stats .accent { color: var(--paper); }   /* accent on Ink fails AA */

/* ── Headline results ─────────────────────────────────────── */
/* Two business outcomes, given Ink and scale so they read ahead of the
   supporting grid below. Kept to a pair on purpose: a third would turn
   a claim into a wall and dilute both. */

.results {
  display: grid; gap: 1px; background: var(--paper-20);
  border-radius: var(--r-sm); overflow: hidden;
  /* Needs the same air above it as the grid below. With no top margin it
     butts straight against the portrait in the bio row, and the photo
     reads as part of the Ink panel rather than a separate block. */
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1px;
}
@media (min-width: 700px) { .results { grid-template-columns: 1fr 1fr; } }
.results > div { background: var(--ink); padding: clamp(1.75rem, 4vw, 2.5rem); }
.results dt {
  color: var(--paper); font-size: clamp(2.9rem, 6vw, 4.2rem);
  line-height: 1; margin-bottom: .7rem;
}
.results dd {
  margin: 0; color: var(--paper-78);
  font-size: 1rem; line-height: 1.55; max-width: 34ch;
}

/* Carries the attribution the exact sums used to carry on their own.
   Sits on Paper, beneath the Ink cards, so it takes an Ink tint. */
.results__note {
  margin: .9rem 0 0; color: var(--ink-58);
  font-size: .9rem; line-height: 1.5; max-width: 60ch;
}

/* ── Obstacle rows ────────────────────────────────────────── */

.rows { border-top: 1.5px solid currentColor; }
.row {
  display: grid; gap: .55rem 2.5rem; padding: 1.75rem 0;
  border-bottom: 1px solid var(--paper-20); align-items: start;
}
/* Accent on Ink measures 2.60:1 and fails AA. On Ink surfaces accent is
   reserved for non-text elements only. */
.row__i { font-size: .75rem; font-weight: 700; color: var(--paper-56); letter-spacing: .1em; padding-top: .3rem; }
.row__a { color: var(--paper-56); line-height: 1.5; }
.row__b { color: var(--paper); font-weight: 700; line-height: 1.4; }
@media (min-width: 820px) { .row { grid-template-columns: 2.5rem 1fr 1fr; } }

/* ── What the 30 minutes covers ───────────────────────────── */
/* The most load-bearing section on a booking page. Uncertainty about
   what happens on a call is the largest unspoken objection, and it is
   answered by showing the clock rather than describing a vibe. */

/* An <ol>, so the browser's default list indent has to go or the cards
   sit 40px right of every other block on the page. */
.agenda {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--ink-14);
  border-radius: var(--r-sm); overflow: hidden;
}
@media (min-width: 880px) { .agenda { grid-template-columns: repeat(3, 1fr); } }
.agenda > li { background: var(--paper); padding: 1.85rem 1.6rem; list-style: none; display: flex; flex-direction: column; }
.agenda__t {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent);
  margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem;
}
.agenda__t::before { content: ""; width: 20px; height: 1.5px; background: var(--accent); flex: none; }
.agenda h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.022em; line-height: 1.25; margin-bottom: .7rem; }
.agenda p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-72); }

/* ── What the score is made of ────────────────────────────── */
/* An <ol>: the weights are the point, so the numeral leads each card
   and Method takes the Ink treatment because it carries half. */

.areas {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--ink-14);
  border-radius: var(--r-sm); overflow: hidden;
}
@media (min-width: 880px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.areas > li { background: var(--paper); padding: 1.85rem 1.6rem; display: flex; flex-direction: column; }
.areas__w {
  margin: 0 0 .9rem; font-size: 1.05rem; font-weight: 700;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.areas__w .num { font-size: 2.6rem; letter-spacing: -0.05em; }
.areas h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.022em; margin-bottom: .7rem; }
.areas p:last-child { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-72); }
/* Method carries half the score, so it carries the weight visually.
   Accent on Ink measures 2.60:1 and fails, so the numeral goes Paper. */
/* `.areas > li` is more specific than a lone class, so the Ink override
   has to match the element too or the card renders Paper on Paper. */
.areas > li.areas--lead { background: var(--ink); color: var(--paper); }
.areas > li.areas--lead .areas__w,
.areas > li.areas--lead h3 { color: var(--paper); }
.areas > li.areas--lead p:last-child { color: var(--paper-78); }

/* The band scale. Two poles are named because only two are public; the
   middle steps are drawn as steps rather than given invented labels. */
.scale { margin-top: clamp(2rem, 4vw, 2.75rem); }
.scale .tag { display: block; margin-bottom: .9rem; }
.scale__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.scale__bar i { height: 10px; border-radius: 3px; background: var(--ink-14); }
.scale__bar i:first-child { background: var(--ink-30); }
.scale__bar i:last-child { background: var(--accent); }
.scale__ends { display: grid; gap: 1.25rem; margin-top: 1.1rem; }
@media (min-width: 700px) {
  .scale__ends { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .scale__ends > div:last-child { text-align: right; }
}
.scale__ends b { display: block; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }
.scale__ends > div:last-child b { color: var(--accent); }

/* The 3 outputs, listed inside the Ink panel. */
.leave { list-style: none; margin: 1.35rem 0; padding: 0; counter-reset: leave; }
.leave li {
  position: relative; padding: 0 0 1.1rem 2.1rem; counter-increment: leave;
  font-size: .9375rem; line-height: 1.55; color: var(--paper-56);
}
.leave li::before {
  content: counter(leave); position: absolute; left: 0; top: 0;
  font-size: .75rem; font-weight: 700; color: var(--paper-56);
  border: 1px solid var(--paper-20); border-radius: 50%;
  width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
}
.leave b { display: block; color: var(--paper); font-weight: 700; margin-bottom: .15rem; }

/* ── The after picture ────────────────────────────────────── */
/* Aspiration, set larger than body copy. These are the sentences a
   founder says when describing what they actually want, so they get
   read as statements rather than as a feature list. */

.after { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--ink-14); border-radius: var(--r-sm); overflow: hidden; }
@media (min-width: 820px) { .after { grid-template-columns: 1fr 1fr; } }
.after li {
  background: var(--paper); padding: 1.6rem 1.5rem 1.6rem 3.35rem;
  position: relative; font-size: 1.075rem; font-weight: 600;
  line-height: 1.42; letter-spacing: -0.018em; text-wrap: pretty;
}
.after li::before {
  content: ""; position: absolute; left: 1.5rem; top: 2.05rem;
  width: 13px; height: 8px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ── The story video ──────────────────────────────────────── */
/* Given room rather than tucked into a column. It is the only place
   on the page where the argument is made by a person instead of by a
   number, so it gets the width to be watched. */

.story { max-width: 860px; margin-inline: auto; scroll-margin-top: 6rem; }
.story--portrait { max-width: 380px; }
.story .vid__shot,
.story .vid__frame { aspect-ratio: 16 / 9; box-shadow: 0 24px 60px -28px rgba(26,26,23,.55); }
.story--portrait .vid__shot,
.story--portrait .vid__frame { aspect-ratio: 9 / 16; }
.story .vid__btn { width: 68px; height: 68px; }
.story .vid__btn svg { width: 26px; height: 26px; }

/* ── Video testimonials ───────────────────────────────────── */
/* Each card is a facade: still image plus play button, no player
   attached until it is clicked. Ten embeds loaded up front would cost
   several megabytes and stall the page on a phone.

   One documented exception to the brand's duotone rule: video stills
   keep their own colour. Duotoning a poster and then playing a
   full-colour video reads as a rendering fault rather than a
   treatment, so these get an Ink scrim for contrast instead. */

.vids { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem 1.5rem; }
@media (min-width: 640px) { .vids { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vids { grid-template-columns: repeat(3, 1fr); } }

/* Phone video shot upright. Narrower cards so a 9:16 frame is not
   scaled to absurdity, and more of them per row. */
.vids--portrait { gap: 1.75rem 1.25rem; }
@media (min-width: 560px)  { .vids--portrait { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px)  { .vids--portrait { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .vids--portrait { grid-template-columns: repeat(4, 1fr); } }
.vids--portrait .vid__shot,
.vids--portrait .vid__frame { aspect-ratio: 9 / 16; }
.vids--portrait .vid__btn { width: 50px; height: 50px; }
/* A landscape video inside a portrait wall.

   The card keeps the wall's shape at rest, so the grid stays even and
   every caption sits on the same line. Letting a 16:9 card stand at a
   third the height of its neighbours made the row look broken, and that
   is visible constantly, where a letterbox is only visible after someone
   deliberately presses play.

   The player is the one that reshapes. On click the frame takes the
   video's real aspect, so a landscape testimonial plays full width
   instead of as a strip inside a tall black box. */
.vids--portrait .vid--wide .vid__frame { aspect-ratio: 16 / 9; }
.vids--portrait .vid__quote { font-size: .9875rem; }

.vid { display: flex; flex-direction: column; }

.vid__shot,
.vid__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-sm); overflow: hidden; background: var(--ink);
  border: 0; padding: 0; display: block;
}
.vid__shot { cursor: pointer; }
.vid__shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
/* Scrim: lifts the play control off a bright still without draining
   the image. */
.vid__shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,23,.55), rgba(26,26,23,.12));
  transition: opacity .35s var(--ease);
}
.vid__shot:hover img { transform: scale(1.04); }
.vid__shot:hover::after { opacity: .75; }

.vid__btn {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--paper);   /* 5.96:1 */
  box-shadow: 0 10px 30px rgba(26,26,23,.4);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.vid__shot:hover .vid__btn { transform: scale(1.09); background: var(--paper); color: var(--ink); }
.vid__btn svg { width: 22px; height: 22px; margin-left: 3px; }

.vid__frame iframe,
.vid__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.vid__meta { padding-top: 1.1rem; }
.vid__quote {
  margin: 0 0 .7rem; font-size: 1.0625rem; font-weight: 600;
  line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty;
}
.vid__who { margin: 0; font-size: .8125rem; line-height: 1.45; color: var(--ink-58); }
.vid__who b { font-weight: 700; color: var(--ink-72); }
.vid__who b::after { content: " · "; font-weight: 400; color: var(--ink-30); }

/* ── Fit and objections ───────────────────────────────────── */

.fit { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.fit ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.fit li { padding: .8rem 0 .8rem 1.85rem; position: relative; border-bottom: 1px solid var(--ink-14); font-size: .95rem; line-height: 1.5; }
.fit li:last-child { border-bottom: 0; }
.fit li svg { position: absolute; left: 0; top: 1.05rem; width: 13px; height: 13px; }
.fit--no li { color: var(--ink-58); }
.fit--yes li svg { color: var(--accent); }
.fit--no li svg { color: var(--ink-30); }

.faq { border-top: 1.5px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--ink-14); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0;
  position: relative; font-weight: 700; font-size: 1.075rem; line-height: 1.35;
  letter-spacing: -0.015em; transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after,
.faq summary::before {
  content: ""; position: absolute; right: .35rem; top: 2.05rem;
  width: 14px; height: 1.75px; background: var(--accent);
  transition: transform .35s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { margin: 0 0 1.4rem; max-width: 66ch; color: var(--ink-72); }

/* ── Who runs it ──────────────────────────────────────────── */

.two { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .two { grid-template-columns: 1.06fr .94fr; align-items: center; }
  .two--wide { grid-template-columns: 1.25fr .75fr; align-items: start; }
}
.bio__shot { border-radius: var(--r); aspect-ratio: 4 / 5; }
.pull {
  font-weight: 700; font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  line-height: 1.28; color: var(--ink); letter-spacing: -0.03em;
  margin: clamp(1.75rem, 3.5vw, 2.25rem) 0 0; padding-left: clamp(1.1rem, 2.5vw, 1.6rem);
  border-left: 2px solid var(--accent);
}
.press { margin: clamp(1.5rem, 3vw, 2rem) 0 0; padding-top: 1.1rem; border-top: 1px solid var(--ink-14); display: grid; gap: .9rem; }
.press__label { font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-58); margin: 0; }
/* Press logos in one muted ink tone, so the row stays quiet */
.press__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.press__logos img { display: block; height: 26px; width: auto; max-width: 190px; object-fit: contain; }

/* ── Booking ──────────────────────────────────────────────── */

.book { scroll-margin-top: 6rem; }
/* The scheduler is a third-party iframe. It gets an Ink frame so a slow
   or blocked load never shows a bare white rectangle mid-page.

   Height is only reserved once a scheduler actually exists. With no
   booking link set, a 620px Ink void around one button reads as a
   broken page rather than as a panel, so the block hugs its contents
   instead. app.js adds .embed--live when BOOKING_URL is filled in. */
.embed {
  border-radius: var(--r); overflow: hidden; background: var(--ink);
  border: 1.5px solid var(--ink-16); position: relative;
}
.embed--live { min-height: 760px; }
/* Sits ABOVE the fallback. Both are in the panel at once: the fallback
   is the safety net if a corporate network or blocker kills the embed,
   so the iframe has to win the stacking order or it is hidden behind it. */
.embed iframe { position: relative; z-index: 2; display: block; width: 100%; height: 760px; border: 0; }
/* Static by default so it sets the panel's height. Once a scheduler is
   live it goes underneath the iframe, still reachable if that iframe is
   blocked by a corporate network or an ad blocker. */
.embed__fallback {
  display: grid; place-content: center; gap: 1.1rem;
  text-align: center; padding: clamp(2.25rem, 5vw, 3.25rem) 1.75rem; color: var(--paper);
}
.embed--live .embed__fallback { position: absolute; inset: 0; z-index: 1; }
.embed__fallback p { margin: 0; color: var(--paper-78); max-width: 44ch; }
.embed__acts { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: .5rem; }

.direct { display: grid; gap: 1px; background: var(--ink-14); border-radius: var(--r-sm); overflow: hidden; margin-top: 1.5rem; }
@media (min-width: 700px) { .direct { grid-template-columns: 1fr 1fr; } }
.direct a {
  background: var(--paper); padding: 1.35rem 1.5rem; text-decoration: none;
  display: flex; align-items: center; gap: .9rem;
  transition: background .25s var(--ease);
}
.direct a:hover { background: var(--ink-08); }
.direct svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.direct b { display: block; font-size: .95rem; font-weight: 700; }
.direct span { font-size: .8125rem; color: var(--ink-58); }

/* ── Closing band ─────────────────────────────────────────── */

.close {
  position: relative; border-radius: var(--r); overflow: hidden;
  text-align: center; isolation: isolate;
  background: var(--ink);
}
.close__in { padding: clamp(3.25rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
/* The closing headline is a two-clause diagnosis rather than a short
   line, so it needs more measure than the 22ch display default. */
.close__h { max-width: 30ch; }
.close .lede, .close .prose { margin-inline: auto; }
.close__acts { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2.25rem; }

/* ── Sticky mobile action ─────────────────────────────────── */
/* On a phone the hero CTA scrolls away within one swipe and the booking
   section is a long way down. Hidden on desktop, where the scroll
   distance is short enough not to need it. */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: .75rem var(--pad) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(244,241,234,.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--ink-14);
  display: none;
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.dock .btn { width: 100%; justify-content: center; }
.dock[data-show="on"] { transform: none; }
@media (max-width: 820px) { .dock { display: block; } body { padding-bottom: 5rem; } }

/* ── Footer ───────────────────────────────────────────────── */

/* Kept tight. The footer is the last thing between a reader and the
   end of the page; it should close the page, not add a room to it. */
.foot { border-top: 1px solid var(--ink-14); padding-block: 1.5rem 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.foot__top { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: center; }
/* Tagline sits beside the mark, not under it. Stacking them made the
   footer's top row twice as tall as its content needed. */
.foot__brand { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.foot__tag { font-size: .95rem; font-weight: 600; color: var(--ink-58); margin: 0; letter-spacing: -0.02em; }
.foot nav { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; }
.foot nav a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink-72); }
.foot nav a:hover { color: var(--accent); }

/* ── Legal footer and policy pages ────────────────────────── */
/* The consent line is centred and quiet. It has to be present and
   readable, and it should not compete with the action above it. */

.foot__legal {
  margin-top: 1.1rem; padding-top: 1.1rem;
  text-align: center;
}
.foot__legal p { margin: 0 0 .6rem; font-size: .8125rem; line-height: 1.6; color: var(--ink-58); }
.foot__legal p:nth-child(2) { max-width: 76ch; margin-inline: auto; }
.foot__legal a { color: var(--ink-72); text-decoration: underline; text-underline-offset: 2px; }
.foot__legal a:hover { color: var(--accent); }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem .75rem; justify-content: center; margin-bottom: 0; }
.foot__links a { color: var(--accent); text-decoration: none; font-weight: 600; }
.foot__links a:hover { text-decoration: underline; }
.foot__links span { color: var(--ink-30); }

/* Policy pages. One column, generous measure, no decoration — these
   exist to be read and found, not to persuade. */
.doc { max-width: 74ch; margin-inline: auto; }
.doc h1 { margin-bottom: .6rem; }
.doc__date {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-58); margin-bottom: 2rem;
}
.doc .lede { max-width: none; margin-bottom: 2.5rem; }
.doc h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.2;
  margin: 2.5rem 0 .9rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-14);
}
.doc p { color: var(--ink-72); line-height: 1.65; }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc ul { margin: 0 0 1.15em; padding: 0; list-style: none; }
.doc li {
  position: relative; padding: 0 0 .8rem 1.6rem;
  color: var(--ink-72); line-height: 1.6;
}
.doc li::before {
  content: ""; position: absolute; left: 0; top: .65rem;
  width: 9px; height: 1.5px; background: var(--accent);
}
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc__back { margin-top: 3rem; padding-top: 1.75rem; border-top: 1.5px solid var(--ink); }
.doc__back a { font-weight: 700; }

/* ── The one authored motion ──────────────────────────────── */
/* One orchestrated moment, on the hero, once. The trust-bar cells
   resolve left to right as the headline settles — the page steadying
   itself, which is the thing being sold. Not repeated down the scroll. */

@media (prefers-reduced-motion: no-preference) {
  .hero__body > * { animation: settle .85s var(--ease) both; }
  .hero__body > :nth-child(2) { animation-delay: .07s; }
  .hero__body > :nth-child(3) { animation-delay: .14s; }
  .hero__body > :nth-child(4) { animation-delay: .21s; }
  .hero__bar > div { animation: settle .7s var(--ease) both; }
  .hero__bar > div:nth-child(1) { animation-delay: .30s; }
  .hero__bar > div:nth-child(2) { animation-delay: .38s; }
  .hero__bar > div:nth-child(3) { animation-delay: .46s; }
  .hero__bar > div:nth-child(4) { animation-delay: .54s; }

  @keyframes settle {
    from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
