/* =========================================================
   Rose Platter Co. — styles
   Colors and fonts live in the :root tokens below.
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-latin-500-italic.woff2") format("woff2"); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;

  /* Palette */
  --rose: #B5616C;          /* dusty rose: accents, rules */
  --rose-deep: #9A4855;     /* text-safe rose: buttons, links */
  --blush: #F6DFE2;         /* soft blush: panels */
  --blush-soft: #FCF0F1;
  --ivory: #FBF8F3;         /* page background */
  --white: #FFFFFF;
  --charcoal: #3B3638;      /* body text */
  --muted: #6B6365;
  --sage: #6F8164;          /* subtle sage accents */
  --sage-soft: #E9EDE3;
  --line: #E8D6D8;

  /* Type */
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.7rem + 4vw, 4.6rem);

  --radius: 14px;
  --wrap: 1140px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums;
  margin: 0 0 .5em;
  color: var(--charcoal);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 500; }
h2 { font-size: var(--step-3); font-weight: 500; }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }

a { color: var(--rose-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--charcoal); color: var(--white); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.6rem;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .02em;
  color: var(--white); background: var(--rose-deep);
  border: 1.5px solid var(--rose-deep); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #823B47; border-color: #823B47; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--rose-deep); }
.btn-ghost:hover { background: var(--blush); color: var(--rose-deep); border-color: var(--rose-deep); }
.btn-small { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--charcoal); }
.brand img { width: 56px; height: 56px; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 13px; width: 22px; height: 2px; background: var(--charcoal);
  border-radius: 2px; transition: transform .2s, opacity .2s; content: "";
}
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { top: -7px; left: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.35rem; }
.site-nav a:not(.btn) { color: var(--charcoal); text-decoration: none; font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--rose-deep); text-decoration: underline; }

