/* ==========================================================================
   NEW BOUNCE · design system v2
   Ink + chalk + court pine, one accent: ball yellow-green.
   Display: Archivo Condensed (uppercase, tight). Text: Archivo.
   ========================================================================== */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo Condensed"; src: url(../fonts/archivo-condensed.woff2) format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url(../fonts/archivo-expanded.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(../fonts/spacegrotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url(../fonts/dmserif.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url(../fonts/dmserif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #0c0e0d;
  --ink-2: #161917;
  --pine: #11281d;
  --pine-2: #1a3a2a;
  --chalk: #f1efe8;
  --paper: #faf9f5;
  --ball: #d4f34a;
  --ball-2: #e6ff7a;
  --court: #3e5c88;
  --bg: var(--chalk);
  --bg-2: #e9e6dd;
  --surface: #ffffff;
  --surface-2: #f3f1eb;
  --line: rgba(12,14,13,.09);
  --line-2: rgba(12,14,13,.16);
  --text: #0f1110;
  --muted: #5b605c;
  --dim: #8c908b;
  --accent: var(--ball);
  --accent-ink: #0c0e0d;
  --accent-fg: #4a7400;
  --accent-soft: rgba(212,243,74,.22);
  --danger: #d33b3b;
  --ok: #2f8a4f;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --wrap: 1240px;
  --display: "Archivo Condensed", "Archivo", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "Space Grotesk", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 1px 2px rgba(12,14,13,.04), 0 12px 32px -12px rgba(12,14,13,.18);
  --tabbar-h: 0px;
}
body.dark {
  --bg: #0a0b0b; --bg-2: #101211; --surface: #151817; --surface-2: #1c201e;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15);
  --text: #eef0ec; --muted: #9a9f9a; --dim: #626862;
  --accent-fg: var(--ball); --accent-soft: rgba(212,243,74,.13);
  --danger: #ff6b6b; --ok: #7cf0a4; --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--dim); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ball); color: var(--ink); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; line-height: 1; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--ball); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tnum { font-variant-numeric: tabular-nums; }
.accent { color: var(--accent-fg); }
.ico { width: 22px; height: 22px; flex: none; }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 3px rgba(212,243,74,.25); }
.kicker-light { color: rgba(255,255,255,.82); }
.eyebrow { font: 600 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin: 0 0 14px; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); text-decoration: none; cursor: pointer;
  font: 700 .95rem/1 var(--body); white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.97); }
.btn-ball, .btn-accent { background: var(--ball); border-color: var(--ball); color: var(--ink); }
.btn-ball:hover, .btn-accent:hover { background: var(--ball-2); border-color: var(--ball-2); }
.btn-ink, .btn-light { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-ink:hover, .btn-light:hover { opacity: .9; }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-ghost { border-color: transparent; }
.btn-danger { border-color: rgba(211,59,59,.4); color: var(--danger); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: .86rem; }
.btn-xs { --h: 32px; padding: 0 13px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }
.btn-arrow { padding-right: 6px; }
.btn-arrow .orb { width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--ball); margin-left: 6px; transition: transform .25s var(--ease); }
.btn-arrow:hover .orb { transform: rotate(45deg); }
.btn-white.btn-arrow .orb, .btn-glass.btn-arrow .orb { background: var(--ball); color: var(--ink); }
.btn-arrow .orb .ico { width: 18px; height: 18px; }

