/* Fonts served from this site (no request to Google, so visitors' IP addresses
   stay with the club). Archivo is one variable file covering weights 400 to 800.
   Licences: fonts/OFL-Archivo.txt, fonts/OFL-ArchivoBlack.txt (SIL Open Font Licence). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/archivo-black-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/archivo-black-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* The Goalie Club, brand UI pulled from the club's own identity:
   forest green ground, kelly green accent, orange CTA, big bold type. */
:root {
  --forest: #0A3A16;
  --forest-2: #0E4A1E;
  --forest-3: #072E11;
  --forest-4: #135A26;
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.28);
  --kelly: #22C63E;
  --kelly-2: #3FE05B;
  --kelly-deep: #178F2C;
  --orange: #F26A21;
  --orange-2: #FF8038;
  /* Deeper orange for anything carrying white text: 4.7:1, passes WCAG AA. The
     bright orange stays for orange text, lines and dots on the dark green. */
  --orange-deep: #C64D0C;
  --orange-deep-2: #A8410A;
  --white: #FFFFFF;
  --mint: #C2E7CA;
  --mint-2: #8FC49B;
  --danger: #FF6B5B;
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* short pages: push the footer down so no page-bg seam shows below it */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--kelly); color: var(--forest); }

a { color: var(--kelly); text-decoration: none; }
a:hover { color: var(--kelly-2); }

img, svg { max-width: 100%; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 900px; margin: 0 auto; padding: 0 28px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
  color: var(--white);
}

/* the big one: edge to edge, like the club's own hero */
.mega {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.82;
  font-size: clamp(3rem, 12vw, 11rem);
  color: var(--kelly);
}

h1.display { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2.display { font-size: clamp(2.2rem, 5.5vw, 4rem); margin-bottom: 20px; }
h3.display, h2.display.as-h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
h2.display.as-h3 { margin-bottom: 0; }
h2.display.as-h3.mb-2 { margin-bottom: 16px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--kelly);
  margin-bottom: 16px;
}

.lede { color: var(--mint); max-width: 48ch; font-size: 1.12rem; }

.kelly { color: var(--kelly); }
.orange { color: var(--orange); }
.muted { color: var(--mint-2); }
.small { font-size: 0.86rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--forest);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
/* stacked wordmark, mirrors the club logo lockup */
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.wordmark:hover { color: var(--white); }
.wordmark .logo { height: 74px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-links a:hover, .nav-links a.active { color: var(--kelly); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-deep); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep-2); color: var(--white); transform: translateY(-2px); }
.btn-kelly { background: var(--kelly); color: var(--forest); }
.btn-kelly:hover { background: var(--kelly-2); color: var(--forest); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--kelly); color: var(--kelly); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.86rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }

/* photo hero: real club photography behind the mega type */
.hero-photo .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 22%;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--forest) 0%, rgba(10, 58, 22, 0.94) 34%, rgba(10, 58, 22, 0.55) 62%, rgba(10, 58, 22, 0.3) 100%),
    linear-gradient(to top, var(--forest) 2%, rgba(10, 58, 22, 0) 42%);
}
.hero-photo .hero-inner, .hero-photo .hero-mega { position: relative; z-index: 2; }
.hero-inner {
  position: relative;
  padding-top: 76px;
  padding-bottom: 40px;
  z-index: 1;
}
/* full bleed, like the club's own hero lockup */
.hero-mega { padding: 0 14px 60px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* pitch-net texture panel behind the mega type */
.net-band {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px),
    var(--forest-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  overflow: hidden;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.rise-2 { animation-delay: 0.1s; }
.rise-3 { animation-delay: 0.2s; }
.rise-4 { animation-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-2, .rise-3, .rise-4 { animation: none; }
  .ticker-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--kelly);
  color: var(--forest);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.ticker-track { display: inline-block; animation: ticker 30s linear infinite; }
.ticker a, .ticker span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.ticker a { text-decoration: none; }
.ticker a:hover { color: var(--white); }
.ticker span.dot { color: rgba(10, 58, 22, 0.4); margin: 0 30px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--forest-3); }
.section-kelly { background: var(--kelly); color: var(--forest); }
.section-kelly .display, .section-kelly h2 { color: var(--forest); }
.section-kelly .eyebrow { color: var(--forest); opacity: 0.7; }
.section-kelly .lede { color: rgba(10, 58, 22, 0.82); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.step { border-top: 4px solid var(--kelly); padding-top: 20px; }
.step-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--kelly);
  margin-bottom: 10px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step p { color: var(--mint); font-size: 1rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 52px; }
.card {
  background: var(--forest-2);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, background 0.2s ease;
}
/* keep the CTA on the baseline whatever the card content height */
.card .btn { align-self: flex-start; margin-top: auto; }
.card .price-line:last-of-type { margin-bottom: 22px; }
.card:hover { transform: translateY(-5px); background: var(--forest-4); }
.card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--kelly);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; }
.tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  /* Explicit, because a <button> would otherwise inherit the browser's own
     light background and leave pale text on near white. */
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 4px 11px;
}
/* Clickable tags (the demo logins) read as buttons and hold their contrast. */
button.tag {
  background: var(--forest-3);
  color: var(--white);
  border-color: var(--line-2);
  padding: 8px 16px;
  font-size: 0.82rem;
  cursor: pointer;
}
button.tag:hover, button.tag:focus-visible {
  background: var(--kelly);
  border-color: var(--kelly);
  color: var(--forest);
}
button.tag:focus-visible { outline: 3px solid var(--kelly-2); outline-offset: 2px; }
.price-line { color: var(--mint); font-size: 0.98rem; margin-bottom: 18px; }
.price-line strong { color: var(--white); font-weight: 700; }

.price-big {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--kelly);
}

/* ---------- slots ---------- */
.day-group { margin-bottom: 30px; }
.day-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.day-label::after { content: ''; flex: 1; height: 2px; background: var(--line); }
.slot-row { display: flex; flex-wrap: wrap; gap: 10px; }
.slot {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 100px;
  border: 2px solid var(--kelly);
  background: transparent;
  color: var(--kelly);
  cursor: pointer;
  transition: all 0.15s ease;
}
.slot:hover { background: var(--kelly); color: var(--forest); transform: translateY(-2px); }
.slot.booked {
  color: var(--mint-2);
  border-color: var(--line);
  text-decoration: line-through;
  cursor: not-allowed;
}
.slot.booked:hover { background: transparent; color: var(--mint-2); transform: none; }
.slot.selected { background: var(--orange-deep); color: var(--white); border-color: var(--orange-deep); }

