/* ==========================================================================
   BEST Centre Sports — Direction 3 "Poster"
   Navy + white dominant, orange as punctuation, light blue as support.
   Barlow Condensed (display) · Inter (body) · IBM Plex Mono (labels)
   ========================================================================== */

:root {
  --navy: #1B3A6B;
  --navy-deep: #12294D;
  --white: #FFFFFF;
  --orange: #E8622C;
  --sky: #7FB3D5;
  --ink: #16233A;
  --muted: rgba(22, 35, 58, 0.62);
  --hairline: rgba(27, 58, 107, 0.16);
  --hairline-light: rgba(255, 255, 255, 0.18);

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 5vw, 96px);
  --max: 1440px;

  --ease-settle: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 900ms;

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* handled by the smooth-scroll script */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--white); color: var(--navy);
  font-weight: 500;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }

/* --------------------------------------------------------------- type */
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.012em;
  color: var(--white);
}
.display .line { display: block; }

.display--hero { font-size: clamp(4.6rem, min(17vw, 21vh), 19rem); }
.display--location { font-size: clamp(3.9rem, min(13vw, 19vh), 15rem); }
.display--cta { font-size: clamp(4rem, min(14vw, 20vh), 16rem); }

/* mid-scale section headline — poster energy without swallowing the screen */
.head {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 16ch;
}
.head--navy { color: var(--navy); }

.line--outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.line--orange { color: var(--orange); }

.dot { color: var(--orange); }
.dot--white { color: var(--white); }

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.label__rule {
  width: 38px; height: 1px;
  background: var(--orange);
  flex: none;
}
.label--navy { color: var(--navy); }
/* labels sitting directly on bright photography */
.hero .label, .location .label { text-shadow: 0 1px 14px rgba(18, 41, 77, 0.8); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color 300ms var(--ease-settle), color 300ms var(--ease-settle),
              border-color 300ms var(--ease-settle), transform 300ms var(--ease-settle);
}
.btn:hover { transform: translateY(-2px); }
.btn { white-space: nowrap; }

.btn--orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--orange:hover { background: #d4531f; border-color: #d4531f; }

.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.72rem; }
.btn--block { width: 100%; min-height: 58px; }

.link-arrow {
  color: var(--sky);
  border-bottom: 1px solid rgba(127, 179, 213, 0.35);
  padding-bottom: 4px;
  transition: color 300ms, border-color 300ms;
}
.link-arrow:hover { color: var(--white); border-color: var(--white); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 400ms var(--ease-settle);
}
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--sky);
  opacity: 0;
  transition: opacity 400ms var(--ease-settle);
}
.site-header.is-solid {
  background: rgba(18, 41, 77, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header.is-solid::after { opacity: 0.3; }

.site-header__inner {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 26px; width: auto;
  /* logo.png is navy/cyan/orange on transparent — render all-white over photos and navy */
  filter: brightness(0) invert(1);
}

.nav__list { display: flex; gap: 30px; }

.nav__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
.nav__list i { font-style: normal; color: var(--sky); opacity: 0.75; font-size: 0.66rem; }
.nav__list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 350ms var(--ease-settle);
}
.nav__list a:hover::after { transform: scaleX(1); }

.site-header__end { display: flex; align-items: center; gap: 22px; }

.phone {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}
.phone:hover { color: var(--white); }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -6px;
  padding: 0;
  background: transparent; border: 0; cursor: pointer;
  position: relative; color: var(--white);
}
.burger__line {
  position: absolute; left: 9px;
  width: 26px; height: 2px;
  background: currentColor;
  transition: transform 400ms var(--ease-settle), top 400ms var(--ease-settle);
}
.burger__line:nth-child(1) { top: 17px; }
.burger__line:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-deep); color: var(--white);
  opacity: 0;
  transition: opacity 400ms var(--ease-settle);
}
.menu.is-open { opacity: 1; }
.menu__inner {
  height: 100%;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 12vw, 4.6rem);
  line-height: 1;
  padding: 5px 0;
  transform: translateY(0.3em); opacity: 0;
  transition: transform 700ms var(--ease-settle), opacity 700ms var(--ease-settle);
}
.menu__list i {
  font-family: var(--font-mono); font-style: normal;
  font-size: 0.7rem; letter-spacing: 0.1em; color: var(--sky);
}
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: 60ms; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 110ms; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 160ms; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 210ms; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 260ms; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: 310ms; }
.menu.is-open .menu__list a { transform: none; opacity: 1; }

