/* Park Tenisz
   Layout concept: a clay court seen from above. Green bands are the surrounds,
   cream is the court, thin court lines divide sections. One typeface (Archivo),
   widened for display and labels, normal width for reading. */
:root {
  --clay: #B9532F;
  --clay-dark: #96421F;
  --clay-soft: #F1DDD2;
  --teal: #2F6E7E;
  --green: #1E4536;
  --green-deep: #15332A;
  --cream: #F4F1E8;
  --cream-deep: #EBE5D6;
  --paper: #FBFAF6;
  --ink: #1A2721;
  --muted: #5E6B64;
  --line: rgba(30, 69, 54, .15);
  --line-light: rgba(244, 241, 232, .22);
  --ball: #D5E04B;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 112%;
  --wider: 125%;

  --radius: 6px;
  --max: 1200px;
  --header-h: 76px;
  --band: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ball); color: var(--green-deep); }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--font); font-stretch: var(--wide); color: var(--green); margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); font-weight: 800; line-height: .98; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 750; line-height: 1.04; letter-spacing: -.02em; }
h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .74rem/1 var(--font); font-stretch: var(--wider);
  letter-spacing: .16em; text-transform: uppercase; color: var(--clay);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.lead { font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.55; color: var(--ink); max-width: 38em; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.band { padding-block: var(--band); }
.band + .band { border-top: 1px solid var(--line); }
.band--tint { background: var(--cream-deep); border-top: 0 !important; }
.band--tint + .band { border-top: 0; }
.band--green { background: var(--green); color: var(--cream); border-top: 0 !important; }
.band--green + .band { border-top: 0; }
.band--green h2, .band--green h3 { color: var(--cream); }
.band--green .eyebrow { color: #E9A182; }
.band--tight { padding-block: 48px; }
.narrow { max-width: 760px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.sec-head h2 { margin: 0; max-width: 16em; }
.sec-head p { margin: 12px 0 0; max-width: 34em; color: var(--muted); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--clay);
  background: var(--clay); color: var(--cream);
  font: 600 .82rem/1 var(--font); font-stretch: var(--wider); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: var(--cream); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); border-color: var(--green); color: var(--cream); }
.btn--light { background: transparent; color: var(--cream); border-color: rgba(244, 241, 232, .6); }
.btn--light:hover { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--green-deep); color: rgba(244, 241, 232, .78); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--cream); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 24px; align-items: center; }
@media (max-width: 899px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(244, 241, 232, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); flex: none; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font-weight: 700; font-stretch: var(--wider); letter-spacing: .2em; font-size: 1rem; }
.brand-text small { font-size: .6rem; font-stretch: var(--wider); letter-spacing: .26em; color: var(--teal); margin-top: 6px; text-transform: uppercase; }

.nav { display: none; margin-left: auto; align-items: stretch; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px;
  color: var(--green); text-decoration: none; font-size: .9rem; font-weight: 550; position: relative;
}
.nav-item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--clay); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav-item:hover > a::after, .nav-item > a[aria-current="page"]::after, .nav-item.is-current > a::after { transform: scaleX(1); }
.has-sub > a .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .6; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(21, 51, 42, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 4px; color: var(--green); text-decoration: none; font-size: .92rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); color: var(--clay); }
.header-cta { display: none; }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--cream); border: 0; border-radius: 999px; height: 44px; padding: 0 18px;
  font: 600 .78rem/1 var(--font); font-stretch: var(--wider); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.menu-btn .bars { width: 18px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 18px; }
  .menu-btn { display: none; }
}

