/* ============================================================================
   SKOUT — STYLESHEET
   Warm-premium editorial. Minimal canvas + rich micro-interaction layer.
   All values come from tokens.css. No magic numbers in here.
   ============================================================================ */

/* ---- RESET ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
/* NOTE: never set `scroll-behavior: smooth` here — it fights GSAP scrub.
   Smooth anchor scrolling is handled in main.js instead. */

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--c-accent); color: var(--c-accent-ink); }

/* ---- GRAIN OVERLAY — warmth & depth, not a flat solid ---------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- LAYOUT PRIMITIVES ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: center;
}
.g-6      { grid-column: span 12; }
.g-10     { grid-column: span 12; }
.g-center { text-align: center; }

@media (min-width: 860px) {
  .g-6  { grid-column: span 6; }
  .g-10 { grid-column: 2 / span 10; }
}

/* ============================================================================
   CONTENT + LINE (>=1180px) — ALTERNATING BLOCKS. Each section is a single
   ~520px block pinned to one side (services RIGHT, value/founder LEFT;
   statement centred), generously spaced. That leaves the OPPOSITE half open, so
   the chalk spine can dance full-width between the blocks — swinging left where
   the block is right, right where the block is left — looping in the open space,
   exactly like openingline. Guarantee + CTA stay centred (the line bows around
   them). Below 1180 the spine hides and content returns to the normal grid.
   ============================================================================ */
@media (min-width: 1180px) {
  /* single-side blocks: stop the 12-col grid, stack children, pin to a side.
     Sides chosen to sit in the openingline line's dwell zones (line mostly left
     -> content right; two right-swings -> content left for value + faq). */
  /* statement stays CENTRED like openingline's intro — the line passes behind
     it (z-index 0 under content). Only value/services pin to a side. */
  .s-value     .grid,
  .s-services  .grid { display: block; max-width: 520px; }

  /* sides chosen to sit in the LINE's open rooms (line map: R 561-1561,
     L 2061-3061, R 3561-6061, L 6561-7061). Content goes opposite the line. */
  .s-services  .grid { margin-left: auto; margin-right: 5%; }   /* RIGHT block */

  .s-value   .grid   { margin-right: auto; margin-left: 5%; }   /* LEFT block  */

  /* children fill the block (the old g-6 columns now stack vertically) */
  .s-value   .g-6, .s-services .g-6 { width: 100%; }
  .s-value   .g-6:first-child       { margin-bottom: var(--sp-6); }

  /* FOUNDER stays 2-col (photo + text side by side) so the block stays SHORT and
     fits the line's bottom room. Width-capped + left-pinned so its right edge
     clears the line's final left-room swing (line x956-1088 there). */
  .s-founder .grid { max-width: 620px; margin-right: auto; margin-left: 5%; align-items: center; gap: var(--sp-5); }
  .s-founder__frame { max-width: 220px; }

  /* per-section vertical spacing so each block lands in its line dwell-zone and
     the trimmed content spreads across the FULL 7914px line height (line stays
     untouched; we move content to fit it). Tuned against measure.js + check_path.py.
     Re-tune after any copy change: node assets/measure.js then python3 assets/check_path.py. */
  .s-statement         { margin-top: 460px; }
  .s-value             { margin-top: 545px; }
  .s-services          { margin-top: 505px; }
  .s-guarantee-section { margin-top: 271px; }
  .s-founder           { margin-top: 906px; }
  .s-cta               { margin-top: 80px; }

  /* the abstract value illustration competed with the line in a crossing band;
     the chalk line is the section's decoration now, so drop it on desktop. */
  .s-value__illustration { display: none; }
}

section { position: relative; }

/* ============================================================================
   PAGE-LOAD TRANSITION
   ============================================================================ */
.site-transition {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--c-bg);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s var(--ease-out);
}
.site-transition.is-gone { opacity: 0; }

/* ============================================================================
   HEADER
   ============================================================================ */
.hdr {
  /* Absolute (not fixed): the header sits at the top of the page and SCROLLS
     AWAY — it does not follow down the page. The hero's top padding reserves its
     space, so layout is unchanged. */
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: clamp(1rem, 0.6rem + 1.2vw, 1.6rem);
}
/* is-scrolled condense/blur is a sticky-bar treatment — not needed now the header
   scrolls off. JS still toggles the class harmlessly; we just don't style it. */
.hdr__inner { display: flex; align-items: center; justify-content: space-between; }