.menu__foot { display: grid; gap: 22px; color: rgba(255, 255, 255, 0.72); line-height: 2; }
.menu__foot .btn { justify-self: start; }

/* --------------------------------------------------------------- shared media */
.hero__media, .location__media, .olympians__media, .cta__media {
  position: absolute; inset: 0; overflow: hidden;
}
.hero__media img, .location__media img, .olympians__media img, .cta__media img {
  width: 100%; height: 100%; object-fit: cover;
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.hero__media img { object-position: 55% 40%; }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 41, 77, 0.55) 0%, rgba(18, 41, 77, 0.15) 30%),
    linear-gradient(0deg, rgba(18, 41, 77, 0.95) 0%, rgba(18, 41, 77, 0.7) 40%, rgba(18, 41, 77, 0.3) 75%, rgba(18, 41, 77, 0.3) 100%);
}

.hero__content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 8vh) var(--gutter) clamp(72px, 12vh, 140px);
  will-change: transform;
}
.hero__content .label { margin-bottom: clamp(20px, 3vh, 36px); color: rgba(255, 255, 255, 0.88); }

.hero__actions {
  margin-top: clamp(32px, 5vh, 56px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 28px;
}
.hero__sub { color: rgba(255, 255, 255, 0.7); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 5vh, 56px);
  z-index: 1;
  display: flex; align-items: center; gap: 14px;
  color: var(--sky);
}
.scroll-cue__line {
  display: block; width: 64px; height: 1px;
  background: var(--sky); transform-origin: left;
  animation: cue 2600ms var(--ease-settle) infinite;
}
@keyframes cue {
  0%   { transform: scaleX(0); transform-origin: left; }
  50%  { transform: scaleX(1); transform-origin: left; }
  50.1%{ transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* --------------------------------------------------------------- centre */
.centre {
  background: var(--white); color: var(--ink);
  padding: clamp(88px, 14vh, 170px) 0 0;
}

.centre__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.centre__head .label { margin-bottom: clamp(24px, 4vh, 44px); }
.centre__lede p { font-size: clamp(1rem, 1.1vw, 1.12rem); color: var(--muted); max-width: 46ch; }

.centre__facts {
  margin-top: clamp(56px, 9vh, 110px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
}
.fact { border-top: 1px solid var(--hairline); padding-top: 22px; }
.fact__no { display: block; color: var(--orange); margin-bottom: 14px; }
.fact h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--navy); line-height: 1; margin-bottom: 12px;
}
.fact p { font-size: 0.95rem; color: var(--muted); }

.centre__band {
  margin-top: clamp(64px, 11vh, 140px);
  height: clamp(320px, 62vh, 680px);
  overflow: hidden;
}
.centre__band img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* --------------------------------------------------------------- olympians */
.olympians {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: clamp(88px, 14vh, 180px) 0;
}
.olympians__media img { opacity: 0.16; filter: saturate(0.2) contrast(1.05); object-position: 50% 45%; }
.olympians__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(27, 58, 107, 0.2) 30%, rgba(27, 58, 107, 0.2) 70%, var(--navy) 100%);
}
.olympians__head, .olympians .shell { position: relative; z-index: 1; }

.nations {
  position: relative; z-index: 1;
  margin: clamp(24px, 4vh, 48px) 0 clamp(32px, 5vh, 64px);
  overflow: hidden;
}
.nations__track {
  --ngap: 0.22em;
  display: flex; align-items: baseline; gap: var(--ngap);
  width: max-content;
  white-space: nowrap;
  padding-left: var(--gutter);
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(4.4rem, 14vw, 16rem);
  line-height: 0.9; letter-spacing: -0.01em;
  will-change: transform;
}
.nations__group { display: flex; align-items: baseline; gap: var(--ngap); }
.nations__group > span:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85); }
.nations__sep { color: var(--orange) !important; -webkit-text-stroke: 0 !important; font-weight: 600; }

