/* ==========================================================================
   Mr Perfect Skewer BBQ — Lidcombe
   Design language: the skewer counter by day. Warm butcher-paper white,
   charcoal ink, ember-red neon (the shopfront sign), steel skewer lines —
   and the kitchen docket: a paper order chit that becomes the booking
   ticket. The hero stays dark: live video of the grill, lit by the sign.
   ========================================================================== */

:root {
  --bg:         #FAF7F1;   /* butcher-paper white — page background */
  --card:       #FFFFFF;   /* card / panel surface                  */
  --card-2:     #F2ECE1;   /* pressed / hover surface               */
  --line:       #E8E0D2;   /* hairline borders                      */
  --steel:      #A89D8D;   /* skewer steel — muted strokes          */
  --ink:        #241D15;   /* charcoal ink — primary text           */
  --ink-soft:   #6F6557;   /* secondary text                        */
  --ember:      #E5352B;   /* the neon sign red — only accent       */
  --ember-deep: #B3241C;   /* hover state                           */
  --ember-soft: rgba(229, 53, 43, 0.10);
  --ember-glow: rgba(229, 53, 43, 0.35);
  --ok:         #2F8A50;   /* availability green                    */

  --font-display: "Big Shoulders Display", Impact, "Segoe UI", sans-serif;
  --font-body:    "Schibsted Grotesk", "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", Consolas, monospace;

  --container: 1120px;
  --radius: 12px;
  --shadow: 0 2px 6px rgba(45, 35, 25, 0.06), 0 14px 34px rgba(45, 35, 25, 0.12);
  --header-h: 72px;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 0.45em;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: min(var(--container), 100% - 2.25rem);
  margin-inline: auto;
}

main { flex-grow: 1; }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.8em;
  height: 2px;
  background: var(--ember);
  box-shadow: 0 0 8px var(--ember-glow);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  max-width: 24ch;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: 1.05rem;
}

/* Neon word — the sign's glow on a key word */
.ember-word {
  position: relative;
  color: var(--ember);
  text-shadow: 0 0 22px var(--ember-glow), 0 0 60px rgba(229, 53, 43, 0.25);
  white-space: nowrap;
}

.ember-word svg {
  position: absolute;
  left: -2%;
  bottom: -0.14em;
  width: 104%;
  height: 0.3em;
  overflow: visible;
}

.ember-word path {
  fill: none;
  stroke: var(--ember);
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--ember-glow));
}

@media (prefers-reduced-motion: no-preference) {
  .ember-word path {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: ember-draw 0.7s ease-out 0.5s forwards;
  }
  @keyframes ember-draw { to { stroke-dashoffset: 0; } }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: 8px;
  border: 2px solid var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-ember {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
  box-shadow: 0 4px 20px rgba(229, 53, 43, 0.3);
}
.btn-ember:hover { background: var(--ember-deep); border-color: var(--ember-deep); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--steel); }
.btn-outline:hover { border-color: var(--ink); background: rgba(37, 30, 22, 0.05); }

.btn[disabled], .btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled { box-shadow: 0 8px 26px rgba(45, 35, 25, 0.12); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.5em 0.7em;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:not(.btn):hover { color: var(--ink); background: var(--card-2); }

.site-nav a.active {
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--ember);
  border-radius: 6px 6px 0 0;
}

.nav-order { white-space: nowrap; }

.nav-book { padding: 0.75em 1.2em; font-size: 0.88rem; margin-left: 0.35rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  /* BBQ grate: crossed steel bars + a faint ember glow from the corner */
  background:
    radial-gradient(70% 95% at 82% 15%, rgba(229, 53, 43, 0.09), transparent),
    repeating-linear-gradient(0deg, rgba(37, 30, 22, 0.055) 0 3px, transparent 3px 36px),
    repeating-linear-gradient(90deg, rgba(37, 30, 22, 0.055) 0 3px, transparent 3px 36px),
    var(--bg);
}

@media (min-width: 981px) {
  /* desktop: the real wire grate photo, washed into the paper background */
  .hero {
    background:
      radial-gradient(70% 95% at 82% 15%, rgba(229, 53, 43, 0.09), transparent),
      linear-gradient(rgba(250, 247, 241, 0.86), rgba(250, 247, 241, 0.86)),
      url("../assets/images/hero-grate.png") center / cover no-repeat,
      var(--bg);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}

/* portrait video card */
.hero-media {
  position: relative;
  justify-self: end;
}

.hero-video {
  width: min(340px, 100%);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card-2);
}

.hero h1 {
  font-size: clamp(3rem, 8.5vw, 5.4rem);
  font-weight: 800;
  margin-bottom: 0.35em;
}

.hero-copy > p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-note {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.hero-note a { color: var(--ember); font-weight: 700; text-decoration-color: var(--ember-glow); }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--card); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }

/* ---------- How booking works ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.step {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ember);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 16px var(--ember-glow);
}

.step h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* House-rules notice */
.notice {
  display: flex;
  gap: 0.9rem;
  background: var(--ember-soft);
  border: 1px solid rgba(229, 53, 43, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  color: var(--ink);
  font-size: 0.93rem;
  margin-top: 1.5rem;
}

.notice strong { color: var(--ember); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); }