/* ---------- forms ---------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  background: var(--forest-3);
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--kelly);
}
textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
  display: none;
  background: rgba(255, 107, 91, 0.12);
  border: 2px solid rgba(255, 107, 91, 0.5);
  color: #FFB3AB;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 20px;
  font-size: 0.96rem;
  font-weight: 600;
}
.form-error.show { display: block; }

.badge-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  border: 2px dashed var(--orange);
  border-radius: 100px;
  padding: 7px 15px;
}

.panel {
  background: var(--forest-2);
  border-radius: 18px;
  padding: 32px;
}

.radio-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.radio-pill {
  flex: 1;
  min-width: 165px;
  border: 2px solid var(--line-2);
  border-radius: 100px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--mint);
  text-align: center;
  transition: all 0.15s ease;
}
/* The real radio or checkbox sits inside the pill, hidden from sight but not
   from the keyboard or a screen reader. The pill shows its state and focus. */
.radio-pill { position: relative; }
.radio-pill input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0;
}
.radio-pill.checked, .radio-pill:has(input:checked) { border-color: var(--kelly); color: var(--forest); background: var(--kelly); }
.radio-pill:has(input:focus-visible) { outline: 3px solid var(--kelly-2); outline-offset: 3px; }

/* ---------- tables (portal/admin) ---------- */
.table-wrap { overflow-x: auto; }
table.gc { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.gc th {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kelly);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--line-2);
}
table.gc td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.gc tr:hover td { background: rgba(255, 255, 255, 0.03); }

.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 11px;
}
.pill-kelly { color: var(--forest); background: var(--kelly); }
.pill-orange { color: var(--white); background: var(--orange-deep); }
.pill-ghost { color: var(--mint); border: 1px solid var(--line-2); }
.pill-red { color: #FFB3AB; border: 1px solid rgba(255, 107, 91, 0.5); }

/* ---------- footer ---------- */
footer {
  background: var(--forest-3);
  margin-top: auto;
  padding: 80px 0 44px;
  overflow: hidden;
}
.footer-mega {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9.5vw, 8.5rem);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.035em;
  color: var(--kelly);
  margin-bottom: 44px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-end; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--white); font-size: 0.92rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links a:hover { color: var(--kelly); }
.disclaimer { color: var(--mint-2); font-size: 0.82rem; max-width: 56ch; margin-top: 22px; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; } .mb-4 { margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hidden { display: none !important; }

.empty {
  border: 2px dashed var(--line-2);
  border-radius: 18px;
  padding: 38px;
  text-align: center;
  color: var(--mint-2);
}

.confirm-tick {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--kelly);
  color: var(--forest);
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 36px; padding-bottom: 24px; }
  .section { padding: 64px 0; }
  .net-band { padding: 56px 0; }
  .field-row { grid-template-columns: 1fr; }
  .wrap, .wrap-tight { padding-left: 20px; padding-right: 20px; }
  .hero-mega { padding-left: 10px; padding-right: 10px; padding-bottom: 44px; }
  .panel { padding: 24px; }

  /* keep the type loud but stop the nav eating the fold */
  .mega { font-size: 15vw; }
  .footer-mega { font-size: 14vw; }
  .nav-inner { padding: 12px 20px; gap: 12px; }
  .nav-links { gap: 16px; width: 100%; }
  .nav-links a { font-size: 0.84rem; letter-spacing: 0.08em; }
  /* the hero CTA is right below, so drop the duplicate nav button */
  .nav-links a.btn { display: none; }
  .wordmark .logo { height: 52px; }
  .eyebrow { letter-spacing: 0.16em; font-size: 0.78rem; }
  .lede { font-size: 1.05rem !important; }
  .hero-ctas .btn { padding: 14px 24px; }
}

/* ---------- dashboards ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { background: var(--forest-2); border-radius: 14px; padding: 18px 20px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem; line-height: 1; letter-spacing: -0.03em; color: var(--kelly);
}
.stat-label {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mint); margin-top: 8px;
}
.stat.stat-orange .stat-num { color: var(--orange); }

.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}

.row-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.row-card:last-child { border-bottom: 0; }
.row-title { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: -0.01em; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* the coach's next session, made unmissable on a phone */
.next-up {
  background: var(--kelly); color: var(--forest);
  border-radius: 18px; padding: 24px; margin-bottom: 20px;
}
.next-up .stat-label { color: rgba(10,58,22,0.7); }
.next-up .row-title { font-size: 1.8rem; }
.next-up .small { color: rgba(10,58,22,0.85); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab {
  font-weight: 800; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; border: 2px solid var(--line-2);
  background: transparent; color: var(--mint); cursor: pointer;
}
.tab.on { background: var(--kelly); border-color: var(--kelly); color: var(--forest); }

.log-line {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.log-line:last-child { border-bottom: 0; }
.log-when { color: var(--mint-2); font-variant-numeric: tabular-nums; }
.log-action { font-weight: 700; color: var(--kelly); }
.log-meta { color: var(--mint); font-size: 0.84rem; }

.mode-banner {
  background: var(--orange-deep); color: var(--white);
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center; padding: 8px 16px;
}

@media (max-width: 880px) {
  .log-line { grid-template-columns: 1fr; gap: 2px; }
  .row-card { align-items: flex-start; }
  .stat-num { font-size: 2rem; }
}

/* Headline that fills the full page width exactly, whatever the screen.
   SVG textLength does the fitting, so there is no font-size guesswork. */
.mega-fit { display: block; width: 100%; }
.mega-fit svg { display: block; width: 100%; height: auto; max-height: min(22vh, 150px); overflow: visible; }
.mega-fit text {
  font-family: var(--font-display);
  font-size: 130px;
  fill: var(--kelly);
  text-transform: uppercase;
}

.avatar-photo { object-fit: cover; padding: 0; }

/* ---------- full width photography bands ---------- */
.photo-band {
  position: relative;
  min-height: clamp(420px, 62vh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.photo-band-short { min-height: clamp(320px, 46vh, 520px); }
.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Enough green over the photo to keep the type readable at any crop. */
.photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--forest) 3%, rgba(10, 58, 22, 0.7) 30%, rgba(10, 58, 22, 0.12) 72%),
    linear-gradient(to right, rgba(10, 58, 22, 0.62) 0%, rgba(10, 58, 22, 0.06) 58%);
}
.photo-band-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 56px;
}
.photo-band .lede { color: var(--white); max-width: 44ch; }

@media (max-width: 880px) {
  .photo-band { min-height: 380px; }
  .photo-band-short { min-height: 300px; }
  .photo-band-inner { padding: 0 20px 40px; }
}

/* ---------- tutorial library ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.video-card {
  background: var(--forest-2);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-card:hover, .video-card:focus-visible { transform: translateY(-5px); background: var(--forest-4); }
.video-card:focus-visible { outline: 3px solid var(--kelly); outline-offset: 3px; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--kelly);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  padding-left: 4px;
}
.video-card:hover .video-play { background: var(--kelly-2); }
.video-mins {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(10, 58, 22, 0.88); color: var(--white);
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 100px;
}
.video-body { padding: 20px 22px 24px; }

/* click through affordance on the linked photo band */
a.photo-band { display: flex; text-decoration: none; }
a.photo-band .display, a.photo-band .lede { color: var(--white); }
a.photo-band:hover img { transform: scale(1.03); }
.photo-band img { transition: transform 0.5s ease; }
.band-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--kelly); margin-top: 18px;
}
a.photo-band:hover .band-cta { color: var(--kelly-2); }

