
/* Brand guideline colours: #FFFFFF, #2F2FE4, #478040 (CMYK blue ref #4552a3) */
:root,
[data-theme="dark"] {
  --ink: #f5f6f5;
  --muted: #9fa9a3;
  --paper: rgba(15, 20, 35, 0.72);
  --cream: #0c101c;
  --leaf: #478040;
  --mint: #6a9a62;
  --blue: #2f2fe4;
  --sky: #1a2238;
  --clay: #4552a3;
  --gold: #6a9a62;
  --accent: #2f2fe4;
  --brand-white: #ffffff;
  --brand-blue: #2f2fe4;
  --brand-blue-deep: #4552a3;
  --brand-green: #478040;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  --radius: 12px;
  --page-pad: clamp(14px, 4vw, 80px);
  --content-max: 1400px;
  --body-bg:
    radial-gradient(circle at 20% 10%, rgba(71, 128, 64, 0.14), transparent 45rem),
    radial-gradient(circle at 80% 80%, rgba(47, 47, 228, 0.14), transparent 50rem),
    linear-gradient(135deg, #07090f 0%, #0c1220 50%, #090d14 100%);
  --header-bg: rgba(9, 12, 20, 0.78);
  --input-bg: rgba(0, 0, 0, 0.25);
  --brand-mark-color: #07090f;
  --mobile-nav-bg: rgba(9, 12, 20, 0.96);
}

[data-theme="light"] {
  --ink: #14182a;
  --muted: #5a6278;
  --paper: rgba(255, 255, 255, 0.92);
  --cream: #ffffff;
  --leaf: #478040;
  --mint: #478040;
  --blue: #2f2fe4;
  --sky: #eef0f8;
  --clay: #4552a3;
  --gold: #478040;
  --accent: #2f2fe4;
  --brand-white: #ffffff;
  --brand-blue: #2f2fe4;
  --brand-blue-deep: #4552a3;
  --brand-green: #478040;
  --line: rgba(47, 47, 228, 0.12);
  --shadow: 0 24px 80px rgba(47, 47, 228, 0.1);
  --body-bg:
    radial-gradient(circle at 20% 10%, rgba(71, 128, 64, 0.12), transparent 45rem),
    radial-gradient(circle at 80% 80%, rgba(47, 47, 228, 0.1), transparent 50rem),
    linear-gradient(135deg, #ffffff 0%, #f3f5fb 50%, #eef6ef 100%);
  --header-bg: rgba(255, 255, 255, 0.9);
  --input-bg: rgba(255, 255, 255, 0.95);
  --brand-mark-color: #ffffff;
  --mobile-nav-bg: rgba(255, 255, 255, 0.98);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--body-bg);
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  transition: background 280ms ease, color 280ms ease;
}

body > main {
  flex: 1 0 auto;
}

body > .site-footer {
  flex-shrink: 0;
}

body.menu-open .nav-links {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.35;
  animation: drift 15s ease-in-out infinite alternate;
}

.ambient-one {
  top: 12%;
  left: -14%;
  background: rgba(138, 179, 149, 0.15);
}

.ambient-two {
  right: -12%;
  bottom: 3%;
  background: rgba(47, 47, 228, 0.1);
  animation-delay: -5s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 10px var(--page-pad);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--header-bg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  transition: background 280ms ease;
}

@media (max-width: 980px) {
  .nav-links a {
    padding: 10px 12px;
    font-size: 0.92rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  line-height: 0;
}

.brand .brand-logo,
img.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(240px, 46vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}



.brand-mark {
  display: none;
}

.brand strong,
.brand small {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 6px;
}

.nav-links a,
.text-button {
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}

.nav-links a {
  padding: 12px 14px;
}

.nav-links a:hover,
.nav-links a.active,
.text-button:hover {
  color: var(--ink);
  background: rgba(47, 47, 228, 0.12);
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  transition: all 180ms ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu {
  display: none;
}

.section-shell {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-inline: var(--page-pad);
  box-sizing: border-box;
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(22px, 3.6vw, 58px);
  align-items: center;
  min-height: calc(100svh - 94px);
  padding: clamp(24px, 4vw, 48px) 0 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 6vw, 5.2rem);
}

h2 {
  margin-bottom: 0;
  max-width: 100%;
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
}

h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.hero-text {
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}

.button svg,
.icon-button svg {
  width: 19px;
  height: 19px;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  border-color: transparent;
  color: #ffffff;
  background: var(--brand-blue);
  box-shadow: 0 14px 30px rgba(47, 47, 228, 0.28);
}

.primary:hover {
  background: var(--brand-blue-deep);
  box-shadow: 0 16px 36px rgba(47, 47, 228, 0.36);
}

.ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.full {
  width: 100%;
}

.hero-stats {
  margin-top: 24px;
}

.hero-btn-events {
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
  color: var(--blue);
}

.hero-btn-events:hover {
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  border-color: var(--blue);
}

.hero-stats span,
.soft-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-stats strong {
  margin-right: 5px;
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: clamp(390px, 42vw, 500px);
}

.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(15, 25, 20, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

[data-theme="light"] .hero-card {
  border-color: rgba(255, 253, 247, 0.96);
}

.hero-card-main {
  inset: 7% 12% 8% 10%;
  animation: floatMain 7s ease-in-out infinite;
}

.hero-card-float {
  width: 34%;
  aspect-ratio: 0.72;
  animation: floatSmall 8s ease-in-out infinite;
}

.hero-card-float.top {
  top: 0;
  right: 0;
}

.hero-card-float.top img {
  object-fit: contain;
  object-position: center;
  background: #14182a;
}

[data-theme="light"] .hero-card-float.top img {
  background: #eef0f8;
}

.hero-card-float.bottom {
  left: 0;
  bottom: 0;
  animation-delay: -3s;
}

.orbit-note {
  position: absolute;
  right: 5%;
  bottom: 11%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 25, 20, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  font-weight: 800;
  color: var(--blue);
}

[data-theme="light"] .orbit-note {
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 18px 46px rgba(30, 45, 35, 0.12);
}

.hero-stage .clickable-post:hover {
  transform: none;
  filter: brightness(0.94);
}

.motion-strip {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #070b09;
}

.ticker {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 14px 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}

.ticker span {
  position: relative;
}

.ticker span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.app-section,
.experience,
.story,
.admin,
.landing-links,
.page-hero {
  padding: clamp(42px, 5.5vw, 66px) 0;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: center;
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero-image,
.story-video-wrapper {
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(15, 25, 20, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero-image {
  aspect-ratio: 1.12;
  animation: floatSmall 8s ease-in-out infinite;
}

.landing-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

@media (max-width: 900px) {
  .landing-links {
    grid-template-columns: 1fr;
  }
}

.photo-showcase {
  padding: clamp(28px, 4vw, 48px) 0;
}

.photo-showcase-head {
  margin-bottom: 20px;
}

.photo-showcase-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.photo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.photo-showcase-grid .photo-tile {
  aspect-ratio: 4 / 5;
}

.photo-tile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.photo-tile video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile:hover img {
  transform: scale(1.04);
}

.story-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-photo-grid .photo-tile {
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .photo-showcase-grid,
  .story-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .photo-showcase-grid,
  .story-photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.route-card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 47, 228, 0.3);
}

.route-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(47, 47, 228, 0.2);
}

.route-card strong {
  font-size: 1.2rem;
}

.route-card p,
.admin-filter p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 20px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 310px;
  gap: 14px;
}

.booking-panel,
.slots-panel,
.checkout-panel,
.menu-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
  padding: 16px;
}

.date-card label,
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-card input,
.field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 11px;
  color: var(--ink);
  background: var(--input-bg);
  transition: border-color 180ms ease, background 280ms ease;
}

.date-card input:focus,
.field input:focus {
  border-color: var(--blue);
  outline: none;
}

.court-picker,
.member-box,
.payment-card,
.confirmation {
  margin-top: 12px;
}

.court-option {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  cursor: pointer;
  transition: all 180ms ease;
}

.court-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.court-option.active {
  border-color: rgba(47, 47, 228, 0.4);
  background: rgba(47, 47, 228, 0.1);
}

.court-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--sky);
  transition: all 180ms ease;
}

.court-option.active .court-icon {
  background: var(--blue);
  color: #ffffff;
}

.court-option strong,
.court-option small {
  display: block;
}

.court-option small,
.panel-title small,
.payment-card p,
.booking-summary p,
.story-copy p,
.partner-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.panel-title,
.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.panel-title span {
  font-weight: 800;
}

.member-fields {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

/* Honeypot bot-trap field (see booking.html) - invisible and unreachable by
   keyboard for real visitors, but still present in the DOM/tab order for
   scripts that indiscriminately fill every <input>. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 8px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.slot-button {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border 160ms ease, background 160ms ease, color 160ms ease;
}

.slot-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.slot-button.active {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 6px 18px rgba(47, 47, 228, 0.2);
}

.slot-button.booked {
  color: rgba(255, 255, 255, 0.15);
  background: repeating-linear-gradient(-45deg, rgba(15, 25, 20, 0.8), rgba(15, 25, 20, 0.8) 6px, rgba(9, 15, 12, 0.8) 6px, rgba(9, 15, 12, 0.8) 12px);
  border-color: transparent;
  cursor: not-allowed;
}

.slot-legend {
  display: flex;
  gap: 18px;
  margin: -4px 0 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.slot-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slot-legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.slot-legend-swatch--available {
  background: rgba(255, 255, 255, 0.03);
}

.slot-legend-swatch--booked {
  background: repeating-linear-gradient(-45deg, rgba(15, 25, 20, 0.8), rgba(15, 25, 20, 0.8) 6px, rgba(9, 15, 12, 0.8) 6px, rgba(9, 15, 12, 0.8) 12px);
  border-color: transparent;
}

.booking-summary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-line strong:last-child {
  text-align: right;
}

.payment-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(138, 179, 149, 0.06);
  border: 1px solid rgba(138, 179, 149, 0.12);
}

.payment-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  background: rgba(139, 94, 60, 0.12);
  color: var(--accent, #2f2fe4);
}

.payment-card-icon svg {
  width: 32px;
  height: 32px;
}

.payment-mode-hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .payment-mode-hint {
  color: rgba(255, 255, 255, 0.6);
}

.qr-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  width: 74px;
  height: 74px;
  padding: 8px;
  border: 5px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  background: white;
}

.qr-demo span {
  background: #000;
}

.qr-demo span:nth-child(2) {
  background: var(--blue);
}

.qr-demo span:nth-child(3) {
  background: var(--leaf);
}

.confirmation {
  min-height: 0;
  color: var(--mint);
  font-weight: 800;
}

.confirmation.is-success {
  color: #16a34a;
}

.confirmation.is-error {
  color: #dc2626;
}

.confirmation.is-info {
  color: var(--muted);
}

.slot-loading,
.empty-state.is-error-state p {
  color: var(--muted);
}

.slot-loading {
  grid-column: 1 / -1;
  padding: 28px 12px;
  text-align: center;
  font-size: 0.92rem;
}

.button.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.badge-cancelled {
  background: rgba(148, 163, 184, 0.18);
  color: #64748b;
}

.booking-card.is-cancelled {
  opacity: 0.72;
}

.file-protocol-warning {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  background: #fef2f2;
  color: #991b1b;
  border-bottom: 1px solid #fecaca;
  font-size: 0.92rem;
}

.file-protocol-warning a {
  color: #b91c1c;
  font-weight: 700;
}

.file-protocol-warning code {
  font-size: 0.85em;
}

.experience {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: stretch;
}

.menu-page {
  padding: 28px 0 36px;
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.menu-sidebar {
  position: sticky;
  top: 88px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.menu-sidebar .eyebrow {
  margin: 0 8px 12px;
}

.menu-sidebar-label {
  margin-top: 16px;
}

.menu-cat-list {
  display: grid;
  gap: 4px;
  max-height: calc(100vh - 180px);
  overflow: auto;
  padding-right: 2px;
}

.menu-cat-btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.menu-cat-btn:hover {
  color: var(--ink);
  background: rgba(47, 47, 228, 0.1);
}

.menu-cat-btn.active {
  color: #ffffff;
  background: var(--blue);
}

.menu-panel {
  min-height: 520px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .menu-panel {
  background: rgba(255, 253, 247, 0.96);
}

.menu-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.menu-panel-head .eyebrow {
  margin-bottom: 4px;
}

.menu-panel-head h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

.menu-panel-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.menu-nav-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 150ms ease, opacity 150ms ease;
}

.menu-nav-btn:hover:not(:disabled) {
  background: rgba(47, 47, 228, 0.12);
}

.menu-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.menu-nav-btn svg {
  width: 18px;
  height: 18px;
}

.menu-list {
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.menu-list.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item-copy strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.menu-item-copy p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.menu-item-rule {
  margin-bottom: 7px;
  border-bottom: 1px dotted rgba(128, 128, 128, 0.35);
}

.menu-item-price {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .menu-sidebar {
    position: static;
    padding: 14px;
    width: 100%;
  }

  .menu-panel {
    min-height: 0;
    padding: 18px 16px;
    width: 100%;
    min-width: 0;
  }

  .menu-item-rule {
    display: none;
  }
}

.gallery-wall {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 12px;
  min-height: 440px;
}

.gallery-large,
.gallery-pair {
  margin: 0;
}

.gallery-large {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.gallery-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 54%);
}

.gallery-large figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: var(--ink);
  font-weight: 800;
}

.gallery-pair {
  display: grid;
  gap: 12px;
}

.gallery-pair .gallery-item {
  margin: 0;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-pair .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  align-items: center;
}

.story-page {
  min-height: calc(100svh - 96px);
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

.story-video-wrapper {
  background: #000;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 0 0;
  aspect-ratio: 9 / 16;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-video-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.story-video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
}

/* Fullscreen must show the full frame — never crop on wide monitors */
.story-video-wrapper video:fullscreen,
.story-video-wrapper video:-webkit-full-screen,
.story-video-wrapper video:-moz-full-screen,
.story-video-wrapper video:-ms-fullscreen,
video:fullscreen,
video:-webkit-full-screen,
video:-moz-full-screen,
video:-ms-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #000 !important;
}