.hdr__logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.hdr__mark { width: 34px; height: 34px; overflow: visible; }
.hdr__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.hdr__nav { display: none; align-items: center; gap: clamp(1.5rem, 1rem + 1.5vw, 2.6rem); }
@media (min-width: 760px) { .hdr__nav { display: flex; } }
.hdr__nav a:not(.btn-pill) {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--c-ink-soft);
  transition: color var(--t-fast) var(--ease-out);
}
/* cuberto-style animated underline on hover */
.hdr__nav a:not(.btn-pill)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.hdr__nav a:not(.btn-pill):hover { color: var(--c-ink); }
.hdr__nav a:not(.btn-pill):hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- BURGER (mobile) ----- */
.hdr__burger { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; }
@media (min-width: 760px) { .hdr__burger { display: none; } }
.hdr__burger span { display: block; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; position: relative; transition: background var(--t-fast); }
.hdr__burger span::before, .hdr__burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform var(--t-fast) var(--ease-out); }
.hdr__burger span::before { top: -7px; }
.hdr__burger span::after  { top: 7px; }
.hdr__burger.is-open span { background: transparent; }
.hdr__burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.hdr__burger.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---- THEME TOGGLE (dark / light) ----- */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--c-ink-soft);
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.theme-toggle:hover { color: var(--c-ink); background: var(--c-accent-soft); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.hdr__mobile-cluster { display: flex; align-items: center; gap: 0.15rem; }
@media (min-width: 760px) { .hdr__mobile-cluster { display: none; } }

/* ============================================================================
   MOBILE NAV OVERLAY
   ============================================================================ */
.mnav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--c-ink);
  color: var(--c-on-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--wrap-pad);
  transform: translateY(-100%);
  transition: transform var(--t-med) var(--ease-io);
}
.mnav.is-open { transform: translateY(0); }
.mnav__list { display: flex; flex-direction: column; gap: var(--sp-5); }
.mnav__list a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500;
  color: var(--c-on-dark);
}
.mnav__list a:hover { color: var(--c-accent); }
/* While the dark overlay is open, the header floats above it (z 1000 vs 999) —
   its charcoal ink would vanish on the charcoal overlay. Flip to on-dark. */
body.mnav-open .hdr__word { color: var(--c-on-dark); }
body.mnav-open .hdr__burger span::before,
body.mnav-open .hdr__burger span::after { background: var(--c-on-dark); }
body.mnav-open .theme-toggle--mobile { color: var(--c-on-dark); }
.mnav__foot { margin-top: var(--sp-8); color: var(--c-on-dark-faint); font-size: var(--step--1); letter-spacing: 0.04em; }

/* ============================================================================
   DECORATIVE SPINE LINE
   One vertical SVG drawn on scroll. Its own viewBox stretches to canvas height
   (preserveAspectRatio="none"), so it NEVER couples to section pixel positions
   — the bug that broke the old layout twice. Pure decoration.
   ============================================================================ */
.site-canvas { position: relative; }
.spine {
  position: absolute;
  inset: 0;               /* positioning context only — the svg below is fixed-size */
  z-index: 0;
  pointer-events: none;
  overflow: hidden;       /* clip line overshoot at non-reference small widths */
  /* Hidden at page top: the round linecap of the reveal stroke renders a dot at
     the path start even at draw-progress 0. main.js adds .is-active once the
     user actually scrolls, fading the whole line layer in. */
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.spine.is-active { opacity: 1; }
/* Three baked chalk-line variants (assets/gen-lines.py): desktop (fixed 1440px,
   shown >=1180 where content width is capped so page height is ~constant),
   tablet (760-1179) and mobile (<760), the small two width-coupled but UNIFORM
   scale (viewBox keeps aspect — never the old preserveAspectRatio=none stretch
   that distorted on zoom/reflow). Re-bake after layout/typography changes:
   measure .site-canvas heights, update VARIANTS in gen-lines.py, re-run. */
.ol-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-mark);         /* grain fill is currentColor => theme-aware */
  display: none;                /* exactly one variant shows per breakpoint */
}
/* Desktop: FIXED px (= viewBox) — scales only under browser zoom, never reflow */
.ol-line--d { width: 1440px; height: 6697px; }
/* Tablet + mobile: width-coupled UNIFORM scale (aspect kept by the viewBox —
   never distorts; the page may run slightly longer/shorter than the line away
   from the reference widths 834/390, which .spine's overflow clips). */
.ol-line--t, .ol-line--m { width: 100%; height: auto; }
@media (min-width: 1180px)                          { .ol-line--d { display: block; } }
@media (min-width: 760px) and (max-width: 1179.98px){ .ol-line--t { display: block; } }
@media (max-width: 759.98px)                        { .ol-line--m { display: block; } }

/* keep content above the spine */
.site-canvas > section,
.site-canvas > footer { position: relative; z-index: 1; }

