/* =========================================================
   IAFF Hockey Tournament 2027
   Edit the tokens below to re-theme the whole site.
   ========================================================= */
:root {
  --navy-900: #07111f;
  --navy-800: #0b1a2e;
  --navy-700: #13263f;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --gold: #d6a740;
  --ice-50: #f5f8fb;
  --ice-100: #e8eff5;
  --ice-200: #d3dee8;
  --ink: #0e1a28;
  --muted: #5a6b7d;
  --white: #ffffff;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(7, 17, 31, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(7, 17, 31, 0.45);
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 32px); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(200,16,46,.7); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy-800); }
.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--red); }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

.link-arrow {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--red); text-decoration: none;
}
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.nav__brand strong { color: var(--red); }
.nav__menu { display: flex; align-items: center; gap: 0.25rem; }
.nav__menu a {
  position: relative;
  color: rgba(255,255,255,.8); text-decoration: none;
  font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  transition: color .2s;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--white); }
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.2rem;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__menu a.is-active::after, .nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu .nav__cta {
  margin-left: 0.5rem; background: var(--red); color: var(--white);
  border-radius: 999px; padding: 0.55rem 1.2rem;
}
.nav__menu .nav__cta:hover, .nav__menu .nav__cta.is-active { background: var(--red-dark); }

.nav__toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 1000px); min-height: min(100svh, 1000px);
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
  background: var(--navy-900);
  padding: calc(var(--nav-h) + 40px) 0 100px;
}
.hero__bg {
  position: absolute; inset: 0;
  /* Swap in a real photo: add  url("../assets/hero.jpg") center/cover  as the last layer */
  background:
    linear-gradient(180deg, rgba(7,17,31,.35) 0%, rgba(7,17,31,.85) 75%, var(--navy-900) 100%),
    radial-gradient(ellipse at 75% 30%, rgba(200,16,46,.45), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(60,120,190,.35), transparent 50%),
    url("../assets/rink-lines.svg") center/cover no-repeat,
    linear-gradient(135deg, #0d2340, #07111f);
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift { to { transform: scale(1.12) translate(-1%, -1%); } }

.hero__content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem;
}
.hero__mascot {
  width: clamp(260px, 30vw, 400px); height: auto;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(200,16,46,.18);
}
.hero__title {
  display: flex; flex-direction: column;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 800; line-height: 0.88; margin-bottom: 1.5rem;
}
.hero__title .accent { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero__year { color: var(--red); }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,.9);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.countdown { display: flex; gap: 0.75rem; margin: 2rem 0 2.25rem; flex-wrap: wrap; }
.countdown > div {
  min-width: 86px; padding: 0.85rem 0.9rem; text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}
.countdown span {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown small {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0);} 30% {opacity:1;} 100% { opacity: 0; transform: translateY(14px);} }

/* ---------- Facts strip ---------- */
.facts { background: var(--red); color: var(--white); position: relative; z-index: 2; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact {
  padding: 1.6rem 1rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
}
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.fact span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.9rem; opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: 64px 0; }
.section--ice { background: var(--ice-50); }
.section--dark {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(200,16,46,.18), transparent 50%),
    var(--navy-800);
  color: rgba(255,255,255,.82);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section__head--light p:last-child { color: rgba(255,255,255,.7); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p { color: var(--muted); }
.split .lead { color: var(--ink); }

.host { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ice-200); }
.host small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; }
.host strong { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; }
.host__logo { width: 80px; height: 80px; flex: none; object-fit: contain; }

/* About photo: works with the placeholder or a real <img>. The red accent frame
   sits inside the figure's own margin so it never spills outside the layout. */
.about__photo { position: relative; isolation: isolate; margin: 0 18px 18px 0; }
.about__photo::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 45%; height: 45%;
  border: 3px solid var(--red); border-radius: var(--radius); z-index: -1;
}
.about__photo > img,
.about__photo > .ph {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* ---------- Placeholders (delete once real assets are in) ---------- */
.ph {
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(14,26,40,.04) 14px 28px),
    var(--ice-100);
  border: 1px dashed var(--ice-200);
}
.ph small { font-family: var(--font-body); letter-spacing: 0; font-weight: 400; text-transform: none; }
.ph--photo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.ph--circle { width: 64px; height: 64px; border-radius: 50%; font-size: 0.65rem; line-height: 1.2; flex: none; }
.ph--map { height: 340px; border-radius: var(--radius); margin-top: 2rem; }
.ph--logo { height: 90px; border-radius: var(--radius-sm); font-size: 0.85rem; transition: transform .2s; }
.ph--logo:hover { transform: translateY(-3px); }
.ph--avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.25rem;
  font-size: 1.6rem; color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--navy-700)); border: 3px solid rgba(255,255,255,.15);
}

