/* The Spontaneous Cafe. Direction C, Cottage Kitchen.
   Tokens first, everything else reads from them. Single light theme by decision (CONTEXT.md). */

:root {
  --linen: #F1E9DA;
  --linen-deep: #E6DBC6;
  --paper: #FAF6EE;
  --ink: #26241F;
  --ink-soft: #5A564C;
  --ink-mute: #625D50;
  --red: #8F1F1F;
  --red-deep: #6E1616;
  --green: #2B3A2C;
  --green-soft: #3E5240;
  --sage: #9AA88A;
  --sage-soft: #CBD2BE;
  --butter: #E8B98A;
  --butter-soft: #F3DDC0;
  --line: #D9CFBC;
  --line-strong: #C4B79F;
  --line-input: #8C7E60;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;
  --font-body: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.75rem, 3.2vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 4.4vw, 3.25rem);
  --text-hero: clamp(2.5rem, 6vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --measure: 62ch;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --shadow: 0 1px 0 rgba(38, 36, 31, 0.06), 0 12px 32px -18px rgba(38, 36, 31, 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 700ms;
}

/* Reset, minimal */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* The sticky header is ~76px tall; give every in-page anchor room so a jump
   or scrollIntoView doesn't tuck the target's top edge under it. */
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
picture { display: contents; }
picture > source { display: none; }
img { height: auto; }
a { color: var(--red); text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-deep); }
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--paper);
}
/* Dark grounds: flip the two tones so the ring keeps a 3:1 edge either way. */
.section--green :focus-visible,
.cta :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
  outline-color: var(--paper);
  box-shadow: 0 0 0 3px var(--green);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: var(--text-hero); line-height: 1.02; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { margin: 0; }
p + p { margin-top: var(--space-4); }
ul, ol { margin: 0; padding-left: 1.2em; }
button { font: inherit; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 1000; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type helpers */
/* Hand accent. Rule: only in a hero h1 or a CTA h2, on the load-bearing word pair (both words, symmetric), never on a lone connective. */
.hand { font-family: var(--font-hand); font-weight: 700; font-style: normal; color: var(--red); font-size: 1.22em; line-height: 0.9; }
.hero .hand, .cta .hand, .section--green .hand { color: var(--butter); }
.hero--plain .hand { color: var(--red); text-shadow: none; }
.eyebrow { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-soft); }
.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.measure { max-width: var(--measure); }
.small { font-size: var(--text-sm); color: var(--ink-soft); }

/* Layout */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-8); }
.section--paper { background: var(--paper); }
.section--deep { background: var(--linen-deep); }
.section--green { background: var(--green); color: var(--linen); }
.section--green a { color: var(--butter); }
.section--green .eyebrow { color: var(--sage); }
/* ink-soft is 1.65:1 on green. Anything landing on a green ground reads sage-soft (7.74:1). */
.section--green .lede, .section--green .small, .cta .lede, .cta .small { color: var(--sage-soft); }
.section-head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); max-width: 60ch; }
.section-head .eyebrow { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; }
.split > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.split--flip > :first-child { order: 2; }
/* A short block of text beside a photo: centre it so the column reads as
   deliberate space rather than a hole under the last line. */
.split--center { align-items: center; }
/* A figure that matches the height of the facing text column, in either
   direction: the image column is never short, and never runs past the last
   line of the text. The image is taken out of flow so it contributes no
   height of its own and the text alone sizes the row. Single column below
   the split width, where it goes back to a normal 4:3 crop. */