/* placeholder player */
.player-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 22, 9, 0.9);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.player-box {
  background: var(--forest-2); border-radius: 18px; overflow: hidden;
  max-width: 900px; width: 100%; max-height: 92vh; overflow-y: auto; position: relative;
}
.player-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(10, 58, 22, 0.85); color: var(--white);
  border: 2px solid var(--line-2); cursor: pointer; font-size: 1rem;
}
.player-close:hover { border-color: var(--kelly); color: var(--kelly); }
.player-stage {
  aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.player-stage::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,58,22,0.94), rgba(10,58,22,0.55));
}
.player-note { position: relative; text-align: center; padding: 24px; }
.player-meta { padding: 22px 26px 26px; }

@media (max-width: 880px) {
  .video-grid { grid-template-columns: 1fr; }
  .player-overlay { padding: 12px; }
}


/* ---------- centred hero: type over photo, buttons beneath ---------- */
.hero-centre {
  min-height: clamp(560px, 82vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* An even scrim, because the type sits over the middle of the photo now
   rather than tucked into a dark corner. */
.hero-centre::after {
  background:
    /* A soft pool of shade only where the headline sits, so the type keeps its
       contrast while the rest of the photograph stays clear. */
    radial-gradient(ellipse 78% 40% at 50% 52%, rgba(6, 34, 13, 0.66) 0%, rgba(6, 34, 13, 0.3) 58%, rgba(6, 34, 13, 0) 100%),
    linear-gradient(to bottom, rgba(10, 58, 22, 0.42) 0%, rgba(10, 58, 22, 0.16) 42%, rgba(10, 58, 22, 0.6) 100%),
    linear-gradient(to top, var(--forest) 1%, rgba(10, 58, 22, 0) 18%);
}
.hero-centre-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 14px 0;
}
.hero-centre .hero-ctas { justify-content: center; margin-top: 34px; }


@media (max-width: 880px) {
  .hero-centre { min-height: 74vh; }
  .hero-centre-inner { padding: 24px 10px 0; }
  .hero-centre .hero-ctas { margin-top: 26px; gap: 10px; }
}

/* ---------- Level 2: edit the site on the site (admin only) ---------- */
.gc-edit-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--white); color: var(--forest);
  font: 800 0.9rem/1 'Archivo', sans-serif; letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.gc-edit-toggle:hover { transform: translateY(-1px); }
.gc-edit-toggle.on { background: var(--orange-deep); color: var(--white); }
.gc-edit-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--kelly); }
.gc-edit-toggle.on .gc-edit-dot { background: var(--white); animation: gc-pulse 1.4s infinite; }
@keyframes gc-pulse { 50% { opacity: 0.35; } }

.gc-edit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 890;
  transform: translateY(110%); transition: transform 0.25s ease;
  background: var(--white); color: var(--forest);
  border-top: 4px solid var(--orange);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.35);
}
body.gc-editing .gc-edit-bar { transform: none; }
body.gc-editing { padding-bottom: 80px; }
.gc-edit-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 110px 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.gc-edit-hint { font-size: 0.92rem; }
.gc-edit-actions { display: flex; gap: 8px; }
.gc-edit-btn {
  border: 2px solid var(--forest); background: transparent; color: var(--forest);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: 800 0.85rem/1 'Archivo', sans-serif;
}
.gc-edit-btn:disabled { opacity: 0.4; cursor: default; }
.gc-edit-save { background: var(--forest); color: var(--white); }
.gc-edit-save:not(:disabled) { background: var(--orange-deep); border-color: var(--orange-deep); }
.gc-edit-restore { border-color: transparent; text-decoration: underline; }

body.gc-editing .gc-editable { outline: 2px dashed rgba(255,255,255,0.45); outline-offset: 4px; border-radius: 3px; cursor: text; white-space: pre-line; }
body.gc-editing .section-kelly .gc-editable,
body.gc-editing .gc-edit-light .gc-editable { outline-color: rgba(10,58,22,0.45); }
body.gc-editing .gc-editable:hover { outline-color: var(--kelly-2); }
body.gc-editing .gc-editable:focus { outline: 3px solid var(--orange); background: rgba(0,0,0,0.18); }
body.gc-editing svg .gc-editable { cursor: pointer; outline: none; }
body.gc-editing .mega-fit:hover svg text { fill: var(--kelly-2); }

body.gc-editing .gc-editable-img { cursor: pointer; }
body.gc-editing .gc-editable-img:hover { outline: 4px solid var(--kelly-2); outline-offset: -4px; filter: brightness(0.85); }
body.gc-editing .gc-uploading { filter: brightness(0.5) grayscale(0.6); animation: gc-pulse 1s infinite; }
.gc-img-tip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  pointer-events: none; z-index: 5; display: none;
  padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--forest);
  font: 800 0.8rem/1 'Archivo', sans-serif;
}
body.gc-editing .gc-img-tip { display: block; }

.gc-edit-toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 950;
  opacity: 0; pointer-events: none; transition: all 0.25s ease;
  padding: 12px 20px; border-radius: 999px; background: var(--forest-3); color: var(--white);
  border: 2px solid var(--kelly); font-weight: 700; font-size: 0.9rem;
}
.gc-edit-toast.show { opacity: 1; transform: translate(-50%, 0); }
.gc-edit-toast.good { border-color: var(--kelly-2); }
.gc-edit-toast.bad { border-color: var(--orange); }

/* Controls that only exist while editing */
.gc-edit-only { display: none; }
body.gc-editing .gc-edit-only { display: revert; }
body.gc-editing .gc-hide-editing { display: none !important; }

