/* ==========================================================================
   Barbelle Scarborough: one stylesheet for the website and the ad pages (/six-weeks/<ad>).
   Their brand (onboarding doc): #1d1d1b near-black, #e8e7de warm grey, #fffff6 off-white, #d6cab3 sand.
   Type: Hanken Grotesk stands in for Maison Neue (commercial, no web licence yet), Lato for text, Allerta Stencil
   for the stencil accents (the lit BARBELLE sign, the timetable's headings).
   The motion kit, "Lights On" (lights.js): the gym is black with white strip lights and a lit sign, and Abi talks
   about commitment as "a dimmer switch, not an on/off switch". So things switch on as you reach them: signs light
   letter by letter, strip lights run across, photos come up on a dimmer as they reach the middle of the screen, and
   the emblem's rings draw as you read. Under prefers-reduced-motion everything is simply on.
   ========================================================================== */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/hanken-grotesk.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/lato-400i.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/lato-700.woff2) format('woff2'); }
@font-face { font-family: 'Allerta Stencil'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/allerta-stencil.woff2) format('woff2'); }

:root {
  --ink: #1d1d1b; --ink-2: #262624; --ink-3: #31312e; --ink-line: rgba(255, 255, 246, .14);
  --paper: #fffff6; --stone: #e8e7de; --sand: #d6cab3; --sand-2: #c4b597; --sand-ink: #6e6047;
  --body: #2b2b28; --muted: #5d5b53; --line: #dcdace;
  --on-dark: #fffff6; --on-dark-muted: rgba(255, 255, 246, .74);
  --glow: 0 0 12px rgba(255, 255, 246, .55), 0 0 28px rgba(255, 255, 246, .22);
  --display: 'Hanken Grotesk', 'Maison Neue', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font: 'Lato', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --stencil: 'Allerta Stencil', 'Hanken Grotesk', sans-serif;
  --r: 6px; --r-lg: 12px;
  --wrap: 1200px; --pad: 20px; --top-h: 68px;
  --shadow: 0 10px 30px -12px rgba(29, 29, 27, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 720px) { :root { --pad: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - var(--pad) * 2, 780px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sand-2); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--sand); }
.hl { color: var(--sand-ink); }
.on-dark .hl, .tone-ink .hl, .fx__panel .hl { color: var(--sand); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- tones */
section { padding: clamp(60px, 9vw, 112px) 0; position: relative; }
.tone-paper { background: var(--paper); }
.tone-stone { background: var(--stone); }
.tone-sand { background: var(--sand); }
.tone-ink, .on-dark { background: var(--ink); color: var(--on-dark-muted); }
.tone-ink h1, .tone-ink h2, .tone-ink h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.tone-ink2 { background: var(--ink-2); color: var(--on-dark-muted); }
.tone-ink2 h2, .tone-ink2 h3 { color: var(--on-dark); }

/* ---------------------------------------------------------------- kickers, heads, leads */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--stencil);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.kicker::before, .eyebrow::before { content: ''; width: 34px; height: 3px; border-radius: 2px; background: var(--ink); flex: none; }
.on-dark .kicker, .tone-ink .kicker, .tone-ink2 .kicker, .on-dark .eyebrow, .tone-ink .eyebrow { color: var(--sand); }
.on-dark .kicker::before, .tone-ink .kicker::before, .tone-ink2 .kicker::before, .on-dark .eyebrow::before, .tone-ink .eyebrow::before
  { background: var(--paper); box-shadow: var(--glow); }
.kicker .n { font-family: var(--stencil); }
.head { max-width: 40rem; margin: 0 0 clamp(30px, 5vw, 52px); }
.head.centre { margin-inline: auto; text-align: center; }
.head.centre .kicker { justify-content: center; }
.head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.on-dark .head p, .tone-ink .head p, .tone-ink2 .head p { color: var(--on-dark-muted); }
.lede, .lead { font-size: clamp(1.08rem, 2vw, 1.25rem); line-height: 1.55; }
.muted { color: var(--muted); }
.stencil { font-family: var(--stencil); letter-spacing: .08em; }

/* ---------------------------------------------------------------- buttons: a block of light */
.btn { --b: var(--ink); --t: var(--paper); position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 26px; border: 0; border-radius: 4px; background: var(--b); color: var(--t); font-family: var(--display);
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .25s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 246, .38) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(29, 29, 27, .55); }
.btn.big { padding: 18px 32px; font-size: 1.06rem; }
.on-dark .btn:not(.ghost), .tone-ink .btn:not(.ghost), .tone-ink2 .btn:not(.ghost), .fx__panel .btn:not(.ghost), .top .btn, .site-head .btn
  { --b: var(--paper); --t: var(--ink); }
