@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/BodoniModa-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/BodoniModa-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/HankenGrotesk-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf7f0;
  --paper: #ffffff;
  --ink: #2b1a12;
  --ink-2: #6b5446;
  --line: #e8dccb;
  --red: #c81f25;
  --red-dk: #a3181d;
  --gold: #e9a93b;
  --hibiscus: #4d0a1d;
  --hib-ink: #f7e8de;
  --hib-ink-2: #e2c3b6;

  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 3rem);
  --gap: clamp(4.5rem, 12vw, 8rem);
  --col: 72rem;
  --bar: 4rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--bar);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ink); }

img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--red); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dk); }

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

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

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 20;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* Header */

.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--bar);
  padding: 0 var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar__seal img { width: 2.75rem; height: 2.75rem; }
.bar__nav { display: none; }
.bar__order {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1.15rem;
  border-radius: 999px; background: var(--red); color: var(--paper);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: background 0.2s;
}
.bar__order:hover { background: var(--red-dk); color: var(--paper); }
.bar__count {
  display: inline-grid; place-items: center;
  min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem;
  border-radius: 999px; background: var(--paper); color: var(--red);
  font-size: 0.8125rem; font-variant-numeric: tabular-nums;
}
.bar__count[hidden] { display: none; }
.bar__count.is-bumped { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Shared */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover:not(:disabled) { background: var(--red-dk); color: var(--paper); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.section { padding: var(--gap) 0 0; }
.section__body { padding: 0 var(--pad); max-width: 38rem; }
.section__title {
  font: 500 clamp(2.4rem, 9vw, 4.25rem)/1.02 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section__lead {
  margin: 0.75rem 0 1.25rem;
  font: italic 400 clamp(1.3rem, 4.6vw, 1.7rem)/1.3 var(--display);
  color: var(--red);
}
.section__body > p:not([class]) { color: var(--ink-2); max-width: 62ch; }
.note { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }

.menu { margin-top: 1.75rem; border-top: 1px solid var(--ink); }
.menu__row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.menu__name { font: 500 1.25rem/1.2 var(--display); }
.menu__price { font: 600 1.0625rem/1 var(--text); font-variant-numeric: tabular-nums; }
.add {
  min-height: 2.75rem; min-width: 5rem; padding: 0 1rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 600 0.9375rem/1 var(--text); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.add:hover, .add.is-added { background: var(--ink); color: var(--paper); }

/* Hero */

.hero {
  display: grid; gap: 1.75rem;
  max-width: var(--col); margin: 0 auto;
  padding: 1.25rem var(--pad) 0;
}
.hero__title {
  font: 500 clamp(3rem, 14vw, 6rem)/0.95 var(--display);
  letter-spacing: -0.03em;
}
.hero__title em { color: var(--red); font-weight: 400; }
.hero__lead {
  margin-top: 1.1rem; max-width: 32ch;
  font-size: clamp(1.125rem, 3.6vw, 1.3rem); color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__actions .btn--red { flex: 1 1 14rem; }
.prices {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  margin-top: 1.5rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 0.9375rem;
}
.prices strong { color: var(--ink); font-size: 1.0625rem; font-variant-numeric: tabular-nums; margin-left: 0.3rem; }
.hero__photo { order: -1; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }

/* Chinchin */

.chinchin__photo { aspect-ratio: 3 / 2; overflow: hidden; margin: 0 var(--pad) 2.25rem; border-radius: 4px; }
.chinchin__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Zobo */

.zobo {
  margin-top: var(--gap);
  padding: var(--gap) 0;
  background: var(--hibiscus); color: var(--hib-ink);
}
.zobo ::selection { background: var(--hib-ink); color: var(--hibiscus); }
.zobo :focus-visible { outline-color: var(--gold); }
.zobo__inner { max-width: var(--col); margin: 0 auto; }
.zobo__photo { aspect-ratio: 4 / 5; overflow: hidden; margin: 0 var(--pad) 2.25rem; border-radius: 4px; }
.zobo__photo img { width: 100%; height: 100%; object-fit: cover; }
.zobo .section__lead { color: var(--gold); }
.zobo .section__body > p:not([class]) { color: var(--hib-ink-2); }
.ingredients {
  margin-top: 1.5rem; padding: 1rem 0;
  border-block: 1px solid rgb(247 232 222 / 0.25);
}
.ingredients span {
  display: block; margin-bottom: 0.2rem;
  font: italic 400 1.0625rem/1.2 var(--display); color: var(--gold);
}
.zobo .menu { border-top-color: var(--hib-ink); }
.zobo .menu__row { border-bottom-color: rgb(247 232 222 / 0.2); }
.zobo .add { border-color: var(--hib-ink); color: var(--hib-ink); }
.zobo .add:hover, .zobo .add.is-added { background: var(--hib-ink); color: var(--hibiscus); }

/* Story */

.story { max-width: var(--col); margin: 0 auto; }
.story__photo { margin: 0 var(--pad) 2.5rem; }
.story__photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 4px; }
.story__photo figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-2); }
.story__text .section__title { margin-bottom: 1.75rem; }
.story__text p:not([class]) { color: var(--ink-2); max-width: 62ch; }
.story__text p + p { margin-top: 1.1rem; }
.story__text .pull {
  margin: 2rem 0;
  font: italic 400 clamp(1.55rem, 5.6vw, 2.2rem)/1.22 var(--display);
  color: var(--ink);
  text-wrap: balance;
}
.story__text .sign { margin-top: 1.75rem; font: italic 400 1.75rem/1 var(--display); color: var(--red); }

/* Kitchen */

.kitchen { max-width: var(--col); margin: 0 auto; }
.steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
  margin: 1.5rem 0 0;
  font: 500 clamp(1.4rem, 5.5vw, 1.9rem)/1 var(--display);
}
.steps li { display: flex; align-items: center; gap: 1rem; }
.steps li + li::before {
  content: ""; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--gold);
}
.pidgin { margin: 2.5rem 0; }
.pidgin p {
  font: italic 500 clamp(2rem, 8.5vw, 3.25rem)/1.05 var(--display);
  color: var(--red);
  text-wrap: balance;
}
.pidgin footer { margin-top: 0.9rem; max-width: 40ch; color: var(--ink-2); }
.kitchen__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 var(--pad); }
.kitchen__media figure { overflow: hidden; border-radius: 4px; }
.kitchen__media figure { aspect-ratio: 4 / 5; }
.kitchen__clip { background: var(--line); }
.kitchen__media video, .kitchen__media img { width: 100%; height: 100%; object-fit: cover; }

