/* ============================================================================
   PGL Inter-League Tournament 2026

   THE GOLD.
   The logo's gold is #F8B000, but a flat fill of it on a web page reads as yellow —
   a highlighter, not a metal. What makes gold look like gold is the RAMP: a specular
   highlight, a mid tone, a shadow, and then a second highlight below it. Every gold
   surface here is built from --metal (or --metal-btn for convex, top-lit things like
   buttons), and flat gold is reserved for small text, where a gradient would only
   turn to mud.

   Two flat golds, because contrast is not symmetric: --gold-on-dark is light enough
   to read on navy, --gold-on-light is a deep bronze that passes on cream.
   ========================================================================= */

:root {
  /* ---- navy: sampled from the flyer's bands and the logo's shield ---- */
  --navy-950: #061224;
  --navy-900: #0a1e38;
  --navy-850: #0d2743;
  --navy-800: #103048;
  --navy-700: #1b4368;

  /* ---- gold ramp ---- */
  --gold-hi:  #fff4cf;
  --gold-100: #f7de95;
  --gold-300: #edc45d;
  --gold-500: #d9a52c;
  --gold-700: #a97a16;
  --gold-900: #6f4e0b;

  --gold-on-dark: #ebc35c;
  --gold-on-light: #94670e;

  /* Metal for text and thin surfaces. Like --metal-btn this has NO dark stop: on a
     serif's thin strokes a bronze band in the middle does not read as shading, it reads
     as a smudge across the word. The sheen comes from the light half being lighter, not
     from the dark half being darker. */
  --metal: linear-gradient(180deg,
    #fff6dc 0%, #f9e2a4 26%, #f0cd72 54%, #e5b950 80%, #f2d590 100%);

  /* Convex metal, for buttons and badges — lit from directly above.
     Deliberately has NO dark trough. An earlier version dipped to a bronze band near
     the bottom to fake a bevel, and at button scale that just read as a dirty smear
     across the middle of the control. This is a clean light-to-gold ramp that only
     deepens gently at the foot; the sense of a raised surface comes from the inset
     highlight and rim below, not from darkening the face itself. */
  --metal-btn: linear-gradient(180deg,
    #ffeeb8 0%, #f8d97f 30%, #efc558 62%, #e3b03a 88%, #edc25c 100%);

  --cream: #f8f4ea;
  --cream-deep: #f1ead9;
  --paper: #ffffff;
  --ink: #0f1e35;
  --ink-soft: #4d5b71;
  --ink-faint: #7b8798;

  --line: rgba(15, 30, 53, .12);
  --line-gold: rgba(217, 165, 44, .42);
  --line-gold-soft: rgba(217, 165, 44, .22);

  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;

  --wrap: 1420px;
  --radius: 4px;             /* the flyer's cards are barely rounded — so are these */
  --radius-lg: 8px;
  --shadow: 0 16px 40px -24px rgba(6, 18, 36, .5);
  --shadow-lg: 0 36px 76px -34px rgba(6, 18, 36, .62);
  --nav-h: 70px;
}

/* ============================ BASE ============================ */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.tf-open, body.tf-open { overflow: hidden; }

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

/* An author-level display value outranks the UA's [hidden] rule, so .btn's
   inline-flex was keeping the sponsor dialog's Continue and Done buttons on screen at
   every step. Anything the markup hides must stay hidden. */
[hidden] { display: none !important; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: .005em; }

:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: var(--gold-on-dark);
  padding: 12px 20px; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* Metallic text. The flat colour is declared first, so a browser that cannot clip a
   background to text still shows gold rather than nothing at all. */
.metal {
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* A hairline bronze edge under the letterforms — this is what stops a gradient fill
     from reading as a flat wash and makes it read as struck metal. */
  filter: drop-shadow(0 1px 0 rgba(111, 78, 11, .55));
}

/* ============================ LAYOUT ============================
   Section padding lives on ONE class. The modifiers change colour only, so nothing
   here can silently cancel the spacing. */

.wrap { width: min(var(--wrap), calc(100% - 56px)); margin-inline: auto; }
.wrap--narrow { width: min(880px, calc(100% - 48px)); }

.section { padding: clamp(66px, 8.5vw, 118px) 0; background: var(--paper); color: var(--ink); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy-900); color: #ccd7e6; }

/* The third ground. Two alternating tones make a page feel like a striped table; a
   warm champagne between them breaks the rhythm and gives the sections that carry the
   most weight — the Cup and the entry form — a ground of their own. Kept pale enough
   that navy body copy still sits comfortably on it. */
.section--gold {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .7), transparent 60%),
    linear-gradient(180deg, #faf0d8 0%, #f4e5bd 100%);
  color: var(--ink);
  border-block: 1px solid rgba(217, 165, 44, .3);
}
/* White cards on the champagne ground, so they lift rather than blend. */
.section--gold .panel { background: var(--paper); }

/* ============================ SECTION GROUNDS ============================
   Every band on this page is lit differently. Three flat tones alternating would read
   as a striped table, and three identical navy slabs read as nothing at all — so each
   section gets its own light source, at its own angle, in its own hue. They are keyed
   by id rather than by a modifier because each one is a single deliberate decision,
   not a reusable style. */

/* THE CUP — the faintest warm ground on the page. The earlier champagne was strong
   enough to read as a colour in its own right and fought the cards sitting on it; this
   is barely more than warm white, and the warmth is what carries, not the tone. */
#cup {
  background:
    radial-gradient(116% 78% at 50% -8%, #ffffff, transparent 62%),
    linear-gradient(180deg, #fdfaf3 0%, #f9f3e6 100%);
}

/* THE FORMAT — clean white that settles into cream at the foot, so the eye is handed
   down into the dark band below rather than hitting a hard line. */
#format { background: linear-gradient(180deg, #fff 0%, #fff 54%, #faf6ec 100%); }

/* THE DAY — the deepest band, glowing gold from low and centre, the way a clubhouse
   looks from the eighteenth at dusk. */
/* THE DAY — the deepest band, and the one that carries an image. A course photograph
   at a tenth of full strength gives the navy something to be dark ABOUT; a gold glow
   low and centre lights it the way a clubhouse looks from the eighteenth at dusk. */
#day {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(96% 62% at 50% 118%, rgba(217, 165, 44, .26), transparent 62%),
    radial-gradient(70% 56% at 8% -6%, rgba(38, 92, 140, .55), transparent 64%),
    linear-gradient(168deg, #0d2946 0%, #0a1e38 44%, #061527 100%);
}
#day::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("assets/g-course.jpg") center 30% / cover no-repeat;
  opacity: .09;
  filter: grayscale(.5) contrast(1.15);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 66%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 66%, transparent);
}

