@import url("fonts.css");

/* ==========================================================================
   Kreeda Kshetra Cricket Academy — design system
   Navy #151647 + Gold #C9A74D, taken from the academy crest.
   ========================================================================== */

:root {
  /* brand */
  --navy-900: #08091f;
  --navy-800: #0d0e2e;
  --navy: #151647;
  --navy-600: #23255f;
  --navy-500: #343780;
  --gold: #c9a74d;
  --gold-400: #ddc077;
  --gold-600: #a8873a;

  /* neutrals */
  --cream: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f1efe8;
  --line: #e3e0d6;
  --ink: #16172f;
  --body: #4a4c63;
  --muted: #6b6d84;

  /* type */
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* rhythm */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgb(8 9 31 / 6%), 0 4px 12px rgb(8 9 31 / 5%);
  --shadow: 0 2px 4px rgb(8 9 31 / 6%), 0 16px 40px rgb(8 9 31 / 10%);
  --shadow-lg: 0 30px 70px rgb(8 9 31 / 22%);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------- reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video,
iframe { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* figure/blockquote ship with large UA margins that would shrink every media tile */
figure, blockquote, dl, dd { margin: 0; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--navy); }

/* --------------------------------------------------------------- helpers */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { max-width: 1440px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--navy { background: var(--navy); color: #cfd0e4; }
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }
.section--alt { background: var(--surface-2); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  padding: 0.8rem 1.4rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------- type scale */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  color: var(--gold-600);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}
.section--navy .eyebrow,
.hero .eyebrow { color: var(--gold-400); }

.h-xl { font-size: clamp(2.75rem, 7.2vw, 5.25rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.h-sm { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* headings carry no bottom margin by default, so give them one when prose follows */
.h-xl + p,
.h-lg + p,
.h-md + p,
.h-xl + .lede,
.h-lg + .lede,
.h-md + .lede { margin-top: 1.15rem; }

.lede {
  max-width: 62ch;
  font-size: clamp(1.03rem, 1.5vw, 1.15rem);
  color: var(--body);
}
.section--navy .lede { color: #b9bbd6; }

.section-head { max-width: 68ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .lede { margin-top: 1.1rem; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 100px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 10px 24px rgb(201 167 77 / 35%); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: #fff;
}
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; box-shadow: 0 10px 24px rgb(21 22 71 / 30%); }

.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.8rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--gold-400); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(8 9 31 / 62%), transparent);
  opacity: 1;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgb(21 22 71 / 97%);
  box-shadow: 0 8px 30px rgb(8 9 31 / 22%);
  backdrop-filter: blur(8px);
}
.site-header.is-stuck::before { opacity: 0; }


.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  position: relative;
  /* the header is a stacking context; the open mobile drawer sits at 90 inside it,
     so the logo and the toggle must stay above it or the menu cannot be closed */
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: #fff;
}
.brand img {
  width: 48px;
  height: 48px;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-sub {
  margin-top: 3px;
  color: var(--gold-400);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* the in-drawer CTA is a mobile-only duplicate of .header-cta */
.nav-cta { display: none; }
.nav-list a {
  position: relative;
  display: block;
  /* compresses gracefully between the drawer breakpoint and a roomy desktop */
  padding: 0.55rem clamp(0.5rem, 0.95vw, 0.85rem);
  color: rgb(255 255 255 / 88%);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-list a:hover { color: #fff; background: rgb(255 255 255 / 10%); }
.nav-list a[aria-current="page"] { color: var(--gold-400); font-weight: 600; }

.header-cta { flex: none; }

.nav-toggle {
  position: relative;
  z-index: 95;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 10px;
  background: rgb(255 255 255 / 8%);
  color: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Tablets get the drawer too: below ~1025px the brand + six links + CTA no longer
   fit on one line, and a drawer is the better target size on touch anyway. */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-content: start;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    background: var(--navy);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    /* same trick as the lightbox: focusable immediately on open, hidden only
       once the close animation has finished */
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0s linear 0.28s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0s linear 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    padding: 1.1rem 0.25rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0;
    font-family: var(--display);
    font-size: 1.65rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  .nav-list a:hover { background: transparent; }
  .nav-cta { display: block; margin-top: 2rem; }
  .nav-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  min-height: min(92svh, 860px);
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 0;
  background: var(--navy-900);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* keep the headline column dark enough for white text, let the field breathe on the right */
  background:
    linear-gradient(to right, rgb(8 9 31 / 92%) 0%, rgb(8 9 31 / 86%) 32%, rgb(8 9 31 / 45%) 64%, rgb(8 9 31 / 8%) 100%),
    linear-gradient(to top, rgb(8 9 31 / 85%) 0%, rgb(8 9 31 / 10%) 38%, transparent 60%);
}

/* narrow screens have no side column to hide behind, so darken bottom-up instead */
@media (max-width: 900px) {
  .hero::after {
    background: linear-gradient(
      to top,
      rgb(8 9 31 / 94%) 10%,
      rgb(8 9 31 / 80%) 45%,
      rgb(8 9 31 / 52%) 100%
    );
  }
}

.hero-body { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--gold);
}
.hero .lede {
  max-width: 54ch;
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 82%);
}

/* stats rail sitting on the hero base */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgb(255 255 255 / 14%);
  border-top: 1px solid rgb(255 255 255 / 14%);
}
.hero-stats div {
  padding: 1.5rem var(--gutter);
  background: rgb(8 9 31 / 62%);
}
.hero-stats .stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.hero-stats .stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 72%);
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div { padding-inline: 1.25rem; }
}

/* --------------------------------------------------------------- page banner */
.page-banner {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(300px, 42vw, 440px);
  padding-top: var(--header-h);
  background: var(--navy);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgb(8 9 31 / 90%), rgb(8 9 31 / 62%));
}
.page-banner h1 { color: #fff; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 70%);
}
.crumbs a:hover { color: var(--gold-400); }
.crumbs li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: rgb(255 255 255 / 40%);
}
.crumbs li { display: flex; align-items: center; }
.crumbs [aria-current] { color: var(--gold-400); }