.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { aspect-ratio: 2.05 / 1; }

/* ---------- Visit ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.visit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.visit-card h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 1.5rem 0 0.4rem;
}

.visit-card h3:first-child { margin-top: 0; }

.visit-card p, .visit-card a { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.visit-card a { text-decoration-color: var(--steel); }
.visit-card small { color: var(--ink-soft); font-size: 0.85rem; display: block; margin-top: 0.2rem; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.5) contrast(1.05);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--card-2);
  color: var(--ink-soft);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo { display: inline-block; margin-bottom: 0.9rem; }
.footer-logo img { height: 64px; width: auto; border-radius: 8px; }
.footer-brand p { font-size: 0.9rem; max-width: 36ch; }

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.2rem 0;
}

.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-col p { font-size: 0.92rem; }
.footer-hours { line-height: 1.9; }

.footer-bottom {
  padding-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel);
}

/* ==========================================================================
   Reservation page
   ========================================================================== */

.page-hero {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 140% at 80% -20%, rgba(229, 53, 43, 0.09), transparent),
    repeating-linear-gradient(0deg, rgba(37, 30, 22, 0.05) 0 3px, transparent 3px 36px),
    repeating-linear-gradient(90deg, rgba(37, 30, 22, 0.05) 0 3px, transparent 3px 36px),
    var(--card);
}

.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 800; }
.page-hero .section-lead { font-size: 1.05rem; }

.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

/* let columns shrink below their content width —
   otherwise the scrollable date row blows the layout open */
.booking-layout > * { min-width: 0; }

/* --- Steps shell --- */

.rsteps { display: grid; gap: 1.25rem; counter-reset: rstep; }

.rstep {
  counter-increment: rstep;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1.15rem, 3vw, 1.75rem);
  transition: opacity 0.3s ease;
}

.rstep > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.rstep > h2::before {
  content: counter(rstep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ember);
  text-shadow: 0 0 14px var(--ember-glow);
}

.rstep.locked { opacity: 0.35; pointer-events: none; }

.rstep .step-hint {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: -0.5rem 0 1rem;
}

/* --- Step 1: calendar --- */

.calendar { max-width: 480px; margin-inline: auto; }

.calendar .cal-legend { justify-content: center; }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.cal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cal-nav {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cal-nav:hover:not(:disabled) { border-color: var(--steel); background: var(--card-2); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-dow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding-bottom: 0.4rem;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cal-day .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
}

.cal-day:hover:not(:disabled):not(.selected) { background: var(--card-2); }

.cal-day.today:not(.selected) { box-shadow: inset 0 0 0 1.5px var(--line); }

.cal-day.selected {
  background: var(--ember);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(229, 53, 43, 0.35);
}

.cal-day.selected .dot { background: #fff; }

.cal-day:disabled {
  color: var(--steel);
  opacity: 0.5;
  cursor: default;
  font-weight: 400;
}

.cal-legend {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cal-legend .lg-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
}

/* --- Step 2: time slots --- */

/* selected-date banner above the list */
.slot-date {
  display: none;
  text-align: center;
  background: var(--ember-soft);
  color: var(--ember);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.8em 1em;
  margin-bottom: 0.9rem;
}

.slot-date:not(:empty) { display: block; }

.slot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.slot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95em 1.15em;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.slot:hover:not(:disabled) {
  border-color: var(--steel);
  box-shadow: 0 4px 14px rgba(45, 35, 25, 0.08);
}

.slot .sl-when { display: flex; align-items: baseline; gap: 0.4rem; }

.slot .sl-time,
.slot .sl-end {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}

.slot .sl-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ok);
}

.slot.low .sl-count { color: var(--ember); }

.slot.selected {
  border-color: var(--ember);
  background: var(--ember-soft);
  box-shadow: 0 0 0 1.5px var(--ember);
}

.slot:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background: var(--card-2);
}

.slot:disabled .sl-time { text-decoration: line-through; text-decoration-color: var(--ember); }
.slot:disabled .sl-count { color: var(--ink-soft); }

/* --- Step 3 & 4: forms --- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { display: grid; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.75em 0.9em;
  transition: border-color 0.15s ease;
  appearance: none;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.2em) 50%, calc(100% - 0.85em) 50%;
  background-size: 5.5px 5.5px;
  background-repeat: no-repeat;
}

.field textarea { resize: vertical; min-height: 84px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-soft);
}

.field input.invalid { border-color: var(--ember); }

.field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--ember);
}

.field.show-error .field-error { display: block; }

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

/* hold policy inside card step */
.hold-policy {
  background: var(--bg);
  border: 1px dashed var(--steel);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hold-policy b { color: var(--ink); }
.hold-policy .hp-fee { color: var(--ember); font-weight: 700; }

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.rstep .btn { margin-top: 1.25rem; }
.rstep .btn.btn-wide { width: 100%; }

/* --- Confirmation ticket --- */

.ticket {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 1.75rem;
  text-align: center;
}

.ticket-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--ember-soft);
  color: var(--ember);
}

