:root {
  --bg: #0b0705;
  --surface: #17100c;
  --surface-2: #22150f;
  --text: #fff3dd;
  --muted: #c5a37e;
  --line: rgba(255, 239, 211, 0.14);
  --ember: #f45f22;
  --flame: #ffb13b;
  --red: #8d2417;
  --green: #819b55;
  --shadow: rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(244, 95, 34, 0.2), transparent 23rem),
    radial-gradient(circle at 12% 0, rgba(141, 36, 23, 0.3), transparent 26rem),
    linear-gradient(135deg, #070504, #160d09 46%, #080504);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .45;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 5, 4, .78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: max-content;
}

.brand-flame {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,177,59,.68);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 70%, #ffcf75 0 18%, transparent 19%),
    radial-gradient(circle at 54% 62%, var(--ember) 0 42%, transparent 43%),
    #150a06;
  box-shadow: 0 0 32px rgba(244,95,34,.34);
}

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

.brand small {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.45rem);
  color: #f2d4af;
}

.nav a {
  padding: .42rem 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
  border-color: var(--flame);
}

.nav-cta {
  padding: .55rem .9rem !important;
  border: 1px solid rgba(255,177,59,.62) !important;
  background: rgba(141,36,23,.72);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8rem clamp(1rem, 6vw, 5rem) clamp(2.5rem, 7vw, 5.5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.1) brightness(.7);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7,5,4,.94), rgba(7,5,4,.72) 42%, rgba(7,5,4,.14) 78%),
    linear-gradient(0deg, rgba(9,6,5,.98), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(47rem, 100%);
}

.eyebrow {
  margin: 0 0 .6rem;
  color: var(--flame);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4.4rem, 12vw, 10rem);
  line-height: .82;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(244,95,34,.38), 0 12px 30px rgba(0,0,0,.58);
}

h2 {
  margin-bottom: .8rem;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: .94;
}

h3 {
  margin-bottom: .32rem;
  color: #ffe2b5;
  font-size: 1.25rem;
}

.hero-text,
.section-title p,
.ambience p,
.order-copy p,
.dish p,
.quote p,
.score p {
  color: var(--muted);
}

.hero-text {
  width: min(39rem, 100%);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,177,59,.78);
}

.btn.primary {
  border-color: rgba(255,177,59,.82);
  background: linear-gradient(135deg, #9c2817, #f45f22 54%, #ffb13b);
  color: #160805;
  font-weight: 900;
}

.btn.secondary {
  background: rgba(16, 9, 7, .68);
}

.full {
  width: 100%;
}

.oven-card {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1rem, 5vw, 4rem);
  z-index: 4;
  width: min(20rem, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255,177,59,.38);
  background: rgba(12,8,6,.82);
  box-shadow: 0 22px 50px var(--shadow);
}

.oven-card span,
.oven-card strong,
.oven-card small {
  display: block;
}

.oven-card span,
.oven-card small {
  color: var(--muted);
}

.oven-card strong {
  font-size: 1.45rem;
}

.smoke {
  position: absolute;
  z-index: 2;
  width: 28rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,245,226,.18), transparent 62%);
  filter: blur(18px);
  opacity: .48;
  animation: drift 11s ease-in-out infinite alternate;
}

.smoke-one {
  right: 14%;
  top: 15%;
}

.smoke-two {
  right: 2%;
  top: 34%;
  animation-duration: 14s;
}

.embers {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle, rgba(255,177,59,.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(244,95,34,.8) 0 1px, transparent 2px);
  background-position: 82% 85%, 68% 76%;
  background-size: 7rem 9rem, 13rem 12rem;
  mask-image: linear-gradient(0deg, black, transparent 75%);
  animation: embers 8s linear infinite;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-inline: clamp(1rem, 5vw, 4rem);
  background: var(--line);
  border-block: 1px solid var(--line);
}

.quick-facts article {
  min-height: 8.6rem;
  padding: clamp(1rem, 3vw, 1.7rem);
  background:
    linear-gradient(145deg, rgba(141,36,23,.34), transparent 52%),
    var(--surface);
}

.quick-facts strong {
  display: block;
  color: var(--flame);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1;
}

.quick-facts span {
  color: var(--muted);
}

.section,
.ambience,
.order,
.footer {
  padding-inline: clamp(1rem, 5vw, 4rem);
}

