:root {
  --red: #C92F2C;
  --cream: #F5EBDC;
  --cream-2: #EADBCB;
  --black: #1F1B19;
  --gold: #E8BC62;
  --accent: #C92F2C;
  --radius: 18px;
  --gutter: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font: 400 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-bottom: calc(84px + var(--safe-b));
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }

.display {
  font-family: Anton, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: 800 16px/1 Inter, system-ui, sans-serif; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: #B32724; }
.hero .btn-primary { background: var(--black); color: var(--cream); }
.hero .btn-primary:hover { background: #000; }
.btn-ghost { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-small { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn-big { min-height: 58px; padding: 16px 32px; font-size: 18px; }
.btn-block { width: 100%; min-height: 56px; font-size: 18px; }
.btn.is-pending { opacity: .85; }
.btn:focus-visible, .sauce-tab:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter);
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: rgba(31, 27, 25, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 235, 220, .12);
}
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.nav { display: none; gap: 22px; margin-left: 12px; font-weight: 600; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }
.site-header .btn { margin-left: auto; }

/* Hero: full-bleed photo, copy sits on the open red space */
.hero {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: flex-start;
  padding: 120px var(--gutter) 56px;
  background: var(--red);
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; margin: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 74% 60%;
}
.hero-media .temp-tag { top: auto; bottom: 14px; left: 14px; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(201,47,44,.55) 0%, rgba(201,47,44,0) 45%);
}
.hero-copy { position: relative; z-index: 2; max-width: 520px; }
.eyebrow {
  margin: 0 0 12px; font-weight: 800; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.eyebrow--light { color: var(--gold); }
.hero-title { font-size: clamp(56px, 16vw, 130px); text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.accent-line { color: var(--gold); }
.lede { font-size: 18px; max-width: 36ch; margin: 16px 0 24px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 56px var(--gutter); }
.section-title { font-size: clamp(44px, 12vw, 84px); margin-bottom: 28px; }
.section-lede { font-size: 17px; max-width: 46ch; margin: -8px 0 24px; opacity: .85; }

/* Cards */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--cream); color: var(--black);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-media { position: relative; background: var(--black); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media--temp img[src$="v1_kasvis.jpg"], .card-media--temp img[src$="v1_lamb.jpg"] { aspect-ratio: 1 / 1; }
.card-media--temp img { filter: saturate(1.05); }
.temp-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--black); color: var(--gold);
  font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name {
  font-family: Anton, Impact, sans-serif; font-weight: 400;
  font-size: 30px; text-transform: uppercase; line-height: 1;
}
.card-desc { margin: 0; font-size: 15px; color: #4a423d; }
.card-foot {
  margin-top: auto; padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.price { font-weight: 800; font-size: 18px; color: var(--red); }

/* Sauce selector */
.sauce {
  background: var(--black);
  border-top: 6px solid var(--accent);
  transition: border-color .3s ease;
}
.sauce-tabs {
  display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px;
}
.sauce-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: var(--radius);
  background: transparent; color: var(--cream);
  border: 2px solid rgba(245, 235, 220, .25);
  font: inherit; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.sauce-tab-name {
  font-family: Anton, Impact, sans-serif; text-transform: uppercase;
  font-size: 24px; line-height: 1;
}
.sauce-tab-tag { font-size: 13px; opacity: .75; }
.sauce-tab[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent);
  color: var(--black);
}
.sauce-tab[aria-pressed="true"] .sauce-tab-tag { opacity: .9; }

.sauce-feature {
  display: grid; gap: 18px;
  background: var(--cream); color: var(--black);
  border-radius: var(--radius); padding: 16px;
}
.sauce-feature.is-swap { animation: swap .35s ease both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sauce-media {
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--accent);
  display: grid; place-items: center;
}
.sauce-media img { width: 100%; height: 100%; object-fit: cover; }
.sauce-placeholder {
  font-weight: 800; color: var(--black); opacity: .8;
  border: 2px dashed var(--black); border-radius: 12px; padding: 20px; text-align: center;
}
.draft-tag {
  display: inline-block; margin: 0 0 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--black); color: var(--gold); padding: 5px 10px; border-radius: 999px;
}
.sauce-name {
  font-family: Anton, Impact, sans-serif; font-weight: 400;
  font-size: clamp(40px, 10vw, 64px); text-transform: uppercase; line-height: 1;
  color: var(--black); margin: 0;
}
.sauce-desc { font-size: 17px; margin: 10px 0 14px; }
.sauce-meta { display: grid; gap: 10px; margin: 0 0 12px; }
.sauce-meta div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(0,0,0,.15); padding-top: 10px; }
.sauce-meta dt { font-weight: 800; }
.sauce-meta dd { margin: 0; text-align: right; }
.sauce-note { font-size: 13px; color: #5a4f48; margin: 0; }

/* Meal explained */
.meal-grid { display: grid; gap: 16px; }
.meal-col {
  background: var(--red); border-radius: var(--radius); padding: 22px;
}
.meal-col h3 {
  font-family: Anton, Impact, sans-serif; font-weight: 400;
  font-size: 28px; text-transform: uppercase; margin-bottom: 10px;
}
.meal-col ul { margin: 0; padding-left: 20px; }
.meal-col li { margin: 6px 0; }
.meal-note { font-size: 13px; opacity: .9; margin: 12px 0 0; }

/* Final */
.final {
  position: relative; overflow: hidden;
  background: var(--black);
}
.final-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .9; }
.final-copy {
  padding: 28px var(--gutter) 40px;
  background:
    linear-gradient(rgba(201, 47, 44, .8), rgba(201, 47, 44, .8)),
    url(assets/brand_wall.jpg) center / cover no-repeat;
}
.final-copy h2 { font-size: clamp(48px, 14vw, 96px); margin-bottom: 14px; }
.final-copy p { margin: 0 0 20px; font-size: 17px; }

/* Brand paper strip */
.paper-band {
  height: 72px; margin: 0 calc(var(--gutter) * -1) 28px;
  background: url(assets/brand_paper.jpg) center / cover no-repeat;
  border-bottom: 4px solid var(--red);
}

/* Footer */
.site-footer {
  padding: 28px var(--gutter);
  padding-bottom: calc(28px + 84px + var(--safe-b));
  text-align: center; font-size: 14px; opacity: .8;
}
.site-footer p { margin: 4px 0; }
.site-footer .fine { font-size: 12px; opacity: .6; }

/* Mobile sticky order */
.sticky-order {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--gutter);
  padding-bottom: calc(10px + var(--safe-b));
  background: linear-gradient(to top, rgba(31,27,25,.96) 70%, rgba(31,27,25,0));
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-b));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--black);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  max-width: calc(100% - 32px); text-align: center;
  transition: opacity .25s ease, transform .25s ease; z-index: 40;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Tablet and up */

