/* ==========================================================================
   The Box (Wollongong): the skin over the shared funnel styles (base.css), and the flow. Matched to theboxgym.com.au and
   their reels (Nov 2026): black and charcoal (#111, #262625), warm light grey (#d0cfce), white; red only as a small
   accent (the flash in their reels, the plates); Poppins, capitals and wide tracking for labels like their wordmark;
   black-and-white photography.
   ========================================================================== */
:root {
  --ink: #111111; --ink-deep: #0a0a0a; --coal: #262625; --olive: #111; --olive-deep: #0a0a0a; --olive-soft: #6b6b6b;
  --paper: #ffffff; --sand: #efeeed; --mist: #f5f5f4; --grey: #d0cfce; --red: #e23b2e;
  --body: #1c1c1b; --muted: #5f5e5c; --line: #dddcda; --ice: #ffffff; --ice-deep: #111111; --sage: #111; --gold: #111;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; --title: var(--font);
  --r: 6px; --r-lg: 10px; --shadow: 0 4px 16px rgba(0, 0, 0, .10); --shadow-lg: 0 22px 50px -18px rgba(0, 0, 0, .55);
}
body { background: var(--paper); font-family: var(--font); color: var(--body); }
h1, h2, h3, .af-form legend, .af-form h3 { font-family: var(--font); color: inherit; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-weight: 800; line-height: 1.12; letter-spacing: -.015em; text-transform: uppercase; }
h3 { font-weight: 700; }
.hl { color: inherit; }
.hero h1 .hl, .hero h1 .mo-w__i.hl { background: none; color: #fff; box-shadow: inset 0 -.14em 0 var(--red); }

/* labels: the wordmark's wide tracking */
.eyebrow, .kicker { font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .76rem; }
.hero .eyebrow, .ty-hero .eyebrow { color: rgba(255, 255, 255, .72); }
.kicker { color: var(--muted); }
.kicker .n { background: var(--ink); color: #fff; border-radius: 3px; }
.on-dark .kicker, .tone-ink .kicker { color: rgba(255, 255, 255, .7); }
.on-dark .kicker .n, .tone-ink .kicker .n { background: #fff; color: var(--ink); }

/* buttons: white on black, black on white; square-ish, firm */
.btn { background: var(--ink); color: #fff; border-radius: 6px; font-weight: 700; letter-spacing: .02em; box-shadow: none; }
.btn:hover, .btn:focus-visible { background: #2c2c2b; color: #fff; }
.on-dark .btn:not(.ghost), .tone-ink .btn:not(.ghost), .fx__panel .btn:not(.ghost), .top .btn { background: #fff; color: var(--ink); }
.on-dark .btn:not(.ghost):hover, .tone-ink .btn:not(.ghost):hover, .fx__panel .btn:not(.ghost):hover, .top .btn:hover { background: var(--grey); color: var(--ink); }
@keyframes boxGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, .16); } }
.on-dark .btn.glow, .tone-ink .btn.glow, .fx__panel .btn.glow { animation-name: boxGlow; }
.top .btn { font-size: .82rem; padding: .62em 1em; }

/* header and rooms */
.top { background: rgba(17, 17, 17, .97); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); border: 0; }
.top .brand { display: flex; align-items: center; }
.top .brand img { height: 17px; width: auto; }
@media (min-width: 760px) { .top .brand img { height: 20px; } }
.tone-ink, .hero.tone-ink { background: var(--ink); }
.tone-paper { background: var(--paper); }
.tone-sand { background: var(--sand); }
.foot { background: var(--ink-deep); }
.foot .logo, .foot .foot-grid img.logo { height: 18px !important; width: auto !important; max-width: none; margin-bottom: 14px; }
.hero.tone-ink { color: rgba(255, 255, 255, .86); }
.hero.tone-ink h1 { color: #fff; }
.hero.tone-ink .lede, .hero.tone-ink .btn-note { color: rgba(255, 255, 255, .78); }
.hero.tone-ink .scarcity { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #fff; }
.hero.tone-ink .scarcity .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(226, 59, 46, .22); }
.soft-strip { background: #000; color: rgba(255, 255, 255, .85); font-size: .85rem; text-align: center; padding: 9px 16px; letter-spacing: .02em; }
.soft-strip b { color: #fff; }
.soft-strip .sep { opacity: .4; margin: 0 8px; }
@media (max-width: 520px) { .soft-strip .more { display: none; } }

/* the four numbers */
.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); }
.hero.tone-ink .trust-grid b { color: #fff; font-weight: 800; }
.hero.tone-ink .trust-grid span { color: rgba(255, 255, 255, .68); }
.trust i, .trust-grid i { background: var(--red); }

/* the ad's own film in the hero: 9:16, playing muted; a tap plays it with sound in the lightbox */
.hero-film { position: relative; display: block; width: 100%; max-width: 340px; margin: 0 auto; border: 0; padding: 0;
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow-lg); }
.hero-film video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.hero-film::after { content: ''; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; opacity: .92;
  background: #fff 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='%23111111'/%3E%3C/svg%3E") 56% 50% / 32px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: opacity .2s, transform .2s; }
.hero-film:hover::after { opacity: 1; transform: scale(1.05); }
.hero-film span { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; text-align: left; color: #fff; font-size: .88rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }

/* how it works */
.card { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: none; background: #fff; }
.card .card__n { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.card h3 { margin-top: 0; }
.promise { background: var(--ink); color: #fff; padding: 24px 26px; border-radius: var(--r-lg); max-width: 760px; margin: 30px auto 0; border-left: 4px solid var(--red); }
.promise h3 { color: #fff; margin: 0 0 8px; font-size: 1.12rem; }
.promise p { margin: 0; color: rgba(255, 255, 255, .85); }

/* the gym */
.studio-card { display: grid; gap: 26px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .studio-card { grid-template-columns: 1fr 1.05fr; gap: 44px; } }
.studio-card img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); max-height: 560px; }
.studio-card address { font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.6; }
.studio-card a { color: var(--ink); font-weight: 600; }

/* members' films: their posters (9:16, the quote on them). Two across on a phone, four from 900px. */
.stories { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.memfilm { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; cursor: pointer; }
.memfilm img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .4s var(--mk-settle); }
.memfilm:hover img { transform: scale(1.03); }
.memfilm:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* reviews: two across (there are four) */
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr) !important; max-width: 900px; margin-left: auto; margin-right: auto; } }
.review { border-radius: var(--r-lg); }
.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: #111; letter-spacing: .1em; }

/* FAQ */
.qa { max-width: 760px; margin: 28px auto 0; }
.qa details { border-bottom: 1px solid #cfcdca; padding: 16px 0; }
.qa summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::after { content: '+'; color: var(--ink); 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__back { background: rgba(0, 0, 0, .84); }
.fx__panel { background: #161616; border: 1px solid rgba(255, 255, 255, .12); 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: #fff; 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; }
.af-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.af-form legend, .af-form h3 { color: #fff; font-size: clamp(1.25rem, 4.4vw, 1.55rem); line-height: 1.25; margin: 0 0 18px; padding: 0; outline: none; font-weight: 700; letter-spacing: -.01em; }
.af-form .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; }
.flow__opt:hover span { border-color: rgba(255, 255, 255, .6); }
.flow__opt input:checked + span { border-color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px #fff; }
.flow__opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.af-form .field label { color: rgba(255, 255, 255, .7); }
.af-form .field input { background: #222; border-color: rgba(255, 255, 255, .16); color: #fff; }
.af-form .field input::placeholder { color: rgba(255, 255, 255, .35); }
.af-form .legal { color: rgba(255, 255, 255, .5); font-size: .78rem; }
.flow__err, .af-form .book__err { color: #ffb4a8; }
.flow__widget iframe { width: 100%; height: 640px; border: 0; border-radius: var(--r); background: #fff; }
.flow__skip { display: inline-block; margin-top: 12px; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.af-form .book__days, .af-form .book__times { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.af-form .book__day, .af-form .book__time { color: #fff; border: 1px solid rgba(255, 255, 255, .2); background: transparent; border-radius: 8px; padding: 10px 12px; font: inherit; cursor: pointer; }
.af-form .book__day small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.af-form .book__time { min-width: 84px; text-align: center; font-weight: 600; }
.af-form .book__day[aria-pressed="true"], .af-form .book__time:hover { background: #fff; border-color: #fff; color: var(--ink); }
.af-form .book__day[aria-pressed="true"] small { color: var(--muted); }
#start .af-form { background: #161616; padding: 26px; border-radius: var(--r-lg); }
#start .af-form [data-step] { margin-bottom: 22px; }
.offscreen { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* /thanks: a short, specific note on the left, their film on the right (stacked on a phone) */
.ty2 { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px); }
.ty2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1000px; }
@media (max-width: 800px) { .ty2-grid { grid-template-columns: minmax(0, 1fr); } }
.ty2 h1 { margin: 0 0 16px; }
.hero .ty2-line { margin: 0 0 18px; max-width: 30ch; color: #fff; font-size: clamp(1.2rem, 2.8vw, 1.5rem); line-height: 1.45; font-weight: 500; }
.hero .ty2-next { margin: 0; max-width: 44ch; padding-left: 14px; border-left: 3px solid var(--red); color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.55; }
.hero .ty2-book { margin: 22px 0 0; }
.ty2-film { margin: 0; }
.ty2-frame { position: relative; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; margin: 0 auto; overflow: hidden; border-radius: var(--r-lg); background: #000; box-shadow: var(--shadow-lg); }
.ty2-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.ty2-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)); }
.ty2-play span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.ty2-play:hover span, .ty2-play:focus-visible span { transform: scale(1.07); }
.ty2-play svg { width: 32px; height: 32px; margin-left: 4px; fill: var(--ink); }
.ty2-play[hidden], [data-video][hidden], [data-book][hidden], [data-n-wrap][hidden] { display: none !important; }
.hero .ty2-film figcaption { max-width: 340px; margin: 14px auto 0; color: rgba(255, 255, 255, .85); font-size: .98rem; line-height: 1.5; }
.ty2-after { max-width: 760px; }
.ty-steps { counter-reset: s; list-style: none; margin: 0 0 18px; padding: 0; }
.ty-steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; }
.ty-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.ty-steps b { display: block; margin-bottom: 2px; }
.ty2-after a { color: var(--ink); font-weight: 600; }

/* /stories/<key> and /call */
.story-page .wrap, .call-page .wrap { max-width: 600px; text-align: center; }
.story-page__film { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: 18px auto 0; border-radius: var(--r-lg); background: #000; box-shadow: var(--shadow-lg); }
.story-page blockquote { margin: 22px 0 6px; font-size: 1.25rem; font-weight: 700; color: #fff; }
.story-page__line { color: rgba(255, 255, 255, .8); margin: 0 0 22px; }
.call-page .lede { color: rgba(255, 255, 255, .8); margin: 0 auto 20px; }
.call-page__widget iframe { width: 100%; height: 760px; border: 0; border-radius: var(--r-lg); background: #fff; }
.call-page__alt { color: rgba(255, 255, 255, .75); margin-top: 18px; }
.call-page__alt a { color: #fff; font-weight: 700; }