.section {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.section-title {
  width: min(48rem, 100%);
  margin-bottom: 2rem;
}

.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.25rem;
}

.filter,
.mode-toggle button {
  min-height: 2.6rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  background: rgba(255,243,221,.06);
  color: #f2d3ae;
  cursor: pointer;
}

.filter.is-active,
.mode-toggle button.is-active {
  border-color: rgba(255,177,59,.68);
  background: rgba(244,95,34,.2);
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.dish {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,177,59,.08), transparent 32%),
    rgba(23,16,12,.92);
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}

.dish[hidden] {
  display: none;
}

.dish img {
  width: 100%;
  aspect-ratio: 1.1 / .82;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.dish-body {
  display: grid;
  min-height: 16rem;
  padding: .95rem;
}

.dish-kicker {
  margin-bottom: .25rem;
  color: var(--green) !important;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dish-body strong {
  align-self: end;
  color: var(--flame);
  font-size: 1.2rem;
}

.ambience {
  display: grid;
  grid-template-columns: minmax(18rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(1.2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9,6,5,.98), rgba(31,19,14,.9)),
    radial-gradient(circle at 80% 50%, rgba(244,95,34,.18), transparent 22rem);
}

.spread {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,177,59,.24);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

.spread img {
  width: 100%;
  min-height: 22rem;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.spread figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .62rem .75rem;
  border: 1px solid rgba(255,239,211,.16);
  background: rgba(8,5,4,.78);
  color: #ffe4b7;
}

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

.score,
.quote,
.review-form,
.cart,
.order-copy {
  border: 1px solid var(--line);
  background: rgba(23,16,12,.9);
  box-shadow: 0 18px 46px rgba(0,0,0,.23);
}

.score {
  display: grid;
  align-content: center;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(244,95,34,.26), transparent 14rem),
    rgba(23,16,12,.9);
}

.score span {
  color: var(--flame);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  line-height: .9;
}

.quote,
.review-form {
  padding: 1rem;
}

.quote div {
  color: var(--flame);
  letter-spacing: .08em;
}

.review-form {
  grid-column: span 2;
}

.review-form label {
  display: grid;
  gap: .35rem;
  margin-top: .75rem;
  color: #f3d5ad;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,239,211,.18);
  background: rgba(0,0,0,.3);
  color: var(--text);
}

input {
  min-height: 2.75rem;
  padding: 0 .8rem;
}

textarea {
  min-height: 6rem;
  padding: .72rem .8rem;
  resize: vertical;
}

.review-form .btn {
  margin-top: .9rem;
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 1rem;
  align-items: stretch;
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(rgba(8,5,4,.86), rgba(8,5,4,.94)),
    url("assets/hero-oven.png") center / cover fixed;
}

.order-copy,
.cart {
  padding: clamp(1rem, 3vw, 2rem);
}

.order-copy {
  display: grid;
  align-content: center;
  border-color: rgba(255,177,59,.28);
  background: rgba(12,8,6,.82);
}

.mode-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.cart-row,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-row.muted {
  color: var(--muted);
}

.cart-total {
  margin-bottom: 1rem;
  border: 0;
  color: var(--flame);
  font-size: 1.25rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  border-top: 1px solid var(--line);
  background: #080504;
  color: var(--muted);
}

.footer a {
  color: #ffe4b7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 60;
  width: min(27rem, calc(100% - 2rem));
  padding: .85rem 1rem;
  border: 1px solid rgba(255,177,59,.45);
  background: rgba(12,8,6,.96);
  color: #fff0d8;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  opacity: 0;
  transform: translate(-50%, 1rem);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes drift {
  from { transform: translate3d(-1.2rem, .4rem, 0) scale(.96); }
  to { transform: translate3d(1.5rem, -1rem, 0) scale(1.08); }
}

@keyframes embers {
  from { background-position: 82% 92%, 68% 86%; }
  to { background-position: 82% 22%, 69% 24%; }
}

@media (max-width: 1180px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    position: sticky;
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    overflow-x: auto;
    padding-bottom: .1rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 4rem;
  }

  .oven-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.6rem;
  }

  .quick-facts,
  .ambience,
  .review-grid,
  .order {
    grid-template-columns: 1fr;
  }

  .review-form {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .nav a {
    min-width: max-content;
  }

  .hero {
    min-height: auto;
  }

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

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .dish-body {
    min-height: auto;
  }
}
