/* Self-hosted fonts (OFL), no third-party CDN, for GDPR + performance */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-wght-normal.woff2) format("woff2");}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-wght-italic.woff2) format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400.woff2) format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500.woff2) format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600.woff2) format("woff2");}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/jetbrains-400.woff2) format("woff2");}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/jetbrains-500.woff2) format("woff2");}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/jetbrains-600.woff2) format("woff2");}

/* ============================================================
   John Chivers Golf Coaching, public site styles
   Identity: deep navy + white + a single
   pin-flag accent. Display = Newsreader, body = Inter, data =
   JetBrains Mono (a scorecard hand). Signature = the swing arc.
   ============================================================ */

:root {
  /* Palette, royal blue, matched to the JC Golf logo (#01349A).
     To revert to the original green scheme, restore the commented values. */
  --pine:       #0C2350;
  --pine-deep:  #071634;
  --moss:       #17408A;
  --sage:       #95A9D2;
  /* Original greens: --pine:#14352A; --pine-deep:#0E2820; --moss:#2F5D49; --sage:#8AA793; */
  /* Neutrals: white and a cool off-white (was limestone #ECE7DB / #F7F4EC) */
  --chalk:      #F4F6F9;
  --paper:      #FFFFFF;
  --ink:        #161B26;
  --ink-soft:   #4D5566;
  /* The flag */
  --flag:       #C24632;
  --flag-deep:  #A6381F;
  /* Lines */
  --line:       rgba(26, 30, 27, 0.14);
  --line-soft:  rgba(26, 30, 27, 0.08);
  --line-dark:  rgba(244, 246, 249, 0.18);
  /* Photographic hero overlay (follows the theme) */
  --hero-ov-1:  rgba(7, 22, 52, 0.80);
  --hero-ov-2:  rgba(12, 35, 80, 0.74);
  /* Original green overlay: rgba(14,40,32,0.78) / rgba(20,53,42,0.72) */

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--flag-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

:focus-visible { outline: 2px solid var(--flag); outline-offset: 3px; }

/* ---- Layout helpers ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--pine { background: var(--pine); color: var(--chalk); }
.section--paper { background: var(--paper); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flag-deep);
  display: inline-block;
  margin-bottom: 1.1rem;
}
.section--pine .eyebrow { color: var(--sage); }

.lede { font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: var(--ink-soft); max-width: 46ch; }
.section--pine .lede { color: var(--sage); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: 0;
  font-weight: 600;
  padding: 0.95em 1.65em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: #000; border-color: #000; }
.btn--primary { --btn-bg: var(--flag); --btn-fg: #fff; border-color: var(--flag); }
.btn--primary:hover { --btn-bg: var(--flag-deep); background: var(--flag-deep); border-color: var(--flag-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); background: var(--ink); }
.section--pine .btn--ghost { --btn-fg: var(--chalk); border-color: var(--sage); }
.section--pine .btn--ghost:hover { --btn-bg: var(--chalk); --btn-fg: var(--pine); border-color: var(--chalk); background: var(--chalk); }
/* Large (hero/close) + dark-background + minimal outline variants */
.btn--lg { padding: 1.05em 2em; font-size: 1.05rem; }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.5); }
.btn--on-dark:hover { --btn-bg: #fff; --btn-fg: var(--pine); background: #fff; border-color: #fff; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--pine); border-color: rgba(12,35,80,0.28); }
.btn--line:hover { --btn-bg: var(--pine); --btn-fg: #fff; background: var(--pine); border-color: var(--pine); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.86rem; }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine-deep);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--chalk); }
.brand__logo { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 560; letter-spacing: -0.01em; }
.brand__role { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--chalk);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: #fff; border-bottom-color: var(--flag); }
.nav a[aria-current="page"] { border-bottom-color: var(--sage); }
.nav__cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--chalk);
  width: 44px; height: 40px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--pine);
  color: var(--chalk);
  overflow: hidden;
}
.hero__arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.hero__heading {
  font-size: clamp(2.6rem, 6.5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 540;
  max-width: 14ch;
}
.hero__heading em { font-style: italic; color: var(--sage); }
.hero__sub { margin-top: 1.6rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--sage); max-width: 42ch; }
.hero__cta { margin-top: 2.2rem; }

.hero__figure {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(0,0,0,0.25)),
    var(--moss);
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure-ph {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  text-align: center;
  padding: 1rem;
}

/* ---- Section heading block ---------------------------------------------- */
.head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.head--center { margin-inline: auto; text-align: center; }