/* Tutorials: live player and the edit-mode tools on each card */
.player-stage.player-live { aspect-ratio: 16 / 9; background: #000; }
.player-stage.player-live::before { display: none; }
.player-stage.player-live iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-thumb { position: relative; }
.tut-tools { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.15); }
.tut-tools label { display: block; color: var(--mint); }
.tut-tools input { width: 100%; margin-top: 6px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.25); color: var(--white); font: inherit; font-size: 0.85rem; }
.tut-cat { background: var(--forest-3); color: var(--kelly); border: 1px solid var(--kelly); border-radius: 6px; padding: 4px 8px; font: inherit; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tut-add { border: 2px dashed var(--kelly-2) !important; background: transparent; cursor: pointer; color: var(--white); font: inherit; align-items: center; justify-content: center; }
.tut-add:hover { background: rgba(34,198,62,0.12); }
body.gc-editing .video-card { cursor: default; }

/* In edit mode the scrims and text layers over a photo must not swallow the
   click meant for the photo itself. The words stay clickable. */
body.gc-editing .hero-photo::after, body.gc-editing .photo-band::after { pointer-events: none; }
body.gc-editing .photo-band-inner, body.gc-editing .hero-centre-inner { pointer-events: none; }
body.gc-editing .photo-band-inner .gc-editable, body.gc-editing .hero-centre-inner .gc-editable,
body.gc-editing .hero-centre-inner svg, body.gc-editing .photo-band-inner a { pointer-events: auto; }
.gc-photo-tag {
  position: absolute; top: 18px; left: 18px; z-index: 6; display: none; pointer-events: none;
  padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--forest);
  font: 800 0.8rem/1 'Archivo', sans-serif; box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
body.gc-editing .gc-photo-tag { display: block; }

/* The Level 2 entry point in admin. Deliberately not pill shaped: two rows of
   pills stacked above each other read as one tab bar and hide the real tabs. */
.site-edit { border: 2px dashed var(--kelly); background: transparent; }
.site-edit-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-edit-links a {
  color: var(--kelly-2); font-weight: 800; font-size: 1.02rem;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
}
.site-edit-links a:hover { color: var(--white); }
.site-edit-links a::after { content: ' ›'; text-decoration: none; }

/* ======================= v2 ======================= */

/* Where a session happens. The pitch note stands out on purpose: it is the
   line that stops a keeper setting up on the wrong pitch. */
.place { color: var(--white); font-weight: 600; }
.place a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--kelly); }
.place a.eircode { font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
.pitch-note {
  display: inline-block; margin-top: 6px; padding: 5px 10px 5px 26px; position: relative;
  background: rgba(242,106,33,0.14); border: 1px solid rgba(242,106,33,0.5); border-radius: 8px;
  color: #FFD3BA; font-size: 0.88rem; font-weight: 600;
}
.pitch-note::before {
  content: ''; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--orange);
}
.section-kelly .place, .section-kelly .place a { color: var(--forest); }

/* Coach faces, overlapping, for clinics with several coaches. */
.faces { display: flex; align-items: center; margin: 4px 0 14px; }
.faces .face {
  width: 38px; height: 38px; border-radius: 50%; margin-right: -10px; object-fit: cover;
  border: 3px solid var(--forest-2); background: var(--kelly); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.8rem;
}
.faces .face-names { margin-left: 20px; font-size: 0.88rem; color: var(--mint); font-weight: 600; }

/* ---------- the clinic page ---------- */
.clinic-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 30px; }
.clinic-fact { background: var(--forest-2); border-radius: 16px; padding: 18px 20px; }
.clinic-fact .eyebrow { margin-bottom: 6px; }
.clinic-fact strong { font-size: 1.15rem; color: var(--white); display: block; }
.clinic-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 880px) { .clinic-body { grid-template-columns: 1fr; } }
.clinic-copy p { font-size: 1.12rem; line-height: 1.65; color: var(--mint); margin: 0 0 16px; max-width: 60ch; }
.clinic-copy .to-come { font-style: italic; color: var(--mint-2); }
.book-box { background: var(--forest-2); border-radius: 18px; padding: 26px; position: sticky; top: 100px; }
.book-box .price-big { margin: 4px 0 6px; }
.clinic-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.clinic-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.coach-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.coach-strip .card { padding: 22px; }
.coach-strip .avatar { width: 72px; height: 72px; }
.coach-strip p { color: var(--mint); font-size: 0.95rem; margin: 6px 0 0; }

/* ---------- home page banners ---------- */
.promo-band { position: relative; background: var(--forest-3); border-bottom: 1px solid var(--line); overflow: hidden; }
.promo-band .wrap {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center;
  padding-top: 56px; padding-bottom: 56px;
}
@media (max-width: 880px) { .promo-band .wrap { grid-template-columns: 1fr; gap: 24px; } }
.promo-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 0 0 12px; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mint); font-weight: 600; margin: 0 0 18px; }
.promo-meta strong { color: var(--white); }
.promo-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.promo-side .places {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 0.9; color: var(--kelly);
}
.promo-side .places small { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-top: 8px; }
.promo-gift { background: var(--orange); color: var(--white); border: 0; }
.promo-gift .eyebrow { color: var(--forest); opacity: 0.8; }
.promo-gift h2 { color: var(--white); }
.promo-gift .lede { color: rgba(255,255,255,0.92); }
.promo-gift .btn-primary { background: var(--forest); }
.promo-gift .btn-primary:hover { background: var(--forest-4); }
.promo-gift .gift-card {
  justify-self: end; width: min(100%, 360px); aspect-ratio: 1.6; border-radius: 20px; padding: 24px;
  background: var(--forest); display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 24px 50px rgba(0,0,0,0.25); transform: rotate(-3deg);
}
.promo-gift .gift-card .code { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.08em; color: var(--white); }
.promo-gift .gift-card .val { font-family: var(--font-display); font-size: 2.6rem; color: var(--kelly); line-height: 1; }
@media (max-width: 880px) { .promo-gift .gift-card { justify-self: start; transform: none; } }

/* ---------- membership ---------- */
.member-offer {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px;
  background: var(--kelly); color: var(--forest); border-radius: 24px; padding: clamp(26px, 5vw, 48px);
}
@media (max-width: 880px) { .member-offer { grid-template-columns: 1fr; } }
.member-offer .eyebrow { color: var(--forest); opacity: 0.75; }
.member-offer h2 { color: var(--forest); font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 18px; }
.member-offer ul { list-style: none; padding: 0; margin: 0; }
.member-offer li {
  position: relative; padding: 12px 0 12px 34px; border-top: 1px solid rgba(10,58,22,0.2);
  font-weight: 700; font-size: 1.05rem;
}
.member-offer li::before {
  content: ''; position: absolute; left: 2px; top: 17px; width: 16px; height: 9px;
  border-left: 3px solid var(--forest); border-bottom: 3px solid var(--forest); transform: rotate(-45deg);
}
.member-price { background: var(--forest); color: var(--white); border-radius: 18px; padding: 26px; align-self: start; }
.member-price .price-big { color: var(--white); margin: 6px 0; }
.member-price .per { color: var(--mint); font-weight: 700; }
.member-price .trial { display: inline-block; background: var(--orange-deep); color: var(--white); border-radius: 999px;
  padding: 6px 14px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.member-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; background: var(--forest-2);
  border: 2px solid var(--kelly); border-radius: 16px; padding: 16px 20px; }
.member-status .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--kelly); }
.video-card.locked { cursor: default; }
.video-card.locked .video-thumb img { filter: grayscale(0.4) brightness(0.55); }
.video-lock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(10,58,22,0.85); border: 1px solid var(--line-2);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
}
.video-lock::before {
  content: ''; width: 10px; height: 8px; border: 2px solid var(--kelly); border-radius: 2px; position: relative; top: 2px;
  box-shadow: 0 -5px 0 -2px var(--forest), 0 -5px 0 0 var(--kelly);
}
.free-player { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; position: relative; }
.free-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.free-player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.free-player .soon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: linear-gradient(to top, rgba(10,58,22,0.94), rgba(10,58,22,0.5));
}

