:root {
  --navy: #062a63;
  --navy-deep: #041b3f;
  --navy-soft: #0b3f92;
  --yellow: #ffe600;
  --cream: #fffdf4;
  --cream-deep: #fff6cc;
  --white: #ffffff;
  --ink: #14161c;
  --copy: #3c414d;
  --muted: #625e53;
  --line: #e8e1cd;
  --shadow: 0 18px 50px rgba(4, 27, 63, 0.13);
  --radius: 4px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-soft); }
.legal a, .section p a:not(.button) { text-decoration: underline; text-underline-offset: .16em; }

button, input, select, textarea { font: inherit; }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 4rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { flex: 0 0 auto; }
.brand img { width: auto; height: 54px; }

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .15rem;
}

.primary-nav a,
.menu-toggle {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.primary-nav a {
  padding: .75rem .7rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--cream-deep);
  color: var(--navy);
}

.primary-nav .nav-cta {
  margin-left: .45rem;
  padding-inline: 1.1rem;
  background: var(--yellow);
  color: var(--navy-deep);
}

.primary-nav .nav-cta:hover { background: var(--navy); color: var(--white); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 52px;
  height: 52px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center 30%);
}

.hero::after {
  background: linear-gradient(90deg, rgba(4, 20, 48, .96) 0%, rgba(4, 22, 52, .84) 42%, rgba(4, 22, 52, .28) 100%);
}

.hero--short { min-height: 410px; }

.hero-inner { position: relative; z-index: 1; padding-block: 5.5rem; }

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--yellow); }

h1, h2, h3, h4 {
  margin-top: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 6.5vw, 5.75rem);
  letter-spacing: -.015em;
}