.ticket-badge svg { width: 24px; height: 24px; }

.ticket-title { font-size: 1.6rem; margin-bottom: 0.9rem; }

.ticket-ref {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ember);
  margin: 0;
}

.ticket-refnote {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0.25rem 0 1.4rem;
}

.ticket-rows {
  margin: 0 auto;
  max-width: 380px;
  text-align: left;
  border-top: 1px dashed var(--line);
}

.ticket-rows .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}

.ticket-rows dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ticket-rows dd { margin: 0; font-weight: 700; font-size: 0.95rem; text-align: right; }

.ticket-note {
  max-width: 42ch;
  margin: 1.25rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ticket-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.btn-ghost-danger {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.btn-ghost-danger:hover { border-color: var(--ember); color: var(--ember); }

/* --- Sidebar: session summary + house rules --- */

.booking-aside { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1.25rem; }

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.side-card h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.9rem;
}

.ss-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.ss-row:last-child { border-bottom: none; }
.ss-row span { color: var(--ink-soft); }
.ss-row b { text-align: right; }

.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.rule-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.rule-list li::before {
  content: "—";
  color: var(--ember);
  font-weight: 700;
  flex: none;
}

.rule-list b { color: var(--ink); }

.aside-note { font-size: 0.85rem; color: var(--ink-soft); padding: 0 0.25rem; }
.aside-note a { color: var(--ember); }

/* --- Manage booking --- */

.manage-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem clamp(1.15rem, 3vw, 1.75rem);
}

.manage-box h2 { font-size: 1.35rem; }

.manage-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.manage-form input {
  flex: 1 1 180px;
  font-family: var(--font-mono);
  font-size: 1rem; /* ≥16px — stops iOS zooming in on focus */
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.75em 0.9em;
}

.manage-form input:focus { outline: none; border-color: var(--ember); }

.manage-result { margin-top: 1.25rem; }

.manage-result .mr-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.manage-result .mr-row span { color: var(--ink-soft); }
.manage-result .mr-row b { text-align: right; }

.manage-msg {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ember);
}

.manage-msg.ok { color: var(--ok); }

/* --- Mobile summary bar --- */

.summary-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.15rem calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(45, 35, 25, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
}

.summary-bar .sb-label { color: var(--ink-soft); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; }

@media (max-width: 860px) {
  .summary-bar.visible { display: flex; }
  body.has-summary main { padding-bottom: 76px; }
}

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; margin-top: 0.5rem; }
  .visit-grid, .booking-layout { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(45, 35, 25, 0.16);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a:not(.btn) {
    padding: 0.9em 0.5em;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a.active { box-shadow: inset 3px 0 0 var(--ember); padding-left: 1em; }

  .nav-book { margin: 1rem 0 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }

  .brand-logo { height: 48px; }

  /* ---- Full-bleed video hero: fill the screen with the clip, keep only the
     two action buttons overlaid; all headline/body copy is hidden ---- */
  .hero { border-bottom: none; }

  .hero .container {
    position: relative;
    width: 100%;
    padding: 0;
    display: block;
    overflow: hidden;
    min-height: calc(100svh - var(--header-h));
  }

  /* video becomes the background, filling the section without cropping */
  .hero-media {
    position: absolute;
    inset: 0;
    margin: 0;
    justify-self: stretch;
    z-index: 0;
    background: #000;
  }
  .hero-video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* dark scrim at the bottom so the buttons stay legible over the footage */
  .hero .container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top,
      rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.18) 34%, transparent 58%);
    pointer-events: none;
  }

  /* strip the copy, pin the actions to the bottom of the frame */
  .hero-copy {
    position: relative;
    z-index: 2;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.25rem 2rem;
  }
  .hero .eyebrow,
  .hero h1,
  .hero-copy > p,
  .hero-note { display: none; }

  .hero-actions { margin-top: 0; }
  .hero-actions .btn { flex: 1 1 100%; }

  /* light-on-dark outline button so it reads against the video */
  .hero-actions .btn-outline {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .hero-actions .btn-outline:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #fff;
  }

  .form-grid, .card-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .gallery-grid { gap: 0.6rem; }

  .map-embed iframe { height: 300px; }

  /* calendar: tighter cells that still hit ~40px touch targets */
  .cal-grid { gap: 2px; }
  .cal-day { font-size: 0.88rem; border-radius: 9px; }
  .cal-title { font-size: 1.2rem; }
  .cal-nav { width: 42px; height: 42px; }

  /* time slots: keep one line — time left, availability right */
  .slot { padding: 0.9em 0.95em; gap: 0.6rem; }
  .slot .sl-time, .slot .sl-end { font-size: 0.95rem; }
  .slot .sl-count { font-size: 0.62rem; white-space: nowrap; }

  .rstep > h2 { font-size: 1.3rem; }
  .ticket-title { font-size: 1.4rem; }
  .ticket-ref { font-size: 1.4rem; }
  .ticket-actions .btn { flex: 1 1 100%; }
  .manage-form .btn { flex: 1 1 100%; }
}
