/* Chinnor Gym concept (Stronger Systems). Colours from chinnorgym.co.uk: cream #f4f1eb, ink #1f1f1f, sage #7a9486. */
:root {
  --cream: #f4f1eb; --paper: #fbfaf7; --ink: #1f1f1f; --ink-2: #3a3a37; --muted: #5f5e59;
  --sage: #7a9486; --sage-d: #566d61; --sage-l: #e3eae5; --line: #dcd7cc;
  --r: 18px; --r-sm: 12px; --shadow: 0 10px 30px rgba(31,31,31,.12);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--font); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 14px; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-d); margin: 0 0 8px; }
.ph { background: repeating-linear-gradient(45deg, #efeae0, #efeae0 8px, #e8e2d6 8px, #e8e2d6 16px); border: 2px dashed #b9b2a3;
  color: #6d665a; font-style: italic; border-radius: var(--r-sm); padding: 10px 12px; }
.ph-inline { background: #fff3c4; color: #5f4b00; border-radius: 4px; padding: 0 4px; font-style: italic; }

/* Header */
.top { background: var(--cream); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 10px; height: 52px; }
.top .logo img { height: 18px; width: auto; }
.top .spacer { flex: 1; }
.concept-tag { font-size: .68rem; line-height: 1.2; color: var(--muted); text-align: right; text-decoration: none; border: 1px solid var(--line);
  border-radius: 99px; padding: 4px 9px; background: var(--paper); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--ink); color: #fff; font: 700 1.02rem/1 var(--font); padding: 17px 26px; border-radius: 99px; letter-spacing: .01em;
  box-shadow: 0 6px 18px rgba(31,31,31,.18); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.btn.sage { background: var(--sage-d); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn .arrow { font-size: 1.1em; }

/* Hero (HERO.md v3): headline, one sentence, the film, one button, all on the first phone screen */
.hero { padding: 14px 0 16px; }
.hero .eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-d); margin: 0 0 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero h1 { font-size: clamp(1.7rem, 7.6vw, 3.6rem); font-weight: 900; margin: 0 0 8px; }
.hero h1 .hl { background: linear-gradient(transparent 58%, #c9d8cf 58%); padding: 0 2px; }
.hero .sub { font-size: clamp(.95rem, 4vw, 1.2rem); line-height: 1.4; color: var(--ink-2); margin: 0; max-width: 34em; }
.hero-media { display: flex; justify-content: center; }
.film { position: relative; border-radius: var(--r); overflow: hidden; background: #ddd; box-shadow: var(--shadow); aspect-ratio: 4 / 5; height: 100%; max-width: 100%; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film .watch { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.94); color: var(--ink); font: 600 .78rem/1 var(--font); padding: 8px 11px 8px 9px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.film .watch i { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.film .watch i::after { content: ''; position: absolute; left: 7px; top: 5px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.hero-act { text-align: center; }
.hero-act .btn { width: 100%; max-width: 420px; }
.hero-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 899px) {
  .hero { height: calc(100svh - 52px); min-height: 440px; max-height: 920px; display: flex; flex-direction: column; }
  .hero .wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .hero-media { flex: 1 1 0; min-height: 140px; margin: 12px 0; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero { padding-top: 10px; padding-bottom: 12px; }
  .hero h1 { font-size: clamp(1.5rem, 6.8vw, 1.9rem); margin-bottom: 6px; }
  .hero .sub { font-size: .9rem; line-height: 1.35; }
  .hero-media { margin: 9px 0; }
  .hero-act .btn { padding: 15px 20px; }
  .hero-note { margin-top: 6px; font-size: .76rem; }
}
@media (min-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "copy media" "act media"; column-gap: 56px; row-gap: 28px; align-items: end; }
  .hero-copy { grid-area: copy; } .hero-act { grid-area: act; align-self: start; text-align: left; }
  .hero-media { grid-area: media; }
  .film { height: min(68vh, 600px); }
  .hero-act .btn { width: auto; }
}

/* Below the hero */
.more { background: var(--paper); border-top: 1px solid var(--line); padding: 30px 0 34px; }
.more .in { max-width: 44em; }
.lede { font-size: 1.05rem; color: var(--ink-2); }
.offer { border-left: 4px solid var(--sage); background: var(--sage-l); padding: 12px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 16px; }
.offer strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.steps li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; flex: none; }
.quote { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 1.05rem; font-style: italic; }
.quote figcaption { margin-top: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-d); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; }
.facts b { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.facts span { font-size: .84rem; color: var(--muted); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }

section.block { padding: 48px 0; }
section.block.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.centre { text-align: center; }
.intro { max-width: 40em; margin: 0 auto 26px; color: var(--ink-2); }
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .body { padding: 16px; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.closer { text-align: center; margin-top: 28px; }

.members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .members { grid-template-columns: repeat(4, 1fr); } }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-align: left; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.member .pic { position: relative; aspect-ratio: 9 / 16; background: #ccc; }
.member .pic img { width: 100%; height: 100%; object-fit: cover; }
.member .pic::after { content: ''; position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.95) 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='%231f1f1f'/%3E%3C/svg%3E") 55% 50% / 20px no-repeat; }
.member .cap { padding: 10px 12px 12px; }
.member q { display: block; font-weight: 700; line-height: 1.3; font-size: .95rem; quotes: '\201C' '\201D'; }
.member small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }

.reviews { display: grid; gap: 14px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0; }
.review .stars { color: #e3a62b; letter-spacing: 2px; font-size: .95rem; }
.review blockquote { margin: 8px 0 10px; font-size: .97rem; }
.review figcaption { font-size: .84rem; color: var(--muted); }
.rating { display: inline-flex; gap: 8px; align-items: baseline; font-size: .95rem; margin-bottom: 22px; }
.rating b { font-size: 1.6rem; }

.coach { display: grid; gap: 20px; align-items: center; }
.coach img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (min-width: 760px) { .coach { grid-template-columns: .8fr 1.2fr; gap: 40px; } }

.find { display: grid; gap: 18px; }
.find iframe { width: 100%; height: 300px; border: 0; border-radius: var(--r); background: #e6e2d8; }
@media (min-width: 760px) { .find { grid-template-columns: 1fr 1.3fr; align-items: center; } }
.find address { font-style: normal; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

.final { background: var(--ink); color: #fff; text-align: center; padding: 52px 0; }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.8); }
.final .btn { background: #fff; color: var(--ink); }

footer { padding: 26px 0 96px; font-size: .82rem; color: var(--muted); text-align: center; }
footer a { color: var(--ink); }

/* Sticky button: only once the hero button has scrolled away */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(244,241,235,.96);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; z-index: 40; display: flex; justify-content: center; }
.sticky.on { transform: none; }
.sticky .btn { width: 100%; max-width: 420px; padding: 15px 20px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 60; display: none; align-items: flex-end; justify-content: center; background: rgba(20,20,20,.55); }
.lb.open { display: flex; }
.lb-panel { background: var(--paper); width: 100%; max-width: 480px; max-height: 94svh; overflow: auto; border-radius: 22px 22px 0 0; padding: 18px 18px 22px; position: relative;
  animation: up .25s ease; }
@media (min-width: 600px) { .lb { align-items: center; } .lb-panel { border-radius: 22px; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.lb-close { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #ebe6db; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.lb-demo { font-size: .72rem; background: #fff3c4; color: #5f4b00; border-radius: 6px; padding: 5px 8px; margin: 0 44px 12px 0; }
.bar { height: 5px; background: #e6e1d6; border-radius: 9px; overflow: hidden; margin: 0 44px 16px 0; }
.bar i { display: block; height: 100%; width: 25%; background: var(--sage-d); transition: width .3s ease; }
.step { display: none; } .step.on { display: block; }
.step h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.step .hint { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.field input { width: 100%; font: 16px var(--font); padding: 13px 14px; border: 1.5px solid #cfc8ba; border-radius: 10px; background: #fff; }
.field input:focus { outline: none; border-color: var(--sage-d); box-shadow: 0 0 0 3px var(--sage-l); }
.field .err { display: none; color: #a1361d; font-size: .8rem; margin-top: 3px; }
.field.bad .err { display: block; } .field.bad input { border-color: #a1361d; }
.tel { display: flex; } .tel span { padding: 13px 10px; border: 1.5px solid #cfc8ba; border-right: 0; border-radius: 10px 0 0 10px; background: #f1ede5; font-size: .95rem; white-space: nowrap; }
.tel input { border-radius: 0 10px 10px 0; }
.small { font-size: .74rem; color: var(--muted); margin: 6px 0 12px; }
.opts { display: grid; gap: 9px; margin-bottom: 8px; }
.opts.grid2 { grid-template-columns: 1fr 1fr; }
.opt { text-align: left; font: 600 .98rem/1.25 var(--font); padding: 14px 14px; border: 1.5px solid #cfc8ba; border-radius: 12px; background: #fff; cursor: pointer; color: var(--ink); }
.opt:hover { border-color: var(--ink); }
.opt.sel { border-color: var(--sage-d); background: var(--sage-l); box-shadow: inset 0 0 0 1px var(--sage-d); }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.days { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; }
.days .opt { flex: 0 0 auto; text-align: center; padding: 10px 12px; min-width: 62px; }
.lb .btn { width: 100%; margin-top: 6px; }
.back { background: none; border: 0; color: var(--muted); font: 500 .88rem var(--font); margin-top: 10px; cursor: pointer; text-decoration: underline; }

/* Film viewer */
.fv { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; padding: 16px; }
.fv.open { display: flex; }
.fv video { max-height: 88svh; width: auto; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; }
.fv button { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 1.3rem; cursor: pointer; }

/* Thank-you page */
.ty-banner { background: #fff3c4; color: #5f4b00; font-size: .85rem; padding: 10px 0; border-bottom: 1px solid #ead98f; }
.ty { padding: 26px 0 40px; }
.ty h1 { font-size: clamp(1.7rem, 7vw, 2.8rem); font-weight: 900; }
.ty .booked { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 14px 0 22px; display: flex; gap: 12px; align-items: center; }
.ty .booked i { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-d); flex: none; position: relative; }
.ty .booked i::after { content: ''; position: absolute; left: 14px; top: 9px; width: 9px; height: 16px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ty-story { display: grid; gap: 18px; align-items: center; margin: 10px 0 26px; }
.ty-story .film { aspect-ratio: 9 / 16; height: auto; width: min(62vw, 300px); margin: 0 auto; cursor: pointer; }
@media (min-width: 760px) { .ty-story { grid-template-columns: 300px 1fr; gap: 36px; } .ty-story .film { width: 300px; } }
.call-list { counter-reset: c; list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.call-list li { counter-increment: c; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.call-list li::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
