:root {
  --bg-top: #1c1612;
  --bg-mid: #14110e;
  --bg-bottom: #0c0b0a;
  --cream: #f3ece3;
  --muted: #b7aea4;
  --ember: #e25b2a;
  --ink: #1a0d08;
  --line: rgba(243, 236, 227, 0.14);
  --card: #161311;
  --header: 72px;
  --pad: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg-bottom);
  color: var(--cream);
  font-family: Manrope, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 48% at 50% -8%, rgba(226, 91, 42, 0.1), transparent 58%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 46%, var(--bg-bottom) 100%);
}

body::after {
  z-index: -1;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

a { color: inherit; }

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

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

.skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 50;
  background: #fff;
  color: #000;
  padding: 8px 12px;
}

.skip:focus { top: 8px; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
}

.header.is-solid {
  background: rgba(12, 11, 10, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: Unbounded, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 41;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.menu {
  display: none;
  position: relative;
  z-index: 41;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
}

.nav { display: flex; gap: 18px; }

.nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.nav a[aria-current="true"],
.nav a:hover { color: var(--cream); }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 22, 18, 0.18) 0%, rgba(12, 11, 10, 0.45) 48%, var(--bg-bottom) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: calc(var(--header) + 28px) var(--pad) 56px;
  max-width: 980px;
}

h1, h2 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 3.35rem); max-width: 18ch; }

.lede {
  max-width: 38rem;
  margin: 16px 0 0;
  font-size: 1.05rem;
  color: var(--cream);
}

.btn, .send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  margin-top: 22px;
  background: var(--ember);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 236, 227, 0.4);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.actions .btn { margin-top: 18px; }

.band { padding: 72px var(--pad); }

.band h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 16ch; }

.soft { color: var(--muted); max-width: 38rem; }

.rail-wrap { margin-top: 22px; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.shot, .rail button {
  appearance: none;
  border: 0;
  padding: 0;
  background: #222;
  cursor: zoom-in;
  overflow: hidden;
}

.rail button {
  scroll-snap-align: start;
  height: 240px;
}

.rail img, .shot img, .pizza-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 22px;
}

.shot { height: 240px; }

.pizza-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 22px;
}

.pizza-grid button {
  appearance: none;
  border: 0;
  padding: 0;
  background: #222;
  cursor: zoom-in;
  overflow: hidden;
  height: 240px;
}

