/* Nightfield Arena — page sections */

/* ============================================================== HERO */
.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--header-h) + 40px) 0 0; overflow: hidden; isolation: isolate; background: var(--night); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -3; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgb(10 31 24 / .35) 0%, rgb(10 31 24 / .2) 40%, rgb(10 31 24 / .92) 82%, var(--night) 100%),
  radial-gradient(120% 70% at 50% 110%, rgb(14 59 44 / .9), transparent 70%); }

.hero__pitch { position: absolute; z-index: -1; left: 50%; bottom: 4%; width: min(1500px, 170vw); color: var(--chalk); opacity: .38; transform: translateX(-50%) perspective(1000px) rotateX(62deg); transform-origin: 50% 100%; }
.hero__pitch rect, .hero__pitch path, .hero__pitch circle:not(.hero__spot) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: chalk-draw 1.5s cubic-bezier(.6, .1, .3, 1) forwards; }
.hero__pitch :nth-child(2) { animation-delay: .25s; }
.hero__pitch :nth-child(3) { animation-delay: .45s; }
.hero__pitch :nth-child(n+4) { animation-delay: .6s; animation-duration: 1.1s; }
.hero__spot { opacity: 0; animation: spot-on .4s 1.3s forwards; }
@keyframes spot-on { to { opacity: 1; } }
@keyframes chalk-draw { to { stroke-dashoffset: 0; } }

.hero__glow { position: absolute; z-index: -1; top: -20vh; width: 70vw; height: 90vh; opacity: 0; pointer-events: none; background: radial-gradient(closest-side, rgb(255 246 220 / .28), transparent 70%); animation: floodlight 1.2s 1.1s ease-out forwards; }
.hero__glow--l { left: -25vw; }
.hero__glow--r { right: -25vw; animation-delay: 1.25s; }
@keyframes floodlight { 0% { opacity: 0; } 20% { opacity: .9; } 30% { opacity: .3; } 45% { opacity: 1; } 100% { opacity: 1; } }

.hero__content { align-self: center; padding-block: 24px 48px; }
.hero__where { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.hero__where::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgb(61 220 132 / .2); }
.hero__title { font-size: clamp(4rem, 13vw, 10.5rem); font-weight: 900; line-height: .86; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 26px; }
.hero__line { display: block; overflow: hidden; }
.hero__line:last-child { color: var(--amber); }
html.js-ready .hero__line { animation: line-up .9s cubic-bezier(.2, .8, .2, 1) both; }
html.js-ready .hero__line:last-child { animation-delay: .12s; }
@keyframes line-up { from { opacity: 0; transform: translateY(40%); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40ch; color: rgb(244 247 242 / .85); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
html.is-hi .hero__title { font-size: clamp(3rem, 9vw, 7rem); line-height: 1.15; }

/* scoreboard strip */
.scorestrip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border-top: 1px solid var(--line); background: rgb(6 20 15 / .7); backdrop-filter: blur(8px); }
.scorestrip__cell { display: grid; gap: 2px; padding: 18px clamp(20px, 4vw, 48px); border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; color: inherit; }
.scorestrip__cell:last-child { border-right: 0; }
.scorestrip__k { font-size: .875rem; color: var(--muted); }
.scorestrip__v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; color: var(--amber); text-shadow: 0 0 18px rgb(255 178 30 / .45); }
.scorestrip__cell--live { cursor: pointer; transition: background .2s; }
.scorestrip__cell--live:hover { background: rgb(255 178 30 / .07); }
.scorestrip__cell--live .scorestrip__k::after { content: " ↓"; }
@media (max-width: 760px) { .hero { min-height: calc(100svh - 72px); } }
@media (max-width: 640px) {
  .scorestrip { grid-template-columns: 1fr; }
  .scorestrip__cell:not(.scorestrip__cell--live) { display: none; }
  .scorestrip__cell--live { grid-template-columns: 1fr auto; align-items: center; border-right: 0; padding-block: 14px; }
  .hero__content { padding-block: 8px 28px; }
}