.on-dark .btn:not(.ghost):hover, .tone-ink .btn:not(.ghost):hover, .site-head .btn:hover, .top .btn:hover { box-shadow: 0 0 22px rgba(255, 255, 246, .35); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; }
.on-dark .btn.ghost, .tone-ink .btn.ghost, .hero-home .btn.ghost { color: var(--paper); }
.btn.sand { --b: var(--sand); --t: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.on-dark .btn-note, .tone-ink .btn-note { color: var(--on-dark-muted); }
.text-link { font-weight: 700; color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--sand-2); }
.on-dark .text-link, .tone-ink .text-link { color: var(--paper); text-decoration-color: var(--sand); }

/* the places line: a lit dot, then the nudge */
.spaces { display: flex; align-items: flex-start; gap: 10px; }
.spaces .dot, .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); flex: none; margin-top: .45em;
  box-shadow: 0 0 0 0 rgba(255, 255, 246, .6); animation: dot 2.4s ease-in-out infinite; }
.tone-paper .dot, .tone-stone .dot, .hero-lp .dot, .tone-sand .dot { background: var(--ink); animation-name: dotInk; }
@keyframes dot { 50% { box-shadow: 0 0 0 7px rgba(255, 255, 246, 0), 0 0 14px rgba(255, 255, 246, .8); } }
@keyframes dotInk { 0%, 100% { box-shadow: 0 0 0 0 rgba(29, 29, 27, .4); } 50% { box-shadow: 0 0 0 7px rgba(29, 29, 27, 0); } }

/* ---------------------------------------------------------------- website header and menu */
.site-head { position: sticky; top: 0; z-index: 80; background: rgba(29, 29, 27, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-line); }
.site-head .in { display: flex; align-items: center; gap: 18px; height: var(--top-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: none; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 4px; }
.nav a:hover, .nav a[aria-current] { color: var(--paper); text-shadow: var(--glow); }
.site-head .btn { padding: 11px 18px; font-size: .92rem; margin-left: auto; }
.nav + .btn { margin-left: 8px; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; margin-left: 4px; }
.burger i { display: block; width: 24px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } .site-head .btn { margin-left: 8px; } }
@media (max-width: 420px) { .brand img { height: 28px; } .site-head .btn { padding: 10px 13px; font-size: .84rem; } }
.drawer { position: fixed; inset: var(--top-h) 0 0 0; z-index: 79; background: var(--ink); padding: 24px var(--pad) 40px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s var(--ease), visibility 0s linear .3s; }
.drawer.on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s var(--ease); }
.drawer a.d { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ink-line);
  color: var(--paper); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.45rem; }
.drawer a.d span { font-family: var(--stencil); font-size: .8rem; color: var(--sand); letter-spacing: .1em; }
.drawer .btn { margin-top: 26px; width: 100%; }
.drawer .meta { margin-top: 22px; color: var(--on-dark-muted); font-size: .95rem; }
.drawer .meta a { color: var(--paper); }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- website hero: the lights come on */
.hero-home { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; padding: 0 0 clamp(36px, 7vw, 80px);
  background: var(--ink); color: var(--on-dark-muted); overflow: hidden; isolation: isolate; }
.hero-home .bg { position: absolute; inset: 0; z-index: -2; }
.hero-home .bg video, .hero-home .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-home .bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29, 29, 27, .55) 0%, rgba(29, 29, 27, .25) 35%, rgba(29, 29, 27, .82) 72%, var(--ink) 100%); }
.hero-home .strips { position: absolute; inset: 14% 0 auto 0; z-index: -1; display: grid; gap: 34px; pointer-events: none; }
.hero-home .strips i { display: block; height: 3px; width: 46%; margin-left: auto; background: var(--paper); border-radius: 2px; box-shadow: var(--glow); opacity: .85; }
.hero-home .strips i:nth-child(2) { width: 30%; margin-left: 12%; opacity: .6; }
.hero-home h1 { color: var(--paper); max-width: 14em; font-size: clamp(2.5rem, 7.2vw, 5.4rem); line-height: 1; letter-spacing: -.03em; }
.hero-home h1 .hl { color: var(--sand); }
.hero-home .lead { max-width: 34rem; margin: 22px 0 28px; color: var(--on-dark); opacity: .88; }
.hero-home .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .92rem; }
.hero-home .meta b { color: var(--paper); }
.hero-home .watch { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-family: var(--display); font-weight: 700;
  background: none; border: 0; cursor: pointer; padding: 8px 0; font-size: 1rem; }