/* ---------- coach portal and account ---------- */
.loc-box { background: var(--forest-3); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 22px; }
.loc-box.missing { border: 2px dashed var(--orange); }
.loc-override summary { cursor: pointer; font-weight: 700; color: var(--kelly); margin: 6px 0 10px; }
.cal-box { background: var(--forest-2); border-radius: 16px; padding: 20px 22px; }
.cal-box .copy-row { display: flex; gap: 8px; margin: 10px 0; }
.cal-box .copy-row input { font-size: 0.82rem; }
.clinic-mark { display: inline-block; background: var(--kelly); color: var(--forest); border-radius: 6px;
  padding: 2px 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 8px; }

/* ---------- admin ---------- */
.coach-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.coach-picks label.radio-pill { cursor: pointer; }
.image-picks { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.image-picks .thumb { position: relative; width: 108px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--forest-3); }
.image-picks .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-picks .thumb button {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,0.7); color: var(--white); font-weight: 800; line-height: 1;
}
.mail-status { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--forest-3); color: var(--mint); }
.mail-status.sent { background: var(--kelly); color: var(--forest); }
.mail-status.failed { background: #7a1d12; color: #ffd9d3; }
.mail-view { position: fixed; inset: 0; z-index: 800; background: rgba(4,20,8,0.82); display: flex; align-items: center;
  justify-content: center; padding: 20px; }
.mail-view .mail-box { background: var(--forest-2); border-radius: 18px; width: min(760px, 100%); height: min(88vh, 900px);
  display: flex; flex-direction: column; overflow: hidden; }
.mail-view .mail-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.mail-view iframe { flex: 1; width: 100%; border: 0; background: #F4F7F3; }

[hidden] { display: none !important; }

.promo-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--forest-2); }
.promo-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,46,17,0.92) 0%, rgba(7,46,17,0.25) 45%, transparent 70%); }
.promo-photo .places { position: absolute; left: 22px; bottom: 18px; z-index: 2;
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.9; color: var(--kelly); }
.promo-photo .places small { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-top: 8px; }
body.gc-editing .promo-photo::after { pointer-events: none; }


/* Coach page: the coach's photo beside their name and bio. */
.coach-hero.has-photo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr); gap: 44px; align-items: center; }
.coach-hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
@media (max-width: 860px) {
  .coach-hero.has-photo { grid-template-columns: 1fr; gap: 24px; }
  .coach-hero-photo { max-width: 320px; order: -1; }
}

/* Words the club has not written yet. */
.to-come { font-style: italic; color: var(--mint-2) !important; }

/* About us */
.about-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 40px; padding: 44px 0;
  border-top: 1px solid var(--line); }
.about-block:first-child { border-top: 0; }
.about-block h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }
.about-block .body { font-size: 1.14rem; line-height: 1.7; color: var(--mint); max-width: 62ch; margin: 0; }
@media (max-width: 860px) { .about-block { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; } }
.about-person { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 44px; align-items: start;
  background: var(--forest-2); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.about-person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; display: block; }
.about-person h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 6px; }
.about-person .body { font-size: 1.1rem; line-height: 1.7; color: var(--mint); margin: 18px 0 0; }
@media (max-width: 860px) { .about-person { grid-template-columns: 1fr; } .about-person img { max-width: 340px; } }

/* ======================= round 4: audit fixes ======================= */

/* Keyboard users: visible focus everywhere, and a way past the menu. */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--kelly-2); outline-offset: 3px;
}
main:focus { outline: none; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--white); color: var(--forest); padding: 12px 18px; border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Links inside sentences are underlined, not just coloured. */
p a:not(.btn):not(.eircode), .small a:not(.btn):not(.eircode), .lede a:not(.btn) {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}

/* The header is drawn by script; its space is held so the page does not jump. */
[data-nav] { display: block; min-height: 107px; }
.ticker { min-height: 58px; }
.reserve-coach { min-height: 560px; }
.reserve-clinic { min-height: 380px; }

/* ---------- header and phone menu ---------- */
.nav-quick { display: none; align-items: center; gap: 10px; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--white);
  font: 800 0.84rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
header.nav.open .nav-toggle-bars { background: transparent; }
header.nav.open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
header.nav.open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-inner { flex-wrap: nowrap; position: relative; }
  .nav-quick { display: flex; }
  .nav-quick .nav-book { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; width: auto;
    background: var(--forest); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: 0 24px 40px rgba(0,0,0,0.35);
    max-height: calc(100dvh - 90px); overflow-y: auto;
  }
  header.nav.open .nav-links { display: flex; }
  .nav-links a {
    display: flex; align-items: center; min-height: 52px; font-size: 0.95rem;
    border-top: 1px solid var(--line);
  }
  .nav-links a:first-child { border-top: 0; }
  .nav-links a.btn, .nav-links button.btn {
    display: inline-flex !important; justify-content: center; margin-top: 14px; min-height: 48px; border-top: 0;
  }
}
@media (max-width: 880px) {
  [data-nav] { min-height: 77px; }
  .nav-links { width: auto; }
}

/* Touch screens: every control is at least 44 pixels tall. */
@media (pointer: coarse) {
  .tab, .btn-sm, .slot, button.tag, .radio-pill { min-height: 44px; }
  .tab, .btn-sm { display: inline-flex; align-items: center; justify-content: center; }
}

/* The footer is injected with the nav. Keeping main at least a screen tall stops
   it flashing into view and then jumping down when page content arrives. */
main#main { min-height: 100vh; min-height: 100dvh; }
main#main:focus { outline: none; }

/* ---------- home tagline and about us ---------- */
.hero-tagline {
  color: var(--white); font-weight: 800; font-size: clamp(1.35rem, 2.9vw, 2.05rem); line-height: 1.35;
  letter-spacing: -0.01em; max-width: 30ch; margin: 22px auto 6px; text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
@media (max-width: 600px) { .hero-tagline { max-width: 24ch; } }
.home-about { background: var(--forest-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
@media (max-width: 880px) { .home-about-grid { grid-template-columns: 1fr; gap: 28px; } }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line);
  font-weight: 700; font-size: 1.05rem; color: var(--white);
}
.tick-list li::before {
  content: ''; position: absolute; left: 2px; top: 19px; width: 16px; height: 9px;
  border-left: 3px solid var(--kelly); border-bottom: 3px solid var(--kelly); transform: rotate(-45deg);
}

/* The standard coach line: club, caps and honours, one sentence under the name. */
.coach-creds { color: var(--kelly); font-weight: 700; font-size: 0.98rem; line-height: 1.45; margin: 0 0 10px; }
.coach-hero .coach-creds { font-size: 1.1rem; margin: 10px 0 0; max-width: 34ch; }

/* ---------- home: join the club band ---------- */
.join-band { background: var(--kelly); color: var(--forest); }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center;
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 880px) { .join-grid { grid-template-columns: 1fr; gap: 32px; } }
.join-band .eyebrow { color: var(--forest); opacity: 0.8; }
.join-band h2 { color: var(--forest); margin-bottom: 18px; }
.tick-list-dark li { color: var(--forest); border-top-color: rgba(10,58,22,0.2); }
.tick-list-dark li::before { border-color: var(--forest); }
.join-price { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.join-price p { margin: 0; font-weight: 800; font-size: 1.15rem; }
.join-free { display: inline-block; background: var(--forest); color: var(--white); border-radius: 999px; padding: 6px 14px;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 6px; vertical-align: middle; }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: var(--forest-2); color: var(--white); }
.join-drill-label { margin-bottom: 12px; }