/* ---------- navigation ---------- */
.nav-shell { position: fixed; z-index: 60; top: 0; left: 0; right: 0; padding: 18px 20px 0; pointer-events: none; }
.nav-bar {
  pointer-events: auto; max-width: calc(var(--wrap) + 40px); margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 14px; border-radius: 999px; color: #fff; transition: background .3s, box-shadow .3s;
}
.scrolled .nav-bar { background: rgba(12,14,13,.82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img:first-child { width: 42px; height: 42px; }
.brand-word { height: 30px; width: auto; display: block; }
.nav-pill { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-pill a { position: relative; padding: 10px 16px; border-radius: 999px; text-decoration: none; font: 600 .88rem/1 var(--body); color: rgba(255,255,255,.82); transition: background .2s, color .2s; }
.nav-pill a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-pill a[aria-current] { background: #fff; color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-live { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(255,59,59,.16); border: 1px solid rgba(255,90,90,.4); color: #ffb3b3; text-decoration: none; font: 700 .74rem/1 var(--mono); letter-spacing: .16em; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; margin-left: 6px; vertical-align: 2px; animation: pulse 1.6s infinite; }
.nav-live .live-dot { margin: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }

.tabbar { display: none; }
@media (max-width: 960px) {
  :root { --tabbar-h: 74px; }
  .nav-shell { padding: max(10px, env(safe-area-inset-top)) 12px 0; }
  .nav-bar { height: 58px; padding: 0 8px 0 10px; }
  .nav-pill { display: none; }
  .brand img:first-child { width: 38px; height: 38px; }
  .brand-word { height: 26px; }
  .hide-sm { display: none; }
  .tabbar {
    position: fixed; z-index: 70; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); height: 66px;
    display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 24px;
    background: rgba(12,14,13,.9); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 18px 40px -10px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
  }
  .tabbar a { position: relative; display: grid; place-items: center; align-content: center; gap: 3px; border-radius: 18px; text-decoration: none; color: rgba(255,255,255,.55); font: 600 .66rem/1 var(--body); }
  .tabbar a .ico { width: 22px; height: 22px; }
  .tabbar a[aria-current] { color: var(--ink); background: var(--ball); }
  .tab-dot { position: absolute; top: 9px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 2px rgba(12,14,13,.9); }
  body.has-tabbar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 10px); }
}

/* ---------- home hero ---------- */
.hero { padding: 12px; }
.hero-frame { position: relative; min-height: min(100svh - 24px, 940px); border-radius: var(--radius-xl); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; background: var(--ink); }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); animation: heroIn 1.8s var(--ease) forwards; }
@keyframes heroIn { to { transform: none; } }
.hero-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,9,.55) 0%, rgba(8,10,9,.05) 28%, rgba(8,10,9,.1) 50%, rgba(8,10,9,.88) 100%), linear-gradient(90deg, rgba(8,10,9,.5), transparent 60%); }
.hero-frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.2); border-radius: calc(var(--radius-xl) - 10px); pointer-events: none; }
.hero-content { padding: 0 clamp(26px, 5vw, 72px) clamp(26px, 4.5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(3.6rem, 10.5vw, 10.4rem); line-height: .82; letter-spacing: -.02em; }
.hero h1 span { color: var(--ball); }
.hero-lead { max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.12rem); color: rgba(255,255,255,.86); margin: 26px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.next-card {
  width: 330px; padding: 14px; border-radius: 24px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff;
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); display: grid; gap: 12px; text-decoration: none;
}
.next-card .nc-top { display: flex; align-items: center; justify-content: space-between; font: 600 .7rem/1 var(--mono); letter-spacing: .16em; color: rgba(255,255,255,.75); }
.next-card .nc-main { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
.next-card img { width: 92px; height: 92px; object-fit: cover; border-radius: 16px; }
.next-card strong { display: block; font: 900 2.3rem/.88 var(--display); text-transform: uppercase; }
.next-card span { font-size: .88rem; color: rgba(255,255,255,.8); }
.hero-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; font: 600 .82rem/1 var(--body); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; backdrop-filter: blur(8px); }
.chip .ico { width: 16px; height: 16px; }
.chip-live { background: rgba(255,59,59,.2); border-color: rgba(255,90,90,.5); }
@media (max-width: 960px) {
  .hero { padding: 0; }
  .hero-frame { min-height: 100svh; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
  .hero-frame::after { display: none; }
  .hero-content { grid-template-columns: 1fr; padding: 0 20px 28px; gap: 22px; }
  .hero h1 { font-size: clamp(3.4rem, 19vw, 6rem); }
  .hero-lead { margin: 16px 0 22px; }
  .next-card { width: 100%; }
  .hero-strip { flex-wrap: nowrap; overflow-x: auto; margin: 22px -20px 0; padding: 0 20px; scrollbar-width: none; }
  .hero-strip::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- inner page banner ---------- */
.banner { position: relative; margin: 12px; border-radius: var(--radius-xl); overflow: hidden; min-height: clamp(360px, 52vh, 520px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--ink); }
.banner-media { position: absolute; inset: 0; z-index: -1; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,9,.6), rgba(8,10,9,.15) 35%, rgba(8,10,9,.85)); }
.banner-body { padding: 120px 0 clamp(28px, 4vw, 52px); }
.banner h1 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .85; }
.banner h1 span { color: var(--ball); }
.banner p { max-width: 54ch; color: rgba(255,255,255,.84); margin: 18px 0 0; font-size: 1.05rem; }
.banner p a { color: #fff; }
@media (max-width: 960px) { .banner { margin: 0 0 6px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); min-height: 340px; } .banner-body { padding: 110px 0 26px; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-tight { padding: clamp(36px, 5vw, 70px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .88; }
.sec-head h2 em { font-style: normal; color: var(--accent-fg); }
.sec-head p { color: var(--muted); max-width: 40ch; margin: 0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }
.on-pine, .on-ink { color: #fff; --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.18); --muted: rgba(255,255,255,.66); --dim: rgba(255,255,255,.4); --text: #fff; --accent-fg: var(--ball); --surface: rgba(255,255,255,.05); --surface-2: rgba(255,255,255,.08); --shadow: none; }
.on-pine { background: var(--pine); }
.on-ink { background: var(--ink); }
.rounded-block { border-radius: var(--radius-xl); margin: 0 12px; overflow: hidden; position: relative; }
@media (max-width: 960px) { .rounded-block { margin: 0; } }

/* statement with inline photo pills */
.statement { font: 800 clamp(2.1rem, 5vw, 4.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; max-width: 21ch; margin: 0; }
.statement .pill-img { display: inline-block; width: 1.9em; height: .8em; border-radius: 999px; vertical-align: -.04em; background-size: cover; background-position: center; margin: 0 .06em; }
.statement .ghost { color: var(--dim); }
.intro-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.intro-grid p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 18px; } }

/* photo feature cards */
.feature-cards { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.fcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 480px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; text-decoration: none; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.8)); }
.fcard:hover img { transform: scale(1.04); }
.fcard .num { position: absolute; top: 22px; left: 24px; font: 600 .74rem/1 var(--mono); letter-spacing: .16em; }
.fcard .go { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); transition: background .2s, color .2s; }
.fcard:hover .go { background: var(--ball); color: var(--ink); }
.fcard h3 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: .88; }
.fcard p { margin: 10px 0 0; font-size: .95rem; color: rgba(255,255,255,.82); max-width: 32ch; }
.hscroll { scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
@media (max-width: 960px) {
  .feature-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 0 20px 6px; }
  .fcard { flex: 0 0 80%; min-height: 420px; scroll-snap-align: center; }
}