/* ---- About / prose ------------------------------------------------------- */
.prose { max-width: 65ch; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.section--pine .prose p { color: var(--chalk); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.portrait {
  aspect-ratio: 3 / 4;
  background: var(--moss);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-ph { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); }

/* ---- Pull quote ---------------------------------------------------------- */
.quote { max-width: 30ch; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.22;
  font-weight: 480;
  font-style: italic;
}
.quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--sage);
}

/* ---- Scorecard (lesson list), the signature data treatment ------------- */
.scorecard { border-top: 1px solid var(--line); }
.scorecard__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.scorecard__main { min-width: 0; }
.scorecard__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 520; }
.scorecard__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}
.scorecard__desc { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.96rem; max-width: 52ch; }
.scorecard__prices { display: flex; gap: 1.5rem; text-align: right; white-space: nowrap; }
.price { font-family: var(--font-mono); }
.price__label { display: block; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.price__value { display: block; font-size: 1.35rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; }

/* ---- Cards --------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--flag-deep);
}
.card h3 { font-size: 1.4rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---- CTA band (vouchers) ------------------------------------------------- */
.band {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 2rem;
  align-items: center;
}
.band h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); max-width: 18ch; }
.band p { color: var(--sage); margin-top: 0.9rem; max-width: 44ch; }

/* ---- Info rows (find us / contact details) ------------------------------ */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem 2.5rem; }
.info__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--flag-deep); margin-bottom: 0.4rem; }
.info__value { font-size: 1.05rem; }
.info__value a { color: inherit; }

/* ---- Forms --------------------------------------------------------------- */
.form { max-width: 560px; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.45rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--moss); outline: none; box-shadow: 0 0 0 3px rgba(47,93,73,0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.field--hp { position: absolute; left: -9999px; }
.seg { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.9rem; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 0.92rem; }
.seg:has(input:checked) { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); }
.seg input { accent-color: var(--moss); }

