/* The Parle Brothers — tokens from .grok/product-ui/theme.md */
:root {
  --mark: #5D04C5;
  --mark-hover: #7316E0;
  --mark-active: #4E03A6;
  --on-mark: #FFFFFF;
  --mark-tint: #C9A6FF;
  --paper: #120F1B;
  --paper-2: #1B1726;
  --paper-mark: #1E1135;
  --paper-deep: #0A0810;
  --ink: #EDE6F2;
  --muted: #C9BFD6;
  --rule: #3A3350;
  --field-rule: #6A5E85;
  --live: #3EE6E0;
  --live-hover: #9FF5F1;
  --live-2: #FF4FC8;
  --rig-blue: #7C8CFF;
  --rig-green: #5BF08A;
  --rig-amber: #F0A64A;
  --danger: #FF8FA3;
  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(32px, 4vw, 64px);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Work Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
a { color: var(--live); }
a:hover { color: var(--live-hover); }
:focus-visible { outline: 3px solid var(--live); outline-offset: 3px; }
input, select, textarea, button { font: inherit; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  background: var(--mark); color: var(--on-mark); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: var(--on-mark); }

.display {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0;
}
.accent { color: var(--live-2); }
.accent-tint { color: var(--mark-tint); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px;
  border-radius: 999px; border: 0;
  background: var(--mark); color: var(--on-mark);
  font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--mark-hover); color: var(--on-mark); }
.btn:active { background: var(--mark-active); }

/* Header — normal flow, never overlaps content */
.site-header { background: var(--paper-deep); border-bottom: 2px solid var(--mark); }
.site-header__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; padding: 10px var(--gutter);
}
.site-header__logo img { height: 76px; width: auto; }
.site-header__book { flex: none; }
.site-nav {
  display: flex; flex-wrap: wrap; gap: 4px 22px;
  padding: 0 var(--gutter) 10px; font-weight: 500; font-size: 15px;
}
.site-nav a { color: var(--ink); min-height: 32px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--live); }

/* Hero mosaic */
.hero { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 6px; }
.hero__photo { position: relative; min-height: 520px; }
.hero__crowd { position: relative; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .hero__photo { grid-row: span 2; min-height: 680px; }
}
.hero__photo img, .hero__crowd img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__photo img { object-position: 35% 40%; }
.hero__text {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: clamp(24px, 3vw, 44px); background: var(--paper-mark); min-height: 337px;
}
.hero__text > * { position: relative; }
.beam { position: absolute; top: -20%; height: 140%; pointer-events: none; }
.beam--magenta { left: 0; width: 90%; background: rgba(255, 79, 200, 0.16); clip-path: polygon(0 0, 8% 0, 100% 100%, 70% 100%); }
.beam--cyan { left: 12%; width: 70%; background: rgba(62, 230, 224, 0.12); clip-path: polygon(0 0, 7% 0, 72% 100%, 42% 100%); }
.hero__text > .beam { position: absolute; }
.eyebrow {
  margin: 0; color: var(--mark-tint); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px;
}
.hero h1 { font-weight: 900; font-size: clamp(44px, 4.6vw, 72px); line-height: 0.9; overflow-wrap: anywhere; }
.welcome { max-width: 60ch; display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }
.welcome p { margin: 0; }
.signatures { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 4px; }
.signatures img:first-child { height: 30px; width: auto; }
.signatures img:last-child { height: 40px; width: auto; }

/* LED divider */
.led {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  padding: 18px 16px; background: var(--paper-deep);
}
.led span { width: 34px; height: 8px; border-radius: 4px; background: var(--c); box-shadow: 0 0 12px var(--c); }

/* Facts strip */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-bottom: 1px solid var(--rule); margin: 0;
}
.facts div { padding: 20px var(--gutter); border-right: 1px solid var(--rule); }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--live); line-height: 1; }
.facts dd { margin: 0; }

/* Sections */
.section { padding: var(--section) var(--gutter); }
.section__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 12px; margin-bottom: 18px;
}
.section h2 { font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 0.95; }
.muted { color: var(--muted); }
.repertoire { display: flex; flex-direction: column; gap: 4px; }
.repertoire p { margin: 0; }
.aside { color: var(--mark-tint); font-size: 14px; font-style: italic; }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 18vw, 280px); gap: 6px; margin: 0; padding: 0; list-style: none;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery > li { position: relative; min-width: 0; }
.gallery picture, .gallery img, .gallery video { width: 100%; height: 100%; }
.gallery img, .gallery video { object-fit: cover; background: var(--paper-deep); }
.gallery .wide { grid-column: span 2; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery .wide { grid-column: auto; }
  .gallery img, .gallery video { aspect-ratio: 16 / 9; height: auto; }
}
.clip__caption {
  position: absolute; left: 12px; top: 12px; z-index: 1; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10, 8, 16, 0.78); color: var(--ink);
  padding: 5px 12px 5px 6px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.clip__caption::before {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 10px solid var(--live-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

/* Travel */
.travel { display: flex; flex-wrap: wrap; gap: 32px; }
.travel__intro { flex: 1 1 280px; }
.travel__intro h2 { margin-bottom: 10px; }
.travel__intro p { margin: 0; }
.travel__table { flex: 3 1 560px; min-width: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  color: var(--muted); text-align: left; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 12px;
}
tbody tr { border-top: 1px solid var(--rule); }
tbody tr:last-child { border-bottom: 1px solid var(--rule); }
tbody th, tbody td { padding: 10px 12px; text-align: left; }
thead th:first-child, tbody th { padding-left: 0; }
thead th:last-child, tbody td:last-child { padding-right: 0; text-align: right; }
td.event { color: var(--muted); }
td.km { color: var(--live); font-weight: 600; white-space: nowrap; }
.closer { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { background: var(--paper-2); }
.faq h2 { margin-bottom: 20px; }
.faq dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px 40px; }
.faq dt { font-weight: 600; font-size: 18px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }

/* Booking */
.book h2 { font-weight: 900; font-size: clamp(44px, 5vw, 76px); line-height: 0.9; }
.book__intro { margin: 0; max-width: 440px; }
.booking-form {
  background: var(--paper-2); border-radius: 14px; padding: 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: 14px; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--field-rule); border-radius: 8px;
  padding: 10px; min-height: 44px; width: 100%;
}
.field input[type="date"] { color-scheme: dark; }
.field textarea { resize: vertical; min-height: 96px; }
.field .optional { color: var(--muted); font-weight: 400; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.form-status { grid-column: 1 / -1; margin: 0; min-height: 0; }
.form-status:not(:empty) {
  padding: 12px 16px; border-radius: 10px; border: 1px solid var(--live); color: var(--ink);
}
.form-status.is-error { border-color: var(--danger); color: var(--danger); }
.book__email { margin: 14px 0 0; }
.chat-slot {
  margin: 14px 0 0; border: 1px dashed var(--field-rule); border-radius: 12px;
  padding: 12px 16px; color: var(--muted);
}

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px;
  padding: 24px var(--gutter); border-top: 2px solid var(--mark);
  color: var(--muted); font-size: 14px;
}
.site-footer__id { display: flex; align-items: center; gap: 14px; }
.site-footer__id img { height: 52px; width: auto; }
.site-footer__id p, .site-footer__listen p { margin: 0; }
.site-footer strong { color: var(--ink); }
.site-footer__listen { max-width: 560px; }
.site-footer__listen .label { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px !important; }
.links a { min-height: 32px; display: inline-flex; align-items: center; }
