/* ==========================================================================
   Casa de Thorn site styles
   Direction: a printed bakery menu. Warm paper, ink, hairline rules, square
   corners, dotted leaders, one oxblood accent.
   Palette below is a placeholder until [BRAND COLORS] are chosen. Every color
   pair used for text meets WCAG AA (4.5:1) or better.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* [BRAND COLORS] placeholder palette */
  --paper: #efe7da;
  --paper-deep: #e6dccb;
  --field: #f8f3ea;
  --field-line: #7d7166;
  --ink: #1b1511;
  --ink-soft: #63564a;
  --ox: #8a2b17;
  --ox-deep: #6e2011;
  --rule: rgba(27, 21, 17, 0.2);
  --rule-strong: rgba(27, 21, 17, 0.5);
  --error: #9b1c1c;
  --error-tint: #f6dcd6;
  --on-dark: #efe7da;
  --on-dark-soft: #bfb3a3;
  --rule-dark: rgba(239, 231, 218, 0.3);

  --serif: 'Cormorant Garamond', 'Cormorant', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1328px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
[hidden] { display: none !important; }

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

::selection { background: var(--ox); color: var(--on-dark); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.muted { color: var(--ink-soft); }

.eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font: 600 0.6875rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow a { color: var(--ink); text-decoration: none; }
.eyebrow a:hover { color: var(--ox); }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  font: 600 0.6875rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--on-dark); }
.btn--primary:hover { background: var(--ox); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn--sm { min-height: 40px; padding: 0 1.25rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
.icon-btn:hover:not(:disabled) { background: var(--ink); color: var(--on-dark); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }

/* ---------- Announcement ---------- */

.announcement {
  background: var(--ox);
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}
.announcement p { padding-block: 0.65rem; white-space: pre-line; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper) var(--grain);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.site-header__inner::after {
  content: '';
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 0;
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.brand__logo {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 600 0.4375rem/1 var(--sans);
  letter-spacing: 0.04em;
}
.brand__logo--light { border-color: var(--rule-dark); color: var(--on-dark-soft); }
.brand__name {
  font: 600 0.6875rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  display: none;
  padding: 0.25rem var(--gutter) 1.5rem;
  background: var(--paper) var(--grain);
  border-bottom: 1px solid var(--ink);
}
.site-nav.is-open { display: block; }
.site-nav__list a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  font: 500 1.75rem/1.2 var(--serif);
  text-decoration: none;
}
.site-nav__cta { margin-top: 1.25rem; width: 100%; min-height: 52px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: none;
    border: 0;
  }
  .site-nav .site-nav__list { display: flex; gap: clamp(1.1rem, 2vw, 2.1rem); margin-inline: auto; }
  .site-nav__list a {
    padding: 0.5rem 0;
    border: 0;
    font: 500 0.6875rem/1 var(--sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.3s var(--ease);
  }
  .site-nav__list a:hover { background-size: 100% 1px; }
  .site-nav__cta { margin: 0; width: auto; min-height: 40px; }
}

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

.hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.hero__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 0.2em;
  padding-block: clamp(1.75rem, 2.6vw, 2.25rem) clamp(2.25rem, 4vw, 3.5rem);
  font-size: clamp(4.5rem, 15.2vw, 14.75rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-wrap: nowrap;
}
.hero__title span { white-space: nowrap; }
.hero__title em { color: var(--ox); font-weight: 300; padding-right: 0.04em; }

.hero__cols { display: grid; border-top: 1px solid var(--ink); }
.hero__col { padding-block: 1.5rem; border-bottom: 1px solid var(--rule); }
.hero__col--cta { border-bottom: 0; padding-bottom: 0; }
.hero-empty { font: italic 500 1.375rem/1.4 var(--serif); color: var(--ink-soft); }

/* Next bake days */
.next-day {
  display: grid;
  grid-template-columns: clamp(4.5rem, 7vw, 6rem) minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  text-align: left;
}
.next-days li:last-child .next-day { border-bottom: 0; }
.next-day__num {
  font: 400 clamp(3.75rem, 6vw, 5.25rem)/0.9 var(--serif);
  letter-spacing: -0.04em;
  transition: color 0.2s var(--ease);
}
.next-day:hover .next-day__num { color: var(--ox); }
.next-day__meta { display: grid; gap: 0.4rem; }
.next-day__when {
  font: 500 0.6875rem/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.next-day__type { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }
.next-day__mark { flex: none; width: 10px; height: 10px; background: var(--ox); }
.next-day--nj-pickup .next-day__mark { background: none; border: 1.5px solid var(--ink); }

/* Menu lines with dotted leaders */
.leader { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.55rem 0; }
.leader__name { font: 500 clamp(1.5rem, 2.3vw, 1.9375rem)/1.1 var(--serif); }
.leader__dots { flex: 1; min-width: 1.5rem; border-bottom: 1.5px dotted var(--rule-strong); transform: translateY(-0.3em); }
.leader__price { font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Stamp and main call to action */
.stamp { display: none; width: clamp(170px, 16vw, 230px); margin: 0.25rem auto 1.75rem; }
.stamp circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.stamp text { font: 600 10.5px var(--sans); letter-spacing: 0.2em; fill: var(--ink); text-transform: uppercase; }
.stamp__star { fill: var(--ox); }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: spin 48s linear infinite; }
}

.cta-big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--ox);
  color: var(--on-dark);
  font: 500 clamp(1.625rem, 2.2vw, 1.875rem)/1.1 var(--serif);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.cta-big span { font: 400 1.25rem/1 var(--sans); transition: transform 0.25s var(--ease); }
.cta-big:hover { background: var(--ox-deep); }
.cta-big:hover span { transform: translateX(4px); }

@media (max-width: 639px) {
  .hero__title { font-size: 24.5vw; row-gap: 0.02em; justify-content: flex-start; column-gap: 0.18em; }
  .hero__title span:last-child { margin-left: auto; }
  .hero__col--cta { order: 2; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
  .hero__col--menu { order: 3; border-bottom: 0; padding-bottom: 0; }
}
@media (min-width: 640px) {
  .hero__cols { grid-template-columns: 4fr 5fr; }
  .hero__col { border-bottom: 0; padding: 1.5rem 2rem 0; }
  .hero__col--days { padding-left: 0; border-right: 1px solid var(--rule); }
  .hero__col--menu { padding-right: 0; }
  .hero__col--cta { grid-column: 1 / -1; padding: 2rem 0 0; }
}
@media (min-width: 1024px) {
  .hero__cols { grid-template-columns: 4fr 5fr 3fr; }
  .hero__col--menu { padding-right: 2rem; border-right: 1px solid var(--rule); }
  .hero__col--cta { grid-column: auto; display: flex; flex-direction: column; padding: 1.5rem 0 0 2rem; }
  .hero__col--cta .cta-big { margin-top: auto; }
  .stamp { display: block; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--ink);
}
.section__title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

/* Reveal on scroll, only when motion is allowed and JS is running */
.can-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.can-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Placeholders (until Phase 3 photos) ---------- */

.ph {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.ph::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--rule);
}
.ph__mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: italic 300 clamp(4.5rem, 12vw, 7.5rem)/1 var(--serif);
  color: rgba(27, 21, 17, 0.22);
}