.nations__group > .nations__sep:last-child { display: none; }

/* the line travels with the scroll at every width — soften the edges on small screens */
@media (max-width: 900px) {
  .nations::before, .nations::after {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 2;
    width: 34px; pointer-events: none;
  }
  .nations::before { left: 0; background: linear-gradient(90deg, var(--navy), rgba(27, 58, 107, 0)); }
  .nations::after { right: 0; background: linear-gradient(270deg, var(--navy), rgba(27, 58, 107, 0)); }
}

.olympians__line {
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.5; color: rgba(255, 255, 255, 0.72); max-width: 44ch;
}

.quotes {
  margin-top: clamp(64px, 10vh, 120px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 110px);
}
.quote { display: grid; gap: 22px; align-content: start; }
.quote__portrait { width: min(100%, 420px); aspect-ratio: 3 / 2; overflow: hidden; }
.quote__portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.quote blockquote p { font-size: clamp(1.2rem, 1.5vw, 1.6rem); line-height: 1.35; max-width: 34ch; }
.quote figcaption { display: grid; gap: 4px; padding-top: 18px; position: relative; }
.quote figcaption::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 2px; background: var(--orange);
}
.quote figcaption strong {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  text-transform: uppercase; line-height: 1;
}
.quote figcaption span { color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------- sports carousel */
.sports {
  background: var(--navy-deep); color: var(--white);
  padding: clamp(80px, 12vh, 150px) 0 clamp(80px, 12vh, 150px);
  overflow: hidden;
}
.sports__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vh, 72px);
}
.sports__head .label { margin-bottom: 22px; }
.sports__note { color: var(--sky); }

/* the sport-name ticker that runs under the hero */
.ticker {
  position: relative;
  background: var(--navy-deep);
  border-top: 1px solid rgba(127, 179, 213, 0.22);
  border-bottom: 1px solid rgba(127, 179, 213, 0.22);
  overflow: hidden;
  padding: clamp(16px, 2.4vh, 26px) 0;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: clamp(40px, 8vw, 160px); z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy-deep), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--navy-deep), transparent); }

.ticker__track {
  --gap: clamp(22px, 3vw, 46px);
  display: flex; gap: var(--gap); width: max-content;
  animation: ticker 44s linear infinite;
}
.ticker__group { display: flex; align-items: center; gap: var(--gap); }
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group li {
  font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 1; letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
}
.ticker__sep {
  width: 9px; height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
  flex: none;
}

@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-50% - (var(--gap) / 2)), 0, 0); }
}

/* the sports grid — still, deliberate, four across then three */
.sports__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}
.card { grid-column: span 3; }
.card--wide { grid-column: span 4; }

.card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.card__media { aspect-ratio: 3 / 4; overflow: hidden; }
.card--wide .card__media { aspect-ratio: 4 / 3; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-settle);
}
.card:hover .card__media img { transform: scale(1.05); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18, 41, 77, 0.95) 12%, rgba(18, 41, 77, 0.3) 52%, transparent 78%);
  pointer-events: none;
}
.card__body {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
  padding: clamp(18px, 1.8vw, 28px);
}
.card__body .mono { display: block; color: var(--sky); margin-bottom: 8px; }
.card__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.1vw, 2.3rem);
  font-weight: 800; text-transform: uppercase; line-height: 0.95;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.card__body p { font-size: 0.85rem; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------- facilities */
.facilities {
  background: var(--white); color: var(--ink);
  padding: clamp(88px, 14vh, 170px) 0;
}
.facilities__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.facilities__media { position: sticky; top: calc(var(--header-h) + 40px); }
.media-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.facilities__foot { margin-top: 18px; color: var(--muted); letter-spacing: 0.06em; }

.facilities__list .label { margin-bottom: 22px; }
.facilities__list .head { margin-bottom: clamp(32px, 5vh, 56px); }

.rows { display: grid; }
.rows li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: clamp(22px, 3vh, 34px) 0;
  border-top: 1px solid var(--hairline);
}
.rows li:last-child { border-bottom: 1px solid var(--hairline); }
.rows__no { color: var(--orange); padding-top: 6px; }
.rows h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 700; text-transform: uppercase; color: var(--navy);
  line-height: 1; margin-bottom: 10px;
}
.rows p { font-size: 0.97rem; color: var(--muted); max-width: 52ch; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--hairline);
  padding: 8px 14px;
}

