/* porcelain plate · kitchen stone · herb · saffron */

:root {
  --stone: #e5e0d6;
  --stone-2: #efebe3;
  --porcelain: #fffcf7;
  --ink: #1c241c;
  --quiet: #5a6558;
  --line: #c4bbae;
  --herb: #2f6b4f;
  --herb-soft: #d7ebe0;
  --saffron: #c99212;
  --saffron-soft: #f5e6c0;
  --pad: clamp(1rem, 3vw, 1.55rem);
  --display: "Literata", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(47, 107, 79, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(201, 146, 18, 0.08), transparent 50%),
    linear-gradient(180deg, #ebe6dc 0%, var(--stone) 45%, #d9d2c6 100%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--herb);
  outline-offset: 3px;
}

.scale {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 0 var(--pad) 3rem;
}

.mast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem 1.4rem;
  align-items: center;
  margin: 0.85rem 0 1.25rem;
  padding: 0.85rem 1rem 0.9rem 1.05rem;
  background: var(--porcelain);
  border: 1px solid rgba(28, 36, 28, 0.1);
  border-radius: 1.15rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 28px rgba(28, 36, 28, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 40%, #fff 0 34%, var(--porcelain) 35% 52%, #e4ddd1 53% 68%, transparent 69%),
    radial-gradient(circle at 50% 50%, var(--herb-soft), #b9d0c2 72%);
  border: 1px solid rgba(28, 36, 28, 0.12);
  box-shadow:
    inset 0 0 0 5px rgba(255, 252, 247, 0.5),
    0 4px 10px rgba(47, 107, 79, 0.14);
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: var(--stone-2);
  border: 1px solid transparent;
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 180ms ease;
}

.nav a:hover {
  background: var(--herb-soft);
  border-color: rgba(47, 107, 79, 0.22);
  color: var(--herb);
  transform: translateY(-1px);
}

.rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

.hero-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.15rem;
  margin: 0.35rem 0 1.7rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-band > div:first-child {
  padding: 1.35rem 1.4rem 1.45rem;
  background: var(--porcelain);
  border-radius: 1.5rem 1.5rem 1.5rem 0.4rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 40px rgba(28, 36, 28, 0.08);
}

.hero-band h1 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 15ch;
}

.hero-band .lead {
  margin: 0;
  color: var(--quiet);
  max-width: 38ch;
  font-size: 0.98rem;
}

.hero-band .tick {
  align-self: stretch;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.2rem;
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 260px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 45% 38%, #fff 0 38%, var(--porcelain) 39% 56%, #e8e2d6 57% 70%, transparent 71%),
    radial-gradient(circle at 50% 50%, var(--herb-soft), #c5d9cc 70%);
  border: 1px solid rgba(28, 36, 28, 0.1);
  box-shadow:
    inset 0 0 0 10px rgba(255, 252, 247, 0.55),
    0 14px 32px rgba(28, 36, 28, 0.1);
  animation: tick-float 5.5s ease-in-out infinite;
}

@keyframes tick-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-band .tick b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 2.85rem);
  font-weight: 600;
  color: var(--herb);
  line-height: 1;
}

.hero-band .tick span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
  font-weight: 700;
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
}

.stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.15rem;
  margin-bottom: 1.6rem;
  padding: 1.25rem;
  background: var(--porcelain);
  border-radius: 1.35rem;
  border: 1px solid rgba(28, 36, 28, 0.08);
  box-shadow: 0 14px 36px rgba(28, 36, 28, 0.06);
}

.plate-h {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--ink);
}

.plate-lead {
  margin: 0 0 1rem;
  color: var(--quiet);
  font-size: 0.95rem;
  max-width: 42ch;
}

