/* ============================================================
   Open Court — Marketing single-page
   Scroll story · MAGS colours · mobile-first
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --blue: #0c2d9e;
  --blue-deep: #071538;
  --blue-soft: #eef2ff;
  --cerise: #e00053;
  --lime: #e8ff5a;
  --lime-ink: #152000;
  --ink: #0c1222;
  --ink-2: #2a3348;
  --ink-3: #5c6b82;
  --paper: #fff;
  --paper-2: #f6f7f9;
  --line: #e4e7ef;
  --r: 14px;
  --r-lg: 22px;
  --r-full: 999px;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 52px;
  padding: 0 1.5rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .15s var(--ease), background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 4px 20px rgba(232, 255, 90, .25);
}
.btn--lime:hover { filter: brightness(1.05); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(12,45,158,.25);
}
.btn--blue:hover { background: var(--blue-deep); }
.btn--lg { height: 56px; padding: 0 1.8rem; font-size: 1.05rem; }
.btn--sm { height: 42px; padding: 0 1.1rem; font-size: 0.85rem; }

/* ---------- Fixed nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(7, 21, 56, 0.12);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
}
.nav-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: transparent;
}
.nav-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: none;
  gap: 0.15rem;
  align-items: center;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta { display: none; }
.nav-burger {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 1px;
  transition: .2s;
}
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(7,21,56,.96);
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-drawer .btn { margin-top: 1.5rem; width: 100%; }

@media (min-width: 860px) {
  .nav { padding: 0 2rem; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

/* ---------- Hero (concept 1) ---------- */
/* Pinned hero: photo sticky, copy scrolls over it */
.hero.hero-pin {
  position: relative;
  color: #fff;
  isolation: isolate;
  background: #071538; /* no white flash between pin and next band */
  margin-bottom: 0;
  padding-bottom: 0;
}
.hero-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  background: #071538;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,21,56,.5) 0%, rgba(7,21,56,.18) 32%, rgba(7,21,56,.45) 58%, rgba(7,21,56,.9) 100%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(224,0,83,.18), transparent 55%);
  pointer-events: none;
}
.hero-foreground {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  margin-top: -100dvh;
}
.hero-spacer-top {
  height: 38vh;
  height: 38dvh;
}
/* Short tail only — was 55vh and caused a large white gap */
.hero-spacer-bottom {
  height: 8vh;
  height: 8dvh;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
/* Always visible — do not wait on JS */
.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-sub,
.hero-content .hero-actions {
  opacity: 1 !important;
  transform: none !important;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.8rem, 15vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease) .1s, transform .8s var(--ease) .1s;
}
.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  opacity: 0;
  max-width: 34ch;
  margin: 0 auto 1.75rem;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  transform: translateY(16px);
  transition: opacity .7s var(--ease) .22s, transform .7s var(--ease) .22s;
}
.hero-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease) .35s, transform .7s var(--ease) .35s;
}
.hero.is-inview .hero-eyebrow,
.hero.is-inview .hero-title,
.hero.is-inview .hero-sub,
.hero.is-inview .hero-actions {
  opacity: 1;
  transform: none;
}
.hero-scroll {
  position: relative;
  margin: 1.75rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,.55);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll i {
  width: 18px; height: 28px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 10px;
  position: relative;
}
.hero-scroll i::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  background: var(--lime);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

@media (min-width: 768px) {
  .hero-content { padding-bottom: 4.5rem; }
}

/* ---------- Reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ---------- Sections common ---------- */
.section {
  padding: 4.5rem 1.25rem;
  position: relative;
}
@media (min-width: 768px) {
  .section { padding: 6.5rem 2rem; }
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cerise);
  margin-bottom: 0.75rem;
}
.section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.section .lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 42ch;
  line-height: 1.55;
}

