/* ==========================================================================
   SourdoughSof — stylesheet
   Palette: parchment ground, crust browns, ember accent.
   ========================================================================== */

:root {
  --parchment: #faf5ec;
  --parchment-deep: #f2e9da;
  --flour: #fffdf8;
  --crust: #4a2c17;
  --crust-soft: #6b452a;
  --ember: #c4762f;
  --ember-deep: #a55d1e;
  --ink: #2b1d13;
  --muted: #7a6853;
  --rule: #e0d2bd;

  --shadow-sm: 0 1px 2px rgba(74, 44, 23, .06), 0 4px 12px rgba(74, 44, 23, .05);
  --shadow-md: 0 2px 4px rgba(74, 44, 23, .06), 0 12px 32px rgba(74, 44, 23, .09);

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 14px;
}

/* ── Base ────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

/* Subtle flour-dust texture over the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(196, 118, 47, .05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(74, 44, 23, .04) 0 1px, transparent 1px);
  background-size: 42px 42px, 67px 67px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--crust);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

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

img, svg { max-width: 100%; }

::selection { background: var(--ember); color: var(--flour); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--crust);
  color: var(--flour);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember-deep);
  font-weight: 600;
  margin-bottom: .9rem;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--muted); font-size: 1.075rem; }

.note { color: var(--muted); font-size: .95rem; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: inherit;
  font-weight: 600;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn-primary {
  background: var(--crust);
  color: var(--flour);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--ember-deep);
  color: var(--flour);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  border-color: var(--crust);
  color: var(--crust);
  background: transparent;
}
.btn-ghost:hover { background: var(--crust); color: var(--flour); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ── Header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: 0 6px 24px rgba(74, 44, 23, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
/* Brand left, everything else pushed right. */
.brand { margin-right: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--crust);
}

.brand-mark { width: 34px; height: 34px; flex: none; }
.mark-crust { fill: var(--crust); }
.mark-inner { fill: none; stroke: var(--parchment); stroke-width: 1.5; opacity: .45; }
.mark-score { fill: none; stroke: var(--parchment); stroke-width: 2.2; stroke-linecap: round; }

.brand-text {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand-text em { font-style: italic; color: var(--ember-deep); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--crust-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: .35rem 0;
  border-bottom: 1.5px solid transparent;
}
.site-nav a:hover { color: var(--crust); border-bottom-color: var(--ember); }

/* Lives outside .site-nav so it survives the mobile collapse. */
.nav-cta {
  flex: none;
  background: var(--crust);
  color: var(--flour);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  transition: background-color .18s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ember-deep); color: var(--flour); }

.nav-toggle {
  display: none;
  flex: none; /* never let the flex row squash the tap target */
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--crust);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s 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); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(70% 90% at 82% 20%, rgba(196, 118, 47, .16), transparent 62%),
    linear-gradient(180deg, var(--parchment-deep), var(--parchment));
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--crust-soft);
  max-width: 34rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 2.75rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
.hero-stats dt {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--crust);
}

.hero-art { display: flex; justify-content: center; }
.boule { width: min(100%, 430px); filter: drop-shadow(0 26px 44px rgba(74, 44, 23, .24)); }
.boule-shadow { fill: rgba(74, 44, 23, .13); }
.boule-flour circle { fill: #fff4e0; opacity: .5; }
.boule-base { fill: #5e3211; opacity: .22; }
.boule-rim { fill: none; stroke: rgba(74, 44, 23, .28); stroke-width: 2; }

.score path { fill: none; stroke-linecap: round; }
.score-ear { stroke: #f7ddb2; stroke-width: 11; }
.score-cut { stroke: #7a4318; stroke-width: 7; opacity: .8; }

.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--parchment));
}

/* ── Marquee ─────────────────────────────────────────────────────────── */

.marquee {
  background: var(--crust);
  color: var(--parchment-deep);
  padding: .85rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: slide 38s linear infinite;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .03em;
  white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--ember); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Story ───────────────────────────────────────────────────────────── */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillars li { background: var(--flour); padding: 1.75rem 1.5rem; }
.pillars h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.pillars p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }

.pillar-icon {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--parchment-deep);
  margin-bottom: 1rem;
}
.pillar-icon svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: var(--ember-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Menu ────────────────────────────────────────────────────────────── */

.menu { background: var(--parchment-deep); }

.cat-title {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: .75rem;
  margin: 3.25rem 0 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.cat-title:first-child { margin-top: 0; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem clamp(2rem, 5vw, 4rem);
}
.menu-list > li { break-inside: avoid; }

.item-head { display: flex; align-items: baseline; gap: .6rem; }
.item-head h4 { font-size: 1.15rem; margin: 0; flex: none; max-width: 82%; }
.item-head .dots {
  flex: 1;
  height: 1px;
  border-bottom: 1.5px dotted var(--rule);
  transform: translateY(-3px);
}
.price {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ember-deep);
  flex: none;
}

.menu-list p { margin: .4rem 0 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

.tag {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--body);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ember-deep);
  background: rgba(196, 118, 47, .13);
  border-radius: 999px;
  padding: .2rem .55rem;
  margin-left: .35rem;
}

/* ── Process ─────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 2.25rem;
  border-top: 2px solid var(--rule);
}
.steps li::after {
  content: "";
  position: absolute;
  top: -6px; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ember);
}
.step-no {
  font-family: var(--display);
  font-size: 2.5rem;
  color: rgba(196, 118, 47, .3);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ── Schedule ────────────────────────────────────────────────────────── */

.schedule { background: var(--parchment-deep); }

.schedule-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.board {
  width: 100%;
  border-collapse: collapse;
  background: var(--flour);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: .95rem;
}
.board th, .board td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.board thead th {
  background: var(--crust);
  color: var(--parchment-deep);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: none;
}
.board tbody th {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--crust);
  font-weight: 600;
  white-space: nowrap;
}
.board tbody tr:last-child th,
.board tbody tr:last-child td { border-bottom: none; }
.board tr.dark { background: var(--parchment-deep); }
.board tr.dark td { color: var(--muted); font-style: italic; }

/* ── Voices ──────────────────────────────────────────────────────────── */

.voices { padding-top: clamp(3rem, 6vw, 5rem); }

.quote-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}
.quote-grid li {
  background: var(--flour);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
}
.quote-grid li::before {
  content: "\201C";
  position: absolute;
  top: .35rem; left: 1.4rem;
  font-family: var(--display);
  font-size: 3.5rem;
  color: rgba(196, 118, 47, .25);
  line-height: 1;
}
.quote-grid blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--crust);
}
.attrib { margin: 0; font-size: .84rem; letter-spacing: .04em; color: var(--muted); }

/* ── Order ───────────────────────────────────────────────────────────── */

.order { background: var(--crust); color: var(--parchment-deep); }
.order h2 { color: var(--flour); }
.order .eyebrow { color: var(--ember); }
.order .note { color: rgba(242, 233, 218, .6); }
.order a { color: var(--ember); }

.order-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.order-intro { position: sticky; top: 100px; }

.order-form {
  background: var(--flour);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 1.35rem; border: 0; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field > label,
.field > legend {
  display: block;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--crust-soft);
  margin-bottom: .5rem;
  padding: 0;
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--parchment);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: .75rem .9rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(196, 118, 47, .18);
}
textarea { resize: vertical; min-height: 90px; }

.field.invalid input,
.field.invalid select { border-color: #b5401f; }

.error {
  margin: .4rem 0 0;
  font-size: .84rem;
  color: #b5401f;
  min-height: 0;
}
.error:empty { display: none; }

/* One bordered block rather than separate cards: no gaps, and the cells
   share hairline dividers. The outer radius is clipped, so corner cells
   round without needing their own radii. */
.picker {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--parchment);
}

/* The li is the grid item and stretches to the row; the label has to fill
   it, or a one-line option sits short next to a wrapped one. */
.picker li { display: flex; border-top: 1px solid var(--rule); }
.picker li:nth-child(-n + 2) { border-top: none; }  /* first row */
.picker li:nth-child(odd) { border-right: 1px solid var(--rule); }