/* ---------- about: the coaches ---------- */
.coach-bios { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 28px; }
.coach-bio { display: flex; flex-direction: column; background: var(--forest-2); border-radius: 20px; overflow: hidden;
  color: inherit; text-decoration: none; transition: transform .2s ease; }
.coach-bio:hover { transform: translateY(-3px); }
.coach-bio img, .coach-bio-initials { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.coach-bio-initials { display: flex; align-items: center; justify-content: center; background: var(--forest-3);
  color: var(--kelly); font-family: 'Archivo Black', sans-serif; font-size: 4rem; }
.coach-bio-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.coach-bio-body h3 { margin: 0; }
.coach-bio-body .band-cta { margin-top: auto; padding-top: 10px; color: var(--kelly); font-weight: 800; }

/* ---------- members: this month's drill, then previous months ---------- */
.video-lock::before { display: none; }
.video-lock svg { color: var(--kelly); flex: none; }
.video-card.locked .video-thumb img { filter: brightness(0.72); }
.video-feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 8px; }
.video-feature .video-thumb { aspect-ratio: 16 / 9; }
.video-feature .video-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3vw, 40px); }
.video-feature h3.display { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.video-feature .video-lock { padding: 13px 22px; font-size: 0.9rem; }
.video-feature:hover { transform: translateY(-3px); }
@media (max-width: 880px) { .video-feature { grid-template-columns: 1fr; } }
.video-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.video-grid .video-body { padding: 14px 16px 18px; }
.video-grid .video-body h3.display { font-size: 1.1rem; }
.video-grid .video-lock { padding: 7px 12px; font-size: 0.7rem; }
/* Posters are pictures, not downloads: no dragging them out or long-press saving. */
.video-thumb img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }

/* Every page ends with a way back to booking. */
.footer-book { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 26px 0 34px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-book p { margin: 0; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--white); }
@media (max-width: 760px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .video-grid .video-body { padding: 10px 12px 14px; }
  .video-grid .video-body h3.display { font-size: 0.92rem; }
  .video-grid .video-lock { padding: 5px 9px; font-size: 0.62rem; gap: 5px; }
  .video-grid .video-mins { font-size: 0.64rem; padding: 3px 7px; right: 8px; bottom: 8px; }
}

/* ---------- coach gallery ---------- */
.gallery-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gallery-thumb { background: var(--forest-3); border-radius: 12px; overflow: hidden; }
.gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-thumb-tools { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; }
.gallery-thumb-tools .btn { min-height: 32px; padding: 0 10px; }
.coach-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.coach-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.coach-gallery.two img:first-child { aspect-ratio: auto; }
@media (min-width: 800px) {
  .coach-gallery.two { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; }
  .coach-gallery.two img { aspect-ratio: auto; height: 100%; max-height: 520px; }
}

/* Play button over a poster when the drill is ready to stream. */
.drill-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  border: 0; background: var(--orange); color: var(--forest); font-size: 1.6rem; padding-left: 5px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.drill-play:hover { background: var(--orange-2); }
.player-stage mux-player { width: 100%; height: 100%; }

/* ---------- content blocks ---------- */
.blk { position: relative; padding: clamp(56px, 8vw, 96px) 0; }
.blk.tone-forest { background: var(--forest); color: var(--white); }
.blk.tone-deep { background: var(--forest-3); color: var(--white); }
.blk.tone-kelly { background: var(--kelly); color: var(--forest); }
.blk.tone-kelly .eyebrow, .blk.tone-kelly .display, .blk.tone-kelly .lede, .blk.tone-kelly p { color: var(--forest); }
.blk.tone-kelly .btn-primary { color: var(--forest); }
.blk .lede { max-width: 58ch; }
.blk .blk-btn { margin-top: 24px; }
.blk-text > * { max-width: 900px; }
.blk-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.blk-media.flip .blk-media-img { order: 2; }
.blk-media-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; }
@media (max-width: 820px) { .blk-media { grid-template-columns: 1fr; } .blk-media.flip .blk-media-img { order: 0; } }
.blk-banner { position: relative; min-height: clamp(340px, 46vw, 560px); display: flex; align-items: flex-end; overflow: hidden; margin: calc(-1 * clamp(56px, 8vw, 96px)) 0; }
.blk-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blk-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,46,17,.92), rgba(7,46,17,.15) 70%); pointer-events: none; }
.blk-banner-inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: clamp(40px, 6vw, 64px); color: var(--white); }
.blk-banner-inner h2 { color: var(--white); max-width: 16ch; }
.blk-banner-inner .lede { color: var(--white); }
.blk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 20px; }
.blk-col { border-top: 3px solid var(--kelly); padding-top: 18px; }
.blk.tone-kelly .blk-col { border-top-color: var(--forest); }
.blk-col h3 { font-size: 1.3rem; margin-bottom: 8px; }
.blk-col p { line-height: 1.6; color: var(--mint); }
@media (max-width: 760px) { .blk-cols { grid-template-columns: 1fr; gap: 20px; } }
.blk-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.blk-cta h2 { margin-bottom: 8px; }
.blk-cta .blk-btn { margin-top: 0; }

