/* ==========================================================================
   Mei Makes Chinese Kitchen
   Palette and type are derived from the circular plate logo:
   hot pink script, black hairline rim, geometric tracked caps.
   Written mobile-first. Every breakpoint is min-width.
   ========================================================================== */

:root {
  --white: #ffffff;
  --blush: #fdf3f8;
  --blush-deep: #fae2ef;

  /* Sampled off the logo. --pink is the wordmark's hot pink and carries the
     brand. --pink-solid is one step deeper so white text on it clears 4.5:1,
     and --pink-ink is deeper still for small pink text on white. */
  --pink: #e04194;
  --pink-solid: #d62d85;
  --pink-ink: #c82278;
  --pink-dark: #b31c6a;
  --pink-light: #f290c1;

  --ink: #161616;
  --ink-soft: #5f5a63;
  --line: #eee4ea;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --nav-h: 64px;
  --radius: 4px;
}

@media (min-width: 900px) {
  :root { --nav-h: 88px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pink-dark); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.35rem, 9vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 3.6vw, 1.5rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.narrow { max-width: 720px; }

.eyebrow {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.075rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   Dot rule. Taken straight off the logo subline: hairline, pink dot, hairline.
   Used as the one repeating structural device across the whole site.
   -------------------------------------------------------------------------- */
.dotrule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}
.dotrule::before,
.dotrule::after {
  content: "";
  height: 1px;
  width: clamp(34px, 9vw, 58px);
  background: var(--ink);
}
.dotrule span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}
.dotrule.left { justify-content: flex-start; }
.dotrule.left::after { display: none; }

/* --------------------------------------------------------------------------
   Buttons. 48px minimum height so they stay comfortable as thumb targets.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.65rem;
  border: 1px solid var(--pink-solid);
  border-radius: 999px;
  background: var(--pink-solid);
  color: #fff;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn.on-pink {
  background: #fff;
  color: var(--pink-dark);
  border-color: #fff;
}
.btn.on-pink:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 419px) {
  .btn-row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Nav. White bar, logo left, links right. Sticky on every size.
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px;
  margin-left: -4px;
}
.nav-logo img {
  height: 46px;
  width: 46px;
}
@media (min-width: 900px) {
  .nav-logo img { height: 64px; width: 64px; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  margin-right: -11px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.5rem;
  display: none;
}
.nav-menu.open { display: block; }

.nav-menu ul {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
}
.nav-menu li { border-bottom: 1px solid var(--line); }

.nav-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-menu a[aria-current="page"] { color: var(--pink); }
.nav-menu .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 2.25rem;
    padding: 0;
    border: 0;
    background: none;
  }
  .nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    margin: 0;
  }
  .nav-menu li { border: 0; }
  .nav-menu a {
    padding: 0.35rem 0;
    font-size: 0.76rem;
    letter-spacing: 0.19em;
    position: relative;
  }
  .nav-menu ul a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--pink);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .nav-menu ul a:hover::after,
  .nav-menu ul a[aria-current="page"]::after { opacity: 1; }
  .nav-menu .btn { width: auto; min-height: 44px; padding: 0.65rem 1.4rem; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0;
}
.section.tint { background: var(--blush); }
.section.tight { padding-top: clamp(2.25rem, 6vw, 3.5rem); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { text-align: center; }
.section-head.center .dotrule { justify-content: center; }
.section-head p { color: var(--ink-soft); max-width: 62ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Hero. The footage fills the whole panel and the badge sits on top of it.
   Cover is done with plain width/height 100% plus object-fit, which is far
   more predictable than the old min-width centring trick.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #16101300;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 86svh;
  padding: clamp(2.5rem, 8vw, 4rem) 0;
}

/* svh is not universal, so older engines get a usable fallback */
@supports not (height: 1svh) {
  .hero { min-height: 86vh; }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #161013;
}
.hero-media video,
.hero-media img.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-media picture { display: contents; }

/* Darkened towards the edges so the badge and buttons hold, while the middle
   of the frame stays light enough to still read as food */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(125% 95% at 50% 46%,
      rgba(20, 13, 17, 0.34) 0%,
      rgba(20, 13, 17, 0.60) 52%,
      rgba(20, 13, 17, 0.84) 100%),
    linear-gradient(to top, rgba(20, 13, 17, 0.55) 0%, rgba(20, 13, 17, 0) 42%);
}

.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-logo {
  margin: 0 0 clamp(1.5rem, 4vw, 2rem);
  line-height: 0;
}
.hero-logo img {
  width: clamp(160px, 38vw, 250px);
  height: auto;
  margin: 0 auto;
}

.hero .eyebrow { color: var(--pink-light); }
.hero .btn-row { justify-content: center; }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.hero .btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-note {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 860px) {
  .hero { min-height: min(88svh, 820px); }
}
@media (min-width: 860px) and (max-height: 700px) {
  .hero { min-height: 560px; }
}

