@font-face {
  font-family: "Instrument Serif";
  src: url("/demos/gastro/assets/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/demos/gastro/assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/demos/gastro/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f1e5;
  --paper-bright: #fdf9f2;
  --linen: #efe3cf;
  --espresso: #1c1512;
  --hearth: #140f0d;
  --hearth-glow: #2b1e17;
  --umbra: #52433a;
  --terra: #9e3825;
  --brick: #7f2a1b;
  --gold: #c89652;
  --gold-soft: #e6c493;
  --olive: #244f37;
  --olive-bg: #e5f0e8;
  --border: #d8c7ae;
  --border-subtle: #e5d8c3;
  --shadow-warm: 0 22px 48px rgb(28 21 18 / 12%);
  --shadow-card: 0 8px 24px rgb(28 21 18 / 7%);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 5.5rem;
  --gutter: clamp(1.25rem, 5.2vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--espresso); font: 1rem/1.62 var(--sans); overflow-x: clip; }
main { view-transition-name: page-main; }
main:focus { outline: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .96; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 7.6vw, 7.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2.5rem, 4.9vw, 5.2rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.45rem); letter-spacing: -.018em; }
h1 em, h2 em, h3 em { color: var(--terra); font-style: italic; font-weight: inherit; }
address { font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 78rem); margin-inline: auto; }
.section-space { padding-block: clamp(3.5rem, 7.5vw, 7.5rem); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; left: .8rem; top: .8rem; padding: .7rem 1rem; background: var(--espresso); color: var(--paper); }

/* Header */
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(248 241 229 / 92%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  border-bottom: 1px solid var(--border);
  view-transition-name: site-header;
  transition: box-shadow 240ms ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgb(28 21 18 / 10%); }
.site-header::before, .site-header::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}
.site-header::before { background: var(--border-subtle); }
.site-header::after {
  background: linear-gradient(90deg, var(--brick), var(--gold));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}
