/* Above the Noise — Hypajump scroll-film.
 * Tokens mirror src/styles/global.css of the Astro app (locked palette).
 * Display face: Archivo variable — its width axis performs the film's arc:
 * crushed condensed caps in the canyon, wide light setting at altitude.
 */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --bg-warm: #FCD8B4;
  --gradient-warm: radial-gradient(ellipse at 20% 80%, #FC6C24 0%, #FC9048 25%, #FCC09C 55%, #E4B4D8 100%);
  --text: #3B2517;
  --text-on-warm: #FFFFFF;
  --text-muted: #57534E;
  --border: #EDE8E0;
  --accent: #8D57FB;
  --accent-hover: #7A3FE8;
  --accent-soft: #EDE2FF;
  --warm-1: #FC7824;
  --warm-2: #FCA89C;
  --warm-3: #FCD8B4;
  --seam: #FCD8B4; /* overwritten from frames manifest */

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --container-max: 1280px;
  --container-pad: clamp(20px, 5vw, 48px);
  --section-pad: clamp(80px, 12vw, 160px);
  --film-length: 950vh;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* .hero-title is the static hero's headline. It looks like an h1 but isn't one,
   so that the film's #beat-arrival can be the page's single h1. */
h1, h2, h3, h4, .hero-title {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 100;
}

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}

/* ---------- pill buttons: purple = action, only ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.small { padding: 10px 22px; font-size: 14px; }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.secondary:hover { background: transparent; border-color: var(--accent); }

/* ---------- header ---------- */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--container-pad);
  color: #fff; /* over dark canyon at boot */
  transition: color 0.35s ease;
  pointer-events: none;
}
#site-header > * { pointer-events: auto; }
#site-header.on-light { color: var(--text); }
#site-header:not(.past-film) .brand { text-shadow: 0 1px 10px rgba(10, 10, 12, 0.35); }
#site-header.on-light:not(.past-film) .brand { text-shadow: 0 1px 10px rgba(255, 255, 255, 0.5); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 78;
  letter-spacing: 0.02em;
  font-size: 20px;
  color: currentColor;
}
.brand .mark {
  width: 22px;
  height: 22px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("logo-mark.png") center / contain no-repeat;
  mask: url("logo-mark.png") center / contain no-repeat;
}
#site-nav {
  display: none;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
#site-nav a { text-decoration: none; opacity: 0.85; }
#site-nav a:hover { opacity: 1; color: var(--accent); }
#site-header.past-film {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) {
  #site-header.past-film #site-nav { display: flex; }
}

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #2A2B2E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #C9CBCF;
  transition: opacity 0.6s ease;
}
#loader.done { opacity: 0; pointer-events: none; }
#loader .mono { letter-spacing: 0.24em; }
#loader-track {
  width: min(280px, 60vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
#loader-bar {
  height: 100%;
  width: 100%;
  background: #C9CBCF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

/* ---------- the film ---------- */
#film { height: var(--film-length); position: relative; }
#stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #2A2B2E;
}
#film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.film-atmos { position: absolute; inset: 0; pointer-events: none; }

/* the noise, as type — Archivo crushed to its condensed extreme.
 * Two size tiers: acronyms huge (with an unreadable-in-passing expansion, which
 * is the joke), longer terms smaller so they stay legible. No mix-blend-mode:
 * overlay dissolved the words into mid-grey buildings and inverted them into
 * painted signage over dark surfaces. Plain alpha + a shadow reads on both.
 * Positioning is done entirely in app.js (transform), never left/top, so the
 * words stay on the compositor. */
#noise-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.noise-word {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-weight: 850;
  font-variation-settings: "wdth" 62;
  letter-spacing: 0.02em;
  line-height: 1;
  will-change: transform, opacity, filter;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 2px 22px rgba(10, 10, 12, 0.4);
}
.noise-word[data-tier="big"] { font-size: clamp(52px, 10vw, 132px); }
.noise-word[data-tier="mid"] { font-size: clamp(26px, 4.4vw, 62px); }