/* Visible to screen readers and search engines, not on screen */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Ordering notice. One statement on a hairline rule instead of three equal
   boxes, because the scheduling rule is the single thing people must read.
   -------------------------------------------------------------------------- */
.notice {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.75rem, 5vw, 2.5rem) 0;
}
.notice-inner {
  display: grid;
  gap: 0.85rem 2.5rem;
}
.notice-key {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin: 0;
}
.notice-value {
  font-family: var(--display);
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.3;
  margin: 0;
}
.notice-value a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--pink-light); }
.notice-value a:hover { border-bottom-color: var(--pink); }
.notice-value small {
  display: block;
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}
.notice-row + .notice-row {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) {
  .notice-inner { grid-template-columns: repeat(3, 1fr); }
  .notice-row + .notice-row {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Menu listing. Leader dots between the dish and the price, the way a
   printed takeout menu sets it.
   -------------------------------------------------------------------------- */
.menu-group + .menu-group { margin-top: clamp(2.75rem, 7vw, 4rem); }

.menu-group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.menu-group-head h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.05rem);
  margin: 0;
  white-space: nowrap;
}
.menu-group-head .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

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

.menu-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: 0; }

.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-item-name {
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.menu-item-leader {
  flex: 1;
  border-bottom: 1px dotted var(--pink-light);
  transform: translateY(-4px);
  min-width: 1.5rem;
}
.menu-item-price {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.menu-item-desc {
  margin: 0.35rem 0 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--pink-light);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-dark);
  vertical-align: 2px;
  white-space: nowrap;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Story blocks (about page)
   -------------------------------------------------------------------------- */
.story {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
}
@media (min-width: 900px) {
  .story.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .story.split.reverse > *:first-child { order: 2; }
}

.story-aside {
  padding: 0;
}
.story-aside h3 {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ink);
}
.story-aside h3 + .aside-lead {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.story-aside ul + h3 { margin-top: 2.25rem; }
.story-aside ul { list-style: none; margin: 0; padding: 0; }
.story-aside li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.5rem;
  font-size: 0.99rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.story-aside li:last-child { border-bottom: 0; }
.story-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

.pull {
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.4vw, 2.1rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}

/* --------------------------------------------------------------------------
   Ordering sequence. A ruled editorial list, not a row of cards. The hanging
   pink dot is the same mark used in the logo divider.
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; }

.step {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2.05rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); font-size: 1rem; max-width: 60ch; }

@media (min-width: 820px) {
  .step {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 2.5rem;
    align-items: baseline;
    padding-left: 2.25rem;
  }
  .step h3 { margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Pink call to action band
   -------------------------------------------------------------------------- */
.band {
  background: var(--pink-solid);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 9vw, 5rem) 0;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.92); max-width: 48ch; margin-left: auto; margin-right: auto; }