/* ---------- Energy band (concept 10 feel) ---------- */
.energy {
  background: var(--blue-deep);
  color: #fff;
  overflow: hidden;
}
.energy-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .energy-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}
.energy h2 { color: #fff; }
.energy .lead { color: rgba(255,255,255,.75); }
.energy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}
.energy-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 1.15rem 1.2rem;
}
.energy-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 0.15rem;
}
.energy-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
}
.energy-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #0a1628;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.energy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}
.energy-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(7,21,56,.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.energy-badge strong { color: var(--lime); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.step {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(12,18,34,.08);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- Pricing strip ---------- */
.pricing {
  background: var(--paper-2);
}
.price-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}
@media (min-width: 700px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.price-card.is-feature {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,45,158,.1);
  position: relative;
}
.price-card .tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.price-card .amount {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
}
.price-card .amount span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-3);
  font-weight: 500;
}
.price-card p {
  font-size: 0.88rem;
  color: var(--ink-2);
  flex: 1;
  margin-bottom: 1.25rem;
}
.price-card ul {
  margin-bottom: 1.35rem;
}
.price-card li {
  font-size: 0.85rem;
  padding: 0.3rem 0;
  color: var(--ink-2);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.price-card li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Shop teaser ---------- */
.shop-teaser .shop-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .shop-teaser .shop-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
.shop-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.shop-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,18,34,.07);
}
.shop-item-media {
  height: 110px;
  background: linear-gradient(145deg, var(--blue-soft), #f4f6ff);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
}
.shop-item-body {
  padding: 0.85rem 0.95rem 1rem;
}
.shop-item-body strong {
  display: block;
  font-size: 0.88rem;
  font-family: var(--font-display);
  margin-bottom: 0.15rem;
}
.shop-item-body span {
  font-size: 0.85rem;
  color: var(--ink-3);
  font-weight: 600;
}

/* ---------- Location ---------- */
.location {
  background: var(--blue-deep);
  color: #fff;
}
.location-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}
.location h2 { color: #fff; }
.location .lead { color: rgba(255,255,255,.72); }
.location-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}
.location-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.location-list .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.location-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #0a1628;
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  position: relative;
}
.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.location-map-pin {
  position: absolute;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-full);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 5rem 1.25rem 5.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(12,45,158,.08), transparent),
    var(--paper);
}
.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin-bottom: 0.75rem;
}
.final-cta p {
  color: var(--ink-2);
  max-width: 36ch;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.final-cta .actions {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.65);
  padding: 2.5rem 1.25rem;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
}
.footer-brand img {
  width: 36px; height: 36px;
  object-fit: contain;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.footer-brand span {
  font-size: 0.72rem;
  opacity: 0.7;
}
.footer a:hover { color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-eyebrow, .hero-title, .hero-sub, .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-media img { transform: none !important; }
  .hero-scroll { animation: none; }
}


/* LOGO CLEAN — no tile, no box */
.nav-brand img,
.hero-brand img,
.sidebar-brand img,
.auth-logo img,
.footer-brand img,
.land-brand img {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  object-fit: contain;
}
.nav-brand img { width: 40px; height: auto; max-height: 44px; }
.sidebar-brand img { width: 42px; height: auto; max-height: 48px; }
.footer-brand img { width: 38px; height: auto; max-height: 42px; }
.auth-logo img { height: 64px; width: auto; }

/* Concept 10 energy band refinements */
.energy-top {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.energy-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.energy-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 36ch;
  margin: 0 auto;
}
.energy-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 640px) {
  .energy-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.energy-feat {
  text-align: center;
  padding: 0.5rem;
}
.energy-feat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--lime);
  margin-bottom: 0.2rem;
}
.energy-feat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,.55);
}

/* ============================================================
   Integrated booking — matches land aesthetic
   ============================================================ */