@media (min-width: 901px) {
  .split > .figure--fill { align-self: stretch; position: relative; min-height: 260px; }
  .split > .figure--fill img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
}
/* Text-only sections: heading column left, body column right, so no block leaves half the width empty. */
.prose-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-6) var(--space-7); align-items: start; }
.prose-split > .section-head { margin-bottom: 0; }
.prose-split .measure { max-width: none; }
.split:has(> .form) { align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.stack > p + p { margin-top: 0; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .prose-split { grid-template-columns: 1fr; gap: var(--space-6); }
  .split--flip > :first-child { order: 0; }
}
@media (max-width: 600px) {
  :root { --text-sm: 1rem; --text-xs: 0.875rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding-block: var(--space-7); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0.7rem 1.35rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); letter-spacing: 0.01em;
  color: var(--linen); background: var(--red); border: 1px solid var(--red); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--linen); }
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--linen); color: var(--green); border-color: var(--linen); }
.btn--light:hover { background: var(--paper); color: var(--green); border-color: var(--paper); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; gap: 0.35em; }
/* A short list of links reads as a row, not as one link per grid track with
   the rest of the track empty. */
.link-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.link-arrow::after { content: "\2192"; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--linen) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg, .brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--text-sm); letter-spacing: 0.01em; padding: 0.5rem 0; border-bottom: 2px solid transparent; transition: border-color var(--dur-fast); }
.nav a:hover { border-bottom-color: var(--sage); color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); color: var(--green); }
.nav .btn { min-height: 44px; padding: 0.5rem 1.1rem; font-size: var(--text-sm); border-bottom: 1px solid var(--red); }
.nav a.btn { color: var(--linen); }
.nav a.btn:hover { color: var(--linen); background: var(--red-deep); border-color: var(--red-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); min-width: 44px; min-height: 44px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--space-3) var(--gutter) var(--space-5);
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-md); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--red); }
  .nav .btn { margin-top: var(--space-4); min-height: 48px; justify-content: center; border-bottom: 1px solid var(--red); }
}

/* Hero with original client photography */
.hero {
  position: relative; isolation: isolate; color: var(--linen);
  min-height: min(78vh, 720px); display: flex; align-items: flex-end;
  background: var(--green);
}
.hero--short { min-height: min(62vh, 560px); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(38,30,22,0.50) 0%, rgba(38,30,22,0.18) 55%, rgba(38,30,22,0.04) 100%), linear-gradient(180deg, rgba(38,30,22,0.06) 0%, rgba(38,30,22,0.22) 45%, rgba(38,30,22,0.86) 100%); }
.hero .wrap { padding-block: var(--space-8) var(--space-7); width: 100%; }
.hero__inner { max-width: 44rem; display: flex; flex-direction: column; gap: var(--space-4); }
.hero .eyebrow { color: var(--paper); }
.hero h1 { color: var(--paper); text-shadow: 0 1px 2px rgba(38,30,22,0.35); }
.hero .lede, .hero .eyebrow, .hero__note { text-shadow: 0 1px 2px rgba(38,30,22,0.45); }
.hero .lede { color: var(--linen); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero__note { font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-soft); margin-top: var(--space-3); }
.hero__note a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.hero--plain { color: var(--ink); background: var(--linen-deep); min-height: 0; }
.hero--plain h1, .hero--plain .lede { color: inherit; }
.hero--plain .eyebrow { color: var(--red); }
.hero--plain .lede { color: var(--ink-soft); }
.hero--plain h1, .hero--plain .lede, .hero--plain .eyebrow { text-shadow: none; }
.hero--about .hero__portrait { margin: 0; }
.hero--about .hero__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 400px) {
  .hero__actions .btn { padding-inline: 1rem; }
}

/* Hero video pause control, injected by site.js. */
.hero__toggle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: var(--space-4);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; min-width: 44px; padding: 0.55rem 0.9rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); background: rgba(38, 30, 22, 0.55);
  border: 1px solid rgba(250, 246, 238, 0.7); border-radius: var(--radius);
  cursor: pointer; touch-action: manipulation;
  transition: background var(--dur-fast) var(--ease-out);
}
.hero__toggle:hover { background: var(--paper); color: var(--ink); }
.hero__toggle svg { display: block; flex: none; }
/* Narrow screens: the chip becomes an icon-only circle, top-right under the header. */
@media (max-width: 760px) {
  .hero__toggle {
    top: var(--space-4); bottom: auto; right: var(--gutter);
    width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0;
    border-radius: 50%;
  }
  .hero__toggle-label { display: none; }
}

