/* ============================================================
   Everest Cricket Academy — public website design system
   Palette: dark navy · white · emerald green · subtle gold
   ============================================================ */
:root {
  --navy-950: #050b18;
  --navy-900: #070f20;
  --navy-800: #0a1428;
  --navy-700: #0e1d3b;
  --navy-600: #15294f;
  --emerald: #149b6c;
  --emerald-2: #2ecc8f;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, .16);
  --ink: #1b2740;
  --muted: #5c6b85;
  --mist: #aebbd1;
  --paper: #f5f7fb;
  --line: rgba(14, 29, 59, .1);
  --line-dark: rgba(255, 255, 255, .08);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-lg: 0 24px 60px rgba(5, 11, 24, .16);
  --shadow-sm: 0 8px 24px rgba(5, 11, 24, .1);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.7; font-size: 1rem; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style-position: inside; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--gold); color: var(--navy-900); padding: .6rem 1.2rem; font-weight: 700; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

.wrap { width: min(1180px, 92%); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: .015em; color: var(--navy-800); text-wrap: balance; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .85rem 1.9rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-emerald { background: linear-gradient(135deg, var(--emerald), var(--emerald-2)); color: #fff; box-shadow: 0 12px 28px rgba(20, 155, 108, .38); }
.btn-emerald:hover { transform: translateY(-3px); filter: brightness(1.07); }
.btn-gold { background: linear-gradient(135deg, #e3c454, var(--gold)); color: var(--navy-900); box-shadow: 0 12px 28px rgba(212, 175, 55, .3); }
.btn-gold:hover { transform: translateY(-3px); filter: brightness(1.05); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .65); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy-800); transform: translateY(-3px); }
.btn-line { border: 2px solid var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-line:hover { background: var(--navy-700); color: #fff; transform: translateY(-3px); }
.btn-sm { padding: .55rem 1.25rem; font-size: .92rem; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 120; padding: .9rem 0; transition: background .3s, padding .3s, box-shadow .3s; }
.site-head.solid, .site-head.scrolled { background: rgba(7, 15, 32, .97); box-shadow: 0 10px 34px rgba(0, 0, 0, .4); padding: .55rem 0; }
.site-head:not(.solid):not(.scrolled) { background: linear-gradient(180deg, rgba(5, 11, 24, .82), rgba(5, 11, 24, 0)); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--emerald-2)); font-size: 1.25rem; box-shadow: 0 0 0 2px rgba(212, 175, 55, .55); }
.brand-name { font-family: var(--display); font-weight: 800; letter-spacing: .14em; font-size: 1.22rem; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .34em; color: var(--gold); font-weight: 600; margin-top: .22rem; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { color: rgba(255, 255, 255, .85); font-size: .83rem; font-weight: 600; letter-spacing: .02em; padding: .45rem .66rem; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a.on { color: var(--gold); }
.nav-cta { margin-left: .5rem; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: stretch; gap: .2rem; background: var(--navy-900); padding: 5.4rem 1.4rem 2rem; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; box-shadow: -20px 0 60px rgba(0, 0, 0, .45); }
  .site-nav.open { transform: none; }
  .site-nav a { font-size: 1.02rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-cta { margin: 1rem 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(560px, 92vh, 880px); display: grid; align-items: center; color: #fff; isolation: isolate; padding: 7.5rem 0 7rem; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 11, 24, .93) 8%, rgba(7, 15, 32, .72) 46%, rgba(7, 15, 32, .34) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(5, 11, 24, .88)); }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212, 175, 55, .45); background: rgba(212, 175, 55, .08); padding: .42rem 1.05rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.9rem); font-weight: 800; color: #fff; text-transform: uppercase; max-width: 15ch; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(120deg, var(--emerald-2), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.hero p { max-width: 54ch; margin: 1.3rem 0 2.2rem; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

/* stats strip riding the hero bottom */
.stat-strip { position: relative; z-index: 5; margin-top: -4.2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.stat-cell { background: var(--navy-800); color: #fff; text-align: center; padding: 1.5rem 1rem 1.3rem; }
.stat-cell b { display: block; font-family: var(--display); font-size: 2.3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-cell span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
.sect { padding: clamp(3.6rem, 8vw, 6.2rem) 0; }
.sect-tint { background: var(--paper); }
.sect-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; }
.sect-dark h2, .sect-dark h3 { color: #fff; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--emerald); margin-bottom: .55rem; }
.sect-dark .eyebrow { color: var(--emerald-2); }
.sect-head { margin-bottom: 2.6rem; max-width: 740px; }
.sect-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; }
.sect-head p { color: var(--muted); margin-top: .7rem; }
.sect-dark .sect-head p { color: var(--mist); }
.gold-bar { width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--emerald-2)); margin-top: 1rem; }
.center .gold-bar { margin-inline: auto; }
.sect-foot { margin-top: 2.4rem; }

/* ---------- intro split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split-media::after { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 2px solid var(--gold-soft); border-radius: var(--radius); z-index: -1; }
.tick-list { margin-top: 1.4rem; display: grid; gap: .55rem; list-style: none; }
.tick-list li { display: flex; gap: .7rem; align-items: baseline; font-weight: 500; }
.tick-list li::before { content: "✔"; color: var(--emerald); font-size: .9rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split-media::after { display: none; } }

/* ---------- cards: generic grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { font-size: 1.45rem; text-transform: uppercase; }
.card .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); background: rgba(20, 155, 108, .1); padding: .28rem .75rem; border-radius: 999px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--emerald); font-size: .9rem; letter-spacing: .04em; }
.card .more::after { content: " →"; transition: margin .25s; }
.card:hover .more::after { margin-left: .35rem; }

/* program meta row */
.pmeta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .82rem; color: var(--muted); }
.pmeta b { color: var(--navy-700); }
.fee-pill { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--gold); }

/* ---------- coaches ---------- */
.coach-card { text-align: center; background: var(--navy-700); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.coach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.coach-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.coach-card .cc-body { padding: 1.3rem 1.2rem 1.5rem; color: #fff; }
.coach-card h3 { color: #fff; font-size: 1.4rem; text-transform: uppercase; }
.coach-card .cc-role { color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: .3rem 0 .6rem; }
.coach-card p { color: var(--mist); font-size: .9rem; }

/* ---------- facilities ---------- */
.fac-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.fac-row + .fac-row { margin-top: clamp(2.4rem, 5vw, 4rem); }
.fac-row img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.fac-row:nth-child(even) .fac-media { order: 2; }
.fac-row h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: .6rem; }
.fac-row p { color: var(--muted); }
@media (max-width: 880px) { .fac-row { grid-template-columns: 1fr; } .fac-row:nth-child(even) .fac-media { order: 0; } }

/* ---------- match cards ---------- */
.match-card { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--emerald); border-radius: 12px; padding: 1.05rem 1.2rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.match-card.is-live { border-left-color: #e2554d; }
.match-card .mc-title { font-weight: 700; color: var(--navy-800); }
.match-card .mc-sub { font-size: .85rem; color: var(--muted); }
.match-card .mc-res { font-size: .9rem; font-weight: 600; color: var(--emerald); margin-top: .25rem; }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px; background: rgba(14, 29, 59, .08); color: var(--navy-700); white-space: nowrap; }
.pill-live { background: #fdecea; color: #c0392b; animation: pulse 1.6s infinite; }
.pill-done { background: rgba(20, 155, 108, .12); color: var(--emerald); }
.pill-gold { background: var(--gold-soft); color: #8a6d1a; }
@keyframes pulse { 50% { opacity: .55; } }
.sect-dark .match-card { background: var(--navy-700); border-color: var(--line-dark); }
.sect-dark .match-card .mc-title { color: #fff; }
.sect-dark .match-card .mc-sub { color: var(--mist); }

/* ---------- events ---------- */
.event-row { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--navy-700); border: 1px solid var(--line-dark); border-radius: 12px; padding: 1.1rem 1.3rem; }
.event-date { flex: 0 0 auto; text-align: center; background: linear-gradient(160deg, var(--emerald), var(--emerald-2)); color: #fff; border-radius: 10px; padding: .5rem .85rem; font-family: var(--display); line-height: 1.05; min-width: 64px; }
.event-date b { display: block; font-size: 1.7rem; }
.event-date span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.event-row h3 { color: #fff; font-size: 1.2rem; }
.event-row .ev-meta { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin: .15rem 0 .3rem; }
.event-row p { color: var(--mist); font-size: .9rem; }

/* ---------- achievements ---------- */
.ach-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.ach-card .ach-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: #8a6d1a; font-size: 1.3rem; margin-bottom: .9rem; }
.ach-card h3 { font-size: 1.2rem; }
.ach-card p { color: var(--muted); font-size: .9rem; margin-top: .35rem; }
.ach-card time { font-size: .78rem; color: var(--mist); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- testimonials ---------- */
.tst-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 86%); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem; scrollbar-width: thin; }
.tst-card { scroll-snap-align: start; background: var(--navy-700); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.8rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.tst-card .stars { color: var(--gold); letter-spacing: .2em; font-size: .95rem; }
.tst-card blockquote { color: #eaf0f9; font-size: 1.02rem; font-style: italic; }
.tst-card figcaption { margin-top: auto; display: flex; align-items: center; gap: .85rem; }
.tst-ava { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--emerald-2)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--display); font-size: 1.15rem; }
.tst-card figcaption b { color: #fff; display: block; line-height: 1.25; }
.tst-card figcaption span { color: var(--mist); font-size: .82rem; }

/* ---------- gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 880px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gal-grid { grid-template-columns: 1fr; } }
.gal-item { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; border: 0; padding: 0; background: var(--navy-700); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item .gi-cap { position: absolute; inset: auto 0 0; padding: 1.6rem .9rem .7rem; background: linear-gradient(180deg, transparent, rgba(5, 11, 24, .85)); color: #fff; font-size: .85rem; text-align: left; }
.album-card .card-img { aspect-ratio: 4/3; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(5, 11, 24, .94); display: none; place-items: center; padding: 2rem; }
.lb.open { display: grid; }
.lb img { max-width: min(1100px, 94vw); max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-cap { color: var(--mist); text-align: center; margin-top: .9rem; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- news ---------- */
.news-card .card-img { aspect-ratio: 16/9; }
.news-meta { font-size: .78rem; color: var(--mist); letter-spacing: .1em; text-transform: uppercase; display: flex; gap: .8rem; flex-wrap: wrap; }
.article-body { font-size: 1.05rem; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.2rem; }
.article-body h2 { font-size: 1.7rem; text-transform: uppercase; margin: 2.2rem 0 .8rem; }
.article-body a { color: var(--emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body .lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.article-body img { border-radius: 12px; margin: 1.4rem 0; }
.article-body li { margin-bottom: .45rem; }

/* page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; color: #fff; padding: 9.5rem 0 4.2rem; background: linear-gradient(120deg, var(--navy-950), var(--navy-700)); }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 11, 24, .94) 20%, rgba(7, 15, 32, .55)); }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
.page-hero .crumbs { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin-bottom: .8rem; }
.page-hero .crumbs a { color: var(--gold); }
.page-hero p.ph-sub { color: var(--mist); max-width: 60ch; margin-top: .8rem; }

/* ---------- forms ---------- */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.6rem); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.f-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .f-grid { grid-template-columns: 1fr; } }
.f-field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .05em; color: var(--navy-700); margin-bottom: .35rem; }
.f-field label .req { color: #c0392b; }
.f-field input, .f-field select, .f-field textarea { width: 100%; font: inherit; padding: .72rem .9rem; border: 1.5px solid rgba(14, 29, 59, .18); border-radius: 10px; background: var(--paper); transition: border .2s, box-shadow .2s; color: var(--ink); }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 0; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(20, 155, 108, .14); background: #fff; }
.f-field .hint { font-size: .78rem; color: var(--mist); margin-top: .3rem; }
.f-err { color: #c0392b; font-size: .85rem; margin-top: .3rem; }
.alert { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-weight: 500; }
.alert-ok { background: rgba(20, 155, 108, .1); border: 1px solid rgba(20, 155, 108, .35); color: #0d7a53; }
.alert-err { background: #fdecea; border: 1px solid #f5b7b1; color: #a93226; }

/* ---------- tables (public scoreboards) ---------- */
.pt-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); background: #fff; }
table.ptable { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.ptable th { font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; background: var(--navy-800); color: #fff; padding: .7rem .9rem; text-align: left; }
.ptable td { padding: .65rem .9rem; border-top: 1px solid var(--line); }
.ptable tr:nth-child(even) td { background: var(--paper); }
.ptable td b { color: var(--navy-700); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(3.4rem, 7vw, 5.4rem) 0; background: linear-gradient(120deg, var(--navy-900) 20%, #123b2c 140%); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 2px dashed rgba(212, 175, 55, .22); right: -180px; top: -220px; z-index: -1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); text-transform: uppercase; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--mist); margin: .9rem auto 1.8rem; max-width: 56ch; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy-950); color: var(--mist); padding: 4rem 0 0; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 2.6rem; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { font-family: var(--display); color: #fff; letter-spacing: .18em; text-transform: uppercase; font-size: 1rem; margin-bottom: 1.1rem; }
.site-foot a:hover { color: var(--gold); }
.foot-links { list-style: none; display: grid; gap: .5rem; }
.foot-contact { list-style: none; display: grid; gap: .7rem; }
.foot-contact li { display: flex; gap: .6rem; align-items: baseline; }
.soc-row { display: flex; gap: .7rem; margin-top: 1.2rem; }
.soc-row a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; font-weight: 700; font-size: .78rem; transition: background .25s, transform .25s; }
.soc-row a:hover { background: var(--emerald); transform: translateY(-3px); }
.foot-bar { border-top: 1px solid var(--line-dark); padding: 1.2rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; font-size: .83rem; color: #6d7f9c; }
.foot-bar a { color: var(--mist); }

/* ---------- reveal animation ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card, .match-card, .gal-item img { transition: none; }
  .pill-live { animation: none; }
}

/* misc */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { font-size: .8rem; font-weight: 600; padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); transition: all .2s; }
.chip:hover, .chip.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.empty-note { color: var(--muted); background: var(--paper); border: 1px dashed rgba(14, 29, 59, .2); padding: 1.4rem; border-radius: 12px; text-align: center; }
.stack { display: grid; gap: 1rem; }
.mt-2 { margin-top: 1.4rem; } .mt-3 { margin-top: 2.2rem; }

/* dark embed wrapper for legacy bootstrap scoreboard pages */
.embed-dark { background: #0b1526; color: #d7e0ef; min-height: 60vh; }