/* THE GALLERY — cream, warmed from the right, the opposite corner to everything else. */
#gallery {
  background:
    radial-gradient(74% 64% at 98% 8%, rgba(217, 165, 44, .16), transparent 62%),
    linear-gradient(180deg, #f8f4ea 0%, #f4efe1 100%);
}

/* REGISTER — a COOL light, the only one on the page. Everything else here is warm, so
   a faint blue-grey both breaks the run of cream and throws the navy entry card
   forward instead of letting it sink into a matching ground. */
#register {
  background:
    radial-gradient(90% 66% at 50% 104%, rgba(255, 255, 255, .9), transparent 62%),
    linear-gradient(180deg, #eef2f7 0%, #e6ecf4 100%);
}

/* HOW TO PAY — white lit from the top-left, the mirror of the format section. */
#how-to-pay {
  background:
    radial-gradient(58% 48% at 4% -6%, rgba(217, 165, 44, .13), transparent 60%),
    #fff;
}

/* SPONSORSHIP — cool rather than warm, and lit from the far corner: the one dark band
   on the page that is not gold-lit, because it is addressed to a different reader. */
/* SPONSORSHIP — cool rather than warm and lit from the far corner: the one dark band
   that is not gold-lit, because it addresses a different reader entirely. */
#sponsor {
  position: relative;
  background:
    radial-gradient(76% 66% at 88% 4%, rgba(64, 132, 190, .34), transparent 64%),
    radial-gradient(60% 52% at 6% 106%, rgba(217, 165, 44, .16), transparent 62%),
    linear-gradient(158deg, #0c2440 0%, #061426 100%);
}

/* ---- section headings ---- */
.shead { max-width: 940px; margin-bottom: clamp(38px, 5vw, 60px); }
.shead--center { margin-inline: auto; text-align: center; }

.shead__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: .9rem; font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-on-light);
}
/* A short gold rule leading into every eyebrow — one repeated device instead of each
   section inventing its own opener. */
.shead__eyebrow::before {
  content: ""; flex: 0 0 auto;
  width: 34px; height: 2px;
  background: var(--metal);
}
.shead--center .shead__eyebrow { justify-content: center; }
.shead--center .shead__eyebrow::after {
  content: ""; width: 34px; height: 2px; background: var(--metal);
}
.shead--light .shead__eyebrow { color: var(--gold-on-dark); }

.shead__title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -.008em;
  line-height: 1.16;
  text-wrap: balance;
  color: var(--navy-900);
}
.shead--light .shead__title { color: #fff; }

.shead__sub { margin: 18px 0 0; font-size: 1.04rem; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }
.shead--center .shead__sub { margin-inline: auto; }
.shead--light .shead__sub { color: rgba(204, 215, 230, .8); }

/* ---- one card system for the whole page ---- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  border-radius: 0;
  box-shadow: var(--shadow);
}
/* border-image kills the radius, so cards are square-cornered — which suits the
   flyer's panels anyway. */

/* ---- card headers come in exactly two flavours, and each belongs to one section ----
   .ribbon  — a navy plate across the top of a card. Reserved for THE DAY's three
              panels, which is where the flyer itself uses that device.
   .cardhead — a gold bar and a rule. Used by the FORMAT cards, so the two sections
              cannot be mistaken for each other at a glance. */
.cardhead {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px; padding: 0 0 16px;
  border-bottom: 2px solid transparent;
  border-image: var(--metal) 1;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem); font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy-900);
}
.cardhead::before {
  content: ""; flex: 0 0 auto;
  width: 9px; height: 28px;
  background: var(--metal);
}
.entry__side .cardhead { color: var(--gold-on-dark); }


.ribbon {
  display: block;
  margin: 0;
  padding: 11px 20px 10px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem); font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  border-bottom: 2px solid transparent;
  border-image: var(--metal) 1;
}

/* ============================ BUTTONS ============================ */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}

/* The convex metal button: a top-lit gradient, a white specular line along the top
   edge, a dark line along the bottom, and a bronze rim. Those four things together
   are what make a flat rectangle read as a struck coin. */
.btn--gold {
  background: var(--metal-btn);
  border-color: #d4a53a;
  color: #3b2a05;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(150, 105, 20, .22),
    0 8px 20px -12px rgba(199, 155, 40, .7);
  text-shadow: 0 1px 0 rgba(255, 248, 220, .6);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(150, 105, 20, .22),
    0 14px 26px -12px rgba(199, 155, 40, .8);
}
.btn:active { transform: translateY(0); }

/* The sheen. A narrow, steeply-skewed highlight that crosses the face of the button —
   on hover for every gold button, and once every few seconds on the hero's primary
   call to action so the page has one small living detail. */
.btn--gold::after {
  content: "";
  position: absolute; top: -60%; bottom: -60%; left: -120%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .62), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}
.btn--gold:hover::after { animation: sheen .8s ease-out; }
.btn--shine::after { animation: sheen 4.6s ease-in-out infinite; }
@keyframes sheen {
  0%   { left: -120%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

.btn--outline { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--ghost { border-color: var(--line-gold); color: var(--gold-on-dark); }
.btn--ghost:hover { background: rgba(217, 165, 44, .14); border-color: var(--gold-300); }

.btn--lg { padding: 16px 34px; font-size: 1.12rem; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { display: flex; width: 100%; }

/* ============================ NAV ============================ */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nav--solid {
  background:
    linear-gradient(180deg, rgba(13, 39, 67, .97) 0%, rgba(6, 18, 36, .93) 100%);
  backdrop-filter: blur(14px);
  border-bottom-color: transparent;
  box-shadow: 0 14px 38px -26px rgba(0, 0, 0, .95);
}
/* A gold hairline under the bar, brightest in the middle — it reads as a lit edge
   rather than a border drawn round a box. */
.nav--solid::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 165, 44, .75) 50%, transparent);
}

.nav__inner { width: min(var(--wrap), calc(100% - 56px)); margin-inline: auto; display: flex; align-items: center; gap: 18px; }

.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.nav__brand img { width: 34px; height: auto; }
.nav__mark {
  font-family: var(--display);
  font-size: 1.26rem; font-weight: 700;
  letter-spacing: .02em;
  color: #fff; line-height: 1;
}
.nav__mark em { font-style: normal; color: var(--gold-on-dark); }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--display);
  font-size: 1rem; font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav__links a:hover { color: #fff; border-bottom-color: var(--gold-300); }

.nav__cta, .nav__sponsor { padding: 9px 20px; font-size: .92rem; }

/* ============================ HERO ============================ */

.hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 56px) 0 70px;
  /* A navy that is actually navy. The near-black this replaces made the whole opening
     read as a hole in the page; the gradient runs from a lit blue at the top-left down
     to a deep hull blue, so there is somewhere for the light to come from. */
  background:
    radial-gradient(82% 66% at 14% 8%, rgba(64, 130, 190, .6), transparent 64%),
    radial-gradient(58% 54% at 92% 88%, rgba(217, 165, 44, .16), transparent 64%),
    linear-gradient(162deg, #21598c 0%, #174573 22%, #123a63 44%, #0e2c4e 72%, #0a2039 100%);
  overflow: hidden;
}