.header-inner { min-height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { display: inline-grid; justify-self: start; text-decoration: none; line-height: 1; }
.brand span, .footer-inner strong { font: 400 2.25rem/.92 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.brand span i, .footer-inner strong i { font-style: italic; color: var(--terra); }
.brand small { margin-top: .38rem; color: var(--umbra); font-size: .58rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(.85rem, 2.6vw, 2.2rem); }
.header-inner nav a, .footer-inner nav a { font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-inner nav a { position: relative; padding-block: .3rem; color: var(--umbra); transition: color 200ms ease; }
.header-inner nav a:hover, .header-inner nav a[aria-current] { color: var(--espresso); }
.header-inner nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.header-inner nav a:is(:hover, [aria-current])::after { transform: scaleX(1); }
.header-inner nav a[aria-current] { color: var(--brick); font-weight: 600; }
.footer-inner nav a:is(:hover, [aria-current]) { text-decoration: underline; color: var(--gold-soft); }

.button {
  display: inline-flex;
  gap: clamp(.65rem, 1.8vw, 1rem);
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border: 1px solid var(--terra);
  border-radius: 3px;
  padding: .75rem 1.35rem;
  background: var(--terra);
  color: var(--paper-bright);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgb(158 56 37 / 22%);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.button:hover { background: var(--brick); border-color: var(--brick); box-shadow: 0 10px 24px rgb(127 42 27 / 30%); }
.button:focus-visible { outline-color: var(--brick); }
.header-book {
  justify-self: end;
  border-color: var(--espresso);
  background: transparent;
  color: var(--espresso);
  box-shadow: none;
}
.header-book:hover { background: var(--espresso); border-color: var(--espresso); color: var(--paper-bright); box-shadow: none; }
.button span, .text-link span { font-size: 1.05em; transition: transform 220ms var(--ease-out); }
.button:hover span, .text-link:hover span { transform: translate(2px, -2px); }

/* Editorial Hero */
.hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  background:
    radial-gradient(ellipse at 14% 24%, var(--paper-bright), var(--paper) 64%),
    linear-gradient(180deg, var(--paper), var(--linen));
  border-bottom: 1px solid var(--border);
}
.hero-copy {
  align-self: center;
  padding: clamp(3rem, 7.5vw, 7.5rem) clamp(1.5rem, 4vw, 4.2rem) clamp(3rem, 7.5vw, 7.5rem) max(var(--gutter), calc((100vw - 78rem) / 2));
}
.kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
  color: var(--brick);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.kicker span, .hero-image figcaption span { width: 1.8rem; height: 1px; background: currentColor; flex: none; }
.hero h1 { font-size: clamp(3.3rem, 6.8vw, 7.4rem); }
.hero-copy > p:not(.kicker):not(.opening-status), .page-intro p:not(.kicker) {
  max-width: 34ch;
  margin-top: 1.35rem;
  color: var(--umbra);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem clamp(1rem, 2.4vw, 2rem); margin-top: 2rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  padding-bottom: .12rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--espresso);
}
.text-link:hover { color: var(--brick); }
.hero-image {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(26rem, 46vw, 44rem);
  overflow: hidden;
  background: var(--hearth);
  border-left: 1px solid var(--border);
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  z-index: 1;
  border: 1px solid rgb(230 196 147 / 28%);
  pointer-events: none;
}
.hero-image img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 54%;
  position: absolute;
  inset: 0;
}
.hero-image img, .story-photo img { transition: transform 550ms var(--ease-out); }
.hero-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgb(20 15 13 / 84%));
  pointer-events: none;
}
.hero-image figcaption {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 2rem;
  max-width: calc(100% - 4rem);
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: .46rem .9rem;
  border: 1px solid rgb(230 196 147 / 38%);
  border-radius: 999px;
  background: rgb(20 15 13 / 74%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper-bright);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-image figcaption span { color: var(--gold-soft); }

/* Fakten-Fries */
.facts { background: var(--linen); border-bottom: 1px solid var(--border); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.25rem; }
.facts p { display: flex; flex-direction: column; align-items: center; gap: .15rem; text-align: center; padding-inline: .65rem; font-size: .8rem; color: var(--umbra); letter-spacing: .04em; text-transform: uppercase; }
.facts p + p { border-left: 1px solid var(--border); }
.facts b { font: 400 clamp(1.65rem, 2.5vw, 2.15rem)/1.08 var(--serif); color: var(--espresso); text-transform: none; letter-spacing: -.01em; }

/* Pizza-Showcase auf Espresso-Steinofen-Bühne */
.showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 72% at 32% 52%, var(--hearth-glow), var(--espresso) 58%, var(--hearth));
  color: var(--paper-bright);
  padding-block: clamp(3.2rem, 5.5vw, 5.2rem);
}
.showcase-heading { text-align: center; }
.showcase-heading .kicker, .reviews .kicker, .kitchen .kicker { justify-content: center; }
.showcase .kicker, .showcase em { color: var(--gold-soft); }
.pizza-layout {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4.5vw, 4.5rem);
  margin: 2rem auto 0;
  max-width: 72rem;
}
.pizza-visual { position: relative; min-width: 0; text-align: center; }
.pizza-visual::before {
  content: "";
  position: absolute;
  inset: 7% 13%;
  border-radius: 50%;
  border: 1px solid rgb(200 150 82 / 22%);
  box-shadow: 0 0 0 18px rgb(200 150 82 / 5%), inset 0 0 80px rgb(200 150 82 / 14%);
  background: radial-gradient(circle, rgb(200 150 82 / 18%), transparent 68%);
  pointer-events: none;
}
.pizza-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  aspect-ratio: 1.1;
  perspective: 1100px;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.pizza-stage:active { cursor: grabbing; }
