/* ==========================================================================
   Base 13 Fitness: the skin over the shared funnel styles (base.css), and the quiz flow.
   From their website (base13fitness.co.uk, tailwind theme): near-black rooms hsl(0 0% 6%),
   the gold of the logo's "SE" hsl(39 68% 60%) = #deae54 for buttons and accents with black
   text on it, DomusTitlingLight (their titling face, served from their own GHL media) for
   headings in capitals with wide tracking, Montserrat for everything else. Warm stone for
   the light rooms, so the black ones read as Base 13 and the page still breathes.
   ========================================================================== */
@font-face {
  font-family: 'DomusTitlingLight';
  src: url('https://assets.cdn.filesafe.space/IcdGfC4wIk4naLlqqjC1/media/68b826769bcba95149bbbd00.font-woff') format('woff');
  font-display: swap;
}
:root {
  --olive: #0f0f0f;
  --olive-deep: #080808;
  --olive-soft: #6b6b6b;
  --ink: #0f0f0f;
  --ink-deep: #080808;
  --sage: #deae54;
  --gold: #deae54;
  --sand: #ebe5d8;
  --mist: #e9e5dc;
  --paper: #f6f3ec;
  --body: #1d1d1b;
  --muted: #5f5c55;
  --line: #ddd6c7;
  --ice: #deae54;
  --ice-deep: #b9893a;
  --coal: #171717;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --title: 'DomusTitlingLight', 'Montserrat', sans-serif;
  --r: 4px;
  --r-lg: 10px;
  --shadow: 0 4px 14px 0 rgba(0, 0, 0, .14);
  --shadow-lg: 0 18px 44px -14px rgba(0, 0, 0, .5);
}
body { background: var(--paper); }
h1, h2 { font-family: var(--title); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { line-height: 1.15; }
h3 { font-weight: 700; }
.hero h1 .hl { color: var(--ice-deep); }
.on-dark h1 .hl, .tone-ink h1 .hl, .hero.tone-ink h1 .hl { color: var(--ice); }
.eyebrow, .kicker { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.kicker .n { background: var(--ice); color: #0f0f0f; }

/* buttons: gold with black text, as on their website */
.btn { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--r); background: var(--ice); color: #0f0f0f; }
.btn:hover { background: #e8bd6a; color: #0f0f0f; }
.btn.ghost { background: transparent; color: var(--ink); }
.on-dark .btn:not(.ghost), .tone-ink .btn:not(.ghost), .fx__panel .btn:not(.ghost), .cta-strip .btn { background: var(--ice); color: #0f0f0f; }
.on-dark .btn.ghost, .tone-ink .btn.ghost { color: #fff; }
@keyframes ctcGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(222, 174, 84, 0); } 50% { box-shadow: 0 0 0 7px rgba(222, 174, 84, .22); } }
@keyframes ctcGlowLight { 0%, 100% { box-shadow: 0 0 0 0 rgba(222, 174, 84, 0); } 50% { box-shadow: 0 0 0 8px rgba(222, 174, 84, .3); } }
.on-dark .btn.glow, .tone-ink .btn.glow, .fx__panel .btn.glow { animation-name: ctcGlowLight; }

/* header: black, with the logo */
.top { background: rgba(15, 15, 15, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.top .brand { display: flex; align-items: center; text-decoration: none; }
.top .brand img { height: 52px; width: auto; }
.foot .logo { height: 96px; width: auto; }

/* rooms */
.tone-ink { background: var(--ink); }
.tone-olive { background: var(--coal); }
.foot { background: var(--ink-deep); }
.fx__panel { background: #121212; border: 1px solid rgba(222, 174, 84, .25); }
.fx__back { background: rgba(0, 0, 0, .82); }
.hero.tone-ink { color: rgba(255, 255, 255, .86); }
.hero.tone-ink h1, .hero.tone-ink .eyebrow { color: #fff; }
.hero.tone-ink .eyebrow { color: var(--ice); }
.hero.tone-ink .lede, .hero.tone-ink .btn-note { color: rgba(255, 255, 255, .78); }
.hero.tone-ink .scarcity { background: rgba(255, 255, 255, .06); border-color: rgba(222, 174, 84, .35); color: #fff; }
.hero.tone-ink .spaces { color: #fff !important; }
.hero.tone-ink .trust-grid b { color: #fff; }
.hero.tone-ink .trust-grid span { color: rgba(255, 255, 255, .7); }
.trust i { background: var(--ice); }

/* films and reviews */
.films3 .film, .wall .film { background: var(--coal); }
.on-dark .review p, .tone-ink .review p { color: var(--body); }
.on-dark .review .who, .tone-ink .review .who { color: var(--muted); }
.review .stars { color: var(--ice-deep); }
.films4 { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .films4 { grid-template-columns: repeat(4, 1fr); } }
.films4 .filmcard { margin: 0; }
/* The tile owns the 4:5 shape (the posters are 4:5): without it the <img> height attribute won and
   each film stood about 283x800, a sliver of the reel (Nov 2026). */
.films4 .film { width: 100%; aspect-ratio: 4 / 5; }
.films4 .film img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 0; }
.films4 figcaption { color: rgba(255, 255, 255, .82); font-size: .9rem; margin-top: 10px; line-height: 1.45; }
.films4 figcaption b { display: block; color: #fff; font-size: .98rem; }

/* the hero film (an ad page's own reel), a 3:4 tile with a play mark */
.hero-film { position: relative; display: block; width: 100%; max-width: 420px; margin: 0 auto; border: 0; padding: 0;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: var(--coal); box-shadow: var(--shadow-lg); }
.hero-film img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; }
.hero-film::after { content: ''; position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  border-radius: 50%; background: rgba(222, 174, 84, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230f0f0f'/%3E%3C/svg%3E") 56% 50% / 34px no-repeat; }
.hero-film span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; text-align: left; color: #fff; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.hero-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

/* the owner */
.letter__shot img { aspect-ratio: 1 / 1; object-fit: cover; }

/* two ways in */
.two-ways { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 780px) { .two-ways { grid-template-columns: 1fr 1fr; } }
.two-ways figure { margin: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.two-ways img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.two-ways figcaption { padding: 18px 22px 22px; }
.two-ways figcaption b { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.two-ways figcaption span { color: var(--muted); }

/* FAQ */
.qa { max-width: 760px; margin: 28px auto 0; }
.qa details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.qa summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::after { content: '+'; color: var(--ice-deep); font-size: 1.3rem; line-height: 1; }
.qa details[open] summary::after { content: '\2013'; }
.qa p { margin: 10px 0 0; color: var(--muted); }

/* ======================================================================== the flow */
.fx__panel { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; }
.flow__head { display: flex; align-items: center; gap: 12px; margin: 0 46px 18px 0; }
.flow__bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.flow__bar i { display: block; height: 100%; background: var(--ice); transform-origin: 0 50%; transform: scaleX(0); transition: transform .35s var(--mk-settle); }
.flow__count { color: rgba(255, 255, 255, .6); font-size: .82rem; min-width: 3.5em; text-align: right; }
.flow__back { background: none; border: 0; color: rgba(255, 255, 255, .7); font: inherit; font-size: .88rem; cursor: pointer; padding: 0; }
.flow__back:hover { color: #fff; }
#base13-flow fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
#base13-flow legend, #base13-flow h3 { color: #fff; font-family: var(--title); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.3rem, 4.4vw, 1.7rem);
  line-height: 1.2; margin: 0 0 18px; padding: 0; outline: none; font-weight: 400; }
#base13-flow .flow__sub { color: rgba(255, 255, 255, .72); margin: -8px 0 18px; font-size: .95rem; }
.flow__opts { display: grid; gap: 10px; }
.flow__opt { position: relative; display: block; cursor: pointer; }
.flow__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.flow__opt span { display: block; padding: 15px 18px; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  background: rgba(255, 255, 255, .04); font-weight: 500; transition: border-color .15s, background .15s; }
@media (hover: hover) { .flow__opt:hover span { border-color: rgba(222, 174, 84, .7); } }
.flow__opt input:checked + span { border-color: var(--ice); background: rgba(222, 174, 84, .16); }
.flow__opt input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
#base13-flow .field label { color: rgba(255, 255, 255, .7); }
#base13-flow .field input { background: #1c1c1c; border-color: rgba(255, 255, 255, .16); color: #fff; }
#base13-flow .legal { color: rgba(255, 255, 255, .5); font-size: .78rem; }
.flow__err, .book__err { color: #ffb4a8; }
.flow__widget iframe { width: 100%; height: 620px; border: 0; border-radius: var(--r); background: #fff; }
.flow__skip { display: inline-block; margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: .9rem; }
#base13-flow .book__day { color: #fff; border-color: rgba(255, 255, 255, .2); background: transparent; }
#base13-flow .book__day small { color: rgba(255, 255, 255, .6); }
#base13-flow .book__time { color: #fff; border-color: rgba(255, 255, 255, .2); background: transparent; }
#base13-flow .book__day[aria-pressed="true"], #base13-flow .book__time:hover { background: var(--ice); border-color: var(--ice); color: #0f0f0f; }
#base13-flow .book__day[aria-pressed="true"] small { color: #0f0f0f; }
/* no lightbox (no script): the form sits in #start as an ordinary form, every step showing */
#start #base13-flow { background: var(--ink); padding: 26px; border-radius: var(--r-lg); }
#start #base13-flow [data-step] { margin-bottom: 22px; }

/* the four numbers on the black hero: dark cells, gold rules */
.hero.tone-ink .trust-grid { background: transparent; border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.hero.tone-ink .trust-grid > div { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }

/* Gentle urgency (Nov 2026, like CTC's /welcome): a strip above the header, a line under the hero button. */
.soft-strip { background: #0b0d11; color: #fff; font-size: .88rem; text-align: center; padding: 9px 16px; border-bottom: 2px solid var(--ice); }
.soft-strip b { color: var(--ice); }
.soft-strip .sep { opacity: .45; margin: 0 8px; }
@media (max-width: 520px) { .soft-strip .more { display: none; } }
.btn-note .soft-left { color: var(--ice); font-weight: 700; }

/* Hero alignment (5 Nov 2026, as Armoury): the film's top lines up with the headline and sits flush right. */
@media (min-width: 940px) {
  .hero-lp .hero-grid { align-items: start; }
  .hero-lp .hero-media { display: flex; justify-content: flex-end; padding-top: 38px; }
  .hero-lp .hero-media > * { margin: 0; }
}
/* "You're all set": their win in a line, then a member film like them (Nov 2026). */
.flow__win { font-weight: 600; color: #fff !important; }
.flow__next { font-size: .95rem; padding-left: 12px; border-left: 3px solid var(--ice); }
.flow__film { margin: 16px 0 0; }
.flow__frame { position: relative; width: 100%; max-width: 280px; aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; border-radius: 12px; background: #000;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.flow__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.flow__play { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .45)); }
.flow__play span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ice); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.flow__play svg { width: 28px; height: 28px; margin-left: 4px; fill: #111; }
.flow__play[hidden] { display: none; }
.flow__film figcaption { max-width: 280px; margin: 12px auto 0; color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.45; }

/* The call step (Nov 2026, Matt: "isn't SUPER mobile optimised, especially when there are lots of times"). Days are a strip
   you swipe; times sit under them in morning / afternoon / evening, four across; "More times" opens the quarter hours; the
   skip link stays at the bottom of the panel. */
#base13-flow .book__days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -2px 6px; padding: 2px 2px 10px;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
#base13-flow .book__days::-webkit-scrollbar { display: none; }
#base13-flow .book__day { flex: 0 0 auto; scroll-snap-align: start; min-width: 58px; padding: 8px 6px; border-radius: 12px; border-width: 1px;
  display: grid; justify-items: center; gap: 1px; line-height: 1.1; font: inherit; cursor: pointer; }
#base13-flow .book__day small { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
#base13-flow .book__day b { font-size: 1.25rem; font-weight: 700; }
#base13-flow .book__times { display: block; margin: 0 0 8px; }
.book__group { margin: 10px 0 8px; color: rgba(255, 255, 255, .55); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.book__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 340px) { .book__grid { grid-template-columns: repeat(3, 1fr); } }
#base13-flow .book__time { min-height: 44px; padding: 8px 4px; border-radius: 10px; border-width: 1px; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
#base13-flow .book__time[hidden] { display: none; }
#base13-flow .book__time:disabled { opacity: .5; }
.book__more { display: block; width: 100%; margin: 12px 0 0; min-height: 44px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 10px;
  background: transparent; color: #fff; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.book__more:hover { border-color: var(--ice); color: var(--ice); }
.flow__foot { position: sticky; bottom: calc(-1 * clamp(26px, 4vw, 40px)); margin: 14px calc(-1 * clamp(26px, 4vw, 40px)) calc(-1 * clamp(26px, 4vw, 40px));
  padding: 12px clamp(26px, 4vw, 40px) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, #121212 26%); text-align: center; }
.flow__foot .flow__skip { margin: 0; }
#base13-flow .flow__call h3 { margin-bottom: 6px; }
#base13-flow .flow__call .flow__sub { margin: 0 0 14px; }

/* On a phone the flow is a full-screen sheet: no gutter, no wasted padding, the bottom kept clear of the home bar. */
@media (max-width: 600px) {
  .fx { padding: 0; place-items: stretch; }
  .fx__panel { max-width: none; width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0;
    padding: calc(14px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom)); }
  .fx__x { top: calc(8px + env(safe-area-inset-top)); right: 8px; }
  .flow__head { margin-bottom: 14px; min-height: 38px; }
  #base13-flow legend, #base13-flow h3 { font-size: 1.3rem; margin-bottom: 14px; }
  .flow__opt span { padding: 13px 16px; }
  .flow__foot { bottom: calc(-18px - env(safe-area-inset-bottom)); margin: 14px -16px calc(-18px - env(safe-area-inset-bottom)); padding-left: 16px; padding-right: 16px; }
}
#base13-flow section[data-step] { padding: 0; }

/* 9 Nov 2026: the questions fit a small phone without scrolling (six answers on an iPhone SE), and no answer looks picked
   before it's tapped (touch screens keep :hover on the spot just tapped, which is where the next question's first answer sits). */
@media (max-width: 600px) {
  #base13-flow legend, #base13-flow h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 12px; }
  .flow__opts { gap: 8px; }
  .flow__opt span { padding: 11px 14px; font-size: .95rem; line-height: 1.3; }
}