/* ---- Notices ------------------------------------------------------------- */
.notice { padding: 0.9rem 1.1rem; border-left: 3px solid; font-size: 0.96rem; margin-bottom: 1.25rem; }
.notice--ok { background: #e9f0ea; border-color: var(--moss); color: #1f3a2b; }
.notice--error { background: #f8e9e6; border-color: var(--flag); color: #7a2618; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--pine-deep); color: var(--sage); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk); margin-bottom: 1rem; font-weight: 500; }
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-nav { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__brand p { max-width: 36ch; font-size: 0.95rem; margin-top: 0.75rem; }
.site-footer__bar {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.04em;
}

/* ---- Cookie banner ------------------------------------------------------- */
.cookie {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1.25rem;
  max-width: 560px; margin-inline: auto;
  background: var(--ink); color: var(--chalk);
  border: 1px solid var(--moss);
  padding: 1.25rem 1.4rem;
  z-index: 100;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: 0.9rem; color: var(--chalk); }
.cookie p a { color: var(--sage); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.cookie .btn { font-size: 0.72rem; padding: 0.7em 1.1em; }

/* ---- Utilities ----------------------------------------------------------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.muted { color: var(--ink-soft); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.6rem 1rem; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--pine-deep); border-bottom: 1px solid var(--line-dark);
    padding: 0.75rem var(--gutter) 1.25rem;
  }
  .nav.is-open a { padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav__cta { margin: 0.75rem 0 0; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { display: none; }
  .split { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .band { grid-template-columns: 1fr; }
  .scorecard__row { grid-template-columns: 1fr; }
  .scorecard__prices { justify-content: flex-start; margin-top: 0.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .btn:hover { transform: none; }
  .hero__arc { display: none; }
}

/* ---- Inner page title band ---------------------------------------------- */
.page-hero {
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero .lede { margin-top: 1rem; }
.page-hero__arc { display: block; width: 120px; height: 26px; margin-bottom: 1.25rem; }

.page-hero--photo {
  background-size: cover;
  background-position: center;
  border-bottom: 0;
  color: var(--chalk);
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.page-hero--photo .eyebrow { color: var(--sage); }
.page-hero--photo h1 { color: var(--paper); }
.page-hero--photo .lede { color: rgba(244, 246, 249, 0.88); }
.page-hero--photo .page-hero__arc { display: none; }

/* ---- Legal / long-form prose -------------------------------------------- */
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
.legal h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1rem 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal__updated { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; }

/* ---- Print -------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cookie, .no-print, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 0.5rem; }
}

/* ---- Booking ------------------------------------------------------------ */
.bstep { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.bstep:last-child { border-bottom: 0; }
.bstep.is-disabled { opacity: 0.4; pointer-events: none; }
.bstep__h { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; margin-bottom: 1.25rem; }
.bstep__n { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; background: var(--pine); color: var(--chalk); font-family: var(--font-mono); font-size: 0.85rem; flex: none; }
.bstep__change { margin-left: auto; background: none; border: 0; color: var(--moss); font-size: 0.78rem; text-decoration: underline; cursor: pointer; font-family: var(--font-mono); letter-spacing: 0.04em; }
.mono { font-family: var(--font-mono); }

.lesson-pick { gap: 0.85rem; }
.lesson-card { text-align: left; width: 100%; font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--paper); transition: border-color 0.15s, box-shadow 0.15s; }
.lesson-card:hover { border-color: var(--moss); }
.lesson-card.is-selected { border-color: var(--pine); box-shadow: inset 0 0 0 2px var(--pine); }
.lesson-card__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 0.9rem; }
.lesson-card__pay { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--flag-deep); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.5rem; }
.slot { font: inherit; font-family: var(--font-mono); font-size: 0.85rem; padding: 0.55rem 0.4rem; border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-align: center; transition: border-color 0.12s, background 0.12s; }
.slot:hover { border-color: var(--moss); }
.slot.is-selected { background: var(--pine); color: var(--chalk); border-color: var(--pine); }

/* Booking calendar (Step 2 day picker) */
.cal { max-width: 430px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.7rem; margin-bottom: 0.8rem; border-bottom: 2px solid var(--ink); }
.cal__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 560; letter-spacing: -0.01em; }
.cal__nav { font: inherit; font-size: 1.35rem; line-height: 1; width: 2.15rem; height: 2.15rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: background 0.12s ease, color 0.12s ease; }
.cal__nav:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.cal__nav:disabled { opacity: 0.25; cursor: default; }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 5px; }
.cal__dow span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__day { font: inherit; font-family: var(--font-mono); font-size: 0.85rem; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-soft); background: transparent; color: rgba(26, 30, 27, 0.3); cursor: default; padding: 0; }
.cal__day--empty { border-color: transparent; }
.cal__day--on { color: var(--ink); background: var(--paper); border-color: var(--line); cursor: pointer; transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease; }
.cal__day--on:hover { background: var(--flag); border-color: var(--flag); color: #fff; }
.cal__day--today { box-shadow: inset 0 -3px 0 var(--sage); }
.cal__day--sel, .cal__day--sel:hover { background: var(--pine); border-color: var(--pine); color: var(--chalk); box-shadow: none; }
.cal__note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); margin-top: 0.9rem; }
.booking-times { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.booking-times__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.7rem; }