.pizza-frame {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  pointer-events: none;
  transform-style: flat;
}
.pizza-photo {
  width: 100%;
  height: 100%;
  transform: perspective(1100px) translateZ(80px) rotateX(var(--pizza-tilt-x, 0deg))
    rotateY(var(--pizza-tilt-y, 0deg)) scale(.9273);
  transition: transform 420ms cubic-bezier(.2, .75, .3, 1);
}
.pizza-stage[data-tilting] .pizza-photo { transition-duration: 140ms; }
.pizza-photo img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1.4rem 1.8rem rgb(8 5 4 / 72%));
}
.pizza-hint { margin-top: .6rem; color: #d5cbbd; font-size: .78rem; }
.pizza-hint a { color: var(--gold-soft); }
.pizza-details { min-height: 12.8rem; }
.pizza-details h3 { font-size: clamp(3rem, 5vw, 5rem); text-wrap: unset; color: var(--paper-bright); }
.pizza-details p { margin-top: .95rem; max-width: 32ch; color: #e2d8c9; line-height: 1.58; }
.pizza-details .pizza-price {
  display: inline-block;
  margin-top: 1.15rem;
  padding-top: .75rem;
  border-top: 1px solid rgb(230 196 147 / 32%);
  font: 600 1.25rem/1.25 var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}
.pizza-arrows, .pizza-options { display: flex; flex-wrap: wrap; gap: .55rem; }
.pizza-arrows { margin-top: 1.1rem; }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgb(230 196 147 / 42%);
  border-radius: 999px;
  background: rgb(255 255 255 / 3%);
  color: var(--paper-bright);
  font-size: 1.12rem;
  line-height: 1;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.icon-button:hover { background: var(--gold-soft); color: var(--hearth); border-color: var(--gold-soft); }
.pizza-options { margin-top: 1.25rem; }
.pizza-options button, .filters button {
  background: transparent;
  border: 1px solid rgb(230 196 147 / 40%);
  border-radius: 999px;
  padding: .46rem .98rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--paper-bright);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}
.pizza-options button[aria-pressed="true"], .pizza-options button:hover {
  background: var(--gold-soft);
  color: var(--hearth);
  border-color: var(--gold-soft);
  font-weight: 600;
}

/* Story & Küche */
.story { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6.5vw, 6.5rem); }
.story-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-warm);
  background: var(--espresso);
}
.story-photo::after {
  content: "";
  position: absolute;
  inset: .85rem;
  border: 1px solid rgb(253 249 242 / 26%);
  pointer-events: none;
}
.story-photo img { width: 100%; aspect-ratio: 1.24; object-fit: cover; }
.story p:not(.kicker), .kitchen article p { margin-top: 1.1rem; color: var(--umbra); max-width: 48ch; }
.story .text-link { margin-top: 1.45rem; }

.reviews, .kitchen { background: var(--linen); border-top: 1px solid var(--border); }
.reviews header, .kitchen header { text-align: center; }
.review-grid, .kitchen-grid { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); margin-top: clamp(1.8rem, 4vw, 3.2rem); }
.review-grid { grid-template-columns: repeat(2, 1fr); }
.kitchen-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid figure, .kitchen-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: var(--paper-bright);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  box-shadow: var(--shadow-card);
}
.review-grid figure::before {
  content: "“";
  position: absolute;
  top: .75rem;
  right: 1.35rem;
  font: 400 3.6rem/1 var(--serif);
  color: rgb(200 150 82 / 25%);
  pointer-events: none;
}
.review-grid figure, .kitchen-grid article, .booking-card { transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
.stars { color: var(--gold); letter-spacing: .2em; font-size: .85rem; }
.review-grid blockquote {
  font: 400 clamp(1.28rem, 2vw, 1.65rem)/1.32 var(--serif);
  color: var(--espresso);
  margin-block: .95rem 1.25rem;
}
.review-grid figcaption {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--border-subtle);
  font-size: .82rem;
  font-weight: 600;
  color: var(--umbra);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kitchen-num {
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--terra);
  font: 400 1.4rem/1 var(--serif);
  font-style: italic;
}

/* Closing & Footer */
.closing {
  background: linear-gradient(135deg, var(--brick), var(--terra));
  color: var(--paper-bright);
  padding-block: clamp(2.8rem, 5.5vw, 4.8rem);
  border-top: 1px solid rgb(255 255 255 / 12%);
}
.closing-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.closing .kicker, .closing em { color: var(--gold-soft); }
.closing .button { border-color: var(--paper-bright); background: var(--paper-bright); color: var(--espresso); box-shadow: 0 8px 24px rgb(20 15 13 / 24%); }
.closing .button:hover { background: var(--linen); border-color: var(--linen); }
.closing .button:focus-visible { outline-color: var(--paper-bright); }