.story-copy p {
  max-width: 58ch;
  font-size: 1.02rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: 40px;
  padding-bottom: 24px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

/* Keep four founder cards in one row on tablets+; wrap only on phones. */
@media (max-width: 820px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="story"] .story-contact-band {
  padding-top: 8px;
  padding-bottom: max(36px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
}

body[data-page="story"] .story-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
}

body[data-page="story"] .story-contact span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

body[data-page="story"] .story-contact i,
body[data-page="story"] .story-contact svg {
  flex-shrink: 0;
  color: var(--blue);
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  body[data-page="story"] .story-contact {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="story"] .story-contact span {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .founder-card h3 {
    font-size: 1.2rem;
  }

  .founder-card p {
    font-size: 0.84rem;
  }
}

.admin-page {
  padding-bottom: 24px;
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(36px, 5vw, 56px) 0 28px;
}

.admin-hero h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.12;
}

.admin-hero .hero-text {
  max-width: 48ch;
  margin: 0;
}

.admin-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.admin-meta-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.admin-meta-chip > i,
.admin-meta-chip > svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.admin-meta-chip span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-meta-chip input {
  display: block;
  margin-top: 2px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.admin-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-ghost-btn:hover {
  color: #c44;
  border-color: rgba(196, 68, 68, 0.28);
  background: rgba(196, 68, 68, 0.06);
}

.admin-ghost-btn svg {
  width: 16px;
  height: 16px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  gap: 16px;
  padding-bottom: 28px;
}

.admin-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(22px);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-panel-head .eyebrow {
  margin-bottom: 4px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.court-status {
  display: grid;
  gap: 12px;
}

.status-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .status-row {
  background: rgba(255, 255, 255, 0.72);
}

.status-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-row strong {
  font-size: 0.92rem;
}

.status-row small {
  color: var(--muted);
  font-size: 0.78rem;
}

.progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(128, 128, 128, 0.12);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), var(--blue));
  transition: width 280ms ease;
}

.status-warm .progress span {
  background: linear-gradient(90deg, var(--gold), var(--clay));
}

.status-busy .progress span {
  background: linear-gradient(90deg, var(--clay), #c44);
}

.reveal {
  opacity: 1;
  transform: translateY(12px);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-one {
  transition-delay: 120ms;
}

.delay-two {
  transition-delay: 220ms;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(7%, -5%, 0) scale(1.08);
  }
}

@keyframes floatMain {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatSmall {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(12px) rotate(-1deg);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-45%);
  }
}

@media (max-width: 980px) {
  .hero,
  .booking-grid,
  .experience,
  .story,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-wall {
    min-height: 520px;
  }

  .story-video-wrapper {
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  body.menu-open .nav-links {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    flex: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--mobile-nav-bg);
    box-shadow: var(--shadow);
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    display: grid;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: 100%;
    gap: 10px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex: none;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--mobile-nav-bg);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.menu-open .nav-links {
    display: grid;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .section-shell {
    width: 100%;
    padding-inline: var(--page-pad);
  }

  h1 {
    max-width: none;
    font-size: clamp(2.35rem, 9vw, 4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-stage {
    min-height: 350px;
  }

  .hero-card-main {
    inset: 6% 5% 11% 9%;
  }

  .hero-card-float {
    width: 32%;
  }

  .orbit-note {
    right: 2%;
    bottom: 6%;
    font-size: 0.82rem;
  }

  .gallery-wall,
  .booking-row {
    grid-template-columns: 1fr;
  }

  .field {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.62fr);
  }

  .gallery-wall {
    min-height: auto;
  }

  .gallery-large {
    min-height: 440px;
  }

  .gallery-pair {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-pair .gallery-item {
    aspect-ratio: 1;
  }

  .gallery-pair .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}

@media (max-width: 460px) {
  .brand .brand-logo,
  img.brand-logo {
    height: 34px;
    max-width: min(180px, 50vw);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-card {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Professional Media Viewer
   ========================================================================== */
.simple-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(8, 12, 10, 0.92);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.simple-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.simple-lightbox-close {
  position: fixed;
  top: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  z-index: 1601;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.simple-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

.simple-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.simple-lightbox-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(920px, 100%);
  max-height: min(86vh, 820px);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.simple-lightbox-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(86vh, 820px);
  object-fit: contain;
  object-position: center;
  background: #000;
}

.simple-lightbox-media video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(86vh, 820px);
  object-fit: contain;
  object-position: center;
  background: #000;
  margin-inline: auto;
}

.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-left-color: #fff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  display: none;
}

.video-loader.active {
  display: block;
}

/* Clickable media posts */
.clickable-post {
  cursor: pointer;
  transition: filter 220ms ease, transform 220ms ease;
}

.clickable-post:hover,
.clickable-post:focus-visible {
  filter: brightness(0.92);
  outline: none;
}

.clickable-post:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 47, 228, 0.45);
}

.media-post-host {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.hero-card.media-post-host {
  position: absolute;
}

.media-post-host .clickable-post:hover {
  transform: scale(1.02);
}

.post-play-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.post-play-badge svg {
  width: 12px;
  height: 12px;
}

/* Hero Play Overlay */
.hero-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.hero-card:hover .hero-play-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.play-btn-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15, 25, 20, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.play-btn-circle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  margin-left: 3px;
}

.hero-card:hover .play-btn-circle {
  transform: scale(1.12);
  background: var(--blue);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(47, 47, 228, 0.4);
}

.media-video-card img,
.media-video-card .clickable-post {
  cursor: pointer;
}

.hero-card:not(.media-video-card) img,
.photo-tile img,
.page-hero-image img {
  cursor: default;
  pointer-events: none;
}

/* ==========================================================================
   Founder story cards — same layout as Ajay & Amil card for every founder
   ========================================================================== */
.founder-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px);
  transition: transform 220ms ease, box-shadow 220ms ease;
  min-width: 0;
}

.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Shared photo band (matches duo card proportions) */
.founder-img-wrapper {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #141414;
  border-bottom: 1px solid var(--line);
}

.founder-img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias mid-portrait so faces sit higher in the 3:2 frame (less empty headroom). */
  object-position: center 42%;
  filter: grayscale(1) contrast(1.05);
  cursor: default;
  pointer-events: none;
}

/* Per-portrait tweaks — keep faces fully in frame */
.founder-img-wrapper--kamna img {
  object-position: center 36%;
}

.founder-img-wrapper--yash img {
  /* Slightly higher bias so hair has headroom under the rounded card top */
  object-position: center 34%;
}

.founder-img-wrapper--aarsh img {
  object-position: center 52%;
}

/* Ajay (left) + Amil (right): side-by-side portraits, same band as other cards */
.founder-img-wrapper--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  aspect-ratio: 3 / 2;
  background: #141414;
  align-items: stretch;
}

.founder-img-wrapper--duo img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(1) contrast(1.05);
  background: #141414;
}

.founder-img-wrapper--duo img:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  object-position: center 28%;
}

.founder-img-wrapper--duo img:last-child {
  object-position: center 35%;
}

@media (max-width: 820px) {
  .founder-img-wrapper,
  .founder-img-wrapper--duo {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .founder-img-wrapper,
  .founder-img-wrapper--duo {
    aspect-ratio: 5 / 4;
  }
}

.founder-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  background: transparent;
}

.founder-role-badge {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: var(--brand-blue, #2f2fe4);
  padding: 5px 9px;
  border-radius: 6px;
}

.founder-card h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.25;
  color: var(--ink);
}

.founder-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1 1 auto;
}

[data-theme="light"] .founder-card {
  background: #ffffff;
  border: 1px solid rgba(20, 28, 50, 0.1);
  box-shadow: 0 10px 36px rgba(30, 40, 70, 0.1);
}

[data-theme="light"] .founder-content {
  background: #ffffff;
}

[data-theme="light"] .founder-card h3 {
  color: #14182a;
}

[data-theme="light"] .founder-card p {
  color: #5a6278;
}

[data-theme="light"] .founder-role-badge {
  color: #ffffff;
  background: #2f2fe4;
}

[data-theme="light"] .founder-img-wrapper {
  border-bottom: 1px solid rgba(20, 28, 50, 0.08);
}

/* ==========================================================================
   Admin dashboard
   ========================================================================== */
.kpi-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.kpi-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(22px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.kpi-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue);
  flex-shrink: 0;
}

.kpi-icon.revenue {
  background: rgba(47, 47, 228, 0.14);
  color: var(--blue);
}

.kpi-icon.occupancy {
  background: rgba(138, 179, 149, 0.14);
  color: var(--mint);
}

.kpi-icon svg {
  width: 20px;
  height: 20px;
}

.kpi-details span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: var(--muted);
}

.kpi-details strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--ink);
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.8fr) minmax(140px, 0.8fr);
  gap: 10px;
  margin-bottom: 16px;
}

.search-wrapper {
  position: relative;
}

.search-wrapper i,
.search-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-wrapper input,
.filter-select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 160ms ease, background 200ms ease;
}

.search-wrapper input {
  padding: 0 12px 0 38px;
}

.filter-select {
  padding: 0 12px;
}

.search-wrapper input:focus,
.filter-select:focus,
.admin-meta-chip input:focus {
  outline: none;
  border-color: rgba(47, 47, 228, 0.45);
}

.filter-select option {
  background: var(--cream);
  color: var(--ink);
}

.booking-list {
  display: grid;
  gap: 12px;
}

.admin-archived-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-archived-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding-bottom: 10px;
}

.admin-archived-summary::-webkit-details-marker {
  display: none;
}

.admin-archived-summary h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.admin-archived-summary .eyebrow {
  margin-bottom: 2px;
}

.admin-archived-summary-end {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.admin-archived-chevron {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  transition: transform 200ms ease;
}

.admin-archived-chevron i {
  width: 16px;
  height: 16px;
}

.admin-archived-panel[open] .admin-archived-chevron {
  transform: rotate(180deg);
}

.booking-list--archived {
  padding-top: 4px;
}

.booking-list--archived .booking-card {
  opacity: 0.88;
}

.empty-state--compact {
  padding: 20px 12px;
}

.empty-state--compact p {
  margin-top: 4px;
  font-size: 0.82rem;
}

.booking-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.booking-card-primary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.booking-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.booking-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

[data-theme="light"] .booking-card {
  background: rgba(255, 255, 255, 0.78);
}

.booking-card-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  min-width: 0;
}