.voucher-row { display: flex; gap: 0.5rem; }
.voucher-row input { flex: 1; }
.booking-summary { background: var(--chalk); border: 1px solid var(--line); padding: 0.85rem 1.1rem; margin-bottom: 1.25rem; font-size: 0.95rem; }
.booking-summary strong { color: var(--pine); }
.charge-summary { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.charge-row { display: flex; justify-content: space-between; padding: 0.25rem 0; color: var(--ink-soft); }
.charge-row--total { color: var(--ink); font-weight: 600; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.6rem; }
.charge-row .mono { color: inherit; }

/* ---- Credentials strip -------------------------------------------------- */
.creds { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.creds__label { text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.25rem; }
.creds__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.creds__logos img { height: 46px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.2s, filter 0.2s; }
.creds__logos img:hover { opacity: 1; filter: none; }
.creds__logos .creds__pga { height: 60px; }

/* ---- Facilities trio ---------------------------------------------------- */
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.facilities figure { margin: 0; }
.facilities a { text-decoration: none; color: inherit; display: block; }
.facilities img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); display: block; transition: filter 0.2s; }
.facilities a:hover img { filter: brightness(1.06); }
.facilities figcaption { margin-top: 0.65rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 720px) { .facilities { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* ---- Voucher band media ------------------------------------------------- */
.band__media { justify-self: end; }
.band__media img { width: 100%; max-width: 280px; height: auto; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
@media (max-width: 720px) { .band__media { display: none; } }

/* ---- Footer logo -------------------------------------------------------- */
.site-footer__logo { height: 84px; width: auto; margin-bottom: 1rem; }

/* Click-to-load map cover (GDPR: no Google iframe until requested) */
.map-embed { position: relative; background: var(--pine-deep); overflow: hidden; }
.map-embed__cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; text-align: center; padding: 1.5rem; }
.map-embed__note { color: var(--sage); font-size: 0.82rem; max-width: 30ch; margin: 0; }
.map-embed__alt { color: var(--chalk); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; }
.map-embed iframe { display: block; }

/* =====================================================================
   HOMEPAGE, cinematic, photo-led (v2)
   ===================================================================== */

/* Transparent header over the hero, solid once scrolled (home only) */
body.has-hero .site-header { position: fixed; left: 0; right: 0; top: 0; background: linear-gradient(to bottom, rgba(6,20,47,0.62), rgba(6,20,47,0)); border-bottom-color: transparent; transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
body.has-hero .site-header.is-scrolled { background: var(--pine-deep); border-bottom-color: var(--line-dark); box-shadow: 0 2px 22px rgba(0,0,0,0.22); }

/* Hero */
.vhero { position: relative; height: clamp(560px, 82vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--pine-deep); }
.vhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.vhero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,47,0.88) 0%, rgba(6,20,47,0.5) 30%, rgba(6,20,47,0.1) 58%, rgba(6,20,47,0.4) 100%); }
.vhero__inner { position: relative; padding-top: 7rem; padding-bottom: clamp(3rem, 7vw, 6rem); color: #fff; }
.vhero__title { font-family: var(--font-display); font-weight: 480; font-size: clamp(2.9rem, 7.2vw, 6.3rem); line-height: 0.98; letter-spacing: -0.022em; color: #fff; margin: 0; text-shadow: 0 2px 40px rgba(0,0,0,0.28); }
.vhero__sub { margin: 1.5rem 0 0; max-width: 46ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; color: rgba(255,255,255,0.92); }
.vhero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Shared section heading */
.section-title { font-family: var(--font-display); font-weight: 520; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--pine); margin: 0 0 1.2rem; }
.section-title--light { color: #fff; }

/* Trust strip */
.trust { background: var(--chalk); border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.6rem; flex-wrap: wrap; }
.trust__line { color: var(--ink-soft); font-size: 0.98rem; max-width: 42ch; margin: 0; }
.trust__logos { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); flex-wrap: wrap; }
.trust__logos img { height: 42px; width: auto; opacity: 0.82; }

/* Meet John */
.meet { background: var(--paper); padding-block: clamp(4rem, 9vw, 7rem); }
.meet__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.meet__photo img { width: 100%; height: auto; display: block; }
.prose--lg p { font-size: 1.16rem; line-height: 1.66; color: var(--ink); }
.meet__body .lede { margin-top: 1rem; }
.meet__sign { margin-top: 1.8rem; border-left: 3px solid var(--flag); padding-left: 1rem; }
.meet__name { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--pine); font-weight: 520; }
.meet__role { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.1rem; }

/* Coaching full-bleed breather */
.coachband { position: relative; height: clamp(360px, 54vh, 560px); display: flex; align-items: center; overflow: hidden; background: var(--pine-deep); }
.coachband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.coachband__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,47,0.8) 0%, rgba(6,20,47,0.45) 48%, rgba(6,20,47,0.12) 100%); }
.coachband__inner { position: relative; }
.coachband__text { font-family: var(--font-display); font-weight: 460; font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.18; color: #fff; max-width: 22ch; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }

/* Lessons price list */
.lessons { background: var(--chalk); padding-block: clamp(4rem, 9vw, 7rem); }
.lessons__head { max-width: 60ch; margin-bottom: 2.4rem; }
.pricelist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 760px; }
.pricelist__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.pricelist__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--pine); font-weight: 500; }
.pricelist__meta { display: block; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.2rem; }
.pricelist__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); white-space: nowrap; font-weight: 500; }
.pricelist__from { font-family: var(--font-body); font-size: 0.8rem; color: var(--ink-soft); font-weight: 400; }
.lessons__cta { margin-top: 2.3rem; }

