/* ============================================================
   Byte & Batter — site styles
   Palette derived from the spice cupboard: clove, turmeric,
   saffron, cardamom, milk.
   ============================================================ */

:root {
  --clove:      #17100E;
  --clove-deep: #0E0908;
  --ember:      #241813;
  --ember-2:    #2F201A;
  --line:       #3B2A22;

  --turmeric:   #E9A227;
  --saffron:    #D2551F;
  --cardamom:   #8FAE66;
  --milk:       #F5EADA;
  --ash:        #A89486;

  --f-display: "Rozha One", Georgia, serif;
  --f-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--clove);
  color: var(--milk);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--turmeric); color: var(--clove);
  padding: .75rem 1.25rem; font-weight: 700; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

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

/* Keep anchored sections clear of the sticky header. */
#story, #menu, #sea-moss, #gallery, #order, #main, #top { scroll-margin-top: 84px; }

/* ---------- Type ---------- */

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 1.1rem;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--turmeric);
  margin: 0 0 1.4rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--turmeric);
  color: var(--clove-deep);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .85rem 1.5rem;
  border: 1px solid var(--turmeric);
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: #F6B740; border-color: #F6B740; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--milk); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--turmeric); color: var(--turmeric); }

.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--big { padding: 1.05rem 2rem; font-size: 1.02rem; white-space: nowrap; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(23,16,14,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }

.mark {
  font-family: var(--f-display);
  font-size: 1.32rem;
  text-decoration: none;
  color: var(--milk);
  display: inline-flex; align-items: baseline; gap: .3rem;
  white-space: nowrap;
  margin-right: auto;
}
.mark__amp { color: var(--saffron); font-size: 1.18em; line-height: 0; position: relative; top: .06em; }

.nav__links { display: flex; gap: 1.75rem; }
.nav__links a {
  font-size: .9rem; text-decoration: none; color: var(--ash);
  transition: color .18s ease; padding-block: .35rem;
}
.nav__links a:hover { color: var(--milk); }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--milk); padding: .5rem .7rem; cursor: pointer; font-size: .8rem;
  font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav__in { gap: .75rem; }
  .nav__toggle { display: block; order: 3; }
  .nav .btn--sm { display: none; }
  .nav__links {
    order: 4; flex-basis: 100%; flex-direction: column; gap: 0;
    display: none; padding-bottom: 1rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: .85rem 0; border-top: 1px solid var(--line);
    font-size: 1rem; color: var(--milk);
  }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero__h1 {
  font-family: var(--f-display);
  font-weight: 400;
  /* Sized so each written line holds on one visual line. */
  font-size: clamp(2.4rem, 1rem + 4.6vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.012em;
  margin: 0 0 1.5rem;
}
.hero__h1 span { display: block; }
.hero__h1--hot { color: var(--saffron); }

.hero__lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  color: var(--ash);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hero__lede em { color: var(--milk); font-style: italic; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__fig { margin: 0; position: relative; }
.hero__fig img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 260px 260px 8px 8px;
  border: 1px solid var(--line);
}
.hero__fig figcaption {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ash);
  margin-top: .9rem;
  text-align: center;
}

@media (max-width: 860px) {
  /* Copy first on small screens: the headline and the order button must
     clear the cookie notice on a first visit. */
  .hero { padding-top: clamp(2.25rem, 6vw, 3.5rem); }
  .hero__in { grid-template-columns: 1fr; }
  .hero__fig { max-width: 340px; margin-inline: auto; }
  .hero__fig img { border-radius: 170px 170px 8px 8px; }
}

/* ---------- Ticker ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--ember);
  overflow: hidden;
  padding: .85rem 0;
}
.ticker__track {
  display: flex; align-items: center; gap: 1.5rem;
  width: max-content;
  animation: slide 38s linear infinite;
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ash);
}
.ticker__track i { color: var(--saffron); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- Story ---------- */

.story { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; overflow: hidden; }
.story .wrap { position: relative; }
.story__amp {
  position: absolute;
  top: -.35em; right: 0;
  font-family: var(--f-display);
  font-size: clamp(14rem, 30vw, 26rem);
  line-height: 1;
  color: var(--ember-2);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.story .h2, .story__grid { position: relative; z-index: 1; }
.story .h2 { max-width: 16ch; }

.story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.col { display: flex; flex-direction: column; }
.col__fig { margin: 0 0 1.5rem; }
.col__fig img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line);
  filter: saturate(1.05);
}
.col__h {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem);
  line-height: 1.1; margin: 0 0 .8rem;
}
.col p { margin: 0 0 1rem; color: var(--ash); }
.col__note {
  font-family: var(--f-mono); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--turmeric) !important;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: auto; /* pins the note to the bottom so both columns line up */
  margin-bottom: 0 !important;
}