.booking-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  flex-shrink: 0;
}

.booking-card-identity strong,
.booking-card-meta strong {
  display: block;
  color: var(--ink);
}

.booking-card-identity > div span,
.booking-card-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.booking-card-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.booking-card-meta > div {
  min-width: 0;
}

.booking-card-meta strong {
  font-size: 0.84rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-card-meta span {
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.booking-card-side {
  display: grid;
  gap: 12px;
  justify-items: end;
}

/* Legacy alias — actions column on desktop */
@media (min-width: 721px) {
  body[data-page="admin"] .booking-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  body[data-page="admin"] .booking-card-actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 108px;
  }

  body[data-page="admin"] .booking-card-actions .btn-sm {
    width: 100%;
  }
}

.booking-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.badge-paid {
  background: rgba(138, 179, 149, 0.14);
  color: var(--mint);
  border-color: rgba(138, 179, 149, 0.22);
}

.badge-pending {
  background: rgba(47, 47, 228, 0.14);
  color: var(--blue);
  border-color: rgba(47, 47, 228, 0.22);
}

.badge-queued {
  background: var(--sky);
  color: var(--muted);
  border-color: var(--line);
}

.badge-sent {
  background: rgba(138, 179, 149, 0.08);
  color: var(--muted);
  border-color: var(--line);
}

.actions-cell {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.btn-sm:hover {
  background: rgba(47, 47, 228, 0.1);
  border-color: rgba(47, 47, 228, 0.28);
}

.btn-sm.danger {
  color: #c44;
  border-color: rgba(196, 68, 68, 0.22);
}

.btn-sm.danger:hover {
  background: rgba(196, 68, 68, 0.08);
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}

.empty-state svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  stroke-width: 1.5;
}

.empty-state strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}

.empty-state p {
  margin: 6px 0 0;
  font-size: 0.88rem;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

@media (max-width: 980px) {
  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .kpi-container,
  .admin-grid,
  .admin-filters,
  .booking-card,
  .booking-card-meta {
    grid-template-columns: 1fr;
  }

  .booking-card-side,
  .booking-badges,
  .actions-cell {
    justify-content: flex-start;
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 8px;
  }

  .header-actions {
    margin-left: auto;
  }

  .admin-hero-meta,
  .actions-cell {
    width: 100%;
  }

  .admin-meta-chip,
  .admin-ghost-btn,
  .actions-cell .btn-sm {
    width: 100%;
  }

  .simple-lightbox-media {
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - 72px);
    border-radius: 10px;
  }

  .simple-lightbox-media img {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 72px);
  }

  .simple-lightbox-media video {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 72px);
  }

  .simple-lightbox {
    padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  }
}

/* Visit Info Band Section */
.info-band {
  padding: clamp(48px, 6vw, 80px) 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.info-band-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .info-band-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

.info-band-map {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1.6;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
  height: 380px;
}

@media (max-width: 900px) {
  .info-band-map {
    height: min(240px, 52vw);
    aspect-ratio: auto;
  }
}

.info-band-map iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  border: 0;
  filter: grayscale(0.9) invert(0.9) contrast(1.2);
  opacity: 0.85;
  transition: all 0.3s ease;
}

[data-theme="light"] .info-band-map iframe {
  filter: grayscale(0.2) contrast(1.0);
  opacity: 1;
}

.info-band-map:hover iframe {
  filter: grayscale(0) invert(0) contrast(1);
  opacity: 1;
}

.info-band-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .info-band-details {
    padding-left: 0;
  }
}

.info-band-details h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 4.2vw, 3.5rem);
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.info-band-desc {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: min(480px, 100%);
  overflow-wrap: anywhere;
}

.info-band-details .contact-grid {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.info-band-details .contact-grid span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-band-details .contact-grid i,
.info-band-details .contact-grid svg {
  color: var(--blue);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

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

/* ==========================================================================
   Admin Login Panel Styles
   ========================================================================== */
.admin-page {
  display: flex;
  flex-direction: column;
}

.admin-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: calc(100svh - 110px);
  padding: clamp(28px, 5vw, 56px) 20px;
}

.admin-login-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 40px);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.admin-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--clay));
}

.admin-login-card .field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 18px;
}

.login-head {
  text-align: center;
  margin-bottom: 28px;
}

.login-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  color: var(--leaf);
  background: color-mix(in srgb, var(--mint) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--leaf) 22%, transparent);
}

.login-badge i,
.login-badge svg {
  width: 22px;
  height: 22px;
}

.login-head .eyebrow {
  margin-bottom: 8px;
}

.login-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.login-head p {
  margin: 0 auto;
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap > i,
.login-input-wrap > svg:first-child {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.login-input-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--input-bg);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.login-input-wrap input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}

.login-input-wrap input::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.login-password-toggle {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  outline: none;
}

.login-password-toggle i,
.login-password-toggle svg {
  width: 16px;
  height: 16px;
}

.login-submit-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  justify-content: center;
  gap: 8px;
}

.login-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.login-error-message {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  background: rgba(185, 48, 48, 0.1);
  color: #9f1d1d;
  border: 1px solid rgba(185, 48, 48, 0.28);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 0.9rem;
  text-align: left;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 0 0 1px rgba(185, 48, 48, 0.04);
}

.login-error-message i,
.login-error-message svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #b93030;
}

.login-error-message[hidden] {
  display: none !important;
}

.login-error-message.is-shaking {
  animation: loginErrorShake 420ms ease;
}

@keyframes loginErrorShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.login-form .field.is-invalid .login-input-wrap input {
  border-color: rgba(185, 48, 48, 0.55);
  box-shadow: 0 0 0 3px rgba(185, 48, 48, 0.12);
}

.login-submit-btn.is-loading {
  cursor: wait;
  opacity: 0.85;
}

.login-submit-btn.is-loading i,
.login-submit-btn.is-loading svg {
  animation: loginSpin 0.9s linear infinite;
}

@keyframes loginSpin {
  to { transform: rotate(360deg); }
}

.login-footnote {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
}

.login-footnote i,
.login-footnote svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--blue);
}

[data-theme="dark"] .login-error-message {
  background: rgba(239, 100, 100, 0.12);
  color: #f0a0a0;
  border-color: rgba(239, 100, 100, 0.22);
}

/* ==========================================================================
   Event Manager Admin Form Styles
   ========================================================================== */
.event-form .field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 20px;
}

.event-form textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 11px;
  color: var(--ink);
  background: var(--input-bg);
  transition: border-color 180ms ease, background 280ms ease;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.event-form textarea:focus {
  border-color: var(--blue);
  outline: none;
}

/* Events manager layout */
.events-manager-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.events-manager-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.events-manager-heading h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.events-manager-heading .soft-pill {
  align-self: flex-start;
}

.events-add-btn {
  width: auto;
  flex-shrink: 0;
}

.events-list-panel {
  padding-bottom: 8px;
}

/* Admin events gallery — same tile layout as Wall of Fame */
.admin-events-gallery {
  margin-top: 0;
  min-height: 160px;
}

.admin-event-tile {
  cursor: pointer;
  position: relative;
}

.admin-event-tile img,
.admin-event-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-event-tile-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
}

.admin-event-tile .dest-chip {
  font-size: 0.58rem;
  padding: 2px 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.admin-event-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 12px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-event-tile figcaption time {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.92;
}

.admin-event-tile-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: color-mix(in srgb, var(--ink) 35%, transparent);
  background: linear-gradient(145deg, #ece7df 0%, #d9d2c6 100%);
}

.admin-event-tile-empty i {
  width: 28px;
  height: 28px;
  opacity: 0.55;
}

.admin-event-tile-empty span {
  font-size: 0.78rem;
  font-weight: 600;
}

/* Admin modals (Add Event + Event Preview) */
body.admin-modal-open {
  overflow: hidden;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  backdrop-filter: blur(3px);
}

.admin-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 860px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.admin-modal-dialog--wide {
  width: min(860px, 100%);
}

.admin-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.admin-modal-head h2 {
  margin: 4px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.admin-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.admin-modal-close:hover {
  border-color: var(--ink);
}

.admin-modal-close i {
  width: 16px;
  height: 16px;
}

.admin-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.admin-modal-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 12px;
}

.admin-modal-footer {
  flex-shrink: 0;
  padding: 12px 20px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.admin-modal-submit {
  width: 100%;
}

.admin-modal-body .field-help {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

.admin-event-preview-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 22px;
  overflow-y: auto;
}

.admin-preview-date {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.admin-preview-dest {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.admin-preview-desc {
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.55;
  font-size: 0.98rem;
}

.admin-preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.admin-preview-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.admin-preview-media img,
.admin-preview-media video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #111;
}

.admin-preview-media figcaption {
  padding: 8px 10px;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.admin-preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 16px;
  color: var(--muted);
  text-align: center;
}

.admin-preview-empty i {
  width: 32px;
  height: 32px;
}

.publish-destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.publish-dest-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.publish-dest-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.publish-dest-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 96px;
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.publish-dest-card i {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
  color: var(--muted);
}

.publish-dest-card strong {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.publish-dest-card em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}

.publish-dest-option:hover .publish-dest-card {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
}

.publish-dest-option:has(input:checked) .publish-dest-card {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 8%, var(--paper));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 35%, transparent);
}

.publish-dest-option:has(input:checked) .publish-dest-card i {
  color: var(--blue);
}

.media-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 132px;
  padding: 22px 20px;
  border: 1.5px dashed color-mix(in srgb, var(--ink) 18%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 2.5%, var(--paper));
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease;
}

.media-upload-zone:hover,
.media-upload-zone:focus-within {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 6%, var(--paper));
}

.media-upload-zone.has-files {
  border-style: solid;
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
}

.media-upload-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 2px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}

.media-upload-icon i {
  width: 16px;
  height: 16px;
}

.media-upload-title {
  display: block;
  width: 100%;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.media-upload-hint {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.media-upload-filename {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.media-upload-filename:empty {
  display: none;
}

@media (max-width: 520px) {
  .publish-destinations {
    grid-template-columns: 1fr;
  }
}

.destination-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
}

.count-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.count-inputs .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dynamic-media-slots {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.media-slot {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-slot h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
}

.media-slot .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.media-slot .field label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--muted);
}

.media-slot input[type="file"] {
  padding: 8px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  width: 100%;
  cursor: pointer;
}

/* ==========================================================================
   Admin Event list
   ========================================================================== */
.admin-events-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 4px;
}

.admin-event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 200ms ease;
}

.admin-event-card:hover {
  border-color: color-mix(in srgb, var(--ink) 18%, var(--line));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.admin-event-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #ece7df 0%, #d9d2c6 100%);
  flex-shrink: 0;
}

.admin-event-thumb img,
.admin-event-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-event-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: color-mix(in srgb, var(--ink) 35%, transparent);
}

.admin-event-thumb-empty i {
  width: 28px;
  height: 28px;
  opacity: 0.55;
}

.admin-event-thumb-empty span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.admin-event-thumb-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.admin-event-thumb-badge i {
  width: 13px;
  height: 13px;
}

.admin-event-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1;
}

.admin-event-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  min-width: 0;
  line-height: 1.25;
}

.admin-event-preview-link {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  transition: color 160ms ease;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-event-preview-link:hover {
  color: var(--blue);
}

.admin-event-preview-link i {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.55;
}

.admin-event-date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.admin-event-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 2px 0 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-event-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.dest-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  border: none;
}

.dest-chip.dest-events {
  color: #0b4f6c;
  background: rgba(14, 116, 144, 0.12);
}

.dest-chip.dest-wall {
  color: #7c2d12;
  background: rgba(194, 65, 12, 0.12);
}

.dest-chip.dest-none {
  color: var(--muted);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.admin-tile-menu {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}

.admin-tile-menu-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.admin-event-tile:hover .admin-tile-menu-btn,
.wall-moment-tile:hover .admin-tile-menu-btn,
.admin-tile-menu.is-open .admin-tile-menu-btn,
.admin-tile-menu-btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-tile-menu-btn:hover {
  background: #fff;
}

.admin-tile-menu-btn i {
  width: 16px;
  height: 16px;
}

.admin-tile-menu-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 132px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.admin-tile-menu-popover[hidden] {
  display: none !important;
}

.admin-tile-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease;
}

