/* ============================================================
   Downtown Doral × World Cup 2026 — Landing Page
   Brand system extracted from Downtown Doral Brand Book 2024
   ============================================================ */

:root {
  /* Primary brand */
  --navy: #12284B;
  --navy-deep: #0b1830;
  --navy-soft: #1b3563;
  --blue: #0082B8;
  --coral: #E77E7C;
  --yellow: #F2B53B;
  --white: #ffffff;
  --cream: #F6F3EC;
  --cream-deep: #efe9dc;
  --ink: #12284B;
  --muted: #5f6f88;

  /* Accent system (driven by Tweaks) */
  --accent: var(--coral);
  --accent-2: var(--yellow);
  --accent-3: var(--blue);
  /* Darkened accent for text on light surfaces (>=4.5:1 contrast, WCAG AA) */
  --accent-ink: color-mix(in srgb, var(--accent) 58%, #170303);

  /* Type */
  --font-display: 'Jost', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Motion */
  --marquee-duration: 48s;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.serif-em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { color: var(--accent); margin-bottom: 1.1rem; display: block; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.9vw, 3.1rem);
  letter-spacing: -0.02em;
}
.section-head p { margin-top: 1.25rem; font-size: 1.12rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }

.section--navy { background: var(--navy); color: var(--white); }
.section--navy .section-head p { color: rgba(255,255,255,0.72); }
.section--cream { background: var(--cream); color: var(--ink); }

/* Section rhythm tweak: force navy everywhere */
body[data-rhythm="navy"] .section--cream { background: var(--navy-deep); color: var(--white); }
body[data-rhythm="navy"] .section--cream .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { box-shadow: 0 14px 34px -12px var(--accent); }
.btn--solid { background: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--ink-ghost { background: transparent; color: var(--navy); border-color: rgba(18,40,75,0.55); }
.btn--ink-ghost:hover { background: rgba(18,40,75,0.06); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--pad);
}
.topbar__logo { height: 56px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 1.5rem; }
.topbar__link {
  font-family: var(--font-display); font-weight: 500; color: #fff;
  font-size: 0.95rem; letter-spacing: 0.02em; opacity: 0.85;
  padding-block: 0.35rem; /* >=24px target height (WCAG 2.5.8) */
}
.topbar__link:hover { opacity: 1; }
.topbar__langs { display: flex; align-items: center; gap: 0.55rem; padding-left: 0.4rem; }
.lang-flag {
  display: block; width: 27px; height: 18px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4); opacity: 0.5;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lang-flag:hover { opacity: 1; transform: translateY(-1px); }
.lang-flag[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--accent); cursor: default; }
.lang-flag svg { display: block; width: 100%; height: 100%; }
@media (max-width: 720px){ .topbar__langs { padding-left: 0; } }
@media (max-width: 720px){ .topbar__nav { display: none; } .topbar__logo { height: 44px; } }

/* ---------- mobile nav (hamburger) ---------- */
.topbar__burger { display: none; }
.mobile-nav { display: none; }
@media (max-width: 720px){
  .topbar__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 9px; margin-left: 0.1rem;
    border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .topbar__burger span {
    display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s;
  }
  .topbar.nav-open .topbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar.nav-open .topbar__burger span:nth-child(2) { opacity: 0; }
  .topbar.nav-open .topbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 39;
    background: var(--navy-deep);
    padding-inline: var(--pad);
    max-height: 0; overflow: hidden;
    box-shadow: 0 24px 40px -24px rgba(0,0,0,0.7);
    transition: max-height .38s ease, padding-block .38s ease, border-color .38s ease;
    border-top: 1px solid rgba(255,255,255,0);
  }
  .topbar.nav-open .mobile-nav {
    max-height: 70vh; padding-block: 0.4rem 1.1rem;
    border-top-color: rgba(255,255,255,0.12);
  }
  .mobile-nav a {
    font-family: var(--font-display); font-weight: 500; font-size: 1.06rem;
    color: rgba(255,255,255,0.88); padding: 0.92rem 0.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-nav a:last-child { border-bottom: 0; }
  .mobile-nav a:active { color: var(--accent); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; color: #fff;
  background: var(--navy-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 62%;
  opacity: 0; transition: opacity .8s ease;
}
.hero__layer--dusk { background-image: url('assets/doral-dusk-web.jpg'); }
.hero__layer--night { background-image: url('assets/doral-night-web.jpg'); }
.hero__layer--gradient {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(0,130,184,0.45), transparent 55%),
    radial-gradient(100% 80% at 10% 100%, rgba(231,126,124,0.3), transparent 60%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep) 70%);
}
[data-hero-bg="dusk"] .hero__layer--dusk { opacity: 1; }
[data-hero-bg="night"] .hero__layer--night { opacity: 1; }
[data-hero-bg="gradient"] .hero__layer--gradient { opacity: 1; }