.site-footer { padding-block: 1.8rem; background: var(--hearth); color: var(--paper); border-top: 1px solid rgb(200 150 82 / 22%); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 1rem 1.5rem; }
.footer-inner p { font-size: .8rem; color: #cfc5b4; }

/* Seiten-Intro */
.page-intro {
  background: radial-gradient(ellipse at 18% 0%, var(--paper-bright), var(--linen) 72%);
  padding-block: clamp(2.8rem, 6.5vw, 5.5rem);
  border-bottom: 1px solid var(--border);
}
.page-intro h1 { font-size: clamp(3rem, 7.2vw, 6.8rem); }
.page-intro p:not(.kicker) { max-width: 52ch; }

/* Speisekarte */
.menu {
  max-width: 66rem;
  padding-block: clamp(2.8rem, 6vw, 5rem) clamp(4rem, 7vw, 6.5rem);
  overflow-x: clip;
  overflow-clip-margin: .4rem;
}
.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: .85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--paper-bright);
  box-shadow: var(--shadow-card);
}
.menu-tabs, .filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.menu-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 3px 3px 0 0;
  background: transparent;
  padding: .52rem clamp(.6rem, 1.45vw, 1.05rem);
  font-size: .94rem;
  font-weight: 600;
  color: var(--umbra);
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}
.menu-tabs button:hover { background: var(--linen); color: var(--espresso); }
.menu-tabs button[aria-selected="true"] { border-color: var(--terra); color: var(--brick); background: var(--paper); }
.filters button { border-color: var(--border); color: var(--espresso); background: var(--paper); }
.filters button[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--paper-bright); }
.filters button:hover { border-color: var(--espresso); }
.menu-panel {
  margin-top: 2rem;
  padding: clamp(1.4rem, 3.5vw, 2.8rem);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: var(--paper-bright);
  box-shadow: var(--shadow-warm);
}
.menu-panel h2 { margin-bottom: 1.1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); font-size: clamp(2.4rem, 4vw, 3.5rem); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .5rem 1.5rem;
  border-bottom: 1px dashed var(--border);
  padding: 1.2rem .65rem;
  border-radius: 3px;
  transition: background-color 180ms ease;
}
.menu-panel li:last-child { border-bottom: 0; }
.menu-panel li:hover { background: rgb(239 227 207 / 45%); }
.menu-panel h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); text-wrap: unset; color: var(--espresso); }
.menu-panel li div p { color: var(--umbra); margin-top: .32rem; font-size: .93rem; max-width: 56ch; }
.menu-price { color: var(--brick); font: 600 1.15rem/1.3 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.veg {
  display: inline-block;
  margin-top: .5rem;
  padding: .16rem .6rem;
  border: 1px solid #b5ceb9;
  border-radius: 999px;
  background: var(--olive-bg);
  color: var(--olive);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* Kontakt & Reservierung */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.visit-info {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: var(--paper-bright);
  box-shadow: var(--shadow-card);
}
.visit-info h2, .booking-card h2 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
.visit-info address { margin-top: 1rem; font-size: 1.12rem; color: var(--espresso); }
.visit-info h3 { margin-top: 2rem; font-size: 1.85rem; }
.muted { color: var(--umbra); font-size: .85rem; }
.hours { margin-top: .75rem; max-width: 24rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .62rem; border-bottom: 1px solid var(--border); font-size: .94rem; }
.hours dd { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.opening-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.1rem;
  padding: .38rem .85rem;
  border: 1px solid #dfc5be;
  border-radius: 999px;
  line-height: 1.35;
  background: #f9ece8;
  color: var(--brick);
  font-size: .82rem;
  font-weight: 600;
}
.opening-status[data-open="true"] { border-color: #b5ceb9; background: var(--olive-bg); color: var(--olive); }
.hero-copy > .opening-status:not(.kicker) { max-width: none; margin-top: 1.35rem; color: var(--brick); font-size: .82rem; }
.hero-copy > .opening-status[data-open="true"]:not(.kicker) { color: var(--olive); }

.booking-card {
  min-width: 0;
  padding: clamp(1.4rem, 3.8vw, 3.1rem);
  border: 1px solid var(--border);
  border-top: 3px solid var(--terra);
  border-radius: 4px;
  background: var(--paper-bright);
  box-shadow: var(--shadow-warm);
}
.reservation-form { margin-top: 1.4rem; }
.booking-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  color: var(--umbra);
  font-size: clamp(.74rem, 1.5vw, .85rem);
  font-weight: 600;
}
.booking-progress li { padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.booking-progress [aria-current="step"] { color: var(--brick); border-color: var(--terra); }
.booking-step h3 { margin-bottom: .9rem; }
.booking-group { min-width: 0; margin: 1.05rem 0 0; padding: 0; border: 0; }
.booking-group legend, .booking-field { padding: 0; font-size: .86rem; font-weight: 600; color: var(--espresso); }
.booking-group legend { margin-bottom: .4rem; }
.booking-field { display: grid; gap: .32rem; min-width: 0; }
.booking-field :is(input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .48rem .68rem;
  border: 1px solid #b5a38b;
  border-radius: 3px;
  background: var(--paper);
  color: var(--espresso);
  font: 400 1rem/1.4 var(--sans);
}
.booking-field textarea { resize: vertical; }
.booking-field + .booking-choices { margin-top: .58rem; }
.booking-choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.booking-choice { position: relative; display: grid; min-width: 0; }
.booking-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.booking-chip, .booking-choice > span {
  display: grid;
  place-content: center;
  min-width: 2.85rem;
  min-height: 2.75rem;
  padding: .4rem .82rem;
  border: 1px solid #b5a38b;
  border-radius: 3px;
  background: var(--paper);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.booking-chip:hover, .booking-choice:hover > span { border-color: var(--espresso); }
.booking-chip[aria-pressed="true"], .booking-choice input:checked + span {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--paper-bright);
}
.booking-choice input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 2px; }
.booking-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.6rem, 1fr)); gap: .45rem; }
.booking-slot > span { min-height: 3.3rem; padding-inline: .3rem; font-variant-numeric: tabular-nums; }
.booking-slot small { margin-top: .16rem; color: var(--brick); font-size: .69rem; font-weight: 600; }
.booking-slot input:checked + span small { color: var(--gold-soft); }
.booking-slot input:disabled + span { border-color: var(--border); background: transparent; color: var(--umbra); opacity: .65; }
.booking-slot input:disabled { cursor: default; }
.booking-slot input:disabled + span small { color: inherit; }
.booking-summary { padding: .7rem .85rem; border-left: 3px solid var(--gold); background: var(--linen); font-size: .87rem; font-weight: 600; color: var(--espresso); }
.booking-error { margin-top: .45rem; color: var(--brick); font-size: .85rem; font-weight: 600; }
.booking-error:empty { margin: 0; }
.booking-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .75rem; margin-top: 1rem; }
.booking-contact > :is(:first-child, .muted, .booking-note) { grid-column: 1 / -1; }
.booking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.2rem; }
.booking-actions .button:disabled { border-color: var(--border); background: var(--linen); color: var(--umbra); cursor: default; box-shadow: none; }
.booking-back { min-height: 2.75rem; padding: .35rem; border: 0; background: none; color: var(--brick); font-size: .86rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.booking-demo { margin-top: 1.05rem; }

.booking-confirmation {
  margin-top: 1.35rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px dashed var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: var(--paper);
}
.booking-confirmation > * + * { margin-top: .85rem; }
.booking-confirmation .booking-summary { background: var(--paper-bright); }
.booking-reference { color: var(--brick); font-size: .84rem; font-weight: 700; letter-spacing: .14em; }

@media (prefers-reduced-motion: no-preference) {
  .booking-step, .booking-confirmation { animation: booking-enter 320ms var(--ease-out) both; }
  @keyframes booking-enter {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
  }
}

.legal { max-width: 58rem; overflow-wrap: anywhere; }
.legal > div + div { margin-top: 1.65rem; padding-top: 1.65rem; border-top: 1px solid var(--border); }
.legal h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); margin-bottom: .7rem; }
.legal p { max-width: 65ch; color: var(--umbra); }