.admin-tile-menu-item:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.admin-tile-menu-item--danger {
  color: #b91c1c;
}

.admin-tile-menu-item--danger:hover {
  background: rgba(220, 38, 38, 0.08);
}

.admin-tile-menu-item i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.admin-tile-menu-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (hover: none) {
  .admin-tile-menu-btn {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Events Showcase Page Styles
   ========================================================================== */
.events-page {
  padding-top: 48px;
  padding-bottom: 56px;
  min-height: auto;
}

.events-page .events-hero {
  scroll-margin-top: 96px;
  padding-top: 12px;
}

body.wall-moment-open {
  overflow: hidden;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
  padding: 36px 0 28px;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer-brand strong {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--ink);
}

.site-footer-brand span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.site-footer-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-footer-meta i {
  width: 15px;
  height: 15px;
}

.site-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.wall-moment-modal[hidden] {
  display: none !important;
}

.wall-moment-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px 14px;
}

.wall-moment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 8, 0.62);
  backdrop-filter: blur(4px);
}

.wall-moment-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.wall-moment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.wall-moment-close i {
  width: 16px;
  height: 16px;
}

.wall-moment-media {
  background: #111;
  max-height: min(52vh, 480px);
  display: grid;
  place-items: center;
}

.wall-moment-media img,
.wall-moment-media video {
  width: 100%;
  max-height: min(52vh, 480px);
  object-fit: contain;
  display: block;
  background: #111;
}

.wall-moment-copy {
  padding: 18px 22px 22px;
  overflow-y: auto;
}

.wall-moment-date {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.wall-moment-copy h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.wall-moment-desc {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  font-size: 0.98rem;
  white-space: pre-wrap;
}

.wall-moment-tile {
  cursor: pointer;
  position: relative;
}

.wall-moment-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wall-moment-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 12px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

#eventsListSection {
  padding-bottom: 24px;
}

#eventsWallOfFameGrid {
  min-height: 200px;
  margin-bottom: 24px;
}

.events-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.events-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-top: 10px;
  margin-bottom: 16px;
  line-height: 1.12;
}

.events-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 80px;
}

.event-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
}

.event-card-header {
  margin-bottom: 24px;
}

.event-card-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 4px;
  margin-bottom: 12px;
}

.event-card-desc {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  max-width: 760px;
}

/* Events Media Gallery */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.event-media-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #000;
}

.event-media-item img,
.event-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-media-item:hover img,
.event-media-item:hover video {
  transform: scale(1.05);
}

.media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-badge i,
.media-badge svg {
  width: 16px;
  height: 16px;
}

.events-loading {
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
}

.events-loading i,
.events-loading svg {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .event-card {
    padding: 20px;
  }
  
  .event-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .admin-login-wrapper {
    min-height: calc(100svh - 96px);
    padding: 24px 16px 36px;
  }

  .admin-login-card {
    padding: 24px 20px;
  }

  .login-head h2 {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   Calendar Section & Widget Styles
   ========================================================================== */
.calendar-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.calendar-section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.calendar-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-top: 6px;
  margin-bottom: 12px;
}

.calendar-section-head .section-desc {
  color: var(--muted);
  font-size: 1rem;
}

.calendar-wrapper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
}

.calendar-nav-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
  background: var(--cream);
  border-color: var(--ink);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 1.2vw, 10px);
}

.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.6vw, 4px);
  aspect-ratio: 1;
  min-width: 0;
  padding: clamp(4px, 1vw, 8px) clamp(2px, 0.5vw, 4px);
  border-radius: var(--radius);
  font-size: clamp(0.78rem, 2.2vw, 1rem);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.calendar-day-num {
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calendar-day:hover {
  background: var(--cream);
}

@media (hover: hover) {
  .calendar-day:hover {
    transform: scale(1.04);
  }
}

.calendar-day.empty {
  cursor: default;
  pointer-events: none;
}

.calendar-day.today {
  background: var(--sky);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
}

.calendar-day.has-event {
  background: rgba(47, 47, 228, 0.08);
}

.calendar-day-dot {
  display: block;
  width: clamp(4px, 1.1vw, 6px);
  height: clamp(4px, 1.1vw, 6px);
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.55);
}

/* ==========================================================================
   Events Page Tabs & Modular Layout
   ========================================================================== */
.events-tabs-section {
  padding-bottom: 0;
}

.events-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 32px;
  justify-content: center;
}

.events-tab-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 24px;
  cursor: pointer;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.events-tab-btn:hover {
  color: var(--ink);
  background: var(--cream);
}

.events-tab-btn.active {
  color: var(--blue);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
}

.events-module-view {
  transition: opacity 0.3s ease;
}

/* Featured press / features — compact card, mobile-first */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.featured-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(47, 47, 228, 0.14);
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
}

.featured-card:active {
  transform: scale(0.99);
}

.featured-card-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 280px;
  overflow: hidden;
  background: #141414;
}

.featured-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 350ms ease;
}

.featured-card:hover .featured-card-cover img {
  transform: scale(1.03);
}

.featured-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(47, 47, 228, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
}

.featured-card-eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-card-body h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
}

.featured-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.featured-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.86rem;
}

.featured-card-cta svg,
.featured-card-cta i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

[data-theme="light"] .featured-card {
  background: #ffffff;
  border-color: rgba(20, 28, 50, 0.1);
}

@media (min-width: 721px) {
  .featured-grid {
    max-width: 460px;
  }

  .featured-card-cover {
    max-height: 320px;
  }

  .featured-card-body {
    padding: 16px 18px 18px;
  }

  .featured-card-body h3 {
    font-size: 1.35rem;
  }

  .featured-card-body p {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .featured-grid {
    max-width: 100%;
  }

  .featured-card-cover {
    aspect-ratio: 5 / 6;
    max-height: 240px;
  }

  .featured-card-body {
    padding: 12px 12px 14px;
    gap: 6px;
  }

  .featured-card-body h3 {
    font-size: 1.1rem;
  }

  .featured-card-body p {
    font-size: 0.82rem;
  }
}

/* Events tabs — comfortable on small phones with 3 modules */
@media (max-width: 640px) {
  body[data-page="events"] .events-tabs {
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  body[data-page="events"] .events-tab-btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.88rem;
    gap: 6px;
  }

  body[data-page="events"] .events-tab-btn svg,
  body[data-page="events"] .events-tab-btn i {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  body[data-page="events"] .events-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  body[data-page="events"] .events-hero .hero-text {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

/* Summary Card wise events */
.events-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.event-summary-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.event-summary-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #14182a 0%, #4552a3 100%);
}

.event-summary-cover img,
.event-summary-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.event-summary-card:hover .event-summary-cover img,
.event-summary-card:hover .event-summary-cover video {
  transform: scale(1.06);
}

.event-summary-cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
}

.event-summary-cover--empty svg,
.event-summary-cover--empty i {
  width: 42px;
  height: 42px;
}

.event-cover-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.event-cover-badge svg,
.event-cover-badge i {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.event-summary-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-summary-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.event-summary-card .event-date-badge {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-summary-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 12px 0;
  color: var(--ink);
}

.event-summary-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

.event-summary-card .read-more-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 16px;
}

/* ==========================================================================
   Event Detail Page (in-page, not modal)
   ========================================================================== */
.event-detail-view {
  animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.event-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.event-back-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateX(-2px);
}

.event-back-btn svg,
.event-back-btn i {
  width: 18px;
  height: 18px;
}

.event-detail-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.event-detail-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.event-detail-date {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px 0;
}

.event-detail-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 14px 0;
  color: var(--ink);
  line-height: 1.15;
}

.event-detail-desc {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

.event-detail-count {
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

/* Flexible event media: size to the uploaded image, no fixed aspect box. */
.event-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.event-detail-media {
  margin: 0;
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-subtle);
}

.event-detail-media img,
.event-detail-media video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Keep very tall uploads usable without cropping or letterboxing. */
  max-height: none;
  object-fit: unset;
  vertical-align: middle;
  background: transparent;
}

.event-detail-media video {
  background: #111;
  max-height: min(85vh, 900px);
  object-fit: contain;
}

.event-detail-media figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.event-detail-media--photo {
  cursor: zoom-in;
}

.event-detail-media:only-child {
  max-width: 960px;
  margin: 0;
  width: 100%;
}

.event-detail-empty-media {
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

.event-detail-empty-media svg,
.event-detail-empty-media i {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  display: inline-block;
}

/* ==========================================================================
   Wall of Fame — in-page moment detail
   ========================================================================== */
.wall-detail-view {
  animation: fadeInUp 0.35s ease;
}

.wall-detail-page-inner {
  max-width: 1100px;
  margin-inline: auto;
}

.wall-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-bottom: 32px;
}

.wall-detail-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.15;
}

.wall-detail-copy .event-detail-date {
  margin-bottom: 10px;
}

.wall-detail-desc {
  max-width: 52ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.wall-detail-cover {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 960px;
  min-height: 0;
}

.wall-detail-cover img,
.wall-detail-cover video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Never crop Wall of Fame uploads — show the full photo/collage. */
  max-height: none;
  object-fit: unset;
  object-position: center;
  vertical-align: middle;
  background: transparent;
}

.wall-detail-cover video {
  background: #111;
  max-height: min(85vh, 900px);
  object-fit: contain;
}

.wall-detail-gallery-section {
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.wall-detail-gallery-title {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--ink);
}

.wall-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.wall-detail-card {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.wall-detail-card img,
.wall-detail-card video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: unset;
  object-position: center;
  vertical-align: middle;
  background: transparent;
}

.wall-detail-card video {
  background: #111;
  max-height: min(70vh, 640px);
  object-fit: contain;
}

.wall-detail-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
}

.wall-detail-card-badge i {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Event Details Modal Styles (legacy, kept for reference)
   ========================================================================== */
.event-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.event-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.event-modal-wrapper {
  background: var(--body-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  position: relative;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.event-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1002;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.event-modal-close:hover {
  background: var(--cream);
  transform: rotate(90deg);
}

.event-modal-container {
  padding: 0;
  overflow-y: auto;
  flex-grow: 1;
}

.event-modal-hero {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.event-modal-hero img,
.event-modal-hero video {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.event-modal-hero--video {
  cursor: pointer;
}

.event-modal-body {
  padding: 32px 40px 40px;
}

.event-modal-content .modal-header {
  margin-bottom: 24px;
}

.event-modal-content .modal-date {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.event-modal-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 16px 0;
  color: var(--ink);
}

.event-modal-content .modal-desc {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* ==========================================================================
   Admin module nav (header tabs + mobile hamburger menu)
   ========================================================================== */
body[data-page="admin"] .site-header--admin {
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}

body[data-page="admin"] .site-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

body[data-page="admin"] .site-header-main .brand {
  margin-right: auto;
}

body[data-page="admin"] .admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

body[data-page="admin"] .admin-header-actions .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="admin"] .admin-logout-btn {
  flex-shrink: 0;
  background: var(--input-bg);
}

body[data-page="admin"] .admin-logout-btn svg {
  width: 18px;
  height: 18px;
}

body[data-page="admin"] .admin-logout-btn:hover {
  color: #c44;
  border-color: rgba(196, 68, 68, 0.35);
  background: rgba(196, 68, 68, 0.06);
}

body[data-page="admin"] .admin-logout-btn[hidden] {
  display: none !important;
}

body[data-page="admin"]:not(.admin-signed-in) #adminLogoutBtn {
  display: none !important;
}

body[data-page="admin"] .site-header-main .header-actions + .mobile-menu {
  margin-left: 0;
}

/* Keep hamburger/module nav out of the login screen (CSS display:grid can override [hidden]). */
body[data-page="admin"]:not(.admin-signed-in) #adminMobileMenu,
body[data-page="admin"]:not(.admin-signed-in) #adminModuleNav {
  display: none !important;
}

body[data-page="admin"] #adminMobileMenu[hidden],
body[data-page="admin"] #adminModuleNav[hidden] {
  display: none !important;
}

body[data-page="admin"] .admin-module-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  padding: 10px var(--page-pad) 12px;
  border-top: 1px solid var(--line);
}

body[data-page="admin"] .admin-module-nav[hidden] {
  display: none !important;
}

@media (min-width: 721px) {
  body[data-page="admin"] .admin-module-nav:not([hidden]) {
    display: flex;
  }

  body[data-page="admin"] #adminMobileMenu {
    display: none !important;
  }
}

