/* Peyton's Bakery: plum and gold, Bodoni display over Karla text. */
:root {
  --paper: #fbf9fd;
  --paper-2: #f1eaf6;
  --ink: #24132e;
  --ink-soft: #5a4766;
  --plum: #4a1f63;
  --plum-ink: #ffffff;
  --gold: #d4ae4c;
  --gold-ink: #7a5a0e;
  --gold-on: #24132e;
  --line: rgba(74, 31, 99, 0.18);
  --focus: #7a5a0e;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Karla", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --header-h: 4.75rem;

  --chatbot-color: #4a1f63;
  --chatbot-on-color: #ffffff;
  --chatbot-background: #fbf9fd;
  --chatbot-surface: #f1eaf6;
  --chatbot-text: #24132e;
  --chatbot-font: "Karla", "Segoe UI", system-ui, sans-serif;
  --chatbot-radius: 6px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #170c1e;
  --paper-2: #22132c;
  --ink: #f4eef7;
  --ink-soft: #c7b8cf;
  --plum: #e3c8f2;
  --plum-ink: #24132e;
  --gold: #e0ba55;
  --gold-ink: #e8c56a;
  --gold-on: #1c0f24;
  --line: rgba(227, 200, 242, 0.2);
  --focus: #e8c56a;

  --chatbot-color: #e0ba55;
  --chatbot-on-color: #1c0f24;
  --chatbot-background: #170c1e;
  --chatbot-surface: #22132c;
  --chatbot-text: #f4eef7;

  color-scheme: dark;
}

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

html {
  overflow-x: clip;
  background: var(--paper);
  scrollbar-color: var(--plum) var(--paper-2);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--plum); border: 3px solid var(--paper-2); border-radius: 6px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--plum); color: var(--plum-ink); padding: .75rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Header */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.masthead.is-compact { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(36, 19, 46, .5); }
.masthead__inner {
  max-width: var(--max); margin: 0 auto; padding: 1.1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: padding .25s ease;
}
.masthead.is-compact .masthead__inner { padding-block: .55rem; }

.wordmark { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; min-height: 44px; align-items: center; }
.wordmark__name { font-family: var(--display); font-size: 1.65rem; font-weight: 600; letter-spacing: -.01em; }
.wordmark__trade { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--gold-ink); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem;
  text-decoration: none; font-weight: 500; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .55rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--plum); }
html[data-theme="dark"] .site-nav a[aria-current="page"] { color: var(--gold-ink); }

.theme-toggle {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .9rem;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  font: 500 .95rem var(--text); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--plum); }
.theme-toggle__dot {
  width: .85rem; height: .85rem; border-radius: 50%;
  background: linear-gradient(90deg, var(--plum) 50%, var(--gold) 50%);
}

.masthead__menu {
  display: none; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  font: 600 .95rem var(--text); cursor: pointer;
}
.masthead__menu-bars, .masthead__menu-bars::before {
  display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative;
}
.masthead__menu-bars::before { content: ""; position: absolute; top: 6px; }
.masthead__menu-bars { transform: translateY(-3px); }

@media (min-width: 900px) {
  .site-nav[hidden] { display: flex; }
}
@media (max-width: 899.98px) {
  .masthead__menu { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 0; font-family: var(--display); font-size: 1.6rem; min-height: 52px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .theme-toggle { align-self: flex-start; }
  html.nav-open .masthead { box-shadow: 0 18px 30px -20px rgba(36, 19, 46, .6); }
}

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .75rem 1.5rem; border-radius: 3px; border: 1.5px solid transparent;
  font: 700 1rem var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button--gold { background: var(--gold); color: var(--gold-on); }
.button--gold:hover { background: var(--ink); color: var(--paper); }
.button--plum { background: var(--plum); color: var(--plum-ink); }
.button--plum:hover { background: var(--ink); color: var(--paper); }
.button--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--line:hover { background: var(--ink); color: var(--paper); }
.button:disabled { opacity: .55; cursor: not-allowed; }

.textlink {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .35em;
}
.textlink:hover { color: var(--plum); }

.fine { font-size: .95rem; color: var(--ink-soft); }

figcaption {
  font-size: .8rem; color: var(--ink-soft); margin-top: .6rem;
}

/* Section rhythm */
main > section {
  max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
}

/* Home hero */
main > .hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem);
}
.hero__title { display: flex; flex-direction: column; line-height: .9; }
.hero__line { font-size: clamp(4rem, 1.5rem + 10vw, 9.5rem); font-weight: 600; letter-spacing: -.035em; }
.hero__line--sub {
  font-size: clamp(2.2rem, 1rem + 4.5vw, 4.4rem); font-style: italic; font-weight: 400;
  letter-spacing: 0; margin-top: .35em; padding-left: .08em;
  display: flex; align-items: center; gap: .5em;
}
.hero__line--sub::before { content: ""; width: clamp(2.5rem, 6vw, 4.5rem); height: 2px; background: var(--gold); }
.hero__lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); margin-top: 1.75rem; color: var(--ink-soft); max-width: 34ch; }