/* ======================================================== SLOT BOARD */
.league__inner > *, .visit__inner > *, .facilities__inner > *, .faq-sec__inner > * { min-width: 0; }
.slots { background: linear-gradient(180deg, var(--night), #0B241B); }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 32px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .04); }
.board__controls { display: grid; gap: 16px; margin-bottom: 18px; }

.seg { display: inline-flex; width: fit-content; padding: 4px; border-radius: 999px; background: rgb(0 0 0 / .3); border: 1px solid var(--line); }
.seg button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; color: var(--muted); transition: background .25s, color .25s; }
.seg button[aria-checked="true"] { background: var(--chalk); color: var(--night); }

.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: 0 0 auto; scroll-snap-align: start; display: grid; justify-items: center; gap: 0; min-width: 72px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; transition: border-color .2s, background .2s; }
.day small { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.day strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-weight: 800; }
.day:hover { border-color: rgb(244 247 242 / .4); }
.day[aria-checked="true"] { border-color: var(--amber); background: rgb(255 178 30 / .1); }
.day[aria-checked="true"] small { color: var(--amber); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); display: inline-block; }
.dot--prime { border-color: var(--amber); }
.dot--booked { background: repeating-linear-gradient(-45deg, rgb(244 247 242 / .25) 0 2px, transparent 2px 5px); }
.dot--picked { background: var(--amber); border-color: var(--amber); }

.slot-group + .slot-group { margin-top: 22px; }
.slot-group__h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; font-family: var(--font-body); font-size: .9375rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.slot-group__h span { font-weight: 500; opacity: .8; }
.slot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }

.slot { position: relative; display: grid; gap: 2px; justify-items: start; min-height: 74px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: rgb(244 247 242 / .02); text-align: left; transition: border-color .15s, background .15s, transform .15s; transform-origin: 50% 0; }
.slot__t { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; line-height: 1; }
.slot__p { font-size: .875rem; font-weight: 600; color: var(--muted); }
.slot--prime { border-color: rgb(255 178 30 / .45); }
.slot--prime .slot__p { color: var(--amber); }
.slot:not(:disabled):hover { border-color: var(--chalk); background: rgb(244 247 242 / .06); }
.slot[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--accent-ink); animation: pick .25s ease; }
.slot[aria-pressed="true"] .slot__p { color: var(--accent-ink); }
.slot--booked { cursor: not-allowed; background: repeating-linear-gradient(-45deg, rgb(244 247 242 / .07) 0 2px, transparent 2px 7px); color: rgb(244 247 242 / .35); }
.slot--booked .slot__p { color: inherit; }
.slot--past { cursor: not-allowed; opacity: .3; }
@keyframes pick { 50% { transform: scale(1.05); } }

/* flap-in like a split-flap scoreboard when the board changes */
.board__grid.is-flipping .slot { animation: flap .38s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(var(--i) * 14ms); }
@keyframes flap { from { transform: perspective(400px) rotateX(-80deg); opacity: 0; } }

.board__empty { padding: 32px 0; color: var(--muted); }

/* sticky pick bar */
.pickbar { position: fixed; inset: auto 0 0; z-index: 45; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: rgb(6 20 15 / .96); backdrop-filter: blur(10px); border-top: 1px solid var(--amber); animation: bar-up .3s cubic-bezier(.2, .8, .2, 1); }
.pickbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pickbar__info { display: grid; line-height: 1.3; }
.pickbar__info strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--amber); }
.pickbar__info span { font-size: .9375rem; color: var(--muted); }
.pickbar__actions { display: flex; gap: 8px; align-items: center; }
@keyframes bar-up { from { transform: translateY(100%); } }

/* ticket in booking sheet */
.sheet__title { font-size: 2.1rem; margin: 0 48px 18px 0; }
.ticket { position: relative; display: grid; gap: 10px; margin-bottom: 22px; padding: 18px 20px; border-radius: 14px; background: var(--pitch); border: 1px dashed rgb(244 247 242 / .3); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); translate: 0 -50%; }
.ticket::before { left: -10px; }
.ticket::after { right: -10px; }
.ticket__row { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.ticket__row span { color: var(--muted); }
.ticket__row strong { text-align: right; }
.ticket__total { padding-top: 10px; border-top: 1px dashed rgb(244 247 242 / .25); }
.ticket__total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--amber); }

/* =========================================================== PRICING */
.dayline { display: flex; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
.dayline__seg { position: relative; display: flex; align-items: center; padding: 0 14px; font-weight: 700; font-size: .9375rem; color: var(--chalk); white-space: nowrap; overflow: hidden; }
.dayline__seg--day { background: var(--pitch-2); }
.dayline__seg--prime { background: var(--amber); color: var(--accent-ink); }
.dayline__seg--late { background: var(--pitch); }
.dayline-ticks { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); margin-bottom: 36px; }