/* The photograph, held right back — texture, not subject. */
.hero__bg {
  position: absolute; inset: 0;
  background: url("assets/hero.jpg") center 42% / cover no-repeat;
  filter: saturate(.32) contrast(1.04) brightness(.9);
  opacity: .1;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 38, 66, .5) 0%, rgba(11, 34, 60, .24) 44%, rgba(8, 24, 44, .74) 100%),
    linear-gradient(96deg, rgba(10, 30, 54, .72) 4%, rgba(13, 42, 74, .26) 48%, transparent 100%);
}

.hero__inner {
  position: relative; z-index: 1;
  width: min(var(--wrap), calc(100% - 56px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

/* ---- copy, leading on the left ---- */
.hero__copy { min-width: 0; }

.hero__title { color: #fff; margin-bottom: 34px; }

/* The nameplate. A hairline gold frame around a single tracked line — the tournament
   named the way it would be engraved on the trophy, and one object where there used to
   be three stacked runs of text. */
.hero__plate {
  display: inline-flex; align-items: center;
  margin-bottom: 24px; padding: 9px 20px;
  border: 1px solid rgba(217, 165, 44, .42);
  background: linear-gradient(180deg, rgba(30, 78, 122, .38), rgba(8, 24, 44, .42));
  font-family: var(--body);
  font-size: clamp(.7rem, 1.15vw, .82rem); font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}
.hero__plate b {
  margin-left: .7em; padding-left: .7em;
  border-left: 1px solid rgba(217, 165, 44, .4);
  font-weight: 800;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* The invitation, which is what actually has to land. */
.hero__lead {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.4vw, 4.05rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.018em;
}
.hero__lead--gold { margin-top: 4px; }
.hero__lead--gold em {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120, 84, 12, .5));
}

/* ---- the fact band: a calendar tile and three labelled facts ----
   This replaces two skewed plaques plus a run of small print. Four pieces of
   information that used to be three separate text elements now read as one object. */
.factbar {
  display: flex; align-items: stretch; gap: clamp(16px, 2vw, 26px);
  margin-bottom: 32px; padding: 20px 0;
  border-block: 1px solid rgba(217, 165, 44, .26);
}

.datetile {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 92px; padding: 10px 14px;
  border: 1px solid rgba(217, 165, 44, .4);
  background: linear-gradient(170deg, rgba(30, 78, 122, .55), rgba(8, 24, 44, .6));
  line-height: 1;
}
.datetile__dow, .datetile__mon {
  font-family: var(--body);
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  color: rgba(255, 255, 255, .62);
}
.datetile__day {
  margin: 5px 0 6px;
  font-family: var(--display);
  font-size: 2.7rem; font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.datetile__mon { color: var(--gold-on-dark); letter-spacing: .1em; }

.factbar__list {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin: 0;
}
.factbar__list > div { padding-left: clamp(12px, 1.6vw, 22px); border-left: 1px solid rgba(217, 165, 44, .18); }
.factbar__list > div:first-child { padding-left: 0; border-left: 0; }
.factbar__list dt {
  margin-bottom: 6px;
  font-family: var(--body);
  font-size: .66rem; font-weight: 800; letter-spacing: .2em;
  color: rgba(255, 255, 255, .5);
}
.factbar__list dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(.96rem, 1.5vw, 1.12rem); font-weight: 600;
  color: #fff; line-height: 1.28;
}
.factbar__list dd span {
  display: block; margin-top: 3px;
  font-family: var(--body);
  font-size: .78rem; font-weight: 500; letter-spacing: .01em;
  color: rgba(255, 255, 255, .52);
}
.factbar__price {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important;
  font-weight: 700 !important;
  color: var(--gold-300) !important;
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.factbar__price span { -webkit-text-fill-color: rgba(255, 255, 255, .52); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }

/* One quiet line rather than a bordered three-column strip — the hero was carrying
   too many boxes, and these three facts are supporting detail, not headline. */
.hero__facts {
  margin: 0;
  font-family: var(--body);
  font-size: .86rem; font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .55);
}
.hero__facts b {
  font-weight: 800;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ---- the medallion, answering on the right ----
   Two hairline rings and a soft core, struck like a coin. The flat gold wash this
   replaces read as a smudge behind the artwork; a ring gives the crest an edge to sit
   inside and leaves the corner clean. */
.hero__crestcol { text-align: center; position: relative; }

.medallion {
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.medallion::before, .medallion::after {
  content: "";
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.medallion::before {
  inset: 0;
  border: 1px solid rgba(217, 165, 44, .3);
  background:
    radial-gradient(circle at 50% 42%, rgba(30, 78, 122, .5) 0%, rgba(8, 24, 44, .18) 52%, transparent 72%);
}
.medallion::after {
  inset: 9%;
  border: 1px solid rgba(217, 165, 44, .16);
}
.hero__crest {
  position: relative; z-index: 1;
  width: 74%; height: auto;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .6));
}

.hero__est {
  position: relative;
  margin: 14px 0 0;
  font-family: var(--body);
  font-size: clamp(.68rem, 1.1vw, .78rem); font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}
.hero__est span { color: var(--gold-500); font-size: .62em; vertical-align: .26em; margin: 0 2px; }

/* ============================ STAR BAND ============================ */

.band {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px;
  padding: 17px 22px;
  background: var(--navy-950);
  border-block: 2px solid transparent;
  border-image: var(--metal) 1;
  text-align: center;
}
.band p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.02rem, 2.5vw, 1.6rem); font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
}
.band__stars { color: var(--gold-300); letter-spacing: .06em; font-size: .9rem; }

/* ============================ THE CUP ============================ */

.cup { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(22px, 3vw, 34px); align-items: stretch; }

.cup__media {
  position: relative; margin: 0; min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}
.cup__media img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.cup__media figcaption {
  position: absolute; inset: auto 0 0;
  padding: 46px 22px 16px;
  background: linear-gradient(transparent, rgba(6, 18, 36, .94));
  color: #fff;
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: .04em;
}

.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.plate { display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; min-height: 160px; }

.plate--won {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--line-gold);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  box-shadow: var(--shadow);
}
.plate--won .plate__year { color: var(--gold-on-dark); }
.plate--won .plate__label { color: rgba(255, 255, 255, .56); }

.plate__year { font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .06em; }
.plate__label {
  margin-top: 2px;
  font-family: var(--display);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
}
.plate__name {
  margin-top: 8px;
  text-wrap: balance;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 2.9rem); font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* The empty plate — the one moment the page is built around. Dashed and quiet until
   you touch it, then it fills like the plate above and offers the way in. */
.plate--open { padding: 0; }
.plate__slot {
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; min-height: 160px;
  padding: 28px 30px;
  border: 2px dashed var(--line-gold);
  background: rgba(217, 165, 44, .06);
  text-decoration: none;
  transition: background .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.plate__slot .plate__year { color: var(--gold-on-light); }
.plate__slot .plate__label { color: var(--ink-soft); }
.plate__slot .plate__name {
  color: var(--navy-900);
  background: none;
  -webkit-text-fill-color: var(--navy-900);
}
.plate__slot .plate__name span { color: var(--gold-on-light); -webkit-text-fill-color: var(--gold-on-light); }

.plate__go {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  color: var(--gold-on-light);
  opacity: 0; transform: translateY(6px);
  transition: opacity .28s ease, transform .28s ease, color .28s ease;
}
.plate__slot:hover, .plate__slot:focus-visible {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-style: solid; border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.plate__slot:hover .plate__name, .plate__slot:focus-visible .plate__name {
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plate__slot:hover .plate__name span, .plate__slot:focus-visible .plate__name span { -webkit-text-fill-color: transparent; }
.plate__slot:hover .plate__label, .plate__slot:focus-visible .plate__label { color: rgba(255, 255, 255, .58); }
.plate__slot:hover .plate__year, .plate__slot:focus-visible .plate__year,
.plate__slot:hover .plate__go, .plate__slot:focus-visible .plate__go { color: var(--gold-on-dark); }
.plate__slot:hover .plate__go, .plate__slot:focus-visible .plate__go { opacity: 1; transform: translateY(0); }

.alsowin {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 0; padding: 0;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  background: var(--paper);
}
.alsowin li { padding: 22px 24px; border-left: 1px solid var(--line); }
.alsowin li:first-child { border-left: 0; }
.alsowin b {
  display: block;
  font-family: var(--display);
  font-size: 1.16rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-900);
}
.alsowin span { font-size: .92rem; color: var(--ink-soft); }

/* ============================ FORMAT ============================ */

.entry { display: grid; grid-template-columns: 1.4fr .85fr; gap: clamp(20px, 2.6vw, 30px); align-items: stretch; }

.entry__card, .entry__side {
  display: flex; flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.entry__side { background: linear-gradient(170deg, var(--navy-850), var(--navy-950)); border-color: var(--line-gold); color: #ccd7e6; }

/* The card carries the padding and the ribbon breaks back out of it with negative
   margins. One rule, and it cannot be defeated by the order of the tags inside. */
.entry__card, .entry__side { --pad: clamp(22px, 2.6vw, 32px); padding: var(--pad); }


.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps__n {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--line-gold);
  color: var(--gold-300);
  font-family: var(--display);
  font-size: 1.8rem; font-weight: 700; line-height: 1;
}
/* The recommendation is what the organizers actually want read, so it is the one
   that gets the metal. */
.steps__rec .steps__n {
  background: var(--metal-btn);
  border-color: #d4a53a;
  color: #3b2a05;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(150, 105, 20, .2);
}
.steps b {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-900);
}
.steps p { margin: 3px 0 0; font-size: .96rem; color: var(--ink-soft); }

.entry__note {
  padding-top: 22px;
  border-top: 1px dashed var(--line-gold);
  font-size: .94rem; color: var(--ink-soft);
}

.entry__lead { margin: 0 0 22px; color: rgba(204, 215, 230, .84); }

.entry__facts { display: grid; margin: 0 0 24px; }
.entry__facts > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--line-gold-soft);
}
.entry__facts > div:first-child { border-top: 0; }
.entry__facts dt {
  font-family: var(--display);
  font-size: .88rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(204, 215, 230, .6);
}
.entry__facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.48rem; font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.entry__facts dd em {
  font-style: normal; margin-left: 8px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(204, 215, 230, .5);
  -webkit-text-fill-color: rgba(204, 215, 230, .5);
}
.entry__side .btn { margin-top: auto; }

/* ============================ THE DAY: three panels ============================ */

.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }

