:root {
  color-scheme: light;
  --ink: #21190f;
  --muted: #6c5c4a;
  --paper: #fffaf2;
  --surface: #ffffff;
  --line: #ead8bd;
  --leaf: #275638;
  --leaf-soft: #dfe8d5;
  --spice: #a73f1d;
  --spice-dark: #7d2d16;
  --gold: #f2bb4a;
  --shadow: 0 20px 55px rgba(59, 37, 16, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
select,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.noscript-note {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #fff4e2;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 20px;
  text-align: center;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.is-scrolled .brand,
.is-scrolled .nav-links a,
.is-scrolled .nav-toggle {
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--spice);
  color: white;
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: white;
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.is-scrolled .nav-links a:hover {
  background: var(--leaf-soft);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  padding: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(242, 187, 74, 0.28), transparent 34%),
    var(--paper);
  transition: opacity 380ms ease, visibility 380ms ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader-card {
  width: min(360px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
}

.cooker {
  position: relative;
  width: 150px;
  height: 130px;
  margin: 0 auto 18px;
}

.cooker-steam {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 16px;
  height: 70px;
}

.cooker-steam span {
  width: 10px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(167, 63, 29, 0), rgba(167, 63, 29, 0.28), rgba(167, 63, 29, 0));
  filter: blur(4px);
  animation: steam-rise 1.8s ease-in-out infinite;
}

.cooker-steam span:nth-child(2) {
  animation-delay: 280ms;
}

.cooker-steam span:nth-child(3) {
  animation-delay: 560ms;
}

.cooker-pot {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 22px;
  height: 58px;
  border-radius: 8px 8px 28px 28px;
  background: linear-gradient(180deg, #ffe0a0, #d7692e);
  box-shadow: inset 0 -10px 0 rgba(125, 45, 22, 0.18);
}

.cooker-pot::before,
.cooker-pot::after {
  content: "";
  position: absolute;
  top: 17px;
  width: 20px;
  height: 18px;
  border: 6px solid #d7692e;
  border-radius: 999px;
}

.cooker-pot::before {
  left: -22px;
}

.cooker-pot::after {
  right: -22px;
}

.bubble {
  position: absolute;
  bottom: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.82);
  animation: bubble-pop 1.2s ease-in-out infinite;
}

.bubble-one {
  left: 32px;
}

.bubble-two {
  left: 58px;
  animation-delay: 250ms;
}

.bubble-three {
  right: 34px;
  animation-delay: 520ms;
}

.cooker-flame {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 34px;
  border-radius: 60% 60% 55% 55%;
  background: linear-gradient(180deg, #ffd56f, #d94719);
  transform: translateX(-50%);
  animation: flame-flicker 620ms ease-in-out infinite alternate;
}

.loader-title {
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 800;
}

.loader-copy {
  margin-bottom: 18px;
  color: var(--muted);
}

.loader-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--leaf-soft);
}

.loader-bar span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: var(--spice);
  animation: loader-sweep 1.25s ease-in-out infinite;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px 20px 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 12, 7, 0.84), rgba(20, 12, 7, 0.34) 58%, rgba(20, 12, 7, 0.12)),
    linear-gradient(0deg, rgba(20, 12, 7, 0.62), transparent 46%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  width: min(1160px, 100%);
  color: white;
  animation: hero-rise 700ms ease-out both;
}

.steam {
  position: absolute;
  right: clamp(180px, 30vw, 470px);
  bottom: clamp(360px, 50vh, 520px);
  display: flex;
  gap: 16px;
  opacity: 0.62;
  pointer-events: none;
}

.steam span {
  width: 12px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 245, 219, 0.9), rgba(255, 255, 255, 0));
  filter: blur(7px);
  transform-origin: bottom;
  animation: hero-steam-rise 3.4s ease-in-out infinite;
}

.steam span:nth-child(2) {
  height: 116px;
  animation-delay: 650ms;
}

.steam span:nth-child(3) {
  height: 82px;
  animation-delay: 1.2s;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--spice);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd77a;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--spice);
  color: white;
}

.button.primary:hover {
  background: var(--spice-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button.quiet {
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
  color: white;
}

.button.quiet:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 20px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  column-gap: 48px;
  row-gap: 18px;
  align-items: center;
}

.intro p:last-child,
.ritual-copy p,
.order-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro .memory-line {
  grid-column: 2;
  width: 100%;
  margin: 4px 0 0;
  border-left: 3px solid var(--spice);
  border-radius: 0 8px 8px 0;
  background: #fff4e2;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 14px 16px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.menu-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(59, 37, 16, 0.04);
  padding: 24px;
}

.menu-card p {
  color: var(--muted);
}

.menu-label {
  color: var(--leaf);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  width: max-content;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf);
  font-weight: 800;
  padding: 8px 12px;
}

