:root {
  color-scheme: dark;
  --bg: #020708;
  --surface: #081214;
  --surface-2: #0c191b;
  --ink: #f3f7f6;
  --muted: #91a2a2;
  --line: rgba(67, 219, 212, .22);
  --cyan: #00d6c8;
  --cyan-bright: #37f2e5;
  --danger: #ff5a58;
  --radius: 3px;
  --max: 1240px;
  font-family: "Arial Narrow", "Roboto Condensed", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); min-width: 320px; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .8rem 1rem; color: #001312; background: var(--cyan); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: .6rem 1rem; background: rgba(2, 7, 8, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 46px; height: 52px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { letter-spacing: .08em; font-size: .93rem; }
.brand small { color: var(--cyan); letter-spacing: .19em; font-size: .56rem; margin-top: .35rem; }
.menu-button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: .65rem .85rem; text-transform: uppercase; letter-spacing: .1em; }
.site-nav { position: absolute; display: none; top: 72px; left: 0; right: 0; padding: 1rem; background: #030a0b; border-bottom: 1px solid var(--line); }
.site-nav.open { display: grid; gap: .25rem; }
.site-nav a, .site-nav button { padding: .9rem; text-align: left; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--muted); background: transparent; border: 0; }
.site-nav .nav-cta { color: #001210; background: var(--cyan); }

.hero { position: relative; min-height: calc(100svh - 72px); display: grid; align-items: center; overflow: hidden; padding: 4.5rem 1rem 3rem; background: radial-gradient(circle at 78% 25%, rgba(0, 214, 200, .16), transparent 33%), linear-gradient(112deg, #020708 0%, #051012 68%, #071b1c 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .28; background: url("member-background.webp") 58% center / cover no-repeat; mix-blend-mode: luminosity; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 7, 8, .98) 0%, rgba(2, 7, 8, .83) 52%, rgba(2, 7, 8, .28) 100%); }
.hero-grid { position: absolute; inset: 0; z-index: 1; opacity: .18; background-image: linear-gradient(rgba(0,214,200,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(0,214,200,.15) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg, #000, transparent 67%); }
.hero-copy { position: relative; z-index: 3; width: min(720px, 100%); }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin: 0 .5rem .2rem 0; background: var(--cyan); }
.hero h1, .section h2, .terrain-copy h2, .final-cta h2, .modal h2 { margin: 0; line-height: .96; text-transform: uppercase; letter-spacing: -.035em; }
.hero h1 { max-width: 780px; font-size: clamp(3rem, 12vw, 6.6rem); }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px var(--cyan-bright); text-shadow: 0 0 30px rgba(0, 214, 200, .18); }
.hero-lead { max-width: 590px; margin: 1.5rem 0; color: #bdcac9; font-family: Inter, Arial, sans-serif; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .85rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-weight: 900; cursor: pointer; }
.button.primary { color: #001513; background: var(--cyan); }
.button.primary:hover { background: var(--cyan-bright); }
.button.secondary { color: var(--ink); background: rgba(7, 19, 21, .72); border-color: rgba(255,255,255,.18); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; list-style: none; margin: 2.3rem 0 0; padding: 0; }
.hero-facts li { display: grid; gap: .3rem; padding: .8rem 0 .8rem .7rem; border-left: 2px solid var(--cyan); background: linear-gradient(90deg, rgba(0,214,200,.08), transparent); }
.hero-facts strong { text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
.hero-facts span { color: var(--muted); font-family: Inter, Arial, sans-serif; font-size: .65rem; }
.hero-emblem { display: none; position: absolute; right: -2%; bottom: -5%; z-index: 2; width: min(49vw, 630px); opacity: .9; filter: drop-shadow(0 0 40px rgba(0, 214, 200, .16)); }

.section { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding: 5rem 0; }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2rem; }
.section-heading h2, .terrain-copy h2 { font-size: clamp(2.5rem, 8vw, 4.7rem); }
.section-heading > p { max-width: 570px; margin: 0; color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.65; }
.loading-card { padding: 2rem; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.party-grid { display: grid; gap: 1rem; }
.party-card { position: relative; display: grid; min-height: 360px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.08); }
.party-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 30%, rgba(2, 7, 8, .98) 87%); }
.party-card-visual { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; filter: saturate(.65) hue-rotate(125deg); }
.party-card-body { position: relative; z-index: 2; align-self: end; padding: 1.25rem; }
.party-date { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .58rem; color: #001311; background: var(--cyan); font-weight: 900; font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.party-card h3 { margin: .9rem 0 .55rem; font-size: 1.8rem; text-transform: uppercase; }
.party-already-booked { margin: .7rem 0 0; padding: .65rem .75rem; color: #bff7e0; background: rgba(24,199,125,.13); border-left: 3px solid #18c77d; font-family: Inter, Arial, sans-serif; font-size: .73rem; line-height: 1.45; }
.party-meta { display: flex; flex-wrap: wrap; gap: .65rem 1rem; color: #b8c6c5; font-family: Inter, Arial, sans-serif; font-size: .78rem; }
.party-capacity { margin: 1.1rem 0; }
.capacity-label { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.capacity-track { display: block; width: 100%; height: 4px; margin-top: .5rem; appearance: none; border: 0; background: rgba(255,255,255,.12); }
.capacity-track::-webkit-progress-bar { background: rgba(255,255,255,.12); }
.capacity-track::-webkit-progress-value { background: var(--cyan); }
.capacity-track::-moz-progress-bar { background: var(--cyan); }
.party-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: .6rem; }
.party-actions button { min-height: 45px; }
.party-empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }

.terrain-section { display: grid; background: #061011; border-block: 1px solid var(--line); }
.terrain-visual { min-height: 340px; overflow: hidden; }
.terrain-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.08); }
.terrain-copy { padding: 3rem 1rem; align-self: center; }
.terrain-copy > p:not(.eyebrow) { color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.7; }
.terrain-copy ul { display: grid; gap: 1rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.terrain-copy li { display: grid; gap: .3rem; padding: 1rem; border-left: 2px solid var(--cyan); background: rgba(0,214,200,.05); }
.terrain-copy li strong { text-transform: uppercase; }
.terrain-copy li span { color: var(--muted); font-family: Inter, Arial, sans-serif; font-size: .84rem; line-height: 1.5; }
.values-grid { display: grid; gap: 1rem; }
.values-grid article { padding: 1.5rem; min-height: 220px; background: linear-gradient(145deg, var(--surface-2), #061011); border: 1px solid rgba(255,255,255,.08); }
.values-grid article > span { color: var(--cyan); font-size: .7rem; letter-spacing: .15em; }
.values-grid h3 { margin: 2rem 0 .7rem; text-transform: uppercase; font-size: 1.5rem; }
.values-grid p { margin: 0; color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.65; }
.final-cta { position: relative; display: grid; gap: 1.4rem; align-items: center; width: min(var(--max), calc(100% - 2rem)); margin: 0 auto 5rem; padding: 2rem; overflow: hidden; background: linear-gradient(110deg, #092628, #00bdb2); }
.final-cta::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(135deg, transparent 45%, #fff 45%, #fff 47%, transparent 47%); background-size: 24px 24px; }
.final-cta > * { position: relative; z-index: 2; }
.final-cta > img { width: 90px; }
.final-cta .eyebrow { color: #dffffb; margin-bottom: .5rem; }
.final-cta h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
.final-cta .button { background: #020708; color: white; }

.site-footer { display: grid; gap: 1.2rem; align-items: center; padding: 2rem 1rem; color: var(--muted); background: #010404; border-top: 1px solid var(--line); font-family: Inter, Arial, sans-serif; font-size: .78rem; }
.footer-brand { color: var(--ink); font-family: "Arial Narrow", Arial, sans-serif; }
.site-footer > a { color: var(--cyan); }

.modal { width: min(720px, calc(100% - 1rem)); max-height: calc(100dvh - 1rem); padding: 1.2rem; color: var(--ink); background: #061012; border: 1px solid var(--line); box-shadow: 0 24px 100px #000; }
.modal::backdrop { background: rgba(0, 5, 6, .86); backdrop-filter: blur(5px); }
.modal-close { position: sticky; z-index: 2; top: 0; float: right; width: 42px; height: 42px; color: var(--ink); background: #0c1b1d; border: 1px solid var(--line); font-size: 1.6rem; cursor: pointer; }
.modal h2 { clear: both; font-size: clamp(2rem, 8vw, 3.6rem); margin-bottom: 1rem; }
.modal-intro, .party-modal > p:not(.eyebrow) { color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.6; }
.party-dialog-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.party-dialog-meta span { padding: .45rem .6rem; color: #bcd0ce; background: var(--surface-2); border: 1px solid var(--line); font-size: .78rem; }
.party-modal .button { width: 100%; margin-top: 1rem; }
.reservation-modal { overflow-y: auto; }
.reservation-modal form { display: grid; gap: 1rem; }
fieldset { margin: 0; padding: 1rem; border: 1px solid rgba(255,255,255,.1); }
legend { padding: 0 .45rem; color: var(--cyan); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.form-grid { display: grid; gap: .8rem; }
.field { display: grid; gap: .42rem; }
.field > span { color: #aebdbc; font-size: .76rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: .75rem; color: var(--ink); background: #020708; border: 1px solid rgba(255,255,255,.16); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.players-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin: -.25rem 0 .8rem; }
.players-heading legend { float: left; }
.text-button, .remove-player { color: var(--cyan); background: transparent; border: 0; cursor: pointer; font-weight: 800; }
.player-list { display: grid; gap: .8rem; }
.player-card { padding: 1rem; background: #091416; border-left: 2px solid var(--cyan); }
.player-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.player-card-head strong { text-transform: uppercase; }
.remove-player { color: #e9a7a6; }
.check-field { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-family: Inter, Arial, sans-serif; font-size: .78rem; line-height: 1.45; }
.check-field input { margin-top: .2rem; accent-color: var(--cyan); }
.check-field.rental { align-items: center; min-height: 44px; padding: .65rem; background: #020708; border: 1px solid rgba(255,255,255,.16); }
.payment-options { display: grid; gap: .7rem; }
.payment-option { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; padding: 1rem; background: #020708; border: 1px solid rgba(255,255,255,.14); cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--cyan); background: rgba(0,214,200,.07); }
.payment-option input { accent-color: var(--cyan); }
.payment-option span, .payment-option strong, .payment-option small { display: block; }
.payment-option strong { text-transform: uppercase; font-size: .85rem; }
.payment-option small { margin-top: .3rem; color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.4; }
.onsite-payment-info { display: grid; grid-template-columns: 1fr; gap: .6rem; align-items: stretch; }
.onsite-payment-info article { padding: 1rem; border: 1px solid rgba(0,214,200,.28); background: rgba(0,214,200,.055); }
.onsite-payment-info article strong, .onsite-payment-info article small { display: block; }
.onsite-payment-info article strong { color: var(--cyan); text-transform: uppercase; font-size: .85rem; }
.onsite-payment-info article small { margin-top: .35rem; color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.45; }
.onsite-payment-info > span { justify-self: center; align-self: center; color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.player-card.account-player { border: 1px solid rgba(0,214,200,.35); border-left: 3px solid var(--cyan); background: linear-gradient(135deg, rgba(0,214,200,.08), #091416 45%); }
.player-card.account-player input[readonly] { color: #d8e6e8; background: rgba(0,0,0,.24); cursor: default; }
.player-card.other-player-required { border-left-color: #f7b94b; background: linear-gradient(135deg, rgba(247,185,75,.08), #091416 45%); }
.reservation-summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; background: rgba(0,214,200,.08); border: 1px solid var(--line); }
.reservation-summary strong { color: var(--cyan); }
.form-error { min-height: 1.2em; margin: 0; color: var(--danger); font-family: Inter, Arial, sans-serif; font-size: .8rem; }
.submit-button { width: 100%; }
.reservation-success { text-align: center; padding: 2rem .5rem; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; color: #001411; background: var(--cyan); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.reservation-success dl { display: grid; gap: 1px; margin: 1.5rem 0; text-align: left; background: var(--line); }
.reservation-success dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem; background: var(--surface); }
.reservation-success dt { color: var(--muted); }
.reservation-success dd { margin: 0; font-weight: 900; }
.payment-note { padding: 1rem; color: #b7c6c5; background: rgba(0,214,200,.07); border: 1px solid var(--line); font-family: Inter, Arial, sans-serif; font-size: .8rem; line-height: 1.55; }
.reservation-success > .button { width: 100%; margin-top: .7rem; }

@media (min-width: 680px) {
  .site-header { padding-inline: 2rem; }
  .hero, .terrain-copy { padding-inline: 2rem; }
  .section-heading { grid-template-columns: 1.25fr .75fr; align-items: end; }
  .section-heading.compact { grid-template-columns: 1fr; }
  .party-grid, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onsite-payment-info { grid-template-columns: 1fr auto 1fr; gap: .75rem; }
  .field.full, .rental-note { grid-column: 1 / -1; }
  .modal { padding: 2rem; }
  .site-footer { grid-template-columns: 1fr auto auto; padding-inline: 2rem; }
}

@media (min-width: 980px) {
  .site-header { min-height: 82px; padding-inline: max(2rem, calc((100vw - var(--max)) / 2)); }
  .menu-button { display: none; }
  .site-nav { position: static; display: flex; align-items: center; padding: 0; background: transparent; border: 0; }
  .site-nav a, .site-nav button { padding: .8rem 1rem; font-size: .72rem; }
  .site-nav .nav-cta { margin-left: .6rem; padding-inline: 1.4rem; }
  .hero { min-height: calc(100svh - 82px); padding-inline: max(2rem, calc((100vw - var(--max)) / 2)); }
  .hero-emblem { display: block; }
  .hero-copy { width: 64%; }
  .party-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terrain-section { grid-template-columns: 1.05fr .95fr; }
  .terrain-copy { padding: 5rem max(2rem, calc((100vw - var(--max)) / 2)); padding-left: 4rem; }
  .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .final-cta { grid-template-columns: auto 1fr auto; padding: 2.5rem 3rem; }
  .site-footer { padding-inline: max(2rem, calc((100vw - var(--max)) / 2)); }
}

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