/* schedule (on pine) */
.sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sday { position: relative; border-radius: var(--radius-lg); padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.sday .d { font: 900 clamp(3.2rem, 5.6vw, 5rem)/.85 var(--display); text-transform: uppercase; }
.sday .t { display: flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--mono); color: var(--muted); }
.sday .t .ico { width: 18px; height: 18px; }
.sday .tag { position: absolute; top: 20px; right: 20px; }
.sday.is-next { background: var(--ball); color: var(--ink); border-color: var(--ball); }
.sday.is-next .t { color: rgba(12,14,13,.72); }
.sday.is-next .tag { background: var(--ink); color: var(--ball); border-color: var(--ink); }
.sday svg.court { position: absolute; right: -50px; bottom: -36px; width: 250px; opacity: .16; transform: rotate(-12deg); }
.sday svg.court * { stroke: currentColor; fill: none; stroke-width: 1.6; }
@media (max-width: 760px) {
  .sched { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px; }
  .sday { flex: 0 0 72%; scroll-snap-align: start; min-height: 190px; }
}

/* numbered event rows */
.erows { margin-top: 40px; border-top: 1px solid var(--line); }
.erow { display: grid; grid-template-columns: 70px 128px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.erow:hover { padding-left: 10px; }
.erow .n { font: 900 2rem/1 var(--display); color: var(--dim); }
.erow img { width: 128px; height: 84px; object-fit: cover; border-radius: 14px; }
.erow h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: .95; }
.erow .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.erow .go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .2s, color .2s, border-color .2s; }
.erow:hover .go { background: var(--ball); color: var(--ink); border-color: var(--ball); }
@media (max-width: 760px) { .erow { grid-template-columns: 76px 1fr; gap: 14px; } .erow .n, .erow .go { display: none; } .erow img { width: 76px; height: 76px; } }