.plate {
  position: relative;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 40%, #fffef9 0 40%, #f3eee5 41% 58%, #ddd5c8 59% 72%, transparent 73%),
    linear-gradient(150deg, #e8e2d6, #d2c9ba);
  border: 1px solid rgba(28, 36, 28, 0.1);
  box-shadow:
    inset 0 0 0 14px rgba(255, 252, 247, 0.45),
    0 10px 28px rgba(28, 36, 28, 0.1);
}

.bit {
  position: absolute;
  border: 0;
  cursor: pointer;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: var(--herb);
  color: #f6fbf7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 220ms ease, opacity 160ms ease, background 160ms ease, box-shadow 220ms ease;
  box-shadow: 0 4px 12px rgba(47, 107, 79, 0.25);
}

.bit[aria-pressed="false"] {
  opacity: 0.42;
  background: #8a9488;
  box-shadow: none;
}

.bit:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(47, 107, 79, 0.28); }

.bit.is-tap { animation: bit-tap 280ms ease; }

@keyframes bit-tap {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.steam {
  position: absolute;
  left: 42%;
  top: 18%;
  width: 28%;
  height: 22%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255, 255, 255, 0.55), transparent 62%),
    radial-gradient(ellipse at 70% 70%, rgba(255, 255, 255, 0.4), transparent 60%);
  filter: blur(2px);
  opacity: 0.55;
  animation: steam-rise 4.2s ease-in-out infinite;
}

@keyframes steam-rise {
  0%, 100% { transform: translateY(4px) scaleY(0.92); opacity: 0.25; }
  50% { transform: translateY(-10px) scaleY(1.08); opacity: 0.65; }
}

.bit-salmon { left: 26%; top: 32%; }
.bit-leaf { left: 52%; top: 26%; }
.bit-tomato { left: 48%; top: 52%; }
.bit-oil { left: 28%; top: 58%; }

.plate-note {
  margin: 0.85rem 0 0;
  font-size: 0.86rem;
  color: var(--quiet);
  max-width: 42ch;
}

.sheet {
  background: var(--stone-2);
  border: 1px solid rgba(28, 36, 28, 0.1);
  border-radius: 1rem;
  padding: 1.05rem 1.1rem 1.15rem;
  box-shadow: none;
}

.sheet h2 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
}

.sheet .aside {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--quiet);
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0;
  border-top: 1px solid rgba(196, 187, 174, 0.65);
  font-size: 0.92rem;
}

.rows li.is-off {
  opacity: 0.35;
  text-decoration: line-through;
}

.rows b {
  font-variant-numeric: tabular-nums;
  color: var(--herb);
  font-weight: 700;
}

.total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.7rem 0 0;
  padding-top: 0.7rem;
  border-top: 2px solid var(--ink);
  font-weight: 700;
}

.total b {
  color: var(--saffron);
  font-variant-numeric: tabular-nums;
}

.total.is-pulse b {
  animation: total-flash 420ms ease;
}

@keyframes total-flash {
  0% { transform: scale(1); }
  35% { transform: scale(1.06); color: #a8750a; }
  100% { transform: scale(1); }
}

.norm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.6rem;
  padding: 1.25rem;
  background: var(--herb-soft);
  border-radius: 1.35rem;
  border: 1px solid rgba(47, 107, 79, 0.18);
}

.norm-copy { grid-column: 1 / -1; }

.norm-copy h2,
.foods > div:first-child h2,
.limits h2,
.queue h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 600;
  color: var(--ink);
}

.norm-copy p,
.foods-lead,
.queue .blurb {
  margin: 0;
  color: var(--quiet);
  max-width: 58ch;
}

.norm-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  align-content: start;
}

.nf {
  display: grid;
  gap: 0.28rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--quiet);
}

.nf-wide { grid-column: 1 / -1; }

.nf input,
.nf select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--porcelain);
  border-radius: 0.55rem;
}

.norm-sheet {
  align-self: stretch;
  background: var(--porcelain);
}

.foods {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.6rem;
  padding: 1.25rem;
  background: var(--porcelain);
  border-radius: 1.35rem;
  border: 1px solid rgba(28, 36, 28, 0.08);
}

.foods > div:first-child { grid-column: 1 / -1; }

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