/* Equal height, and the content column stretches so no panel ends in a pool of
   empty space the way an auto-height card does. */
.panel {
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line-gold-soft);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.panel { --pad: clamp(18px, 2vw, 24px); padding: var(--pad); }
.panel > .ribbon { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) var(--pad); }

/* The last block in a card is pushed to the bottom edge, so three panels of unequal
   content still line up along the foot instead of each trailing off wherever its
   list happens to end. */
.panel > :last-child, .entry__card > :last-child, .entry__side > :last-child { margin-top: auto; }

/* ---- contests ---- */
.contests { list-style: none; margin: 0; padding: 0; }
.contests li {
  display: grid; grid-template-columns: 44px 1fr;
  align-items: center; gap: 2px 15px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contests li:first-child { border-top: 0; padding-top: 0; }
.contests__n {
  grid-row: span 2;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--line-gold);
  color: var(--gold-300);
  font-family: var(--display);
  font-size: 1.45rem; font-weight: 700; line-height: 1;
}
.contests b {
  align-self: center;
  font-family: var(--display);
  font-size: 1.12rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-900);
}
.contests li:has(em) b { align-self: end; line-height: 1.1; }
.contests em { grid-column: 2; align-self: start; font-style: normal; font-size: .85rem; color: var(--ink-soft); }

.contests__extra { padding-top: 18px; border-top: 1px dashed var(--line-gold); }
.contests__extra b {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-900);
}
.contests__extra em { font-style: normal; font-size: .85rem; color: var(--ink-soft); }