/* tags */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag-accent, .tag-ball { background: var(--ball); border-color: var(--ball); color: var(--ink); }
.tag-live { border-color: rgba(211,59,59,.4); color: var(--danger); }
.tag-ok { border-color: rgba(47,138,79,.35); color: var(--ok); }
.tag-ink { background: var(--ink); border-color: var(--ink); color: #fff; }

/* bento */
.bento { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h3 { font-size: 1.9rem; }
.podium { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 40px 44px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--surface-2); }
.prow:first-child { background: var(--ink); color: #fff; }
.prow .pos { font: 900 1.6rem/1 var(--display); text-align: center; color: var(--dim); }
.prow:first-child .pos { color: var(--ball); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 1.05rem/1 var(--display); background: var(--bg-2); color: var(--text); text-transform: uppercase; }
.prow:first-child .avatar { background: var(--ball); color: var(--ink); }
.prow strong { display: block; font-weight: 700; }
.prow small { color: var(--muted); font-size: .8rem; }
.prow:first-child small { color: rgba(255,255,255,.6); }
.prow .pts { font: 900 1.8rem/1 var(--display); }
.prow .pts small { font: 600 .65rem/1 var(--mono); letter-spacing: .1em; margin-left: 3px; }
.photo-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 300px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; text-decoration: none; }
.photo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.photo-panel:hover img { transform: scale(1.04); }
.photo-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.82)); }
.photo-panel h3 { font-size: 2.4rem; line-height: .88; }
.photo-panel p { margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: .94rem; }
.photo-panel .tag { position: absolute; top: 18px; left: 18px; background: rgba(0,0,0,.4); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); }
.stack { display: grid; gap: 14px; align-content: start; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr; } }

/* results */
.result { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.result .teams { display: grid; gap: 4px; min-width: 0; }
.result .team { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .team.win { color: var(--text); font-weight: 700; }
.result .team.win::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 2px rgba(12,14,13,.14); }
.result .sub { font: 500 .72rem/1 var(--mono); color: var(--dim); letter-spacing: .06em; margin-top: 6px; text-transform: uppercase; }
.sets { display: inline-flex; gap: 5px; }
.set { position: relative; display: inline-grid; grid-template-rows: 1fr 1fr; min-width: 30px; text-align: center; background: var(--surface-2); border-radius: 9px; padding: 5px 6px; font: 700 .95rem/1.35 var(--mono); }
.set b { font-weight: 500; color: var(--dim); }
.set b.w { color: var(--text); font-weight: 700; }
.set sup { position: absolute; right: 2px; top: 2px; font-size: .55rem; color: var(--muted); }

/* gallery marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: clamp(220px, 28vw, 380px); width: auto; border-radius: var(--radius-lg); object-fit: cover; }
.marquee-track img:nth-child(3n+2) { height: clamp(170px, 21vw, 290px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sponsors */
.sponsor-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sponsor { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 16/9; display: grid; place-items: center; padding: 22px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sponsor img { max-height: 58px; width: auto; object-fit: contain; }
.sponsor img.mono { filter: grayscale(1) brightness(0); opacity: .85; }
.sponsor.main { grid-column: span 2; background: var(--ink); }
.sponsor.main img.mono { filter: grayscale(1) brightness(0) invert(1); opacity: 1; }
.sponsor.main span { color: #fff; }
.sponsor span { font: 800 1.2rem/1.05 var(--display); text-transform: uppercase; text-align: center; color: var(--text); }
@media (max-width: 560px) { .sponsor-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sponsor { padding: 14px; } .sponsor span { font-size: 1rem; } }

/* location */
.loc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.loc-card { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.loc-card h3 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: .88; }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; background: var(--bg-2) url(../img/photos/arch-group-sm.jpg) center/cover; position: relative; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.loc-list { display: grid; gap: 14px; }
.loc-list div { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.85); }
.loc-list .ico { color: var(--ball); margin-top: 2px; }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } .loc-map { min-height: 300px; } }