@media (max-width: 760px) { .story__grid { grid-template-columns: 1fr; } }

/* ---------- Menu / thermal rail ---------- */

.menu { padding: clamp(4rem, 9vw, 7.5rem) 0; background: var(--clove-deep); border-block: 1px solid var(--line); }
.menu__head { max-width: 54ch; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.menu__intro { color: var(--ash); margin: 0; }

/* Vertical padding reserves a clear band for the Warming / Cooling caps
   so they never collide with the first group heading or the last item. */
.rail { position: relative; padding-left: clamp(2.5rem, 5vw, 4.5rem); padding-block: 3rem; }

.rail__line {
  position: absolute; left: clamp(.55rem, 1.4vw, 1.15rem); top: 3rem; bottom: 3rem;
  width: 2px; background: var(--line); border-radius: 2px;
}
.rail__fill {
  position: absolute; inset: 0 0 auto 0;
  height: 0;
  background: linear-gradient(180deg, var(--saffron) 0%, var(--turmeric) 45%, #B9B45C 72%, var(--cardamom) 100%);
  border-radius: 2px;
  transition: height .25s linear;
}
.rail__cap {
  position: absolute; left: clamp(.55rem, 1.4vw, 1.15rem);
  font-family: var(--f-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 0; white-space: nowrap;
  transform-origin: 0 0;
}
.rail__cap--top { top: .55rem; color: var(--saffron); transform: translateX(-1px); }
.rail__cap--bot { bottom: .55rem; color: var(--cardamom); transform: translateX(-1px); }

.group { margin: clamp(2.75rem, 5vw, 4rem) 0 1.5rem; position: relative; }
.group:first-of-type { margin-top: 0; }
.group__h {
  font-family: var(--f-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--turmeric);
  margin: 0;
}
.group--cool .group__h { color: var(--cardamom); }
.group__sub { color: var(--ash); font-size: .95rem; margin: .75rem 0 0; max-width: 58ch; }

.item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name price" "desc price" "notes price";
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.item::before {
  content: "";
  position: absolute;
  left: calc(clamp(2.5rem, 5vw, 4.5rem) * -1 + clamp(.55rem, 1.4vw, 1.15rem) - 4px);
  top: 2.1rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clove-deep);
  border: 2px solid var(--turmeric);
}
.item--cool::before { border-color: var(--cardamom); }

.item__name {
  grid-area: name;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.15;
  margin: 0 0 .45rem;
}
.item--hero .item__name { color: var(--saffron); }
.item__desc { grid-area: desc; margin: 0 0 .7rem; color: var(--ash); max-width: 52ch; font-size: .98rem; }
.item__notes {
  grid-area: notes; margin: 0;
  font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #948072;
}
.item__price {
  grid-area: price; margin: 0;
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right; gap: 0;
}
.item__price span {
  font-family: var(--f-mono); font-size: 1.18rem; font-weight: 500;
  color: var(--milk); line-height: 1.3; white-space: nowrap;
}
.item__price small {
  font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: #948072; margin-bottom: .55rem;
}
.item__price small:last-child { margin-bottom: 0; }
.item__ask { font-size: .8rem !important; color: var(--cardamom) !important; letter-spacing: .04em; }

@media (max-width: 620px) {
  .item {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "desc" "notes" "price";
  }
  .item__price { align-items: flex-start; text-align: left; margin-top: 1rem; flex-direction: row; flex-wrap: wrap; gap: .25rem .9rem; align-items: baseline; }
  .item__price small { margin-bottom: 0; }
}

/* Pricing caveat sitting inside the rail, under a group of items. */
.railnote {
  margin: 1.5rem 0 0;
  padding: .9rem 1.15rem;
  background: var(--ember);
  border: 1px solid var(--line);
  border-left: 3px solid var(--turmeric);
  border-radius: var(--r);
  color: var(--ash);
  font-size: .92rem;
}

.offmenu {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ember);
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-left: 3px solid var(--cardamom);
}
.offmenu__h {
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cardamom); margin: 0 0 .75rem;
}
.offmenu p { margin: 0; color: var(--ash); font-size: .98rem; }
.offmenu p a { color: var(--turmeric); white-space: nowrap; }
.offmenu p strong { color: var(--milk); font-weight: 650; }
.offmenu + .offmenu { margin-top: 1rem; }
.offmenu--warn { border-left-color: var(--saffron); }
.offmenu__h--warn { color: var(--saffron); }

/* ---------- Sea moss collaboration ----------
   Its own register: this is a separate, shippable product line, so it
   takes the cool/green end of the palette rather than the bakery warmth. */

