/* ==========================================================================
   GIT – Grizzlies International Tournament
   Colours come from the GIT logo: grizzly green, beer yellow/orange, black.
   ========================================================================== */

:root {
  --green: #8dbf44;
  --green-bright: #a6dc4f;
  --green-deep: #5f8a22;
  --yellow: #f8d81c;
  --orange: #ef8a1c;
  --red: #d8342a;

  --bg: #0b0c0a;
  --bg-2: #121410;
  --surface: #181b15;
  --surface-2: #20241b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f3f5ee;
  --muted: #a9b19d;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-bright); text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 10, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--green); }
.brand-text span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--green-bright); }

.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch a {
  color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none;
  padding: 5px 9px; border-radius: 999px; letter-spacing: .05em; line-height: 1.4;
}
.lang-switch a:hover { color: var(--text); background: var(--surface-2); }
.lang-switch a[aria-current="true"] { background: var(--green); color: #0b0c0a; }
@media (max-width: 400px) {
  .lang-switch a { padding: 5px 7px; font-size: .74rem; }
  .nav { gap: 10px; }
}

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #0b0c0a; }
.btn-primary:hover { background: var(--yellow); color: #0b0c0a; }
.btn-ghost { border-color: var(--green); color: var(--green-bright); background: transparent; }
.btn-ghost:hover { background: var(--green); color: #0b0c0a; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero-bg.webp") center / cover no-repeat;
  filter: grayscale(1) brightness(.28);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(141, 191, 68, .28), transparent 70%),
    linear-gradient(180deg, rgba(11, 12, 10, .2) 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: rgba(141, 191, 68, .14); border: 1px solid rgba(141, 191, 68, .4);
  color: var(--green-bright); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); margin: 18px 0 12px; }
.hero h1 .accent { color: var(--green); display: block; }
.hero-date {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--yellow); margin-bottom: 8px;
}
.hero-lead { font-size: 1.12rem; color: #d6dccb; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-logo { justify-self: center; width: min(420px, 100%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }

.countdown { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.countdown div {
  min-width: 76px; padding: 10px 12px; border-radius: 14px; text-align: center;
  background: rgba(24, 27, 21, .8); border: 1px solid var(--line-strong);
}
.countdown b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; color: var(--text); }
.countdown small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.countdown-done { margin-top: 30px; padding: 14px 18px; border-radius: 14px; background: rgba(248, 216, 28, .1); border: 1px solid rgba(248, 216, 28, .35); color: #f4e9a6; max-width: 36em; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; margin-bottom: 10px; display: block; }
.section h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.stat .icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 12px; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro p { color: #d6dccb; }
.intro-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.intro-photo img { width: 100%; aspect-ratio: 1600 / 1010; object-fit: cover; }
.flags { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.flag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.flag i { width: 20px; height: 14px; border-radius: 3px; display: inline-block; }
.flag-nl i { background: linear-gradient(#ae1c28 33.3%, #fff 0 66.6%, #21468b 0); }
.flag-de i { background: linear-gradient(#000 33.3%, #dd0000 0 66.6%, #ffce00 0); }
.flag-fr i { background: linear-gradient(90deg, #0055a4 33.3%, #fff 0 66.6%, #ef4135 0); }
.flag-en i { background: linear-gradient(90deg, transparent 42%, #ce1124 0 58%, transparent 0), linear-gradient(transparent 40%, #ce1124 0 60%, transparent 0) #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: day; }
.day {
  position: relative; padding: 24px 22px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.day::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--green); }
.day.pre::before { background: var(--muted); }
.day-date { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.day-date small { display: block; font-family: var(--font-body); font-size: .78rem; color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-bottom: 6px; }
.day p { color: var(--muted); margin: 12px 0 0; font-size: .95rem; }

/* Pools */
.pools { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pool {
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  display: flex; gap: 20px; align-items: flex-start;
}
.pool-badge { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.pool-badge svg { width: 40px; height: 40px; }
.pool-baseball .pool-badge { background: #f1f1ec; color: var(--red); }
.pool-softball .pool-badge { background: var(--yellow); color: var(--red); }
.pool h3 { font-size: 1.35rem; margin-bottom: 6px; }
.pool p { color: var(--muted); margin: 0; }

/* Rules list */
.rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.rules svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 3px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.price-card {
  position: relative; padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.price-card.featured { background: linear-gradient(160deg, #23301a 0%, var(--surface) 60%); border-color: rgba(141, 191, 68, .6); box-shadow: 0 30px 60px -30px rgba(141, 191, 68, .45); }
.price-tag { position: absolute; top: -13px; right: 26px; background: var(--yellow); color: #0b0c0a; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-sub { color: var(--muted); font-size: .95rem; }
.price { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; margin: 18px 0 4px; color: var(--green-bright); }
.price small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--green); }
.price-card .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: .95rem; }

/* Location */
.location { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: stretch; }
.address-card { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.address-card > .icon { width: 40px; height: 40px; color: var(--green); }
.address-card address { font-style: normal; font-size: 1.1rem; }
.address-card address strong { display: block; font-size: 1.25rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--surface); position: relative; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }

/* Gallery teaser */
.teaser { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.teaser a { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface-2); border: 1px solid var(--line); }
.teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.teaser a:hover img { transform: scale(1.06); }
.teaser span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; font-weight: 700; font-size: .9rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; }

/* CTA banner */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(120deg, var(--green-deep), var(--green) 55%, var(--yellow));
  color: #0b0c0a; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 8px; }
.cta p { margin: 0; font-weight: 600; max-width: 34em; }
.cta .btn-dark { background: #0b0c0a; color: var(--text); }
.cta .btn-dark:hover { background: #fff; color: #0b0c0a; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Page header (sub pages) ---------- */
.page-hero { padding: clamp(44px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(141, 191, 68, .16), transparent 70%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0; }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; font-size: .95rem;
  padding: 10px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.tab small { color: var(--muted); font-weight: 600; }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #0b0c0a; }
.tab[aria-selected="true"] small { color: #213108; }

/* Photo grid */
.album-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.photo-grid button {
  padding: 0; border: 0; cursor: zoom-in; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2);
  display: block; width: 100%;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .3s; }
.photo-grid button:hover img { transform: scale(1.05); }
.load-more { display: flex; justify-content: center; margin-top: 26px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 6, 4, .95); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow); }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(24, 27, 21, .85); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--green); color: #0b0c0a; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .9rem; }

/* Videos */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.video button:hover img { opacity: 1; }
.video button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230b0c0a'/%3E%3C/svg%3E") center / 34px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* About */
.story { max-width: 760px; }
.story p { font-size: 1.08rem; color: #d6dccb; }
.story h2 { margin-top: 1.8em; }
.crew-photo { margin: 24px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.crew-photo img { width: 100%; height: auto; display: block; }
.crew { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.crew li { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.crew strong { color: var(--green-bright); }
.crew span { color: var(--muted); font-size: .92rem; }
.story-welcome { font-family: var(--font-display); font-size: 1.3rem !important; color: var(--green) !important; }
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.club-card { position: sticky; top: 96px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.club-card img { width: 140px; margin: 0 auto 14px; }
.club-card p { color: var(--muted); font-size: .95rem; }

/* Registration */
.register-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.register-aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.mini-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mini-card h3 { font-size: 1.05rem; }
.mini-card p, .mini-card li { color: var(--muted); font-size: .95rem; }
.mini-card ul { margin: 0; padding-left: 1.1em; }
.form-frame { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.form-frame iframe { display: block; width: 100%; height: 2150px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #070806; border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 64px; }
.footer-brand strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; display: block; line-height: 1.1; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 14px; }
.site-footer p, .site-footer address, .site-footer li { color: var(--muted); font-size: .95rem; font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.socials a:hover { background: var(--green); color: #0b0c0a; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .stats, .timeline { grid-template-columns: repeat(2, 1fr); }
  .teaser { grid-template-columns: repeat(3, 1fr); }
  .teaser a:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .register-grid { grid-template-columns: 1fr; }
  .register-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav-links a { padding: 14px 8px; border-radius: 10px; font-size: 1.05rem; }
  .menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav .btn-register { display: none; }
  .hero-grid, .intro, .pools, .pricing, .location, .about-grid, .videos, .cta { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: min(240px, 60vw); }
  .hero-grid { text-align: left; }
  .rules { grid-template-columns: 1fr; }
  .club-card { position: static; }
  .map-embed { min-height: 0; aspect-ratio: 4 / 3; }
  .price-card.featured { order: -1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-text span { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .stat strong { font-size: 1.2rem; }
  .teaser { grid-template-columns: repeat(2, 1fr); }
  .teaser a:nth-child(n+3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; padding: 10px 6px; }
  .countdown b { font-size: 1.5rem; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  #album-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  #album-tabs .tab { flex: none; }
  .photo-grid button { border-radius: 6px; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .pool { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.m0 { margin: 0 !important; }
.muted { color: var(--muted); }
.section-flush { padding-top: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; max-width: none; }
.small { font-size: .88rem; }
.section h2.h3, h2.h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.35rem; margin-bottom: 18px; }

/* ---------- Guestbook ---------- */
.guestbook-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gb-form { position: sticky; top: 96px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(141, 191, 68, .25); }
.field.invalid input, .field.invalid textarea, .check.invalid span { border-color: var(--red); color: #ffb3ad; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.notice-ok { background: rgba(141, 191, 68, .14); border: 1px solid rgba(141, 191, 68, .45); color: #d7f0b2; }
.notice-err { background: rgba(216, 52, 42, .12); border: 1px solid rgba(216, 52, 42, .5); color: #ffc4bf; }
.gb-entries { display: grid; gap: 12px; }
.gb-entry { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.gb-entry header { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; margin-bottom: 8px; }
.gb-entry time { margin-left: auto; color: var(--muted); font-size: .85rem; }
.gb-entry p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: #d6dccb; }
.admin-list { max-width: 820px; display: grid; gap: 12px; }
.admin-list h2 { margin-top: 20px; }
.admin-actions { display: flex; gap: 8px; margin-top: 14px; }
.admin-actions form { margin: 0; }

.not-found { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.not-found img { margin: 0 auto 20px; width: 140px; }
.not-found h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

@media (max-width: 880px) {
  .guestbook-grid { grid-template-columns: 1fr; }
  .gb-form { position: static; }
}

/* ---------- Tournament ---------- */
.section-tight { padding: clamp(28px, 4vw, 44px) 0 0; }
.t-status { margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-app-link { margin-top: 8px; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); animation: pulse 1.6s infinite; margin-right: 6px; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
.t-stale { margin-top: 20px; }

.subnav { position: sticky; top: 70px; z-index: 40; background: rgba(11, 12, 10, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .92rem; }
.subnav a:hover { background: var(--surface-2); color: var(--green-bright); }
[id="standings"], [id="schedule"], [id="finals"], [id="teams"], [id="events"] { scroll-margin-top: 130px; }

.champions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.champion { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(248, 216, 28, .16), var(--surface) 70%); border: 1px solid rgba(248, 216, 28, .45); }
.trophy { font-size: 2.6rem; line-height: 1; }
.champion .kicker { color: var(--yellow); margin-bottom: 4px; }
.champion-name { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }

.standings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.table-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 20px 8px 8px; }
.table-card h3 { padding: 0 14px; }
.table-scroll { overflow-x: auto; }
.standings-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.standings-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); }
.standings-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.standings-table tr:last-child td { border-bottom: 0; }
.standings-table .num { text-align: right; width: 1%; }
.standings-table .rank { color: var(--muted); font-weight: 700; text-align: center; }
.standings-table tr.top .rank { color: #0b0c0a; }
.standings-table tr.top td.rank { background: var(--green); border-radius: 8px; }
.standings-table .team-cell { font-weight: 700; white-space: normal; min-width: 150px; }
.standings-table .pts { font-weight: 800; color: var(--green-bright); }
.flag-emoji { margin-right: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.filters .tab[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #0b0c0a; }
.select select { font: inherit; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 40px 10px 16px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238dbf44' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.day-block + .day-block { margin-top: 34px; }
.day-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 0 0 14px; }
#finals .day-title { margin-top: 28px; }
#finals .day-title:first-of-type { margin-top: 0; }
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.match { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.match-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px; font-size: .78rem; }
.pool-chip, .stage-chip { padding: 2px 9px; border-radius: 999px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; }
.pool-baseball { background: rgba(241, 241, 236, .12); color: #e9ebe2; }
.pool-slowpitch { background: rgba(248, 216, 28, .15); color: var(--yellow); }
.stage-chip { background: rgba(141, 191, 68, .18); color: var(--green-bright); }
.match-when { margin-left: auto; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.match-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--muted); }
.match.is-played .match-row.win { color: var(--text); font-weight: 800; }
.match:not(.is-played) .match-row { color: var(--text); }
.match-row .score { font-family: var(--font-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; min-width: 1.5em; text-align: right; }
.match-row.win .score { color: var(--green-bright); }
.seed { color: var(--muted); font-weight: 600; }
.match-ump { font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 6px; margin-top: 2px; }

.teams-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.team-list li { display: flex; align-items: center; gap: 4px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.team-list .muted { margin-left: auto; font-size: .88rem; }

.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.event-card { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.event-when { flex: none; width: 84px; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--surface-2); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.event-when small { display: block; font-family: var(--font-body); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green); font-weight: 800; margin-bottom: 4px; }
.event-card h3 { margin-bottom: 4px; }

/* Home: tournament block */
.t-home { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(140deg, #1d2716, var(--surface) 65%); border: 1px solid rgba(141, 191, 68, .35); margin-top: 18px; }
.t-home-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.t-home h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.t-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.t-home-card { padding: 18px 20px; border-radius: var(--radius); background: rgba(11, 12, 10, .5); border: 1px solid var(--line); }
.t-home-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green); }
.t-champ { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 4px; line-height: 1.2; }
.t-champ strong { font-weight: 400; }
.t-top { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 6px; }
.t-top li { counter-increment: r; display: flex; justify-content: space-between; gap: 10px; }
.t-top li::before { content: counter(r); width: 22px; color: var(--muted); font-weight: 800; }
.t-top li span { margin-right: auto; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav-links a { padding: 14px 8px; border-radius: 10px; font-size: 1.05rem; }
  .menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
}
@media (max-width: 520px) {
  .standings-table { font-size: .88rem; }
  .standings-table td, .standings-table th { padding: 9px 6px; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .filters .tab { flex: none; }
  .select select { width: 100%; }
}

/* ---------- Registration form ---------- */
#form { scroll-margin-top: 90px; }
.reg-card { padding: clamp(22px, 3.5vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.reg-card h2 { margin: 0; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-items: start; }
.reg-grid .span-2 { grid-column: 1 / -1; }
.field .help { font-weight: 400; color: var(--muted); font-size: .84rem; }
.field input[type="number"] { max-width: 160px; }
.field-choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-choice legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 46px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2); font-weight: 700; position: relative; transition: border-color .15s, background .15s; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); }
.choice small { font-weight: 600; color: var(--muted); font-size: .84rem; }
.choice input:checked + span { border-color: var(--green); background: rgba(141, 191, 68, .1); }
.choice input:checked + span::before { border-color: var(--green); background: radial-gradient(var(--green) 45%, transparent 50%); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field-choice.invalid .choice span { border-color: var(--red); }
.field-choice.invalid legend { color: #ffb3ad; }
.reg-estimate { margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(248, 216, 28, .08); border: 1px solid rgba(248, 216, 28, .3); color: #f4e9a6; }
.reg-form .btn[type="submit"] { justify-self: start; }
.reg-done { border-color: rgba(141, 191, 68, .55); background: linear-gradient(150deg, #1f2b17, var(--surface) 60%); }
.reg-check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #0b0c0a; font-size: 1.6rem; font-weight: 800; }
.reg-done p { margin: 0; }
.reg-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.reg-summary div { padding: 12px 14px; border-radius: 12px; background: rgba(11, 12, 10, .5); border: 1px solid var(--line); }
.reg-summary dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; }
.reg-summary dd { margin: 2px 0 0; font-weight: 800; font-size: 1.05rem; }
@media (max-width: 640px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-form .btn[type="submit"] { justify-self: stretch; }
}