/* Journey: paired text and photos with a continuous sage timeline. */
.timeline {
  --tl-ground: var(--paper);
  --tl-dot: 13px;
  --tl-rail: 8px;
  list-style: none; margin: 0; padding: 0;
}
.timeline__item {
  position: relative;
  padding: 0 0 var(--space-7) calc(var(--tl-rail) + var(--space-5));
  display: grid; gap: var(--space-5);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; top: 0.4rem; z-index: 1;
  left: calc(var(--tl-rail) - var(--tl-dot) / 2);
  width: var(--tl-dot); height: var(--tl-dot); border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--tl-ground);
}
.timeline__item::after {
  content: ""; position: absolute; width: 2px; background: var(--sage);
  top: 0.4rem; bottom: -0.4rem; left: calc(var(--tl-rail) - 1px);
}
.timeline__item:last-child::after { content: none; }
.timeline__item--open::before { background: var(--tl-ground); border: 2px solid var(--sage); }
.timeline__years {
  font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.1;
  color: var(--red); font-variant-numeric: tabular-nums;
}
.timeline__title { font-size: var(--text-md); font-family: var(--font-body); font-weight: 700; color: var(--ink); margin-top: var(--space-2); }
.timeline__detail { font-size: var(--text-sm); color: var(--ink-soft); margin-top: var(--space-2); max-width: 46ch; }
.timeline__image { margin: 0; min-width: 0; }
.timeline__image img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .timeline__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: calc(var(--space-7) * 2); padding-left: 0; }
  .timeline__item::before { left: calc(50% - var(--tl-dot) / 2); }
  .timeline__item::after { left: calc(50% - 1px); }
  .timeline__copy { grid-column: 1; grid-row: 1; text-align: right; }
  .timeline__image { grid-column: 2; grid-row: 1; }
  .timeline__item:nth-child(even) .timeline__copy { grid-column: 2; text-align: left; }
  .timeline__item:nth-child(even) .timeline__image { grid-column: 1; }
  .timeline__detail { max-width: none; }
}

/* Service cards */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.service { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage-soft); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.service:hover .service__img img { transform: scale(1.03); }
.service__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.service__body h3 { font-size: var(--text-xl); }
.service__body p { color: var(--ink-soft); font-size: var(--text-sm); }
.service__meta { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); font-size: var(--text-sm); }
.service__price { font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }
.service__link { color: var(--red); font-weight: 600; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Figure */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.figure--tall img { aspect-ratio: 3 / 4; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure figcaption { font-size: var(--text-xs); color: var(--ink-mute); margin-top: var(--space-2); letter-spacing: 0.04em; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.photo-grid .span-2 { grid-column: span 2; }
/* Two-up, for a grid that sits beside a long text column. */
.photo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid .span-2 img { aspect-ratio: 2 / 1; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-grid .span-2 { grid-column: span 2; order: -1; } }

/* Day timeline. Numbered because the order is the information. */
.day { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.day--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.day__step { position: relative; padding-top: var(--space-5); border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: var(--space-2); }
.day__step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -0.75em; left: 0; background: var(--linen); padding-right: var(--space-2); font-family: var(--font-display); font-size: var(--text-lg); color: var(--red); }
.section--paper .day__step::before { background: var(--paper); }
.day__time { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.day__step h3 { font-size: var(--text-lg); }
.day__step p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 900px) { .day { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .day { grid-template-columns: 1fr; } }

/* Sourcing list */
.sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-7); }
.source { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-4); align-items: start; }
.source img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.source h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.source p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 700px) { .sources { grid-template-columns: 1fr; } }