.band .btn-row { justify-content: center; margin-top: 1.75rem; }
.band .dotrule::before, .band .dotrule::after { background: rgba(255, 255, 255, 0.65); }
.band .dotrule span { background: #fff; }
.band .eyebrow { color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   Form
   -------------------------------------------------------------------------- */
.form-layout { display: grid; gap: clamp(2rem, 6vw, 3.5rem); }
@media (min-width: 950px) {
  .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
}

.field { margin-bottom: 1.35rem; }
.field label,
.fieldset-legend {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.field .hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

/* 16px keeps iOS from zooming the viewport when a field is focused */
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  min-height: 50px;
  transition: border-color 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23161616' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 3px rgba(224, 65, 148, 0.14); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c62828; }

.field-error {
  display: none;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #c62828;
}
.field-error.show { display: block; }

.field-row { display: grid; gap: 1.35rem; }
@media (min-width: 620px) { .field-row.two { grid-template-columns: 1fr 1fr; } }

fieldset { border: 0; margin: 0 0 1.35rem; padding: 0; }

.choices { display: grid; gap: 0.75rem; }
@media (min-width: 480px) { .choices { grid-template-columns: 1fr 1fr; } }

.choice {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3rem;
  cursor: pointer;
  min-height: 60px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.choice .mark {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
}
.choice .mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.choice .label { display: block; font-size: 1rem; font-weight: 400; }
.choice .sub { display: block; font-size: 0.84rem; color: var(--ink-soft); }
.choice:has(input:checked) { border-color: var(--pink); background: var(--blush); }
.choice:has(input:checked) .mark { border-color: var(--pink); }
.choice:has(input:checked) .mark::after { opacity: 1; }
.choice:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 3px; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.form-status {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.96rem;
}
.form-status.show { display: block; }
.form-status.error { background: #fdecec; color: #a32020; border: 1px solid #f3c7c7; }

.form-done {
  display: none;
  text-align: center;
  padding: clamp(2.5rem, 8vw, 4rem) clamp(1.25rem, 5vw, 2.5rem);
  background: var(--blush);
  border-radius: var(--radius);
}
.form-done.show { display: block; }
.form-done .dotrule { justify-content: center; }

.aside-card {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.aside-card + .aside-card { margin-top: 1.5rem; }
.aside-card:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-card h3 {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: 0.75rem;
}
.aside-card p, .aside-card li { font-size: 0.97rem; color: var(--ink-soft); }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li { padding: 0.3rem 0; }
.aside-card a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--pink-light); }
.aside-card .big {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ink);
  border: 0;
  display: inline-block;
  margin-bottom: 0.35rem;
}
.aside-card .big:hover { color: var(--pink-ink); }

/* --------------------------------------------------------------------------
   Page header for interior pages
   -------------------------------------------------------------------------- */
.page-head {
  background: var(--blush);
  padding: clamp(2.75rem, 8vw, 4.75rem) 0;
  text-align: center;
}
.page-head .dotrule { justify-content: center; }
.page-head h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); margin-bottom: 0.4em; }
.page-head p { color: var(--ink-soft); max-width: 54ch; margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: clamp(2.75rem, 8vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}
.footer-logo img { height: 78px; width: 78px; margin-bottom: 1rem; }
.footer p { font-size: 0.95rem; color: var(--ink-soft); max-width: 34ch; }
.footer h3 {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.65rem; }
.footer li a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer li a:hover { color: var(--pink-ink); }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer-base a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--pink-light); }
.footer-base a:hover { color: var(--pink-ink); }
@media (min-width: 700px) {
  .footer-base { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   Mobile polish
   -------------------------------------------------------------------------- */

/* iOS renders date and time controls short and top-aligned once the native
   appearance is removed, so give them an explicit line box */
.field input[type="date"],
.field input[type="time"] {
  line-height: 1.4;
  min-height: 50px;
}

/* Kill the grey flash on tap without removing any focus affordance */
a, button, label, input, select, textarea {
  -webkit-tap-highlight-color: rgba(224, 65, 148, 0.14);
}

/* Respect the home indicator and notch on phones */
.footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.nav-inner {
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* Long dish names wrap before the price is ever pushed off screen */
.menu-item-name { min-width: 0; }
.menu-item-price { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Menu price variants. Some dishes are priced by portion or protein, so the
   item carries a small ruled sub list rather than a single figure.
   -------------------------------------------------------------------------- */
.menu-variants {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  max-width: 30rem;
}
.menu-variant {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.menu-variant .leader {
  flex: 1;
  border-bottom: 1px dotted var(--pink-light);
  transform: translateY(-4px);
  min-width: 1.5rem;
}
.tag-vegan {
  border-color: #7bb661;
  color: #3f7a2c;
}
.menu-variant .tag-vegan {
  margin-left: 0.5rem;
  vertical-align: 1px;
}
.legend-chip {
  vertical-align: 1px;
}

.menu-variant .price {
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Cookie notice
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--white);
  border-top: 1px solid var(--ink);
  padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(22, 22, 22, 0.08);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.cookie.show { transform: none; }
.cookie[hidden] { display: none; }

.cookie-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  align-items: center;
}
.cookie p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 68ch;
}
.cookie p a { color: var(--ink); border-bottom: 1px solid var(--pink-light); text-decoration: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.cookie-actions .btn { min-height: 46px; padding: 0.7rem 1.4rem; font-size: 0.76rem; }
@media (min-width: 860px) {
  .cookie-inner { grid-template-columns: 1fr auto; gap: 2rem; }
  .cookie-actions { flex-wrap: nowrap; }
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal h2 {
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.1rem; margin: 0 0 1.15em; }
.legal li { margin-bottom: 0.5rem; }
.legal .updated {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   Consent checkbox on the order form
   -------------------------------------------------------------------------- */
.check {
  position: relative;
  display: block;
  padding-left: 2.1rem;
  min-height: 28px;
  cursor: pointer;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink-soft);
  border-radius: 3px;
  background: #fff;
}
.check .box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.check input:checked + .box { background: var(--pink-solid); border-color: var(--pink-solid); }
.check input:checked + .box::after { opacity: 1; transform: rotate(45deg) scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--pink); outline-offset: 3px; }
.check a { color: var(--ink); border-bottom: 1px solid var(--pink-light); text-decoration: none; }

/* Reduced motion users get the still poster underneath instead of footage.
   The poster also covers the no JS case and the moment before first decode. */
@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.08rem, 2.8vw, 1.28rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.faq-q:hover { color: var(--pink-ink); }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.3rem;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--pink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }

.faq-a { padding: 0 0 1.6rem; }
.faq-a p { margin: 0; color: var(--ink-soft); max-width: 64ch; }
.faq-a[hidden] { display: none; }