.noise-word[data-var="solid"] { color: rgba(255, 255, 255, 0.5); }
.noise-word[data-var="ghost"] { color: rgba(226, 232, 240, 0.3); }
.noise-word[data-var="outline"] {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.46);
  text-shadow: none;
}

/* the acronym's expansion: technically present, unreadable at speed */
.noise-exp {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-variation-settings: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  -webkit-text-stroke: 0;
  margin-top: 6px;
  text-shadow: 0 1px 10px rgba(10, 10, 12, 0.6);
}

/* 9:16 has room for five words, not nine — and they have to be smaller, or the
   clamp drags the wide ones to centre where they collide with each other. */
@media (max-aspect-ratio: 1/1) {
  .noise-word:not([data-mob="1"]) { display: none; }
  .noise-word[data-tier="big"] { font-size: clamp(38px, 12vw, 76px); }
  .noise-word[data-tier="mid"] { font-size: clamp(19px, 5.6vw, 36px); }
  .noise-exp { font-size: 8.5px; letter-spacing: 0.12em; margin-top: 4px; }
}

#film-grain {
  opacity: 0.07;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}
#film-vignette {
  background: radial-gradient(ellipse at center, transparent 55%, rgba(10, 10, 12, 0.38) 100%);
}
#film-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 45vh;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, var(--seam));
}

/* ---------- beats ---------- */
.beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--container-pad) 16vh;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.beat h2, .beat p.line {
  font-family: var(--font-display);
  color: #fff;
  text-shadow: 0 2px 24px rgba(10, 10, 12, 0.35);
  max-width: 16ch;
  font-size: clamp(40px, 7.2vw, 100px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
/* Centred over the canyon's bright fog the eyebrow had almost no contrast, so it
   carries a heavier shadow than the headline, which has size on its side. */
.beat .mono { color: #fff; margin-bottom: 18px; text-shadow: 0 1px 3px rgba(10, 10, 12, 0.7), 0 2px 18px rgba(10, 10, 12, 0.75); }
.beat-mid { justify-content: center; align-items: center; text-align: center; padding-bottom: 0; }
/* beat 1 is centred too, and it needs a wider measure than the mid-film beats so
   "shopping for AI" stays on one line. */
.beat-mid p.line { max-width: 20ch; }
/* ...so the mid-film beats claw the measure back to 14ch. Declared after the rule
   above because they share its specificity. */
.beat-mid h2, .beat-mid p.beat-copy { max-width: 14ch; }

#beat-cue {
  position: absolute;
  left: 50%;
  bottom: 4.5vh;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}
#beat-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(-6px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* arrival — white on the regraded cloud, the one purple action.
 * Was chocolate var(--text) on pale gold: two warm mid-tones with nowhere to go,
 * which read muddy and made the film's highest point its weakest frame. White
 * also matches every other beat; the arrival was the only one that broke rank.
 * The plate's own contrast is restored at extraction time (tools/regrade.sh). */
#beat-arrival {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 0;
}
#beat-arrival h1 {
  color: #fff;
  text-shadow: 0 2px 30px rgba(10, 10, 12, 0.45);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 640;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: 34px;
}
#beat-arrival .micro {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 14px rgba(10, 10, 12, 0.5);
  margin-top: 18px;
}

/* ---------- altimeter ---------- */
#altimeter {
  position: absolute;
  right: var(--container-pad);
  bottom: 4.5vh;
  z-index: 5;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  text-transform: uppercase;
  pointer-events: none;
  transition: color 0.35s ease;
}
#stage.alt-dark #altimeter { color: rgba(59, 37, 23, 0.8); }
#alt-value { font-size: 22px; letter-spacing: 0.08em; font-weight: 600; }
#alt-chapter { font-size: 10px; letter-spacing: 0.22em; margin-top: 4px; }
#alt-track {
  width: 120px;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
  margin-top: 10px;
  margin-left: auto;
}
#alt-bar {
  height: 100%;
  background: currentColor;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- content below the film ---------- */