.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,18,38,0.66) 0%, rgba(8,18,38,0.30) 28%, rgba(8,18,38,0.64) 62%, rgba(8,18,38,0.97) 100%),
    linear-gradient(74deg, rgba(8,18,38,0.62) 0%, rgba(8,18,38,0.18) 48%, transparent 66%);
}
[data-hero-bg="gradient"] .hero__scrim { background: linear-gradient(180deg, rgba(11,24,48,0.25), rgba(11,24,48,0.65)); }

/* faint crest watermark */
.hero__crest {
  position: absolute; z-index: 1; right: -7%; top: 2%;
  width: min(34vw, 460px); opacity: 0.045;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
@media (max-width: 860px){ .hero__crest { display: none; } }

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--pad) clamp(3.5rem, 7vw, 6rem);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  color: #fff; margin-bottom: 1.7rem;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(231,126,124,0.25); }
.hero__eyebrow .txt { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.8rem; }

.hero h1 {
  font-size: clamp(2.25rem, 5.1vw, 4.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 .lead { color: rgba(255,255,255,0.62); display: block; font-size: 0.62em; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.35em; }
.hero h1 .pop { color: var(--accent); }
.hero h1 .wc { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

.hero__sub {
  margin-top: 1.8rem; max-width: 52ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6; color: rgba(255,255,255,0.82);
}
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__meta {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 2.2rem;
  border-top: 1px solid rgba(255,255,255,0.16); padding-top: 1.5rem;
}
.hero__meta .stat { min-width: 92px; }
.hero__meta .stat b { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; display: block; line-height: 1; color: #fff; }
.hero__meta .stat span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.5rem; display: block; }
.hero__meta .stat b .accent { color: var(--accent); }

/* ============================================================
   RESTAURANT MARQUEE
   ============================================================ */
.marquee-section { padding-block: clamp(4rem, 7vw, 6rem); }
.marquee-section .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee var(--marquee-duration) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-cell {
  flex: 0 0 auto;
  width: clamp(160px, 16vw, 210px);
  height: 132px;
  display: grid; place-items: center;
  padding: 0 1.4rem;
  position: relative;
}
.logo-cell::after {
  content: ""; position: absolute; right: 0; top: 28%; height: 44%;
  width: 1px; background: rgba(18,40,75,0.12);
}
.logo-cell img {
  max-width: 100%; max-height: 64px; width: auto; height: auto;
  object-fit: contain;
  opacity: 0.82; transition: opacity .3s, transform .3s;
}
.logo-cell:hover img { opacity: 1; transform: scale(1.04); }
/* on navy rhythm, invert black logos to white */
body[data-rhythm="navy"] .logo-cell img { filter: brightness(0) invert(1); opacity: 0.7; }
body[data-rhythm="navy"] .logo-cell::after { background: rgba(255,255,255,0.14); }

.marquee-note { text-align: center; margin-top: 2.4rem; font-size: 0.95rem; color: var(--muted); }
body[data-rhythm="navy"] .marquee-note { color: rgba(255,255,255,0.6); }

/* ============================================================
   SCHEDULE
   ============================================================ */
.legend { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2rem; }
.legend__item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; }
.legend__swatch { width: 16px; height: 16px; border-radius: 5px; flex: none; }
.sw-rest { background: var(--accent); }
.sw-park { background: var(--accent-3); }
.sw-plaza { background: var(--accent-2); }
.legend__item .lbl b { font-family: var(--font-display); font-weight: 600; }
.legend__item .lbl span { display:block; color: rgba(255,255,255,0.55); font-size: 0.8rem; }

.section-head p.legend__note,
.legend__note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-top: 1.4rem; width: 100%; max-width: none;
  padding: 0.7rem 0.9rem;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent-3) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-3) 30%, transparent);
  border-left: 3px solid var(--accent-3);
  font-size: 0.74rem; line-height: 1.5; color: rgba(255,255,255,0.78);
}
.legend__note .legend__swatch { margin-top: 2px; width: 11px; height: 11px; border-radius: 3px; }
.legend__note b { color: #fff; font-weight: 600; }

.sched { margin-top: 2.8rem; }
.phase-band {
  display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap;
  margin: 3rem 0 0.4rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.phase-band:first-child { margin-top: 0; }
.phase-band .num { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--accent); }
.phase-band h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: #fff; }
.phase-band .span { margin-left: auto; font-size: 0.85rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

/* table */
.sched-table { width: 100%; }
.sched-row {
  display: grid;
  grid-template-columns: 122px 1fr 96px 88px 88px 88px;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .25s;
}
.sched-row:hover { background: rgba(255,255,255,0.04); }
.sched-row.head {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-block: 0.8rem;
}
.sched-row.head span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.sched-row.head .col-venue { text-align: center; }

.col-date b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: block; color: #fff; }
.col-date span { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.col-match b { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: #fff; display: block; letter-spacing: -0.01em; }
.col-match .stage { font-size: 0.78rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; display: none; }
.col-match .host { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }
.col-time { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: rgba(255,255,255,0.85); }
.col-time .tba { color: var(--accent-2); font-size: 0.82rem; letter-spacing: 0.08em; }
.col-venue { text-align: center; }
.dot-venue {
  display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  align-items: center; justify-content: center;
}
.dot-venue svg { width: 13px; height: 13px; }
.dot-rest { background: var(--accent); color: var(--navy); }
.dot-park { background: var(--accent-3); color: #fff; }
.dot-plaza { background: var(--accent-2); color: var(--navy); }
.dot-none { color: rgba(255,255,255,0.34); font-size: 1.1rem; }

.sched-row.prime { background: linear-gradient(90deg, rgba(242,181,59,0.08), transparent 60%); }
.sched-row.prime .col-time { color: var(--accent-2); }
.prime-tag {
  display: inline-block; margin-left: 0.55rem; font-family: var(--font-display);
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid rgba(242,181,59,0.4);
  border-radius: 999px; padding: 0.12em 0.6em; vertical-align: middle;
}

/* Bronze Final & Final — match labels */
.match-label {
  display: inline-block; margin-left: 0.55rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; padding: 0.18em 0.7em; vertical-align: middle;
  white-space: nowrap;
}
.match-label--bronze {
  color: #eccaa0; border: 1px solid rgba(205,150,86,0.55);
  background: rgba(205,150,86,0.14);
}
.match-label--final {
  color: var(--navy); border: 1px solid var(--accent-2);
  background: var(--accent-2);
}
.sched-row.is-bronze { background: linear-gradient(90deg, rgba(205,150,86,0.12), transparent 70%); }
.sched-row.is-final { background: linear-gradient(90deg, rgba(242,181,59,0.14), transparent 70%); }

.sched-foot { margin-top: 1.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

@media (max-width: 860px){
  .sched-row { grid-template-columns: 92px 1fr 70px; grid-template-areas: "date match time" "venues venues venues"; row-gap: 0.7rem; }
  .col-date { grid-area: date; }
  .col-match { grid-area: match; }
  .col-time { grid-area: time; text-align: right; }
  .sched-row.head { display: none; }
  .venue-mobile { grid-area: venues; display: flex; gap: 0.6rem; flex-wrap: wrap; }
  .col-venue.desktop-venue { display: none; }
  .venue-chip { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(255,255,255,0.06); }
  .venue-chip .swatch { width: 9px; height: 9px; border-radius: 50%; }
}
@media (min-width: 861px){ .venue-mobile { display: none; } }

/* ============================================================
   PASSPORT
   ============================================================ */
.passport { position: relative; overflow: hidden; }
.passport__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: end; }
@media (max-width: 880px){ .passport__head { grid-template-columns: 1fr; gap: 1.5rem; } }

.passport__title h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.passport__title .script { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent); }
.passport__lead { font-size: 1.12rem; line-height: 1.65; color: var(--muted); }
body[data-rhythm="navy"] .passport__lead { color: rgba(255,255,255,0.72); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.2rem; }
@media (max-width: 880px){ .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white); border-radius: 20px; padding: 2.1rem 1.9rem;
  border: 1px solid rgba(18,40,75,0.08);
  box-shadow: 0 30px 60px -40px rgba(18,40,75,0.4);
  position: relative; overflow: hidden;
}
body[data-rhythm="navy"] .step { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); box-shadow: none; }
.step__num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 1.4rem;
}
.step__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.3rem; }
.step__icon svg { width: 26px; height: 26px; }
.step:nth-child(1) .step__icon { background: rgba(0,130,184,0.12); color: var(--blue); }
.step:nth-child(2) .step__icon { background: rgba(231,126,124,0.16); color: var(--coral); }
.step:nth-child(3) .step__icon { background: rgba(242,181,59,0.18); color: #c98f12; }
.step h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
body[data-rhythm="navy"] .step h3 { color: #fff; }
.step p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
body[data-rhythm="navy"] .step p { color: rgba(255,255,255,0.68); }

.passport__app {
  margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem;
  padding: 2rem; border-radius: 20px;
  background: var(--navy); color: #fff;
}
body[data-rhythm="navy"] .passport__app { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.passport__app .pa-text { flex: 1 1 280px; }
.passport__app .pa-text b { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; display: block; margin-bottom: 0.3rem; }
.passport__app .pa-text span { color: rgba(255,255,255,0.7); font-size: 0.98rem; }
.store-badges { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: #fff; color: var(--navy); border-radius: 12px;
  padding: 0.7rem 1.2rem; transition: transform .25s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-txt { line-height: 1.1; }
.store-badge .sb-txt small { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; display:block; }
.store-badge .sb-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }

.fineprint { margin-top: 2.2rem; font-size: 0.84rem; line-height: 1.7; color: var(--muted); max-width: 80ch; }
body[data-rhythm="navy"] .fineprint { color: rgba(255,255,255,0.55); }
.fineprint b { color: inherit; font-weight: 700; }

/* passport mockup layout */
.passport__layout {
  margin-top: 3rem;
  display: grid; grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 900px){ .passport__layout { grid-template-columns: 1fr; gap: 2.6rem; } }

.passport__device { display: flex; justify-content: center; }
.passport__device img {
  width: 100%; max-width: 360px; height: auto;
  border-radius: 26px;
  box-shadow: 0 50px 90px -40px rgba(11,24,48,0.65), 0 0 0 1px rgba(18,40,75,0.06);
}
@media (max-width: 900px){ .passport__device img { max-width: 300px; } }

/* vertical step list beside phone */
.psteps { display: grid; gap: 1.1rem; }
.pstep {
  display: grid; grid-template-columns: 54px 1fr; gap: 1.3rem; align-items: start;
  background: var(--white); border: 1px solid rgba(18,40,75,0.08);
  border-radius: 16px; padding: 1.4rem 1.5rem;
  box-shadow: 0 24px 50px -42px rgba(18,40,75,0.5);
}
body[data-rhythm="navy"] .pstep { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); box-shadow: none; }
.pstep__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; }
.pstep__icon svg { width: 26px; height: 26px; }
.pstep:nth-child(1) .pstep__icon { background: rgba(0,130,184,0.12); color: var(--blue); }
.pstep:nth-child(2) .pstep__icon { background: rgba(231,126,124,0.16); color: var(--coral); }
.pstep:nth-child(3) .pstep__icon { background: rgba(242,181,59,0.2); color: #c98f12; }
.pstep__num { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 0.35rem; }
.pstep h3 { font-size: 1.18rem; margin-bottom: 0.3rem; }
body[data-rhythm="navy"] .pstep h3 { color: #fff; }
.pstep p { font-size: 0.96rem; line-height: 1.55; color: var(--muted); }
body[data-rhythm="navy"] .pstep p { color: rgba(255,255,255,0.66); }
.psteps .passport__app { margin-top: 0.6rem; }

/* ============================================================
   SOCCER GAME BAND
   ============================================================ */
.game-band {
  position: relative; isolation: isolate;
  min-height: 460px; display: flex; align-items: center;
  background: #0b1830;
  overflow: hidden;
}
.game-band__img {
  position: absolute; inset: 0; z-index: -2;
  background: url('assets/soccer-action-web.jpg') center 32% / cover no-repeat;
}
.game-band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,18,38,0.92) 0%, rgba(8,18,38,0.7) 38%, rgba(8,18,38,0.28) 70%, rgba(8,18,38,0.55) 100%),
    linear-gradient(180deg, rgba(8,18,38,0.4), rgba(8,18,38,0.55));
}
.game-band__inner { max-width: var(--maxw); margin: 0 auto; padding: 3.4rem var(--pad); width: 100%; }
.game-band .eyebrow { color: var(--accent); display: block; margin-bottom: 1rem; }
.game-band h2 {
  color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.4rem);
  max-width: 16ch; letter-spacing: -0.02em; text-wrap: balance;
}
.game-band h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent); }
.game-band p { margin-top: 1.2rem; color: rgba(255,255,255,0.82); font-size: 1.08rem; line-height: 1.6; max-width: 46ch; }
.game-band__cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   COMMUNITY — THE GAME OF LIFE
   ============================================================ */
