/* ————————————————————————————————————————
   KETO.WANG — takeout box red & white
   ———————————————————————————————————————— */

:root {
  --bg: #FAF6F0;
  --card: #FFFFFF;
  --line: #EADFCE;
  --ink: #221A16;
  --muted: #7A6F64;
  --red: #B5121B;
  --red-bright: #D42430;
  --gold: #D9A441;
  --display: "Rubik", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(85% 55% at 50% -8%, #F3E9DA, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

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

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

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--red); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 13.5px;
  font-weight: 600;
}

.site-header nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-header nav a:hover { color: var(--red); }

/* hero */

.hero {
  position: relative;
  padding: clamp(76px, 12vh, 140px) var(--gutter) clamp(70px, 11vh, 116px);
  overflow: hidden;
}

.lantern-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(36% 30% at 86% 10%, rgba(181, 18, 27, 0.10), transparent 65%),
    radial-gradient(40% 32% at 8% 90%, rgba(217, 164, 65, 0.14), transparent 65%);
}

.kicker {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.hero h1 {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 8.8vw, 106px);
  line-height: 0.99;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero h1 em { font-style: normal; color: var(--red); }

.lede {
  position: relative;
  max-width: 58ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  box-shadow: 0 12px 30px rgba(181, 18, 27, 0.25);
  transition: transform 0.15s, background 0.2s;
}

.hero-cta:hover { background: var(--red-bright); transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(58px, 9vh, 106px) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head { max-width: 800px; margin-bottom: clamp(26px, 4vh, 42px); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p { color: var(--muted); max-width: 58ch; }

/* dishes */

.menu { max-width: 900px; display: grid; gap: 14px; }

.dish {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(34, 26, 22, 0.05);
  transition: border-color 0.25s;
}

.dish:hover { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); }
.dish[open] { border-color: var(--red); }

.dish summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 20px 24px;
}

.dish summary::-webkit-details-marker { display: none; }

.dish summary::after {
  content: "+";
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--red);
  margin-left: auto;
  transition: transform 0.25s;
}

.dish[open] summary::after { transform: rotate(45deg); }

.dish-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing: -0.01em;
}

.dish-meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.recipe {
  border-top: 1px dashed var(--line);
  padding: 22px 24px 26px;
}

.swap {
  background: color-mix(in srgb, var(--gold) 16%, var(--card));
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 16px;
}

.recipe-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.recipe h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.recipe ul, .recipe ol { padding-left: 20px; color: var(--muted); font-size: 15px; }

.recipe li { margin-bottom: 7px; }

.recipe li::marker { color: var(--red); }

/* pantry */

.pantry { list-style: none; max-width: 780px; }

.pantry li {
  padding: 16px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.pantry li:first-child { border-top: 1px dashed var(--line); }

.pantry strong { color: var(--ink); font-family: var(--display); font-weight: 700; }

/* footer */

.site-footer {
  padding: 36px var(--gutter) 50px;
  border-top: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links span { color: var(--muted); }
.footer-links a { text-decoration: none; color: var(--red); }
.footer-links a:hover { color: var(--ink); }

.site-footer > p { color: var(--muted); font-size: 13px; max-width: 76ch; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-cta:hover { transform: none; }
  .dish summary::after { transition: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
}