.hero-home .watch i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--paper); }
.hero-home .watch svg { width: 14px; height: 14px; margin-left: 3px; }
.lights .hero-home .bg { animation: lightsOn 2.2s var(--ease) both; }
.lights .hero-home .strips i { animation: stripOn .9s steps(1) both; }
.lights .hero-home .strips i:nth-child(1) { animation-delay: .25s; }
.lights .hero-home .strips i:nth-child(2) { animation-delay: .55s; }
@keyframes lightsOn { 0% { filter: brightness(.08); } 18% { filter: brightness(.5); } 22% { filter: brightness(.15); } 40%, 100% { filter: brightness(1); } }
@keyframes stripOn { 0% { opacity: 0; } 30% { opacity: .9; } 40% { opacity: .1; } 55%, 100% { opacity: .85; } }

/* page heads (inner pages) */
.phead { background: var(--ink); color: var(--on-dark-muted); padding: clamp(44px, 8vw, 96px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.phead h1 { color: var(--paper); max-width: 16em; font-size: clamp(2.2rem, 5.6vw, 4rem); }
.phead .lead { max-width: 40rem; margin: 18px 0 0; color: var(--on-dark); opacity: .86; }
.phead .btn-row { margin-top: 26px; }
.phead-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .phead-grid.has-media { grid-template-columns: 1.1fr .9fr; } }
.phead-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.phead-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .84rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }

/* ---------------------------------------------------------------- the sign: their lit wordmark */
.sign-band { background: var(--ink); padding: clamp(46px, 8vw, 90px) 0; text-align: center; overflow: hidden; }
.sign { font-family: var(--stencil); color: var(--paper); font-size: clamp(2rem, 7.4vw, 5.6rem); letter-spacing: .06em; line-height: 1.1; margin: 0;
  text-shadow: var(--glow); }
.sign .wd { display: inline-block; white-space: nowrap; }
.sign .ch { display: inline-block; }
.lights .sign[data-sign] .ch { color: #3a3a37; text-shadow: none; transition: color .05s, text-shadow .05s; }
.lights .sign[data-sign].lit .ch { animation: chOn .9s steps(1) both; animation-delay: var(--d, 0s); }
@keyframes chOn { 0% { color: #3a3a37; text-shadow: none; } 20% { color: var(--paper); text-shadow: var(--glow); } 32% { color: #55554f; text-shadow: none; }
  45%, 100% { color: var(--paper); text-shadow: var(--glow); } }
.sign-band p { margin: 18px auto 0; max-width: 34rem; color: var(--on-dark-muted); }

/* strip lights that switch on at the top of a dark section */
.strip { display: block; height: 3px; width: min(220px, 40%); margin: 0 0 30px; border-radius: 2px; background: var(--paper); box-shadow: var(--glow); }
.head.centre .strip { margin-inline: auto; }
.lights .strip[data-strip] { transform: scaleX(0); transform-origin: 0 50%; opacity: .2; transition: transform .9s var(--ease), opacity .2s steps(2); }
.lights .strip[data-strip].lit { transform: none; opacity: 1; }

/* the dimmer: brightness follows how near the middle of the screen it is (lights.js sets --dim) */
.lights [data-dim] img, .lights [data-dim] video { filter: brightness(var(--dim, 1)); transition: filter .12s linear; }

/* the emblem: rings on a bar. Fixed bottom left on wide screens, its rings draw as you read */
.emblem { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; }
.emblem .em-r1, .emblem .em-r2 { stroke-dasharray: 365; }
.reading { position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 22px; height: 54px; color: var(--sand-ink); display: none; pointer-events: none;
  opacity: 0; transition: opacity .4s ease; }
.reading.on { opacity: .9; }
.reading .em-bar { stroke-dasharray: 290; stroke-dashoffset: calc(290 * (1 - var(--p, 0))); }
.reading .em-r1 { stroke-dashoffset: calc(365 * (1 - min(1, var(--p, 0) * 2))); }
.reading .em-r2 { stroke-dashoffset: calc(365 * (1 - max(0, var(--p, 0) * 2 - 1))); }
@media (min-width: 1280px) { .reading { display: block; } }

/* ---------------------------------------------------------------- numbers */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-line); border-radius: var(--r-lg); overflow: hidden; }
.numbers > div { background: var(--ink); padding: 22px 18px; }
.numbers b { display: block; font-family: var(--stencil); font-weight: 400; color: var(--paper); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; text-shadow: var(--glow); }
.numbers span { display: block; margin-top: 8px; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.35; }
@media (min-width: 860px) { .numbers { grid-template-columns: repeat(4, 1fr); } .numbers > div { padding: 30px 26px; } }
.tone-paper .numbers, .tone-stone .numbers { background: var(--line); }
.tone-paper .numbers > div, .tone-stone .numbers > div { background: var(--paper); }
.tone-paper .numbers b, .tone-stone .numbers b { color: var(--ink); text-shadow: none; }
.tone-paper .numbers span, .tone-stone .numbers span { color: var(--muted); }