/* The seam owns its own element rather than being painted onto whichever section
   happens to sit first, so sections can be reordered without breaking the
   handoff out of the film. --seam is sampled from the final frame by
   tools/regrade.sh and injected by app.js. */
#seam-band {
  height: clamp(140px, 24vh, 280px);
  background: linear-gradient(to bottom, var(--seam) 0%, #FDF4EA 55%, var(--bg) 100%);
}
html.static-film #seam-band { display: none; }

/* ---------- the measurement chart ---------- */
#measure { padding-top: calc(var(--section-pad) * 0.5); }
#measure-chart {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: clamp(20px, 3vw, 34px);
}
.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.chart-head .mono { color: var(--text-muted); }
.chart-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-1);
  background: #FFF4E8;
  border: 1px solid var(--warm-2);
  padding: 4px 10px;
  border-radius: 999px;
}
#measure-chart svg { width: 100%; height: auto; overflow: visible; }

.chart-grid line { stroke: var(--border); stroke-width: 1; }
/* SVG font sizes are in viewBox units, not CSS px: the 720-wide viewBox renders
   about 1280 wide, so these are multiplied by ~1.8 on screen. 7 lands at roughly
   the 12px mono the rest of the page uses; 11 rendered at nearly 20px. */
.chart-ylab text, .chart-xlab text {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: var(--text-muted);
  letter-spacing: 0.08em;
}
.chart-ylab text { text-anchor: end; }

.chart-gap { fill: var(--warm-1); opacity: 0.12; }
.chart-baseline {
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  opacity: 0.55;
}
.chart-baselab, .chart-marker text {
  font-family: var(--font-mono);
  font-size: 6.5px;         /* viewBox units — see note above */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--text-muted);
}
.chart-marker line { stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.7; }
.chart-line {
  fill: none;
  stroke: var(--warm-1);
  stroke-width: 3.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-steps { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 820px) { .chart-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.chart-steps li {
  color: var(--text-muted);
  font-size: 15px;
  border-top: 2px solid var(--warm-2);
  padding-top: 12px;
}
.chart-steps .mono {
  display: block;
  color: var(--warm-1);
  margin-bottom: 6px;
  letter-spacing: 0.2em;
}

/* SVG text scales WITH the viewBox, so a narrow screen shrinks it — the opposite
   of what's needed. At ~340px render width the 7-unit labels came out near 3px.
   Bigger units here, and fewer labels so the bigger type has room. The in-chart
   annotations are dropped entirely on mobile: the three captions below the chart
   are real text and already say the same thing. */
@media (max-width: 700px) {
  .chart-ylab text, .chart-xlab text { font-size: 19px; letter-spacing: 0.04em; }
  .chart-xlab .x-mid, .chart-baselab, .chart-marker text { display: none; }
  .chart-line { stroke-width: 6; }
  .chart-grid line, .chart-baseline { stroke-width: 2; }
  .chart-baseline { stroke-dasharray: 9 9; }
  .chart-marker line { stroke-width: 2; stroke-dasharray: 6 7; }
}
.container { max-width: var(--container-max); margin: 0 auto; }
section.block { padding: var(--section-pad) var(--container-pad); }
section.block.tight { padding-top: calc(var(--section-pad) * 0.55); }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
h2.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 20ch;
}
.section-intro { color: var(--text-muted); font-size: 18px; max-width: 58ch; }

/* case studies */
.case {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .case { grid-template-columns: 5fr 4fr; }
  .case:nth-child(even) .case-media { order: -1; }
}
.case-body { padding: clamp(26px, 4vw, 48px); }
.case-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tag.pattern { border-color: var(--warm-2); color: var(--warm-1); }
.case h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 24ch;
}
.case dl div { margin-bottom: 16px; }
.case dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-1);
  margin-bottom: 6px;
}
.case dd { color: var(--text-muted); font-size: 15.5px; }
.case-media {
  background: #F7F3EC;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.case-media .credit {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(59, 37, 23, 0.55);
  background: rgba(255, 255, 255, 0.72);
  padding: 3px 8px;
  border-radius: 999px;
}
/* Client quote, rendered from assets/testimonials.js, floating directly on the
 * case image — no card, no panel. The gradient below is what makes that legible
 * across plates as different as a lit factory floor and a dawn road; it reads as
 * the photo getting darker, not as a box behind the text. */