/* Sample menu */
.menu { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); position: relative; box-shadow: var(--shadow); }
.menu__stamp {
  position: absolute; top: -0.9rem; right: 1.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-xs);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--linen); background: var(--red);
  padding: 0.35rem 0.75rem; border-radius: 999px;
  transform: rotate(-3deg); line-height: 1;
}
.menu__head { display: flex; flex-direction: column; gap: var(--space-2); align-items: center; text-align: center; margin-bottom: var(--space-6); }
.menu__head h3 { font-size: var(--text-2xl); }
.menu__head .eyebrow { color: var(--red); }
.menu__courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-7); }
.course { display: flex; flex-direction: column; gap: var(--space-1); padding-bottom: var(--space-4); border-bottom: 1px dotted var(--line-strong); }
.course__label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.course h4 { font-size: var(--text-lg); font-weight: 500; }
.course p { font-size: var(--text-sm); color: var(--ink-soft); }
.menu__foot { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--ink-mute); text-align: center; font-style: italic; font-family: var(--font-display); }
/* An odd number of courses would leave the bottom right cell empty; the last
   one takes the full row instead. */
.menu__courses > .course:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .menu__courses { grid-template-columns: 1fr; } }

/* Menu tabs (service pages with several seasons) */
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.tabs button { background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 1rem; min-height: 44px; cursor: pointer; color: var(--ink); font-weight: 500; font-size: var(--text-sm); transition: background var(--dur-fast), color var(--dur-fast); }
.tabs button[aria-selected="true"] { background: var(--green); color: var(--linen); border-color: var(--green); }
.tabs button:hover { background: var(--paper); }
.tabs button[aria-selected="true"]:hover { background: var(--green-soft); }
[role="tabpanel"][hidden] { display: none; }
@media (max-width: 600px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs button { padding-inline: 0.5rem; }
}

/* Quote */
.quote { max-width: 52rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; gap: var(--space-4); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.25; font-weight: 400; color: var(--paper); text-wrap: balance; }
.quote blockquote::before { content: "\201C"; color: var(--butter); }
.quote blockquote::after { content: "\201D"; color: var(--butter); }
.quote cite { font-style: normal; font-size: var(--text-sm); color: var(--sage-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* Prices */
/* Cards size to their own content. Equal heights would push the button of a
   short card a long way below its last bullet. */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); align-items: start; }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.price h3 { font-size: var(--text-lg); }
.price p { font-size: var(--text-sm); color: var(--ink-soft); }
.price .price__amount { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.price .price__amount small { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink-mute); margin-left: 0.25em; }
.price ul { font-size: var(--text-sm); color: var(--ink-soft); padding-left: 1.1em; display: flex; flex-direction: column; gap: 0.25rem; }
.price > .btn { margin-top: var(--space-2); align-self: flex-start; }
.price > .link-arrow { margin-top: var(--space-3); }
.price--confirm { border-style: dashed; }
.price--wide { grid-column: 1 / -1; }
/* The wide card carries two stacks: the amount and what the tier covers on
   the left, the description, the list and the button on the right. Each stack
   flows on its own so neither column waits on the other's row height. */
.price--wide > .price__lead, .price--wide > .price__detail { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.price--wide > .price__lead { gap: var(--space-2); }
.price--wide > .price__detail > .btn { align-self: flex-start; margin-top: var(--space-1); }
@media (min-width: 700px) {
  .price--wide {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-7); align-items: start;
  }
}
.tag-confirm { display: inline-block; align-self: flex-start; font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; background: var(--butter-soft); color: var(--red-deep); padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 600; }
@media (max-width: 600px) { .prices { grid-template-columns: 1fr; } }
/* A price grid that also carries a full-width quote card: auto-fit counts the
   wide card as a track and leaves an empty cell beside the three tiers, so the
   tiers get explicit columns. */
.prices--tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .prices--tiers { grid-template-columns: 1fr; } }