.book-section {
  background: var(--paper-2);
  padding: 4rem 1.25rem 5rem;
}
@media (min-width: 768px) {
  .book-section { padding: 5.5rem 2rem 6rem; }
}
.book-shell {
  max-width: 1100px;
  margin: 0 auto;
}
.book-layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .book-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
    gap: 1.5rem;
  }
}
.book-main {
  display: grid;
  gap: 1rem;
}
.book-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.15rem;
}
@media (min-width: 600px) {
  .book-card { padding: 1.5rem 1.4rem; }
}
.book-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.book-card h3 span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  display: grid; place-items: center;
  font-weight: 700;
}

/* Court picks */
.court-picks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 520px) {
  .court-picks { grid-template-columns: repeat(3, 1fr); }
}
.court-pick {
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 0.9rem;
  text-align: left;
  background: var(--paper);
  transition: border-color .15s, background .15s, box-shadow .15s;
  cursor: pointer;
}
.court-pick:hover { border-color: #b8c4e8; }
.court-pick.is-on {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(12,45,158,.12);
}
.court-pick strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.court-pick em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* Date strip */
.date-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
.date-chip {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: .15s;
}
.date-chip .dow { display: block; font-size: 0.65rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; }
.date-chip .dom { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.date-chip .mon { display: block; font-size: 0.65rem; color: var(--ink-3); }
.date-chip.is-on {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.date-chip.is-on .dow,
.date-chip.is-on .mon { color: rgba(255,255,255,.75); }

/* Time grid */
.time-hint {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}
.timegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.4rem;
}
.slot {
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: .12s;
}
.slot:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.slot.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.slot.is-taken,
.slot:disabled {
  background: var(--paper-2);
  color: #b0b8c8;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Sticky quote */
.book-quote {
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.35rem 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 12px);
}
.book-quote h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.book-quote .q-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.book-quote .q-row:last-of-type { border-bottom: none; }
.book-quote .q-row span { color: rgba(255,255,255,.65); }
.book-quote .q-row strong { color: #fff; font-weight: 600; }
.book-quote .q-total {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.book-quote .q-total span { font-size: 0.85rem; color: rgba(255,255,255,.6); }
.book-quote .q-total strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--lime);
}
.book-quote .btn { width: 100%; margin-top: 1.1rem; }
.book-quote .q-empty {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.45;
}

/* Mobile sticky bar */
.book-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0,0,0,.2);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.book-mobile-bar.is-show { display: flex; }
.book-mobile-bar .meta { font-size: 0.82rem; }
.book-mobile-bar .meta strong { display: block; font-size: 1.05rem; color: var(--lime); }
@media (min-width: 900px) {
  .book-mobile-bar { display: none !important; }
}

/* Waiver panel */
.waiver-panel {
  display: none;
  margin-top: 1rem;
}
.waiver-panel.is-open { display: block; }
.waiver-box {
  max-height: 180px;
  overflow-y: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.sig-pad {
  border: 1.5px dashed var(--line);
  border-radius: var(--r);
  background: #fff;
  height: 140px;
  width: 100%;
  touch-action: none;
  cursor: crosshair;
  margin-bottom: 0.75rem;
}
.sig-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.check-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-bottom: 1.1rem;
}
.check-row input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--blue); }

.field-row {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
@media (min-width: 520px) {
  .field-row.two { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 0.3rem;
}
.field input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0 0.85rem;
  font-size: 0.95rem;
  background: #fff;
}
.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,45,158,.12);
}

/* Confirm success */
.book-done {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.book-done.is-show { display: block; }
.book-done .pin {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--r);
  padding: 1rem;
  margin: 1.25rem 0;
}

/* ============================================================
   Full-bleed image bands with content overlaid
   ============================================================ */