.rule-divider { padding-block: 0.5rem; }
.rule-divider .wrap { display: flex; align-items: center; gap: 1.4rem; }
.rule-divider__line { flex: 1; height: 1px; background: rgba(18,40,75,0.16); }
body[data-rhythm="navy"] .rule-divider__line { background: rgba(255,255,255,0.16); }
.rule-divider__dots { display: flex; gap: 0.55rem; }
.rule-divider__dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }

.community__grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 940px){ .community__grid { grid-template-columns: 1fr; gap: 2.6rem; } }
.community__copy h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.community__copy h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--accent); }
.community__copy .lead { margin-top: 1.4rem; font-size: 1.14rem; line-height: 1.66; color: var(--ink); font-weight: 500; }
.community__copy p.body { margin-top: 1rem; font-size: 1.04rem; line-height: 1.65; color: var(--muted); max-width: 52ch; }
body[data-rhythm="navy"] .community__copy .lead { color: #fff; }
body[data-rhythm="navy"] .community__copy p.body { color: rgba(255,255,255,0.7); }
.community__cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.community__media { position: relative; padding-bottom: 2.6rem; padding-right: 2.4rem; }
.community__media .main {
  width: 100%; border-radius: 20px; aspect-ratio: 3/2.05; object-fit: cover; object-position: center;
  box-shadow: 0 40px 80px -45px rgba(18,40,75,0.55);
}
.community__media .inset {
  position: absolute; right: 0; bottom: 0; width: 33%; max-width: 168px;
  aspect-ratio: 3/4; object-fit: cover; object-position: center; border-radius: 16px;
  border: 5px solid var(--cream); box-shadow: 0 30px 60px -35px rgba(18,40,75,0.6);
}
body[data-rhythm="navy"] .community__media .inset { border-color: var(--navy-deep); }
.community__badge {
  position: absolute; left: -0.4rem; bottom: 2.1rem; z-index: 3;
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 1rem 1.3rem; box-shadow: 0 24px 50px -28px rgba(0,0,0,0.6);
  text-align: left; max-width: 196px;
}
body[data-rhythm="navy"] .community__badge { background: var(--accent); color: var(--navy); }
.community__badge b { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; display: block; line-height: 1; }
.community__badge b .accent { color: var(--accent); }
body[data-rhythm="navy"] .community__badge b .accent { color: var(--navy); }
.community__badge span { display: block; margin-top: 0.4rem; font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.78); line-height: 1.35; }
body[data-rhythm="navy"] .community__badge span { color: rgba(18,40,75,0.78); }
@media (max-width: 520px){
  .community__media { padding-right: 1.4rem; padding-bottom: 1.8rem; }
  .community__badge { padding: 0.8rem 1rem; } .community__badge b { font-size: 1.5rem; }
}