.hero__art { position: relative; margin: 0; padding: 0 1.25rem 1.25rem 0; }
.hero__frame {
  position: absolute; inset: 1.25rem 0 0 1.25rem; border: 2px solid var(--gold); border-radius: 2px;
}
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: 2px;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__art figcaption { position: absolute; right: 0; bottom: -1.6rem; }

html[data-motion="ready"] .hero__line,
html[data-motion="ready"] .hero__lede,
html[data-motion="ready"] .hero .actions { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html[data-motion="ready"] .hero__line--sub { animation-delay: .12s; }
html[data-motion="ready"] .hero__lede { animation-delay: .22s; }
html[data-motion="ready"] .hero .actions { animation-delay: .3s; }
html[data-motion="ready"] .hero__frame { animation: frame-in 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes frame-in { from { transform: translate(-1.25rem, -1.25rem); opacity: 0; } to { transform: none; opacity: 1; } }

/* Home: four bakes capture */
main > .box { max-width: none; padding: 0; background: var(--paper-2); }
.box__stage {
  max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.box__media { position: relative; aspect-ratio: 4 / 5; background: var(--paper); border-radius: 2px; overflow: hidden; }
.box__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform 1.2s ease; transform: scale(1.04); }
.box__img--a { opacity: 1; transform: none; }
.box__media-note {
  position: absolute; left: .75rem; bottom: .75rem; font-size: .78rem; padding: .25rem .55rem;
  background: rgba(23, 12, 30, .72); color: #fff; border-radius: 2px;
}
.box__title { max-width: 16ch; }
.box__ribbon { display: none; }
.box__panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; margin-top: 2.25rem; }
.box__panel { border-top: 2px solid var(--gold); padding-top: 1rem; }
.box__panel h3 { margin-bottom: .6rem; }
.box__panel p { color: var(--ink-soft); }

.box[data-capture-active="true"] { height: 340vh; }
.box[data-capture-active="true"] .box__stage {
  position: sticky; top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(1.5rem, 4vh, 3rem);
}
.box[data-capture-active="true"] .box__media { max-height: calc(100svh - var(--header-h) - 5rem); width: 100%; justify-self: center; }
.box[data-capture-active="true"] .box__ribbon {
  display: flex; list-style: none; margin: 2rem 0 0; padding: 0; gap: 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.box[data-capture-active="true"] .box__ribbon::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: var(--gold); transform-origin: left; transform: scaleX(var(--capture-progress, 0));
}
.box__ribbon li { flex: 1; padding: .5rem 0 .7rem; font-weight: 700; color: var(--ink-soft); transition: color .3s ease; }
.box__stage[data-state="0"] .box__ribbon li:nth-child(1),
.box__stage[data-state="1"] .box__ribbon li:nth-child(2),
.box__stage[data-state="2"] .box__ribbon li:nth-child(3),
.box__stage[data-state="3"] .box__ribbon li:nth-child(4) { color: var(--ink); }

.box[data-capture-active="true"] .box__panels { display: grid; grid-template-columns: 1fr; margin-top: 2rem; }
.box[data-capture-active="true"] .box__panel {
  grid-area: 1 / 1; border-top: 0; padding-top: 0;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.box[data-capture-active="true"] .box__panel[data-active="true"] {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s;
}
.box[data-capture-active="true"] .box__panel h3 { font-size: clamp(2.6rem, 1.6rem + 3.5vw, 4.5rem); font-style: italic; font-weight: 400; }
.box[data-capture-active="true"] .box__panel p { font-size: 1.15rem; }

.box[data-capture-active="true"] .box__img--a { opacity: 0; transform: scale(1.04); }
.box__stage[data-state="0"] .box__img--a,
.box__stage[data-state="1"] .box__img--b,
.box__stage[data-state="2"] .box__img--c,
.box__stage[data-state="3"] .box__img--a { opacity: 1 !important; transform: none !important; }
.box__stage[data-state="3"] .box__img--a { object-position: 30% 70%; }

/* Split prompt blocks */
main > .split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: start;
}
.split__head h2 { max-width: 14ch; }
.split__body p:first-child { font-size: 1.2rem; }

/* Home place strip */
main > .place { border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 1rem; }
.facts div, .ledger__list div { border-left: 2px solid var(--gold); padding-left: 1rem; }
dt { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
dd { margin: .2rem 0 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.25; }

/* Inner page openings */
main > .opening {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.opening h1 { font-size: clamp(2.8rem, 1.4rem + 5.5vw, 5.75rem); font-weight: 500; letter-spacing: -.025em; max-width: 12ch; }
.opening__lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-soft); margin-top: 1.5rem; max-width: 46ch; }
.opening__photo { margin: 0; }
.opening__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper-2); border-radius: 2px; }