.ritual {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.steps span {
  color: var(--spice);
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.steps p {
  grid-column: 2;
  color: var(--muted);
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: stretch;
}

.order-panel,
.summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.order-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label,
legend {
  color: var(--ink);
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 0 12px;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  margin: 0;
  padding: 0;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  padding: 9px 12px;
}

fieldset label:has(input:checked) {
  border-color: rgba(167, 63, 29, 0.48);
  background: #fff1d8;
  box-shadow: 0 0 0 3px rgba(242, 187, 74, 0.2);
}

.mood-picker label {
  background: #fff7e8;
}

.mood-picker input:checked {
  accent-color: var(--spice);
}

.summary {
  background: var(--leaf);
  color: white;
}

.summary .eyebrow,
.summary p {
  color: rgba(255, 255, 255, 0.78);
}

.summary .button {
  width: 100%;
  margin-top: 18px;
  background: var(--gold);
  color: var(--ink);
}

.summary .button:hover {
  background: #ffd56f;
}

.summary .button.quiet {
  margin-top: 10px;
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: white;
}

.summary .button.quiet:hover {
  background: rgba(255, 255, 255, 0.12);
}

.comfort-meter {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.comfort-meter div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.comfort-meter span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comfort-meter strong {
  color: white;
  font-size: 0.95rem;
}

.meter-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.meter-track span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #ffe0a0);
  transition: width 180ms ease;
}

.comfort-note {
  margin: 14px 0 0;
  font-weight: 700;
}

.receipt-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.receipt-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 10px;
}

.receipt-lines dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.receipt-lines dd {
  margin: 0;
  color: white;
  font-weight: 800;
}

.pickup-meta {
  margin: 18px 0 0;
  font-weight: 800;
}

.reservation-steam {
  display: flex;
  justify-content: center;
  gap: 14px;
  height: 58px;
  margin-top: 14px;
}

.reservation-steam span {
  width: 11px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 238, 189, 0.86), rgba(255, 255, 255, 0));
  filter: blur(5px);
  animation: summary-steam-rise 2.2s ease-in-out infinite;
}

.reservation-steam span:nth-child(2) {
  height: 44px;
  animation-delay: 520ms;
}

.order-progress {
  height: 9px;
  overflow: hidden;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.order-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  animation: loader-sweep 1s ease-in-out infinite;
}

.toast {
  margin: 16px 0 0;
  font-weight: 700;
}

.toast:not([hidden]) {
  animation: toast-in 220ms ease-out both;
}

.accessibility {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.accessibility h2 {
  max-width: 560px;
}

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

.accessibility-list li {
  border-left: 3px solid var(--leaf);
  border-radius: 0 8px 8px 0;
  background: #fff4e2;
  color: var(--muted);
  font-weight: 700;
  padding: 13px 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 20px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    display: none;
    min-width: 180px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 8px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    color: var(--ink);
  }

  .intro,
  .ritual,
  .order,
  .accessibility {
    grid-template-columns: 1fr;
  }

  .intro .memory-line {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: 88svh;
    padding-bottom: 44px;
  }

  .section {
    padding: 60px 16px;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .steam {
    right: 104px;
    bottom: 58vh;
    transform: scale(0.56);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-steam-rise {
  0% {
    opacity: 0;
    transform: translateY(26px) scaleX(0.8);
  }
  45% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-22px) scaleX(1.25);
  }
}

@keyframes steam-rise {
  0% {
    opacity: 0;
    transform: translateY(18px) scaleX(0.7);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-18px) scaleX(1.15);
  }
}

@keyframes bubble-pop {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(8px) scale(0.7);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px) scale(1);
  }
}

@keyframes flame-flicker {
  from {
    transform: translateX(-50%) scaleX(0.88) scaleY(0.92);
  }
  to {
    transform: translateX(-50%) scaleX(1.08) scaleY(1.08);
  }
}

@keyframes loader-sweep {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(230%);
  }
}

@keyframes summary-steam-rise {
  0% {
    opacity: 0;
    transform: translateY(14px) scaleX(0.78);
  }
  45% {
    opacity: 0.86;
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scaleX(1.18);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
