/* 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, picture { 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: 240px; height: 36svh; min-height: 200px; max-height: 360px; object-fit: cover; object-position: 50% 40%; }
.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); }
/* The location line sits inside the H1 for search, but looks like the small label above it */
h1 .eyebrow { display: block; margin-bottom: 12px; line-height: 1.3; }
h1 .h1-main { display: block; }
.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); }
/* Short phones (older iPhone SE): a smaller photo so the button still shows on the first screen */
@media (max-width: 767px) and (max-height: 600px) {
  .hero-media img { height: 26svh; min-height: 140px; }
  .hero-copy { gap: 8px; padding-top: 16px; }
  h1 { font-size: 40px; }
  h1 .eyebrow { margin-bottom: 8px; font-size: 13px; }
}
/* Phones: a swipeable row of larger clips, with the next one peeking in */
@media (max-width: 767px) {
  .clips { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .clips::-webkit-scrollbar { display: none; }
  .clips video { flex: 0 0 64%; scroll-snap-align: start; }
}

/* Booking */
/* Intro diary: Acuity's intro calendar shown on the page */
.booking-embed { margin-top: 20px; background: var(--ground); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.booking-embed iframe { display: block; width: 100%; height: min(85vh, 760px); border: 0; background: var(--ground); }
@media (min-width: 768px) { .booking-embed iframe { height: 1000px; } }
.book-after { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }

/* Booking panel: full screen on phones, a centred panel on desktop */
.book-dialog { padding: 0; border: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--ground); color: var(--ink); }
.book-dialog[open] { display: flex; flex-direction: column; }
.book-dialog::backdrop { background: rgba(5, 6, 7, 0.8); }
.bd-head { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line-strong); background: var(--surface); }
.bd-titles { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.bd-titles b { font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
.bd-price { font-family: var(--display); font-weight: 700; font-size: 22px; white-space: nowrap; }
.bd-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1.5px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.bd-close:hover { border-color: var(--muted); }
.bd-body { position: relative; flex: 1 1 auto; min-height: 0; }
.bd-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ground); }
.bd-loading { position: absolute; top: 24px; left: 0; right: 0; text-align: center; }
body.bd-open { overflow: hidden; }
@media (max-width: 767px) {
  .bd-titles b { font-size: 19px; }
  .bd-price { font-size: 17px; }
  .bd-titles .eyebrow { font-size: 12px; }
}
.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: flex; flex-direction: column; gap: 20px; }
.programme-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.programme-art img { width: 100%; height: auto; aspect-ratio: 1 / 1; 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; } }

/* Thank-you and error pages */
.notice { min-height: calc(100vh - 64px - 240px); min-height: calc(100svh - 64px - 240px); display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); }
.notice-card { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.notice-card h1 { font-size: 44px; }
.notice-card .eyebrow { color: var(--signal-text); }
.notice-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.notice-actions .btn { width: 100%; }

/* Inner page hero (golf fitness) */
.page-hero { padding: 24px 0 40px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-hero .btn { width: 100%; }
.page-hero .hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* 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; }
  /* First screen: the hero and the proof strip together fill the window, with the strip on the fold */
  .first-screen { display: flex; flex-direction: column; min-height: min(calc(100vh - 64px), 1100px); min-height: min(calc(100svh - 64px), 1100px); }
  .hero { flex: 1 0 auto; display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
  .hero-media { order: 2; margin: 0; }
  .hero-media img { height: clamp(400px, calc(100vh - 240px), 720px); height: clamp(400px, calc(100svh - 240px), 720px); min-height: 0; max-height: none; border-radius: 8px; object-position: 50% 50%; }
  h1 .eyebrow { margin-bottom: 18px; }
  .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 { gap: 32px; }
  .programme-art img { aspect-ratio: 16 / 10; }
  .programme .form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; align-items: end; }
  .programme .form .consent { align-self: center; }
  .programme .form .form-msg { grid-column: 1 / -1; }
  .notice-card h1 { font-size: 64px; }
  .notice-actions { flex-direction: row; flex-wrap: wrap; }
  .notice-actions .btn { width: auto; }
  .page-hero { padding: 56px 0 72px; }
  .page-hero .wrap { gap: 20px; }
  .page-hero .lead { font-size: 18px; max-width: 58ch; }
  .page-hero .btn { width: auto; }
  .page-hero .hero-actions { align-items: flex-start; }
  .site-footer { padding-bottom: 48px; }
  .site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .sticky-cta { display: none; }
  .book-after { flex-direction: row; align-items: center; justify-content: space-between; }
  .book-dialog { width: min(760px, calc(100% - 48px)); height: min(860px, calc(100% - 48px)); margin: auto; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
}
@media (min-width: 1024px) {
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