/* Detail list (what's included, good to know) */
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-7); }
.details dt { font-weight: 600; color: var(--green); font-size: var(--text-sm); letter-spacing: 0.04em; }
.details dd { margin: var(--space-1) 0 0; color: var(--ink-soft); font-size: var(--text-sm); }
.details > div { padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
/* One column, for a details list that fills a text column beside a photo. */
.details--stack { grid-template-columns: 1fr; gap: var(--space-3); }
@media (max-width: 600px) { .details { grid-template-columns: 1fr; } }

/* Sub-experiences (forest bathing, farm tours, dinner parties) */
.subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.sub { display: flex; flex-direction: column; gap: var(--space-3); }
.sub img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.sub h3 { font-size: var(--text-lg); }
.sub p { font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 900px) { .subs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .subs { grid-template-columns: 1fr; } }

/* FAQ / good to know */
.faq { max-width: var(--measure); }
/* At full width the questions run in two columns, so four or five of them
   fill the row instead of leaving half the page empty. */
@media (min-width: 900px) {
  .faq--cols {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--space-7); align-items: start; max-width: none;
  }
  .faq--cols > details { min-width: 0; }
  /* An odd last question takes the full row rather than leaving a cell empty. */
  .faq--cols > details:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Close the bottom of the last row on both sides. */
  .faq--cols > details:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}
.faq details { border-top: 1px solid var(--line); padding: var(--space-3) 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: var(--text-lg); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4em; line-height: 1; transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-top: var(--space-2); max-width: var(--measure); }