/* Thanks */

.thanks { max-width: 52rem; margin: 0 auto; padding-inline: var(--pad); text-align: center; }
.review p {
  font: 400 clamp(1.6rem, 6.2vw, 2.6rem)/1.25 var(--display);
  text-wrap: balance;
}
.review em { color: var(--red); }
.review footer {
  margin-top: 1.25rem; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.tally {
  margin: 2.5rem auto 0; padding-top: 1.75rem; border-top: 1px solid var(--line);
  max-width: 44ch; color: var(--ink-2);
}
.tally strong { color: var(--ink); font-weight: 600; }

/* Bulk */

.bulk { max-width: var(--col); margin: 0 auto; }
.bulk__photo { aspect-ratio: 3 / 2; overflow: hidden; margin: 0 var(--pad) 2.25rem; border-radius: 4px; }
.bulk__photo img { width: 100%; height: 100%; object-fit: cover; }
.guests { margin-bottom: 2rem; border-top: 1px solid var(--ink); }
.guests li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font: 500 1.2rem/1.3 var(--display);
}
.bulk .btn { width: 100%; }

/* Order sheet */

.order { padding: var(--gap) var(--pad); }
.sheet {
  max-width: 36rem; margin: 0 auto;
  padding: 2.25rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px;
}
.sheet__title { font: 500 clamp(2.2rem, 8vw, 3rem)/1 var(--display); letter-spacing: -0.02em; }
.sheet__lead { margin: 0.8rem 0 1.5rem; color: var(--ink-2); }
.sheet__items { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--ink); }
.line {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name step" "price step";
  align-items: center; column-gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.line__name { grid-area: name; font: 500 1.15rem/1.25 var(--display); }
.line__price { grid-area: price; font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.step { grid-area: step; display: flex; align-items: center; gap: 0.25rem; }
.step button {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.step button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.step button:disabled { opacity: 0.35; cursor: not-allowed; }
.step svg { width: 1.1rem; height: 1.1rem; }
.step output { min-width: 2rem; text-align: center; font: 600 1.15rem/1 var(--text); font-variant-numeric: tabular-nums; }

.sheet__fields { display: grid; gap: 1rem; margin-top: 1.75rem; }
.field { display: grid; gap: 0.3rem; }
.field__label { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.field input {
  width: 100%; min-height: 3rem; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.2 var(--text);
  caret-color: var(--red);
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder { color: var(--ink-2); opacity: 1; }
.field input:focus { outline: none; border-color: var(--ink); background: var(--paper); }

.sheet__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.75rem; padding-top: 1rem;
  border-top: 1px solid var(--ink);
  font: 500 1.25rem/1 var(--display);
}
.sheet__total output { font: 700 clamp(1.75rem, 6.5vw, 2.2rem)/1 var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.sheet__hint { min-height: 1.5rem; margin: 0.6rem 0 1.25rem; font-size: 0.9375rem; color: var(--ink-2); }
.sheet__send { width: 100%; }
.sheet__alt { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink-2); text-align: center; }
.sheet__alt a { font-weight: 600; }

/* Footer */

.foot {
  display: grid; justify-items: center; gap: 1.1rem; text-align: center;
  padding: 3.5rem var(--pad) 3rem;
  background: var(--red); color: var(--paper);
}
.foot ::selection { background: var(--paper); color: var(--red); }
.foot :focus-visible { outline-color: var(--paper); }
.foot__seal { width: 6.5rem; height: 6.5rem; }
.foot__line { font: italic 400 1.2rem/1.3 var(--display); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem; }
.foot__links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--paper); }
.foot__small { font-size: 0.8125rem; max-width: 40ch; color: #fbe3e0; }

/* Entrance */

@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: rise 0.9s var(--ease) both; }
  .hero__lead, .hero__actions, .prices { animation: rise 0.9s var(--ease) both 0.12s; }
  .hero__photo img { animation: settle 1.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0.001; transform: translateY(0.75rem); } }
@keyframes settle { from { transform: scale(1.06); filter: blur(4px); } }

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

/* Wider screens */

@media (min-width: 56rem) {
  .bar__nav { display: flex; gap: 2rem; margin-left: 1rem; }
  .bar__nav a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
  .bar__nav a:hover { color: var(--red); }

  .hero {
    grid-template-columns: 1fr 0.9fr; align-items: center; gap: 4rem;
    padding-top: 3.5rem;
  }
  .hero__actions .btn--red { flex: 0 1 auto; }
  .hero__photo { order: 0; aspect-ratio: 4 / 5; }

  .chinchin, .story, .kitchen, .bulk {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center;
    max-width: var(--col); margin: 0 auto; padding-inline: var(--pad);
  }
  .chinchin__photo, .story__photo, .bulk__photo { margin: 0; }
  .chinchin .section__body, .story .section__body, .kitchen .section__body, .bulk .section__body { padding: 0; }
  .chinchin__photo { aspect-ratio: 5 / 4; }

  .zobo__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; padding-inline: var(--pad); }
  .zobo__photo { margin: 0; }
  .zobo .section__body { padding: 0; }

  .story { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .story__photo { position: sticky; top: calc(var(--bar) + 2rem); }

  .kitchen { grid-template-columns: 0.85fr 1.15fr; }
  .kitchen__media { padding: 0; }

  .bulk { grid-template-columns: 1.2fr 1fr; }
  .bulk .btn { width: auto; }

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