/* ============================================================
   PLAN YOUR VISIT
   ============================================================ */
.visit { position: relative; }
.visit__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px){ .visit__grid { grid-template-columns: 1fr; } }

.visit__info h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.visit__info .lead { margin-top: 1.3rem; font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,0.75); max-width: 46ch; }
.visit__address { margin-top: 2.2rem; display: grid; gap: 1.4rem; }
.addr-row { display: flex; gap: 1rem; align-items: flex-start; }
.addr-row .ico { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(255,255,255,0.07); display: grid; place-items: center; color: var(--accent); }
.addr-row .ico svg { width: 20px; height: 20px; }
.addr-row b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: block; color: #fff; }
.addr-row span { color: rgba(255,255,255,0.65); font-size: 0.96rem; line-height: 1.5; }
.visit__cta { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* stylized map */
.map {
  position: relative; aspect-ratio: 4/3.4; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #15305c, #0d1f3d);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.8);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(1.05); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%);
  z-index: 3; text-align: center;
}
.map__pin .pin-dot {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  background: var(--accent); transform: rotate(-45deg);
  margin: 0 auto; box-shadow: 0 10px 24px -6px rgba(231,126,124,0.8);
  display: grid; place-items: center;
  border: 3px solid #fff;
}
.map__pin .pin-dot::after { content:""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: rotate(45deg); }
.map__pin .pin-pulse {
  position: absolute; left: 50%; top: 15px; transform: translate(-50%,-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
  opacity: 0.5; z-index: -1; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0%{transform:translate(-50%,-50%) scale(1);opacity:.5;} 100%{transform:translate(-50%,-50%) scale(3.6);opacity:0;} }
.map__label {
  margin-top: 0.7rem; background: #fff; color: var(--navy);
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
}
.map__chip {
  position: absolute; z-index: 2; background: rgba(255,255,255,0.92); color: var(--navy);
  font-family: var(--font-display); font-weight: 500; font-size: 0.72rem;
  padding: 0.28rem 0.66rem; border-radius: 8px; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: #fff; padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 760px){ .footer__top { grid-template-columns: 1fr; gap: 2rem; } }
.footer__logo { height: 92px; width: auto; margin-bottom: 1.6rem; }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: rgba(255,255,255,0.9); max-width: 22ch; line-height: 1.3; }
.footer__tagline b { font-style: italic; color: var(--accent); font-weight: 500; }
.footer__codina { display: inline-flex; flex-direction: column; gap: 0.6rem; margin-top: 2rem; }
.footer__codina-label { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.68rem; color: rgba(255,255,255,0.62); }
.footer__codina img { height: 22px; width: auto; opacity: 0.9; transition: opacity .25s; }
.footer__codina:hover img { opacity: 1; }
.footer__links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__links a { color: rgba(255,255,255,0.7); font-size: 0.98rem; }
.footer__links a:hover { color: #fff; }
.footer__links .ft-head { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.74rem; color: rgba(255,255,255,0.62); margin-bottom: 0.4rem; }
.footer__bar { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference){
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   ACCESSIBILITY — WCAG 2.2 Level AA
   ============================================================ */

/* --- 1.4.3 Contrast: accent-coloured text on light surfaces --- */
.section--cream .section-head .eyebrow,
.passport .section-head .script,
.community__copy h2 em,
.pstep__num,
.step__num { color: var(--accent-ink); }
/* On the all-navy rhythm those surfaces are dark again — restore bright accent */
body[data-rhythm="navy"] .section-head .eyebrow,
body[data-rhythm="navy"] .community__copy h2 em,
body[data-rhythm="navy"] .passport .section-head .script,
body[data-rhythm="navy"] .pstep__num,
body[data-rhythm="navy"] .step__num { color: var(--accent); }

/* --- 2.4.1 Bypass blocks: skip link --- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.2rem; border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* --- 2.4.7 Focus visible: clearly visible on light AND dark surfaces.
   Transparent outline stays visible in Windows High-Contrast / forced-colors. --- */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(11,24,48,0.95);
}
/* the accent button sits on a light ring already — invert the halo for contrast */
.btn--accent:focus-visible { box-shadow: 0 0 0 2px var(--navy), 0 0 0 5px #fff; }

/* --- 2.5.8 Target size: enlarge the small language-flag hit area to >=24px --- */
.lang-flag { position: relative; }
.lang-flag::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 8px); height: 26px;
}

/* --- 2.2.2 Pause, stop, hide: marquee controls --- */
.marquee.is-paused .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee-tools { display: flex; justify-content: center; margin-top: 1.6rem; }
.marquee-pause {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--ink); background: transparent;
  border: 1.5px solid rgba(18,40,75,0.5); border-radius: 999px;
  padding: 0.5rem 1.1rem; cursor: pointer;
  transition: background .2s ease;
}
.marquee-pause:hover { background: rgba(18,40,75,0.06); }
.marquee-pause .mp-icon { width: 12px; height: 12px; position: relative; flex: none; }
.marquee-pause .mp-icon::before,
.marquee-pause .mp-icon::after {
  content: ""; position: absolute; top: 0; width: 3.5px; height: 12px;
  background: currentColor; border-radius: 1px;
}
.marquee-pause .mp-icon::before { left: 1px; }
.marquee-pause .mp-icon::after { right: 1px; }
.marquee-pause[aria-pressed="true"] .mp-icon::after { display: none; }
.marquee-pause[aria-pressed="true"] .mp-icon::before {
  left: 1px; width: 0; height: 0; background: transparent; border-radius: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 11px solid currentColor;
}
body[data-rhythm="navy"] .marquee-pause { color: #fff; border-color: rgba(255,255,255,0.5); }
body[data-rhythm="navy"] .marquee-pause:hover { background: rgba(255,255,255,0.1); }

/* --- 2.3.3 / 2.2.2 Reduced motion: stop all looping & auto motion --- */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .marquee__track { animation: none !important; transform: none !important; }
  .map__pin .pin-pulse { animation: none !important; }
  .marquee-tools { display: none; }
  .btn:hover, .store-badge:hover, .lang-flag:hover,
  .logo-cell:hover img, .footer__codina:hover img { transform: none !important; }
}

/* Custom CSS  */
.skip-schedule-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-schedule-link:focus {
    position: absolute;
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    overflow: visible;
    z-index: 9999;
    padding: 12px 16px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
}
.sched-row.is-past{
  display: none !important;
}