.band {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .band { min-height: 90vh; }
}
.band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.band-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,12,40,.88) 0%, rgba(6,12,40,.55) 48%, rgba(6,12,40,.25) 100%),
    linear-gradient(0deg, rgba(6,12,40,.5) 0%, transparent 40%);
}
.band-shade--light {
  background:
    linear-gradient(90deg, rgba(250,250,252,.92) 0%, rgba(250,250,252,.75) 45%, rgba(250,250,252,.2) 100%),
    linear-gradient(0deg, rgba(250,250,252,.4) 0%, transparent 35%);
}
.band-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 4rem 1.25rem;
  color: #fff;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .band-content { padding: 5rem 2.5rem 5rem 4rem; }
}
.band-content--dark { color: var(--ink); }
.band-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 1rem;
}
.band-title--dark { color: var(--ink); }
.band-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}
.band-content--dark .band-lead { color: var(--ink-2); }

.band-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  max-width: 360px;
}
@media (min-width: 520px) {
  .band-stats { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
}
.band-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 0.75rem 0.65rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.band-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.1;
}
.band-stat span {
  font-size: 0.68rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Steps overlaid on floor image */
.overlay-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 420px;
}
.overlay-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(12,45,158,.08);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 30px rgba(12,20,60,.06);
}
.overlay-step .num {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
}
.overlay-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.overlay-step p {
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
}

/* Location band */
.band--location {
  min-height: 55vh;
}
.band--location .band-shade {
  background: linear-gradient(90deg, rgba(6,12,40,.9) 0%, rgba(6,12,40,.55) 60%, rgba(6,12,40,.3) 100%);
}

/* Hero refinements for new image */
.hero-media img {
  object-position: center 40%;
}
.hero-title {
  font-size: clamp(3.5rem, 14vw, 7.5rem) !important;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hero-sub {
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* Shop cards polish */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 600px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
.shop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(12,20,60,.08);
}
.shop-img {
  aspect-ratio: 1;
  background: #f4f5f8;
  overflow: hidden;
}
.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 0.85rem 1rem 0.15rem;
}
.shop-card .price {
  padding: 0 1rem 1rem;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.05rem;
}

/* ============================================================
   MOBILE FIXES — no horizontal scroll, no zoom, centered bands
   ============================================================ */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
html {
  -webkit-text-size-adjust: 100%;
}