/* --------------------------------------------------------------- grid utils */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split-media { order: 2; }
}

.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* gold frame accent behind feature images */
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.framed { position: relative; z-index: 0; }
@media (max-width: 600px) {
  .framed::before { inset: 12px -12px -12px 12px; }
}

/* --------------------------------------------------------------- cards */
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfcbbc; }
.card h3 { margin-bottom: 0.6rem; font-size: 1.28rem; }
.card p { font-size: 0.95rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--navy), var(--navy-600));
  color: var(--gold);
}
.card-icon svg { width: 28px; height: 28px; }

.section--navy .card {
  background: rgb(255 255 255 / 5%);
  border-color: rgb(255 255 255 / 12%);
  box-shadow: none;
  color: #b9bbd6;
}
.section--navy .card:hover { background: rgb(255 255 255 / 8%); border-color: rgb(201 167 77 / 45%); }
.section--navy .card-icon { background: rgb(201 167 77 / 15%); }

/* numbered programme list */
.numbered { counter-reset: n; }
.numbered .card { position: relative; overflow: hidden; }
/* keep the title clear of the numeral sitting in the top-right corner */
.numbered .card h3 { padding-right: 2.75rem; }
.numbered .card::before {
  counter-increment: n;
  content: counter(n, decimal-leading-zero);
  position: absolute;
  top: 0.6rem;
  right: 1.1rem;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.16;
}

/* --------------------------------------------------------------- media cards */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.tile:hover img { transform: scale(1.06); opacity: 0.85; }
.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.15rem 1.05rem;
  background: linear-gradient(to top, rgb(8 9 31 / 88%), transparent);
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}
.tile:hover::after { border-color: var(--gold); }

.tile--tall img { aspect-ratio: 3 / 4; }
.tile--wide img { aspect-ratio: 3 / 2; }
.tile--square img { aspect-ratio: 1; }

/* Press cuttings are documents, not photographs: cropping them cuts the story in
   half, so show the whole page on paper white and skip the zoom-on-hover. */
.tile--doc { background: #fff; border: 1px solid var(--line); }
.tile--doc img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #fff;
}
.tile--doc:hover img { transform: none; opacity: 0.9; }

/* filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filters button {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filters button:hover { border-color: var(--gold); color: var(--navy); }
.filters button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.is-filtered-out { display: none !important; }

/* --------------------------------------------------------------- team */
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person img {
  width: 148px;
  height: 148px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--gold);
}
.person h3 { font-size: 1.3rem; }
.person .role {
  margin-top: 0.35rem;
  color: var(--gold-600);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.person .bio {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: left;
}

/* --------------------------------------------------------------- stats band */
.stat-band { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-band > div { padding: 2rem 1.5rem; background: var(--surface); text-align: center; }
.stat-band .stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}
.stat-band .stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------- testimonials */
.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 30px;
  margin-bottom: 1.25rem;
  background: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M0 30V16C0 7.2 5.7 1.3 15.6 0l1.6 5.3C11.4 6.7 8.4 9.7 8.4 14H16v16H0zm24 0V16C24 7.2 29.7 1.3 39.6 0l1.6 5.3C35.4 6.7 32.4 9.7 32.4 14H40v16H24z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.quote blockquote { margin: 0; font-size: 0.96rem; line-height: 1.75; }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.quote figcaption img {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.quote .q-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.quote .q-rel { font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------- partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.5rem);
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem) 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.partner:hover {
  transform: translateY(-4px);
  border-color: rgb(201 167 77 / 55%);
  box-shadow: var(--shadow);
}
/* fixed optical box so round crests and wide wordmarks read at the same weight */
.partner img {
  width: 100%;
  height: 92px;
  object-fit: contain;
}
.partner-name {
  /* reserve two lines so the cards' baselines agree whether a name wraps or not */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4em;
  margin-top: auto;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* --------------------------------------------------------------- clubs */
.club-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.club {
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  border: 2px solid rgb(201 167 77 / 40%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 4%);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.club:hover { transform: translateY(-4px); border-color: var(--gold); background: rgb(201 167 77 / 10%); }
.club strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.club span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 62%);
}

/* --------------------------------------------------------------- clinics */
.clinic {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) {
  .clinic { grid-template-columns: 320px 1fr; }
}
/* two rows of photos so the strip balances the coach panel beside it */
.clinic-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-content: start;
}
@media (min-width: 560px) {
  .clinic-strip { grid-template-columns: repeat(3, 1fr); }
}
.clinic-strip .tile img { aspect-ratio: 1; }
.clinic-coach { padding: 1.35rem; background: var(--navy); border-radius: var(--radius); color: #b9bbd6; }
.clinic-coach h3 { color: #fff; font-size: 1.5rem; }
.clinic-coach .role {
  margin-top: 0.3rem;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.clinic-coach ul { margin-top: 1rem; font-size: 0.88rem; }
.clinic-coach li { position: relative; padding-left: 1.1rem; margin-bottom: 0.45rem; line-height: 1.55; }
.clinic-coach li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --------------------------------------------------------------- perks */
.perk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.perk:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.perk svg { flex: none; width: 26px; height: 26px; color: var(--navy); margin-top: 2px; }
.perk h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.perk p { font-size: 0.9rem; margin: 0; }

/* --------------------------------------------------------------- news */
.news-card { overflow: hidden; padding: 0; }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news-body { padding: clamp(1.35rem, 2.5vw, 1.85rem); }
.news-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgb(201 167 77 / 18%);
  color: var(--gold-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.news-card ul { margin: 0.9rem 0 0; }
.news-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.news-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --------------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--navy);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.cta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgb(21 22 71 / 96%) 30%, rgb(21 22 71 / 78%));
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { max-width: 52ch; margin-top: 1rem; color: rgb(255 255 255 / 80%); }

/* --------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
}

.info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.info-item:last-child { border-bottom: 0; }
.info-item svg { flex: none; width: 22px; height: 22px; color: var(--gold-600); margin-top: 4px; }
.info-item h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.info-item a:hover { color: var(--navy); text-decoration: underline; }

.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.field .req { color: var(--gold-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(201 167 77 / 22%);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c0392b; }

/* Honeypot — hidden from people (and from AT via aria-hidden/tabindex on the markup),
   still filled in by naive bots. Clipped rather than pushed off-canvas so it can never
   influence layout or overflow. */
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.form-note { font-size: 0.82rem; color: var(--muted); }

.form-status {
  display: none;
  padding: 0.95rem 1.15rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 400;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #e6f4ea; border: 1px solid #97c9a8; color: #1c5f34; }
.form-status.is-error { background: #fdecea; border: 1px solid #e2a49d; color: #8c231a; }

.map-embed {
  border: 0;
  width: 100%;
  height: clamp(300px, 45vw, 460px);
  border-radius: var(--radius);
  filter: grayscale(0.25);
}

/* --------------------------------------------------------------- footer */
.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--navy-800);
  color: #9c9fc0;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.5fr 1fr 1.3fr; } }

.site-footer h3 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.site-footer a:hover { color: var(--gold-400); }
.footer-links li { margin-bottom: 0.6rem; }

.footer-brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.footer-brand img { width: 58px; height: 58px; }
.footer-brand .brand-name { color: #fff; font-family: var(--display); font-size: 1.45rem; font-weight: 700; text-transform: uppercase; line-height: 1; }
.footer-brand .brand-sub { color: var(--gold-400); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr;
  background: rgb(8 9 31 / 98%);
  opacity: 0;
  visibility: hidden;
  /* Flip visibility instantly when opening (so the dialog is focusable in the same
     frame) but hold it until the fade-out finishes when closing. */
  transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0s;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  color: rgb(255 255 255 / 70%);
  font-size: 0.85rem;
}
.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(0.75rem, 4vw, 4.5rem) clamp(1rem, 3vw, 2.5rem);
  min-height: 0;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.75rem 1rem;
  text-align: center;
  color: rgb(255 255 255 / 78%);
  font-size: 0.88rem;
}
.lb-btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: rgb(255 255 255 / 6%);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lb-btn:hover { background: var(--gold); color: var(--navy); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.lb-prev { left: clamp(0.4rem, 2vw, 1.5rem); }
.lb-next { right: clamp(0.4rem, 2vw, 1.5rem); }

/* on a phone there is no room beside the image — drop the controls into a bottom bar */
@media (max-width: 640px) {
  .lightbox-stage { padding: 0 0.75rem 5.5rem; }
  .lb-prev,
  .lb-next { top: auto; bottom: 0.9rem; transform: none; }
  .lb-prev { left: calc(50% - 3.4rem); }
  .lb-next { right: calc(50% - 3.4rem); }
  .lightbox-caption { bottom: 4.4rem; }
}

/* --------------------------------------------------------------- reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------- print */
@media print {
  .site-header, .site-footer, .cta-band, .lightbox, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
}