/* ---------- Tabs / Schedule ---------- */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 2.5rem;
}
.tabs button {
  border: 0; background: transparent; cursor: pointer;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  transition: background .2s, color .2s;
}
.tabs button span { font-weight: 500; opacity: .7; margin-left: 0.25rem; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--navy-800); color: var(--white); }

.timeline { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.timeline li {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--ice-200);
  animation: fadeUp .45s var(--ease) both;
}
.timeline li:nth-child(2) { animation-delay: .05s; }
.timeline li:nth-child(3) { animation-delay: .1s; }
.timeline li:nth-child(4) { animation-delay: .15s; }
.timeline time {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.timeline h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.timeline p { margin: 0; color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card, .hotel {
  background: var(--white); border: 1px solid var(--ice-200);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover, .hotel:hover, .venue:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p, .hotel p { color: var(--muted); margin: 0; }
.card__tag {
  display: inline-block; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--navy-800); background: var(--ice-100);
  padding: 0.3rem 0.75rem; border-radius: 999px;
}
.card__tag--red { background: var(--red); color: var(--white); }
.card h3 { font-size: 1.9rem; }

.rules {
  margin-top: 3rem; padding: 2.5rem; border-radius: var(--radius);
  background: var(--navy-800); color: rgba(255,255,255,.85);
  display: grid; grid-template-columns: 220px 1fr; gap: 1rem 2.5rem; align-items: start;
}
.rules h3 { color: var(--white); font-size: 2rem; }
.rules .link-arrow { grid-column: 2; color: var(--gold); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); box-shadow: inset 0 0 0 4px var(--navy-800), 0 0 0 1px var(--red);
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.pricing--single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.pricing--single .price--featured { transform: none; }
.price {
  position: relative; padding: 2.25rem 2rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.price--featured {
  background: var(--white); color: var(--ink); border-color: var(--white);
  box-shadow: var(--shadow-lg); transform: translateY(-12px);
}
.price--featured h3 { color: var(--ink) !important; }
.price__badge {
  position: absolute; top: -14px; left: 2rem;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.8rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
}
.price__amt { font-family: var(--font-display); font-weight: 800; font-size: 3.5rem; line-height: 1; margin: 0.25rem 0 0.4rem; color: var(--white); }
.price--featured .price__amt { color: var(--red); }
.price__amt small { font-size: 1rem; font-weight: 600; opacity: .6; margin-left: 4px; }
.price__note { font-size: 0.9rem; opacity: .7; }
.price ul { list-style: none; padding: 1.25rem 0 0; margin: 0 0 1.5rem; border-top: 1px solid rgba(127,127,127,.2); display: grid; gap: 0.55rem; flex: 1; align-content: start; }
.price li::before { content: "✓"; color: var(--red); font-weight: 700; margin-right: 0.6rem; }

.steps {
  list-style: none; margin: 4rem 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.steps li { counter-increment: step; position: relative; padding-top: 3.5rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.steps li::after {
  content: ""; position: absolute; top: 1.3rem; left: 4rem; right: -0.75rem; height: 1px; background: rgba(255,255,255,.15);
}
.steps li:last-child::after { display: none; }
.steps strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; color: var(--white); letter-spacing: 0.05em; }
.steps span { font-size: 0.95rem; }

/* ---------- Venue / Hotel ---------- */
.venue {
  background: var(--white); border: 1px solid var(--ice-200); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.venue .ph--photo { border-radius: 0; border: 0; }
.venue__photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.venue h3 { font-size: 1.4rem; }
.photo-credit { margin: 1rem 0 0; font-size: 0.8rem; color: var(--muted); }
.photo-credit a { color: inherit; }
.venue { display: flex; flex-direction: column; }
.venue__body { padding: 1.5rem 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.venue__body .link-arrow { margin-top: auto; }
.venue__body p { color: var(--muted); }
.hotel { display: flex; flex-direction: column; align-items: flex-start; }
.hotel h3 { font-size: 1.7rem; margin-bottom: 0.25rem; }
.hotel__rate { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--red) !important; line-height: 1.1; margin-bottom: 0.75rem !important; }
.hotel__rate small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.hotel p:not(.hotel__rate) { flex: 1; margin-bottom: 1.5rem; }

.travel-notes {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  padding: 2rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--ice-200);
}
.travel-notes h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.travel-notes p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Sponsors ---------- */
.sponsors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 2rem; }
#sponsors .section__head { margin: 0 auto 2rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white); border: 1px solid var(--ice-200); border-radius: var(--radius-sm);
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 400;
  background: var(--ice-100); color: var(--navy-800); transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq details p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.person {
  text-align: center; padding: 2.25rem 1.5rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 0.2rem;
  transition: background .25s, transform .25s var(--ease);
}
.person:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.person h3 { margin-bottom: 0; font-size: 1.6rem; }
.person__role { color: var(--gold); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 0.9rem; }
.person a { text-decoration: none; color: rgba(255,255,255,.8); font-size: 0.95rem; word-break: break-word; }
.person a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand strong { display: block; color: var(--white); font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.04em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); font-size: 0.75rem; font-weight: 600; transition: background .2s, border-color .2s;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* ---------- Payment page ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--navy-900);
  padding: calc(var(--nav-h) + 64px) 0 72px;
}
.page-hero .hero__bg { animation: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 800; line-height: .95; margin-bottom: 1rem; }
.page-hero p:last-child { max-width: 640px; color: rgba(255,255,255,.8); font-size: 1.1rem; margin: 0; }

.pay { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: start; }
.pay__card {
  background: var(--white); border: 1px solid var(--ice-200);
  border-radius: var(--radius); padding: 2rem 1.75rem;
}
.pay__card h2 { font-size: 2rem; }
.pay__card--dark { background: var(--navy-800); color: rgba(255,255,255,.85); border-color: var(--navy-800); }
.pay__card--dark h2, .pay__card--dark h3 { color: var(--white); }
.pay__email {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; margin: 0.5rem 0 1.5rem;
  background: var(--ice-50); border: 1px dashed var(--ice-200); border-radius: var(--radius-sm);
}
.pay__email a {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  color: var(--red); text-decoration: none; overflow-wrap: anywhere; flex: 1;
}
.pay__copy {
  border: 0; cursor: pointer; border-radius: 999px; padding: 0.5rem 1rem;
  background: var(--navy-800); color: var(--white);
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.pay__copy:hover { background: var(--red); }
.pay__steps { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.75rem; }
.pay__steps li::marker { color: var(--red); font-family: var(--font-display); font-weight: 700; }
.pay__amounts { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.pay__amounts th, .pay__amounts td { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; }
.pay__amounts th { font-weight: 500; }
.pay__amounts td { text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--white); }
.pay__amounts small { display: block; font-size: 0.85rem; opacity: .65; }
.pay__note { font-size: 0.9rem; color: var(--muted); margin: 1.5rem 0 0; }
.pay__card--dark .pay__note { color: rgba(255,255,255,.6); }
.pay__card--dark .link-arrow { color: var(--gold); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--delay { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards--4, .contacts { grid-template-columns: repeat(2, 1fr); }
  .sponsors { grid-template-columns: repeat(3, 1fr); }
  .hero__content { grid-template-columns: 1fr; }
  .hero__mascot { display: none; }
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 16px 1.5rem;
    background: rgba(7,17,31,.98);
    transform: translateY(-110%); transition: transform .35s var(--ease);
    z-index: -1;
  }
  .nav__menu.is-open { transform: none; }
  .nav__menu a { padding: 0.9rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__menu a::after { display: none; }
  .nav__menu .nav__cta { margin: 1rem 0 0; text-align: center; }
  .nav.menu-open { background: rgba(7,17,31,.98); }

  .split, .cards--2, .cards--3, .pricing, .travel-notes, .pay { grid-template-columns: 1fr; }
  .about__photo > img, .about__photo > .ph { aspect-ratio: 4 / 3; }
  .price--featured { transform: none; }
  .rules { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .rules .link-arrow { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .steps li::after { display: none; }
}

@media (max-width: 600px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .cards--4, .contacts { grid-template-columns: 1fr; }
  .sponsors { grid-template-columns: repeat(2, 1fr); }
  .countdown > div { min-width: 0; flex: 1; padding: 0.7rem 0.4rem; }
  .countdown span { font-size: 1.9rem; }
  .tabs { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); width: 100%; }
  .tabs button { border-radius: var(--radius-sm); }
  .timeline li { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero__actions .btn { flex: 1; padding-inline: 1rem; white-space: nowrap; font-size: 0.95rem; }
  .about__photo { margin: 0; }
  .about__photo::after { display: none; }
}