/* Center band content on mobile */
.band {
  justify-content: center;
}
.band-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: left;
}
@media (max-width: 767px) {
  .band-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .band-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .band-stats {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 320px;
  }
  .band-content .btn {
    align-self: center;
  }
  .band-content--dark {
    align-items: flex-start;
    text-align: left;
  }
  .band-content--dark .overlay-steps {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Stats bubbles always centered as a block */
.band-stats {
  margin-left: auto;
  margin-right: auto;
  justify-items: stretch;
}

/* ---------- Booking: kill overflow & iOS zoom ---------- */
.book-section {
  overflow-x: hidden;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}
.book-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: hidden;
}
.book-layout {
  width: 100%;
  max-width: 100%;
}
.book-main,
.book-card {
  width: 100%;
  max-width: 100%;
  min-width: 0; /* critical for grid/flex children */
}

/* Date strip: scroll inside, never expand page */
.date-strip {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.date-chip {
  flex: 0 0 56px;
  min-width: 56px;
  max-width: 56px;
}

/* Time grid: fixed 4 cols on mobile, no overflow */
.timegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 480px) {
  .timegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .timegrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.slot {
  min-width: 0;
  width: 100%;
  height: 44px;
  font-size: 0.75rem;
  padding: 0 0.15rem;
}

/* Court picks stay single column until room */
.court-picks {
  width: 100%;
  max-width: 100%;
}
.court-pick {
  width: 100%;
  max-width: 100%;
}

/* Quote panel on mobile is full width, not sticky side */
.book-quote {
  width: 100%;
  max-width: 100%;
  position: relative;
  top: auto;
}
@media (min-width: 900px) {
  .book-quote {
    position: sticky;
    top: calc(var(--nav-h) + 12px);
  }
}

/* Inputs: 16px prevents iOS auto-zoom on focus */
.field input,
.field select,
.field textarea {
  font-size: 16px !important;
  max-width: 100%;
  width: 100%;
}

/* Always stack name/email on small screens */
.field-row.two {
  grid-template-columns: 1fr !important;
}
@media (min-width: 520px) {
  .field-row.two {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Signature canvas constrained */
.sig-pad {
  width: 100% !important;
  max-width: 100%;
  display: block;
}

/* Mobile sticky bar: never wider than viewport */
.book-mobile-bar {
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.book-mobile-bar .meta {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-mobile-bar .btn {
  flex-shrink: 0;
}

/* Extra bottom space so sticky bar doesn't cover content */
@media (max-width: 899px) {
  .book-section {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }
}

/* Prevent long unbroken strings from forcing scroll */
.book-quote .q-row strong,
.book-done .pin,
#done-summary {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Hero content also center-friendly on narrow screens */
@media (max-width: 767px) {
  .hero-content {
    text-align: center;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   Calendar date picker
   ============================================================ */
.cal { width: 100%; max-width: 360px; }
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}
.cal-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.cal-nav {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
  display: grid; place-items: center;
}
.cal-nav:hover { border-color: var(--blue); color: var(--blue); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}
.cal-dow {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 0.25rem 0;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-width: 0;
}
.cal-day.is-empty { visibility: hidden; pointer-events: none; }
.cal-day.is-disabled {
  color: #c5cad6;
  cursor: not-allowed;
}
.cal-day.is-today { border-color: var(--line); }
.cal-day.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff !important;
}
.cal-day:not(:disabled):not(.is-on):hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Selected slot — always white text on blue */
.slot.is-on {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #ffffff !important;
  font-weight: 700;
  -webkit-text-fill-color: #ffffff;
}
.slot.is-on:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

/* Extras */
.extras-list {
  display: grid;
  gap: 0.55rem;
}
.extra-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  background: var(--paper);
  transition: border-color .15s, background .15s;
}
.extra-row:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.extra-row input {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.extra-body {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}
.extra-body strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.extra-body em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-3);
  white-space: nowrap;
}

/* Shop full */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 520px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
.shop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(12,20,60,.08);
}
.shop-img {
  aspect-ratio: 1;
  background: #f0f2f6;
  overflow: hidden;
}
.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-body {
  padding: 0.9rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.shop-body h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.shop-body .desc {
  font-size: 0.8rem;
  color: var(--ink-3);
  line-height: 1.4;
  flex: 1;
}
.shop-body .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.shop-body .price {
  font-weight: 700;
  color: var(--blue);
  font-size: 1.05rem;
}
.shop-body .btn { flex-shrink: 0; }

.cart-bar {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--r-lg);
}
.cart-bar .cart-meta strong {
  display: block;
  font-size: 0.95rem;
}
.cart-bar .cart-meta span {
  color: var(--lime);
  font-weight: 700;
  font-size: 1.1rem;
}
.cart-done {
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.cart-done[hidden] { display: none !important; }

/* Court picks — 3 options */
@media (min-width: 520px) {
  .court-picks { grid-template-columns: repeat(3, 1fr); }
}

/* Shop browse hide */
#shop-browse.is-hide { display: none; }

/* Floating basket */
.cart-fab {
  display: none;
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  right: 1rem;
  z-index: 50;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  background: var(--blue-deep);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(7,21,56,.35);
}
.cart-fab.is-show { display: inline-flex; }
.cart-fab-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  padding: 0 0.35rem;
}
@media (max-width: 899px) {
  /* sit above booking mobile bar if both visible */
  .cart-fab { bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

.shop-actions { margin-top: 1.5rem; text-align: center; }

/* Basket panel */
.basket-panel,
.checkout-panel {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.15rem 1.5rem;
}
.basket-panel.is-open,
.checkout-panel.is-open { display: block; }

.basket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.basket-head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.basket-empty {
  text-align: center;
  color: var(--ink-3);
  padding: 2rem 1rem;
}
.basket-lines { display: grid; gap: 0.65rem; }
.basket-line {
  display: grid;
  grid-template-columns: 56px 1fr auto auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}
@media (max-width: 420px) {
  .basket-line {
    grid-template-columns: 48px 1fr auto;
    grid-template-areas:
      "thumb info remove"
      "thumb qty total";
  }
  .basket-thumb { grid-area: thumb; }
  .basket-info { grid-area: info; }
  .qty { grid-area: qty; }
  .basket-line-total { grid-area: total; justify-self: end; }
  .basket-remove { grid-area: remove; justify-self: end; }
}
.basket-thumb {
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef0f4;
}
.basket-info strong {
  display: block;
  font-size: 0.88rem;
}
.basket-info span {
  font-size: 0.75rem;
  color: var(--ink-3);
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.15rem;
}
.qty button {
  width: 28px; height: 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.qty button:hover { background: var(--blue-soft); color: var(--blue); }
.qty span {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.basket-line-total {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
}
.basket-remove {
  width: 28px; height: 28px;
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--ink-3);
}
.basket-remove:hover { color: var(--cerise); background: #fde8ef; }

.basket-footer { margin-top: 1.15rem; }
.basket-sub {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
.basket-sub strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue);
}

.shop-done {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.shop-done.is-show { display: block; }

/* Footer grid */
.footer-inner--grid {
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: 1fr;
  text-align: left;
  align-items: start;
}
@media (min-width: 700px) {
  .footer-inner--grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-col {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.55);
  margin-bottom: 0.25rem;
}
.footer-col a,
.footer-col span {
  font-size: 0.88rem;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}
@media (min-width: 700px) {
  .footer-bottom { text-align: left; padding-left: 0; padding-right: 0; }
}

/* Legal subpages */
.legal-page .nav { position: sticky; }
.legal-main {
  padding: calc(var(--nav-h) + 2rem) 1.25rem 3.5rem;
  background: var(--paper-2);
  min-height: 60vh;
}
.legal-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.35rem 2rem;
}
@media (min-width: 700px) {
  .legal-inner { padding: 2.5rem 2.5rem 2.75rem; }
}
.legal-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  margin: 0.35rem 0 0.75rem;
}
.legal-meta {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
}
.legal-body p,
.legal-body li {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 0.65rem;
}
.legal-body ul {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
  list-style: disc;
}
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-back {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.legal-back a {
  font-weight: 600;
  color: var(--blue);
}

/* Glass header */
.nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 40px rgba(7, 21, 56, 0.15);
}
/* Keep light text on glass over dark hero imagery */
.nav .nav-links a { color: rgba(255,255,255,.95); }
.nav .nav-brand span { color: #fff; }
.nav .burger span { background: #fff; }
.nav.is-solid .nav-links a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.nav.is-solid .nav-brand span { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }

/* When scrolled past hero onto light sections, deepen glass slightly */
.nav.is-solid.is-light {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(12, 45, 158, 0.08);
  box-shadow: 0 8px 30px rgba(12, 20, 60, 0.08);
}
.nav.is-solid.is-light .nav-links a,
.nav.is-solid.is-light .nav-brand span {
  color: var(--ink);
  text-shadow: none;
}
.nav.is-solid.is-light .burger span { background: var(--ink); }

/* Basket thumbs always visible */
.basket-thumb {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #e8ebf2;
  display: block;
}

@media (min-width: 700px) {
  .court-picks { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .court-picks { grid-template-columns: repeat(5, 1fr); }
}

/* Seating radio rows share extra-row look */
.extra-row input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0;
}


/* Close gap under pinned hero */
.hero-pin + .band,
.band--action {
  margin-top: 0 !important;
  position: relative;
  z-index: 3;
}

.hero.hero-pin + section {
  margin-top: 0;
  border-top: none;
}