.opening--menu .opening__photo img { aspect-ratio: 3 / 4; border-radius: 999px 999px 2px 2px; }

main > .opening--about { grid-template-columns: 1fr; align-items: start; }
.opening__photo--wide img { aspect-ratio: 21 / 9; }
.opening--about .opening__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.opening--about .opening__lede { margin-top: 0; }

main > .opening--visit {
  grid-template-columns: 1fr; max-width: none; background: var(--plum); color: var(--plum-ink);
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.opening--visit h1 { max-width: 14ch; }
.opening--visit .opening__lede { color: inherit; opacity: .9; }
.opening--visit .button--gold:hover { background: var(--paper); color: var(--ink); }

/* Menu rows */
.menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.menu__row {
  display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 1.6fr) auto; gap: .5rem 2.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.menu__name { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.menu__desc { margin: 0; color: var(--ink-soft); }
.menu__price { margin: 0; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }

/* Notices */
main > .notice { padding-block: 0; }
.notice > * { max-width: 46rem; }
.notice {
  position: relative;
}
.notice h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: .75rem; }
.notice::before {
  content: ""; display: block; width: 3rem; height: 2px; background: var(--gold); margin-bottom: 1.25rem;
}

/* Ledger and location */
.ledger h2, .location h2 { margin-bottom: 2rem; }
.ledger__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.75rem 2rem; margin: 0; }

/* FAQ */
main > .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 2rem 4rem; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--ink); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: 1rem 0; font-family: var(--display); font-size: 1.35rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; font-family: var(--text); font-size: 1.5rem; color: var(--gold-ink); transition: transform .2s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--ink-soft); padding-bottom: 1.25rem; }