/* join CTA */
.join { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 580px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; margin: 0 12px; }
.join > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,10,9,.05), rgba(8,10,9,.82)); }
.join-body { padding: clamp(26px, 5vw, 64px); width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.join h2 { font-size: clamp(3.4rem, 9vw, 8.6rem); line-height: .82; }
.join h2 span { color: var(--ball); }
.join p { color: rgba(255,255,255,.85); max-width: 40ch; margin: 16px 0 0; }
@media (max-width: 860px) { .join { margin: 0; min-height: 540px; } .join-body { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px 18px 18px; box-shadow: var(--shadow); }
.date-block { text-align: center; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 0 12px; }
.date-block .dd { font: 900 2.6rem/.9 var(--display); }
.date-block .mm { font: 600 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ball); margin-top: 6px; }
.event h3 { font-size: 1.8rem; line-height: .95; margin-bottom: 8px; }
.event .meta { color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 720px) { .event { grid-template-columns: 70px 1fr; padding: 14px; gap: 14px; } .event > .tag { grid-column: 1 / -1; justify-self: start; } .date-block .dd { font-size: 2rem; } }
.empty { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--muted); }
.empty h3 { color: var(--text); font-size: 2rem; margin-bottom: 8px; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 2px; margin-bottom: 22px; box-shadow: var(--shadow); }
.tabs a, .tabs button { padding: 10px 20px; border-radius: 999px; text-decoration: none; font: 700 .88rem/1 var(--body); color: var(--muted); background: none; border: 0; cursor: pointer; }
.tabs [aria-current], .tabs [aria-selected="true"] { background: var(--text); color: var(--bg); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rank { font: 900 1.5rem/1 var(--display); color: var(--dim); width: 60px; }
tbody tr:nth-child(1) .rank { color: var(--accent-fg); }
.pname { font-weight: 700; }
.bar { height: 5px; border-radius: 5px; background: var(--surface-2); width: 90px; overflow: hidden; display: inline-block; vertical-align: middle; margin-left: 10px; }
.bar i { display: block; height: 100%; background: var(--text); border-radius: 5px; }

/* forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field .hint { font-size: .82rem; color: var(--dim); }
.input, select.input, textarea.input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
textarea.input { min-height: 110px; resize: vertical; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 24px, calc(100% - 16px) 24px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.input:focus { outline: none; border-color: var(--text); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder { color: var(--dim); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .94rem; transition: .2s; background: var(--surface); }
.choice input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-fg); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.flash-wrap { position: relative; z-index: 5; }
.flash { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; border: 1px solid; font-weight: 600; }
.flash-ok { border-color: rgba(74,116,0,.3); background: var(--accent-soft); color: var(--text); }
.flash-err { border-color: rgba(211,59,59,.35); background: rgba(211,59,59,.08); color: var(--danger); }
.has-tabbar .flash-wrap { position: fixed; top: 96px; left: 0; right: 0; z-index: 80; pointer-events: none; animation: flashOut 6s forwards; }
.has-tabbar .flash { box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); background: var(--surface); }
@keyframes flashOut { 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-aside { position: sticky; top: 110px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-aside { position: static; } }
.steps { counter-reset: s; display: grid; gap: 18px; margin: 28px 0 0; padding: 0; }
.steps li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: var(--muted); }
.steps li::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--ball); display: grid; place-items: center; font: 900 1.2rem/1 var(--display); }
.steps b { color: var(--text); display: block; }
.aside-photo { border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; aspect-ratio: 4/3; }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }

.masonry { columns: 3 280px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; border-radius: var(--radius-lg); overflow: hidden; break-inside: avoid; position: relative; background: var(--bg-2); }
.masonry img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.masonry a:hover img { transform: scale(1.03); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .9rem; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,10,9,.95); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 16px; }
.lightbox p { text-align: center; color: rgba(255,255,255,.7); margin-top: 14px; }
.lightbox button { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; background: #fff; color: var(--ink); }

.live-pill { display: inline-flex; align-items: center; gap: 8px; font: 700 .7rem/1 var(--mono); letter-spacing: .18em; color: #ff4d4d; }
.live-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: pulse 1.6s infinite; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #fff; margin: clamp(48px, 7vw, 100px) 12px 12px; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px) 0 26px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.foot-brand p { color: rgba(255,255,255,.62); max-width: 36ch; margin: 18px 0 20px; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: background .2s, color .2s; }
.foot-social a:hover { background: var(--ball); color: var(--ink); border-color: var(--ball); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot h3 { font: 600 .7rem/1 var(--mono); letter-spacing: .18em; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot li { font-weight: 600; }
.foot li span { color: rgba(255,255,255,.55); font-weight: 400; display: block; font-size: .88rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ball); }
.foot-word { width: 100%; height: auto; margin: clamp(40px, 6vw, 80px) 0 22px; }
.foot-base { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font: 500 .78rem/1 var(--mono); color: rgba(255,255,255,.45); }
@media (max-width: 860px) {
  .foot { margin: 40px 0 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* dark pages (admin, wasit, tv, login) */
.dark .card, .dark .table-wrap, .dark .tabs, .dark .event { box-shadow: none; }
.dark .date-block { background: var(--surface-2); }
.dark .choice span { background: transparent; }
.dark .input { background: var(--bg-2); }
.dark .flash-ok { color: var(--ball); }
.dark .steps li::before { background: var(--surface-2); }

/* home additions */
.has-hero .hero-strip { margin-top: 18px; }
.chip-dark { background: var(--surface); border-color: var(--line); color: var(--text); backdrop-filter: none; box-shadow: var(--shadow); }
.chip-dark .ico { color: var(--accent-fg); }
.chip-dark.chip-live { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel-head-sub { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: 4px; }
.photo-panel.tall { min-height: 380px; }
.intro-grid .btn { margin-top: 8px; }
@media (max-width: 960px) {
  .has-hero .hero-strip { margin-top: 14px; }
  .intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-head > .btn { justify-self: start; }
  .erow { grid-template-columns: 84px 1fr auto; gap: 14px; }
  .erow .n { display: none; }
  .erow img { width: 84px; height: 64px; }
  .erow .go { width: 40px; height: 40px; }
  .rounded-block { margin: 0; }
  .photo-panel, .photo-panel.tall { min-height: 280px; }
}
.intro-grid .statement { font-size: clamp(2.1rem, 5vw, 4.5rem); color: var(--text); line-height: .98; }
.sponsor img { max-width: 100%; }
.sponsor-row { grid-auto-rows: 120px; }
.sponsor { aspect-ratio: auto; height: 100%; }
.stack { grid-auto-rows: 1fr; }
.photo-panel img { object-position: 50% 25%; }
@media (max-width: 560px) { .sponsor-row { grid-auto-rows: 96px; } }
@media (max-width: 760px) { .sched, .feature-cards { scroll-padding-inline: 20px; } }

/* inner pages v2 */
.inline-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.sched-light .sday { box-shadow: var(--shadow); }
.sched-light .sday.is-next { background: var(--ink); color: #fff; border-color: var(--ink); }
.sched-light .sday.is-next .t { color: rgba(255,255,255,.7); }
.sched-light .sday.is-next .tag { background: var(--ball); color: var(--ink); border-color: var(--ball); }
.sched-light .sday.is-next .d { color: var(--ball); }
.podium3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; margin-bottom: 18px; max-width: 760px; }
.pod { display: grid; justify-items: center; gap: 4px; text-align: center; }
.pod .avatar { width: 58px; height: 58px; font-size: 1.5rem; background: var(--surface); box-shadow: var(--shadow); }
.pod strong { font: 800 1.25rem/1 var(--display); text-transform: uppercase; margin-top: 6px; }
.pod small { color: var(--muted); font-size: .8rem; }
.pod-step { width: 100%; margin-top: 10px; border-radius: 20px 20px 8px 8px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: 6px; padding: 16px 0; }
.pod-step span { font: 900 3.4rem/.8 var(--display); color: var(--dim); }
.pod-step b { font: 700 .95rem/1 var(--mono); }
.pod-1 .pod-step { background: var(--ink); color: #fff; height: 190px; border-color: var(--ink); }
.pod-1 .pod-step span { color: var(--ball); font-size: 4.6rem; }
.pod-1 .avatar { background: var(--ball); color: var(--ink); width: 70px; height: 70px; }
.pod-2 .pod-step { height: 150px; }
.pod-3 .pod-step { height: 120px; }
.banner + .section-tight, .banner + .flash-wrap + .section-tight { padding-top: clamp(36px, 5vw, 64px); }
@media (max-width: 960px) {
  .banner { margin: 0; border-radius: 0 0 var(--radius-xl) var(--radius-xl); min-height: 420px; }
  .banner-body { padding-top: 130px !important; }
  .banner-body { padding-top: 110px; }
  .banner h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .banner p { font-size: .96rem; }
}

/* stock imagery additions */
.hero-side { display: grid; gap: 12px; justify-items: end; }
.hero-inset { margin: 0; width: 330px; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18); }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-inset figcaption { position: absolute; left: 14px; bottom: 12px; font: 600 .66rem/1 var(--mono); letter-spacing: .18em; color: #fff; background: rgba(0,0,0,.35); padding: 7px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.has-texture { isolation: isolate; }
.sec-texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; z-index: -1; mix-blend-mode: luminosity; }
@media (max-width: 960px) { .hero-inset { display: none; } .hero-side { justify-items: stretch; } }
@media (min-width: 961px) and (max-height: 860px) { .hero-inset { width: 260px; } }
.hero-frame > picture { position: absolute; inset: 0; z-index: -2; }
.hero-frame > picture img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroIn 1.8s var(--ease) forwards; }
@media (max-width: 960px) { .hero-frame > picture img { object-position: 50% 30% !important; } }
@media (max-width: 960px) { .hero-frame::before { background: linear-gradient(180deg, rgba(8,10,9,.55) 0%, rgba(8,10,9,.35) 30%, rgba(8,10,9,.55) 55%, rgba(8,10,9,.92) 100%); } }