/* ---------- Carousel ---------- */

.menu-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); }
.carousel { min-width: 0; }

.carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.carousel__title { font-size: clamp(1.75rem, 3.2vw, 2.375rem); font-style: italic; font-weight: 400; }
.carousel__controls { display: flex; gap: 0.5rem; margin-left: auto; }
.carousel.is-static .carousel__controls { visibility: hidden; }

.carousel__track {
  --slide: min(62vw, 220px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-bottom: 0.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__slide { scroll-snap-align: start; min-width: 0; }

.carousel--lg .carousel__track { --slide: min(80vw, 340px); }
.carousel--lg .ph { aspect-ratio: 4 / 5; }
.carousel--review .carousel__track { --slide: min(84vw, 440px); gap: clamp(1.5rem, 3vw, 2.5rem); }

.carousel--empty .empty-note {
  padding: 2rem 1.5rem;
  border: 1px dashed var(--rule-strong);
  color: var(--ink-soft);
  font: italic 500 1.25rem/1.4 var(--serif);
}

/* ---------- Menu item card ---------- */

.item-card { display: grid; gap: 0.9rem; }
.item-card__body { display: grid; gap: 0.3rem; }
.item-card__top { display: flex; align-items: baseline; gap: 0.5rem; }
.item-card__top::after {
  content: '';
  order: 1;
  flex: 1;
  min-width: 0.75rem;
  border-bottom: 1.5px dotted var(--rule-strong);
  transform: translateY(-0.3em);
}
.item-card__name { font-size: 1.4375rem; line-height: 1.15; }
.carousel--lg .item-card__name { font-size: 1.75rem; }
.item-card__price {
  order: 2;
  flex: none;
  font: 600 0.875rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.item-card__label { color: var(--ink-soft); font-size: 0.875rem; line-height: 1.5; }
.item-card__allergens { color: var(--ink-soft); font-size: 0.8125rem; }
.item-card__allergens span {
  margin-right: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.625rem;
  color: var(--ink);
}

/* ---------- Tags (calendar markers and legend) ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 0.6em;
  border: 0;
  font: 600 0.6875rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pill__mark, .pill__short { display: none; }

.pill--city-delivery { background: var(--ox); color: var(--on-dark); }
.pill--nj-pickup { background: var(--field); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

button.pill--city-delivery:hover { background: var(--ox-deep); }
button.pill--nj-pickup:hover { background: var(--ink); color: var(--on-dark); }
.pill.is-selected { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill.is-closed { opacity: 0.45; }

.pill--legend { width: 12px; min-height: 12px; height: 12px; padding: 0; margin-right: 0.6rem; }
.pill--legend.pill--nj-pickup { background: none; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font: 600 0.6875rem/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legend li { display: inline-flex; align-items: center; }

/* ---------- Calendar ---------- */

.cal-card__hint {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font: italic 500 1.25rem/1.4 var(--serif);
}

.cal__head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.cal__month {
  text-align: center;
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
}

.cal__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal__grid th {
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--ink);
  font: 600 0.6875rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
}
.cal__wd-short { display: none; }

.cal__cell { position: relative; padding: 0; vertical-align: top; border: 1px solid var(--rule); }
.cal__cell:first-child { border-left: 0; }
.cal__cell:last-child { border-right: 0; }
.cal__day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  min-height: clamp(66px, 9vw, 120px);
  padding: clamp(0.35rem, 0.8vw, 0.6rem) clamp(0.35rem, 0.9vw, 0.7rem) clamp(0.4rem, 0.9vw, 0.7rem);
  transition: background-color 0.2s var(--ease);
}
.cal__cell.is-blank .cal__day { display: none; }
.cal__num {
  display: inline-grid;
  place-items: center;
  min-width: 1.35em;
  height: 1.35em;
  font: 500 clamp(1.125rem, 2vw, 1.75rem)/1 var(--serif);
  font-variant-numeric: lining-nums;
}
.cal__cell.is-today .cal__num { background: var(--ink); color: var(--on-dark); }
.cal__cell.is-past .cal__num { color: var(--ink-soft); }

.cal__cell.has-events:not(.is-past):not(.is-closed) .cal__day { background: var(--field); }
.cal__cell.is-selected .cal__day { box-shadow: inset 0 0 0 2px var(--ink); }

.cal__events { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; width: 100%; }

/* A day with one open bake day: the whole cell is the button. */
.cal__cell.is-single button.pill::after {
  content: '';
  position: absolute;
  inset: 0;
}
.cal__cell.is-single:hover .cal__day { background: #fffaf0; }

.cal__empty {
  margin-top: 1.5rem;
  font: italic 500 1.25rem/1.4 var(--serif);
  color: var(--ink-soft);
}

@media (max-width: 899px) {
  .pill .pill__long { display: none; }
  .pill .pill__short { display: inline; }
}
@media (max-width: 639px) {
  .cal__wd-long { display: none; }
  .cal__wd-short { display: inline; }
  .cal__grid th { text-align: center; }
  .cal__day { align-items: center; justify-content: flex-start; padding: 0.4rem 0.1rem; min-height: 68px; }
  .cal__events { align-items: center; }
  .pill { min-height: 26px; padding: 0 0.45em; font-size: 0.625rem; letter-spacing: 0.02em; }
  .pill--legend { min-height: 12px; padding: 0; }
  .cal__head { gap: 0.5rem; }
}

/* ---------- Delivery and pickup ---------- */

.handoff-grid { display: grid; }
.handoff {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.handoff:first-child { padding-top: 0; }
@media (min-width: 768px) {
  .handoff-grid { grid-template-columns: 1fr 1fr; }
  .handoff { padding: 0 clamp(1.5rem, 4vw, 3.5rem) 0.5rem 0; border-bottom: 0; }
  .handoff + .handoff { padding-left: clamp(1.5rem, 4vw, 3.5rem); padding-right: 0; border-left: 1px solid var(--rule); }
}
.handoff .pill--legend { margin: 0 0 0.25rem; }
.handoff__title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; }
.handoff__fee {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.5rem;
}
.handoff__fee::after {
  content: '';
  order: 1;
  flex: 1;
  border-bottom: 1.5px dotted var(--rule-strong);
  transform: translateY(-0.3em);
}
.handoff__fee span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.handoff__fee strong { order: 2; font: 500 2rem/1 var(--serif); }
.handoff__text { color: var(--ink-soft); white-space: pre-line; }
.cutoff {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font: italic 500 1.25rem/1.4 var(--serif);
}

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

.section--order { background: var(--paper-deep); }

.order-card { position: relative; }

.order-form { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .order-form {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas: 'alert alert' 'main side';
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    row-gap: 0;
    align-items: start;
  }
  .form-alert { grid-area: alert; margin-bottom: 2rem; }
  .order-form__main { grid-area: main; }
  .order-summary { grid-area: side; position: sticky; top: calc(var(--header-h) + 24px); }
}

.step { margin: 0; padding: 0; border: 0; min-width: 0; }
.step + .step { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.step__legend {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 1.5rem;
  font: 500 clamp(1.75rem, 3.5vw, 2.25rem)/1.1 var(--serif);
}
.step__legend + * { clear: both; }
.step__num { color: var(--ox); font-style: italic; }
.step__num::after { content: '.'; }

/* Choice cards (radio buttons) */
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__body {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  min-height: 64px;
  height: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid var(--field-line);
  background: var(--field);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice__body::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border: 1.5px solid var(--field-line);
  border-radius: 50%;
  background: var(--field);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.choice__title { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.choice__meta { font-size: 0.8125rem; color: var(--ink-soft); }
.choice:hover .choice__body { border-color: var(--ink); }
.choice input:checked + .choice__body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fffaf0; }
.choice input:checked + .choice__body::before { border-color: var(--ox); box-shadow: inset 0 0 0 4px #fffaf0, inset 0 0 0 9px var(--ox); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--ox); outline-offset: 3px; }
@media (max-width: 359px) { .choice-row { grid-template-columns: 1fr; } }

.panel { margin-top: 1.5rem; }

/* Menu picker */
.menu-picker:focus { outline: none; }
.picker-group + .picker-group { margin-top: 1.75rem; }
.picker-group__title {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ink);
  font: 600 0.6875rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.qty-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--rule);
}
.qty-row__info { display: grid; gap: 0.1rem; min-width: 0; }
.qty-row__name { font: 500 1.375rem/1.2 var(--serif); }
.qty-row__meta { font-size: 0.8125rem; color: var(--ink-soft); }
.qty-row__price { font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) {
  .qty-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'info stepper' 'price stepper';
    row-gap: 0.15rem;
  }
  .qty-row__info { grid-area: info; }
  .qty-row__name { font-size: 1.25rem; }
  .qty-row__price { grid-area: price; }
  .qty-row .stepper { grid-area: stepper; }
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--field-line);
  background: var(--field);
}
.stepper:focus-within { border-color: var(--ink); }
.stepper__btn {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.stepper__btn:hover { background: var(--ink); color: var(--on-dark); }
.stepper__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; }
.stepper__input {
  width: 2.5rem;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus-visible { outline-offset: 0; }

/* Fields */
.field { display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.field-grid { display: grid; gap: 0 1rem; }
.field-grid .field:first-child { margin-top: 0; }
@media (min-width: 640px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.field__optional { font-weight: 500; color: var(--ink-soft); }
.field__hint { font-size: 0.875rem; color: var(--ink-soft); white-space: pre-line; }
.field__hint a { color: var(--ox); font-weight: 500; }

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--field-line);
  background: var(--field);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover, .field select:hover:not(:disabled) { border-color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(138, 43, 23, 0.3);
}
.field [aria-invalid='true'] { border-color: var(--error); }
.field select:disabled { background: transparent; color: var(--ink-soft); cursor: not-allowed; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}

.field__error {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 500;
}
.field__error::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 16px; height: 16px;
  background: var(--error);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}
.step > .field__error, .panel > .field__error { margin-top: 0.75rem; }

.form-alert {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--error);
  border-left-width: 4px;
  background: var(--error-tint);
  color: var(--ink);
}
.form-alert:focus { outline: none; box-shadow: 0 0 0 3px rgba(155, 28, 28, 0.25); }
.form-alert__title { font-weight: 600; }
.form-alert__list { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.form-alert__list a { color: var(--error); font-weight: 500; }

/* Estimate panel, set like a receipt */
.order-summary {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper) var(--grain);
  border: 1px solid var(--ink);
}
.order-summary__title { font-size: 2rem; font-weight: 400; font-style: italic; }
.est-empty { color: var(--ink-soft); font: italic 500 1.125rem/1.4 var(--serif); }
.est-list { margin: 0; display: grid; }
.est-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1.5px dotted var(--rule-strong);
  font-size: 0.9375rem;
}
.est-row dt { min-width: 0; }
.est-row dd { margin: 0; flex: none; font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.est-row--fee { color: var(--ink-soft); }
.est-row--total { border-bottom: 0; border-top: 1px solid var(--ink); margin-top: -1.5px; padding-top: 1rem; align-items: center; }
.est-row--total dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.est-row--total dd { font: 500 2.25rem/1 var(--serif); }
.turnstile:empty { display: none; }
#submit-btn { min-height: 60px; background: var(--ox); }
#submit-btn:hover:not(:disabled) { background: var(--ox-deep); }

/* Sending state */
.order-sending {
  position: absolute;
  inset: -1rem;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  padding: 2rem;
  background: rgba(230, 220, 203, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-align: center;
  animation: fade-in 0.35s var(--ease) both;
}
.order-sending__title { font: italic 400 clamp(2rem, 4vw, 2.75rem)/1.1 var(--serif); }
.order-sending__sub { color: var(--ink-soft); }
.loader {
  width: 52px; height: 52px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  border-top-color: var(--ox);
  animation: spin 1.1s linear infinite;
}

/* Confirmation */
.order-confirm {
  display: grid;
  justify-items: start;
  gap: 1rem;
  max-width: 720px;
  animation: rise-in 0.6s var(--ease) both;
}
.order-confirm__mark {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  background: var(--ox);
  color: var(--on-dark);
}
.order-confirm__mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.order-confirm__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 400; }
.order-confirm__title:focus { outline: none; }
.order-confirm__id { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.order-confirm__id strong { color: var(--ink); }
.order-confirm__text { font: italic 500 1.5rem/1.4 var(--serif); }
.order-confirm__summary {
  width: 100%;
  margin: 1rem 0 0;
  border-top: 1px solid var(--ink);
}
.confirm-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.confirm-row dt { color: var(--ink-soft); }
.confirm-row dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.confirm-items li + li { margin-top: 0.2rem; }
@media (max-width: 479px) { .confirm-row { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---------- Reviews (ink band) ---------- */

.section--tint { background: var(--ink); color: var(--on-dark); }
.section--tint .section__head { border-top-color: var(--on-dark); }
.section--tint :focus-visible { outline-color: var(--on-dark); }
.section--tint .icon-btn { border-color: var(--on-dark); color: var(--on-dark); }
.section--tint .icon-btn:hover:not(:disabled) { background: var(--on-dark); color: var(--ink); }
.section--tint .carousel__head { margin-top: -1rem; }

.review {
  display: grid;
  align-content: space-between;
  gap: 2rem;
  height: 100%;
  min-height: 260px;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
}
.review__mark { display: none; }
.review__text { margin: 0; }
.review__text p { font: italic 400 clamp(1.5rem, 2.8vw, 1.875rem)/1.3 var(--serif); }
.review__by { display: grid; gap: 0.25rem; }
.review__name { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.review__date { font-size: 0.8125rem; color: var(--on-dark-soft); }

/* ---------- Past work ---------- */

.past-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 42vw, 280px);
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
@media (min-width: 768px) { .past-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 22vw, 300px); } }
.past-tile .ph { aspect-ratio: auto; height: 100%; }
.past-tile .ph::after {
  content: '[PHOTO]';
  position: absolute;
  left: 1.25rem; bottom: 1.1rem;
  font: 600 0.625rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.past-tile--tall { grid-row: span 2; }
.past-tile--wide { grid-column: span 2; }

/* ---------- About ---------- */

.about__text { max-width: 54rem; }
@media (min-width: 900px) { .about__text { margin-left: auto; } }
.about__text p { font: 400 clamp(1.75rem, 3.6vw, 2.75rem)/1.2 var(--serif); letter-spacing: -0.01em; }

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

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.site-footer__inner {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer__brand { display: grid; gap: 1rem; justify-items: start; }
.site-footer__name { font: 400 clamp(2.5rem, 6vw, 4.5rem)/0.95 var(--serif); letter-spacing: -0.03em; }
.site-footer__label {
  margin-bottom: 0.75rem;
  font: 600 0.6875rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.site-footer__contact p { white-space: pre-line; }
.site-footer__nav ul { display: grid; gap: 0.6rem; }
.site-footer__nav a { text-decoration: none; color: var(--on-dark); }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-soft);
}
.site-footer__base a { color: var(--on-dark-soft); }
.site-footer :focus-visible { outline-color: var(--on-dark); }

/* ---------- Loading and errors ---------- */

.skeleton-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 220px); gap: 1.5rem; overflow: hidden; }
.skeleton-row span, .skeleton-cal, .skeleton-lines span {
  display: block;
  aspect-ratio: 1 / 1;
  background: linear-gradient(100deg, var(--paper-deep) 40%, var(--field) 50%, var(--paper-deep) 60%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.skeleton-cal { aspect-ratio: 7 / 4; }
.skeleton-lines { display: grid; gap: 1rem; padding-top: 0.5rem; }
.skeleton-lines span { aspect-ratio: auto; height: 4.5rem; }
.skeleton-lines--sm span { height: 1.75rem; }
.load-error {
  padding-block: 1rem;
  color: var(--ink-soft);
  font: italic 500 1.25rem/1.4 var(--serif);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loader { animation: none; border-top-color: var(--ox); }
}