.pizza-outdoor { object-position: center bottom; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div { padding: 18px 16px; border-bottom: 1px solid var(--line); }

.facts b {
  display: block;
  font-family: Unbounded, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.facts span { color: var(--muted); font-size: 14px; }

.rules { padding: 28px var(--pad) 8px; }

.rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.rules li { color: var(--muted); max-width: 46rem; }

.book {
  display: grid;
  gap: 28px;
}

.contact { display: grid; gap: 6px; margin-top: 18px; }

.contact a { text-decoration: none; }

.contact a:hover { color: var(--ember); }

.book-form { display: grid; gap: 12px; }

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

.label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

input, textarea, .cal-toggle {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(243, 236, 227, 0.28);
  padding: 14px 12px;
  border-radius: 0;
  min-height: 50px;
}

textarea { min-height: 120px; resize: vertical; }

.cal-toggle { text-align: left; cursor: pointer; }

.field-dates { position: relative; }

.stepper { display: flex; }

.stepper button {
  width: 50px;
  min-height: 50px;
  background: transparent;
  border: 1px solid rgba(243, 236, 227, 0.28);
  cursor: pointer;
}

.stepper input {
  text-align: center;
  border-left: 0;
  border-right: 0;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cal[hidden] { display: none !important; }

.cal {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #161311;
  border: 1px solid var(--line);
  padding: 14px;
}

.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.cal-bar button {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cal-months { display: grid; gap: 16px; }

.cal-title {
  margin: 8px 0;
  font-family: Unbounded, sans-serif;
  font-size: 14px;
}

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

.cal-dow, .cal-day {
  text-align: center;
  min-height: 40px;
  font-size: 13px;
}

.cal-dow { color: var(--muted); display: grid; place-items: center; }

.cal-day {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cal-day.is-empty { cursor: default; }

.cal-day.is-past { color: #5c564f; cursor: default; }

.cal-day.is-between { background: rgba(226, 91, 42, 0.25); }

.cal-day.is-start, .cal-day.is-end {
  background: var(--ember);
  color: var(--ink);
}

.cal-hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.send { width: 100%; }

.send-wait {
  display: none;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 3px solid rgba(26, 13, 8, 0.28);
  border-top-color: #1a0d08;
  border-radius: 50%;
  animation: loader-turn 0.7s linear infinite;
}

.send.is-sending .send-label { display: none; }

.send.is-sending .send-wait { display: block; }

.send:disabled { opacity: 0.6; cursor: wait; }

.send.is-sending:disabled { opacity: 1; }

@keyframes loader-turn {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .send-wait { animation-duration: 1.6s; }
}

.form-status { margin: 0; min-height: 1.4em; }

.form-status.is-ok { color: var(--cream); }

.form-status.is-bad { color: #ffb4a2; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: grid;
  gap: 8px;
  padding: 28px var(--pad) 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer a { color: var(--cream); }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }

.legal { padding: 120px var(--pad) 64px; max-width: 760px; }

.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }

.legal p, .legal li { color: var(--muted); }

.legal a { color: var(--cream); }

dialog {
  width: min(1100px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  background: transparent;
}

dialog::backdrop { background: rgba(0, 0, 0, 0.82); }

.lightbox-img {
  width: 100%;
  max-height: calc(100vh - 24px);
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

@media (min-width: 720px) {
  :root { --pad: 7vw; }

  .rail { grid-auto-columns: minmax(280px, 34vw); }
  .rail button, .shot, .pizza-grid button { height: 300px; }

  .shots { grid-template-columns: 1fr 1fr; }
  .shot-tall { grid-row: span 2; height: auto; }
  .shot-tall img { height: 100%; }

  .pizza-grid { grid-template-columns: 1fr 1fr; }

  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { border-bottom: 0; border-right: 1px solid var(--line); }
  .facts div:last-child { border-right: 0; }

  .book-form { grid-template-columns: 1fr 1fr; }
  .field-dates, .field-note, .send, .form-status { grid-column: 1 / -1; }

  .cal-months { grid-template-columns: 1fr 1fr; }

  .rules ul { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .book {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: start;
  }
}

@media (max-width: 1180px) {
  .menu { display: inline-flex; align-items: center; }

  .nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 30;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 24px var(--pad) 40px;
    background: rgba(12, 11, 10, 0.97);
  }

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

  .nav a {
    font-family: Unbounded, sans-serif;
    font-size: 1.7rem;
    color: var(--cream);
    padding: 8px 0;
  }

  .nav.nav-static {
    display: flex;
    position: static;
    inset: auto;
    flex-direction: row;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
    background: transparent;
  }

  .nav.nav-static a {
    font-family: Manrope, sans-serif;
    font-size: 14px;
    padding: 0;
  }
}

@media (max-width: 719px) {
  .cal { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; max-height: 78vh; overflow: auto; }
}

.shots-wrap { position: relative; }

.shots-next {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(243, 236, 227, 0.82);
  color: #1a0d08;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.shots-next svg { width: 18px; height: 18px; }

.shots-next.is-gone { opacity: 0; pointer-events: none; }

@media (max-width: 1180px) {
  .shots-wrap { margin-top: 22px; }

  .shots {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    gap: 10px;
    margin-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .shots::-webkit-scrollbar { display: none; }

  .shot {
    scroll-snap-align: start;
    height: 250px;
  }

  .shot-tall {
    grid-row: auto;
    height: 250px;
  }

  .shots-next { display: grid; }

  .pizza-extra { display: none; }
}