/* Contact */
main > .contact {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.contact h1 { font-size: clamp(2.6rem, 1.4rem + 4.5vw, 5rem); letter-spacing: -.025em; max-width: 11ch; }
.contact .fine { margin-top: 1rem; }

.form {
  background: var(--paper-2); padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 3px solid var(--gold); border-radius: 2px;
}
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field-row .field { margin-bottom: .4rem; }
.field-hint { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
label { font-weight: 700; font-size: .95rem; }
input, textarea {
  font: 400 1rem var(--text); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 3px; padding: .75rem .85rem; min-height: 48px; width: 100%;
}
textarea { resize: vertical; min-height: 9rem; }
input:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus-visible, textarea:focus-visible { border-color: var(--plum); outline-offset: 1px; }
input:user-invalid, textarea:user-invalid { border-color: #b3261e; }
html[data-theme="dark"] input:user-invalid, html[data-theme="dark"] textarea:user-invalid { border-color: #ffb4ab; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .button { margin-top: .5rem; }
.form__status { margin: 1rem 0 0; font-weight: 700; min-height: 1.6em; }
.form__status:empty { margin: 0; min-height: 0; }

/* Footer */
.colophon { background: var(--ink); color: var(--paper); margin-top: clamp(3rem, 6vw, 5rem); }
.colophon__inner {
  max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter) 2.5rem;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem;
}
.colophon__name { font-family: var(--display); font-size: 2rem; margin-bottom: .5rem; }
.colophon p { color: inherit; opacity: .85; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.colophon a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--gold); text-underline-offset: .3em; }
.colophon__note { grid-column: 1 / -1; font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.5rem; margin: 0; max-width: none; }
html[data-theme="dark"] .colophon { background: #0f0714; color: var(--ink); }
html[data-theme="dark"] .colophon__note { border-top-color: var(--line); }

/* Reveals: only once the motion script has run */
html[data-motion="ready"] [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
html[data-motion="ready"] [data-reveal].is-visible { opacity: 1; transform: none; }

/* Tablet and phone */
@media (max-width: 899.98px) {
  main > .hero, main > .split, main > .opening, main > .faq, main > .contact,
  .box__stage, .opening--about .opening__text { grid-template-columns: 1fr; }
  .hero__art { max-width: 32rem; }
  .opening__photo { max-width: 28rem; }
  .opening--menu .opening__photo { max-width: 18rem; }
  .facts { grid-template-columns: 1fr; }
  .menu__row { grid-template-columns: minmax(0, 1fr) auto; }
  .menu__desc { grid-column: 1 / -1; grid-row: 2; }
  .colophon__inner { grid-template-columns: 1fr; }

  .box[data-capture-active="true"] { height: 300vh; }
  .box[data-capture-active="true"] .box__stage {
    grid-template-rows: auto 1fr; align-content: start; gap: 1.25rem;
    height: calc(100svh - var(--header-h)); min-height: 0; padding-block: 1rem 1.5rem;
  }
  .box[data-capture-active="true"] .box__media { aspect-ratio: auto; height: 38svh; max-height: none; }
  .box[data-capture-active="true"] .box__title { font-size: 1.6rem; }
  .box[data-capture-active="true"] .box__ribbon { margin-top: 1rem; }
  .box[data-capture-active="true"] .box__ribbon li { font-size: .9rem; }
  .box[data-capture-active="true"] .box__panels { margin-top: 1.25rem; }
  .box[data-capture-active="true"] .box__panel h3 { font-size: 2.2rem; }
  .box[data-capture-active="true"] .box__panel p { font-size: 1.05rem; }

  /* Phone entrances alternate sides; the html root clips the overflow. */
  html[data-motion="ready"] .menu__row[data-reveal]:nth-child(odd) { transform: translateX(-22px); }
  html[data-motion="ready"] .menu__row[data-reveal]:nth-child(even) { transform: translateX(22px); }
  html[data-motion="ready"] .split[data-reveal] { transform: scale(.98); }
  html[data-motion="ready"] [data-reveal].is-visible { transform: none !important; }
}

@media (max-width: 560px) {
  .box__panels, .field-row { grid-template-columns: 1fr; }
  .hero__line--sub::before { width: 2rem; }
  .menu__row { grid-template-columns: 1fr; }
  .menu__price { grid-row: 3; }
  .colophon ul { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 100%; }
}

@media (max-width: 899.98px) and (max-height: 700px) {
  .box[data-capture-active="true"] .box__media { height: 26svh; }
  .box[data-capture-active="true"] .box__title { font-size: 1.35rem; }
  .box[data-capture-active="true"] .box__panel h3 { font-size: 1.8rem; margin-bottom: .35rem; }
  .box[data-capture-active="true"] .box__panel p { font-size: 1rem; line-height: 1.5; }
}

@media (max-width: 360px) {
  .wordmark__name { font-size: 1.4rem; }
  .wordmark__trade { font-size: 1rem; }
  .masthead__menu { padding: 0 .75rem; }
}

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