/* ---- schedule: one continuous rail, not a stack of loose dashes ---- */
.run { list-style: none; margin: 0; padding: 0; position: relative; }
.run::before {
  content: "";
  position: absolute; left: 5px; top: 6px; bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--gold-500), var(--line-gold-soft));
}
.run li { position: relative; padding: 13px 0 13px 28px; }
.run li:first-child { padding-top: 0; }
.run li::before {
  content: "";
  position: absolute; left: 0; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gold-500);
}
.run li:first-child::before { top: 7px; }
.run__key::before { background: var(--metal-btn) !important; border-color: #d4a53a !important; }
.run time {
  display: block;
  font-family: var(--display);
  font-size: 1.26rem; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-on-light);
  font-variant-numeric: tabular-nums;
}
.run b {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-900);
}
.run em { font-style: normal; font-size: .85rem; color: var(--ink-soft); }
.run__key b { color: var(--navy-900); }
.run__key time { color: var(--navy-900); }

/* ---- prizes ---- */
.prizes { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.prizes li { display: flex; align-items: center; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.prizes li:first-child { border-top: 0; padding-top: 0; }
.prizes__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid var(--line-gold);
  color: var(--gold-300);
}
.prizes__icon svg { width: 25px; height: 25px; }
.prizes b {
  display: block;
  text-wrap: balance;
  font-family: var(--display);
  font-size: 1.06rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-900); line-height: 1.18;
}
.prizes em { font-style: normal; font-size: .85rem; color: var(--ink-soft); }

/* The one script on the page, matching the flyer's own use of it. */
.script {
  margin-bottom: 0;
  padding-top: 24px;
  font-family: var(--script);
  font-size: 1.28rem; line-height: 1.5; text-align: center;
  color: var(--gold-on-light);
}

/* ============================ GALLERY ============================ */

.gallery { position: relative; }
.gallery__track {
  list-style: none; margin: 0; padding: 0 0 6px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(268px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }

.shot { scroll-snap-align: start; }
.shot img {
  width: 100%; height: 252px; object-fit: cover;
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  background: var(--navy-900);
}
.shot p {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: .94rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-soft);
}

.gallery__foot { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.gallery__nav { display: flex; gap: 10px; }
.gallery__arrow {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold);
  background: transparent;
  color: var(--navy-900);
  font-size: 1.2rem; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}
.gallery__arrow:hover:not(:disabled) { background: var(--navy-900); color: var(--gold-300); }
.gallery__arrow:disabled { opacity: .28; cursor: default; }