@media (max-width: 850px) {
  .contact { grid-template-columns: .75fr 1.25fr; }
}

@media (width > 720px) and (width <= 850px) {
  .header-inner nav { gap: 2vw; }
}

@media (max-width: 720px) {
  :root { --header-height: 7.5rem; }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; padding-top: .75rem; gap: .65rem .5rem; }
  .brand span { font-size: clamp(1.55rem, 5vw, 2.05rem); }
  .brand small { font-size: .48rem; letter-spacing: .09em; white-space: nowrap; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; padding-block: .6rem; border-top: 1px solid var(--border); justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; }
  .header-book { min-height: 2.55rem; padding-inline: .62rem; font-size: .75rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-inline: var(--gutter); }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 5.2rem); }
  .hero-image { aspect-ratio: 1.3; min-height: 0; max-height: 26rem; border-left: 0; border-top: 1px solid var(--border); }
  .hero-image::before { inset: .65rem; }
  .hero-image figcaption { bottom: 1.2rem; left: 1.2rem; max-width: calc(100% - 2.4rem); }
  .pizza-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .pizza-visual { width: min(100%, 30rem); margin-inline: auto; }
  .pizza-details { min-height: 0; margin-bottom: 1.25rem; }
  .pizza-details h3 { font-size: clamp(2.5rem, 8vw, 3.6rem); }
  .story, .contact, .kitchen-grid { grid-template-columns: 1fr; }
  .story-photo img { aspect-ratio: 1.45; }
}