/* ============================================================================
   HAND MARKS — openingline's EXACT lifted SVGs (ring / underline / arrow).
   Each = a clean stroke <mask> revealing a baked grain <g> (thousands of vector
   shapes => texture varies along the stroke = real chalk). Lifted verbatim by
   assets/lift-marks.py; we changed only the grain fill -> currentColor (theme)
   and tagged the stroke path (.ol-draw / .ol-spine) for the scroll draw.
   ============================================================================ */
.ol-line, .hero-arrow, .ring-svg, .underline-svg { color: var(--c-mark); }
.ol-spine, .ol-draw { will-change: stroke-dashoffset; }

/* mark anchors */
.ring-wrap, .ul-wrap { position: relative; display: inline-block; }
.ring-wrap { margin-right: var(--ring-gap); }  /* landing room for the ring's tail */
/* All three marks read their position from the MARK TUNING vars in tokens.css.
   Re-fit a mark there after a copy change — these rules never need editing. */
.ring-svg {
  position: absolute;
  max-width: none;   /* the base img,svg{max-width:100%} reset silently capped
                        --ring-w/--ul-w at the word box — THE long-standing
                        "ring never fits" bug (found 2026-06-10) */
  left: 50%; top: 50%;                  /* anchor centre; offset via --ring-x/y */
  width: var(--ring-w); height: auto;   /* encircle the word with clearance */
  transform: translate(var(--ring-x), var(--ring-y)) rotate(var(--ring-rot));
  overflow: visible;
  pointer-events: none;
}
.underline-svg {
  position: absolute;
  max-width: none;   /* same reset exemption as .ring-svg */
  left: var(--ul-x); bottom: var(--ul-y);  /* hug the word from below */
  width: var(--ul-w); height: auto;        /* thickness comes from gen-marks w */
  overflow: visible;
  pointer-events: none;
}
.hero-arrow {
  position: absolute;
  width: var(--arrow-w);
  height: auto;
  left: var(--arrow-x);
  top: var(--arrow-y);                  /* head points into the headline */
  overflow: visible;
  pointer-events: none;
}
@media (max-width: 980px) { .hero-arrow { display: none; } }

/* ============================================================================
   HERO
   ============================================================================ */
.s-hero {
  padding-top: clamp(8rem, 6rem + 10vw, 14rem);
  padding-bottom: var(--section-y);
  text-align: center;
}
.s-hero__motif {
  position: absolute;
  width: clamp(280px, 40vw, 560px);
  right: clamp(-4rem, -2vw, 2rem);
  top: clamp(4rem, 8vw, 8rem);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.s-hero__motif path, .s-hero__motif circle { stroke: var(--c-accent); }
.s-hero__motif .motif-dot { fill: var(--c-accent); stroke: none; }
.s-hero .grid, .s-hero .g-10 { position: relative; z-index: 1; }

.s-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
  max-width: min(16ch, 100%);   /* never exceed the viewport on small screens */
  margin-inline: auto;
  position: relative;
  text-wrap: balance;
}
/* Second hero line = the resolution; smaller than the punch line above it.
   Ring auto-scales: its width is a % of the word box, so a smaller word = a
   smaller loop. No mark re-tune needed. */
.s-hero__l1 { display: inline-block; }
.s-hero__l2 {
  display: inline-block;
  font-weight: 400;   /* unbolded — subordinate to the headline */
  /* Matches openingline's secondary hero line (block-intro__text): 20px→28px
     against a 61→120px headline = ~0.23–0.33 ratio. Subordinate, not a 2nd
     headline. Own clamp (not an em multiplier) so mobile stays readable. */
  font-size: clamp(1.10rem, 0.95rem + 0.70vw, 1.45rem);
  color: var(--c-ink); /* same ink as the headline, like openingline */
  margin-top: 0.45em;
}
.s-hero__sub {
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  font-size: var(--step-1);
  line-height: var(--leading-snug);
  color: var(--c-ink-soft);
  max-width: 42ch;
  margin-inline: auto;
}
.s-hero__cta { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); display: inline-flex; }

/* ============================================================================
   STATEMENT
   ============================================================================ */
.s-statement { padding-block: var(--section-y); text-align: center; }
.s-statement__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink-2);
  max-width: min(24ch, 100%);
  margin-inline: auto;
  text-wrap: balance;
}

/* ============================================================================
   VALUE — dark panel (contrast moment)
   ============================================================================ */