.gallery__progress { flex: 1; height: 3px; background: var(--line); overflow: hidden; }
.gallery__bar { display: block; height: 100%; width: 100%; background: var(--metal); transform-origin: left; transform: scaleX(.2); transition: transform .3s ease; }
.gallery__count {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.gallery__sep { color: var(--gold-on-light); margin: 0 5px; }

/* ============================ REGISTER ============================ */

.regcard {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(32px, 5vw, 54px);
  /* Lit from behind the price: a warm core over a cool navy body, so the number is the
     brightest thing in the card rather than just the largest. */
  background:
    radial-gradient(78% 56% at 50% 26%, rgba(217, 165, 44, .2), transparent 66%),
    radial-gradient(120% 90% at 50% 0%, rgba(32, 82, 128, .6), transparent 62%),
    linear-gradient(170deg, #0e2c4c 0%, #0a1e38 48%, #050f1f 100%);
  border: 1px solid var(--line-gold);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  box-shadow: var(--shadow-lg);
  color: #ccd7e6;
}
.regcard__kicker {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: .9rem; font-weight: 600; letter-spacing: .06em;
  color: var(--gold-on-dark);
}
.regcard__kicker i, .regcard__note i {
  display: inline-block; width: 4px; height: 4px; margin: 0 11px 3px;
  background: currentColor; border-radius: 50%; opacity: .5;
}
.regcard__amount {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(3.8rem, 11vw, 6.2rem); font-weight: 700; line-height: .88;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(111, 78, 11, .55));
}
.regcard__amount span { font-size: .48em; vertical-align: .46em; margin-right: 3px; }
.regcard__amount em {
  display: block; margin-top: 14px;
  font-style: normal;
  font-size: .16em; font-weight: 600; letter-spacing: .06em;
  color: rgba(204, 215, 230, .66);
  -webkit-text-fill-color: rgba(204, 215, 230, .66);
  filter: none;
}
.regcard__lead { margin: 0 auto 28px; max-width: 46ch; color: rgba(204, 215, 230, .84); }
.regcard__note {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(204, 215, 230, .55);
}

.orcall { margin: 26px 0 0; text-align: center; font-size: .97rem; color: var(--ink-soft); }
.orcall a { color: var(--gold-on-light); font-weight: 600; text-underline-offset: 3px; }

/* ============================ FEE BAND ============================ */

.fee {
  /* A single sweep across, brightest where the $ badge sits, so the band reads as lit
     from the thing it is about. */
  background:
    linear-gradient(90deg, rgba(217, 165, 44, .26) 0%, rgba(217, 165, 44, .04) 38%, transparent 62%),
    linear-gradient(180deg, #08192e 0%, #050f1e 100%);
  border-block: 2px solid transparent;
  border-image: var(--metal) 1;
  padding: clamp(30px, 4vw, 48px) 0;
}
.fee__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }

.fee__money { display: flex; align-items: center; gap: 22px; margin: 0; }
.fee__badge {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--metal-btn);
  border: 1px solid #d4a53a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(150, 105, 20, .2), 0 8px 22px -12px rgba(199, 155, 40, .7);
  color: #3b2a05;
  font-family: var(--display);
  font-size: 2.5rem; font-weight: 700; line-height: 1;
}
.fee__stack { display: flex; flex-direction: column; line-height: 1; }
.fee__stack em, .fee__stack i {
  font-style: normal;
  font-family: var(--display);
  font-size: .92rem; font-weight: 600; letter-spacing: .06em;
  color: rgba(255, 255, 255, .74);
}
.fee__stack b {
  margin: 6px 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fee__where { text-align: right; }
.fee__venue {
  margin: 0;
  font-family: var(--display);
  font-size: 1.34rem; font-weight: 700; letter-spacing: .01em;
  color: #fff;
}
.fee__addr { margin: 5px 0 9px; font-size: .94rem; color: rgba(255, 255, 255, .64); }
.fee__map {
  font-family: var(--display);
  font-size: .94rem; font-weight: 700; letter-spacing: .04em;
  color: var(--gold-on-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
}
.fee__map:hover { border-bottom-color: var(--gold-300); }

/* ============================ PAY ============================ */

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.pay-grid--tight { gap: 14px; }

.pay-card {
  display: flex; flex-direction: column;
  text-align: center;
  padding: 28px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  box-shadow: var(--shadow);
}
.pay-card h3 {
  margin: 0 0 18px;
  font-size: 1.26rem; letter-spacing: .02em;
  color: var(--navy-900);
}
.pay-card__qr {
  width: 172px; height: 172px; margin: 0 auto 16px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
}
.pay-card__handle {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 700; letter-spacing: .02em;
  color: var(--navy-900);
  word-break: break-all;
}
.pay-card__memo { margin: 14px 0 0; font-size: .86rem; color: var(--ink-soft); }
.pay-card > :last-child { margin-top: auto; padding-top: 14px; }
.pay-card .btn { align-self: center; }

/* ============================ SPONSOR CTA ============================ */

/* The call to action was a button floating in a lot of navy. Setting it on its own
   struck panel — hairline gold frame, a lit core, corner ticks — gives it the weight
   the last ask on the page should carry. */
.sponsor-cta {
  position: relative;
  max-width: 760px; margin-inline: auto;
  padding: clamp(34px, 4.4vw, 52px) clamp(26px, 4vw, 54px);
  text-align: center;
  border: 1px solid rgba(217, 165, 44, .34);
  background:
    radial-gradient(130% 100% at 50% 0%, rgba(34, 88, 136, .5), transparent 66%),
    linear-gradient(180deg, rgba(11, 33, 60, .78), rgba(4, 12, 24, .86));
  box-shadow: 0 44px 90px -54px rgba(0, 0, 0, .95);
}
/* A double rule rather than corner ticks: symmetric on all four sides, and the way a
   plaque or a certificate is actually framed. */
.sponsor-cta::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1px solid rgba(217, 165, 44, .2);
  pointer-events: none;
}

/* The three levels, stated before the ask rather than hidden behind it. */
.splevels {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 32px; padding: 0;
}
.splevel {
  padding: 4px 14px;
  border-left: 1px solid rgba(217, 165, 44, .2);
}
.splevel:first-child { border-left: 0; }
.splevel span {
  display: block;
  font-family: var(--body);
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  color: rgba(204, 215, 230, .58);
}
.splevel b {
  display: block; margin-top: 7px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sponsor-cta__note { margin: 20px auto 0; max-width: 42ch; font-size: .93rem; color: rgba(204, 215, 230, .68); }

/* ============================ FOOTER ============================ */

.footer {
  position: relative;
  /* Deepest ground on the page, with a glow behind the crest so it ends on something
     lit rather than on a dead rectangle. */
  background:
    radial-gradient(48% 42% at 50% -4%, rgba(217, 165, 44, .2), transparent 64%),
    linear-gradient(180deg, #07182b 0%, #030a15 100%);
  color: rgba(204, 215, 230, .74);
  padding: clamp(58px, 7vw, 92px) 0 clamp(30px, 4vw, 44px);
  text-align: center;
}
/* The lit hairline that opens the footer — the same device the nav closes with, so the
   page is bracketed top and bottom by the same line. */
.footer::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 50%, transparent);
}

.footer__mark { margin-bottom: clamp(34px, 4vw, 48px); }

/* The crest sits in the same struck ring the hero uses, at a quarter of the size. */
.footer__medal {
  position: relative;
  display: grid; place-items: center;
  width: 150px; height: 150px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1px solid rgba(217, 165, 44, .28);
  background: radial-gradient(circle at 50% 40%, rgba(30, 78, 122, .42), transparent 70%);
}
.footer__medal::after {
  content: "";
  position: absolute; inset: 9px;
  border: 1px solid rgba(217, 165, 44, .14);
  border-radius: 50%;
}
.footer__medal img { width: 92px; height: auto; }

.footer__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.34rem, 3vw, 1.94rem); font-weight: 700;
  letter-spacing: .015em;
  color: #fff;
}
.footer__title span {
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__script { color: var(--gold-on-dark); margin: 10px 0 0; padding: 0; font-size: 1.24rem; }

.footer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 0 0 clamp(30px, 4vw, 44px); padding: 0;
  text-align: center;
}
.footer__grid > div { padding: 4px 26px; border-left: 1px solid rgba(217, 165, 44, .16); }
.footer__grid > div:first-child { border-left: 0; }
.footer__grid dt {
  margin-bottom: 12px;
  font-family: var(--body);
  font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  color: var(--gold-300);
}
.footer__grid dd { margin: 0; font-size: .93rem; line-height: 1.75; }
.footer__grid a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(217, 165, 44, .4); }
.footer__grid a:hover { border-bottom-color: var(--gold-300); }

/* A true bottom bar, ruled off from the contact block above it. */
.footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(217, 165, 44, .16);
}
.footer__legal { margin: 0; font-size: .8rem; letter-spacing: .04em; color: rgba(204, 215, 230, .42); }
.footer__legal--mid {
  font-family: var(--display);
  font-size: .84rem; letter-spacing: .04em;
  color: rgba(204, 215, 230, .58);
}
.footer__legal a { color: var(--gold-on-dark); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.footer__legal a:hover { text-decoration: underline; }

/* ============================ MOBILE CTA ============================ */

.mobile-cta { display: none; }

/* ============================ REVEAL ============================
   One rise, once. The hidden state lives only inside the motion-safe query, so a
   page whose JavaScript never runs still shows all of its content. */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(20px); }
  [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .3, 1); }

  .hero__crestcol, .hero__eyebrow, .hero__title, .hero__promise, .plaques, .hero__cta, .hero__facts {
    animation: rise .8s cubic-bezier(.22, .8, .3, 1) backwards;
  }
  .hero__crestcol { animation-delay: .05s; }
  .hero__eyebrow  { animation-delay: .18s; }
  .hero__title    { animation-delay: .26s; }
  .hero__promise  { animation-delay: .36s; }
  .plaques        { animation-delay: .46s; }
  .hero__cta      { animation-delay: .56s; }
  .hero__facts    { animation-delay: .64s; }
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

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

/* ============================================================================
   REGISTRATION OVERLAY (.tf*)
   Class names are fixed by main.js, which builds this markup at runtime. Only the
   appearance changes here.
   ========================================================================= */

.tf { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: var(--navy-950); color: #fff; }
.tf[hidden] { display: none; }

.tf__progress { height: 4px; background: rgba(255, 255, 255, .1); }
.tf__bar { display: block; height: 100%; width: 0; background: var(--metal); transition: width .3s ease; }

.tf__top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line-gold-soft);
}
.tf__brand { font-family: var(--display); font-size: 1.18rem; font-weight: 700; letter-spacing: .04em; }
.tf__brand em { font-style: normal; color: var(--gold-on-dark); }
.tf__meta { display: flex; align-items: center; gap: 18px; }
.tf__count {
  font-family: var(--display);
  font-size: .94rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
  font-variant-numeric: tabular-nums;
}
.tf__close {
  background: transparent; border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 0; padding: 7px 15px;
  color: rgba(255, 255, 255, .78);
  font-family: var(--display); font-size: .86rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer;
}
.tf__close:hover { border-color: var(--gold-300); color: var(--gold-on-dark); }