@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.3rem; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(59, 54, 56, .35);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .site-nav li a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav-cta { padding-top: 1rem; }
  .nav-cta .btn { width: 100%; min-height: 50px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.lede { font-size: 1.15rem; max-width: 46ch; color: var(--charcoal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.hero-note { color: var(--muted); font-size: .98rem; margin: 0; }

/* The arch-framed photo sits on a blush disc that echoes the logo */
.hero-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); }
.hero-photo::before {
  content: ""; position: absolute; z-index: 0;
  width: 118%; aspect-ratio: 1; left: -9%; top: 50%; transform: translateY(-50%);
  border-radius: 50%; background: var(--blush);
  box-shadow: inset 0 0 0 10px var(--blush), inset 0 0 0 11.5px var(--rose);
}
.hero-photo picture {
  position: relative; z-index: 1;
  border-radius: 999px 999px 22px 22px; overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: 0 24px 50px -28px rgba(59, 54, 56, .5);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; width: min(62%, 300px); margin-top: .25rem; }
  .hero-photo picture { aspect-ratio: 5 / 6; }
  .hero h1 { max-width: 16ch; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Selling points ---------- */
.points { background: var(--white); border-block: 1px solid var(--line); }
.points-list {
  list-style: none; margin-block: 0; padding: 1.6rem 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem;
}
.points-list li { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 2px solid var(--sage-soft); }
.points-list strong { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.points-list span { color: var(--muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) { .points-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .points-list { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Menu ---------- */
.menu .section-head { margin-inline: auto; text-align: center; }
.menu-card {
  max-width: 760px; margin: 0 auto;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3.25rem);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 9px var(--white), inset 0 0 0 10px var(--blush);
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-row { display: flex; align-items: baseline; gap: .8rem; padding: 1.05rem 0; }
.price-list .price-row + .price-row { border-top: 1px solid var(--blush); }
.price-name { flex: 0 1 auto; min-width: 0; }
.price-name h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.85rem); margin: 0 0 .15rem; }
.price-name p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.price-dots { flex: 1 1 2rem; border-bottom: 2px dotted var(--rose); opacity: .55; transform: translateY(-.35rem); min-width: 1.5rem; }
.price { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 600; color: var(--rose-deep); margin: 0; white-space: nowrap; }
.price-unit { font-family: var(--sans); font-size: .95rem; font-weight: 400; color: var(--muted); }
.menu-keepsake {
  margin: .6rem 0 0; padding: .7rem 1rem; border-radius: 10px;
  background: var(--sage-soft); color: #44523C; font-size: .97rem; text-align: center;
}
.lunch-box { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.menu-foot { text-align: center; color: var(--muted); margin-top: 1.6rem; }

@media (max-width: 520px) {
  .price-row { flex-wrap: wrap; row-gap: .2rem; }
  .price-dots { display: none; }
  .price-name { flex: 1 1 60%; }
  .price { margin-left: auto; }
}

/* ---------- Board styles ---------- */
.styles { background: var(--blush-soft); }
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); }
.style { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.style picture { aspect-ratio: 3 / 2; overflow: hidden; }
.style img { width: 100%; height: 100%; object-fit: cover; }
.style-body { padding: 1.4rem 1.5rem 1.6rem; }
.style-body h3 { margin-bottom: .35rem; }
.style-body p { margin: 0; color: var(--muted); }
.style-body .text-link { display: inline-block; margin-top: .9rem; }
/* text-only styles (no photo yet): a sage card; the last odd one becomes a full-width band */
.style-text { background: var(--sage-soft); justify-content: center; }
.style-text .style-body { padding: clamp(1.6rem, 4vw, 2.6rem); }
.style-text h3 { font-size: var(--step-3); font-weight: 500; margin-bottom: .5rem; }
.style-text p { color: #4D5948; }
.style-text:last-child:nth-child(odd) { grid-column: 1 / -1; }
.style-text:last-child:nth-child(odd) .style-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .4rem 2.5rem; align-items: center; }
.style-text:last-child:nth-child(odd) h3 { margin: 0; grid-row: span 2; }
.style-text:last-child:nth-child(odd) .text-link { margin-top: 0; justify-self: start; }
@media (max-width: 700px) {
  .style-grid { grid-template-columns: 1fr; }
  .style-text:last-child:nth-child(odd) .style-body { grid-template-columns: 1fr; }
  .style-text:last-child:nth-child(odd) h3 { grid-row: auto; margin-bottom: .3rem; }
}

.text-link { color: var(--rose-deep); font-weight: 500; font-size: .97rem; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* More ways to graze */
.more-ways { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1.5rem 3rem; }
.more-head h3 { font-size: var(--step-2); font-weight: 500; }
.more-head p { color: var(--muted); margin: 0; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.more-list li { padding-top: .9rem; border-top: 2px solid var(--blush); }
.more-list h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 .35rem; line-height: 1.2; }
.more-list p { color: var(--muted); font-size: .97rem; margin: 0 0 .5rem; }
@media (max-width: 900px) { .more-ways { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .more-list { grid-template-columns: 1fr; } }

/* Seasonal favorites */
.season-featured { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.season-feature:only-child { grid-column: 1 / -1; }
.season-feature:only-child p { max-width: 62ch; }
.season { position: relative; }
.season h3 { margin-bottom: .45rem; }
.season p { color: var(--muted); }
.season-occasion { font-size: .92rem; color: var(--sage) !important; font-weight: 500; margin: 0 0 .5rem; }
.season-avail { color: var(--rose-deep) !important; font-weight: 500; font-size: .95rem; }
.season-feature {
  background: var(--white); border-radius: 24px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 9px var(--white), inset 0 0 0 10px var(--blush);
}
.season-feature h3 { font-size: var(--step-3); font-weight: 500; }
.season-feature p { font-size: 1.05rem; }
.season-list { list-style: none; margin: clamp(1.2rem, 3vw, 2rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.season-list .season { padding: 1.3rem 1.4rem 1.4rem; border-radius: var(--radius); background: var(--blush-soft); }
.season-list h3 { font-size: 1.5rem; }
.season-list p { font-size: .97rem; margin-bottom: .6rem; }
.season-foot { margin-top: clamp(1.8rem, 4vw, 2.6rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--sage-soft); }
.season-foot p { margin: 0; color: #44523C; font-size: 1.02rem; }
@media (max-width: 860px) { .season-featured { grid-template-columns: 1fr; } .season-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .season-foot .btn { width: 100%; } }

/* Individual boxes */
.boxes { background: var(--blush); }
.boxes-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.boxes-photo { margin: 0; }
.boxes-photo picture { border-radius: 24px; overflow: hidden; border: 8px solid var(--white); box-shadow: 0 30px 60px -40px rgba(59, 54, 56, .6); }
.boxes-photo img { width: 100%; height: auto; }
.boxes-price { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 600; color: var(--rose-deep); line-height: 1; margin: .1rem 0 1rem; }
.boxes-price span { font-family: var(--sans); font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.boxes-desc { font-size: 1.12rem; }
.boxes-tagline { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--charcoal); margin-bottom: 1.4rem; }
.boxes-note { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .boxes-inner { grid-template-columns: 1fr; } .boxes-photo { max-width: 460px; } .boxes .btn { width: 100%; } }

/* Announcement */
.announcement { background: var(--charcoal); color: #F6E9EA; font-size: .95rem; }
.announcement p { margin-block: 0; padding: .6rem 0; text-align: center; }
.announcement a { color: #F6DFE2; font-weight: 500; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem;
}
.gallery-grid li:first-child { grid-row: span 2; }
.g-item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--blush);
}
.g-item picture, .g-item img { width: 100%; height: 100%; }
.g-item img { object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.03); }
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: .6rem; }
  .gallery-grid li:first-child { grid-column: span 2; grid-row: span 2; }
}

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(94vw, 900px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(43, 38, 40, .82); }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; margin: 0 auto; }
.lightbox-close {
  display: block; margin: .8rem auto 0; min-height: 44px; padding: .5rem 1.4rem;
  font: 500 1rem var(--sans); color: var(--charcoal); background: var(--white);
  border: 0; border-radius: 999px; cursor: pointer;
}

/* ---------- About ---------- */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-mark { justify-self: center; width: 100%; max-width: 320px; }
.about-copy { max-width: 60ch; }
.about-copy p { font-size: 1.1rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2rem !important; color: var(--rose-deep); margin-top: .4rem; }
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-mark { max-width: 190px; }
}

/* ---------- Delivery ---------- */
.delivery-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.delivery-big { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; color: var(--rose-deep); }
.steps { background: var(--white); border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); }
.steps h3 { font-size: 1.6rem; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1rem 2.8rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--rose-deep); font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
}
.steps-note { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .delivery-inner { grid-template-columns: 1fr; } }

/* ---------- Order ---------- */
.order { background: var(--blush); }
.order-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.order-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.order-intro > p { font-size: 1.1rem; }
.notice { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem; border-left: 4px solid var(--sage); margin: 1.4rem 0; }
.notice h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; margin-bottom: .5rem; }
.notice p { font-size: .97rem; color: var(--charcoal); }
.notice p:last-child { margin-bottom: 0; }
.order-email { font-size: 1rem; overflow-wrap: anywhere; }

.order-form { background: var(--white); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -45px rgba(59, 54, 56, .55); }
.form-required-note { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.field { margin-bottom: 1.15rem; display: flex; flex-direction: column; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { font-weight: 500; font-size: .98rem; }
.req { color: var(--rose-deep); }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem;
  font: 400 16px/1.4 var(--sans); color: var(--charcoal);
  background: var(--ivory); border: 1.5px solid #D9C7C9; border-radius: 10px;
  transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%239A4855' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: var(--white); box-shadow: 0 0 0 3px var(--sage-soft); }
.field input::placeholder, .field textarea::placeholder { color: #9A8F91; }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF7F6; }
.field-error { color: #B3261E; font-size: .9rem; margin: 0; }
.field-zip input { max-width: 12rem; }
.hint { margin: 0; font-size: .92rem; color: var(--muted); }
.hint.is-outside { color: #6E4A17; }
.hint.is-inside { color: #44523C; }
.form-error { background: #FFF1F0; color: #8C1D18; border-radius: 10px; padding: .8rem 1rem; font-size: .95rem; }
.form-small { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* lunch box quantity shows only when relevant (always visible without JS) */
.qty-total { color: #44523C; font-weight: 500; }
.order-panel { position: relative; }
.form-success {
  background: var(--white); border-radius: 20px; padding: clamp(1.8rem, 5vw, 3rem);
  box-shadow: 0 30px 60px -45px rgba(59, 54, 56, .55); text-align: center;
}
.form-success:focus { outline: none; }
.form-success h3 { font-size: var(--step-3); font-weight: 500; }
.form-success p { font-size: 1.12rem; max-width: 46ch; margin-inline: auto; }
.form-success .signature { font-size: 1.8rem !important; }
.btn[disabled] { opacity: .65; cursor: progress; }

@media (max-width: 860px) {
  .order-inner { grid-template-columns: 1fr; }
  .order-intro { position: static; }
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .field-zip input { max-width: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #EDE6E7; padding: 3rem 0 6rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #F6DFE2; }
.footer-name { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin-bottom: .3rem; color: var(--white); }
.footer-h { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--white); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer p { margin-bottom: .4rem; overflow-wrap: anywhere; }
.copyright { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #575052; font-size: .9rem; color: #BDB3B5; }
@media (min-width: 1101px) { .site-footer { padding-bottom: 3rem; } }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; z-index: 40; left: 1rem; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 12px 30px -10px rgba(59, 54, 56, .55);
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-cta.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
@media (min-width: 1101px) { .mobile-cta { display: none; } }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.simple-page .wrap { max-width: 620px; }
.simple-page img { width: 150px; margin: 0 auto 1.5rem; }
.simple-page p { font-size: 1.1rem; }