.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to top,
    rgba(18, 11, 6, 0.78) 0%,
    rgba(18, 11, 6, 0.45) 26%,
    rgba(18, 11, 6, 0.06) 52%,
    rgba(18, 11, 6, 0) 70%);
}
/* set by app.js only when a quote actually rendered — the aged-care case has none */
.case-media.has-quote::after { opacity: 1; }

.case-media .case-quote {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 3vw, 34px);
  /* keep clear of the Illustration credit pill in the bottom-right corner */
  padding-right: clamp(90px, 12vw, 120px);
}
.case-media .case-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(10, 10, 12, 0.6);
  max-width: 30ch;
}
.case-media .case-quote blockquote::before { content: "\201C"; }
.case-media .case-quote blockquote::after { content: "\201D"; }
.case-media .case-quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-style: normal;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(10, 10, 12, 0.7);
}
/* an overlaid quote needs more image to sit on than a bare plate does */
.case-media.has-quote { min-height: 340px; }

.case-links { margin-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; }
.case-links a { font-size: 14px; font-weight: 600; color: var(--text); }

/* case collapse — the clamp and the More control.
 * Applied ONLY under .is-collapsed, which app.js adds at init. If the script
 * never runs, the case renders in full rather than stranding most of its copy
 * behind a control that cannot work. Do not move this onto .case directly.
 */
.case.is-collapsed > .case-body > dl:not(.case-detail) > div:first-child dd {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
/* the concealed sections are hidden by the hidden attribute, not by a display
 * rule — a display:none panel cannot be revealed by find-in-page (see Task 4) */
.case-detail { margin: 0; }

.case-more {
  display: inline-block;
  /* padding (not margin) carries the tap-target height, so the box itself
   * reaches the WCAG 2.5.8 24px minimum instead of relying on visually
   * empty margin, which doesn't count. margin-top is reduced by the same
   * 6px the padding adds above, so the control doesn't visibly shift. */
  margin-top: 8px;
  padding: 6px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  /* --accent (#8D57FB) is 4.30:1 on white, short of WCAG AA's 4.5:1 for text
   * this size/weight. --accent-hover (#7A3FE8) clears it at 5.67:1 — used as
   * the resting colour, deviating from the original spec by design approval. */
  color: var(--accent-hover);
}
.case-more:hover { color: var(--accent); }
.case-more:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* how it works */
.steps { max-width: 760px; margin-top: 40px; }
.step { display: flex; gap: 22px; padding-bottom: 42px; position: relative; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 58px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.step-num {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF4E8;
  color: var(--warm-1);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 20px; font-weight: 750; display: inline; }
.step .free-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-1);
  background: #FFF4E8;
  border: 1px solid var(--warm-2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}
.step p { color: var(--text-muted); margin-top: 8px; font-size: 15.5px; }

/* founders */
.founders { display: grid; gap: 26px; margin-top: 40px; }
@media (min-width: 900px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
}
.founder img {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.founder h3 { font-size: 22px; font-weight: 800; }
.founder .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-1); margin: 6px 0 16px; }
.founder p { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.team-note { color: var(--text-muted); margin-top: 26px; max-width: 62ch; }

/* guarantee — dark chocolate authority card, after the Jumpstart report's
   "recommended" panel language */
#guarantee .panel {
  background: var(--text);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 64px);
  color: #fff;
}
#guarantee .panel h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; max-width: 18ch; margin-bottom: 20px; }
#guarantee .panel p { color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin-bottom: 14px; }
#guarantee .panel .mono { color: var(--warm-2) !important; }
#guarantee .conditions { display: grid; gap: 14px; margin: 26px 0; }
@media (min-width: 800px) { #guarantee .conditions { grid-template-columns: repeat(3, 1fr); } }
#guarantee .cond {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 14.5px;
}
#guarantee .cond .mono { display: block; letter-spacing: 0.2em; font-size: 10px; margin-bottom: 8px; color: var(--warm-2); }