.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--fg); }
.rate { padding: 26px 24px 26px 0; border-right: 1px solid var(--line); }
.rate + .rate { padding-left: 24px; }
.rate:last-child { border-right: 0; }
.rate h3 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.rate__time { color: var(--muted); font-size: .9375rem; margin: 2px 0 14px; }
.rate__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 6vw, 4.5rem); line-height: .9; }
.rate__price small { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.rate__wk { margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.rate--prime .rate__price { color: #B87600; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--amber); color: var(--accent-ink); font-size: .75rem; font-weight: 700; }
.pricing__note { margin-top: 32px; padding: 18px 22px; border-radius: var(--radius); background: #E7EEE8; font-weight: 600; }
@media (max-width: 760px) {
  .rates { grid-template-columns: 1fr; }
  .rate, .rate + .rate { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .dayline__seg { font-size: .75rem; padding: 0 8px; }
}

/* ============================================================ SPORTS */
.sports__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.sport { display: grid; gap: 22px; }
.sport img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.sport__body { display: grid; gap: 12px; }
.sport__body p { color: var(--muted); max-width: 48ch; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; }
.specs dt { font-size: .8125rem; color: var(--muted); }
.specs dd { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; }
@media (max-width: 760px) { .sports__grid { grid-template-columns: 1fr; } .specs dd { font-size: 1.2rem; } }

/* ======================================================== FACILITIES */
.facilities__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.fac-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.fac-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.fac-list svg { width: 26px; height: 26px; flex: none; color: var(--pitch-2); }
@media (max-width: 860px) { .facilities__inner { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .fac-list { grid-template-columns: 1fr; } }

/* ============================================================ LEAGUE */
.league { overflow: hidden; isolation: isolate; }
.league__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.league::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 25%, rgb(10 31 24 / .55)); }
.league__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.league__copy { display: grid; gap: 16px; justify-items: start; }
.league__kicker { color: var(--amber); font-weight: 700; }
.league__copy > p:not(.league__kicker) { color: rgb(244 247 242 / .8); max-width: 48ch; }
.league__facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 6px 0 12px; }
.league__facts dt { font-size: .8125rem; color: var(--muted); }
.league__facts dd { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; border-radius: 16px; background: #050F0B; border: 1px solid var(--line); box-shadow: inset 0 0 40px rgb(0 0 0 / .6); }
.countdown div { display: grid; justify-items: center; padding: 16px 4px; border-radius: 10px; background: linear-gradient(180deg, #0B1D16 50%, #08160F 50%); }
.countdown span { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--amber); text-shadow: 0 0 22px rgb(255 178 30 / .5); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .league__inner { grid-template-columns: 1fr; } .league::after { background: rgb(10 31 24 / .8); } }

/* =========================================================== GALLERY */
.gallery__grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 240px); gap: 10px; }
.g { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.g:hover img { transform: scale(1.04); }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
@media (max-width: 700px) { .gallery__grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================== REVIEWS */
.reviews__score { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.reviews__score strong { font-family: var(--font-display); font-size: 3rem; color: var(--fg); line-height: 1; }
.reviews__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quote { display: grid; gap: 14px; align-content: start; padding-top: 18px; border-top: 2px solid var(--fg); }
.quote blockquote { margin: 0; font-size: 1.125rem; font-weight: 500; }
.quote figcaption { color: var(--muted); font-weight: 600; }
@media (max-width: 800px) {
  .reviews__row { grid-template-columns: 82%; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; padding-bottom: 8px; }
  .quote { scroll-snap-align: start; }
}

/* ============================================================= VISIT */
.visit__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.visit__info { display: grid; gap: 20px; align-content: start; }
.visit__addr { font-size: 1.2rem; font-weight: 600; }
.visit__dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.visit__dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.visit__dl dt { color: var(--muted); }
.visit__dl a { color: var(--amber); font-weight: 700; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__map { min-height: 380px; border-radius: var(--radius-lg); cursor: pointer; }
.visit__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: grayscale(.4); transition: opacity .3s; }
.visit__map:hover img { opacity: .6; }
.visit__map-label { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; gap: 8px; align-items: center; padding: 12px 20px; border-radius: 999px; background: var(--chalk); color: var(--night); font-weight: 700; }
.visit__map-label svg { width: 20px; height: 20px; }
iframe.visit__map { height: 100%; min-height: 380px; }
@media (max-width: 860px) { .visit__inner { grid-template-columns: 1fr; } .visit__dl div { grid-template-columns: 100px 1fr; } }

/* =============================================================== FAQ */
.faq-sec__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
@media (max-width: 860px) { .faq-sec__inner { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================ FOOTER */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.site-footer__meta { color: var(--muted); font-size: .9375rem; }
.site-footer__meta a { color: var(--fg); }