/* Mobile menu: full-screen panel */
.menu-panel {
  position: fixed; inset: 0; z-index: 45; background: var(--green); color: var(--cream);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) max(20px, env(safe-area-inset-right, 0px)) max(32px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  overflow-y: auto; display: grid; align-content: start; gap: 22px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.menu-open .menu-panel { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-panel .mp-group { display: grid; gap: 2px; }
.menu-panel .mp-label { font-size: .7rem; font-stretch: var(--wider); letter-spacing: .2em; text-transform: uppercase; color: #E9A182; margin-bottom: 6px; }
.menu-panel a { color: var(--cream); text-decoration: none; font-size: 1.3rem; font-weight: 650; font-stretch: var(--wide); padding: 4px 0; letter-spacing: -.01em; }
.menu-panel a[aria-current="page"] { color: var(--ball); }
.menu-panel .mp-contact a { font-size: 1rem; font-weight: 500; }
@media (min-width: 1100px) { .menu-panel { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--green); color: var(--cream); padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px); }
.page-hero::before { /* court lines */
  content: ""; position: absolute; top: -40%; bottom: -40%; right: -8%; width: min(560px, 70%);
  border: 2px solid var(--line-light); border-radius: 2px; transform: rotate(-8deg);
  background:
    linear-gradient(var(--line-light), var(--line-light)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(var(--line-light), var(--line-light)) 0 50% / 100% 2px no-repeat;
  pointer-events: none;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--clay) 0 62%, var(--teal) 62% 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--cream); margin: 0; max-width: 14em; }
.page-hero .eyebrow { color: #E9A182; }
.page-hero .lead { color: rgba(244, 241, 232, .82); margin: 20px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; margin-bottom: 28px; color: rgba(244, 241, 232, .55); }
.crumbs a { color: rgba(244, 241, 232, .85); text-decoration: none; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: var(--cream); background: var(--green-deep); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(21, 51, 42, .96) 0%, rgba(21, 51, 42, .86) 38%, rgba(21, 51, 42, .25) 75%, rgba(21, 51, 42, .1) 100%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(21, 51, 42, .55) 0%, rgba(21, 51, 42, .92) 55%); } }
.hero .wrap { padding-block: clamp(80px, 13vw, 168px) clamp(40px, 6vw, 64px); }
.hero h1 { color: var(--cream); font-size: clamp(2.7rem, 7vw, 5.6rem); max-width: 10em; margin-bottom: 26px; }
.hero h1 span { color: var(--ball); }
.hero .lead { color: rgba(244, 241, 232, .88); margin-bottom: 34px; max-width: 30em; }
.hero .eyebrow { color: var(--ball); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(56px, 9vw, 104px); border-top: 1px solid var(--line-light); }
.stats div { padding: 22px 20px 6px 0; }
.stats b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.02em; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.stats span { display: block; font-size: .85rem; color: rgba(244, 241, 232, .72); margin-top: 8px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.hero-in > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; } .hero-in > *:nth-child(4) { animation-delay: .24s; } .hero-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Tiles (the one card style) ---------- */
.tiles { display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.tiles--3 { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
@media (min-width: 1000px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.tile-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); margin-bottom: 18px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tile--portrait .tile-img { aspect-ratio: 4 / 5; }
.tile--contain .tile-img img { object-fit: contain; padding: 18px; background: var(--paper); }
a.tile:hover .tile-img img { transform: scale(1.045); }
.tile .meta { font-size: .72rem; font-stretch: var(--wider); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 8px; }
.tile h3 { margin: 0 0 6px; transition: color .2s; }
a.tile:hover h3 { color: var(--clay); }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Prose ---------- */
.prose { max-width: 42em; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin: 1.8em 0 .6em; }
.prose strong { font-weight: 650; color: var(--green); }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2em 0; }
.list-dash { list-style: none; padding-left: 0 !important; }
.list-dash li { position: relative; padding-left: 24px; }
.list-dash li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 2px; background: var(--clay); }
.quote {
  margin: 0 0 2em; padding: 0 0 0 24px; border-left: 3px solid var(--clay);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.35; font-weight: 600; font-stretch: var(--wide); letter-spacing: -.01em; color: var(--green);
}
.quote--italic { font-style: italic; font-weight: 500; }
.tags { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.back { margin-top: 2.6em; }

.photo { border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.photo img { width: 100%; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.photo-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.photo-row .photo img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; }

/* ---------- Panels, lists, facts ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.panel > :last-child { margin-bottom: 0; }
.panel--tint { background: var(--cream-deep); border-color: transparent; }
.ball-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 0 48px; }
.ball-list li { padding: 15px 0 15px 32px; border-bottom: 1px solid var(--line); position: relative; }
.ball-list li::before {
  content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E6EE7A, var(--ball) 60%, #B7C238);
}
.facts { display: grid; gap: 12px; margin: 0 0 2em; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.facts > div { background: var(--cream-deep); border-radius: var(--radius); padding: 18px 20px; }
.facts dt { font-size: .7rem; font-stretch: var(--wider); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; }
.schedule { list-style: none; padding: 0 !important; margin: 0 0 1.4em; }
.schedule li { display: grid; grid-template-columns: 136px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.schedule b, .schedule strong { color: var(--clay-dark); font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .schedule li { grid-template-columns: 1fr; gap: 2px; } }
.turns { list-style: none; padding: 0 !important; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); counter-reset: t; }
.turns li { counter-increment: t; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; font-weight: 550; }
.turns li::before { content: counter(t) ". turnus"; display: block; font-size: .68rem; font-stretch: var(--wider); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 2px; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 600px; }
.table th, .table td { padding: 16px 20px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table thead th { font-size: .68rem; font-stretch: var(--wider); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; line-height: 1.5; background: var(--cream); vertical-align: bottom; }
.table th:first-child, .table td:first-child { text-align: left; }
.table tbody th { font-weight: 650; color: var(--green); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover { background: rgba(213, 224, 75, .12); }
.table .hi { color: var(--clay-dark); font-weight: 650; }
.table--text th, .table--text td { white-space: normal; text-align: left; }
.table--text { min-width: 520px; }
.season { display: grid; gap: 20px; margin-bottom: 56px; }
.season-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.season-head h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.season-head .muted { margin: 0; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--clay-soft); color: var(--clay-dark); font-size: .8rem; font-weight: 600; }

/* ---------- Chips (sub navigation) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.chips a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--green); text-decoration: none; font-size: .88rem; font-weight: 550; transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips a[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ---------- Players, videos, contact ---------- */
.players { display: grid; gap: 28px 18px; grid-template-columns: repeat(auto-fill, minmax(min(150px, 44%), 1fr)); }
.player .tile-img { aspect-ratio: 4 / 5; margin-bottom: 10px; }
.player.no-photo .tile-img { display: grid; place-items: center; background: var(--cream-deep); }
.player.no-photo .tile-img::before { content: attr(data-initials); font-size: 2rem; font-weight: 800; font-stretch: var(--wide); color: rgba(30, 69, 54, .28); }
.player span { font-weight: 600; color: var(--green); font-size: .95rem; }
.videos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.video { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--green); transition: border-color .2s, transform .2s; }
.video:hover { border-color: var(--clay); color: var(--green); transform: translateY(-2px); }
.video b { display: block; font-size: 1.1rem; font-stretch: var(--wide); }
.video small { color: var(--muted); }
.play { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--clay); position: relative; }
.play::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 14px solid var(--cream); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.contact-list { display: grid; gap: 32px; }
.contact-list .eyebrow { margin-bottom: 10px; }
.contact-list p { margin: 0; }
.contact-list .big { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 700; font-stretch: var(--wide); letter-spacing: -.01em; line-height: 1.3; color: var(--green); overflow-wrap: anywhere; }
.contact-list .big a { color: inherit; text-decoration: none; }
.contact-list .big a:hover { color: var(--clay); }