/* the worked example — set apart from the promise so it reads as evidence for it
   rather than more of the same claim */
#guarantee .worked {
  border-left: 2px solid var(--warm-2);
  padding: 4px 0 4px 24px;
  margin: 30px 0 26px;
}
#guarantee .worked .mono {
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.2em;
  font-size: 10px;
}
#guarantee .worked p { margin-bottom: 12px; max-width: 56ch; }
#guarantee .worked p:last-child { margin-bottom: 0; }

/* case-study stat callout — the report's numerals-forward treatment */
.case-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0 20px;
  padding: 16px 20px;
  background: #F7F3EC;
  border-radius: 14px;
}
.case-stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 92;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  color: var(--warm-1);
  white-space: nowrap;
}
.case-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 34ch;
}
.not-for {
  margin-top: 46px;
  border-left: 2px solid var(--warm-1);
  padding-left: 26px;
  max-width: 66ch;
}
.not-for h3 { font-size: 20px; font-weight: 750; margin-bottom: 12px; }
.not-for p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 10px; }

/* faq */
.faq-list { max-width: 760px; margin-top: 30px; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; color: var(--text-muted); font-size: 22px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 22px; color: var(--text-muted); font-size: 15.5px; max-width: 62ch; }
.faq-list .answer p + p { margin-top: 10px; }

/* booking */
#book { background: #FDF7EF; }
#book .grid { display: grid; gap: 40px; margin-top: 30px; }
@media (min-width: 1000px) { #book .grid { grid-template-columns: 5fr 7fr; } }
#book ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; color: var(--text-muted); font-size: 15px; }
#book ul li::before { content: "·"; color: var(--warm-1); font-weight: 800; margin-right: 10px; }
#book .embed {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  min-height: 640px;
}
#book iframe { width: 100%; border: none; min-height: 640px; }

/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px var(--container-pad) 40px;
  color: var(--text-muted);
  font-size: 14px;
}
footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer .links { display: flex; gap: 22px; align-items: center; }
footer a { text-decoration: none; }
footer a:hover { color: var(--accent); }
footer svg { display: block; }

/* ---------- static / reduced-motion mode ---------- */
#static-hero { display: none; }
html.static-film #film, html.static-film #loader, html.static-film #beat-cue { display: none; }
html.static-film #static-hero {
  display: flex;
  min-height: 92vh;
  background: var(--gradient-warm);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--container-pad) 80px;
}
html.static-film #static-hero .inner { max-width: 860px; }
html.static-film #static-hero .hero-title {
  color: #fff;
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 700;
  font-variation-settings: "wdth" 108;
  margin-bottom: 30px;
}
html.static-film #static-hero .micro {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 16px;
}

@media (max-width: 640px) {
  .btn.small { font-size: 13px; padding: 9px 16px; }
  .btn.small .cta-long { display: none; }
  #beat-cue .mono { display: none; }
  #altimeter { right: 20px; }
  /* :not(.beat-mid) — a centred beat must keep padding-bottom 0, or this pushes
     its content off-centre upward. */
  .beat:not(.beat-mid) { padding-bottom: 20vh; }
}
@media (min-width: 641px) {
  .btn.small .cta-short { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #beat-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}