.admin-tab-btn {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 24px;
  cursor: pointer;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: var(--ink);
  background: var(--cream);
}

.admin-tab-btn.active {
  color: var(--blue);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
}

.admin-tab-module {
  animation: fadeIn 0.25s ease-in-out;
}

body[data-page="admin"] .reveal {
  transform: none;
}

body[data-page="admin"] .reveal.visible {
  transform: none;
}

.admin-tab-label-short {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Admin bookings toolbar (merged hero + KPI) */
.admin-bookings-toolbar {
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: 8px;
}

.admin-bookings-toolbar .admin-hero--desk {
  padding: 0 0 16px;
}

.admin-bookings-toolbar .admin-kpi-strip {
  margin-bottom: 0;
}

/* ==========================================================================
   Admin — Court Pricing tab
   ========================================================================== */
.pricing-manager {
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: 40px;
}

.pricing-manager-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-manager-heading h1 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.pricing-manager-desc {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.pricing-manager-form {
  display: grid;
  gap: 18px;
}

.pricing-rules-card,
.pricing-courts-card {
  padding: clamp(18px, 2.5vw, 24px);
}

.pricing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pricing-card-head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
}

.pricing-card-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 52ch;
}

.pricing-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.pricing-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pricing-switch-ui {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(128, 128, 128, 0.22);
  transition: background 180ms ease;
}

.pricing-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

.pricing-switch input:checked + .pricing-switch-ui {
  background: var(--leaf);
}

.pricing-switch input:checked + .pricing-switch-ui::after {
  transform: translateX(18px);
}

.pricing-switch-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.pricing-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pricing-rules-grid .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-rules-grid label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-rules-grid select,
.pricing-input-wrap input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.pricing-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input-bg);
  overflow: hidden;
}

.pricing-input-prefix {
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  border-right: 1px solid var(--line);
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.pricing-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pricing-courts-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.pricing-courts-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(140px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .pricing-courts-row {
  background: rgba(255, 255, 255, 0.72);
}

.pricing-courts-row:first-child {
  border-top: 0;
}

.pricing-courts-row-head {
  background: rgba(128, 128, 128, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-courts-name strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

.pricing-courts-type {
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-save-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 4px;
}

@media (min-width: 721px) {
  body[data-page="admin"] .toast-host {
    top: auto;
    bottom: 20px;
    left: auto;
    right: 20px;
    width: min(380px, calc(100vw - 32px));
    flex-direction: column-reverse;
  }

  body[data-page="admin"] .toast {
    transform: translateX(28px);
  }

  body[data-page="admin"] .toast.is-visible {
    transform: translateX(0);
  }

  body[data-page="admin"] .toast.is-leaving {
    transform: translateX(24px);
  }
}

.summary-line.is-muted span,
.summary-line.is-muted strong {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.summary-line.is-total strong {
  font-size: 1.08rem;
  color: var(--ink);
}

.summary-breakdown-note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

body[data-page="booking"] .member-more {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--paper) 94%, var(--cream));
  overflow: hidden;
}

body[data-page="booking"] .member-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

body[data-page="booking"] .member-more summary::-webkit-details-marker {
  display: none;
}

body[data-page="booking"] .member-more-hint {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

body[data-page="booking"] .member-more-fields {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .pricing-rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-manager-hero {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .pricing-rules-grid {
    grid-template-columns: 1fr;
  }

  .pricing-courts-row,
  .pricing-courts-row-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pricing-courts-row-head span:not(:first-child) {
    display: none;
  }

  .pricing-courts-type {
    font-size: 0.82rem;
  }

  .pricing-card-head {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Capacity bar sits directly under toolbar (mobile: first content block) */
body[data-page="admin"] .admin-capacity-bar {
  padding-top: 0;
  padding-bottom: 8px;
}

body[data-page="admin"] .admin-capacity-bar .admin-panel--capacity {
  margin: 0;
}

@media (min-width: 981px) {
  body[data-page="admin"] #bookingsTabModule {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
    width: 100%;
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: var(--page-pad);
    padding-bottom: 32px;
  }

  body[data-page="admin"] #bookingsTabModule > .section-shell {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-inline: 0;
  }

  body[data-page="admin"] #bookingsTabModule > .admin-bookings-toolbar {
    grid-column: 1 / -1;
    padding-top: clamp(28px, 3vw, 44px);
    padding-bottom: 12px;
    overflow: visible;
  }

  body[data-page="admin"] #bookingsTabModule > .admin-capacity-bar {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    padding-bottom: 0;
  }

  body[data-page="admin"] #bookingsTabModule > .admin.section-shell {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
    padding-bottom: 0;
  }

  body[data-page="admin"] .admin-bookings-toolbar .admin-hero--desk {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 18px;
  }

  body[data-page="admin"] .admin-hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 2.8vw, 2.65rem);
    line-height: 1.12;
    margin-bottom: 10px;
  }

  body[data-page="admin"] .admin-hero-copy .hero-text {
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 52ch;
  }

  body[data-page="admin"] .admin-hero-meta {
    flex-wrap: nowrap;
    align-items: center;
  }

  body[data-page="admin"] .admin-kpi-strip {
    margin-top: 4px;
  }

  body[data-page="admin"] .admin-panel--capacity,
  body[data-page="admin"] .admin-panel-wide {
    height: 100%;
  }

  body[data-page="admin"] .admin-panel-head .eyebrow,
  body[data-page="admin"] .admin-capacity-summary-copy .eyebrow {
    display: block;
  }
}

/* Collapsible court capacity (mobile); static panel head on desktop */
.admin-capacity-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.admin-capacity-summary::-webkit-details-marker {
  display: none;
}

.admin-capacity-summary-copy h2 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-capacity-summary-copy .eyebrow {
  margin-bottom: 4px;
}

.admin-capacity-summary-end {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.admin-capacity-chevron {
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  transition: transform 200ms ease;
}

.admin-capacity-chevron i {
  width: 16px;
  height: 16px;
}

@media (min-width: 721px) {
  body[data-page="admin"] .admin-capacity-details {
    display: block;
  }

  body[data-page="admin"] .admin-capacity-details > .court-status {
    margin-top: 12px;
  }

  body[data-page="admin"] .admin-capacity-summary {
    cursor: default;
    pointer-events: none;
    padding: 0;
    margin: 0 0 12px;
  }

  body[data-page="admin"] .admin-panel--capacity {
    padding-top: 18px;
  }

  body[data-page="admin"] .admin-panel--capacity .admin-capacity-summary-copy h2 {
    font-size: inherit;
  }
}

/* Admin dashboard — compact mobile layout */
@media (max-width: 720px) {
  body[data-page="admin"] {
    --admin-pad: 12px;
  }

  body[data-page="admin"] .site-header {
    min-height: 48px;
    padding: 4px var(--admin-pad);
  }

  body[data-page="admin"] .site-header-main {
    min-height: 40px;
  }

  body[data-page="admin"] .brand .brand-logo,
  body[data-page="admin"] img.brand-logo {
    height: 30px;
    max-width: min(150px, 42vw);
  }

  body[data-page="admin"] .section-shell {
    padding-inline: var(--admin-pad);
  }

  body[data-page="admin"] .admin-module-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--mobile-nav-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  body[data-page="admin"].menu-open .admin-module-nav {
    display: grid;
  }

  body[data-page="admin"] .admin-module-nav .admin-tab-btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.2;
    border-radius: 10px;
    width: 100%;
  }

  body[data-page="admin"] .admin-module-nav .admin-tab-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  body[data-page="admin"] .admin-tab-label-long {
    display: inline !important;
  }

  body[data-page="admin"] .admin-tab-label-short {
    display: none !important;
  }

  body[data-page="admin"] .toast-host {
    top: calc(env(safe-area-inset-top, 0px) + 56px);
    bottom: auto;
    left: var(--admin-pad, 12px);
    right: var(--admin-pad, 12px);
    width: auto;
    flex-direction: column;
    z-index: 1400;
  }

  body[data-page="admin"] .toast {
    transform: translateY(-14px);
  }

  body[data-page="admin"] .toast.is-visible {
    transform: translateY(0);
  }

  body[data-page="admin"] .toast.is-leaving {
    transform: translateY(-10px);
  }

  body[data-page="admin"] .pricing-manager {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  body[data-page="admin"] .pricing-manager-heading h1 {
    font-size: 1.65rem;
  }

  body[data-page="admin"] .pricing-save-bar {
    justify-content: flex-end;
  }

  /* Single compact toolbar: date + actions + KPI strip */
  body[data-page="admin"] .admin-bookings-toolbar {
    padding-top: 8px;
    padding-bottom: 6px;
  }

  body[data-page="admin"] .admin-hero-copy {
    display: none !important;
  }

  body[data-page="admin"] .admin-bookings-toolbar .admin-hero--desk {
    display: block;
    padding: 0 0 8px;
  }

  body[data-page="admin"] .admin-hero-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  body[data-page="admin"] .admin-meta-chip {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 6px 10px;
    width: auto !important;
  }

  body[data-page="admin"] .admin-meta-chip > i,
  body[data-page="admin"] .admin-meta-chip > svg {
    width: 16px;
    height: 16px;
  }

  body[data-page="admin"] .admin-meta-chip-label {
    display: none;
  }

  body[data-page="admin"] .admin-meta-chip input {
    font-size: 0.84rem;
  }

  body[data-page="admin"] .admin-ghost-btn {
    flex: 0 0 40px;
    width: 40px !important;
    min-height: 40px;
    padding: 0;
    justify-content: center;
  }

  body[data-page="admin"] .admin-btn-label {
    display: none !important;
  }

  body[data-page="admin"] .admin-kpi-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body[data-page="admin"] .admin-kpi-strip .kpi-card {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  body[data-page="admin"] .admin-kpi-strip .kpi-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  body[data-page="admin"] .admin-kpi-strip .kpi-icon svg {
    width: 14px;
    height: 14px;
  }

  body[data-page="admin"] .admin-kpi-strip .kpi-details span {
    font-size: 0.58rem;
    line-height: 1.15;
  }

  body[data-page="admin"] .admin-kpi-strip .kpi-details strong {
    font-size: 0.88rem;
    margin-top: 0;
  }

  body[data-page="admin"] .admin-tab-module > .section-shell,
  body[data-page="admin"] .admin-tab-module > .admin.section-shell {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  body[data-page="admin"] .admin-capacity-bar {
    padding-top: 0;
    padding-bottom: 6px;
  }

  body[data-page="admin"] .admin-capacity-bar .admin-panel--capacity {
    padding: 8px 10px;
    border-radius: 10px;
  }

  body[data-page="admin"] .admin-panel-wide {
    padding: 12px;
  }

  body[data-page="admin"] .admin-panel-head h2,
  body[data-page="admin"] .admin-capacity-summary-copy h2 {
    font-size: 1.05rem;
  }

  body[data-page="admin"] .admin-panel-head {
    margin-bottom: 8px;
  }

  body[data-page="admin"] .admin-panel-head .eyebrow {
    display: none;
  }

  body[data-page="admin"] .admin-capacity-summary {
    padding: 0;
    min-height: 0;
    cursor: pointer;
  }

  body[data-page="admin"] .admin-capacity-chevron {
    display: grid;
  }

  body[data-page="admin"] .admin-capacity-details[open] .admin-capacity-chevron {
    transform: rotate(180deg);
  }

  body[data-page="admin"] .admin-capacity-summary-copy h2 {
    font-size: 0.92rem;
    font-weight: 700;
  }

  body[data-page="admin"] .admin-capacity-summary-copy .eyebrow {
    font-size: 0.58rem;
    margin-bottom: 0;
  }

  body[data-page="admin"] .admin-archived-panel {
    margin-top: 12px;
    padding-top: 10px;
  }

  body[data-page="admin"] .admin-archived-summary h3 {
    font-size: 0.95rem;
  }

  body[data-page="admin"] .admin-archived-summary .eyebrow {
    display: none;
  }

  body[data-page="admin"] .booking-list--archived .booking-card {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] .admin-capacity-details .court-status {
    margin-top: 8px;
    gap: 6px;
  }

  body[data-page="admin"] .status-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name pill"
      "bar bar";
    align-items: center;
    gap: 4px 8px;
    padding: 8px 10px;
    border-radius: 8px;
  }

  body[data-page="admin"] .status-row-top {
    display: contents;
  }

  body[data-page="admin"] .status-row-top strong {
    grid-area: name;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-page="admin"] .status-row-top .soft-pill {
    grid-area: pill;
    font-size: 0.66rem;
    padding: 2px 8px;
  }

  body[data-page="admin"] .status-row .progress {
    grid-area: bar;
    height: 5px;
  }

  body[data-page="admin"] .status-row small {
    display: none;
  }

  body[data-page="admin"] .admin-panel {
    padding: 12px;
  }

  body[data-page="admin"] .admin-filters {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
  }

  body[data-page="admin"] .search-wrapper {
    grid-column: 1 / -1;
  }

  body[data-page="admin"] .search-wrapper input,
  body[data-page="admin"] .filter-select {
    height: 36px;
    font-size: 0.82rem;
  }

  body[data-page="admin"] .booking-list {
    gap: 8px;
  }

  body[data-page="admin"] .booking-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  body[data-page="admin"] .booking-card-primary {
    gap: 6px;
  }

  body[data-page="admin"] .booking-card-head {
    align-items: center;
    gap: 6px;
  }

  body[data-page="admin"] .booking-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  body[data-page="admin"] .booking-card-identity strong {
    font-size: 0.86rem;
    line-height: 1.2;
  }

  body[data-page="admin"] .booking-card-identity > div span {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  body[data-page="admin"] .booking-badges {
    gap: 3px;
  }

  body[data-page="admin"] .booking-badges .badge-wa {
    display: none;
  }

  body[data-page="admin"] .booking-badges .badge {
    padding: 2px 6px;
    font-size: 0.6rem;
  }

  body[data-page="admin"] .booking-card-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  body[data-page="admin"] .booking-card-meta span {
    font-size: 0.58rem;
    margin-bottom: 0;
  }

  body[data-page="admin"] .booking-card-meta strong {
    font-size: 0.72rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="admin"] .booking-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
  }

  body[data-page="admin"] .booking-card-actions .btn-sm {
    width: 100% !important;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.72rem;
    border-radius: 7px;
  }

  body[data-page="admin"] .status-row {
    padding: 8px 0;
  }

  body[data-page="admin"] .events-manager-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
  }

  body[data-page="admin"] .events-manager-heading h1 {
    font-size: 1.35rem !important;
  }

  body[data-page="admin"] .events-manager-heading .eyebrow {
    display: none;
  }

  body[data-page="admin"] .events-add-btn,
  body[data-page="admin"] #adminAddWallMoment {
    width: 100%;
    min-height: 42px;
  }

  body[data-page="admin"] .admin-events-gallery {
    gap: 10px;
  }

  body[data-page="admin"] .events-list-panel {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  body[data-page="admin"] .admin-modal-dialog {
    width: calc(100% - 12px);
    max-height: calc(100svh - 12px);
    margin: 6px;
  }

  body[data-page="admin"] .publish-destinations {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Event Form Media Previews Grid
   ========================================================================== */
.media-previews-container {
  margin: 0 0 10px;
  max-height: 112px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

.media-previews-container[hidden] {
  display: none !important;
}

.media-previews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.media-preview-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #14182a;
  cursor: zoom-in;
  transition: border-color 160ms ease, transform 160ms ease;
}

.media-preview-item:hover,
.media-preview-item:focus-visible {
  border-color: var(--accent, #2f2fe4);
  transform: scale(1.02);
  outline: none;
}

.media-preview-item img,
.media-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.media-preview-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.media-preview-badge i {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Menu Search Box Styles
   ========================================================================== */
.menu-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  min-height: 48px;
  position: relative;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-search-box i,
.menu-search-box svg {
  color: var(--muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.menu-search-box input {
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  padding: 8px 0;
}

.menu-search-box input::placeholder {
  color: var(--muted);
}

.menu-search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 10px rgba(47, 47, 228, 0.15);
}

/* Calendar Hover Tooltip Styles */
.calendar-day-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  width: 210px;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  color: var(--ink);
  text-align: left;
}

.calendar-day-tooltip strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--blue);
}

.calendar-day-tooltip p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 400;
}

.calendar-day-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--line) transparent transparent transparent;
}