@media (max-width: 520px) {
  .facts b { font-size: 1.35rem; }
  .facts p { font-size: .72rem; }
  .review-grid { grid-template-columns: 1fr; }
  .menu-price { font-size: 1rem; }
  .menu-toolbar { padding: .7rem; gap: .65rem; }
  .menu-tabs { width: 100%; justify-content: space-between; gap: .1rem; flex-wrap: nowrap; }
  .menu-tabs button { padding: .45rem .32rem; font-size: .78rem; }
}

::view-transition-group(root),
::view-transition-new(root),
::view-transition-group(page-main),
::view-transition-group(site-header),
::view-transition-new(site-header) { animation: none; }
::view-transition-old(root),
::view-transition-old(site-header) { display: none; }
::view-transition-group(page-main) { z-index: 1; }
::view-transition-group(site-header) { z-index: 2; }
::view-transition-old(page-main),
::view-transition-new(page-main) {
  animation: 420ms var(--ease-out) both;
  mix-blend-mode: normal;
}
::view-transition-old(page-main) { animation-name: page-exit; }
::view-transition-new(page-main) { animation-name: page-enter; }

@keyframes page-exit {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-56px); }
}

@keyframes page-enter {
  from { opacity: 0; transform: translateX(56px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes reveal-in {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes intro-in {
  from { opacity: 1; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes underline-in {
  from { transform: scaleX(0); }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  :is(.hero-copy, .page-intro .wrap) > :is(h1, p),
  .hero .actions > * {
    animation: intro-in 340ms var(--reveal-ease) var(--intro-delay, 0ms) backwards;
  }
  :is(.hero-copy, .page-intro .wrap) > h1 { --intro-delay: 35ms; }
  :is(.hero-copy, .page-intro .wrap) > p:not(.kicker) { --intro-delay: 70ms; }
  .hero .actions > :first-child { --intro-delay: 100ms; }
  .hero .actions > :nth-child(2) { --intro-delay: 130ms; }
  .header-inner nav a[aria-current]::after { animation: underline-in 320ms var(--ease-out); }

  [data-reveal="pending"]:not(:focus-within) { opacity: 0; }
  [data-reveal="shown"] { animation: reveal-in 380ms var(--ease-out) var(--reveal-delay, 0ms) backwards; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.review-grid figure, .kitchen-grid article, .booking-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgb(28 21 18 / 12%);
  }
  :is(.hero-image, .story-photo):hover img { transform: scale(1.03); }
}

@media (scripting: none) {
  .menu-toolbar { display: none; }
  .menu-panel[hidden] { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