/* ---------------------------------------------------------------- layouts */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.photo { border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; } .photo.wide { aspect-ratio: 3 / 2; } .photo.sq { aspect-ratio: 1; }
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column; }
.card > .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.card > .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px 22px 26px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; }
.on-dark .card, .tone-ink .card { background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-line); }
.on-dark .card h3, .tone-ink .card h3 { color: var(--paper); }
.on-dark .card p, .tone-ink .card p { color: var(--on-dark-muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 16px; height: 3px; border-radius: 2px; background: var(--ink); }
.on-dark .ticks li::before, .tone-ink .ticks li::before { background: var(--paper); box-shadow: var(--glow); }
.ticks b { color: var(--ink); }
.on-dark .ticks b, .tone-ink .ticks b { color: var(--paper); }
.steps { counter-reset: s; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 22px; border-radius: var(--r-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-line); }
.step .n { font-family: var(--stencil); color: var(--sand); font-size: .9rem; letter-spacing: .14em; }
.step h3 { color: var(--paper); margin: 10px 0 8px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--on-dark-muted); font-size: .97rem; }
.tone-paper .step, .tone-stone .step { background: #fff; box-shadow: 0 1px 0 var(--line), var(--shadow); }
.tone-paper .step h3, .tone-stone .step h3 { color: var(--ink); }
.tone-paper .step p, .tone-stone .step p { color: var(--muted); }
.tone-paper .step .n, .tone-stone .step .n { color: var(--sand-ink); }
.quote-big { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.22; color: var(--paper); letter-spacing: -.01em; margin: 0; }
.quote-big + cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--stencil); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.tone-paper .quote-big, .tone-stone .quote-big { color: var(--ink); }
.tone-paper .quote-big + cite { color: var(--sand-ink); }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

/* ---------------------------------------------------------------- films */
.films { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .films { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.films3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .films3 { grid-template-columns: repeat(3, 1fr); } }
.filmcard { margin: 0; }
.film { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2);
  cursor: pointer; text-align: left; color: var(--paper); transition: transform .4s var(--ease), box-shadow .4s ease; }
.film > img, .film > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film:hover { transform: translateY(-3px); box-shadow: 0 0 34px -6px rgba(255, 255, 246, .45), var(--shadow); }
.film .fc { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 60px 16px 16px; background: linear-gradient(to top, rgba(29, 29, 27, .96) 50%, rgba(29, 29, 27, 0)); }
.fc__meta { display: flex; align-items: center; gap: 9px; margin: 0 0 7px; font-family: var(--stencil); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.fc__meta i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: var(--glow); }
.fc__meta i svg { width: 11px; height: 12px; margin-left: 2px; }
.fc__meta b { color: var(--paper); font-weight: 400; }
.fc__q { display: block; font-family: var(--display); font-weight: 700; font-size: 1.18rem; line-height: 1.2; color: var(--paper); }
.film .filmcard__hint { display: none; }

/* the film lightbox (base.js) */
.lb { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(12, 12, 11, .94); }
.lb.on { display: flex; }
.lb__wrap { display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lb video { max-height: 80vh; max-width: min(100%, 1100px); width: auto; border-radius: var(--r); background: #000; }
.lb video::cue { font-family: var(--font); font-size: 1rem; background: rgba(0, 0, 0, .72); }
.lb img { max-height: 82vh; border-radius: var(--r); }
.lb__cap { margin: 0; text-align: center; color: var(--on-dark-muted); font-size: .95rem; }
.lb__cap b { display: block; color: var(--paper); font-family: var(--display); }
.lb .x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 246, .14); color: var(--paper);
  font-size: 1.7rem; cursor: pointer; line-height: 1; }
.lb .x:hover { background: rgba(255, 255, 246, .26); }

/* ---------------------------------------------------------------- reviews */
.reviews { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 22px 22px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column; }
.review .stars { color: var(--ink); letter-spacing: 3px; font-size: .9rem; margin: 0 0 10px; }
.review p { margin: 0 0 14px; color: var(--body); font-size: 1rem; }
.review .who { margin-top: auto; font-family: var(--stencil); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.on-dark .review, .tone-ink .review { background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-line); }
.on-dark .review p, .tone-ink .review p { color: var(--on-dark); }
.on-dark .review .stars, .tone-ink .review .stars { color: var(--sand); }
.on-dark .review .who, .tone-ink .review .who { color: var(--sand); }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.rating .stars { letter-spacing: 3px; }
.on-dark .rating, .tone-ink .rating { color: var(--paper); }
.reviews-note { text-align: center; margin: 28px 0 0; }
.reviews-more[hidden] { display: none; }
.review.is-more { display: none; }
.reviews.all .review.is-more { display: flex; }