.calendar-day.has-event:hover .calendar-day-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Toast notifications (bottom-right) + confirm dialog
   ========================================================================== */
.toast-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1400;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 200ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateX(24px);
}

.toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.toast-icon i {
  width: 17px;
  height: 17px;
}

.toast-body {
  min-width: 0;
}

.toast-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
}

.toast-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.toast-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.toast-message {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink);
  word-break: break-word;
}

.toast-close {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.toast-close:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}

.toast-close i {
  width: 14px;
  height: 14px;
}

.toast-success {
  border-color: rgba(22, 163, 74, 0.28);
}

.toast-success .toast-icon {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.toast-error {
  border-color: rgba(220, 38, 38, 0.28);
}

.toast-error .toast-icon {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.toast-warning {
  border-color: rgba(217, 119, 6, 0.3);
}

.toast-warning .toast-icon {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.toast-info {
  border-color: rgba(14, 116, 144, 0.28);
}

.toast-info .toast-icon {
  background: rgba(14, 116, 144, 0.12);
  color: #0e7490;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 160ms ease;
}

.confirm-modal.is-visible {
  opacity: 1;
}

.confirm-modal.is-leaving {
  opacity: 0;
}

.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.5);
  backdrop-filter: blur(2px);
}

.confirm-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.confirm-modal-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
}

.confirm-modal-icon i {
  width: 22px;
  height: 22px;
}

.confirm-modal-copy h3 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.confirm-modal-copy p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
  font-size: 0.95rem;
}