/* Phones: copy above the photo, photo below (red edges blend) */
@media (max-width: 759px) {
  .hero {
    display: block; min-height: 0;
    padding: 96px var(--gutter) 0;
  }
  .hero::after { display: none; }
  .hero-media {
    position: relative; inset: auto;
    margin: 28px calc(var(--gutter) * -1) 0;
  }
  .hero-media img { height: auto; aspect-ratio: 4 / 3; object-position: 80% 50%; }
  .hero-media .temp-tag { bottom: auto; top: 10px; left: 10px; }
  .hero-copy { max-width: none; }
}

@media (min-width: 760px) {
  .nav { display: flex; }
  .hero { padding: 140px 48px 48px; align-items: center; min-height: 80vh; min-height: 80svh; }
  .hero-media img { object-position: 62% 50%; }
  .hero-copy { max-width: 560px; }
  .section { padding: 80px 48px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .sauce-tabs { grid-template-columns: repeat(3, 1fr); }
  .sauce-feature { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 22px; }
  .sauce-media { aspect-ratio: 1 / 1; }
  .meal-grid { grid-template-columns: 1fr 1fr; }
  .final { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .final-img { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .final-copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
  .paper-band { height: 96px; margin: 0 -48px 40px; }
  .sticky-order { display: none; }
  body { padding-bottom: var(--safe-b); }
  .site-footer { padding-bottom: 28px; }
  .toast { bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