/* ---------------------------------------------------------------- coaches */
.coaches { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .coaches { grid-template-columns: repeat(4, 1fr); } }
.coach { margin: 0; }
.coach .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.coach .ph img { width: 100%; height: 100%; object-fit: cover; }
.coach h3 { margin: 14px 0 2px; font-size: 1.2rem; }
.coach .role { font-family: var(--stencil); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-ink); margin: 0 0 8px; }
.coach p { font-size: .96rem; color: var(--muted); margin: 0; }
.on-dark .coach .role, .tone-ink .coach .role { color: var(--sand); }
.on-dark .coach p, .tone-ink .coach p { color: var(--on-dark-muted); }
.coach .tag { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 99px; background: var(--sand); color: var(--ink); font-size: .78rem; font-weight: 700; }

/* ---------------------------------------------------------------- timetable */
.tt-days { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 18px; padding: 2px; }
.tt-days button { flex: none; padding: 9px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font: 700 .9rem var(--display); cursor: pointer; color: var(--ink); }
.tt-days button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tt { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); font-size: .95rem; }
.tt th, .tt td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tt thead th { background: var(--ink); color: var(--paper); font-family: var(--stencil); font-weight: 400; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.tt tbody th { font-family: var(--stencil); font-weight: 400; color: var(--ink); white-space: nowrap; }
.tt .s { display: block; padding: 3px 0; line-height: 1.3; }
.tt .s.c { color: var(--sand-ink); }
@media (max-width: 899px) {
  .tt thead { display: none; }
  .tt tr { display: grid; grid-template-columns: 70px 1fr; }
  .tt td { display: none; }
  .tt td.show { display: block; }
  .tt td:empty.show::after { content: 'No sessions'; color: var(--muted); }
}
@media (min-width: 900px) { .tt-days { display: none; } }
.key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.key b { color: var(--ink); }
.flag { padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--stone); border-radius: 0 var(--r) var(--r) 0; font-size: .95rem; margin: 0 0 22px; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.12rem; font-weight: 700; }
.faq summary .pm { flex: none; width: 26px; height: 26px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 5px; right: 5px; top: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 46rem; }
.faq .a-wrap { overflow: hidden; transition: height .3s ease; }
.faq .a p { margin: 0 0 .8em; }
.on-dark .faq, .tone-ink .faq, .on-dark .faq details, .tone-ink .faq details { border-color: var(--ink-line); }
.on-dark .faq summary h3, .tone-ink .faq summary h3 { color: var(--paper); }
.on-dark .faq .pm::before, .on-dark .faq .pm::after, .tone-ink .faq .pm::before, .tone-ink .faq .pm::after { background: var(--paper); }
.on-dark .faq .a, .tone-ink .faq .a { color: var(--on-dark-muted); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group > h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 8px; }

/* ---------------------------------------------------------------- find us */
.where { display: grid; gap: 30px; align-items: stretch; }
@media (min-width: 900px) { .where { grid-template-columns: .9fr 1.1fr; } }
.nap { font-style: normal; display: grid; gap: 14px; margin: 22px 0 26px; }
.nap > div { display: flex; gap: 12px; align-items: flex-start; }
.nap svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--ink); }
.on-dark .nap svg, .tone-ink .nap svg { color: var(--sand); }
.nap a { font-weight: 700; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--stone); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.on-dark .hours li, .tone-ink .hours li { border-color: var(--ink-line); }