/* --------------------------------------------------------------- events */
.events {
  background: var(--navy); color: var(--white);
  padding: clamp(88px, 14vh, 170px) 0;
}
.events__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(40px, 6vh, 72px);
}
.events__head .label { margin-bottom: 22px; }

.events__list { border-top: 1px solid var(--hairline-light); }
.events__list li { border-bottom: 1px solid var(--hairline-light); }
.events__list a {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 190px 28px;
  align-items: center; gap: 24px;
  padding: clamp(20px, 2.6vh, 30px) 0;
  transition: padding 400ms var(--ease-settle), color 300ms;
}
.events__list a:hover { padding-left: 18px; padding-right: 18px; }
.events__date { color: var(--sky); }
.events__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -0.005em;
}
.events__where { color: rgba(255, 255, 255, 0.55); text-align: right; }
.events__go { color: var(--sky); text-align: right; transition: transform 300ms var(--ease-settle), color 300ms; }
.events__list a:hover .events__go { color: var(--orange); transform: translate(3px, -3px); }

.flagship {
  margin-top: clamp(48px, 8vh, 96px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.flagship__item { position: relative; overflow: hidden; min-height: clamp(300px, 46vh, 460px); display: flex; align-items: flex-end; }
.flagship__media { position: absolute; inset: 0; overflow: hidden; }
.flagship__media img { width: 100%; height: 100%; object-fit: cover; }
.flagship__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18, 41, 77, 0.97) 22%, rgba(18, 41, 77, 0.78) 48%, rgba(18, 41, 77, 0.3) 100%);
}
.flagship__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); }
.flagship__body .mono { color: var(--sky); margin-bottom: 12px; }
.flagship__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; text-transform: uppercase; line-height: 0.95; margin-bottom: 12px;
}
.flagship__copy { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); max-width: 42ch; }

/* --------------------------------------------------------------- location */
.location {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  color: var(--white); background: var(--navy);
}
.location__media img { object-position: 50% 45%; }
.location__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18, 41, 77, 0.95) 0%, rgba(18, 41, 77, 0.66) 45%, rgba(18, 41, 77, 0.12) 82%);
}
.location__content {
  position: relative; z-index: 1;
  padding-top: calc(var(--header-h) + 10vh);
  padding-bottom: clamp(56px, 9vh, 110px);
}
.location__content .label { margin-bottom: clamp(20px, 3vh, 36px); color: rgba(255, 255, 255, 0.88); }
.location__copy {
  margin-top: clamp(24px, 4vh, 44px);
  max-width: 52ch; font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.55; color: rgba(255, 255, 255, 0.82);
}

.stats {
  margin-top: clamp(36px, 6vh, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--hairline-light);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 8px;
}
.stats span { color: rgba(255, 255, 255, 0.6); }

/* --------------------------------------------------------------- cta */
.cta {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: var(--white);
  padding: clamp(96px, 16vh, 200px) 0;
}
.cta__media img { opacity: 0.22; filter: saturate(0.35); object-position: 50% 45%; }
.cta__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(18, 41, 77, 0.55) 45%, var(--navy-deep) 100%);
}
.cta__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: end;
}
.cta__head .label { margin-bottom: clamp(24px, 4vh, 44px); }
.cta__copy {
  margin-top: clamp(24px, 4vh, 44px);
  max-width: 44ch; font-size: clamp(1rem, 1.15vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
}

.panel {
  border: 1px solid var(--hairline-light);
  background: rgba(27, 58, 107, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: clamp(24px, 2.6vw, 38px);
}
.panel__rows { display: grid; gap: 2px; margin-bottom: 28px; }
.panel__rows li {
  display: grid; grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-light);
}
.panel__rows li:first-child { border-top: 1px solid var(--hairline-light); }
.panel__rows .mono { color: var(--orange); }
.panel__rows a, .panel__rows span:last-child { font-size: 1.02rem; }
.panel__rows a { border-bottom: 1px solid transparent; transition: border-color 300ms; }
.panel__rows a:hover { border-color: rgba(255, 255, 255, 0.6); }
.panel__note { margin-top: 16px; color: rgba(255, 255, 255, 0.5); text-align: center; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; padding-top: clamp(64px, 10vh, 120px); }

.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(48px, 7vh, 88px);
}
.site-footer__brand img { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: 24px; }
.site-footer__brand address { line-height: 2.1; font-size: 0.72rem; }
.site-footer a:hover { color: var(--white); }

