/* =========================================================
   Sports Ocean: main stylesheet
   Colors are sampled from the Sports Ocean logo.
   ========================================================= */

/* Archivo variable font (SIL Open Font License), self-hosted in /fonts */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-italic.woff2") format("woff2-variations"), url("../fonts/archivo-italic.woff2") format("woff2");
}

:root {
  --navy: #063175;
  --navy-deep: #03204f;
  --red: #e4080a;
  --red-dark: #b90608;
  --white: #ffffff;
  --mist: #eef2f9;
  --ink: #0b1f42;
  --muted: #4b5b78;
  --line: #d5dded;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --condensed: 68%;

  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  font-stretch: var(--condensed);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.section-intro { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: 1.125rem; }

.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

.text-link {
  display: inline-block;
  margin-top: 36px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.section-head-row .text-link { margin-top: 0; }
.text-link:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-red   { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy  { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--mist); }
.btn-line  { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Image placeholders ----------
   Each <figure class="media"> shows a labelled placeholder.
   When the matching file is added to /images, the photo covers it. */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(6,49,117,.06) 0 14px, transparent 14px 28px),
    var(--mist);
}
.media img,
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* Placeholder shown until the photo file is added at the same path */
.ph-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px;
  text-align: center;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}
.ph-label::before {
  content: "";
  width: 46px; height: 38px;
  border: 3px solid currentColor; border-radius: 8px;
  background: radial-gradient(circle at 50% 55%, transparent 7px, currentColor 7.5px, currentColor 10px, transparent 10.5px);
  opacity: .55;
}
.ph-label small { display: block; font-size: .8rem; font-weight: 600; opacity: .7; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { width: auto; height: 50px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a,
.sub-toggle {
  display: block;
  padding: 10px 12px;
  border: 0;
  background: none;
  font: inherit;
  font-size: .975rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.site-nav > ul > li > a:hover,
.sub-toggle:hover,
.site-nav a[aria-current="page"] { color: var(--red); }

.sub-toggle::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::after { transform: translateY(0) rotate(-135deg); }

.sub {
  position: absolute; top: 100%; left: 0;
  min-width: 270px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 40px -18px rgba(3,32,79,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .sub,
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 4px; text-decoration: none; font-size: .95rem; }
.sub a:hover { background: var(--mist); color: var(--navy); }

.nav-cta { min-height: 44px; padding: 8px 20px; }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: var(--white); }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border: 2px solid var(--navy); border-radius: var(--radius);
    background: var(--white); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after  { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; top: 77px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a, .sub-toggle { width: 100%; text-align: left; padding: 16px 4px; font-size: 1.125rem; }
  .sub-toggle { display: flex; justify-content: space-between; align-items: center; }
  .sub {
    position: static; min-width: 0; padding: 0 0 12px 12px;
    border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { min-height: 52px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hero-place { font-weight: 700; color: var(--red); font-size: 1.0625rem; }
.hero-title {
  margin-top: 14px;
  font-stretch: 62%;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.6rem, 9.4vw, 8.4rem);
  line-height: .86;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.hero-lede { margin-top: 28px; max-width: 54ch; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media { aspect-ratio: 4 / 5; max-height: 620px; border-radius: 10px 10px 10px 120px; }

/* Sport picker */
.picker { background: var(--navy); color: var(--white); padding-block: clamp(32px, 4vw, 48px); }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.picker-title { font-stretch: var(--condensed); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1; }
.picker-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.picker-tabs button {
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit; font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.picker-tabs button:hover { border-color: var(--white); }
.picker-tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); }

.picker-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: end;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.picker-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.picker-facts dt { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.65); }
.picker-facts dd { margin-top: 6px; font-weight: 600; line-height: 1.4; }
.picker-panel.swap .picker-facts dd { animation: pick .35s ease; }
@keyframes pick { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   WHAT WE DO
   ========================================================= */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  counter-reset: none;
}
.service-list li { border-top: 2px solid var(--line); }
.service-list li:first-child { grid-column: 1 / -1; border-top-color: var(--navy); }
.service-list a {
  display: block;
  padding: 26px 0 30px;
  text-decoration: none;
}
.service-list h3 {
  font-stretch: var(--condensed);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  color: var(--navy);
  transition: color .2s;
}
.service-list li:first-child h3 { font-size: clamp(2rem, 4vw, 3rem); }
.service-list p { margin-top: 10px; color: var(--muted); max-width: 52ch; }
.service-list a:hover h3 { color: var(--red); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag-row span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 600;
}

/* =========================================================
   VENUES: navy + red halves, echoing the S and O of the logo
   ========================================================= */
.venues { padding-top: var(--section); }
.venues-head { margin-bottom: clamp(36px, 5vw, 56px); }
.venue-split { display: grid; grid-template-columns: 1fr 1fr; }
.venue { color: var(--white); display: flex; flex-direction: column; }
.venue-sky  { background: var(--navy); }
.venue-turf { background: var(--red); }
.venue-media { aspect-ratio: 16 / 10; border-radius: 0; background-color: rgba(255,255,255,.12); }
.venue-media.media { background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 14px, transparent 14px 28px), rgba(0,0,0,.12); }
.venue-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.venue-sky .venue-body  { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.venue-turf .venue-body { padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.venue-kicker { font-weight: 600; opacity: .85; }
.venue-name {
  font-stretch: 62%;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: .9;
  margin-top: -8px;
}
.venue-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 18px; border-block: 1px solid rgba(255,255,255,.3); }
.venue-facts li { font-size: .9375rem; line-height: 1.35; }
.venue-facts strong { display: block; font-stretch: var(--condensed); font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.venue-body > p:not(.venue-kicker) { max-width: 52ch; opacity: .92; }
.venue address { font-size: .9375rem; opacity: .85; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
.venue-turf .btn-white { color: var(--red-dark); }

/* =========================================================
   CORPORATE
   ========================================================= */
.corp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 30px 0 36px; }
.check-list li { position: relative; padding-left: 28px; font-weight: 600; font-size: 1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.corp-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
}
.corp-photos { grid-auto-rows: clamp(200px, 26vw, 380px); }

.scoreboard { background: var(--navy-deep); color: var(--white); border-radius: 10px; padding: clamp(24px, 3vw, 36px); }
.scoreboard-title { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.7); padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); }
.score-rows li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 20px; align-items: center; padding-block: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.score-rows li:last-child { border-bottom: 0; padding-bottom: 4px; }
.score-num { font-stretch: 62%; font-style: italic; font-weight: 900; font-size: 3rem; line-height: 1; color: var(--white); }
.score-rows li:first-child .score-num { color: #ff4a4c; }
.score-word { font-size: 1.6rem; color: rgba(255,255,255,.85); }
.score-text { color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.4; }
.score-text strong { display: block; color: var(--white); font-size: 1.0625rem; margin-bottom: 2px; }

/* =========================================================
   TOURNAMENTS
   ========================================================= */
.tournaments { background: var(--mist); }
.fixtures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.fixture-media { aspect-ratio: 4 / 3; background-color: var(--white); }
.fixture-media.media { background: repeating-linear-gradient(135deg, rgba(6,49,117,.07) 0 14px, transparent 14px 28px), var(--white); }
.fixture-meta { display: flex; gap: 8px; margin-top: 18px; font-size: .8125rem; font-weight: 700; }
.fixture-meta span:first-child { color: var(--red); }
.fixture-meta span + span { color: var(--muted); }
.fixture-meta span + span::before { content: "/"; margin-right: 8px; color: var(--line); }
.fixture h3 { margin-top: 6px; font-stretch: var(--condensed); font-weight: 800; font-size: 1.6rem; line-height: 1.05; color: var(--navy); }
.fixture p:last-child { margin-top: 8px; color: var(--muted); font-size: .975rem; }

/* =========================================================
   EDUCATION
   ========================================================= */
.edu-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.edu-media { aspect-ratio: 1 / 1; border-radius: 120px 10px 10px 10px; }
.edu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.edu-cols h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.edu-cols p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.yt-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding: 18px 22px;
  border: 2px solid var(--line); border-left: 6px solid var(--red); border-radius: var(--radius);
}
.yt-strip p { font-weight: 600; }
.yt-strip strong { font-stretch: var(--condensed); font-size: 1.75rem; font-weight: 800; color: var(--navy); margin-right: 4px; }

/* =========================================================
   GALLERY PREVIEW
   ========================================================= */
.services { padding-bottom: 0; }
.gallery-preview { padding-top: 0; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(150px, 18vw, 240px));
  gap: 12px;
}
.mosaic .m1 { grid-column: span 2; grid-row: span 2; }

/* =========================================================
   CAREERS
   ========================================================= */
.careers { background: var(--red); color: var(--white); padding-block: clamp(44px, 6vw, 72px); }
.careers-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.careers .h2 { color: var(--white); }
.careers p { margin-top: 12px; max-width: 60ch; opacity: .92; }
.careers .btn-white { color: var(--red-dark); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-list { margin-top: 36px; display: grid; gap: 18px; }
.contact-list dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.contact-list dd { margin-top: 2px; font-weight: 700; font-size: 1.0625rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }

.enquiry {
  background: var(--mist);
  border-radius: 10px;
  padding: clamp(22px, 3.4vw, 40px);
  display: grid; gap: 18px;
}
.enquiry-type { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.enquiry-type legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.enquiry-type label { cursor: pointer; }
.enquiry-type input { position: absolute; opacity: 0; pointer-events: none; }
.enquiry-type span {
  display: inline-block; padding: 8px 16px;
  border: 2px solid var(--line); border-radius: 999px;
  background: var(--white); font-weight: 600; font-size: .95rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.enquiry-type input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.enquiry-type input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field.invalid input { border-color: var(--red); }
.field-error { color: var(--red-dark); font-size: .875rem; font-weight: 600; }
.form-status { padding: 14px 16px; border-radius: var(--radius); background: var(--white); border-left: 5px solid var(--navy); font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.logo-chip { display: inline-block; background: var(--white); padding: 12px 16px; border-radius: var(--radius); }
.logo-chip img { height: 54px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: .975rem; }
.site-footer h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.site-footer ul + h3 { margin-top: 28px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; font-size: .975rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255,255,255,.14); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-block: 24px;
  position: relative;
  font-size: .9rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .fixtures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .corp-grid, .edu-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; border-radius: 10px 10px 10px 80px; }
  .venue-split { grid-template-columns: 1fr; }
  .venue-sky .venue-body, .venue-turf .venue-body { padding-inline: var(--gutter); }
  .edu-media { aspect-ratio: 16 / 10; border-radius: 80px 10px 10px 10px; }
  .picker-panel { grid-template-columns: 1fr; }
  .picker-cta { justify-self: start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-title { font-size: clamp(3.6rem, 17vw, 5rem); }
  .service-list { grid-template-columns: 1fr; }
  .corp-photos { grid-template-columns: 1fr 1fr; }
  .corp-photos .media:first-child { grid-column: 1 / -1; }
  .corp-photos { grid-auto-rows: 200px; }
  .check-list { grid-template-columns: 1fr; }
  .edu-cols { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .fixtures { grid-template-columns: 1fr; }
  .venue-facts { grid-template-columns: 1fr 1fr; }
  .score-rows li { grid-template-columns: 1fr; gap: 6px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 150px; }
  .mosaic .m1 { grid-column: span 2; grid-row: span 2; }
  .mosaic .m5 { grid-column: span 2; }
  .fixture-media { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn, .venue-actions .btn { flex: 1 1 auto; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */
.site-nav .is-active > .sub-toggle { color: var(--red); }

.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.page-hero.no-media .page-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--navy); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.page-kicker { margin-top: 22px; font-weight: 700; color: var(--red); }
.page-title {
  margin-top: 10px;
  font-stretch: 62%;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .9;
  color: var(--navy);
  text-wrap: balance;
}
.page-lede { margin-top: 24px; max-width: 58ch; color: var(--muted); font-size: 1.15rem; }
.page-hero .hero-actions { margin-top: 30px; }
.page-hero-media { aspect-ratio: 4 / 3.4; border-radius: 10px 10px 10px 100px; }
.page-hero-media.portrait { aspect-ratio: 4 / 5; max-height: 580px; }

/* Facts band */
.facts-band { background: var(--navy); color: var(--white); padding-block: clamp(28px, 4vw, 44px); }
.facts-band.red { background: var(--red); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.facts strong { display: block; font-stretch: 62%; font-style: italic; font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.facts span { display: block; margin-top: 6px; font-weight: 600; opacity: .85; }

/* Split: text + media */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split-rev > :first-child { order: 2; }
.split-media { aspect-ratio: 4 / 3; }
.split-media.portrait { aspect-ratio: 4 / 5; max-height: 560px; }
.split .h3 {
  font-stretch: var(--condensed); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.02; color: var(--navy);
}
.split p.body { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.split .check-list { grid-template-columns: 1fr; margin: 24px 0 30px; }
.split address { margin-top: 18px; font-weight: 600; }
.alt-bg { background: var(--mist); }

/* Columns with top rules (no boxed cards) */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col { border-top: 3px solid var(--navy); padding-top: 22px; }
.col h3 { font-stretch: var(--condensed); font-weight: 800; font-size: 1.75rem; line-height: 1.05; color: var(--navy); }
.col > p { margin-top: 10px; color: var(--muted); }
.col .check-list { grid-template-columns: 1fr; margin: 18px 0 0; }
.col .media { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.col .text-link { margin-top: 20px; }

/* Portrait video row */
.video-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.video-row .media { aspect-ratio: 9 / 16; }
.video-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; grid-auto-rows: clamp(180px, 20vw, 280px); }
.photo-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-strip .wide { grid-column: span 2; }

/* Numbered steps: a real sequence */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 20px 0 0; border-top: 3px solid var(--line); position: relative; }
.steps li::before {
  content: counter(step);
  position: absolute; top: -18px; left: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white); font-weight: 800; font-size: .95rem;
}
.steps li:first-child { border-top-color: var(--red); }
.steps h3 { margin-top: 12px; font-size: 1.125rem; font-weight: 700; color: var(--navy); }
.steps p { margin-top: 6px; color: var(--muted); font-size: .975rem; }

/* Statement */
.statement { font-stretch: var(--condensed); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--navy); max-width: 30ch; }

/* Tags as a list */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud li { padding: 10px 18px; border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; color: var(--navy); }

/* Fixture cards without a photo: typographic block */
.fixture-type {
  aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-stretch: 62%; font-style: italic; font-weight: 900;
  font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: .9;
}
.fixture-type.red { background: var(--red); }
.fixture-type.deep { background: var(--navy-deep); }

/* Map */
.map-embed { aspect-ratio: 16 / 10; width: 100%; border: 0; border-radius: 10px; background: var(--mist); }

/* Roles (careers) */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }

/* =========================================================
   GALLERY PAGE
   ========================================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gallery-filters button {
  min-height: 44px; padding: 8px 18px;
  border: 2px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font: inherit; font-weight: 700; cursor: pointer;
}
.gallery-filters button:hover { border-color: var(--navy); }
.gallery-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery-grid { columns: 4 260px; column-gap: 12px; }
.g-item { break-inside: avoid; margin-bottom: 12px; display: block; width: 100%; padding: 0; border: 0; background: var(--mist); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; }
.g-item img { width: 100%; height: auto; display: block; }
.g-item[hidden] { display: none; }
.g-item .play {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 12px 4px 26px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: .8125rem; font-weight: 700;
}
.g-item .play::before {
  content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  border-left: 9px solid var(--red); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(3, 20, 50, .92); }
.lightbox img, .lightbox video { max-width: min(92vw, 1200px); max-height: 84vh; width: auto; height: auto; display: block; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: var(--white); text-align: center; margin-top: 10px; font-weight: 600; }
.lightbox-close {
  position: fixed; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Inner-page responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero-grid, .split { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .page-hero-media, .page-hero-media.portrait { aspect-ratio: 4 / 3; border-radius: 10px 10px 10px 70px; }
  .split-media.portrait { aspect-ratio: 4 / 3; }
  .cols { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-strip, .photo-strip.three { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .cols.two, .roles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .video-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-strip .wide { grid-column: span 2; }
  .gallery-grid { columns: 2 140px; }
}
.split .check-list.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) {
  .split .check-list.two-col { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