.moss {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  background:
    radial-gradient(120% 80% at 88% 0%, rgba(143,174,102,.10), transparent 62%),
    var(--clove);
  border-bottom: 1px solid var(--line);
}

.moss__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lockup {
  display: flex; align-items: center; flex-wrap: wrap; gap: .7rem;
  font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cardamom); margin: 0 0 1.4rem;
}
.lockup em { font-style: normal; color: var(--milk); font-size: 1.1rem; line-height: 1; }

.moss .h2 { max-width: 14ch; }
.moss__lede { color: var(--ash); max-width: 52ch; margin: 0 0 1.75rem; }

.moss__ship {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  margin: 0; padding: .7rem 1.1rem;
  border: 1px solid var(--line); border-left: 3px solid var(--cardamom);
  border-radius: var(--r); background: var(--ember);
  font-family: var(--f-mono); font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.moss__ship-k { color: var(--cardamom); }
.moss__ship-v { color: var(--ash); }

.moss__fig { margin: 0; }
.moss__fig img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line);
}
.moss__fig figcaption {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em;
  color: var(--ash); margin-top: .85rem; text-align: center;
}

.jars {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.jar {
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--ember); border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: var(--r);
}
.jar--green { border-top-color: var(--cardamom); background: linear-gradient(180deg, #26301F, var(--ember) 55%); }
.jar__tag {
  font-family: var(--f-mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: #948072; margin: 0 0 1rem;
}
.jar--green .jar__tag { color: var(--cardamom); }
.jar__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
  line-height: 1.15; margin: 0 0 .35rem;
}
.jar__size {
  font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #948072; margin: 0 0 1rem;
}
.jar__desc { color: var(--ash); font-size: .95rem; margin: 0 0 1.5rem; }
.jar__price {
  font-family: var(--f-mono); font-size: 1.5rem; font-weight: 500;
  color: var(--milk); margin: auto 0 0; padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.jar--green .jar__price { color: var(--cardamom); }

.moss__cta {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem;
}
.moss__cta p { margin: 0; color: var(--ash); font-size: .95rem; max-width: 46ch; }

@media (max-width: 900px) { .jars { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .moss__top { grid-template-columns: 1fr; }
  .moss__fig { max-width: 340px; margin-inline: auto; }
}

/* ---------- Gallery ---------- */

.gallery { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.gallery__head { max-width: 50ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.gallery__intro { color: var(--ash); margin: 0; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  grid-auto-flow: row dense; /* tall/wide tiles total 12 cells — no holes */
  gap: .9rem;
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }

.tile a {
  position: relative; display: block; height: 100%;
  overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line);
  text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.tile a:hover img { transform: scale(1.055); }
.tile__meta {
  position: absolute; inset: auto 0 0 0;
  padding: 2.75rem .9rem .85rem;
  background: linear-gradient(180deg, transparent, rgba(14,9,8,.92) 62%);
  display: flex; flex-direction: column; gap: .15rem;
}
.tile__meta b { font-size: .86rem; font-weight: 600; line-height: 1.25; color: var(--milk); }
.tile__meta i {
  font-style: normal; font-family: var(--f-mono);
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--turmeric);
}

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; } }
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .tile--wide { grid-column: span 2; }
}

.gallery__more { margin: 2.25rem 0 0; }
.gallery__more a {
  font-family: var(--f-mono); font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--turmeric); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.gallery__more a:hover { border-bottom-color: var(--turmeric); }

/* ---------- Order ---------- */

.order { padding: clamp(4rem, 9vw, 7.5rem) 0; background: var(--clove-deep); border-block: 1px solid var(--line); }

.steps {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  counter-reset: none;
}
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step__n {
  display: block;
  font-family: var(--f-display); font-size: 2.4rem; line-height: 1;
  color: var(--saffron); margin-bottom: .6rem;
}
.step__h { font-size: 1.12rem; font-weight: 650; margin: 0 0 .55rem; letter-spacing: -0.005em; }
.step p { margin: 0; color: var(--ash); font-size: .97rem; }

@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

.cater {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--ember-2), var(--ember));
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.cater__copy { flex: 1 1 26rem; }
.cater__h {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  line-height: 1.1; margin: 0 0 .7rem;
}
.cater p { margin: 0; color: var(--ash); max-width: 56ch; }

/* ---------- FAQ ---------- */

.faq { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.faq__list { margin: clamp(2rem, 4vw, 3rem) 0 0; max-width: 62rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; text-align: left;
  font-family: var(--f-body); font-size: 1.06rem; font-weight: 600; color: var(--milk);
  line-height: 1.4;
}
.faq__q::after {
  content: "+"; font-family: var(--f-mono); font-size: 1.3rem; line-height: 1;
  color: var(--turmeric); flex: none; transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; height: 0; transition: height .28s ease; }
.faq__a > div { padding: 0 0 1.5rem; color: var(--ash); max-width: 66ch; }
.faq__a p { margin: 0 0 .8rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--turmeric); }

/* ---------- Footer ---------- */

.foot { background: var(--clove-deep); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 0; }
.foot__in {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.mark--foot { font-size: 1.9rem; margin: 0 0 1rem; display: inline-flex; }
.foot__bio { color: var(--ash); margin: 0; font-size: .97rem; }

.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot__cols h3 {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--turmeric); margin: 0 0 1rem;
}
.foot__cols p { margin: 0 0 .65rem; color: var(--ash); font-size: .92rem; line-height: 1.55; }
.foot__cols a { color: var(--ash); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot__cols a:hover { color: var(--milk); border-bottom-color: var(--turmeric); }

.foot__legal {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 1.5rem var(--pad);
  max-width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  font-family: var(--f-mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: #948072;
}

@media (max-width: 860px) {
  .foot__in { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .foot__cols { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */

.cookie {
  position: fixed; z-index: 150;
  left: var(--pad); right: var(--pad); bottom: var(--pad);
  max-width: 44rem; margin-inline: auto;
  background: var(--ember);
  border: 1px solid var(--line);
  border-left: 3px solid var(--turmeric);
  border-radius: var(--r);
  padding: 1.35rem 1.5rem;
  display: none;
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
}
.cookie.is-shown { display: block; }
.cookie__h { font-size: 1rem; font-weight: 700; margin: 0 0 .5rem; }
.cookie p { margin: 0 0 1.1rem; font-size: .89rem; color: var(--ash); line-height: 1.6; }
.cookie p a { color: var(--turmeric); }
.cookie__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie__row .btn { padding: .65rem 1.25rem; font-size: .85rem; }

/* ---------- Back to top ---------- */

.totop {
  position: fixed; right: var(--pad); bottom: var(--pad); z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ember); border: 1px solid var(--line); color: var(--milk);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, border-color .2s ease;
  font-size: 1rem; line-height: 1;
}
.totop.is-shown { opacity: 1; visibility: visible; }
.totop:hover { border-color: var(--turmeric); color: var(--turmeric); }
body.cookie-open .totop { display: none; }

/* ---------- Interior pages ---------- */

.page { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.page__head { max-width: 58ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page__lede { color: var(--ash); font-size: 1.1rem; margin: 0; }
.page__updated {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: #948072; margin: 1.25rem 0 0;
}

.prose { max-width: 68ch; }
.prose h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  line-height: 1.15; margin: 2.75rem 0 .9rem;
  padding-top: 2.25rem; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; font-weight: 650; margin: 1.75rem 0 .5rem; }
.prose p, .prose li { color: var(--ash); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.25rem; padding-left: 1.15rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--turmeric); }
.prose strong { color: var(--milk); font-weight: 650; }

.callout {
  background: var(--ember); border: 1px solid var(--line);
  border-left: 3px solid var(--saffron);
  border-radius: var(--r); padding: 1.35rem 1.5rem; margin: 0 0 2rem;
}
.callout p { margin: 0; color: var(--milk); font-size: .96rem; }
.callout p + p { margin-top: .75rem; }

.allergen-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .93rem; }
.allergen-table caption {
  text-align: left; font-family: var(--f-mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--turmeric);
  padding-bottom: .85rem;
}
.allergen-table th, .allergen-table td {
  text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top;
}
.allergen-table th { font-weight: 650; color: var(--milk); font-size: .82rem; letter-spacing: .04em; }
.allergen-table td { color: var(--ash); }
.allergen-table tbody th { font-weight: 600; color: var(--milk); }
/* The allergen table needs more room than the reading measure allows. */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem;
  width: min(48rem, calc(100vw - var(--pad) * 2));
}
.table-scroll .allergen-table { min-width: 34rem; }

.err { text-align: center; padding: clamp(5rem, 14vw, 10rem) 0; }
.err__code {
  font-family: var(--f-display); font-size: clamp(5rem, 18vw, 11rem);
  line-height: .9; color: var(--saffron); margin: 0 0 1rem;
}
.err p { color: var(--ash); max-width: 42ch; margin: 0 auto 2rem; }

/* ---------- Reveal (never blanks without JS) ---------- */

html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  html.js .reveal.is-in { transition: none; }
  .tile a:hover img { transform: none; }
  .btn:hover { transform: none; }
}