.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__nav h4 {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.site-footer__nav li { padding: 5px 0; }

.site-footer__bar { border-top: 1px solid var(--hairline-light); padding: 20px 0; color: rgba(255, 255, 255, 0.45); }
.site-footer__bar .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ==========================================================================
   MOTION — slow reveals, parallax on the photography, one moving carousel.
   Default state is the final state; .js-motion opts elements into the reveal.
   ========================================================================== */

.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity var(--dur) var(--ease-settle), transform var(--dur) var(--ease-settle);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js-motion [data-reveal].in-view { opacity: 1; transform: none; }

/* parallax: the photograph drifts with the scroll inside its frame */
.js-motion [data-para] img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.2);
  will-change: transform;
}
.js-motion .hero__media img { transform: translate3d(0, var(--py, 0px), 0) scale(var(--hs, 1.2)); }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__line { animation: none; transform: none; }
  .menu__list a { transition: none; }
  .ticker__track { animation: none; }
  .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js-motion [data-para] img,
  .js-motion .hero__media img { transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .centre__top { grid-template-columns: 1fr; align-items: start; }
  .centre__facts { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 22px 0; }
  .fact:last-child { border-bottom: 1px solid var(--hairline); }

  .facilities__grid { grid-template-columns: 1fr; }
  .facilities__media { position: static; }
  .media-frame { aspect-ratio: 16 / 10; }

  .cta__grid { grid-template-columns: 1fr; align-items: start; }
  .sports__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--wide { grid-column: span 1; }
  .card:last-child { grid-column: span 2; }
  .card:last-child .card__media { aspect-ratio: 16 / 9; }
  .flagship { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .nav, .phone { display: none; }
  .burger { display: block; }
  .menu[hidden] { display: none; }
  .menu:not([hidden]) { display: block; }

  .quotes { grid-template-columns: 1fr; gap: 52px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }

  .events__list a { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; row-gap: 8px; }
  .events__date { grid-column: 1; }
  .events__name { grid-column: 1; }
  .events__where { grid-column: 1; text-align: left; }
  .events__go { grid-column: 2; grid-row: 1 / span 3; align-self: start; }


  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }

  .display--hero { font-size: clamp(4.2rem, 21vw, 6.2rem); }
  .display--location { font-size: clamp(3.4rem, 17vw, 5rem); }
  .display--cta { font-size: clamp(3.8rem, 20vw, 5.6rem); }
  .nations__track { font-size: clamp(3.6rem, 17vw, 6rem); }
  .head { font-size: clamp(2.1rem, 8.5vw, 3rem); max-width: none; }
  .line--outline { -webkit-text-stroke-width: 1.5px; }

  .logo img { height: 22px; }
  .hero__content { padding-bottom: 92px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .scroll-cue { bottom: 26px; }
  .scroll-cue__line { width: 36px; }

  .site-header__end .btn { display: none; }  /* the menu carries the CTA at this width */
  .sports__grid { grid-template-columns: 1fr; }
  .card:last-child { grid-column: span 1; }
  .card__media, .card--wide .card__media, .card:last-child .card__media { aspect-ratio: 4 / 3; }
  .rows li { grid-template-columns: 40px minmax(0, 1fr); }
  .quote__portrait { width: 100%; }
  .site-footer__nav { grid-template-columns: 1fr; gap: 28px; }
  .panel { padding: 22px 18px; }
}