.s-value { padding-block: var(--section-y); }
.s-value__illustration { width: 100%; max-width: 420px; margin-inline: auto; }
.s-value__illustration path, .s-value__illustration circle { stroke: var(--c-ink-faint); }
.s-value__illustration .v-chosen { stroke: var(--c-accent); }
.s-value__illustration .v-target { fill: var(--c-accent); stroke: none; }
.s-value__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
  margin-bottom: var(--sp-5);
}
.s-value__text { color: var(--c-ink-soft); font-size: var(--step-1); line-height: var(--leading-body); max-width: min(38ch, 100%); }

/* ============================================================================
   SERVICES — How it works
   ============================================================================ */
.s-services { padding-block: var(--section-y); }
.s-services__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.s-services__desc {
  margin-top: var(--sp-4);
  color: var(--c-ink-soft);
  font-size: var(--step-1);
  max-width: 28ch;
}
.s-services__head { position: sticky; top: clamp(6rem, 12vh, 9rem); }
@media (max-width: 859px) { .s-services__head { position: static; margin-bottom: var(--sp-6); } }

.s-list { display: flex; flex-direction: column; }
.s-list__item {
  position: relative;
  padding-block: var(--sp-6);
  padding-left: 0;
  border-top: 1px solid var(--c-bg-3);
  transition: padding-left var(--t-med) var(--ease-out);
}
.s-list__item:last-child { border-bottom: 1px solid var(--c-bg-3); }
.s-list__item:hover { padding-left: var(--sp-4); }
.s-list__item::before {
  content: "";
  position: absolute;
  left: 0; top: calc(var(--sp-6) + 0.55em);
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width var(--t-med) var(--ease-out);
}
.s-list__item:hover::before { width: var(--sp-3); }
.s-list__pre {
  display: block;
  font-size: var(--step--1);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.s-list__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-2);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-3);
}
.s-list__body { color: var(--c-ink-soft); max-width: 42ch; }

/* Guarantee — full-width airy breather (no box). Sits in openingline's
   slideshow slot: wide centred statement, lots of whitespace, big serif. */
.s-guarantee {
  margin-top: var(--sp-7);
}
.s-guarantee__label, .s-offer__label {
  font-size: var(--step--1);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-accent-deep);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.s-guarantee__main {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
  max-width: 18ch;
  margin-inline: auto;
}
/* The number is the promise — make the eye land on it first. */
.s-guarantee__num {
  color: var(--c-accent-deep);
  font-size: 1.15em;
}
/* The reversal is the hook — its own weighted line, not buried in the sentence. */
.s-guarantee__reversal {
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  line-height: var(--leading-snug);
  color: var(--c-accent-deep);
}
.s-guarantee__alt { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--c-accent-deep); margin-top: var(--sp-2); }
.s-guarantee__note { margin-top: var(--sp-4); font-size: var(--step--1); color: var(--c-ink-soft); }
.s-offer { margin-top: var(--sp-6); }
.s-offer__price { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); }

/* Guarantee as its own moment — wide, centred, extra air above + below so it
   reads as a breather between the list and the founder (openingline's slot). */
.s-guarantee-section { padding-block: calc(var(--section-y) * 1.5); }
.s-guarantee-section .s-guarantee {
  margin-top: 0;                 /* not nested under a list anymore */
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.s-guarantee-section .s-guarantee__reversal { margin-top: var(--sp-4); }
.s-guarantee__offer {
  margin-top: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--step-0);
  color: var(--c-ink-soft);
  letter-spacing: 0.01em;
}

.s-tags { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.s-tag {
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
  border: 1px solid var(--c-bg-3);
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.s-tag:hover { border-color: var(--c-accent); color: var(--c-accent-deep); }

/* ============================================================================
   FOUNDER
   ============================================================================ */
.s-founder { padding-block: var(--section-y); }
.s-founder__grid { align-items: center; }
/* Frame holds the crop + treatment so the real headshot reads editorial,
   not passport. Real photo = real founder = the trust this section sells. */
.s-founder__frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;          /* fixed portrait frame */
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-bg-3);
  box-shadow: var(--shadow-md);
  isolation: isolate;           /* contain the grain blend */
  margin: 0;
}
.s-founder__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;            /* crop to fill — never stretch the face */
  object-position: center 22%;  /* bias up so the head stays framed */
  /* warm duotone toward the brand terracotta — flattering, not flat multiply */
  filter: grayscale(1) sepia(0.45) saturate(1.5) hue-rotate(-14deg)
          brightness(1.03) contrast(1.04);
}
/* subtle film grain so it doesn't look digitally clean */
.s-founder__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 859px) {
  .s-founder__frame { margin-inline: auto; margin-bottom: var(--sp-6); max-width: 240px; }
  .s-founder__grid  { text-align: center; }
}
.s-founder__pre {
  font-size: var(--step--1);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.s-founder__statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
  max-width: 18ch;
  text-wrap: balance;
}
.s-founder__bio {
  margin-top: var(--sp-5);
  color: var(--c-ink-soft);
  font-size: var(--step-1);
  line-height: var(--leading-body);
  max-width: min(46ch, 100%);
}
@media (max-width: 859px) {
  .s-founder__statement { max-width: none; margin-inline: auto; }
  .s-founder__bio { margin-inline: auto; }
}