/* CTA band */
.cta { background: var(--green); color: var(--linen); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: center; padding-block: var(--space-7); }
.cta h2 { color: var(--paper); font-size: var(--text-2xl); }
.cta p { color: var(--sage-soft); margin-top: var(--space-2); }
.cta__actions { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.cta__contact { font-size: var(--text-sm); color: var(--sage-soft); }
.cta__contact a { color: var(--linen); }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.form .field--full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { font: inherit; padding: 0.7rem 0.85rem; min-height: 48px; border: 1px solid var(--line-input); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--green); }
.field .help { font-size: 0.875rem; color: var(--ink-mute); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.form__status { font-size: var(--text-sm); color: var(--green); font-weight: 600; }
.form__status.is-error { color: var(--red-deep); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.contact-aside { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-aside .big { font-family: var(--font-display); font-size: var(--text-xl); }
.contact-aside .big, .contact-aside a, .cta__contact a { overflow-wrap: anywhere; word-break: normal; }
.contact-aside a { color: var(--ink); display: inline-block; padding-block: 0.5rem; }
.cta__contact a { display: inline-block; padding-block: 0.5rem; }
/* The form and the aside stop sharing a row before the inputs get cramped. */
@media (max-width: 1100px) {
  .split:has(> .form) { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 480px) {
  .contact-aside .big { font-size: 1.15rem; }
}
.contact-aside .rates p { font-size: var(--text-sm); }
/* Contact: the form runs much longer than the details beside it, so the
   questions sit under them and both columns finish together. Below the
   stacking width everything returns to source order, form before questions. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid > .contact-aside { grid-column: 1; grid-row: 1; }
.contact-grid > .form { grid-column: 2; grid-row: 1 / span 2; }
.contact-grid > .contact-faq { grid-column: 1; grid-row: 2; }
.contact-grid > .contact-faq .faq { max-width: none; }
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .contact-grid > .contact-aside, .contact-grid > .form, .contact-grid > .contact-faq { grid-column: 1; grid-row: auto; }
}

/* Policy pages: heading left, body right, so the page is not one narrow
   column with the rest of the width empty. */
.policy { display: grid; gap: var(--space-7); }
.policy .prose-split .measure { max-width: var(--measure); }
/* Policy headings label a clause; they are not display type. */
.policy h2 { font-size: var(--text-xl); }

/* Footer */
.site-footer { background: var(--green); color: var(--sage-soft); padding-block: var(--space-7) var(--space-6); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.site-footer .brand svg, .site-footer .brand img { height: 60px; }
.site-footer .tagline { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: 0.18em; text-transform: uppercase; color: var(--linen); margin-top: var(--space-3); }
.site-footer .footer-h { color: var(--linen); font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
.site-footer .wrap > * { min-width: 0; }
.site-footer a { color: var(--linen); text-decoration: none; overflow-wrap: anywhere; word-break: normal; }
.site-footer li { overflow-wrap: anywhere; word-break: normal; }
.site-footer ul a { display: inline-block; padding-block: 0.6rem; }
.site-footer a:hover { color: var(--butter); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(241,233,218,0.18); padding-top: var(--space-4); margin-top: var(--space-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .site-footer .wrap { grid-template-columns: 1fr; gap: var(--space-5); }
  .site-footer .tagline { font-size: var(--text-xs); letter-spacing: 0.12em; }
}

/* Reveal on scroll. Visible at rest; JS only adds motion when allowed. */
.reveal { opacity: 1; transform: none; }

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

/* Placeholder marker, removed when real assets land. */
.ph { position: relative; }
/* build.py copies the img's class onto its wrapping <picture> too, so .ph
   still needs a positioned box even though picture is display:contents by default. */
picture.ph { display: block; position: relative; }
.figure.ph::after { bottom: auto; top: 8px; }
.ph::after { content: "placeholder"; position: absolute; left: 8px; bottom: 8px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(38,36,31,0.7); color: var(--linen); padding: 2px 6px; border-radius: 2px; pointer-events: none; }


/* Home: photographs from Matt's own collection. */
.gallery-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: end; margin-bottom: var(--space-6); }
.harvest-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 280px 280px; gap: var(--space-3); }
.harvest-gallery figure { margin: 0; position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--green); }
.harvest-gallery__feature { grid-column: span 3; grid-row: span 2; }
.harvest-gallery__wide { grid-column: span 3; }
.harvest-gallery img { width: 100%; height: 100%; object-fit: cover; }
.harvest-gallery__wide img { object-position: center 85%; }
.harvest-gallery img[src*="home-good-4"] { object-position: right center; }
.harvest-gallery figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem 0.8rem; color: var(--paper); font-size: var(--text-sm); line-height: 1.3; background: linear-gradient(transparent, rgba(20, 25, 18, 0.85)); }
.harvest-gallery img[src*="home-good-9"] { object-position: center top; }
.figure--harvest img { aspect-ratio: 4 / 5; object-position: center; max-height: 640px; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.testimonial { margin: 0; display: flex; flex-direction: column; gap: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--sage); }
.testimonial blockquote { margin: 0; color: var(--paper); font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.5; }
.testimonial figcaption { margin-top: auto; color: var(--butter); font-size: var(--text-sm); }
.testimonial figcaption span { display: block; color: var(--sage-soft); font-size: var(--text-xs); margin-top: var(--space-1); }
@media (max-width: 900px) {
  .gallery-intro { grid-template-columns: 1fr; gap: var(--space-5); }
  .harvest-gallery { grid-template-rows: 240px 240px; }
  .testimonials { grid-template-columns: 1fr; gap: var(--space-6); }
  .testimonial { max-width: 60ch; }
}
@media (max-width: 600px) {
  .harvest-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .harvest-gallery figure { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
  .harvest-gallery .harvest-gallery__feature { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .harvest-gallery .harvest-gallery__wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .harvest-gallery figure:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .figure--harvest img { max-height: none; }
}

/* Additional personal photographs keep the original service-card artwork intact. */
.harvest-gallery--extras { margin-top: var(--space-3); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 230px; }
@media (max-width: 600px) {
  .harvest-gallery--extras { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .harvest-gallery--extras figure, .harvest-gallery--extras figure:last-child { grid-column: auto; aspect-ratio: 3 / 4; }
}
/* Analytics choices are hidden entirely until a production account is configured. */
[hidden] { display: none !important; }
.privacy-settings { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin-left: 1rem; text-decoration: underline; cursor: pointer; }
.cookie-notice { position: fixed; bottom: 1rem; right: 1rem; z-index: 100; width: min(30rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: 1.5rem; background: #faf6ee; color: #29271f; border: 1px solid #d8cdb7; border-radius: 6px; box-shadow: 0 8px 32px #29271f24; }
.cookie-notice h2 { font-size: 1.5rem; margin: 0 0 .65rem; }
.cookie-notice p { font-size: 1rem; line-height: 1.5; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.cookie-actions .btn { flex: 1 1 11rem; justify-content: center; padding: .7rem 1rem; }

/* Real photographs, with their original proportions and room to breathe. */
.gallery-preview { display: block; color: inherit; text-decoration: none; }
.gallery-preview:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.gallery-preview:hover img { filter: brightness(1.06); }
.photo-journal { columns: 3; column-gap: var(--space-3); }
.photo-journal figure { margin: 0 0 var(--space-3); break-inside: avoid; position: relative; }
.photo-journal a { display: block; cursor: zoom-in; }
.photo-journal img { display: block; width: 100%; height: auto; }
.photo-journal figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gallery-viewer { width: min(1100px, 96vw); max-width: 96vw; max-height: 96dvh; padding: 1rem; border: 0; background: var(--paper); color: var(--ink); }
.gallery-viewer::backdrop { background: rgba(15, 19, 14, .9); }
.gallery-viewer figure { margin: .5rem 0; }
.gallery-viewer img { display: block; width: 100%; height: min(70dvh, 760px); object-fit: contain; }
.gallery-viewer figcaption { text-align: center; padding-top: .75rem; }
.gallery-viewer button { background: transparent; color: inherit; border: 1px solid currentColor; padding: .6rem .9rem; cursor: pointer; font: inherit; }
.gallery-viewer__close { display: block; margin-left: auto; }
.gallery-viewer__nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
html.gallery-open { overflow: hidden; }
@media (max-width: 900px) { .photo-journal { columns: 2; } }
@media (max-width: 600px) { .photo-journal { columns: 1; } .gallery-viewer { padding: .75rem; } }

/* Career entries retain the original timeline; stock illustrations are omitted. */
.timeline__item { grid-template-columns: minmax(0, 1fr); padding-left: calc(var(--tl-rail) + var(--space-5)); }
.timeline__item::before { left: calc(var(--tl-rail) - var(--tl-dot) / 2); }
.timeline__item::after { left: calc(var(--tl-rail) - 1px); }
.timeline__copy, .timeline__item:nth-child(even) .timeline__copy { grid-column: 1; text-align: left; }
.timeline__detail { max-width: 65ch; }

/* Keep navigation available when JavaScript is disabled. */
@media (max-width: 900px) {
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav { position: static; width: 100%; visibility: visible; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; }
}

/* Three distinct photographs lead to the full gallery. */
.harvest-gallery--preview { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
.harvest-gallery--preview figure { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 4; }
@media (max-width: 600px) {
  .harvest-gallery--preview { grid-template-columns: 1fr; }
  .harvest-gallery--preview figure, .harvest-gallery--preview figure:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
}
.figure--harvest img[src*="matt-portrait"] { object-position: center top; }

/* Keep text sections balanced when their shared photographs are removed. */
.prose-section { max-width: 860px; }
.prose-section .measure { max-width: none; }
.figure--catering img { aspect-ratio: 3 / 4; object-fit: cover; }
.figure--harvest > a { display: block; }
.hero--about .hero__portrait img[src*="matt-portrait"] { aspect-ratio: 3 / 4; object-position: center; }
.figure--class img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
