/* The homepage (#3057), ported from Harry's design trial (apps/landing/hero-dog.html on the
   claude/landing-hero-dog-pull-b7e155 branch, 14-15 Nov 2026). Every value is his; the notes are the
   trial's own. Only index.html loads this file. */
:root { --ink: #0d0c0b; --yellow: #edbb00; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; overflow-x: hidden; }
/* links within the page (How it works, Pricing, FAQ) glide rather than jump (Harry, 15 Nov); reduced motion keeps the jump */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: "Source Serif 4", Georgia, serif; color: var(--ink); }

.hero {
  min-height: 100vh; min-height: 100svh; width: 100%; overflow: hidden; background: transparent;
  display: flex; align-items: center; justify-content: center; padding: 48px 16px;
}

/* Nav: idea 6 from hero-navs.html, highlighter links (Harry, 14 Nov). Plain serif links; hovering one sweeps the
   same yellow highlighter that lands under "Clive", and Sign in keeps its swipe. */
.hero { position: relative; z-index: 1; }
.topnav { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; align-items: center; gap: 30px; padding: 33px 40px 33px 36px; }   /* matches the live hero: logo 36px in, Sign in 40px in (measured) */
.topnav a { color: var(--ink); text-decoration: none; }
.topnav .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.topnav .brand img { height: 36px; width: auto; }   /* live .logo-face height */
.topnav .links { margin-left: auto; display: flex; align-items: center; gap: 30px; font-size: 17px; }
.topnav .links a { position: relative; z-index: 0; }
.topnav .links a::before {
  content: ""; position: absolute; z-index: -1; left: -3px; right: -3px; bottom: 1px; height: 0.45em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 260ms cubic-bezier(.3,.7,.3,1);
}
.topnav .links a:hover::before, .topnav .links a.on::before { transform: scaleX(1); }
/* Sign in carries the P key hint, as on the live site (Harry, 15 Nov); its yellow underline sits under the words only */
.topnav .links a.nav-signin { display: inline-flex; align-items: center; gap: 10px; }
.topnav .links a.nav-signin::before { display: none; }
.topnav .links a.nav-signin .t { position: relative; z-index: 0; }
.topnav .links a.nav-signin .t::before { content: ""; position: absolute; z-index: -1; left: -3px; right: -3px; bottom: 1px; height: 0.45em; background: var(--yellow); }
.topnav .hotkey { font: 500 12px/1 Inter, system-ui, sans-serif; color: #9a958e; padding: 4px 6px; border-radius: 5px; border: 1px solid #e7e3de; }
@media not ((hover: hover) and (pointer: fine)) { .topnav .hotkey { display: none; } }
.topnav .burger { display: none; width: 44px; height: 44px; place-items: center; margin-left: auto; margin-right: -10px; }
@media (max-width: 699px) {
  .topnav { padding: 24px 20px; }   /* live phone padding, under 600px there */
  .topnav .links { display: none; }
  .topnav .burger { display: inline-grid; }
}
.copy { width: 100%; text-align: center; }
/* Live count pill above the title (Harry, 14 Nov). The count comes from /data/showcase; the pill stays hidden until it does. */
.live {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 30px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #e7e4e1; box-shadow: 0 2px 10px rgba(20,18,16,.05);
  color: var(--ink2, #55514c); text-decoration: none; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: border-color 160ms, box-shadow 160ms, opacity calc(600ms / var(--k, 1)) ease calc(150ms / var(--k, 1)), transform calc(600ms / var(--k, 1)) cubic-bezier(.22,.61,.36,1) calc(150ms / var(--k, 1));
  opacity: 0; transform: translateY(-8px);   /* arrives with the CTAs, once the dog has passed (Harry, 14 Nov) */
}
.landed-all .live { opacity: 1; transform: none; }
/* the pill shows only once the feed gives a real count; /data/showcase answers 204 when there is nothing sound to show
   (review of #3058: it used to fall back to a placeholder number) */
.live:not(.has-count) { visibility: hidden; }
.live .when { font-style: normal; }
.live b { color: var(--ink); font-weight: 600; }
.live:hover { border-color: #d7d2cc; box-shadow: 0 3px 14px rgba(20,18,16,.08); }
.live .arr { color: var(--ink); transition: transform 160ms; }
.live:hover .arr { transform: translateX(3px); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1fa45b; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1fa45b; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }
@media (max-width: 699px) { .live { font-size: 14px; margin-bottom: 22px; } }
/* one line on a wide screen, as on the live hero; on a phone "Meet Clive" drops to its own line */
.title {
  margin: 0; font-weight: 600; font-size: clamp(36px, 7vw, 140px); line-height: 1.04; letter-spacing: -0.03em;
  white-space: nowrap;
}
.line1 { display: inline; }
.sub {
  margin: 0.9em auto 0; max-width: 30em; font-size: clamp(19px, 2.2vw, 32px); line-height: 1.45; color: #55514c; text-wrap: balance;
  opacity: 0; transform: translateY(10px); transition: opacity calc(600ms / var(--k, 1)) ease, transform calc(600ms / var(--k, 1)) cubic-bezier(.22,.61,.36,1);
}
.landed-all .sub { opacity: 1; transform: none; }
/* CTAs: the live hero's pair (home.css .h-btn, .h-link-under), recoloured for white; in just after the subtitle */
.ctas {
  display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 32px;
  opacity: 0; transform: translateY(10px); transition: opacity calc(600ms / var(--k, 1)) ease calc(150ms / var(--k, 1)), transform calc(600ms / var(--k, 1)) cubic-bezier(.22,.61,.36,1) calc(150ms / var(--k, 1));
}
.landed-all .ctas { opacity: 1; transform: none; }
/* Keycaps: idea 6 from hero-ctas.html (Harry, 14 Nov). Keys press down on hover. The Enter and ? hints are back but
   muted (Harry, 14 Nov: no yellow, nothing that pulls attention from the action); pressing the key follows the link. */
.key {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 16px; background: #fff; color: var(--ink);
  text-decoration: none; border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 0 6px 0 var(--ink);
  font-weight: 600; font-size: 18px; transition: transform 80ms, box-shadow 80ms;
}
.key:hover, .key.down { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.key.small { font-size: 15px; padding: 10px 16px 12px; box-shadow: 0 4px 0 var(--ink); }
.key.small:hover, .key.small.down { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.key kbd { font: 500 12px/1 Inter, system-ui, sans-serif; color: #9a958e; padding: 5px 7px; border-radius: 5px; border: 1px solid #e7e3de; }
@media (pointer: coarse) { .key kbd { display: none; } }   /* no keyboard on a phone, so no key hints */
@media (max-width: 699px) {
  .title { font-size: clamp(32px, 12.6vw, 64px); }
  .line1 { display: block; }
}

/* Line 2 sits where it ends; the script hides it behind a moving mask edge that follows the dog. */
.line2 { position: relative; display: inline-block; white-space: nowrap; }
/* black, with the half-height yellow highlighter swipe under "Clive" once he has passed (Harry, 14 Nov) */
.clive { position: relative; z-index: 0; }
.clive::before {
  content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.06em; bottom: 0.36em; height: 0.28em;
  background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform calc(420ms / var(--k, 1)) cubic-bezier(.3,.7,.3,1);
}
.landed .clive::before { transform: scaleX(1); }
.words {
  display: inline-block;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--x, 100%) - var(--soft, 0px)), transparent var(--x, 100%));
          mask-image: linear-gradient(90deg, #000 calc(var(--x, 100%) - var(--soft, 0px)), transparent var(--x, 100%));
}
.landed .words { -webkit-mask-image: none; mask-image: none; }

/* the dog: Harry's 16 gallop frames as an 8 by 2 sheet, stepped by the script so the legs follow the speed slider */
.dog {
  position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2; display: none;
  will-change: transform; background: url(/assets/hero-trial-gallop-frames.webp) 0 0 / 800% 200% no-repeat;
}
@media (max-width: 699px), (max-resolution: 1.5dppx) { .dog { background-image: url(/assets/hero-trial-gallop-frames-336.webp); } }   /* phones and standard-density screens (most slow laptops): smaller frames, quicker to decode, the same sheet layout (Harry, 15 Nov: hero first) */
.js .line2 .words { --x: 0px; }
.js:not(.title-on) .title { visibility: hidden; }   /* held until the headline font is in, 0.8 s at most (homepage-js.js) */

/* ============ Background: the Spotlight pages' dots, strongest top left (Harry, 14 Nov: picked from the trials) ============ */
.copy { position: relative; z-index: 1; }
/* The background is page level, not inside the hero: it runs on past the hero's bottom edge so it tapers off
   gently instead of stopping at a hard line (Harry, 14 Nov). */
.bg { position: absolute; left: 0; right: 0; top: 0; height: 190vh; z-index: 0; pointer-events: none; overflow: hidden;
  /* Safari drew the old version (a radial gradient repeated per dot, then masked) so slowly that the dots took ~20 s
     to appear (Harry, 15 Nov). Same look, cheap to draw: one tiny tiled dot image, faded by a single white gradient on
     top instead of a mask (the page behind is white). */
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 35%, #fff 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='1.25' fill='%23bab6b6'/%3E%3C/svg%3E");
  background-size: 100% 100%, 22px 22px; background-repeat: no-repeat, repeat; }

/* ============ The peek (Harry, 14 Nov): half a second after the dog leaves, his halftone head rises from the
   bottom right corner, partly off screen. (Eyes that followed the mouse were tried and removed, 14 Nov.) ============ */
/* He is part of the page, not pinned to the screen (phones from 14 Nov, desktop too from 15 Nov: Harry wanted desktop's
   retreat to be the phones' slower sink). iOS Safari cuts screen-pinned things off in a straight line above its glass
   toolbar but draws the page underneath it, so his body carries on down out of sight; the wrapper reaches 320px below
   the first screen, past the end of his fur, so its clip only trims the sides. */
.peek-wrap { position: absolute; top: 0; left: 0; right: 0; height: calc(100vh + 320px); height: calc(100svh + 320px); z-index: 6; pointer-events: none; overflow: hidden; }
.peek-wrap .peek { bottom: 320px; }
.peek {
  position: absolute; right: 0; bottom: 0; z-index: 6; width: clamp(170px, 24vw, 340px);   /* above the trial panel */ aspect-ratio: 1; pointer-events: none;
  transform-origin: 50% 50%; transform: translate(calc(var(--px) + var(--sx, 0px)), calc(var(--py) + var(--sy, 0px))) rotate(var(--rot)); visibility: hidden;
  --rot: -24deg; --px: 26%; --py: 34%;
}
.peek.hidden-start { --px: 70%; --py: 95%; }
.peek.go { visibility: visible; transition: transform 700ms cubic-bezier(.34,1.45,.55,1); }
/* Scrolling moves him, not a timer (Harry, 15 Nov: a fast scroll outran the timed sink and showed the bottom of his
   picture): the script slides him down along his body by twice the scroll, so on screen he goes down and out of the
   corner as the page goes up, and comes back as you scroll up. Set every frame from the script, no CSS transition
   (iPhone browsers drew a transitioning layer with the wrong clip, 14 Nov). */
.peek.go.linked { transition: none; }
@media (prefers-reduced-motion: reduce) { .peek.go { transition: none; } }   /* no pop or glide back: he is simply where the scroll puts him */
/* The head with extra body below it (Harry, 14 Nov): the square box frames the head as before and the body hangs
   below, out of sight, so when he ducks away there is fur behind him rather than a cut line. The body was
   halftoned from the same photo with the same dot grid and fades out at the very bottom. */
.peek img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
@media (max-width: 699px) { .peek { --px: 22%; --py: 30%; --rot: -34deg; } }



/* ============ Clive brings them together (Harry, 14 Nov): text on the left, a bar chart on the right. As it comes
   into view the other sites' bars rise, then Clive's column grows and the scattered tiles from No.1 are sucked
   into it. Employer counts are the ones from Harry's launch video. ============ */
.together { position: relative; z-index: 1; padding: calc(33.6vh + 16px) 40px 80px 36px; }   /* gap below No.1: 40% more than 40px + 24vh (Harry, 14 Nov) */
.together-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.together h2 { margin: 0; font-weight: 600; font-size: clamp(24px, 3.3vw, 52px); line-height: 1.06; letter-spacing: -0.03em; white-space: nowrap; }   /* one line (Harry, 14 Nov) */
@media (max-width: 860px) { .together h2 { font-size: min(8.2vw, 44px); } }
.together h2 .hl2 { position: relative; z-index: 0; }
.together h2 .hl2::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.06em; bottom: 0.12em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 380ms cubic-bezier(.3,.7,.3,1) 200ms; }
.together.in h2 .hl2::before { transform: scaleX(1); }
.together p { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3a3733; max-width: 26em; }
.together .copy-l { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.22,.61,.36,1); }
.together.in .copy-l { opacity: 1; transform: none; }

.chart { position: relative; height: 470px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; padding-bottom: 92px; }
.chart::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 92px; height: 3px; border-radius: 2px; background: #0d0c0b; }
.col { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.col .bar { width: 100%; height: var(--h); border-radius: 12px 12px 0 0; background: var(--c); transform-origin: 50% 100%; transform: scaleY(0);
  transition: transform 600ms cubic-bezier(.22,.61,.36,1) var(--d, 0ms); }
.col .num { font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 4px; opacity: 0; transition: opacity 300ms ease calc(var(--d, 0ms) + 300ms); font-variant-numeric: tabular-nums; }
.col .unit { font-size: 15px; color: #55514c; margin-bottom: 10px; opacity: 0; transition: opacity 300ms ease calc(var(--d, 0ms) + 300ms); }
.chart.go .col .bar { transform: scaleY(1); }
.chart.go .col .num, .chart.go .col .unit { opacity: 1; }
.col .lab { position: absolute; top: calc(100% + 14px); display: grid; justify-items: center; gap: 8px; font: 600 14px/1.1 Inter, system-ui, sans-serif; color: #0d0c0b; white-space: nowrap; }
.col .lab .ico { width: 52px; height: 52px; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 8px rgba(20,18,16,.12); }
.col .lab .ico img { width: 100%; height: 100%; object-fit: cover; }
.col.trackr .lab .ico { background: #0E1C37; } .col.trackr .lab .ico img { width: 70%; height: 70%; object-fit: contain; }
.col.clive .lab .ico img { width: 84%; height: 84%; object-fit: contain; }
/* Clive's column grows by script, in step with the tiles landing in it */
.col.clive .bar { transform: none; height: 0; transition: none; box-shadow: 0 -6px 30px rgba(237,187,0,.35); }
.col.clive .num { opacity: 1; }
.col.clive .num, .col.clive .unit { transition: none; }
@media (max-width: 860px) {
  .together { padding: 18vh 20px 60px; }
  .together-in { grid-template-columns: 1fr; gap: 40px; }
  .chart { height: 380px; gap: 10px; padding-bottom: 80px; } .chart::after { bottom: 80px; }
  .col .num { font-size: 22px; } .col .unit { font-size: 12px; } .col .lab { font-size: 11px; } .col .lab .ico { width: 42px; height: 42px; border-radius: 11px; }
}
@media (prefers-reduced-motion: reduce) { .together .copy-l, .col .bar, .col .num, .col .unit { transition: none; } }

/* ============ He's also very picky (Harry, 14 Nov): a wall of job-advert sentences on the left, the copy on the
   right. Once it scrolls in, the sentences wanting years of experience or no degree get scribbled out and the ones
   that fit a graduate get a green highlighter. The script splits each sentence into lines so marks follow the text. */
.picky { position: relative; z-index: 1; padding: calc(19.6vh - 24px) 40px 80px 36px; }   /* gap after the chart: 30% less than 80px + 28vh (Harry, 14 Nov) */
/* wide and short: the wall about as tall as the copy beside it (Harry, 14 Nov) */
.picky-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 71px; align-items: center; }   /* text-to-text gap matches "Clive rounds them up" to its chart (Harry, 14 Nov) */
.picky h2 { margin: 0; font-weight: 600; font-size: clamp(24px, 3.3vw, 52px); line-height: 1.06; letter-spacing: -0.03em; white-space: nowrap; }
.picky h2 .hl3 { position: relative; z-index: 0; }
.picky h2 .hl3::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.06em; bottom: 0.12em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 380ms cubic-bezier(.3,.7,.3,1) 200ms; }
.picky.in h2 .hl3::before { transform: scaleX(1); }
.picky p.lede2 { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3a3733; max-width: 27em; }
.picky .copy-r { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.22,.61,.36,1); }
.picky.in .copy-r { opacity: 1; transform: none; }
.wall { margin: 0; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.7; color: #6b665f; text-align: left; hyphens: none; }
.wall .s { transition: color 300ms ease var(--d, 0ms); }
.wall .ln { position: relative; z-index: 0; }
/* Ways to mark the wrong lines (Harry, 14 Nov: the scribble made them unreadable). Picked with data-mark on .wall;
   the picker at the bottom swaps and replays them. Each keeps the crossed-out text readable. */
.wall .bad .ln::after, .wall .bad .ln::before { content: ""; position: absolute; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  transition: transform 380ms cubic-bezier(.55,.1,.45,1) var(--d, 0ms); }
.wall.on .bad .ln::after, .wall.on .bad .ln::before { transform: scaleX(1); }
/* 1 red highlighter */
.wall[data-mark="hl"] .bad .ln::before { z-index: -1; left: -3px; right: -3px; top: 0.12em; bottom: 0.06em; border-radius: 3px; background: #ffcfc9; }
.wall[data-mark="hl"].on .bad { color: #7d2a20; }
/* 2 red strike: one clean line through the middle */
.wall[data-mark="strike"] .bad .ln::after { left: -2px; right: -2px; top: 54%; height: 2px; border-radius: 2px; background: #d6362a; }
.wall[data-mark="strike"].on .bad { color: #9a948d; }
/* 3 hand-drawn red line: a thin, slightly wobbly pen stroke through the middle */
.wall[data-mark="pen"] .bad .ln::after { left: -3px; right: -3px; top: 50%; height: 0.38em; margin-top: -0.19em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8'%3E%3Cpath d='M0 5 C20 3 40 6 60 4 S100 3 120 5' fill='none' stroke='%23d6362a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / 120px 100%; }
.wall[data-mark="pen"].on .bad { color: #9a948d; }
/* 4 spell-check squiggle under the line, text left as it is */
.wall[data-mark="squiggle"] .bad .ln::after { left: 0; right: 0; bottom: -0.18em; height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 3.5 L2 1.5 L4 3.5 L6 1.5 L8 3.5' fill='none' stroke='%23d6362a' stroke-width='1.3'/%3E%3C/svg%3E") repeat-x 0 50% / 8px 100%; }
.wall[data-mark="squiggle"].on .bad { color: #6b665f; }
/* 5 red cross: a small red ✕ before each wrong sentence, the sentence greyed */
.wall[data-mark="cross"] .bad::before { content: "\2715"; display: inline-block; margin-right: 0.35em; color: #d6362a; font: 700 0.9em/1 Inter, system-ui, sans-serif;
  opacity: 0; transform: scale(.4); transition: opacity 200ms ease var(--d, 0ms), transform 300ms cubic-bezier(.34,1.56,.64,1) var(--d, 0ms); }
.wall[data-mark="cross"].on .bad::before { opacity: 1; transform: none; }
.wall[data-mark="cross"].on .bad { color: #a9a39c; }
/* 6 fade: the wrong ones simply fade back, the right ones stand out */
.wall[data-mark="fade"].on .bad { color: #d9d4ce; }
.wall[data-mark="hl"] .bad .ln::after, .wall:not([data-mark="hl"]) .bad .ln::before { display: none; }
.wall.reset, .wall.reset *, .wall.reset *::before, .wall.reset *::after { transition: none !important; }
/* the green highlighter for the good ones */
.wall .good .ln::before { content: ""; position: absolute; z-index: -1; left: -3px; right: -3px; top: 0.12em; bottom: 0.06em; border-radius: 3px; background: #b9efc8;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 380ms cubic-bezier(.3,.7,.3,1) var(--d, 0ms); }
.wall.on .good .ln::before { transform: scaleX(1); }
.wall.on .good { color: #0d0c0b; }
@media (max-width: 860px) {
  .picky { padding: 18vh 20px 60px; }
  .picky-in { grid-template-columns: 1fr; gap: 36px; }
  .picky .copy-r { order: -1; }
  .picky h2 { font-size: min(8.2vw, 44px); }
  .wall { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .picky .copy-r, .wall .s, .wall .ln::after, .wall .ln::before { transition: none !important; } }


/* ============ No.2 (Harry, 14 Nov): a big, very faint outline of a job board's search: four empty columns with a
   filter dropdown on top of each. The dropdowns sit above the title; the title sits inside the empty columns. The
   columns fade up first, then the heading rises in and No.2 is highlighted. ============ */
.no2 { position: relative; z-index: 1; padding: calc(21vh - 24px) 24px 40px; }   /* gap after the picky section: 30% less than 80px + 30vh (Harry, 14 Nov) */
.board { position: relative; max-width: 1240px; margin: 0 auto; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* the columns end three rows' worth below the last placeholder row, fading out over that stretch (Harry, 14 Nov) */
.fcol { --tail: 72px; border: 1.5px solid #ece8e3; border-radius: 20px; padding: 16px 16px var(--tail);
  opacity: 0; transform: translateY(24px); transition: opacity 400ms ease var(--d), transform 450ms cubic-bezier(.22,.61,.36,1) var(--d);
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--tail)), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - var(--tail)), transparent 100%); }
.no2.in .fcol { opacity: 1; transform: none; }
.fdrop { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border: 1.5px solid #e6e2dd; border-radius: 12px;
  font: 500 16px/1 Inter, system-ui, sans-serif; color: #8f8982; background: #fff; }   /* labels a touch more intense than the rest (Harry, 15 Nov: his father missed the dropdowns) */
.fdrop svg { width: 15px; height: 15px; flex: none; }
/* Desktop: the Industry dropdown opens into a short list, as faint as the rest, sitting behind the title like the
   placeholder rows; its highlight then steps down to Other (Harry, 15 Nov). Not on phones: too cramped there. */
.fcol { position: relative; }
.no2 h2 { z-index: 2; }
.fmenu { display: none; }
@media (min-width: 761px) {   /* the compact No.2 layout runs to 760px */
  .fmenu { display: block; position: absolute; left: 16px; right: 16px; top: 66px; z-index: 1; background: #fff; border: 1.5px solid #e6e2dd; border-radius: 12px;
    box-shadow: 0 14px 26px -16px rgba(20,18,16,.18); padding: 6px; font: 500 15px/1 Inter, system-ui, sans-serif; color: #b8b2ab;
    transform-origin: 50% 0; transform: scaleY(.6); opacity: 0; transition: transform 300ms cubic-bezier(.22,.61,.36,1), opacity 200ms ease; }
  .fmenu.open { transform: none; opacity: 1; }
  .fmenu div { padding: 10px; border-radius: 8px; transition: background-color 150ms ease; }
  .fmenu div.hi { background: #faf9f7; }
  .fcol:first-child .fdrop svg { transition: transform 300ms ease; }
  .fcol.menu-open .fdrop svg { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) { .fmenu, .fmenu div, .fcol:first-child .fdrop svg { transition: none; } }
/* very faint placeholder rows, like results that haven't loaded (Harry, 14 Nov) */
.fcol { display: flex; flex-direction: column; gap: 14px; }
.fline { display: block; height: 10px; border-radius: 5px; background: #faf9f7; flex: none; }   /* fainter still (Harry, 14 Nov) */
.fline.s { width: 58%; } .fline.m { width: 78%; } .fline.l { width: 92%; }
.fcol .fdrop { margin-bottom: 4px; }
/* the title, inside the empty columns, below the dropdowns */
.no2 h2 { position: absolute; left: 0; right: 0; top: 129px;   /* level with the 3rd placeholder row (Harry, 14 Nov: up one line) */
  margin: 0 auto; padding: 0 16px; text-align: center; font-weight: 600; font-size: clamp(34px, 5vw, 68px);
  line-height: 1.06; letter-spacing: -0.03em; opacity: 0; transform: translateY(70px);
  transition: opacity 450ms ease 150ms, transform 550ms cubic-bezier(.22,.61,.36,1) 150ms; }
.no2.in h2 { opacity: 1; transform: none; }
.no2 .two2 { position: relative; z-index: 0; margin-right: 0.12em; }
.no2 .two2::before { content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.08em; bottom: 0.14em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 380ms cubic-bezier(.3,.7,.3,1) 600ms; }
.no2.in .two2::before { transform: scaleX(1); }
@media (max-width: 760px) {
  .no2 { padding: 20vh 16px 32px; }
  .filters { gap: 6px; }
  .fcol { --tail: 51px; padding: 6px 6px var(--tail); border-radius: 12px; }
  .fcol { gap: 10px; } .fline { height: 7px; }
  .fdrop { font-size: 9.5px; padding: 8px 5px; border-radius: 8px; white-space: nowrap; gap: 2px; } .fdrop svg { width: 9px; height: 9px; }
  .no2 h2 { top: 84px; font-size: min(9vw, 40px); }
}
@media (prefers-reduced-motion: reduce) { .no2 h2, .no2 .two2::before, .fcol { transition: none; } }
/* the picker (trial only) */

/* ============ The line under the hero (Harry, 14 Nov): slides in from the left as it scrolls into view, left
   aligned, with the hero's half highlighter under the 2. ============ */
.fixes { position: relative; z-index: 1; padding: 120px 40px 40px 36px; overflow: hidden; }   /* left edge lines up with the logo */
.fixes-in { max-width: none; }
.fixes h2 { margin: 0; text-align: left; font-weight: 600; font-size: clamp(34px, 5vw, 68px); line-height: 1.06; letter-spacing: -0.03em; max-width: 14em; text-wrap: balance;
  opacity: 0; transform: translateX(-80px); transition: opacity 700ms ease, transform 900ms cubic-bezier(.22,.61,.36,1); }
.fixes.in h2 { opacity: 1; transform: none; }
.fixes .two { position: relative; z-index: 0; }
.fixes .two::before { content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.08em; bottom: 0.14em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 420ms cubic-bezier(.3,.7,.3,1) 700ms; }
.fixes.in .two::before { transform: scaleX(1); }
/* problem one, lower down the page: same type, slide and highlighter (Harry, 14 Nov) */
.fixes.prob { padding-top: calc(35.1vh + 14px); }   /* gap to the line above: 35% more than 40px + 26vh (Harry, 14 Nov) */
.fixes.prob { padding-left: 24px; padding-right: 24px; }
.fixes.prob h2 { text-wrap: wrap; text-align: center; margin: 0 auto; }   /* centred (Harry, 14 Nov) */
.fixes.prob h2 { transform: translateY(70px); }   /* rises from below rather than sliding in from the left (Harry, 14 Nov) */
.fixes.prob.in h2 { transform: none; }
.fixes.prob .two { margin-right: 0.12em; }
/* ============ The burst (Harry, 14 Nov): once No.1 has risen into place, the places grad jobs hide (job boards, plus
   the routes with no logo) fly out of it in every direction and settle scattered round the heading, bobbing
   gently. Positions are worked out from the screen size; reduced motion shows them already scattered. ============ */
.fixes.prob { overflow: visible; }
.fixes.prob .fixes-in { position: relative; }
.fixes.prob h2 { position: relative; z-index: 2; }
.burst { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; pointer-events: none; }
.chip-src { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity;
  transform: translate(-50%, -50%) scale(.25); transition: transform 1150ms cubic-bezier(.16,1,.3,1), opacity 300ms ease; }
.chip-src .card { display: grid; place-items: center; width: var(--w, 176px); height: var(--h, 64px); padding: 12px 18px; border-radius: 14px; background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 26px rgba(20,18,16,.10); animation: bob var(--bob, 5s) ease-in-out var(--bobd, 0s) infinite alternate paused; }
.burst.out .chip-src .card { animation-play-state: running; }
@keyframes bob { from { transform: translateY(-5px) rotate(-1deg); } to { transform: translateY(5px) rotate(1deg); } }
.chip-src img.logo { width: auto; height: auto; max-width: 100%; max-height: 30px; display: block; }
@media (max-width: 699px) { .chip-src.extra { display: none; } }
.chip-src .lock { display: flex; align-items: center; gap: 9px; font: 700 15px/1.05 Inter, system-ui, sans-serif; letter-spacing: -0.01em; color: #0d0c0b; white-space: nowrap; }
.chip-src .lock img { width: 34px; height: 34px; flex: none; }
@media (max-width: 699px) {
  .chip-src .card { --w: 112px; --h: 44px; padding: 8px 10px; border-radius: 10px; }
  .chip-src img.logo { max-height: 20px; }
  .chip-src .lock { font-size: 11px; gap: 6px; } .chip-src .lock img { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .chip-src { transition: none; } .chip-src .card { animation: none; } }
@media (prefers-reduced-motion: reduce) { .fixes h2, .fixes .two::before { transition: none; } }
@media (max-width: 699px) { .fixes { padding: 80px 20px 24px; } }
/* the first line starts straight after the hero, 1% of the screen below it (Harry, 14 Nov) */
.fixes:not(.prob) { padding-top: 1vh; }

/* ============ No.2, part 1: "Find exactly what you want", text left, a chat with Clive playing on the right ============ */
.exact { position: relative; z-index: 1; padding: 14vh 40px 80px 36px; }
.exact-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 64px; align-items: center; }
.exact h2 { margin: 0; font-weight: 600; font-size: clamp(24px, 3.3vw, 52px); line-height: 1.06; letter-spacing: -0.03em; white-space: nowrap; }
.exact h2 .hl4 { position: relative; z-index: 0; }
.exact h2 .hl4::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.06em; bottom: 0.12em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms cubic-bezier(.3,.7,.3,1) 450ms; }
.exact.in h2 .hl4::before { transform: scaleX(1); }
.exact p.lede4 { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3a3733; max-width: 24em; }
.exact .copy-l { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.22,.61,.36,1); }
.exact.in .copy-l { opacity: 1; transform: none; }
/* the chat: same look as the live homepage's "How Clive works" chat panel */
.cpanel { height: 600px; background: none; overflow: hidden; box-sizing: border-box; padding: 0;   /* no panel background (Harry, 14 Nov) */
 
  display: flex; flex-direction: column; gap: 12px; font-family: Inter, system-ui, sans-serif; color: #201e1d;
  opacity: 0; transform: translateY(30px); transition: opacity 450ms ease 120ms, transform 550ms cubic-bezier(.22,.61,.36,1) 120ms; }
.exact.in .cpanel { opacity: 1; transform: none; }
.cwin { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 56px); mask-image: linear-gradient(to bottom, transparent, #000 56px); }
.clist { flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.cm-c { margin: 0; font-size: 17px; line-height: 1.55; max-width: 92%; }
.cm-u { align-self: flex-end; background: #201e1d; color: #f8f4f4; border-radius: 20px; padding: 11px 18px; font-size: 17px; line-height: 1.45; max-width: 80%; }
.cm-t { height: 22px; display: flex; align-items: center; }
.cm-t i { width: 9px; height: 9px; border-radius: 50%; background: #201e1d; animation: cpulse 1.1s ease-in-out infinite; }
@keyframes cpulse { 0%, 100% { transform: scale(.7); opacity: .35; } 50% { transform: scale(1); opacity: 1; } }
.cin { flex: none; display: flex; align-items: center; gap: 8px; background: #e4dfd9; border-radius: 28px; padding: 7px 7px 7px 20px; min-height: 52px; box-sizing: border-box; }
.cq { flex: 1; min-width: 0; font-size: 17px; line-height: 1.5; color: #7d7979; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; }
.cq.typing { color: #201e1d; white-space: normal; }   /* a long message wraps in the bar as it is typed */
.ccaret { display: inline-block; width: 1.5px; height: 1em; background: #201e1d; vertical-align: -2px; margin-left: 1px; animation: ccaret 1s steps(1) infinite; }
@keyframes ccaret { 50% { opacity: 0; } }
.cmic { width: 38px; height: 38px; display: grid; place-items: center; }
.cmic span { width: 8px; height: 14px; border-radius: 4px; background: #7d7979; }
.csend { width: 38px; height: 38px; border-radius: 50%; background: #201e1d; color: #f8f4f4; display: grid; place-items: center; }
@media (max-width: 860px) {
  .exact { padding: 12vh 16px 60px; }
  .exact-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .exact h2 { font-size: min(9vw, 44px); white-space: normal; }
  .cpanel { height: 540px; }
  .cm-c, .cm-u, .cq { font-size: 15px; }
}

/* the chat box: a white floating card (Harry, 14 Nov: picked from five designs) */
.cpanel { background: #fff; border-radius: 24px; padding: 28px 26px 22px;
  box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 30px 70px -20px rgba(20,18,16,.22), 0 10px 24px -12px rgba(20,18,16,.10); }
@media (max-width: 860px) { .cpanel { padding: 20px 16px 16px; } }

/* ============ No.2, part 2: "No idea yet? That's fine." Sliders in a floating card on the left, text on the right ============ */
.basics { position: relative; z-index: 1; padding: 10vh 40px 80px 36px; }
.basics-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 64px; align-items: center; }
.basics h2 { margin: 0; font-weight: 600; font-size: clamp(24px, 3.3vw, 52px); line-height: 1.06; letter-spacing: -0.03em; white-space: nowrap; }
.basics h2 .hl5 { position: relative; z-index: 0; }
.basics h2 .hl5::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.06em; bottom: 0.12em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms cubic-bezier(.3,.7,.3,1) 450ms; }
.basics.in h2 .hl5::before { transform: scaleX(1); }
.basics p.lede5 { margin: 22px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3a3733; max-width: 24em; }
.basics .copy-r { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.22,.61,.36,1); }
.basics.in .copy-r { opacity: 1; transform: none; }
.scard { height: 600px; box-sizing: border-box; padding: 34px 40px; background: #fff; border-radius: 24px; font-family: Inter, system-ui, sans-serif; color: #201e1d;
  box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 30px 70px -20px rgba(20,18,16,.22), 0 10px 24px -12px rgba(20,18,16,.10);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.22,.61,.36,1); }
.basics.in .scard { opacity: 1; transform: none; }
.scard h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.sl { --v: .5; }
.sl .track { position: relative; height: 6px; border-radius: 3px; background: #e9e5df; margin: 0 13px; touch-action: none; cursor: pointer; }
.sl .track::before { content: ""; position: absolute; left: -13px; right: -13px; top: -16px; bottom: -16px; }   /* a bigger target to grab */
.sl .thumb { position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: #201e1d; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(20,18,16,.25); cursor: grab; }
.sl .ends { display: flex; justify-content: space-between; margin-top: 16px; font-size: 16px; line-height: 1.3; gap: 16px; }
.sl .ends span { color: color-mix(in srgb, #201e1d var(--a), #b3aea7); font-weight: 500; }
.sl .ends span:first-child { --a: calc((1 - var(--v)) * 100%); }
.sl .ends span:last-child { --a: calc(var(--v) * 100%); text-align: right; }
@media (max-width: 860px) {
  .basics { padding: 10vh 16px 60px; }
  .basics-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .basics .copy-r { order: -1; }
  .basics h2 { font-size: min(9vw, 44px); white-space: normal; }
  .scard { height: 540px; padding: 26px 22px; }
  .sl .ends { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .basics .copy-r, .scard, .basics h2 .hl5::before { transition: none; } }


/* ============ Cost (Harry, 14 Nov: picked "Clive works for treats" from five designs) ============ */
.cost { position: relative; z-index: 1; padding: 18vh 40px 60px 36px; }
/* "Pricing" over the section, in the No.1 / No.2 style, so a scroller knows "works for treats" means free (Harry, 15 Nov) */
.cost .ptitle { margin: 0 auto clamp(56px, 16vh, 170px); text-align: center; font-weight: 600; font-size: clamp(34px, 5vw, 68px); line-height: 1.06;
  letter-spacing: -0.03em; opacity: 0; transform: translateY(70px); transition: opacity 450ms ease, transform 550ms cubic-bezier(.22,.61,.36,1); }
.cost .ptitle.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .cost .ptitle { transition: none; } }
html:not(.js) .cost .ptitle { opacity: 1; transform: none; }
.cv { max-width: 1240px; margin: 0 auto; }
.cost h2 { margin: 0; font-weight: 600; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
.cost .hl6 { position: relative; z-index: 0; }
.cost .hl6::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.04em; bottom: 0.1em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms cubic-bezier(.3,.7,.3,1) 450ms; }
.cost.in .hl6::before { transform: scaleX(1); }
.cost p.c-sub { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3a3733; max-width: 24em; }
.cost .key { display: inline-flex; margin-top: 30px; }
.cost .ph-key { display: none; text-align: center; }
@media (max-width: 699px) { .cost .ph-key { display: block; } .cost .ph-key .key { margin-top: 0; } }
.rise { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease calc(var(--i, 0) * 120ms), transform 600ms cubic-bezier(.22,.61,.36,1) calc(var(--i, 0) * 120ms); }
.cost.in .rise { opacity: 1; transform: none; }
.fcard { background: #fff; border-radius: 24px; font-family: Inter, system-ui, sans-serif; color: #201e1d;
  box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 30px 70px -20px rgba(20,18,16,.22), 0 10px 24px -12px rgba(20,18,16,.10); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }

/* 3. Clive works for treats */
.v3 h2.one { white-space: nowrap; }   /* one line (Harry, 14 Nov) */
.v3 .two-col { grid-template-columns: max-content minmax(0, 1fr); }
.v3 .c-sub { max-width: 26em; }
@media (max-width: 860px) { .v3 h2.one { white-space: normal; } .v3 .two-col { grid-template-columns: minmax(0, 1fr); } }
.pay { padding: 30px 30px 26px; }
.pay h4 { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.pay .opt { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid #ebe7e1; border-radius: 14px; margin-bottom: 10px; font-size: 17px; position: relative; color: #9a958e; }
.pay .opt i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d6d1ca; flex: none; box-sizing: border-box; }
.pay .opt.no span { position: relative; }
.pay .opt.no span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2.5px; background: #d93025; border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 300ms ease calc(800ms + var(--i) * 300ms); }
.cost.in .pay .opt.no span::after { transform: scaleX(1); }
.pay .opt.yes { color: #201e1d; border-color: #201e1d; border-width: 2px; padding: 14px 15px; font-weight: 500; }
.pay .opt.yes i { border: 6px solid #201e1d; }
.pay .opt.yes em { margin-left: auto; font-style: normal; font-size: 22px; }
.pay .tot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ebe7e1; font-size: 18px; font-weight: 600; }
.v3 .cardwrap { position: relative; }
.v3 .cardwrap img { position: absolute; width: 190px; right: -30px; top: -232px; height: auto; transform: rotate(5deg); }   /* photo-real Clive, halftoned (Harry, 14 Nov) */

@media (max-width: 860px) {
  .cost { padding: 14vh 16px 40px; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .v3 .cardwrap img { width: 120px; right: -6px; top: -150px; }
  .v3 .cardwrap { margin-top: 110px; }
  .pay { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) { .cost * { transition: none !important; } }

/* ============ Meet the team (Harry, 14 Nov): the live launch film, its player ported from home.css/home.js ============ */
.team { position: relative; z-index: 1; padding: 18vh 40px 60px 36px; text-align: center; }
.team h2 { margin: 0 0 clamp(28px, 4vh, 48px); font-weight: 600; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
.team h2 .hl7 { position: relative; z-index: 0; }
.team h2 .hl7::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.04em; bottom: 0.1em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms cubic-bezier(.3,.7,.3,1) 450ms; }
.team.in h2 .hl7::before { transform: scaleX(1); }
.team .rise7 { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 600ms cubic-bezier(.22,.61,.36,1); }
.team .rise7.p { transition-delay: 150ms; }
.team.in .rise7 { opacity: 1; transform: none; }
.team .h-film-player { text-align: left; color: #f3f2f2; font-family: Inter, system-ui, sans-serif; }
@media (max-width: 860px) { .team { padding: 14vh 16px 40px; } .h-film-frame { border-radius: 18px; } }
@media (max-width: 639px) { .h-film-start-label span { display: none; } .h-film-time { display: none; } }
.h-film-player { width: clamp(min(100%, 720px), 78vw, 1440px); margin: 0 auto; }
.h-film-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  background: #0d0c0b; box-shadow: 0 30px 80px rgba(13,12,11,0.3);
}
/* Our own player over Mux's stream (home.js): nothing loads from Mux until
   the start button is pressed. The controls are one quiet bar that fades
   while the film plays and comes back on hover or touch. */
/* Harry's lines are captions we draw over the film, styled to match the
   burned-in subtitles Resolve made for Clive's lines (Open Sans SemiBold
   58 at 1080, black box at 50%), measured from a 4K frame on 3 Nov. Sizes
   are fractions of the video width, so they scale with the player. */
.h-film-frame { container-type: inline-size; }
/* Phones get the vertical TikTok launch video instead (Harry, 15 Nov): a tall frame, its own poster, no drawn
   captions (they belong to the landscape film). */
.h-film-frame.tall { aspect-ratio: 9 / 16; width: min(100%, calc(78svh * 9 / 16)); margin: 0 auto; }
.h-film-frame.tall .h-film-ccbtn, .h-film-frame.tall .h-film-cc { display: none; }
.h-film-cc {
  position: absolute; left: 4%; right: 4%; bottom: 4.74cqw;
  font: 600 3.02cqw/1.362 'Open Sans', system-ui, sans-serif; color: #fff; text-align: center;
  pointer-events: none; transition: bottom 0.25s ease;
}
.h-film-cc span { display: inline; padding: 0.035em 0.135em; border-radius: 0.1em; background: rgba(0,0,0,0.5); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.h-film-cc:empty, .h-film-frame.cc-off .h-film-cc { display: none; }
/* Lift the captions clear of the control bar while it shows. */
.h-film-frame:not(.is-idle):has(.h-film-bar:not([hidden])) .h-film-cc { bottom: max(4.74cqw, 64px); }
.h-film-frame:fullscreen .h-film-cc {
  font-size: min(3.02vw, 5.37vh);
  bottom: calc((100vh - min(100vh, 56.25vw)) / 2 + min(4.74vw, 8.43vh));
}
.h-film-frame.cc-off .h-film-ccbtn { opacity: 0.45; }
.h-film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0d0c0b; }
.h-film-frame:fullscreen video { object-fit: contain; }
/* The whole poster starts the film; the pill is only the visible cue. The
   button carries the poster itself, so it covers the last frame when the
   film ends and resets. */
.h-film-start[hidden] { display: none; }
.h-film-start { position: absolute; inset: 0; padding: 0; border: 0; background: #0d0c0b center / cover no-repeat;   /* the cover is set by the script when the film comes near */ cursor: pointer; font: inherit; color: #f3f2f2; }
.h-film-start-pill {
  position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px;
  border-radius: 999px; font-size: clamp(15px, 1.2vw, 17px);
  background: rgba(13,12,11,0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.h-film-start { transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 0s; }
.h-film-start.is-raised { transform: translateY(-101%); visibility: hidden; pointer-events: none; transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 0.9s; }
.h-film-start.is-loading .h-film-start-pill, .h-film-start.is-raised .h-film-start-pill { opacity: 0; }
.h-film-start-pill { transition: background 0.2s ease, transform 0.2s ease, opacity 0.25s ease; }
@media (prefers-reduced-motion: reduce) { .h-film-start, .h-film-start.is-raised { transition: none; } }
.h-film-start:hover .h-film-start-pill { background: rgba(13,12,11,0.65); transform: translateY(-1px); }
.h-film-start:focus-visible { outline: 3px solid #f3c444; outline-offset: -3px; }
.h-film-btn:focus-visible, .h-film-track:focus-visible { outline: 2px solid #f3c444; outline-offset: 2px; }
.h-film-start-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f3c444; color: #0d0c0b; }
.h-film-start-icon svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.h-film-start-label span { opacity: 0.6; margin-left: 6px; font-variant-numeric: tabular-nums; }
.h-film-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px;
  padding: 40px clamp(16px, 2.4vw, 28px) clamp(14px, 1.8vw, 22px); color: #f3f2f2;
  background: linear-gradient(to top, rgba(13,12,11,0.55), rgba(13,12,11,0));
  transition: opacity 0.35s ease;
}
.h-film-bar[hidden] { display: none; }
.h-film-frame.is-idle .h-film-bar { opacity: 0; }
.h-film-frame.is-idle { cursor: none; }
.h-film-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; opacity: 0.9; }
.h-film-btn:hover { opacity: 1; }
.h-film-btn svg { width: 22px; height: 22px; fill: currentColor; }
.h-film-frame.is-muted .h-film-waves { display: none; }
.h-film-time { font-size: 13px; font-variant-numeric: tabular-nums; opacity: 0.8; min-width: 2.6em; }
.h-film-track { position: relative; flex: 1; height: 18px; cursor: pointer; }
.h-film-track::before, .h-film-fill { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; transition: height 0.15s ease, margin 0.15s ease; }
.h-film-track::before { right: 0; background: rgba(243,242,242,0.3); }
.h-film-fill { width: 0; background: #f3c444; }
.h-film-track:hover::before, .h-film-track:hover .h-film-fill { height: 5px; margin-top: -2.5px; }

/* ============ FAQ (Harry, 14 Nov: picked the two-panes design from five). Questions and answers are the live
   page's, word for word. ============ */
.faq { position: relative; z-index: 1; padding: 18vh 40px calc(14vh + 60px) 36px; }   /* more room above the footer (Harry, 14 Nov) */
.fv { max-width: 1240px; margin: 0 auto; }
.faq h2 { margin: 0; font-weight: 600; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
.faq .hl8 { position: relative; z-index: 0; }
.faq .hl8::before { content: ""; position: absolute; z-index: -1; left: -0.04em; right: -0.04em; bottom: 0.1em; height: 0.3em; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms cubic-bezier(.3,.7,.3,1) 450ms; }
.faq.in .hl8::before { transform: scaleX(1); }
.faq .f-sub { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #3a3733; max-width: 22em; }
.faq .f-sub a { color: inherit; }
.faq .riseF { opacity: 0; transform: translateY(30px); transition: opacity 450ms ease, transform 600ms cubic-bezier(.22,.61,.36,1); }
.faq .riseF.d { transition-delay: 150ms; }
.faq.in .riseF { opacity: 1; transform: none; }
.faq button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
/* 4. Two panes: questions on the left, the answer large in a card on the right */
.f4 .head { margin-bottom: 40px; }
.f4 .grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.f4 .qs { display: flex; flex-direction: column; }
.f4 .qs button { padding: 14px 18px; border-radius: 12px; font-size: 18px; line-height: 1.35; color: #6b6660; position: relative; transition: background 150ms ease, color 150ms ease; }
.f4 .qs button:hover { color: #0d0c0b; }
.f4 .qs button.on { color: #0d0c0b; background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 14px 30px -18px rgba(20,18,16,.25); }
.f4 .qs button.on::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--yellow); }
.f4 .pane { position: sticky; top: 14vh; padding: 40px 40px 104px; min-height: 360px; box-sizing: border-box; }   /* room for Clive, pinned to the bottom */
.f4 .pane h3 { margin: 0 0 18px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.f4 .pane p { margin: 0; font: 18px/1.65 Inter, system-ui, sans-serif; color: #3a3733; }
.f4 .pane .who { position: absolute; left: 40px; bottom: 36px; display: flex; align-items: center; gap: 10px; font: 600 14px/1 Inter, system-ui, sans-serif; color: #6b6660; }
.f4 .pane .who img { height: 40px; width: auto; }   /* the nav's full Clive head, no circle (Harry, 14 Nov) */
.f4 .pane { transition: height 320ms cubic-bezier(.22,.61,.36,1); overflow: hidden; }
.f4 .pane .swap { transition: opacity 220ms ease 140ms, transform 260ms ease 140ms; }   /* new text fades in once the card has mostly grown */
.f4 .pane .swap.out { opacity: 0; transform: translateY(8px); transition-delay: 0ms; }

@media (max-width: 860px) {
  .faq { padding: 14vh 16px calc(10vh + 40px); }
  .f4 .grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .f4 .pane { position: relative; top: auto; padding: 4px 20px 88px; min-height: 0; margin: 0 0 12px; border-radius: 0 0 20px 20px; }
  /* the open question and its answer are one card (Harry, 14 Nov: no gap between them) */
  .f4 .qs button.on { border-radius: 20px 20px 0 0; padding: 18px 20px 12px; box-shadow: 0 -1px 2px rgba(20,18,16,.05), 0 -12px 24px -20px rgba(20,18,16,.2); position: relative; z-index: 1; }
  .f4 .qs button.on::before { top: 18px; bottom: 12px; }
  .f4 .pane h3 { display: none; }   /* the question is right above it */
  .f4 .pane .who { left: 22px; bottom: 26px; }
  .f4 .qs button { font-size: 16px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .faq *, .faq *::before { transition: none !important; } }

/* ============ Footer: the live page's (styles.css .site-footer/.h-footer), copied in ============ */
.h-footer { position: relative; z-index: 1; background: #0d0c0b; color: #f3f2f2; padding: 0 0 40px; font-size: 15px; line-height: 1.55; }
.h-footer-strip { border-top: 1px solid rgba(243,242,242,0.1); border-bottom: 1px solid rgba(243,242,242,0.1); padding: 0 clamp(20px, 5vw, 80px); }
.h-footer-strip-inner { max-width: 1480px; margin: 0 auto; min-height: 80px; padding: 20px 0; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.h-footer-stat { margin: 0; display: flex; align-items: baseline; gap: 0 0.3em; flex-wrap: wrap; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -0.01em; color: #a8a39c; }
.h-footer-dot { width: 8px; height: 8px; border-radius: 50%; background: #edbb00; align-self: center; margin-right: 0.45em; flex-shrink: 0; }
.h-footer-fig { color: #f3f2f2; }
.h-footer-cta { font-size: 15px; font-weight: 600; color: #edbb00; text-decoration: none; white-space: nowrap; }
.h-footer .h-footer-cta:hover { color: #ffd21f; }
.h-footer .footer-inner { max-width: 1480px; margin: 0 auto; padding: 56px clamp(20px, 5vw, 80px) 0; box-sizing: content-box; }
.h-footer .footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-head { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243,242,242,0.6); margin-bottom: 4px; }
.footer-col a { font-size: 15px; color: rgba(243,242,242,0.82); text-decoration: none; }
.footer-col a:hover { color: #edbb00; }
.footer-legal { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(243,242,242,0.6); }
@media (max-width: 760px) { .h-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ The live pill's popout (Harry, 14 Nov: picked the centred modal, clean white with floating tiles, from
   five designs and five colour schemes). Roles come from /data/showcase, the same feed as the live "Fresh off the
   press" section. ============ */
.pop-back { position: fixed; inset: 0; z-index: 40; background: rgba(13,12,11,.38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 260ms ease; }
.pop-open .pop-back { opacity: 1; }
.pop { position: fixed; z-index: 41; left: 50%; top: 50%; width: min(1080px, calc(100vw - 48px)); max-height: min(820px, calc(100vh - 64px));
  font-family: "Source Serif 4", Georgia, serif; color: var(--ink); background: #fff; border-radius: 26px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(13,12,11,.5); transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: opacity 260ms ease, transform 360ms cubic-bezier(.22,.61,.36,1); }
.pop-open .pop { opacity: 1; transform: translate(-50%, -50%); }
.pop .p-head { display: flex; align-items: center; gap: 12px; padding: 26px 28px 18px; border-bottom: 1px solid #f0ede8; }
.pop .p-head h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.pop .p-head h3 b { position: relative; z-index: 0; }
.pop .p-head h3 b::before { content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; bottom: 2px; height: .38em; background: var(--yellow); }
.pop .p-dot { width: 10px; height: 10px; border-radius: 50%; background: #3f8f4a; box-shadow: 0 0 0 5px rgba(63,143,74,.15); flex: none; }
.pop .p-sub { margin: 4px 0 0; font-size: 15px; color: #6b6660; }
.pop .p-x { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1eee9; cursor: pointer; display: grid; place-items: center; flex: none; color: inherit; }
.pop .p-x:hover { background: var(--yellow); }
.pop .p-x svg { width: 16px; height: 16px; }
.pop .p-body { overflow: auto; padding: 18px 28px 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; }
.rtile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 18px 20px; margin-top: 34px; border-radius: 18px; background: #fff;
  border: 1px solid transparent; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(20,18,16,.08), 0 20px 40px -16px rgba(20,18,16,.28);
  transition: border-color 200ms ease, transform 250ms cubic-bezier(.22,.61,.36,1), box-shadow 250ms ease; }
.rtile:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 22px 40px -18px rgba(20,18,16,.3); }
.rtile .lg { position: absolute; left: 50%; top: -32px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #ebe7e1;
  padding: 12px; box-sizing: border-box; overflow: hidden; }
.rtile .lg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rtile .e { font: 13px/1.4 Inter, system-ui, sans-serif; color: #8a857e; }
.rtile .t { font-size: 19px; line-height: 1.22; letter-spacing: -0.01em; font-weight: 600; margin-top: 6px; }
.rtile .h { font-size: 14.5px; line-height: 1.45; color: #6b6660; margin-top: 8px; }
@media (max-width: 760px) {
  .pop { width: calc(100vw - 24px); max-height: calc(100vh - 40px); max-height: calc(100svh - 40px); }
  .pop .p-head { padding: 20px 18px 14px; }
  .pop .p-body { grid-template-columns: minmax(0, 1fr); padding: 10px 18px 24px; }
}
/* Phones: a full-screen white sheet that slides up, and the page behind is hidden while it is open, because iPhone
   Safari draws the page (not the backdrop) under its glass toolbar (Harry's iPhone, 15 Nov) */
@media (max-width: 699px) {
  .pop { left: 0; top: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; transform: translateY(40px); }
  .pop-open .pop { transform: none; }
  .pop-back { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  html.pop-open body > *:not(.pop):not(.pop-back) { visibility: hidden; }
  .pop .p-head { padding: 16px 16px 12px; gap: 10px; align-items: flex-start; }
  .pop .p-dot { margin-top: 8px; }
  .pop .p-head h3 { font-size: 20px; line-height: 1.25; }
  .pop .p-sub { font-size: 14px; }
  /* tiles (Harry, 15 Nov: "looks a little bit wrong"): air above each logo so it no longer touches the card above,
     a light shadow that stays under its own card, a faint grey sheet so the white cards read cleanly, a little
     narrower */
  .pop .p-body { padding: 12px 24px 48px; gap: 26px; background: #f7f6f3; }
  .rtile { padding: 38px 18px 20px; margin-top: 30px; border: 1px solid #efece7; box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 10px 24px -14px rgba(20,18,16,.16); }
  .rtile .lg { width: 56px; height: 56px; top: -28px; margin-left: -28px; box-shadow: 0 0 0 1px #ebe7e1, 0 4px 10px -5px rgba(20,18,16,.18); }
  .rtile .t { font-size: 18px; }
}
.pop .p-x:focus { outline: none; }
.pop .p-x:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pop, .pop-back { transition: none !important; } }

/* ============ The curvy arrow (Harry, 14 Nov): 0.3s after the peek has popped up, a hand-drawn arrow draws itself
   from under "Clive" in the title down to his head. It fades with him when he ducks away. ============ */
.parrow { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 200ms ease; }
.parrow.on { opacity: 1; }
.parrow path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }   /* black again (Harry, 14 Nov: tried yellow) */
.parrow .line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
/* the head draws too: both barbs stroke out from the tip as the line arrives (Harry, 15 Nov: it used to just appear) */
.parrow .head { stroke-dasharray: 17; stroke-dashoffset: 17; }
.parrow.draw .line { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms cubic-bezier(.55,.1,.35,1); }
.parrow.draw .head { stroke-dashoffset: 0; transition: stroke-dashoffset 220ms cubic-bezier(.3,.6,.4,1) 840ms; }
.parrow.done .line, .parrow.done .head { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .parrow.draw .line, .parrow.draw .head { transition: none; } }
@media (max-width: 699px) { .parrow { display: none; } }   /* on a phone the subtitle and buttons fill the way down to him */
@media (prefers-reduced-motion: reduce) { .exact .copy-l, .cpanel, .exact h2 .hl4::before { transition: none; } }
/* Phones: the gaps between sections halved (Harry, 15 Nov: some were excessively large). Hero and the logo
   burst keep theirs; the burst needs its room. */
@media (max-width: 699px) {
  body > section.fixes.prob { padding-bottom: 150px; }   /* room under No.1 for half the logo burst, now the title is bigger */
  body > section.together, body > section.picky { padding-top: 9vh; padding-bottom: 30px; }
  body > section.no2 { padding-top: 10vh; padding-bottom: 16px; }
  body > section.exact { padding-top: 6vh; padding-bottom: 30px; }
  body > section.basics { padding-top: 5vh; padding-bottom: 30px; }
  body > section.cost, body > section.team { padding-top: 7vh; padding-bottom: 20px; }
  body > section.faq { padding-top: 7vh; padding-bottom: calc(7vh + 30px); }
  /* headings keep desktop's three tiers (Harry, 15 Nov): problem titles about 1.5x the sub-section titles, with the
     pricing, team and FAQ titles between */
  body > section.fixes h2, body > section.no2 h2, body > section.cost .ptitle { font-size: 38px; }
  body > section.together h2, body > section.picky h2, body > section.exact h2, body > section.basics h2 { font-size: 25px; }
  .wall .ph-hide { display: none; }   /* the wall a third shorter on phones (Harry, 15 Nov) */
  .cost .rise:not(.ph-key) > .key { display: none; }   /* on phones Get started sits below the graphic (Harry, 15 Nov) */
  body > section.exact .cpanel { height: 460px; }   /* its messages sit at the bottom; the empty top was a 280px gap */
}

/* ============ Phone menu (#3057): the trial's burger was a placeholder, so here it opens the header's own links
   as a small white card under the bar. ============ */
.topnav button.burger { border: 0; background: none; padding: 0; color: var(--ink); cursor: pointer; font: inherit; }
@media (max-width: 699px) {
  .topnav.menu-open .links { display: flex; position: absolute; top: 76px; right: 16px; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 0; min-width: 180px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(20,18,16,.08), 0 20px 40px -16px rgba(20,18,16,.28); }
  .topnav.menu-open .links a { display: block; width: 100%; padding: 12px 20px; font-size: 17px; }
  .topnav.menu-open .links a::before { display: none; }
}

/* analytics.js adds a "Cookie settings" button after the footer's Cookies link; styles.css (not loaded here) gave
   buttons left-aligned text, so it lines up with the links above it. */
.footer-col .cc-settings-link { text-align: left; }

/* Safari 26's bottom toolbar takes the colour of an element pinned to the bottom edge: black while the footer is there
   (see homepage.js, Harry 15 Nov) */
.chin { position: fixed; left: 0; right: 0; bottom: 0; height: 6px; background: #0d0c0b; pointer-events: none; z-index: 1; display: none; }
.chin.on { display: block; }