h2 { margin-bottom: 1rem; color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { margin-bottom: .6rem; color: var(--navy); font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
h4 { margin-bottom: .4rem; font-size: 1.25rem; }

.hero-copy {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.18rem;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.copy-status {
  min-height: 1.6em;
  margin: .85rem 0 0;
  color: var(--yellow);
  font-weight: 600;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.45rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.button:hover { background: var(--white); color: var(--navy); }
.button--navy { background: var(--navy); color: var(--white); }
.button--navy:hover { background: var(--navy-deep); color: var(--white); }
.button--outline { border-color: currentColor; background: transparent; color: inherit; }
.button--outline:hover { background: var(--white); color: var(--navy); }

.quick-facts {
  background: var(--navy-deep);
  color: var(--white);
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 1.35rem;
}

.fact-label,
.meta-label {
  display: block;
  margin-bottom: .15rem;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fact-value {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; padding-block: 1rem; }
.trust-strip span { color: var(--navy); font-weight: 700; }

.section { padding-block: 5.5rem; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream-deep); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--yellow); }
.section--tight { padding-block: 3.5rem; }

.section-intro { max-width: 760px; margin-bottom: 2.5rem; }
.section-intro p:last-child { margin-bottom: 0; }
.lead { font-size: 1.18rem; color: var(--copy); }
.section--navy .lead { color: rgba(255, 255, 255, .84); }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 3rem; }

.pricing-grid .card { display: flex; flex-direction: column; }
.pricing-grid .card > p:last-child { margin-top: auto; }

.card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card p:last-child { margin-bottom: 0; }
.card--navy { border-color: var(--navy); background: var(--navy); color: var(--white); }
.card--navy h2, .card--navy h3, .card--navy h4 { color: var(--white); }
.card--yellow { border-left: 4px solid var(--yellow); background: var(--cream-deep); }
.card-number { color: var(--muted); font-weight: 700; letter-spacing: .16em; }
.external-safeguarding a { color: var(--white); text-decoration: underline; text-underline-offset: .16em; }
.external-safeguarding a:hover { color: var(--yellow); }

.shop-notice { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; border-left: 5px solid var(--yellow); background: var(--cream-deep); }
.shop-notice strong { color: var(--navy); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.6rem; text-transform: uppercase; }
.shop-notice span { color: var(--copy); }
.shop-notice .button { margin-left: auto; white-space: nowrap; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.shop-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-visual { min-height: 250px; display: grid; place-items: center; padding: 1rem; overflow: hidden; background: var(--white); }
.product-visual img { width: 100%; height: 218px; object-fit: contain; }
.shop-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.shop-card__body .eyebrow { margin-bottom: .35rem; }
.shop-card__body h3 { margin-bottom: .5rem; }
.shop-card__body p:not(.eyebrow):not(.shop-price) { margin-bottom: 1rem; }
.shop-price { margin-top: auto; margin-bottom: 1rem; color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 1.7rem; font-weight: 700; text-transform: uppercase; }
.shop-values { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.shop-values h2 { color: var(--white); }
.shop-value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shop-value-list div { padding-left: 1rem; border-left: 2px solid var(--yellow); }
.shop-value-list strong, .shop-value-list span { display: block; }
.shop-value-list strong { margin-bottom: .25rem; color: var(--yellow); font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; text-transform: uppercase; }
.shop-value-list span { color: rgba(255, 255, 255, .78); font-size: .95rem; }

.announcement { border-bottom: 1px solid #eadf9f; background: var(--cream-deep); }
.announcement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-block: 1.5rem; }
.announcement h2 { margin-bottom: .35rem; font-size: 1.55rem; }
.announcement p { margin: 0 0 .3rem; color: var(--navy); }
.text-link { border-bottom: 2px solid var(--yellow); font-weight: 700; }
.section--navy .text-link { color: var(--white); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: center; }
.feature-image { width: 100%; min-height: 420px; max-height: 620px; object-fit: cover; border-radius: var(--radius); }

.schedule-list { display: grid; gap: .85rem; }
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 1.35fr;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
}

.schedule-row strong { display: block; color: var(--yellow); font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; }
.schedule-row span { color: rgba(255, 255, 255, .82); }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.fee { color: var(--navy); font-family: "Barlow Condensed", sans-serif; font-size: 3.4rem; font-weight: 700; line-height: 1; }
.fee--highlight { color: var(--yellow); }
.fee small { font-family: "Barlow", sans-serif; font-size: 1rem; font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap--spaced { margin-top: 1.5rem; }
table { width: 100%; min-width: 590px; border-collapse: collapse; }
th, td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--cream-deep); color: var(--navy); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.staff-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.staff-card__body { padding: 1.4rem; }
.heading--navy { color: var(--navy); }
.staff-card__role { color: var(--muted); font-weight: 700; }

.coach-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ebe6d8, #d9d1bc);
  color: var(--navy);
  text-align: center;
}

.coach-photo::before {
  content: "Coach photo";
  padding: 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coach-photo__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.coach-photo__image.is-loaded { opacity: 1; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.gallery-item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: #e7e1d2; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.025); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(4, 18, 42, .96);
}

.lightbox[open] { display: grid; }
.lightbox img { max-width: min(95vw, 1200px); max-height: 86vh; object-fit: contain; }
.lightbox button { position: fixed; top: 1rem; width: 48px; height: 48px; border: 0; background: var(--yellow); color: var(--navy); font-size: 1.8rem; cursor: pointer; }
.lightbox [data-lightbox-close] { right: 1rem; }
.lightbox [data-lightbox-previous] { left: 1rem; }
.lightbox [data-lightbox-next] { right: 1rem; top: 4.5rem; }

.notice { padding: 1.3rem 1.5rem; border-left: 4px solid var(--yellow); background: var(--cream-deep); }
.notice p:last-child { margin-bottom: 0; }

.contact-list { display: grid; gap: 0; }
.contact-row { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-row strong { color: var(--navy); }

.legal { max-width: 880px; }
.legal section { padding-block: 2rem; border-top: 1px solid var(--line); }
.legal section:first-child { border-top: 0; }
.legal h2 { font-size: 1.8rem; }
.legal h3 { font-size: 1.3rem; }
.legal li + li { margin-top: .4rem; }

.news-list { display: grid; gap: 1rem; }
.news-card { padding: 2rem; border: 1px solid var(--line); border-left: 4px solid var(--yellow); background: var(--white); }
.news-card time { color: var(--muted); font-weight: 700; }

.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 2.5rem; padding-block: 4rem; }
.site-footer h2 { color: var(--white); font-size: 1.2rem; }
.site-footer p, .site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { width: auto; height: 64px; margin-bottom: 1rem; }
.footer-links { display: grid; gap: .4rem; }
.footer-bottom { padding-block: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.6); font-size: .9rem; }

.mobile-cta { display: none; }

@media (max-width: 1040px) {
  .primary-nav a { padding-inline: .45rem; font-size: .9rem; }
  .primary-nav .nav-cta { padding-inline: .8rem; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 2.5rem), var(--content)); }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 74px 0 auto;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    border-bottom: 2px solid var(--yellow);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .9rem 1rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .primary-nav .nav-cta { margin: .7rem 0 0; border-bottom: 0; }
  .hero { min-height: 500px; }
  .hero-inner { padding-block: 4.5rem; }
  .quick-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-values { grid-template-columns: 1fr; gap: 2rem; }
  .grid--sidebar, .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .schedule-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: flex;
    gap: .65rem;
    padding: .75rem 1rem;
    border-top: 2px solid var(--yellow);
    background: var(--navy);
  }
  .mobile-cta .button { flex: 1; min-height: 48px; padding: .65rem; }
  body { padding-bottom: 76px; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 2rem), var(--content)); }
  .brand img { height: 46px; }
  .hero { min-height: 470px; }
  .hero-inner { padding-block: 3.8rem; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .hero-copy, .lead { font-size: 1.05rem; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 20, 48, .55) 0%, rgba(4, 20, 48, .88) 100%); }
  .section { padding-block: 4rem; }
  .quick-facts-grid, .grid--2, .grid--3, .grid--4, .staff-grid, .announcement-grid, .footer-grid { grid-template-columns: 1fr; }
  .shop-grid, .shop-value-list { grid-template-columns: 1fr; }
  .shop-notice { align-items: flex-start; flex-direction: column; }
  .shop-notice .button { margin-left: 0; }
  .schedule-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .news-card { padding: 1.45rem; }
  .step { padding: 1.45rem 1.45rem 1.45rem 4rem; }
  .contact-row { grid-template-columns: 1fr; gap: .2rem; }
  .button-row { align-items: stretch; }
  .button-row .button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-cta, .site-footer, .button-row, .skip-link { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; background: #fff; }
  .hero-media, .hero::after { display: none; }
  .hero .eyebrow, .hero-copy, .section--navy, .section--navy h2, .section--navy h3 { color: #000; }
}