/* Venue photo grid */
.venue { background: var(--paper); padding-block: clamp(4rem, 9vw, 7rem); }
.venue__head { max-width: 62ch; margin-bottom: 2.4rem; }
.venue__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.venue__tile { position: relative; display: block; overflow: hidden; text-decoration: none; background: var(--pine-deep); aspect-ratio: 16 / 10; }
.venue__tile--wide { grid-row: span 2; }
.venue__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.venue__tile:hover img { transform: scale(1.04); }
.venue__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,20,47,0.62), transparent 55%); z-index: 1; }
.venue__cap { position: absolute; left: 1.1rem; bottom: 0.95rem; z-index: 2; color: #fff; font-weight: 600; font-size: 1rem; text-shadow: 0 1px 14px rgba(0,0,0,0.55); }

/* Gift band */
.gift { background: var(--pine); color: var(--chalk); padding-block: clamp(4rem, 9vw, 6.5rem); }
.gift__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.gift__copy p { color: var(--sage); font-size: 1.1rem; line-height: 1.6; max-width: 42ch; }
.gift__card img { width: 100%; max-width: 440px; height: auto; display: block; margin-left: auto; background: #fff; padding: clamp(0.9rem, 2.2vw, 1.5rem); box-shadow: 0 26px 55px rgba(0,0,0,0.34); }

/* Close */
.close { background: var(--pine-deep); color: #fff; padding-block: clamp(4.5rem, 10vw, 7.5rem); text-align: center; }
.close__inner { max-width: 640px; margin-inline: auto; }
.close__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; letter-spacing: -0.015em; margin: 0; }
.close__sub { margin: 1rem 0 0; color: rgba(255,255,255,0.8); font-size: 1.15rem; line-height: 1.5; }
.close__cta { margin-top: 2.2rem; justify-content: center; }

/* Single orchestrated motion: slow hero settle */
@media (prefers-reduced-motion: no-preference) {
  .vhero__img { animation: vheroKen 22s ease-out both; transform-origin: 50% 45%; }
}
@keyframes vheroKen { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .venue__tile:hover img { transform: none; }
}

@media (max-width: 860px) {
  .meet__grid, .gift__inner { grid-template-columns: 1fr; }
  .meet__photo { max-width: 360px; }
  .gift__card img { margin: 0 auto; }
  .venue__grid { grid-template-columns: 1fr; }
  .venue__tile--wide { grid-row: auto; }
  .trust__inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .vhero { height: 84vh; }
  .vhero__img { object-position: 58% 45%; }
}
@media (max-width: 480px) {
  .vhero__title { font-size: 2.55rem; }
  .close__cta { flex-direction: column; }
  .close__cta .btn { width: 100%; }
}

/* =====================================================================
   PAGE BUILDER BLOCKS
   ===================================================================== */
.blk { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.blk--light { background: var(--paper); }
.blk--cream { background: var(--chalk); }
.blk--navy { background: var(--pine); color: var(--chalk); }
.blk--navy .section-title, .blk--navy h2, .blk--navy h3 { color: #fff; }
.blk--navy .lede, .blk--navy .prose p, .blk--navy .prose li { color: var(--sage); }
.blk--navy .prose a { color: #fff; }
.blk--flush { padding: 0; }
/* Two light blocks in a row read as one section: tighten the join. */
.blk--light + .blk--light, .blk--cream + .blk--cream { padding-top: 0; }

.blk-head { max-width: 62ch; margin-bottom: 2.4rem; }
.blk-text--normal { max-width: 70ch; }
.blk-text--wide { max-width: none; }
.blk-text--center { margin-inline: auto; text-align: center; }
.blk-text--center .prose { margin-inline: auto; }

/* Rich text inside blocks */
.prose h2 { font-family: var(--font-display); font-weight: 520; font-size: clamp(1.45rem, 2.4vw, 1.85rem); color: var(--pine); margin: 2.2rem 0 0.7rem; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.3rem; color: var(--pine); margin: 1.8rem 0 0.5rem; }
.prose h4 { font-weight: 600; font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.25rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.45rem; line-height: 1.6; }
.prose--lg li { font-size: 1.08rem; color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--flag); padding-left: 1rem; margin: 1.4rem 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--pine); }
.prose a { color: var(--flag-deep); }
.blk--navy .prose h2, .blk--navy .prose h3 { color: #fff; }

/* Banner sizes (the homepage hero is the "large" one) */
.vhero--medium { height: clamp(380px, 54vh, 560px); }
.vhero--medium .vhero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.vhero--small { height: auto; min-height: 0; }
.vhero--small .vhero__inner { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.vhero--small .vhero__title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.vhero--plain { background: var(--pine); }
body.has-hero .vhero--medium .vhero__inner { padding-top: 6.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .vhero--medium .vhero__img, .vhero--small .vhero__img { animation: none; }
}

/* Photo and text, flipped */
.meet__grid--flip { grid-template-columns: 1.18fr 0.82fr; }
.meet__grid--flip .meet__photo { order: 2; }

/* Single photo */
.blk-image { margin: 0; }
.blk-image img { width: 100%; height: auto; display: block; }
.blk-image--full img { max-height: 78vh; object-fit: cover; }
.blk-image figcaption { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.7rem; }

/* Photo tiles: layouts by count */
.venue__grid--1 { grid-template-columns: 1fr; }
.venue__grid--2 { grid-template-columns: 1fr 1fr; }
.venue__grid--4 { grid-template-columns: 1fr 1fr; }
.venue__grid--5, .venue__grid--6 { grid-template-columns: repeat(3, 1fr); }
.venue__grid--1 .venue__tile { aspect-ratio: 21 / 9; }

/* Cards */
.blk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.blk-card { background: var(--paper); border-top: 3px solid var(--pine); padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; }
.blk--light .blk-card { background: var(--chalk); }
.blk--navy .blk-card { background: rgba(255,255,255,0.06); border-top-color: var(--flag); }
.blk-card h3 { font-family: var(--font-display); font-weight: 520; font-size: 1.35rem; color: var(--pine); margin: 0 0 0.6rem; }
.blk--navy .blk-card h3 { color: #fff; }
.blk-card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; margin: 0; }
.blk--navy .blk-card p { color: var(--sage); }
.blk-card--voucher { border-top-color: var(--flag); }
.blk-card__foot { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.blk-card__price { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); font-weight: 500; }
.blk-note { margin-top: 2rem; font-size: 0.98rem; }

/* Questions and answers */
.blk-faq { border-top: 1px solid var(--line); }
.blk-faq__item { border-bottom: 1px solid var(--line); }
.blk-faq__item summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--font-display); font-size: 1.2rem; color: var(--pine); font-weight: 500; }
.blk-faq__item summary::-webkit-details-marker { display: none; }
.blk-faq__item summary::after { content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.5rem; color: var(--flag); line-height: 1; }
.blk-faq__item[open] summary::after { content: '\2212'; }
.blk-faq__a { padding: 0 0 1.3rem; color: var(--ink-soft); line-height: 1.65; max-width: 64ch; }
.blk--navy .blk-faq, .blk--navy .blk-faq__item { border-color: var(--line-dark); }
.blk--navy .blk-faq__item summary { color: #fff; }
.blk--navy .blk-faq__a { color: var(--sage); }

/* Testimonial */
.blk-quote { margin: 0 auto; max-width: 40ch; text-align: center; }
.blk-quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 440; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: var(--pine); }
.blk-quote blockquote::before { content: '\201C'; display: block; font-size: 3.2em; line-height: 0.6; color: var(--flag); margin-bottom: 0.3rem; }
.blk-quote figcaption { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1rem; }
.blk--navy .blk-quote blockquote { color: #fff; }
.blk--navy .blk-quote figcaption { color: var(--sage); }

/* Lesson prices: groups and descriptions */
.pricelist__group { font-family: var(--font-display); font-weight: 520; font-size: 1.35rem; color: var(--pine); margin: 2.4rem 0 0.4rem; }
.pricelist__group:first-of-type { margin-top: 0; }
.pricelist + .pricelist__group { margin-top: 2.6rem; }
.pricelist__desc { display: block; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; margin-top: 0.45rem; max-width: 58ch; }

/* Feature band variants */
.gift__inner--solo { grid-template-columns: 1fr; }
.gift__card--bare img { background: none; padding: 0; box-shadow: none; }

/* Contact form */
.field__err { display: block; color: var(--flag-deep); margin-top: 0.35rem; font-size: 0.9rem; }
.form__privacy { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 1.1rem; }

/* Builder preview: show which block is under the pointer */
body.is-preview .blk-wrap { position: relative; }
body.is-preview .blk-wrap:hover { outline: 2px dashed rgba(194,70,50,0.7); outline-offset: -2px; cursor: pointer; }
body.is-preview .blk-wrap.is-active { outline: 3px solid var(--flag); outline-offset: -3px; }
body.is-preview .cookie { display: none !important; }

@media (max-width: 860px) {
  .meet__grid--flip { grid-template-columns: 1fr; }
  .meet__grid--flip .meet__photo { order: 0; }
  .venue__grid--2, .venue__grid--4, .venue__grid--5, .venue__grid--6 { grid-template-columns: 1fr; }
  .vhero--medium { height: 62vh; }
}

/* Even line breaks in headings (no single word left on its own line) */
.vhero__title, .section-title, .close__title, .coachband__text, .blk-quote blockquote, .prose h2, .prose h3 { text-wrap: balance; }