/* ---------------------------------------------------------------- the form card and its section */
.start { background: var(--ink); color: var(--on-dark-muted); }
.start .head h2 { color: var(--paper); }
.form-card { position: relative; background: var(--paper); color: var(--body); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 0 0 1px var(--ink-line), 0 30px 70px -30px rgba(0, 0, 0, .7); max-width: 640px; margin: 0 auto; }
.form-card .btn { --b: var(--ink); --t: var(--paper); width: 100%; margin-top: 4px; }
.field { margin: 0 0 14px; }
.field label { display: block; margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input { width: 100%; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 29, 27, .12); }
.two-up.names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.legal { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.legal a { color: inherit; }
.book__steps { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.book__steps li { display: none; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.book__steps li.on { display: flex; }
.book__steps li b { padding: 3px 10px; border-radius: 99px; background: var(--paper); color: var(--ink); font-family: var(--stencil); font-weight: 400; font-size: .72rem; letter-spacing: .08em; }
.flow__top { display: flex; align-items: center; justify-content: space-between; min-height: 30px; margin: 0 0 8px; }
.flow__back { padding: 4px 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .92rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.flow__back[hidden] { display: none; }
.flow__count { margin-left: auto; font-family: var(--stencil); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.q { border: 0; padding: 0; margin: 0; min-width: 0; }
.q[hidden] { display: none; }
.q legend { padding: 0; margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.q legend:focus { outline: none; }
.q__opts { display: grid; gap: 8px; }
.flow__q { animation: qIn .25s ease both; }
@keyframes qIn { from { opacity: 0; transform: translateY(6px); } }
label.opt { display: flex; align-items: center; gap: 12px; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.3; transition: border-color .15s, background .15s; }
label.opt:hover { border-color: var(--ink); }
.opt input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid var(--muted); border-radius: 50%; background: #fff; display: grid; place-content: center; }
.opt input::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s ease; }
.opt input:checked::before { transform: scale(1); }
.opt input:checked { border-color: var(--ink); }
label.opt:has(input:checked) { border-color: var(--ink); background: var(--stone); }
.book__h { font-size: 1.35rem; margin: 0 0 8px; outline: none; }
.book__note { color: var(--muted); margin: 0 0 14px; font-size: .98rem; }
.book__demo { margin: 0 0 14px; padding: 10px 12px; border-radius: 6px; background: var(--stone); font-size: .88rem; color: var(--muted); }
.book__demo[hidden], .book__days[hidden], .book__times[hidden], .flow__widget[hidden] { display: none; }
.book__days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 0 6px; scroll-snap-type: x proximity; }
.book__day { flex: none; scroll-snap-align: start; min-width: 64px; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink); cursor: pointer; display: grid; justify-items: center; gap: 2px; line-height: 1.1; font-family: var(--display); }
.book__day small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.book__day b { font-size: 1.3rem; }
.book__day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.book__day[aria-pressed="true"] small { color: rgba(255, 255, 246, .8); }
.book__group { margin: 8px 0 8px; font-family: var(--stencil); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.book__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 480px) { .book__grid { grid-template-columns: repeat(4, 1fr); } }
.book__time { padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 700 .98rem var(--display); cursor: pointer; }
.book__time:hover { border-color: var(--ink); background: var(--stone); }
.book__skip { margin: 16px 0 0; text-align: center; font-size: .92rem; }
.book__skip a { color: var(--muted); }
.flow__widget iframe { width: 100%; height: 820px; border: 0; border-radius: 8px; background: #fff; }

/* the form's lightbox (form.js): a dark panel, the card on it */
.fx { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fx[hidden] { display: none; }
.fx__back { position: absolute; inset: 0; background: rgba(12, 12, 11, .82); opacity: 0; transition: opacity .3s ease; }
.fx__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--on-dark-muted); border-radius: var(--r-lg); padding: 28px 26px 26px; box-shadow: 0 0 0 1px var(--ink-line), 0 40px 90px rgba(0, 0, 0, .6);
  transform: translateY(18px); opacity: 0; transition: transform .35s var(--ease), opacity .3s ease; }
.fx.on .fx__back { opacity: 1; }
.fx.on .fx__panel { transform: none; opacity: 1; }
.fx__x { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 246, .12); color: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; }
#fx-title { color: var(--paper); font-size: clamp(1.5rem, 4vw, 1.9rem); margin: 0 0 6px; padding-right: 46px; outline: none; }
.fx__sub { margin: 0 0 18px; color: var(--on-dark-muted); }
.fx__slot .form-card { padding: 0; background: transparent; box-shadow: none; color: var(--on-dark-muted); max-width: none; }
.fx__slot .field label, .fx__slot .q legend { color: var(--paper); }
.fx__slot .field input { background: var(--ink-2); border-color: var(--ink-line); color: var(--paper); }
.fx__slot .field input:focus { border-color: var(--sand); box-shadow: 0 0 0 3px rgba(214, 202, 179, .2); }
.fx__slot .form-card .btn { --b: var(--paper); --t: var(--ink); }
.fx__slot .legal, .fx__slot .flow__back, .fx__slot .flow__count, .fx__slot .book__group, .fx__slot .book__skip a { color: var(--on-dark-muted); }
.fx__slot .book__steps li { background: var(--paper); color: var(--ink); }
.fx__slot .book__steps li b { background: var(--ink); color: var(--paper); }
.fx__slot label.opt { background: var(--ink-2); border-color: var(--ink-line); color: var(--paper); }
.fx__slot label.opt:hover { border-color: var(--sand); }
.fx__slot label.opt:has(input:checked) { background: var(--ink-3); border-color: var(--paper); }
.fx__slot .opt input { background: transparent; border-color: rgba(255, 255, 246, .55); }
.fx__slot .opt input::before { background: var(--paper); }
.fx__slot .opt input:checked { border-color: var(--paper); }
.fx__slot .book__two .book__h, .fx__slot .book__two .book__note { display: none; }
.fx__slot .book__demo { background: var(--ink-2); color: var(--on-dark-muted); }
.fx__slot .book__day, .fx__slot .book__time { background: var(--ink-2); border-color: var(--ink-line); color: var(--paper); }
.fx__slot .book__day small { color: var(--on-dark-muted); }
.fx__slot .book__day[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.fx__slot .book__day[aria-pressed="true"] small { color: var(--ink); }
.fx__slot .book__time:hover { border-color: var(--sand); background: var(--ink-3); }
@media (max-width: 560px) {
  .fx { padding: 0; }
  .fx__panel { max-width: none; height: 100svh; max-height: none; border-radius: 0; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- website footer */
.foot { background: #121211; color: var(--on-dark-muted); padding: 60px 0 34px; font-size: .95rem; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot img.logo { height: 38px; width: auto; margin: 0 0 18px; }
.foot h2, .foot h4 { font-family: var(--stencil); font-weight: 400; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-dark-muted); text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot address { font-style: normal; line-height: 1.7; }
.foot .social { display: flex; gap: 10px; margin-top: 16px; }
.foot .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.foot .social svg { width: 18px; height: 18px; }
.foot .strap { font-family: var(--stencil); color: var(--paper); letter-spacing: .08em; margin: 0 0 6px; }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: .85rem; }

/* sticky "Secure your place" on phones, once the hero's button has gone */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; display: flex; transform: translateY(140%);
  transition: transform .4s var(--ease); }
.dock.on { transform: none; }
.dock .btn { flex: 1; --b: var(--paper); --t: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 12px 30px rgba(0, 0, 0, .35); }
@media (min-width: 900px) { .dock { display: none; } }

/* ==========================================================================
   The ad pages (/six-weeks/<ad>): Cotswold Training Club's layout. Hero and four numbers, 01 what changes,
   02 meet Abi, 03 films, 04 reviews, 05 secure your place. Their own header and footer, no site menu.
   ========================================================================== */
.top { position: sticky; top: 0; z-index: 80; background: rgba(29, 29, 27, .97); border-bottom: 1px solid var(--ink-line); }
.top-in { display: flex; align-items: center; gap: 14px; height: var(--top-h); }
.top .logo { height: 32px; width: auto; }
.top .spacer { flex: 1; }
.top .where { font-family: var(--stencil); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); white-space: nowrap; }
.top .btn { padding: 11px 18px; font-size: .92rem; }
@media (max-width: 560px) { :root { --top-h: 58px; } .top .logo { height: 26px; } .top .btn { padding: 9px 14px; font-size: .86rem; } }
@media (max-width: 420px) { .top .where { display: none; } }
.hero-lp { padding-top: clamp(30px, 5vw, 60px); padding-bottom: clamp(36px, 5vw, 56px); }
.hero-grid { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero-lp h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0 0 16px; }
.hero-lp .eyebrow { margin-bottom: 14px; }
.hero-lp .hero-sub { font-size: 1.16rem; line-height: 1.45; margin: 0 0 24px; max-width: 32em; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-lp .btn-note { color: var(--muted); }
.hero-lp .btn-note b { color: var(--ink); }
.hero-film { position: relative; margin: 0 0 0 auto; aspect-ratio: var(--aw, 9) / var(--ah, 16); width: 100%; max-width: 480px; max-height: 72svh;
  border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--ink-line), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hero-film video, .hero-film img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.hero-film video::cue { font-family: var(--font); font-size: .95rem; line-height: 1.35; color: #fff; background: rgba(0, 0, 0, .68); }
.bigfilm__sound { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 0; border-radius: 99px;
  background: rgba(29, 29, 27, .78); color: var(--paper); font: 700 .74rem var(--display); letter-spacing: .02em; cursor: pointer; white-space: nowrap; }
.bigfilm__sound svg { width: 16px; height: 16px; }
.bigfilm__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--paper); box-shadow: var(--glow); transform: scaleX(0); transform-origin: 0 50%; }
.hero-more { max-width: 780px; margin: 40px auto 0; }
.hero-more .lede { margin: 0 0 16px; color: var(--body); }
.offer { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 16px 18px; border-left: 3px solid var(--ink); background: var(--stone); border-radius: 0 var(--r) var(--r) 0; }
.offer strong { color: var(--ink); }
.hero-more .how { margin: 0 0 18px; }
.hero-quote { margin: 0; padding: 18px 20px; border-radius: var(--r-lg); background: var(--ink); }
.hero-quote p { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 1.16rem; line-height: 1.4; color: var(--paper); }
.hero-quote cite { font-style: normal; font-family: var(--stencil); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.trust { margin-top: clamp(30px, 4.5vw, 50px); }
@media (max-width: 939px) {
  .hero-lp { padding-top: 0; }
  .hero-lp .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 14px; height: calc(100svh - var(--top-h)); min-height: 430px; max-height: 920px; }
  .hero-lp .hero-copy { display: contents; }
  .hero-lp .eyebrow { order: 1; margin-bottom: 8px; font-size: .7rem; }
  .hero-lp h1 { order: 2; font-size: clamp(1.75rem, 7.6vw, 2.5rem); line-height: 1.06; margin-bottom: 8px; }
  .hero-lp .hero-sub { order: 3; font-size: clamp(.95rem, 4vw, 1.06rem); line-height: 1.4; margin-bottom: 12px; }
  .hero-lp .hero-media { order: 4; flex: 1 1 0; min-height: 130px; width: 100%; container-type: size; display: flex; align-items: center; }
  .hero-lp .hero-film { width: min(100cqw, calc(100cqh * var(--aw, 9) / var(--ah, 16))); height: auto; max-width: none; max-height: 100cqh; margin: 0 auto; }
  .hero-lp .hero-cta { order: 5; margin-top: 14px; }
  .hero-lp .hero-cta .btn { flex: 1 1 100%; padding: 17px 20px; }
  .hero-lp .btn-note { order: 6; justify-content: center; text-align: center; margin: 8px 0 14px; font-size: .84rem; }
}
@media (max-width: 939px) and (max-height: 720px) { .hero-lp .hero-sub { display: none; } }
@media (max-width: 939px) and (max-height: 620px) {
  .hero-lp .eyebrow { display: none; }
  .hero-lp h1 { font-size: clamp(1.5rem, 7vw, 1.9rem); margin-bottom: 6px; }
  .hero-lp .hero-cta .btn { padding: 14px 18px; }
  .hero-lp .btn-note { margin: 6px 0 10px; font-size: .78rem; }
}
@media (min-width: 940px) { .hero-film { width: min(100%, calc(min(74vh, 640px) * var(--aw, 9) / var(--ah, 16))); max-height: none; margin: 0 auto; } }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; }
.trust-grid > div { background: #fff; padding: 20px 18px; }
.trust-grid b { display: block; font-family: var(--stencil); font-weight: 400; font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--ink); line-height: 1; }
.trust-grid span { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } .trust-grid > div { padding: 26px 24px; } }
.letter { display: grid; gap: clamp(26px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .letter { grid-template-columns: .9fr 1.1fr; } }
.letter__shot { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.letter__shot img { width: 100%; height: 100%; object-fit: cover; }
.letter__body h2 { margin: 0 0 18px; }
.letter__sig { display: flex; align-items: center; gap: 10px; margin-top: 18px !important; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.team-row { display: flex; gap: 10px; margin: 22px 0 0; flex-wrap: wrap; }
.team-row figure { margin: 0; width: 64px; text-align: center; font-size: .78rem; color: var(--muted); }
.team-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line); }
.foot-lp { background: #121211; color: var(--on-dark-muted); padding: 50px 0 34px; font-size: .95rem; }
.foot-lp .foot-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-lp .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* /six-weeks/thanks */
.ty-hero { padding-top: clamp(30px, 5vw, 64px); }
.ty-hero .hero-grid { align-items: start; }
.ty-hero h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.4rem); }
.ty-hero .lede p { margin: 0 0 12px; color: var(--body); }
.ty-sig { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 6px 0 22px; }
.ty-film { margin: 0; max-width: 360px; }
.ty-film[hidden], .ty-pick[hidden] { display: none; }
@media (max-width: 939px) { .ty-film { margin: 0 auto; max-width: 320px; } }
.ty-steps { display: grid; max-width: 780px; margin: 0 auto; }
.ty-step { display: grid; grid-template-columns: 46px 1fr; gap: 0 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.ty-step:last-child { border-bottom: 1px solid var(--line); }
.ty-step .n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--stencil); }
.ty-step.done .n { background: var(--sand); color: var(--ink); }
.ty-step .when { margin: 4px 0; font-family: var(--stencil); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-ink); }
.ty-step h3 { margin: 0 0 6px; }
.ty-step p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- the motion engine (motion.js, from CTC) */
.mo-on [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
.mo-on [data-rise].mo-in { opacity: 1; transform: none; }
.mo-on [data-wipe] { clip-path: inset(0 0 100% 0); transition: clip-path .82s cubic-bezier(.65, 0, .35, 1); }
.mo-on [data-wipe].mo-in { clip-path: inset(0 0 0 0); }
.mo-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.mo-w__i { display: inline-block; transform: translateY(105%); transition: transform .78s var(--ease); }
.mo-on [data-split].mo-in .mo-w__i { transform: none; }
.mo-off [data-split] .mo-w__i, :not(.mo-on) [data-split] .mo-w__i { transform: none; }
.mo-w__i.hl { color: var(--sand-ink); }
.on-dark .mo-w__i.hl, .tone-ink .mo-w__i.hl, .hero-home .mo-w__i.hl, .phead .mo-w__i.hl { color: var(--sand); }
.mo-bar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 95; background: var(--paper); box-shadow: var(--glow); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
[data-magnet] { transition: transform .28s var(--ease); }
.mo-on [data-magnet] { transform: translate3d(var(--mx, 0), var(--my, 0), 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .lights [data-dim] img, .lights [data-dim] video { filter: none; }
}