.confirm-modal-time {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.confirm-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.confirm-modal-actions .button {
  width: 100%;
}

.confirm-modal-dialog--form {
  text-align: left;
  width: min(460px, 100%);
}

.confirm-modal-copy--form {
  text-align: left;
}

.confirm-modal-summary {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.confirm-modal-icon--success {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.confirm-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.confirm-modal-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.confirm-modal-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.confirm-modal-field input:focus {
  outline: 2px solid color-mix(in srgb, var(--blue) 35%, transparent);
  border-color: var(--blue);
}

.confirm-modal-field .field-help {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .toast-host {
    top: 56px;
    bottom: auto;
    left: 12px;
    right: 12px;
    width: auto;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .toast {
    transform: translateY(-18px);
  }

  .toast.is-visible {
    transform: translateY(0);
  }

  .toast.is-leaving {
    opacity: 0;
    transform: translateY(-14px);
  }

  .toast-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* ==========================================================================
   Site-wide responsive polish (mobile · tablet · laptop)
   ========================================================================== */

/* Tablet: two-column booking flow */
@media (min-width: 721px) and (max-width: 1100px) {
  .booking-grid {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
  }

  .booking-grid .checkout-panel {
    grid-column: 1 / -1;
  }

  .landing-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-links .route-card:last-child {
    grid-column: 1 / -1;
  }

  .page-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hero-image {
    max-width: 520px;
    margin-inline: auto;
  }

  .story-page {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .story-video-wrapper {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* Tablet portrait & large phones */
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: clamp(28px, 4vw, 42px);
  }

  .page-hero h1 {
    max-width: none;
  }

  .page-hero-image {
    max-width: 480px;
    margin-inline: auto;
    border-width: 6px;
  }

  .events-tabs {
    gap: 8px;
    margin-bottom: 24px;
  }

  .events-tab-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .events-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .menu-panel-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .calendar-wrapper {
    padding: 20px 16px;
    max-width: 100%;
  }

  .calendar-days-grid {
    gap: clamp(4px, 1vw, 6px);
  }
}

/* Phone */
@media (max-width: 720px) {
  :root,
  [data-theme="dark"],
  [data-theme="light"] {
    --page-pad: clamp(14px, 4vw, 20px);
  }

  .site-header {
    position: sticky;
    top: 0;
    min-height: 56px;
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-bottom: 8px;
  }

  .brand .brand-logo,
  img.brand-logo {
    height: 36px;
    max-width: min(200px, 48vw);
  }

  .icon-button,
  .mobile-menu {
    width: 42px;
    height: 42px;
  }

  body.menu-open .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
  }

  .hero-stage {
    min-height: 300px;
    max-width: 100%;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-stats {
    gap: 6px;
  }

  .hero-stats span,
  .soft-pill {
    font-size: 0.76rem;
    min-height: 30px;
    padding: 0 9px;
  }

  .app-section,
  .experience,
  .story,
  .admin,
  .landing-links,
  .page-hero,
  .photo-showcase,
  .menu-page,
  .events-page {
    padding-block: clamp(28px, 6vw, 44px);
  }

  .booking-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .booking-panel,
  .slots-panel,
  .checkout-panel {
    padding: 14px;
  }

  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .slot-button {
    min-height: 50px;
    font-size: 0.82rem;
    padding: 4px 2px;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .member-row {
    grid-template-columns: 1fr;
  }

  .payment-card {
    grid-template-columns: 56px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .payment-card-icon {
    width: 56px;
    height: 56px;
  }

  .booking-summary {
    padding: 12px;
  }

  .route-card {
    min-height: auto;
    padding: 16px;
  }

  .events-page .events-hero {
    padding-top: 8px;
    text-align: left;
  }

  .events-page .events-hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .events-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-summary-card {
    border-radius: 12px;
  }

  .story-page {
    gap: 22px;
    padding-top: 24px;
  }

  .story-video-wrapper {
    max-width: min(320px, 100%);
    margin-inline: auto;
    border-width: 6px;
  }

  .gallery-large {
    min-height: 280px;
  }

  .info-band {
    padding-block: 32px;
  }

  .info-band-map {
    height: min(220px, 56vw);
  }

  .info-band-details h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.9rem);
  }

  .site-footer {
    padding: 28px 0 max(24px, env(safe-area-inset-bottom, 0px));
  }

  .site-footer-inner {
    gap: 16px;
  }

  .site-footer-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .site-footer-meta span {
    justify-content: center;
    text-align: center;
    line-height: 1.45;
  }

  .calendar-section-head .section-desc {
    font-size: 0.92rem;
  }

  .calendar-wrapper {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .calendar-header h3 {
    font-size: 1.2rem;
  }

  .calendar-weekdays {
    font-size: 0.68rem;
    margin-bottom: 10px;
  }

  .calendar-days-grid {
    gap: clamp(3px, 0.9vw, 5px);
  }

  .admin-login-wrapper {
    min-height: calc(100svh - 72px);
    padding: 20px 14px 32px;
  }

  .toast-host {
    top: calc(56px + env(safe-area-inset-top, 0px) + 8px);
  }

  .event-detail-gallery {
    gap: 16px;
  }

  .event-detail-header h1 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }

  .event-back-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats span {
    justify-content: center;
  }

  .events-tab-btn {
    font-size: 0.82rem;
    padding: 8px 10px;
    gap: 5px;
  }

  .events-tab-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* Laptop / desktop refinements */
@media (min-width: 1101px) {
  .booking-grid {
    grid-template-columns: minmax(260px, 290px) minmax(0, 1fr) minmax(280px, 310px);
  }

  .section-shell,
  .hero.section-shell {
    max-width: var(--content-max);
  }
}

/* ==========================================================================
   Home page — mobile-first polish
   ========================================================================== */
@media (max-width: 720px) {
  body[data-page="home"] .ambient {
    opacity: 0.15;
    width: 32vw;
    height: 32vw;
  }

  body[data-page="home"] .ambient-one {
    left: -18%;
  }

  body[data-page="home"] .ambient-two {
    right: -18%;
  }

  body[data-page="home"] {
    overflow-x: hidden;
  }

  body[data-page="home"] .hero.section-shell {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 12px;
    padding-bottom: 28px;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body[data-page="home"] .hero-stage {
    order: -1;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: unset;
    max-height: none;
    margin-inline: auto;
    overflow: visible;
    isolation: isolate;
  }

  body[data-page="home"] .hero-card {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    border-width: 4px;
    animation: none !important;
  }

  body[data-page="home"] .hero-card.media-post-host {
    position: relative;
  }

  body[data-page="home"] .hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body[data-page="home"] .hero-card-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    border-width: 0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  }

  body[data-page="home"] .hero-card-float.top {
    display: block;
    aspect-ratio: 3 / 4;
    max-width: none;
  }

  body[data-page="home"] .hero-card-float.top img {
    object-fit: contain;
    background: rgba(15, 25, 20, 0.92);
  }

  body[data-page="home"] .hero-card-float.bottom {
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: none;
    z-index: 1;
  }

  body[data-page="home"] .hero-card-float.bottom img {
    object-fit: cover;
    object-position: center;
  }

  body[data-page="home"] .hero-card-float.bottom .play-btn-circle {
    width: 44px;
    height: 44px;
  }

  body[data-page="home"] .hero-card-float.bottom .play-btn-circle svg {
    width: 16px;
    height: 16px;
  }

  body[data-page="home"] .hero-copy {
    order: 0;
    text-align: left;
  }

  body[data-page="home"] .hero-copy .eyebrow {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  body[data-page="home"] .hero-text {
    font-size: 0.94rem;
    line-height: 1.6;
    max-width: none;
    margin-bottom: 4px;
  }

  body[data-page="home"] .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 16px;
  }

  body[data-page="home"] .hero-actions .button {
    width: 100%;
    min-height: 46px;
    font-size: 0.92rem;
  }

  body[data-page="home"] .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
  }

  body[data-page="home"] .hero-stats span {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-height: 52px;
    padding: 8px 4px;
    font-size: 0.68rem;
    text-align: center;
    line-height: 1.25;
  }

  body[data-page="home"] .hero-stats strong {
    margin-right: 0;
    display: block;
    font-size: 0.78rem;
  }

  body[data-page="home"] .orbit-note {
    display: none;
  }

  body[data-page="home"] .calendar-section {
    padding-top: 8px;
    padding-bottom: 24px;
  }

  body[data-page="home"] .calendar-section-head {
    text-align: left;
    margin-bottom: 16px;
    max-width: none;
  }

  body[data-page="home"] .calendar-section-head h2 {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
    margin-bottom: 8px;
  }

  body[data-page="home"] .calendar-section-head .section-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  body[data-page="home"] .calendar-wrapper {
    padding: 14px 12px;
    border-radius: 14px;
  }

  body[data-page="home"] .calendar-header {
    margin-bottom: 14px;
  }

  body[data-page="home"] .calendar-header h3 {
    font-size: 1.15rem;
  }

  body[data-page="home"] .calendar-nav-btn {
    width: 36px;
    height: 36px;
  }

  body[data-page="home"] .calendar-weekdays {
    font-size: 0.65rem;
    margin-bottom: 8px;
    letter-spacing: 0;
  }

  body[data-page="home"] .calendar-days-grid {
    gap: clamp(3px, 0.9vw, 5px);
  }

  body[data-page="home"] .landing-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="home"] .route-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    min-height: auto;
    padding: 14px;
  }

  body[data-page="home"] .route-card span {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    align-self: center;
  }

  body[data-page="home"] .route-card span svg {
    width: 20px;
    height: 20px;
  }

  body[data-page="home"] .route-card strong {
    font-size: 1rem;
    line-height: 1.25;
  }

  body[data-page="home"] .route-card p {
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 0;
  }

  body[data-page="home"] .info-band {
    padding-top: 24px;
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    padding-inline: 0;
    overflow-x: clip;
  }

  body[data-page="home"] .info-band.section-shell {
    padding-inline: max(14px, env(safe-area-inset-left, 0px), var(--page-pad))
      max(14px, env(safe-area-inset-right, 0px), var(--page-pad));
    box-sizing: border-box;
  }

  body[data-page="home"] .info-band-container {
    gap: 18px;
    width: 100%;
    min-width: 0;
  }

  body[data-page="home"] .info-band-map {
    height: min(210px, 55vw);
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }

  body[data-page="home"] .info-band-details {
    min-width: 0;
    width: 100%;
  }

  body[data-page="home"] .info-band-details h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }

  body[data-page="home"] .info-band-desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
    max-width: 100%;
  }

  body[data-page="home"] .info-band-details .contact-grid {
    gap: 10px;
  }

  body[data-page="home"] .info-band-details .contact-grid span {
    font-size: 0.86rem;
    align-items: flex-start;
    line-height: 1.4;
  }
}

@media (max-width: 400px) {
  body[data-page="home"] .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="home"] .hero-stats span {
    font-size: 0.62rem;
    min-height: 48px;
  }

  body[data-page="home"] .hero-card {
    border-width: 3px;
  }

  body[data-page="home"] .hero-stage {
    gap: 6px;
  }

  body[data-page="home"] .hero-card-float.bottom .play-btn-circle {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   Menu page — mobile: full-width items + bottom-right category FAB
   ========================================================================== */
@media (max-width: 900px) {
  body[data-page="menu"] {
    overflow-x: hidden;
  }

  body[data-page="menu"] .menu-page {
    padding: 8px 0 max(88px, calc(24px + env(safe-area-inset-bottom, 0px)));
    overflow-x: hidden;
    max-width: 100vw;
  }

  body[data-page="menu"] .menu-layout.section-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "search"
      "panel";
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding-inline: 10px;
    overflow: hidden;
  }

  body[data-page="menu"] .menu-sidebar {
    display: contents;
  }

  body[data-page="menu"] .menu-search-box {
    grid-area: search;
    min-height: 44px;
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
  }

  body[data-page="menu"] .menu-search-box input {
    font-size: 16px;
    min-width: 0;
  }

  body[data-page="menu"] .menu-sidebar-label,
  body[data-page="menu"] .menu-cat-list {
    display: none !important;
  }

  body[data-page="menu"] .menu-panel {
    grid-area: panel;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 12px 10px 14px;
    border-radius: 12px;
    min-height: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  body[data-page="menu"] .menu-panel-head {
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    gap: 8px;
    min-width: 0;
  }

  body[data-page="menu"] .menu-panel-head .eyebrow {
    display: none;
  }

  body[data-page="menu"] .menu-panel-head h1 {
    font-size: 1.15rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  body[data-page="menu"] .menu-panel-nav {
    display: none;
  }

  body[data-page="menu"] .menu-list {
    gap: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  body[data-page="menu"] .menu-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  body[data-page="menu"] .menu-item:last-child {
    border-bottom: none;
  }

  body[data-page="menu"] .menu-item-copy {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  body[data-page="menu"] .menu-item-copy strong {
    display: block;
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  body[data-page="menu"] .menu-item-copy p {
    margin: 2px 0 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="menu"] .menu-item-price {
    flex: 0 0 auto;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--blue);
    white-space: nowrap;
    padding-top: 1px;
    max-width: 38%;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-page="menu"] .menu-item-rule {
    display: none !important;
  }

  body[data-page="menu"] .menu-cat-fab {
    display: grid;
    place-items: center;
    position: fixed;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    z-index: 120;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(47, 47, 228, 0.45);
    cursor: pointer;
    transition:
      transform 160ms ease,
      box-shadow 160ms ease,
      opacity 180ms ease,
      visibility 180ms ease;
  }

  body[data-page="menu"] .menu-cat-fab:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(47, 47, 228, 0.5);
  }

  body[data-page="menu"] .menu-cat-fab svg {
    width: 24px;
    height: 24px;
  }

  body.menu-cat-sheet-open .menu-cat-fab {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.88);
  }

  body.menu-cat-sheet-open {
    overflow: auto;
  }

  .menu-cat-sheet {
    position: fixed;
    inset: 0;
    z-index: 130;
    pointer-events: none;
  }

  .menu-cat-sheet[hidden] {
    display: none !important;
  }

  .menu-cat-sheet.is-open {
    pointer-events: auto;
  }

  .menu-cat-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 10, 0.42);
    opacity: 0;
    transition: opacity 200ms ease;
  }

  .menu-cat-sheet.is-open .menu-cat-sheet-backdrop {
    opacity: 1;
  }

  .menu-cat-sheet-panel {
    position: fixed;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    top: auto;
    left: auto;
    width: min(260px, calc(100vw - 28px));
    max-height: min(52vh, 400px);
    margin: 0;
    padding: 12px 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdf7;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    transform: scale(0.45);
    transform-origin: bottom right;
    opacity: 0;
    transition:
      transform 240ms cubic-bezier(0.32, 0.72, 0, 1),
      opacity 200ms ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 131;
    isolation: isolate;
  }

  [data-theme="dark"] .menu-cat-sheet-panel {
    background: #121e17;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  }

  .menu-cat-sheet.is-open .menu-cat-sheet-panel {
    transform: scale(1);
    opacity: 1;
  }

  .menu-cat-sheet-head {
    position: relative;
    padding-right: 36px;
    margin-bottom: 10px;
    flex-shrink: 0;
  }

  .menu-cat-sheet-head .eyebrow {
    display: none;
  }

  .menu-cat-sheet-head h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
  }

  .menu-cat-sheet-close {
    position: absolute;
    top: -2px;
    right: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fffdf7;
    color: var(--ink);
    cursor: pointer;
  }

  [data-theme="dark"] .menu-cat-sheet-close {
    background: #1a2820;
  }

  .menu-cat-sheet-close svg {
    width: 16px;
    height: 16px;
  }

  .menu-cat-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    background: #fffdf7;
  }

  [data-theme="dark"] .menu-cat-sheet-list {
    background: #121e17;
  }

  .menu-cat-sheet-list .menu-cat-btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.25;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
    color: var(--ink);
  }

  [data-theme="dark"] .menu-cat-sheet-list .menu-cat-btn {
    background: #14182a;
    color: var(--ink);
  }

  .menu-cat-sheet-list .menu-cat-btn:hover {
    background: #eef0f8;
  }

  [data-theme="dark"] .menu-cat-sheet-list .menu-cat-btn:hover {
    background: #1a2238;
  }

  .menu-cat-sheet-list .menu-cat-btn.active {
    border-color: transparent;
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(47, 47, 228, 0.28);
  }
}

.menu-cat-fab {
  display: none;
}