.food {
  border: 1px solid var(--line);
  background: var(--stone-2);
  padding: 0.55rem 0.45rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  border-radius: 0.65rem;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.food[aria-pressed="true"] {
  background: var(--herb);
  border-color: var(--herb);
  color: #f6fbf7;
  box-shadow: 0 6px 14px rgba(47, 107, 79, 0.22);
}

.food:hover {
  border-color: var(--herb);
  transform: translateY(-3px);
}

.limits {
  margin-bottom: 1.6rem;
  padding: 1.2rem 1.3rem 1.3rem;
  border-left: 0;
  border-radius: 1.2rem;
  background: var(--saffron-soft);
  border: 1px solid rgba(201, 146, 18, 0.28);
}

.limits dl {
  margin: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.limits dt {
  font-weight: 800;
  color: var(--herb);
  margin-bottom: 0.18rem;
  font-size: 0.84rem;
}

.limits dd {
  margin: 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.queue {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem 1.35rem;
  padding: 1.3rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(47, 107, 79, 0.96), rgba(28, 52, 40, 0.98));
  color: #eef7f1;
}

.queue h2 { color: #fff; }
.queue .blurb { color: rgba(238, 247, 241, 0.82); }
.queue a { color: var(--saffron-soft); }

.form {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(238, 247, 241, 0.78);
}

.field input {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  border-radius: 0.55rem;
}

.btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
  padding: 0.72rem 1.15rem;
  background: var(--saffron);
  color: #1c1808;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 160ms ease;
  box-shadow: 0 6px 16px rgba(201, 146, 18, 0.28);
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(201, 146, 18, 0.36);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: rgba(238, 247, 241, 0.78);
  align-items: start;
}

.err {
  margin: 0;
  min-height: 1.2em;
  color: #ffc9b8;
  font-size: 0.86rem;
}

.prose {
  margin: 0.4rem 0 1.5rem;
  padding: 1.25rem 1.3rem 1.4rem;
  background: var(--porcelain);
  border-radius: 1.2rem;
  border: 1px solid rgba(28, 36, 28, 0.08);
}

.prose h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 1.95rem);
  font-weight: 600;
  color: var(--ink);
}

.prose p {
  margin: 0 0 0.75rem;
  color: var(--quiet);
  max-width: 62ch;
}

.prose a {
  color: var(--herb);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.foot {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 36, 28, 0.16);
  font-size: 0.84rem;
  color: var(--quiet);
}

.foot p { margin: 0 0 0.45rem; }
.foot a { text-decoration: underline; text-underline-offset: 2px; }
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.95rem;
  margin-top: 0.65rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(320px, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  background: var(--ink);
  color: #f3f7fb;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.toast[hidden] { display: none; }
.toast strong { display: block; margin-bottom: 0.25rem; }
.toast p { margin: 0; color: #a8b6c4; font-size: 0.88rem; }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--pad);
  background: rgba(28, 36, 28, 0.96);
  color: #eef7f1;
  font-size: 0.88rem;
}

.cookie[hidden] { display: none; }
.cookie a { color: var(--saffron-soft); }
.cookie button {
  border: 0;
  cursor: pointer;
  padding: 0.5rem 0.9rem;
  background: var(--herb);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .hero-band,
  .stage,
  .norm,
  .foods,
  .queue,
  .limits dl {
    grid-template-columns: 1fr;
  }

  .hero-band .tick {
    max-width: 180px;
    min-height: auto;
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .mast {
    grid-template-columns: 1fr;
    padding: 0.8rem 0.85rem 0.9rem;
    border-radius: 1rem;
  }

  .nav {
    gap: 0.3rem;
  }

  .nav a {
    padding: 0.38rem 0.62rem;
    font-size: 0.82rem;
  }

  .norm-form {
    grid-template-columns: 1fr;
  }

  .nf-wide { grid-column: auto; }
}

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

  .rise {
    opacity: 1;
    transform: none;
  }
}