/* ============================================================================
   CTA — dark close
   ============================================================================ */
.s-cta { padding-block: var(--section-y); text-align: center; }
.s-cta__panel {
  text-align: center;
  padding-block: var(--sp-6);
}
.s-cta__pre {
  font-size: var(--step--1);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.s-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  max-width: min(20ch, 100%);
  margin: 0 auto var(--sp-7);
  text-wrap: balance;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--c-accent-ink);
  background: var(--c-accent);
  padding: 0.95rem 1.7rem;
  border-radius: var(--r-pill);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  box-shadow: 0 6px 20px var(--c-accent-soft);
  will-change: transform;
}
/* sweep fill on hover (cuberto-ish) */
.btn-pill::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-accent-deep);
  transform: translateY(101%);
  transition: transform var(--t-med) var(--ease-out);
}
.btn-pill:hover::before { transform: translateY(0); }
.btn-pill:hover { box-shadow: 0 12px 34px rgba(196,91,60,0.32); }
.btn-pill .btn-arrow { transition: transform var(--t-med) var(--ease-spring); }
.btn-pill:hover .btn-arrow { transform: translateX(5px); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.s-footer { padding-block: var(--sp-8); text-align: center; }
.s-footer p { color: var(--c-ink-faint); font-size: var(--step--1); letter-spacing: 0.04em; }

/* ============================================================================
   /START — the cold-email landing page. One purpose: book. No menu, no story.
   ============================================================================ */
.start { padding-top: clamp(6rem, 4rem + 6vw, 9rem); padding-bottom: var(--section-y); }
.start__head { text-align: center; max-width: 620px; margin-inline: auto; }
.start__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
  text-wrap: balance;
}
.start__sub {
  margin-top: var(--sp-5);
  font-size: var(--step-1);
  line-height: var(--leading-body);
  color: var(--c-ink-soft);
}
.start__sub strong { color: var(--c-accent-deep); font-weight: 600; }
.start__trust {
  max-width: 520px;
  margin: var(--sp-7) auto 0;
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.start__trust li { display: flex; align-items: center; gap: var(--sp-4); color: var(--c-ink-soft); font-size: var(--step-0); line-height: var(--leading-body); }
.start__face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.start__tick { color: var(--c-accent); font-weight: 600; flex: 0 0 auto; width: 44px; text-align: center; }
/* Frame the Calendly iframe as a deliberate panel so it reads as part of the
   page, not a bolted-on white box. Card clips the iframe corners. */
.start__calendar {
  max-width: 720px;
  margin: var(--sp-7) auto 0;
  background: #fff;
  border: 1px solid var(--c-bg-3);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: var(--sp-2);
}
.start__calendar .calendly-inline-widget { border-radius: calc(var(--r-lg) - var(--sp-2)); overflow: hidden; }
[data-theme="dark"] .start__calendar { background: #fff; border-color: rgba(0,0,0,0.08); }

/* ============================================================================
   LEGAL — plain text pages (privacy)
   ============================================================================ */
.legal { padding-top: clamp(6rem, 4rem + 6vw, 9rem); padding-bottom: var(--section-y); }
.legal .wrap { max-width: 720px; }
.legal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
}
.legal__meta { margin-top: var(--sp-3); color: var(--c-ink-faint); font-size: var(--step--1); }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  color: var(--c-ink);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
}
.legal p, .legal li { color: var(--c-ink-soft); font-size: var(--step-0); line-height: var(--leading-body); }
.legal p + p { margin-top: var(--sp-3); }
.legal ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--sp-2); list-style: disc; }
.legal a { color: var(--c-accent-deep); text-decoration: underline; }

.s-footer a { color: inherit; text-decoration: underline; }

/* ============================================================================
   SCROLL-REVEAL — base state only applied when JS adds .motion-ok to <html>
   (so no-JS users always see content). Intentionally NOT gated by
   prefers-reduced-motion: Hector wants the full motion experience even with
   macOS Reduce Motion ON (see main.js).
   ============================================================================ */
.motion-ok .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.motion-ok .reveal.is-revealed { opacity: 1; transform: none; }
