/* Luke Northwood, lukenorthwood.com */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --ground: #0f1112;
  --surface: #1a1d1f;
  --raised: #262a2d;
  --line: #33383c;
  --line-strong: #6b7278;
  --ink: #f2f2ee;
  --muted: #a3a9ae;
  --signal: #3d7bff;
  --signal-text: #6b9bff;
  --button: #2f63e0;
  --on-button: #ffffff;
  --selected: #16213a;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: Barlow, Arial, Helvetica, sans-serif;
  --gutter: 20px;
  --max: 1120px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; accent-color: var(--signal); }
img, video { display: block; max-width: 100%; }
a { color: var(--signal-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin: 0; }
h1 { font-size: 48px; line-height: 1; }
h2 { font-size: 34px; line-height: 1.05; }
h3 { font-size: 24px; line-height: 1.1; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 48px 0; }
.section.alt { background: var(--surface); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: var(--ground); padding: 8px 12px; border-radius: 4px; }
.d-only { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 4px; background: var(--button); color: var(--on-button); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { color: var(--on-button); background: #2756c6; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); min-height: 44px; font-size: 15px; padding: 0 16px; }
.btn.ghost:hover { border-color: var(--muted); background: transparent; }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 16px; }
.btn img { width: 20px; height: 20px; }

/* Header */
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.site-header .logo img { height: 20px; width: auto; }

/* Hero */
.hero-media { margin: 0 calc(-1 * var(--gutter)); }
.hero-media img { width: 100%; height: 360px; object-fit: cover; }
.hero-copy { padding: 24px 0 36px; display: flex; flex-direction: column; gap: 12px; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero-copy .btn { margin-top: 8px; }
.hero-note { font-size: 13px; color: var(--muted); text-align: center; }

/* Proof band */
.proof { background: var(--surface); padding: 22px 0; }
.proof .wrap { display: flex; gap: 12px; }
.proof div { flex: 1 1 0; min-width: 0; text-align: center; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.proof b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }

/* What you get */
.benefits { display: grid; gap: 14px; margin-top: 20px; }
.benefit { display: flex; gap: 16px; align-items: center; }
.benefit .icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--raised); display: flex; align-items: center; justify-content: center; }
.benefit .icon svg { width: 22px; height: 22px; }
.benefit b { display: block; }

/* Steps */
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps .num { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps b { display: block; }

/* Prices */
.prices { display: grid; gap: 16px; margin-top: 20px; }
.intro-card { border: 2px solid var(--line-strong); border-radius: 8px; background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.intro-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.intro-card .price { font-family: var(--display); font-size: 40px; line-height: 1; }
.intro-card .btn { margin-top: 8px; }
.rows { display: flex; flex-direction: column; }
.row { min-height: 64px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.row span { flex: 1 1 auto; min-width: 0; }
.row b { white-space: nowrap; }
.custom { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.price-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Meet Luke */
.trainer { display: grid; gap: 16px; }
.trainer img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; }
.trainer blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.pull { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.pull blockquote { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 28px; line-height: 1.05; }
.pull figcaption { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--line-strong); font-size: 13px; }

/* Testimonials */
.quotes { display: grid; gap: 16px; margin-top: 16px; }
.quote { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; }
.quote figcaption { font-size: 13px; color: var(--muted); }
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.clips video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: var(--raised); }

/* Booking */
.booking-embed { margin-top: 16px; background: var(--ground); border: 1px solid var(--line-strong); border-radius: 8px; padding: 16px; min-height: 520px; }
.booking-embed iframe { width: 100%; min-height: 800px; border: 0; }
.booking-placeholder { min-height: 488px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; font-size: 26px; line-height: 1; font-weight: 400; color: var(--muted); transition: transform .15s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq .plus { transition: none; } }
.faq details p { padding: 0 40px 16px 0; font-size: 14px; color: var(--muted); }

/* Free programme */
.programme { display: grid; gap: 16px; }
.programme img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, legend { font-size: 13px; font-weight: 700; }
.field input { height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--ground); color: var(--ink); font: inherit; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 6px; }
.choices { display: flex; gap: 8px; }
.choice { position: relative; flex: 1 1 0; height: 48px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--ground); display: flex; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice:hover { border-color: var(--muted); }
.choice:has(input:checked) { border-color: var(--signal); background: var(--selected); box-shadow: inset 0 0 0 1px var(--signal); }
.choice:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; }
.form-msg { font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 120px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 16px; }
.site-footer .logo img { height: 20px; width: auto; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.socials img { width: 20px; height: 20px; }
.socials img.full { width: 100%; height: 100%; }
.legal { font-size: 12px; color: var(--muted); }

/* Sticky mobile button */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--line-strong); transform: translateY(110%); transition: transform .2s ease; }
.sticky-cta.show { transform: none; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.doc h1 { font-size: 44px; margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 32px 0 10px; }
.doc p, .doc li { color: #d6d8d6; margin: 0 0 10px; }
.doc ul { padding-left: 20px; margin: 0 0 10px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { color: var(--ink); }
.doc td { color: #d6d8d6; }

/* Tablet and up */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .m-only { display: none; }
  .d-only { display: initial; }
  h1 { font-size: clamp(56px, 6.5vw, 88px); line-height: 0.98; }
  h2 { font-size: 48px; line-height: 1; }
  h3 { font-size: 30px; }
  .section { padding: 72px 0; }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
  .hero-media { order: 2; margin: 0; }
  .hero-media img { height: 520px; border-radius: 8px; }
  .hero-copy { padding: 0; gap: 18px; }
  .hero-copy p.lead { font-size: 18px; max-width: 52ch; }
  .hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-note { text-align: left; }
  .proof .wrap { gap: 32px; }
  .proof div { font-size: 15px; }
  .proof b { font-size: 30px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 32px; }
  .benefit { flex-direction: column; align-items: flex-start; gap: 6px; }
  .benefit .icon { margin-bottom: 8px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
  .steps li { flex-direction: column; gap: 6px; }
  .steps .num { width: 40px; height: 40px; margin-bottom: 12px; }
  .prices { grid-template-columns: 360px 1fr; gap: 40px; margin-top: 32px; }
  .trainer { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
  .trainer img { height: 560px; }
  .trainer blockquote { font-size: 18px; }
  .pull blockquote { font-size: 34px; }
  .quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .clips { gap: 24px; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 15px; }
  .programme { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .programme img { height: 100%; min-height: 420px; }
  .site-footer { padding-bottom: 48px; }
  .site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .sticky-cta { display: none; }
}
@media (min-width: 1024px) {
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