/* Editing: toolbars, the add button and the picker. Admin only. */
.blk-zone-editing { outline: 2px dashed rgba(255,255,255,.18); outline-offset: -2px; }
.blk-zone-editing .blk { outline: 2px dashed rgba(255,255,255,.28); outline-offset: -8px; }
.blk-zone-editing .blk.blk-dragging { opacity: .45; }
.blk-tools { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  background: #111; color: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.35); font: 700 .78rem/1 var(--font-body); max-width: calc(100% - 24px); }
.blk-tools button { background: #2a2a2a; color: #fff; border: 0; border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; min-height: 32px; }
.blk-tools button:hover { background: #3a3a3a; }
.blk-tools .blk-danger { background: #4a1d1d; }
.blk-handle { cursor: grab; font-size: 1.1rem; padding: 4px 8px; }
.blk-name { padding: 0 8px 0 2px; color: var(--kelly); }
.blk-add { padding: 28px var(--gutter, 24px); text-align: center; background: var(--forest-3); }
.blk-add-open { background: var(--kelly); color: var(--forest); border: 0; border-radius: 999px; padding: 14px 26px; font: 800 .85rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.blk-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; max-width: 1100px; margin: 20px auto 0; text-align: left; }
.blk-pick { display: flex; flex-direction: column; gap: 6px; background: var(--forest-2); color: var(--white); border: 2px solid transparent; border-radius: 14px; padding: 14px; cursor: pointer; font: 400 .85rem/1.4 var(--font-body); }
.blk-pick:hover, .blk-pick:focus-visible { border-color: var(--kelly); }
.blk-pick b { font-size: .95rem; }
.blk-pick span:last-child { color: var(--mint-2); }
.blk-pick-art { display: grid; height: 64px; border-radius: 8px; background: var(--forest-3); padding: 8px; gap: 5px; margin-bottom: 4px; }
.blk-pick-art i { background: rgba(255,255,255,.22); border-radius: 3px; }
.blk-art-text { grid-template-rows: 6px 12px 1fr; } .blk-art-text i:nth-child(2) { width: 60%; background: var(--kelly); }
.blk-art-media { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; } .blk-art-media i:first-child { grid-row: span 2; background: rgba(255,255,255,.4); }
.blk-art-banner { background: rgba(255,255,255,.35); grid-template-rows: 1fr 10px 8px; } .blk-art-banner i:first-child { background: transparent; } .blk-art-banner i:nth-child(2) { width: 55%; background: #fff; } .blk-art-banner i:nth-child(3) { width: 35%; }
.blk-art-columns { grid-template-columns: repeat(3, 1fr); } .blk-art-columns i { border-top: 3px solid var(--kelly); }
.blk-art-cta { background: var(--kelly); grid-template-columns: 1fr 34%; align-items: center; } .blk-art-cta i:first-child { height: 14px; background: var(--forest); } .blk-art-cta i:nth-child(2) { height: 18px; border-radius: 99px; background: var(--forest); } .blk-art-cta i:nth-child(3) { display: none; }
.blk-zone:not(.blk-zone-editing) .blk-add { display: none; }

/* ---------- moving, hiding and recolouring the built-in sections ---------- */
.sec-off { display: none !important; }
.blk-zone-editing > [data-section] { position: relative; outline: 2px dashed rgba(255,255,255,.28); outline-offset: -8px; }
.blk-zone-editing > [data-section].sec-off { display: block !important; opacity: .35; }
.blk-zone-editing > [data-section].sec-off > .blk-tools { opacity: 1; }
.blk-zone-editing > [data-section].blk-dragging { opacity: .45; }
.blk-zone-editing > .ticker { min-height: 72px; }
.blk-zone-editing > .ticker > .blk-tools { top: 50%; transform: translate(-50%, -50%); }
[data-section].tone-forest { background: var(--forest) !important; color: var(--white); }
[data-section].tone-deep { background: var(--forest-3) !important; color: var(--white); }
[data-section].tone-kelly { background: var(--kelly) !important; color: var(--forest); }
[data-section].tone-kelly > .wrap > :is(.eyebrow, h2, .lede, p),
[data-section].tone-kelly .tick-list li { color: var(--forest); }
[data-section].tone-kelly .tick-list li::before { border-color: var(--forest); }
[data-section]:is(.tone-forest, .tone-deep) > .wrap > :is(h2, .lede) { color: var(--white); }

/* The Link button that sits beside an editable button in edit mode. */
.gc-link-chip { display: none; }
body.gc-editing .gc-link-chip { display: inline-flex; align-items: center; margin-left: 6px; vertical-align: middle; background: #111; color: #fff;
  border: 0; border-radius: 8px; padding: 6px 10px; font: 700 .72rem/1 var(--font-body); letter-spacing: .04em; cursor: pointer; min-height: 30px; }
body.gc-editing .gc-link-chip:hover { background: #333; }

/* An empty credentials line stays out of the way, except while editing. */
.coach-creds:empty { display: none; }
body.gc-editing .coach-creds:empty { display: block; min-height: 1.4em; }
body.gc-editing .coach-creds:empty::before { content: 'Add a credentials line'; opacity: .55; }

/* ---------- softer colour (client pick, Oct 2026) ----------
   Sand replaces the bright green bands. Reading sections sit on cream with
   white cards. Hero, nav, photo bands, banners and footer stay green.
   A light section works by swapping the colour variables inside it; buttons,
   pills and anything over a photo are handed the dark values back.
   Staff pages opt out with .keep-dark on their section. */
:root { --sand: #E7DAC0; --cream: #F6F1E7; --linen: #F3ECDD; --ink: #0B2A14; }
.ticker, .join-band, .section-kelly, .member-offer, .blk.tone-kelly, [data-section].tone-kelly { background: var(--sand) !important; }
.ticker a:hover { color: var(--kelly-deep); }
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) {
  --white: var(--ink); --mint: #3E4B41; --mint-2: #5F6B61; --kelly: #178F2C; --kelly-2: #137A25;
  --line: rgba(11, 42, 20, 0.14); --line-2: rgba(11, 42, 20, 0.3);
  --forest-2: #FFFFFF; --forest-3: var(--linen); --forest-4: #FFFFFF;
  background: var(--cream); color: var(--ink);
}
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) :is(.btn-primary, .btn-dark, .btn-kelly, .pill-kelly, .pill-orange, .join-free, .member-price, .member-offer, .slot.selected, .card .avatar, .faces .face, .tab.on, .radio-pill.checked, .clinic-mark, .video-play, .video-mins, .video-lock, .video-thumb, .promo-photo, .free-player, .player-stage, .blk-banner, .drill-play, .gift-card, .coach-bio-initials, .home-about-video, .coach-photo, .photo-cap) {
  --white: #FFFFFF; --mint: #C2E7CA; --mint-2: #8FC49B; --kelly: #22C63E; --kelly-2: #3FE05B;
  --line: rgba(255, 255, 255, 0.14); --line-2: rgba(255, 255, 255, 0.28);
  --forest-2: #0E4A1E; --forest-3: #072E11; --forest-4: #135A26;
}
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) :is(.card, .video-card, .panel, .coach-bio, .book-box, .clinic-fact, .about-person, .stat, .cal-box, .loc-box) { box-shadow: 0 0 0 1px rgba(11, 42, 20, 0.08), 0 10px 30px rgba(11, 42, 20, 0.06); }
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) .slot:not(.booked):not(.selected):hover { color: #FFFFFF; }
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) .display { color: var(--ink); }
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) .pitch-note { color: #9A3B0B; }
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) :is(.form-error, .pill-red) { color: #A3261A; }

/* ---------- club-controlled buttons, logos and alignment (Nov 2026) ---------- */
.btn-light { background: #FFFFFF; color: var(--forest); }
.btn-light:hover { background: var(--mint); color: var(--forest); transform: translateY(-2px); }
/* Light sections hand buttons the dark values, so keep white buttons white. */
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) .btn-light { background: var(--forest); color: #FFFFFF; }
.btn-label { display: inline; }
[data-edit-buttons]:empty { display: none; }
.blk .blk-btns { margin-top: 24px; }
.blk-cta .blk-btns { margin-top: 0; }
.footer-book .hero-ctas { margin-top: 0; }
@media (max-width: 420px) { .nav-quick { gap: 6px; } .nav-quick .nav-book { padding-left: 14px; padding-right: 14px; } }

/* Partner and sponsor logos. */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 64px); margin-top: 28px; }
.logo-item { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; }
.logo-item img { display: block; max-height: 72px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
a.logo-item { opacity: .9; transition: opacity .15s ease; }
a.logo-item:hover { opacity: 1; }
.partners .lede { max-width: 58ch; }

/* Alignment the club picks per section, block or hero. */
.al-center, .al-center .wrap { text-align: center; }
.al-center :is(.hero-ctas, .blk-btns, .row-actions, .join-price, .logo-row, .tags, .faces, .steps, .blk-cols) { justify-content: center; }
.al-center :is(.lede, .body, .hero-tagline, .blk-text > *, h2, .about-block) { margin-left: auto; margin-right: auto; }
.al-center .tick-list { width: fit-content; margin-left: auto; margin-right: auto; text-align: left; }
.al-center .blk-cta { flex-direction: column; justify-content: center; }
.al-center .step, .al-center .blk-col { text-align: center; }
.al-left, .al-left .wrap { text-align: left; }
.al-left :is(.hero-ctas, .blk-btns, .row-actions, .logo-row) { justify-content: flex-start; }
.al-left :is(.lede, .body, .hero-tagline, h2) { margin-left: 0; margin-right: 0; }
.hero-centre.al-left .hero-centre-inner { max-width: var(--wrap, 1240px); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Editing: the button and logo toolbar, the add chips and the align chip. */
.gc-pop[hidden] { display: none; }
.gc-pop { position: absolute; z-index: 950; display: flex; flex-wrap: wrap; gap: 4px; background: #111; color: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); font: 700 .78rem/1 var(--font-body); max-width: calc(100vw - 16px); }
.gc-pop button { background: #222; color: #fff; border: 0; border-radius: 8px; padding: 8px 10px; min-height: 32px; font: inherit; cursor: pointer; }
.gc-pop button:hover { background: #333; }
.gc-pop .gc-pop-danger { background: #5a1a10; }
.gc-add-chip, .gc-align-chip { display: none; }
body.gc-editing .gc-add-chip, body.gc-editing .gc-align-chip { display: inline-flex; align-items: center; background: #111; color: #fff; border: 2px dashed rgba(255,255,255,.5);
  border-radius: 999px; padding: 8px 14px; font: 700 .78rem/1 var(--font-body); letter-spacing: .03em; cursor: pointer; min-height: 36px; }
body.gc-editing .gc-align-chip { position: absolute; top: 12px; right: 12px; z-index: 6; border-style: solid; border-color: #111; }
body.gc-editing [data-edit-buttons]:empty, body.gc-editing .gc-btn-group { display: flex; min-height: 40px; }
body.gc-editing .gc-btn-group { outline: 1px dashed rgba(255,255,255,.35); outline-offset: 6px; border-radius: 4px; }
body.gc-editing .gc-logo-row { outline: 1px dashed rgba(255,255,255,.35); outline-offset: 10px; min-height: 64px; }
body.gc-editing [data-logo] { cursor: pointer; }
body.gc-editing a[data-instagram][hidden] { display: inline; opacity: .6; }

/* ---------- design review fixes (12 Nov 2026) ---------- */
/* Eyebrows: sentence case, a touch bigger, so they read as labels not shouting. */
.eyebrow { text-transform: none; letter-spacing: 0.01em; font-size: 0.95rem; font-weight: 800; }
/* Green small text on the light sections passes 4.5:1 (was 3.7:1). */
:is(.home-about, .blk-zone > #coaches, :is(main, .blk-zone:not([data-blocks="home"])) > .section:not(.section-alt, .section-kelly, .keep-dark)):not(.tone-forest, .tone-deep) {
  --kelly: #0F7A22; --kelly-2: #0B6A1C;
}
/* Join the club in the menu: dark words on the bright green (was white, 2.3:1). */
.nav-links a.btn-kelly, .nav-links a.btn-kelly:hover { color: var(--forest); }
/* Every field shows where the cursor is. */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--kelly-2); outline-offset: 2px; }
/* The ticker stops while a pointer or the keyboard is on it. */
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
/* Bigger tap targets in the footer and for inline links on phones. */
.footer-links a { display: inline-block; padding: 10px 0; }
footer .small a { display: inline-block; padding: 8px 0; }
@media (max-width: 760px) { main p a:not(.btn), .form-error a { display: inline-block; padding-block: 8px; margin-block: -8px; } }
.small { font-size: 0.9rem; }
.disclaimer { font-size: 0.9rem; }
/* Test-mode badge and the gift band pass contrast. */
.badge-test { background: var(--orange-deep); color: #FFFFFF; }
.promo-gift { background: var(--orange-deep); }
.promo-gift .eyebrow { color: #FFFFFF; opacity: 1; }
.promo-gift .lede { color: #FFFFFF; }
/* Words still to be written stay off the public page, and show while editing. */
body:not(.gc-editing) :is([data-edit].to-come, .clinic-copy .to-come) { display: none; }
body:not(.gc-editing) :is(.about-block, #tip):has([data-edit].to-come) { display: none; }
body:not(.gc-editing) section:has(> .wrap > .about-block [data-edit].to-come) { display: none; }
/* Picking a time keeps the booking step in view. */
.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; background: #072E11; border-top: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 -10px 30px rgba(0,0,0,.35); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.book-bar[hidden] { display: none; }
.book-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.book-bar-text { margin: 0; color: #FFFFFF; font-weight: 800; font-size: 1.05rem; }
body:has(.book-bar:not([hidden])) footer { padding-bottom: 120px; }
/* Short screens (a phone turned sideways): the header scrolls away. */
@media (max-height: 450px) { header.nav { position: static; } }
/* Ticker editor, shown only while editing. */
.ticker-editor { white-space: normal; background: #111; color: #fff; padding: 16px 20px; margin-top: 14px; font: 600 .9rem/1.45 var(--font-body); }
.ticker-editor label { display: block; color: #fff; margin-bottom: 8px; }
.ticker-editor textarea { width: 100%; min-height: 120px; font: 500 .95rem/1.5 var(--font-body); color: #111; background: #fff; }
.ticker-editor .hint { opacity: .75; margin: 6px 0 0; }

/* ---------- client round, 12 Nov ---------- */
/* Hero: the line sits close under the headline, with more room before the buttons. */
.hero-centre-inner { padding-top: 72px; }
.hero-centre .hero-tagline { margin: 6px auto 0; }
.hero-centre .hero-ctas { margin-top: 52px; }
@media (max-width: 880px) { .hero-centre-inner { padding-top: 48px; } .hero-centre .hero-ctas { margin-top: 38px; } }
/* Links to a section stop below the sticky header. */
section[id], [data-section][id] { scroll-margin-top: 90px; }
/* Partner logos sit in the middle. */
.partners .wrap { text-align: center; }
.partners .logo-row { justify-content: center; }
/* Instagram band where the pricing was. */
.insta-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.insta-wrap .lede { margin-bottom: 0; }
/* The club logo on the gift card. */
.gift-card-logo { width: 56px; height: auto; display: block; }
/* Photo bands on the quieter pages carry no words. */
.page-band::after { display: none; }