.tf__stage { flex: 1; display: flex; align-items: center; padding: clamp(24px, 5vw, 56px); overflow-y: auto; }

.tf-panel { width: min(680px, 100%); margin-inline: auto; animation: tfIn .42s cubic-bezier(.22, .8, .3, 1); }
.tf-panel.is-back { animation-name: tfBack; }
@keyframes tfIn   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tfBack { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }

.tf-panel__idx {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: .93rem; font-weight: 600; letter-spacing: .06em;
  color: var(--gold-on-dark);
}
.tf-panel__sep { opacity: .5; }
.tf-panel__grp { color: rgba(255, 255, 255, .58); }

.tf-panel__q { margin: 0 0 12px; font-size: clamp(1.7rem, 5vw, 2.7rem); font-weight: 700; color: #fff; }
.tf-panel__help { margin: 0 0 26px; color: rgba(255, 255, 255, .6); font-size: 1rem; max-width: 54ch; }

.tf-input {
  width: 100%; padding: 12px 4px;
  background: transparent;
  border: 0; border-bottom: 2px solid rgba(255, 255, 255, .26);
  color: #fff;
  font-family: var(--body);
  font-size: clamp(1.3rem, 3.6vw, 1.8rem); font-weight: 600;
  letter-spacing: .005em;
}
.tf-input::placeholder { color: rgba(255, 255, 255, .24); }
.tf-input:focus { outline: 0; border-bottom-color: var(--gold-500); }
.tf-input.is-invalid { border-bottom-color: #ff8f6b; }

.tf-panel__ok { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.tf-ok-hint {
  font-family: var(--display);
  font-size: .86rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255, 255, 255, .42);
}

.tf-choices { display: grid; gap: 12px; max-width: 480px; }
.tf-choice {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-family: var(--display);
  font-size: 1.22rem; font-weight: 600;
  text-align: left; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.tf-choice:hover { border-color: var(--gold-500); transform: translateX(4px); }
.tf-choice__key {
  flex: 0 0 auto; width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  font-size: .9rem; color: rgba(255, 255, 255, .66);
}
.tf-choice.is-sel { border-color: var(--gold-500); background: rgba(217, 165, 44, .14); }
.tf-choice.is-sel .tf-choice__key { background: var(--metal-btn); border-color: #d4a53a; color: #3b2a05; }

.tf-review__list { list-style: none; margin: 0 0 22px; padding: 0; }
.tf-review__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.tf-review__k {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: .88rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(255, 255, 255, .52);
}
.tf-review__v { text-align: right; font-weight: 500; }
.tf-review__edit {
  margin-left: 12px; background: transparent; border: 0;
  color: var(--gold-on-dark);
  font-family: var(--display); font-size: .84rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer;
}
.tf-review__edit:hover { text-decoration: underline; }

.tf-review__fee {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  background: rgba(217, 165, 44, .1);
  border: 1px solid var(--line-gold);
  font-family: var(--display); letter-spacing: .02em;
}
.tf-review__fee span { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.tf-review__fee strong {
  font-size: 2rem; font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tf__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line-gold-soft);
}
.tf__err { margin: 0; color: #ff9f80; font-size: .95rem; }
.tf__arrows { display: flex; gap: 8px; }
.tf-arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  background: transparent; color: #fff; cursor: pointer;
}
.tf-arrow:hover:not(:disabled) { border-color: var(--gold-500); color: var(--gold-on-dark); }
.tf-arrow:disabled { opacity: .28; cursor: default; }

/* ============================================================================
   SPONSOR DIALOG (.sdlg*) — ids and classes fixed by main.js
   ========================================================================= */

.sdlg {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-gold);
  border-top: 3px solid transparent;
  border-image: var(--metal) 1;
  background: linear-gradient(170deg, var(--navy-850), var(--navy-950));
  color: #ccd7e6;
  box-shadow: var(--shadow-lg);
}
.sdlg::backdrop { background: rgba(6, 18, 36, .8); backdrop-filter: blur(3px); }

.sdlg__head { display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line-gold-soft); }
.sdlg__title { flex: 1; font-size: 1.4rem; letter-spacing: .01em; color: #fff; }
.sdlg__step {
  font-family: var(--display);
  font-size: .84rem; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-on-dark);
}
.sdlg__close {
  width: 32px; height: 32px; border: 0;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.sdlg__close:hover { background: rgba(217, 165, 44, .26); }

.sdlg__body { padding: 24px; }
.sdlg__lead { margin: 0 0 18px; color: rgba(204, 215, 230, .8); }

.tiers { display: grid; gap: 12px; }
.tier {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .04);
  color: #fff; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.tier:hover { border-color: var(--gold-500); transform: translateX(4px); }
.tier[aria-checked="true"] { border-color: var(--gold-500); background: rgba(217, 165, 44, .14); }
.tier__name { font-family: var(--display); font-size: 1.16rem; font-weight: 700; letter-spacing: .02em; }
.tier__amt {
  font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sdlg__chosen {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 20px; padding: 12px 16px;
  background: rgba(217, 165, 44, .1);
  border: 1px solid var(--line-gold);
  font-family: var(--display);
  font-size: 1.04rem; font-weight: 600; letter-spacing: .02em;
  color: var(--gold-on-dark);
}
.sdlg__change {
  background: transparent; border: 0;
  color: rgba(204, 215, 230, .78);
  font-family: var(--display); font-size: .84rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer; text-decoration: underline;
}
.sdlg__err {
  margin: 0 0 16px; padding: 11px 14px;
  background: rgba(255, 120, 90, .13);
  border: 1px solid rgba(255, 120, 90, .4);
  color: #ffb8a3; font-size: .93rem;
}

.sfield { margin-bottom: 16px; }
.sfield label {
  display: block; margin-bottom: 6px;
  font-family: var(--display);
  font-size: .86rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(204, 215, 230, .7);
}
.sfield label span { color: rgba(204, 215, 230, .42); letter-spacing: .02em; }
.sfield input {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-family: var(--body); font-size: 1rem;
}
.sfield input:focus { outline: 0; border-color: var(--gold-500); background: rgba(255, 255, 255, .08); }

/* Off-screen rather than display:none — some bots skip hidden inputs, and this trap
   only works if a script can still find and fill it. */
.sdlg__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sdlg__done { text-align: center; margin-bottom: 20px; }
.sdlg__tick {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--metal-btn);
  border: 1px solid #d4a53a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  color: #3b2a05; font-size: 1.7rem;
}
.sdlg__done h3 { font-size: 1.34rem; letter-spacing: .01em; color: #fff; }
.sdlg__amount {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px; padding: 14px 18px;
  background: rgba(217, 165, 44, .1);
  border: 1px solid var(--line-gold);
}
.sdlg__amount span {
  font-family: var(--display);
  font-size: .88rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(204, 215, 230, .68);
}
.sdlg__amount strong {
  font-family: var(--display); font-size: 1.86rem; font-weight: 700;
  color: var(--gold-300);
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sdlg__ref { margin: 16px 0 0; font-size: .9rem; color: rgba(204, 215, 230, .7); text-align: center; }
.js-spmemo { color: var(--gold-on-dark); font-weight: 700; }

.sdlg__foot { display: flex; justify-content: flex-end; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--line-gold-soft); }

/* Inside the dark dialog the pay cards need the dark treatment too. */
.sdlg .pay-card { background: rgba(255, 255, 255, .05); border-color: var(--line-gold-soft); box-shadow: none; padding: 18px 14px; }
.sdlg .pay-card h3 { color: #fff; font-size: 1.06rem; }
.sdlg .pay-card__qr { width: 124px; height: 124px; }
.sdlg .pay-card__handle { color: #fff; font-size: .98rem; }
.sdlg .pay-card__memo { color: rgba(204, 215, 230, .58); }

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

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .hero__crest { width: clamp(150px, 26vw, 210px); }
  .hero__eyebrow, .hero__facts { justify-content: center; }
  .hero__eyebrow::before { display: none; }
  .hero__title-2 { justify-content: center; }
  .hero__title-2::after { display: none; }
  .plaques, .hero__cta { justify-content: center; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .cup { grid-template-columns: 1fr; }
  .cup__media img { min-height: 260px; max-height: 400px; }
  .entry { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
  .alsowin { grid-template-columns: 1fr; }
  .alsowin li { border-left: 0; border-top: 1px solid var(--line); }
  .alsowin li:first-child { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
}

/* The fact band turns from a strip into a stack, and the calendar tile lies down. */
@media (max-width: 900px) {
  .factbar { flex-direction: column; align-items: stretch; gap: 18px; }
  .datetile {
    flex-direction: row; align-items: baseline; justify-content: center; gap: 12px;
    min-width: 0; padding: 11px 16px;
  }
  .datetile__day { margin: 0; font-size: 2rem; }
  .factbar__list { grid-template-columns: 1fr 1fr; gap: 16px 22px; }
  .factbar__list > div { padding-left: 0; border-left: 0; }
}

@media (max-width: 520px) {
  .factbar__list { grid-template-columns: 1fr; gap: 0; }
  .factbar__list > div + div {
    margin-top: 13px; padding-top: 13px;
    border-top: 1px solid rgba(217, 165, 44, .16);
  }
  .hero__plate { white-space: normal; letter-spacing: .12em; text-align: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  /* On a phone this is the ONLY button in the header, so it wears the metal. On a
     desktop it sits beside "Enter your league" and stays outlined — two gold buttons
     side by side would leave the header with no hierarchy at all. */
  .nav__sponsor {
    display: inline-flex; padding: 9px 18px; font-size: .84rem; white-space: nowrap;
    background: var(--metal-btn);
    border-color: #d4a53a;
    color: #3b2a05;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .85),
      inset 0 -1px 0 rgba(150, 105, 20, .22),
      0 8px 20px -12px rgba(199, 155, 40, .7);
    text-shadow: 0 1px 0 rgba(255, 248, 220, .6);
  }
  /* .btn--ghost's hover would otherwise wash the metal out on tap. */
  .nav__sponsor:hover, .nav__sponsor:active {
    background: var(--metal-btn);
    border-color: #d4a53a;
    color: #3b2a05;
  }
  /* The crest alone is the mark at this width — it is more recognisable than the
     letters, and it buys back the room the sponsor button needs. */
  .nav__mark { display: none; }
  .nav__brand img { width: 42px; }
  /* The nav CTA was wrapping to two lines and shoving the brand off-centre. */
  .nav__cta { padding: 8px 15px; font-size: .8rem; letter-spacing: .02em; white-space: nowrap; }
  .nav__mark { font-size: 1.08rem; }
  /* Wide tracking is a desktop luxury; at this width it costs whole lines. */
  .hero__eyebrow { flex-wrap: wrap; letter-spacing: .04em; font-size: .8rem; }
  .hero__title-2 { letter-spacing: .06em; }
  .hero__est { letter-spacing: .04em; }
  .shead__eyebrow { letter-spacing: .04em; }
  .band p { letter-spacing: .04em; }
  .hero { min-height: auto; padding-bottom: 58px; }
  .plaques { flex-direction: column; align-items: stretch; }
  .plaque { transform: none; }
  .plaque > * { transform: none; }
  .hero__cta .btn { width: 100%; }
  .hero__facts { justify-content: space-between; }
  .hero__facts li { padding-right: 14px; margin-right: 14px; }
  .band { gap: 10px; padding: 14px 18px; }
  .band__stars { display: none; }
  .fee__inner { flex-direction: column; align-items: flex-start; }
  .fee__where { text-align: left; }
  .pay-grid { grid-template-columns: 1fr; }
  .gallery__count { display: none; }
  .footer { padding-bottom: 112px; }

  /* A permanent way in, once the hero's buttons have scrolled away. */
  .mobile-cta {
    position: fixed; inset: auto 12px 12px; z-index: 80;
    display: block; padding: 15px;
    background: var(--metal-btn);
    border: 1px solid #d4a53a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 14px 30px -12px rgba(6, 18, 36, .9);
    color: #3b2a05;
    font-family: var(--display);
    font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
    text-align: center; text-decoration: none;
  }
  .tf__foot { padding: 14px 20px; }
  .sdlg .pay-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .steps li { gap: 14px; }
  .steps__n { width: 48px; height: 48px; font-size: 1.5rem; }
  .fee__money { gap: 14px; }
  .fee__badge { width: 62px; height: 62px; font-size: 2rem; }
  .hero__facts li { padding-right: 10px; margin-right: 10px; }
  .hero__facts b { font-size: 1.24rem; }
}