.picker label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .93rem;
  padding: .7rem .8rem;
  cursor: pointer;
  background: var(--parchment);
  transition: background-color .15s ease;
}
.picker label:hover { background: var(--parchment-deep); }
.picker label:has(input:checked) { background: rgba(196, 118, 47, .15); }
.picker input { accent-color: var(--ember-deep); width: 17px; height: 17px; flex: none; }
.picker label span { margin-left: auto; color: var(--muted); font-size: .86rem; }

.total {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--crust);
}

.fine { margin: .85rem 0 0; text-align: center; font-size: .84rem; color: var(--muted); }

.form-status {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: 10px;
  background: rgba(196, 118, 47, .1);
  border: 1.5px solid var(--ember);
  font-size: .95rem;
}
.form-status h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.form-status ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.form-status p:last-child { margin-bottom: 0; }

/* ── Orders paused ───────────────────────────────────────────────────── */

.closed-banner {
  background: var(--ember-deep);
  color: var(--flour);
  font-size: .93rem;
  padding: .7rem 0;
  position: relative;
  z-index: 60;
}
.closed-banner strong { font-weight: 700; margin-right: .4rem; }
.closed-banner .wrap { display: flex; flex-wrap: wrap; gap: .15rem .4rem; }

.order-grid-closed { align-items: center; }

.closed-card {
  background: var(--flour);
  border-radius: var(--radius);
  border-left: 4px solid var(--ember);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.closed-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.closed-card p { color: var(--muted); }
.closed-card p:last-child { margin-bottom: 0; }
.closed-card a { color: var(--ember-deep); }

.closed-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--parchment-deep);
  margin-bottom: 1.1rem;
}
.closed-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--ember-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { background: var(--parchment-deep); }
.faq-inner { max-width: 48rem; }

.accordion details {
  border-bottom: 1px solid var(--rule);
}
.accordion details:first-child { border-top: 1px solid var(--rule); }

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--crust);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  position: absolute;
  right: .35rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--ember-deep);
  border-bottom: 2px solid var(--ember-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.accordion details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.accordion summary:hover { color: var(--ember-deep); }
.accordion details p {
  margin: 0 0 1.35rem;
  padding-right: 2.5rem;
  color: var(--muted);
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--crust);
  color: rgba(242, 233, 218, .75);
  padding: 3.5rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-brand .brand-text { color: var(--flour); font-size: 1.4rem; display: block; margin-bottom: .5rem; }
.footer-brand p { margin: 0; font-size: .92rem; max-width: 24rem; }
.footer-contact { margin-top: .6rem !important; }
.footer-contact a { color: var(--ember); text-decoration: none; }
.footer-contact a:hover { color: var(--flour); text-decoration: underline; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-nav a { color: rgba(242, 233, 218, .8); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--ember); }

.copyright {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242, 233, 218, .15);
  font-size: .84rem;
  color: rgba(242, 233, 218, .55);
}

/* ── Reveal on scroll ────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .boule { width: min(62%, 300px); }
  .story-grid,
  .schedule-grid,
  .order-grid { grid-template-columns: 1fr; }
  .order-intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }

  .nav-toggle { display: inline-flex; }

  /* Tightened so brand + Order + toggle all fit across a 320 px bar. */
  .nav-cta { padding: .5rem 1rem; font-size: .9rem; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
  }
  .site-nav li + li { border-top: 1px solid var(--rule); }
  .site-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; border-bottom: none; }

  .menu-list,
  .picker,
  .field-row,
  .pillars { grid-template-columns: 1fr; }

  /* Single column: no vertical divider, and every row but the first
     needs a top one. */
  .picker li:nth-child(odd) { border-right: none; }
  .picker li:nth-child(2) { border-top: 1px solid var(--rule); }

  .item-head h4 { max-width: none; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem 2rem; }
  .board { font-size: .88rem; }
  .board th, .board td { padding: .8rem .75rem; }
}

/* Smallest phones: brand, Order and the toggle still have to share one row. */
@media (max-width: 380px) {
  .header-inner { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-text { font-size: 1.05rem; }
  .nav-cta { padding: .45rem .8rem; font-size: .85rem; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ── Motion & print ──────────────────────────────────────────────────── */

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

@media print {
  .site-header, .marquee, .hero-art, .order-form, .btn { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