@media (max-width: 400px) {
  body[data-page="menu"] .menu-layout.section-shell {
    padding-inline: 8px;
  }

  body[data-page="menu"] .menu-panel-head h1 {
    font-size: 1.05rem;
  }

  body[data-page="menu"] .menu-item-copy strong {
    font-size: 0.82rem;
  }

  body[data-page="menu"] .menu-item-price {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Booking page — mobile-first polish
   ========================================================================== */
@media (min-width: 901px) {
  body[data-page="booking"] .booking-grid {
    display: grid;
    grid-template-columns: minmax(260px, 290px) minmax(0, 1fr) minmax(280px, 310px);
    gap: 14px;
    align-items: start;
  }

  body[data-page="booking"] .checkout-panel {
    position: sticky;
    top: 88px;
  }

  body[data-page="booking"] .booking-panel-setup {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body[data-page="booking"] .booking-panel-setup .member-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  body[data-page="booking"] .member-row.field,
  body[data-page="booking"] .member-lead .field {
    grid-template-columns: 1fr 0.85fr;
  }
}

@media (max-width: 900px) {
  body[data-page="booking"] {
    overflow-x: hidden;
  }

  body[data-page="booking"] .booking-hero.section-shell {
    display: block;
    padding-top: 10px;
    padding-bottom: 14px;
  }

  body[data-page="booking"] .booking-hero .page-hero-image {
    display: none;
  }

  body[data-page="booking"] .booking-hero .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  body[data-page="booking"] .booking-hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    line-height: 1.12;
    max-width: none;
    margin: 0;
  }

  body[data-page="booking"] .booking-hero .hero-text {
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.5;
    max-width: none;
  }

  body[data-page="booking"] .booking-flow.section-shell {
    padding-top: 8px;
    /* Tight clearance for compact sticky checkout — enough to clear last slot row */
    padding-bottom: calc(188px + env(safe-area-inset-bottom, 0px));
  }

  body[data-page="booking"] .booking-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body[data-page="booking"] .booking-panel,
  body[data-page="booking"] .slots-panel {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  body[data-page="booking"] .slots-panel {
    scroll-margin-bottom: calc(188px + env(safe-area-inset-bottom, 0px));
    margin-bottom: 0;
  }

  body[data-page="booking"] .booking-panel-setup .court-picker {
    margin-top: 10px;
  }

  body[data-page="booking"] .court-option {
    grid-template-columns: 34px 1fr;
    gap: 8px;
    margin-top: 6px;
    padding: 9px 10px;
  }

  body[data-page="booking"] .court-icon {
    width: 34px;
    height: 34px;
  }

  body[data-page="booking"] .court-option strong {
    font-size: 0.88rem;
  }

  body[data-page="booking"] .court-option small {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  body[data-page="booking"] .slots-panel .panel-topline {
    margin-bottom: 0;
  }

  body[data-page="booking"] .slots-panel .panel-topline .eyebrow {
    display: none;
  }

  body[data-page="booking"] .slots-panel .panel-topline h3 {
    font-size: 1rem;
    margin: 0;
  }

  body[data-page="booking"] .slot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
    padding-bottom: 8px;
  }

  body[data-page="booking"] .slot-button {
    min-height: 42px;
    font-size: 0.72rem;
    padding: 4px 2px;
  }

  body[data-page="booking"] .member-box {
    margin-top: 0;
  }

  body[data-page="booking"] .member-fields {
    margin-top: 8px;
    gap: 0;
  }

  body[data-page="booking"] .member-lead .field {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body[data-page="booking"] .member-more-fields .field {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body[data-page="booking"] .checkout-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    margin: 0;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom, 0px));
    border-radius: 14px 14px 0 0;
    border-bottom: 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    background: var(--paper);
  }

  [data-theme="light"] body[data-page="booking"] .checkout-panel {
    background: #ffffff;
  }

  body[data-page="booking"] .checkout-panel .panel-title,
  body[data-page="booking"] .checkout-panel .payment-card {
    display: none;
  }

  body[data-page="booking"] .booking-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
    font-size: 0.76rem;
    line-height: 1.3;
  }

  body[data-page="booking"] .booking-summary p {
    display: none;
  }

  body[data-page="booking"] .booking-summary .summary-line:last-of-type {
    grid-column: 1 / -1;
    padding-top: 3px;
    border-top: 1px solid var(--line);
    margin-top: 1px;
    font-size: 0.88rem;
  }

  body[data-page="booking"] .checkout-panel .button.full {
    min-height: 44px;
    font-size: 0.9rem;
  }

  body[data-page="booking"] .confirmation {
    margin-top: 8px;
    font-size: 0.84rem;
  }
}

@media (max-width: 400px) {
  body[data-page="booking"] .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="booking"] .member-lead .field,
  body[data-page="booking"] .member-more-fields .field {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Events page — desktop layout
   ========================================================================== */
@media (min-width: 901px) {
  body[data-page="events"] .events-page {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  body[data-page="events"] .events-hero {
    margin-bottom: 24px;
    max-width: 680px;
  }

  body[data-page="events"] .events-hero .hero-text {
    font-size: 1rem;
    max-width: 54ch;
    margin-inline: auto;
  }

  body[data-page="events"] .events-tabs-section {
    padding-top: 0;
  }

  body[data-page="events"] .events-tabs {
    margin-bottom: 24px;
  }

  body[data-page="events"] .photo-showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  body[data-page="events"] .photo-showcase-grid .photo-tile,
  body[data-page="events"] .wall-moment-tile {
    aspect-ratio: 4 / 5;
    min-width: 0;
    min-height: 0;
    position: relative;
    display: block;
  }

  body[data-page="events"] .wall-moment-tile > img,
  body[data-page="events"] .wall-moment-tile > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body[data-page="events"] .events-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }

  body[data-page="events"] .event-summary-cover img,
  body[data-page="events"] .event-summary-cover video {
    object-fit: cover;
  }

  body[data-page="events"] .event-detail-view {
    max-width: 960px;
    margin-inline: auto;
    padding-top: 4px;
  }

  body[data-page="events"] .event-detail-page-inner {
    max-width: none;
  }

  body[data-page="events"] .event-detail-header {
    text-align: left;
    margin-bottom: 28px;
    padding-bottom: 22px;
  }

  body[data-page="events"] .event-detail-gallery {
    gap: 28px;
  }

  body[data-page="events"] .event-detail-media {
    aspect-ratio: auto;
    max-width: 960px;
  }

  body[data-page="events"] .event-detail-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: unset;
    background: transparent;
  }

  body[data-page="events"] .event-detail-media video {
    width: 100%;
    height: auto;
    max-height: min(85vh, 900px);
    object-fit: contain;
    background: #111;
  }

  body[data-page="events"].is-event-detail-open .events-hero,
  body[data-page="events"].is-event-detail-open .events-tabs-section {
    display: none;
  }

  body[data-page="events"].is-event-detail-open .events-page {
    padding-top: 16px;
  }

  body[data-page="events"].is-event-detail-open #eventsListSection {
    padding-top: 0;
  }

  body[data-page="events"] .wall-detail-view {
    max-width: 1100px;
    margin-inline: auto;
    padding-top: 4px;
  }

  body[data-page="events"] .wall-detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 32px;
    align-items: center;
  }

  body[data-page="events"].is-wall-detail-open .events-hero,
  body[data-page="events"].is-wall-detail-open .events-tabs-section {
    display: none;
  }

  body[data-page="events"].is-wall-detail-open .events-page {
    padding-top: 16px;
  }

  body[data-page="events"].is-wall-detail-open #eventsListSection {
    padding-top: 0;
  }

  body[data-page="events"] .wall-detail-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (min-width: 721px) {
  body[data-page="events"] .site-footer {
    margin-top: 48px;
    padding: 40px 0 32px;
  }

  body[data-page="events"] .site-footer-inner {
    gap: 18px;
  }

  body[data-page="events"] .site-footer-meta {
    gap: 12px 28px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  body[data-page="events"] .photo-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Events page — mobile-first polish (Wall of Fame + Events tabs)
   ========================================================================== */
@media (max-width: 720px) {
  body[data-page="events"] {
    overflow-x: hidden;
  }

  body[data-page="events"] .ambient {
    opacity: 0.15;
    width: 32vw;
    height: 32vw;
  }

  body[data-page="events"] .ambient-one {
    left: -18%;
  }

  body[data-page="events"] .ambient-two {
    right: -18%;
  }

  body[data-page="events"] .events-page {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  body[data-page="events"] .events-hero.section-shell {
    padding-top: 4px;
    padding-bottom: 10px;
    margin-bottom: 0;
    text-align: left;
    max-width: none;
  }

  body[data-page="events"] .events-hero .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }

  body[data-page="events"] .events-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2rem);
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.12;
  }

  body[data-page="events"] .events-hero .hero-text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: none;
  }

  body[data-page="events"] .events-tabs-section.section-shell {
    padding-top: 8px;
    padding-bottom: 0;
  }

  body[data-page="events"] .events-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-bottom: none;
    margin-bottom: 14px;
    padding-bottom: 0;
    justify-content: stretch;
  }

  body[data-page="events"] .events-tab-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.86rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
  }

  body[data-page="events"] .events-tab-btn.active {
    background: var(--blue);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(47, 47, 228, 0.28);
  }

  body[data-page="events"] .events-tab-btn svg {
    width: 16px;
    height: 16px;
  }

  body[data-page="events"] #eventsListSection.section-shell {
    padding-top: 0;
    padding-bottom: 16px;
  }

  body[data-page="events"] #eventsWallOfFameGrid {
    min-height: 0;
    margin-bottom: 12px;
  }

  body[data-page="events"] .photo-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="events"] .photo-showcase-grid .photo-tile,
  body[data-page="events"] .wall-moment-tile {
    aspect-ratio: 3 / 4;
    min-width: 0;
    min-height: 0;
    position: relative;
    display: block;
    border-radius: 10px;
    border-width: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  body[data-page="events"] .wall-moment-tile > img,
  body[data-page="events"] .wall-moment-tile > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  body[data-page="events"] .wall-moment-tile figcaption {
    font-size: 0.72rem;
    padding: 18px 8px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-page="events"] .wall-moment-tile .media-badge {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  body[data-page="events"] .events-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="events"] .event-summary-card {
    border-radius: 12px;
  }

  body[data-page="events"] .event-summary-cover {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #14182a 0%, #4552a3 100%);
  }

  body[data-page="events"] .event-summary-cover img,
  body[data-page="events"] .event-summary-cover video {
    object-fit: contain;
    object-position: center;
  }

  body[data-page="events"] .event-summary-body {
    padding: 14px 14px 16px;
  }

  body[data-page="events"] .event-summary-card .event-date-badge {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  body[data-page="events"] .event-summary-card h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
  }

  body[data-page="events"] .event-summary-card p {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  body[data-page="events"] .event-summary-card .read-more-indicator {
    font-size: 0.82rem;
    margin-top: 12px;
  }

  body[data-page="events"] .event-back-btn {
    margin-bottom: 14px;
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  body[data-page="events"] .event-detail-view {
    max-width: none;
    margin-inline: 0;
    padding-top: 0;
  }

  body[data-page="events"] .wall-detail-view {
    max-width: none;
    margin-inline: 0;
    padding-top: 0;
  }

  body[data-page="events"] .wall-detail-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  body[data-page="events"] .wall-detail-cover {
    order: -1;
    border-radius: 12px;
    max-width: none;
  }

  body[data-page="events"] .wall-detail-copy h1 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  body[data-page="events"] .wall-detail-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: none;
  }

  body[data-page="events"] .wall-detail-gallery-section {
    padding-top: 18px;
  }

  body[data-page="events"] .wall-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body[data-page="events"] .wall-detail-gallery-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  body[data-page="events"] .event-detail-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  body[data-page="events"] .event-detail-header h1 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  body[data-page="events"] .event-detail-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  body[data-page="events"] .event-detail-gallery {
    gap: 16px;
  }

  body[data-page="events"] .event-detail-media {
    aspect-ratio: auto;
    border-radius: 12px;
  }

  body[data-page="events"] .event-detail-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: unset;
  }

  body[data-page="events"] .event-detail-media video {
    width: 100%;
    height: auto;
    max-height: min(70dvh, 640px);
    object-fit: contain;
  }

  body[data-page="events"] .wall-moment-modal {
    padding: 10px 10px max(10px, env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }

  body[data-page="events"] .wall-moment-dialog {
    width: 100%;
    max-height: min(88dvh, 720px);
    border-radius: 16px 16px 12px 12px;
  }

  body[data-page="events"] .wall-moment-media {
    max-height: min(48dvh, 400px);
  }

  body[data-page="events"] .wall-moment-media img,
  body[data-page="events"] .wall-moment-media video {
    width: auto;
    max-width: 100%;
    max-height: min(48dvh, 400px);
    object-fit: contain;
  }

  body[data-page="events"] .wall-moment-copy {
    padding: 14px 14px 16px;
  }

  body[data-page="events"] .wall-moment-copy h2 {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  body[data-page="events"] .wall-moment-desc {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  body[data-page="events"] .site-footer {
    margin-top: 32px;
    padding: 28px 0 max(28px, env(safe-area-inset-bottom, 0px));
  }

  body[data-page="events"] .site-footer-inner {
    gap: 14px;
    padding-inline: var(--page-pad);
  }

  body[data-page="events"] .site-footer-brand strong {
    font-size: 1.25rem;
  }

  body[data-page="events"] .site-footer-brand span {
    font-size: 0.76rem;
  }

  body[data-page="events"] .site-footer-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 0.84rem;
  }

  body[data-page="events"] .site-footer-meta span {
    justify-content: center;
    text-align: center;
  }

  body[data-page="events"] .site-footer-copy {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 400px) {
  body[data-page="events"] .events-tab-btn {
    font-size: 0.78rem;
    padding: 8px 8px;
    gap: 4px;
  }

  body[data-page="events"] .events-tab-btn svg {
    width: 14px;
    height: 14px;
  }

  body[data-page="events"] .photo-showcase-grid {
    gap: 6px;
  }
}

/* Booking page: "under development" lockdown banner + disabled widget. */
body[data-page="booking"] .dev-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 var(--page-pad) 28px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
  color: var(--ink);
}

body[data-page="booking"] .dev-banner i {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 2px;
}

body[data-page="booking"] .dev-banner strong {
  display: block;
  margin-bottom: 2px;
}

body[data-page="booking"] .dev-banner p {
  margin: 0;
  color: var(--muted);
}

body[data-page="booking"] .booking-flow-locked {
  position: relative;
  opacity: 0.55;
  filter: grayscale(35%);
  user-select: none;
  cursor: not-allowed;
}

