/* stone table, olive ink, ceramic plate */

:root {
  --stone: #d8d5cd;
  --sheet: #f4f2eb;
  --ink: #1c2118;
  --olive: #3e4b32;
  --olive-ink: #2a3422;
  --rule: #c3bfb4;
  --quiet: #5c6256;
  --face: #f3f5ee;
  --clay: #8d3e34;
  --pad: 1.4rem;
  --type: "Fraunces", 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;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

button,
input { font: inherit; color: inherit; }

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

.desk {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 var(--pad) 2.5rem;
}

.mast {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0 0.85rem;
  border-bottom: 1px solid var(--ink);
}

.brand {
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  display: block;
  font-family: var(--type);
  font-size: 1.55rem;
  font-weight: 560;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.28rem;
  color: var(--quiet);
  font-size: 0.75rem;
  font-weight: 650;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover { text-decoration: underline; }

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.72fr);
  gap: 2.2rem;
  align-items: start;
  padding: 1.7rem 0 0.4rem;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--type);
  font-size: clamp(2.2rem, 4.6vw, 4.05rem);
  font-weight: 560;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1.08rem;
}

.plate {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  margin-top: 1.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, #f7f6f1 0 58%, #e6e2d8 59% 70%, #b7b2a6 71% 76%, #f3f1ea 77% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(28, 33, 24, 0.18),
    0 16px 28px rgba(40, 44, 36, 0.08);
}

.bit {
  position: absolute;
  min-height: 44px;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 2px;
  background: var(--olive);
  color: var(--face);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.bit[aria-pressed="false"] {
  background: rgba(244, 242, 235, 0.88);
  color: var(--olive-ink);
  box-shadow: inset 0 0 0 1.5px var(--olive);
}

.bit-salmon { top: 34%; left: 18%; }
.bit-leaf { top: 16%; left: 52%; }
.bit-tomato { top: 60%; left: 12%; }
.bit-oil { top: 66%; left: 54%; }

.plate-note {
  max-width: 28rem;
  margin: 0.9rem 0 0;
  color: var(--quiet);
  font-size: 0.95rem;
}

.sheet {
  position: sticky;
  top: 1rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
}

.sheet h2 {
  margin: 0 0 0.35rem;
  font-family: var(--type);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

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

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

.rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--rule);
}

.rows li.is-off {
  color: var(--quiet);
}

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

.total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.85rem 0 0;
  font-family: var(--type);
  font-size: 1.45rem;
  font-weight: 600;
}

.limits {
  padding: 1.4rem 0 0.4rem;
}

.limits h2 {
  margin: 0 0 0.2rem;
  font-family: var(--type);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.limits dl { margin: 0; }

.limits div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}

.limits dt {
  font-family: var(--type);
  font-size: 1.4rem;
  font-weight: 600;
}

.limits dd {
  margin: 0;
  max-width: 42rem;
}

.queue {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2rem;
  margin: 1.3rem calc(var(--pad) * -1) 0;
  padding: 1.55rem var(--pad) 1.7rem;
  background: var(--olive);
  color: var(--face);
  scroll-margin-top: 0.5rem;
}

.queue h2 {
  margin: 0 0 0.45rem;
  font-family: var(--type);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.queue .blurb {
  margin: 0;
  max-width: 34rem;
}

.field { display: block; }

.field span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1px solid rgba(243, 245, 238, 0.55);
  background: transparent;
  color: var(--face);
}

.field input::placeholder { color: rgba(243, 245, 238, 0.62); }

.btn {
  width: 100%;
  min-height: 48px;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 2px;
  background: var(--face);
  color: var(--olive-ink);
  font-weight: 750;
  font-weight: 700;
  cursor: pointer;
}

.btn:disabled { opacity: 0.55; cursor: wait; }

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--sheet);
}

.consent a { color: var(--face); }

.err {
  min-height: 1.3em;
  margin: 0.55rem 0 0;
  color: #ffd0c6;
  font-weight: 650;
  font-weight: 600;
}

.foot {
  padding: 1.3rem 0 0.4rem;
  color: var(--quiet);
  font-size: 0.92rem;
}

.foot p {
  max-width: 62rem;
  margin: 0 0 0.45rem;
  overflow-wrap: anywhere;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.6rem;
}

.foot a { font-weight: 650; font-weight: 600; }

.prose {
  max-width: 40rem;
  padding: 1.6rem 0 2rem;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.prose p { overflow-wrap: anywhere; }

.prose a { color: var(--olive-ink); font-weight: 700; }

.cookie {
  position: fixed;
  z-index: 30;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  width: min(34rem, calc(100% - 2rem));
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
  color: var(--ink);
}

.cookie[hidden] { display: none; }

.cookie p { margin: 0; font-size: 0.92rem; }

.cookie button {
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border: 0;
  border-radius: 2px;
  background: var(--olive);
  color: var(--face);
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}

.toast {
  position: fixed;
  z-index: 32;
  right: 1rem;
  bottom: 5.4rem;
  width: min(18rem, calc(100% - 2rem));
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
  color: var(--ink);
}

.toast[hidden] { display: none; }

.toast strong {
  display: block;
  font-family: var(--type);
  font-size: 1.25rem;
  font-weight: 600;
}

.toast p { margin: 0.25rem 0 0; }

@media (max-width: 860px) {
  :root { --pad: 1.25rem; }

  .mast { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .stage,
  .queue,
  .limits div { grid-template-columns: 1fr; }
  .sheet { position: static; }
  h1 { max-width: 18ch; }
}

@media (max-width: 420px) {
  .bit { font-size: 0.75rem; }
  .cookie { align-items: stretch; flex-direction: column; }
  .cookie button { width: 100%; }
}