/* ---------- Timeline (club history) ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--clay); display: grid; gap: 24px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--clay); }
.timeline b { display: block; font-size: 1.55rem; font-weight: 800; font-stretch: var(--wide); color: var(--green); line-height: 1; letter-spacing: -.02em; }
.timeline span { font-size: .92rem; color: var(--muted); }

/* ---------- Home: video band, CTA ---------- */
.video-band { position: relative; display: block; color: var(--cream); text-decoration: none; overflow: hidden; border-radius: var(--radius); }
.video-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.video-band:hover img { transform: scale(1.03); }
.video-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 51, 42, .85), rgba(21, 51, 42, 0) 60%); }
.video-band .vb-text { position: absolute; left: clamp(18px, 4vw, 40px); right: clamp(18px, 4vw, 40px); bottom: clamp(18px, 4vw, 36px); z-index: 1; display: flex; align-items: center; gap: 18px; }
.video-band .vb-text b { font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 750; font-stretch: var(--wide); }
.video-band:hover { color: var(--cream); }
@media (max-width: 560px) { .video-band img { aspect-ratio: 4 / 3; } }
.cta { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0; color: rgba(244, 241, 232, .8); }

/* ---------- Gallery + lightbox ---------- */
.album + .album { margin-top: 72px; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(170px, 46%), 1fr)); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--cream-deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 30, 24, .95); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(244, 241, 232, .12); color: var(--cream); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: var(--clay); }
.lb-close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-count { position: absolute; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: rgba(244, 241, 232, .7); font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(244, 241, 232, .72); font-size: .92rem; padding-block: 72px 32px; }
.site-footer .cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.site-footer .foot-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
@media (min-width: 900px) { .site-footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .site-footer .foot-brand { grid-column: auto; display: block; } }
.foot-brand img { width: 84px; height: 84px; margin-bottom: 18px; }
.foot-brand p { margin: 0; line-height: 1.7; }
.site-footer h4 { color: var(--cream); font-size: .7rem; font-stretch: var(--wider); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { color: rgba(244, 241, 232, .85); text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--ball); }
.site-footer .legal { border-top: 1px solid rgba(244, 241, 232, .12); margin-top: 56px; padding-top: 24px; font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- First-visit intro (home page only) ---------- */
#intro { display: none; }
.intro-on #intro {
  display: block; position: fixed; inset: 0; z-index: 200; background: var(--green); overflow: hidden; cursor: pointer;
}
.intro-on body { overflow: hidden; }
#intro .court { position: absolute; left: 50%; top: 50%; width: min(70vw, 520px); aspect-ratio: 1 / 2.1; transform: translate(-50%, -50%) perspective(900px) rotateX(58deg); border: 2px solid var(--line-light); }
#intro .court::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(244, 241, 232, .5); }
#intro .court::after { content: ""; position: absolute; top: 23%; bottom: 23%; left: 50%; width: 2px; background: var(--line-light); }
#intro .stage { position: absolute; left: 50%; top: 58%; width: 0; height: 0; }
#intro .shadow { position: absolute; left: -46px; top: 44px; width: 92px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(4px); opacity: 0; }
#intro .ball { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; transform: translateY(-80vh); }
#intro .ball svg, #intro .ball img { position: absolute; inset: 0; width: 100%; height: 100%; }
#intro .ball img { opacity: 0; }
#intro .word { position: absolute; left: 0; right: 0; top: calc(58% + 92px); text-align: center; color: var(--cream); opacity: 0; }
#intro .word b { display: block; font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 700; font-stretch: var(--wider); letter-spacing: .24em; padding-left: .24em; }
#intro .word small { display: block; margin-top: 10px; font-size: .72rem; letter-spacing: .3em; font-stretch: var(--wider); color: #E9A182; text-transform: uppercase; }
#intro .skip { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); background: none; border: 1px solid var(--line-light); color: rgba(244, 241, 232, .75); border-radius: 999px; padding: 8px 16px; font: 500 .78rem var(--font); cursor: pointer; }
#intro .skip:hover { color: var(--cream); border-color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.photo-fig { margin: 8px 0 32px; max-width: 520px; }
.photo-fig img { border-radius: var(--radius); }
.photo-fig figcaption { font-weight: 600; }
@media (max-width: 1099px) {
  .site-header .wrap { gap: 12px; }
  .brand { min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand-text b { font-size: .9rem; letter-spacing: .16em; }
  .menu-btn { flex: none; padding: 0 16px; }
}
@media (max-width: 480px) { .brand-text small { display: none; } }
@media (max-width: 340px) { .menu-btn .label { display: none; } }
.h-statement { font-size: clamp(1.5rem, 2.7vw, 2.2rem); line-height: 1.15; }
