/* ==========================================================================
   Amara Health — site styles
   Palette: olive + cream dominant, gold signature accent, terracotta warmth.
   ========================================================================== */

:root {
  /* Brand palette */
  --olive: #3E4A2E;
  --sage: #7A8A5A;
  --terracotta: #C7613A;
  --gold: #E0B14C;
  --sand: #F2E7D6;
  --cream: #FAF6EF;

  /* Derived tones (tuned for WCAG AA text contrast) */
  --olive-deep: #2B3320;
  --olive-ink: #262C1C;
  --ink-soft: #4E5640;
  --sage-text: #5E6B43;        /* small sage text on cream: 5.3:1 */
  --terracotta-text: #A9502D;  /* small terracotta text on cream: 5.0:1 */
  --on-olive: #FAF6EF;
  --on-olive-muted: #CDD2BC;
  --line: rgba(62, 74, 46, .16);
  --line-light: rgba(250, 246, 239, .18);
  --white: #FFFDF9;

  /* Type */
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 12vw, 168px);
  --header-h: 76px;
  --radius: 20px;
  --arch: 999px 999px 18px 18px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --focus: var(--olive);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--olive-ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
blockquote { margin: 0; }
body.menu-open { overflow: hidden; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.section-olive, .site-footer, .mobile-menu { --focus: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--olive); color: var(--cream); padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 500; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; }
.display { font-size: clamp(2.5rem, 5.4vw, 4.75rem); max-width: 16ch; text-wrap: balance; }
.display em, h1 em, h3 em { font-style: italic; font-weight: 400; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.65; max-width: 38rem; }
.label, .eyebrow {
  font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.label::before, .eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none;
}
.label { color: var(--gold); }
.label-dark, .eyebrow { color: var(--sage-text); }
.fine { font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }
.fine-light { color: var(--on-olive-muted); }
p + p { margin-top: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--olive); --btn-fg: var(--cream); --btn-bd: var(--olive);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(43, 51, 32, .45); }
.btn:active { transform: translateY(0); }
.btn-olive:hover { --btn-bg: var(--olive-deep); --btn-bd: var(--olive-deep); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--olive); --btn-bd: rgba(62, 74, 46, .45); }
.btn-outline:hover { --btn-bg: var(--olive); --btn-fg: var(--cream); --btn-bd: var(--olive); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--olive-ink); --btn-bd: var(--gold); }
.btn-gold:hover { --btn-bg: #EAC169; --btn-bd: #EAC169; }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn[disabled] { cursor: progress; opacity: .85; transform: none; box-shadow: none; }

.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; border: 1px solid currentColor; color: var(--gold); white-space: nowrap;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--olive); }
.brand-mark { width: 34px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-word { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; padding-bottom: 3px; }
.brand-light { color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 239, .9);
  -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.primary-nav a {
  position: relative; text-decoration: none; font-size: .875rem; font-weight: 500; letter-spacing: .03em;
  color: var(--ink-soft); padding: 6px 0; transition: color .25s;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="true"] { color: var(--olive); }
.primary-nav a:hover::after, .primary-nav a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle-bars { display: grid; gap: 6px; }
.menu-toggle-bars span { display: block; width: 20px; height: 1.5px; background: var(--olive); }
.menu-toggle-bars span:last-child { width: 13px; justify-self: end; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--olive); color: var(--cream);
  overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) 32px; }
.mobile-menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-close {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light);
  background: transparent; color: var(--cream); font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.mobile-links { margin-top: 28px; }
.mobile-links li { border-bottom: 1px solid var(--line-light); }
.mobile-links a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.1;
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.mobile-menu.is-open .mobile-links a { transform: none; opacity: 1; }
.mobile-menu.is-open .mobile-links li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open .mobile-links li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open .mobile-links li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-open .mobile-links li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-open .mobile-links li:nth-child(6) a { transition-delay: .2s; }
.mobile-links span { font-family: var(--sans); font-size: .75rem; letter-spacing: .15em; color: var(--gold); }
.mobile-menu-cta { margin-top: 36px; }
.mobile-menu-foot { margin-top: auto; padding-top: 40px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--on-olive-muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section-olive { background: var(--olive); color: var(--on-olive); }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-olive .lede, .section-olive p { color: var(--on-olive-muted); }
.section-olive .display, .section-olive h3 { color: var(--cream); }
.section-olive .display em, .section-olive h3 em { color: var(--gold); }
.section-cream .display, .section-sand .display { color: var(--olive); }
.section-cream .display em, .section-sand .display em { color: var(--sage-text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); background: var(--cream); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(760px, calc(100svh - var(--header-h) - 140px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero-title {
  font-size: clamp(3rem, 7.9vw, 7.9rem); line-height: .94; letter-spacing: -.03em;
  color: var(--olive); margin-bottom: clamp(28px, 3vw, 40px);
}
.hero-title .line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line-inner { display: block; }
.hero-title em { color: var(--sage-text); }
.gold-dot { color: var(--gold); font-style: normal; }
.hero-sub { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.65; max-width: 32rem; color: var(--ink-soft); }
.hero-sign {
  display: flex; align-items: center; gap: 16px; margin-top: 22px;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.6rem); color: var(--olive);
}
.hero-sign::before { content: ''; width: 40px; height: 1px; background: var(--gold); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }

.hero-visual { position: relative; min-height: 520px; }
.arch { border-radius: var(--arch); overflow: hidden; background: var(--sand); }
.hero-photo { width: 78%; margin-left: auto; aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-dot {
  position: absolute; top: 4%; left: 6%; width: clamp(56px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold);
}
.hero-phone { position: absolute; left: -10%; bottom: -8%; width: clamp(190px, 17vw, 236px); z-index: 2; }

/* Food marquee */
.food-marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--cream); }
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; flex: none; }
.marquee-list li {
  display: flex; align-items: center; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem); color: var(--olive); white-space: nowrap;
}
.marquee-list li::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-inline: clamp(22px, 3vw, 40px);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 60s linear infinite; }
  .food-marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Mission ---------- */
.mission-title { max-width: 19ch; font-size: clamp(2.5rem, 5.8vw, 5.25rem); }
.mission-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px);
  margin-top: clamp(56px, 7vw, 104px);
}
.mission-lede .lede { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.4; color: var(--cream); }
.mission-lede strong { font-weight: 500; font-style: italic; color: var(--gold); }
.pillars li {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding-block: 28px;
  border-top: 1px solid var(--line-light);
}
.pillars li:last-child { border-bottom: 1px solid var(--line-light); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); line-height: 1.3; grid-row: span 2; }
.pillars h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); margin-bottom: 8px; }
.pillars p { font-size: 1rem; }
.motif {
  margin-top: clamp(80px, 10vw, 140px); text-align: center; position: relative; padding-top: 56px;
}
.motif::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 36px; background: var(--gold); }
.motif p {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 3.25rem); line-height: 1.22; color: var(--cream) !important;
}
.motif em { color: var(--gold); }

/* ---------- Who ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.who-copy .display { margin-bottom: 32px; }
.who-copy > p:not(.label) { color: var(--ink-soft); max-width: 34rem; }
.who-copy .btn { margin-top: 36px; }
.who-collage {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(14, clamp(26px, 3vw, 40px));
  position: relative;
}
.who-collage figure { overflow: hidden; border-radius: 14px; background: var(--sand); }
.who-collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-a { grid-column: 1 / 8; grid-row: 1 / 11; border-radius: var(--arch) !important; }
.collage-b { grid-column: 8 / 13; grid-row: 2 / 6; margin-left: 16px; }
.collage-c { grid-column: 8 / 13; grid-row: 7 / 12; margin-left: 16px; }
.collage-d { grid-column: 3 / 9; grid-row: 10 / 15; border: 8px solid var(--cream); border-radius: 22px !important; z-index: 2; }
.collage-a img { object-position: 38% 30%; }
.collage-b img { object-position: 50% 62%; }
.collage-c img { object-position: 52% 45%; }
.collage-d img { object-position: 50% 28%; }

.pantry {
  margin-top: clamp(80px, 10vw, 140px); padding-top: 40px; border-top: 2px solid var(--olive);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start;
}
.pantry-intro { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; color: var(--olive); }
.pantry-intro em { color: var(--terracotta-text); }
.pantry-lead { grid-row: span 2; }
.pantry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-content: start; }
.pantry-list div { border-top: 1px solid var(--line); padding-top: 14px; }
.pantry-list dt { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.15; color: var(--olive); }
.pantry-list dd { margin: 6px 0 0; font-size: .875rem; color: var(--sage-text); letter-spacing: .01em; }
.pantry .fine { grid-column: 2; }
/* Three photo panels in a single even row beneath the list */
.pantry-panels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); margin-top: clamp(32px, 4vw, 56px); }
.pantry-panel { margin: 0; }
.pantry-panel picture, .pantry-panel img { display: block; }
.pantry-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: var(--sand); }
.pantry-panel:nth-child(2) img { object-position: 50% 70%; }
.pantry-panel figcaption {
  margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sage-text);
  display: flex; align-items: center; gap: 10px;
}
.pantry-panel figcaption::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

/* ---------- 1,000 days ---------- */
.days-number {
  font-size: clamp(5.5rem, 21vw, 19rem); line-height: .82; letter-spacing: -.045em; font-weight: 400;
  color: var(--cream); margin-left: -.05em;
}
.days-number em { color: var(--gold); font-weight: 400; }
.days-intro { display: flex; justify-content: flex-end; margin-top: clamp(32px, 5vw, 64px); }
.days-intro .lede { max-width: 34rem; color: var(--cream) !important; }

.timeline {
  display: grid; grid-template-columns: 280fr 365fr 365fr; gap: 14px; margin-top: clamp(64px, 8vw, 112px);
}
.tl-seg { display: flex; flex-direction: column; gap: 6px; }
.tl-bar { height: 4px; border-radius: 2px; margin-bottom: 14px; transform-origin: left; }
.tl-preg .tl-bar { background: var(--gold); }
.tl-y1 .tl-bar { background: var(--sage); }
.tl-y2 .tl-bar { background: var(--sand); }
.tl-name { font-feature-settings: 'lnum' 1; font-family: var(--serif); font-size: 1.6rem; color: var(--cream); line-height: 1.1; }
.tl-meta { font-size: .875rem; color: var(--on-olive-muted); padding-right: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .js .timeline .tl-bar { transform: scaleX(0); transition: transform 1.2s var(--ease); }
  .js .timeline .tl-y1 .tl-bar { transition-delay: .35s; }
  .js .timeline .tl-y2 .tl-bar { transition-delay: .7s; }
  .js .timeline.is-visible .tl-bar { transform: none; }
}

.days-photo { margin-top: clamp(64px, 8vw, 112px); border-radius: 16px; overflow: hidden; }
.days-photo img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; object-position: 50% 64%; }

.pillar-rows {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(40px, 6vw, 96px);
  margin-top: clamp(64px, 8vw, 112px); counter-reset: none;
}
.pillar-rows li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 24px; padding-block: 36px;
  border-top: 1px solid var(--line-light);
}
.row-num { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: .9; color: var(--gold); grid-row: span 2; font-weight: 400; }
.pillar-rows h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.pillar-rows p { font-size: 1rem; }
.days-foot {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; font-size: .9375rem;
}
.days-foot p { margin: 0; }
.sources a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sources a:hover { color: var(--cream); }

/* ---------- Story ---------- */
.story-head { margin-bottom: clamp(56px, 7vw, 96px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.story-body > p { font-size: 1.125rem; color: var(--ink-soft); max-width: 36rem; }
.dropcap { font-size: 1.3rem !important; color: var(--olive) !important; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-size: 3.7em; line-height: .8; font-weight: 500;
  color: var(--terracotta); padding: .06em .1em 0 0;
}
.three-voices { margin-block: 40px 44px; }
.three-voices li {
  font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.1; color: var(--olive);
  padding-block: 10px; border-bottom: 1px solid var(--line);
}
.three-voices li:nth-child(2) { font-style: italic; padding-left: clamp(24px, 6vw, 88px); color: var(--sage-text); }
.three-voices li:nth-child(3) { padding-left: clamp(48px, 12vw, 176px); color: var(--terracotta-text); }
.story-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.pullquote { position: relative; padding-top: 48px; }
.pq-mark {
  position: absolute; top: -28px; left: -8px; font-family: var(--serif); font-size: 9rem; line-height: 1; color: var(--gold);
}
.pullquote p {
  position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.32; color: var(--olive);
}
.story-photo { margin-top: 48px; width: min(64%, 280px); aspect-ratio: 2 / 3; margin-left: auto; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Experience ---------- */
.experience { overflow: hidden; }
.exp-head { max-width: 52rem; }
.exp-head .display { max-width: 20ch; margin-bottom: 28px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px);
  align-items: center; margin-top: clamp(96px, 12vw, 176px);
}
.feature-index {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cream) !important;
}
.feature-index > span:first-child {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; font-style: italic;
}
.feature-title { font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1.02; margin-bottom: 26px; }
.feature-copy > p:not(.feature-index):not(.fine) { max-width: 34rem; }
.feature-copy .fine { margin-top: 24px; }
.tick-list { margin-top: 28px; display: grid; gap: 12px; }
.tick-list li, .can-cannot li { position: relative; padding-left: 30px; font-size: 1rem; color: var(--on-olive-muted); }
.tick-list li::before, .can-cannot li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}
.can-cannot { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.cc-title { font-family: var(--serif); font-size: 1.35rem; color: var(--cream) !important; margin-bottom: 14px; }
.can-cannot ul { display: grid; gap: 10px; }
.can-cannot li { font-size: .9375rem; }
.cc-not li::before {
  width: 12px; height: 1.5px; border: 0; background: #E9A283; transform: none; top: .8em;
}

.feature-visual { position: relative; display: grid; place-items: center; padding-block: 24px; }
.feature-visual::before {
  content: ''; position: absolute; width: min(92%, 460px); aspect-ratio: 1; border-radius: 50%; z-index: 0;
}
.feature-nutrition .feature-visual::before { background: var(--sand); opacity: .12; }
.feature-flora .feature-visual::before { border: 1px solid rgba(224, 177, 76, .5); }
.feature-flora .feature-visual::after {
  content: ''; position: absolute; width: min(70%, 340px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(224, 177, 76, .25);
}

/* Phone mockups */
.phone {
  position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 9 / 18.6;
  padding: 10px; border-radius: 46px; background: #1C2114;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone-sm { width: 100%; aspect-ratio: 9 / 17; border-radius: 34px; padding: 7px; box-shadow: 0 40px 70px -30px rgba(43, 51, 32, .55); }
.phone-screen {
  height: 100%; border-radius: 37px; background: var(--cream); color: var(--olive-ink); overflow: hidden;
  padding: 14px 18px 18px; font-size: 13px; line-height: 1.45; display: flex; flex-direction: column;
}
.phone-sm .phone-screen { border-radius: 28px; padding: 10px 14px 14px; font-size: 11px; }
.phone-dark .phone-screen { background: #F6F0E4; }
.ui-status { display: flex; align-items: center; justify-content: space-between; font-size: .85em; font-weight: 600; margin-bottom: 16px; }
.ui-status span:last-child { font-size: .6em; letter-spacing: .1em; }
.ui-notch { width: 34%; height: 18px; border-radius: 999px; background: #1C2114; }
.phone-sm .ui-notch { height: 14px; }
.ui-kicker { font-size: .78em; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-text); font-weight: 600; }
.ui-title { font-family: var(--serif); font-size: 2em; line-height: 1.05; color: var(--olive); margin: 4px 0 12px; }
.ui-plate { display: grid; gap: 8px; }
.ui-plate li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
  padding: 9px 10px; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
  font-weight: 500; font-size: 1.05em;
}
.ui-plate small { grid-column: 2; font-size: .8em; color: var(--sage-text); font-weight: 400; }
.ui-swatch { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: inline-block; flex: none; }
.sw-green { background: radial-gradient(circle at 35% 35%, #8FA468, #4F6134); }
.sw-sand { background: radial-gradient(circle at 35% 35%, #F6EBDA, #D8C3A0); }
.sw-terra { background: radial-gradient(circle at 35% 35%, #E08A5E, #B4532E); }
.sw-gold { background: radial-gradient(circle at 35% 35%, #F0CC7A, #CF9C35); }
.ui-flora {
  margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start;
  padding: 9px 10px; border-radius: 14px; background: var(--olive); color: var(--cream); font-size: .95em; line-height: 1.4;
}
.ui-flora-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); margin-top: 1px; }
.ui-flora strong { color: var(--gold); font-weight: 500; }
.ui-note { margin-top: auto; padding-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.2em; color: var(--olive); }

.ui-search {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--olive-ink);
}
.ui-search-icon { width: 12px; height: 12px; border: 1.5px solid var(--sage-text); border-radius: 50%; position: relative; }
.ui-search-icon::after { content: ''; position: absolute; width: 5px; height: 1.5px; background: var(--sage-text); right: -4px; bottom: -2px; transform: rotate(45deg); }
.ui-food { margin-top: 14px; padding: 16px; border-radius: 20px; background: var(--olive); color: var(--cream); }
.ui-food-origin { font-size: .78em; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) !important; font-weight: 600; }
.ui-food-name { font-family: var(--serif); font-size: 2em; line-height: 1.05; margin-top: 4px; color: var(--cream) !important; }
.ui-food-desc { font-size: .92em; color: var(--on-olive-muted) !important; margin-top: 4px !important; }
.ui-nutrients { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.nut { font-size: .85em; padding: 3px 10px; border-radius: 999px; background: rgba(224, 177, 76, .18); color: #F3D896; border: 1px solid rgba(224, 177, 76, .35); }
.ui-section { margin-top: 14px; font-size: .78em; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-text) !important; font-weight: 600; }
.ui-pairs { display: grid; gap: 6px; margin-top: 8px; }
.ui-pair { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 500; }
.ui-pair .ui-swatch { width: 20px; height: 20px; }
.ui-tip { margin-top: auto; padding: 10px 12px; border-radius: 14px; background: var(--sand); font-size: .9em; color: var(--ink-soft); }
.ui-tip strong { color: var(--terracotta-text); font-weight: 600; margin-right: 4px; }

.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.flora-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--olive); display: grid; place-items: center; }
.flora-avatar img { width: 20px; }
.chat-name { font-family: var(--serif); font-size: 1.45em; font-weight: 600; line-height: 1; color: var(--olive) !important; }
.chat-sub { font-size: .8em; color: var(--sage-text) !important; margin-top: 2px !important; }
.chat { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; flex: 1; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: .96em; line-height: 1.42; margin: 0 !important; }
.msg-user { align-self: flex-end; background: var(--olive); color: var(--cream) !important; border-bottom-right-radius: 4px; }
.msg-flora { align-self: flex-start; background: var(--white); color: var(--olive-ink) !important; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-care { background: #F4E4C6; border-color: transparent; }
.msg-typing { align-self: flex-start; display: flex; gap: 4px; background: var(--white); border: 1px solid var(--line); padding: 11px 12px; }
.msg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .msg-typing span { animation: typing 1.2s infinite ease-in-out; }
  .msg-typing span:nth-child(2) { animation-delay: .15s; }
  .msg-typing span:nth-child(3) { animation-delay: .3s; }
  .js .feature-flora .msg { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .feature-flora .is-visible .msg { opacity: 1; transform: none; }
  .js .feature-flora .is-visible .msg:nth-child(2) { transition-delay: .6s; }
  .js .feature-flora .is-visible .msg:nth-child(3) { transition-delay: 1.3s; }
  .js .feature-flora .is-visible .msg:nth-child(4) { transition-delay: 2s; }
  .js .feature-flora .is-visible .msg:nth-child(5) { transition-delay: 2.6s; }
}
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat-foot { font-size: .78em; text-align: center; color: var(--sage-text) !important; padding-top: 10px; }

/* Garden illustration */
.garden { position: relative; display: grid; place-items: center; }
.garden::before {
  content: ''; position: absolute; width: min(100%, 480px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(122, 138, 90, .35), rgba(122, 138, 90, 0) 68%);
}
.garden-svg { position: relative; width: min(100%, 460px); overflow: visible; }
.g-sun { fill: var(--gold); opacity: .18; }
.g-ground { stroke: var(--sand); stroke-width: 1.5; opacity: .6; }
.g-roots { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: .8; }
.g-stem { fill: none; stroke: var(--cream); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 0; }
.g-stem-sm { stroke-dasharray: 120; }
.g-leaf { fill: #A5B384; transform-box: fill-box; transform-origin: 0% 50%; }
.g-leaf-lt { fill: #C4CFA4; }
.g-bloom { fill: var(--gold); transform-box: fill-box; transform-origin: center; }
.g-bud { fill: #F0CC7A; }
.g-label { fill: var(--cream); font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .js .garden .g-stem { stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease); }
  .js .garden .g-stem-sm { stroke-dashoffset: 120; transition-delay: .5s; }
  .js .garden .g-leaf, .js .garden .g-bloom { transform: scale(0); transition: transform .9s var(--ease) var(--d, 0s); }
  .js .garden.is-visible .g-stem { stroke-dashoffset: 0; }
  .js .garden.is-visible .g-leaf, .js .garden.is-visible .g-bloom { transform: scale(1); }
}

.exp-status {
  margin-top: clamp(80px, 10vw, 140px); padding: 22px 26px; border: 1px solid var(--line-light); border-radius: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .9375rem;
}
.exp-status a { color: var(--gold); text-underline-offset: 3px; }
.exp-status a:hover { color: var(--cream); }

/* ---------- Founders ---------- */
.founders-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; }
.founders-head .label { grid-column: 1 / -1; margin-bottom: 0; }
.founders-head .lede { color: var(--ink-soft); font-size: 1.125rem; }
.founder-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px);
  margin-top: clamp(64px, 8vw, 120px); align-items: start;
}
.founder-two { margin-top: clamp(0px, 12vw, 180px); }
.founder-photo { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.founder-one .founder-photo { border-radius: var(--arch); }
.founder-two .founder-photo { border-radius: 18px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.2s var(--ease); }
.founder:hover .founder-photo img { transform: scale(1.03); }
.founder-body { padding-top: 32px; }
.founder-kitchen {
  display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--terracotta-text);
}
.founder-kitchen::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.founder-name { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--olive); margin-top: 14px; }
.founder-creds { font-size: .875rem; color: var(--sage-text); margin-top: 8px !important; font-weight: 500; }
.founder-body > p:last-child { margin-top: 20px; color: var(--ink-soft); }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.partners-copy .display { margin-bottom: 32px; max-width: 15ch; }
.explore-list { margin-top: 36px; border-top: 1px solid var(--line-light); }
.explore-list li { padding-block: 18px; border-bottom: 1px solid var(--line-light); color: var(--on-olive-muted); }
.explore-list span { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); }
.partners-copy .fine { margin-top: 28px; }

.form-card {
  background: var(--cream); color: var(--olive-ink); border-radius: 24px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 60px 100px -60px rgba(0, 0, 0, .55); --focus: var(--olive);
}
.form-title { font-size: clamp(1.9rem, 3vw, 2.4rem); color: var(--olive) !important; }
.form-intro { color: var(--ink-soft) !important; margin: 8px 0 28px !important; font-size: 1rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--olive-ink); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #C9C0AC; background: var(--white); font-size: 1rem; color: var(--olive-ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233E4A2E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sage); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(224, 177, 76, .45); }
.field [aria-invalid="true"] { border-color: var(--terracotta-text) !important; }
.field-error { font-size: .8125rem; color: var(--terracotta-text) !important; margin: 0 !important; min-height: 0; }
.field-error:empty { display: none; }
.field-check { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--olive); cursor: pointer; }
.field-check label { font-weight: 400; font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.field-check label a { color: var(--olive); text-underline-offset: 2px; }
.field-check .field-error { grid-column: 2; margin-top: 4px !important; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .9375rem; margin-top: 14px !important; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--terracotta-text) !important; }
.form-status.is-success { color: var(--olive) !important; }
.form-success {
  text-align: center; padding: 32px 12px;
}
.form-success:focus { outline: none; }
.form-success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); margin: 0 auto 20px; display: grid; place-items: center; }
.form-success-mark::after { content: ''; width: 18px; height: 10px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg) translate(2px, -2px); }
.form-success h3, .form-success p.form-success-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--olive) !important; line-height: 1.1; }
.form-success p { color: var(--ink-soft) !important; margin-top: 10px !important; }

/* ---------- Waitlist ---------- */
.waitlist { text-align: center; overflow: hidden; }
.waitlist::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(224, 177, 76, .16), rgba(224, 177, 76, 0) 62%);
  pointer-events: none;
}
.waitlist-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.waitlist-mark { width: 64px; margin-bottom: 36px; }
.waitlist-title { max-width: 14ch; font-size: clamp(2.8rem, 7vw, 6rem); margin-inline: auto; }
.waitlist .lede { margin-top: 24px; color: var(--ink-soft); }
.waitlist-form { width: 100%; max-width: 560px; margin-top: 44px; text-align: left; }
.waitlist-row {
  display: flex; gap: 8px; padding: 7px; border-radius: 999px; background: var(--white);
  border: 1px solid #C9C0AC; transition: border-color .2s, box-shadow .2s;
}
.waitlist-row:focus-within { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(224, 177, 76, .45); }
.waitlist-row .field { flex: 1; margin: 0; }
.waitlist-row input { border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 999px; padding-left: 20px; }
.waitlist-row .btn { flex: none; }
.waitlist-row:has([aria-invalid="true"]) { border-color: var(--terracotta-text); }
.waitlist-form > .field-error { padding: 8px 22px 0; }
.waitlist-form .field-check { margin-top: 22px; padding-inline: 8px; }
.waitlist-form .form-status { padding-inline: 8px; }
.waitlist > .container > .fine { margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-deep); color: var(--on-olive-muted); padding-top: clamp(72px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 48px clamp(32px, 5vw, 80px); }
.footer-motif { margin-top: 24px; font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; color: var(--cream); }
.footer-motif em { color: var(--gold); }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a { text-decoration: none; font-size: .9375rem; transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-disclaimer p { font-size: .875rem; line-height: 1.65; }
.footer-disclaimer strong { color: var(--cream); font-weight: 500; }
.footer-base { margin-top: 64px; padding-block: 28px; border-top: 1px solid var(--line-light); font-size: .8125rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
  .js .arch.img-reveal { clip-path: inset(0 0 100% 0 round 999px 999px 18px 18px); }
  .js .img-reveal img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
  .js .img-reveal.is-visible { clip-path: inset(0 0 0 0); }
  .js .arch.img-reveal.is-visible { clip-path: inset(0 0 0 0 round 999px 999px 18px 18px); }
  .js .img-reveal.is-visible img { transform: none; }

  .js .hero-title .line-inner { transform: translateY(105%); transition: transform 1.1s var(--ease); }
  .js .hero-title .line:nth-child(2) .line-inner { transition-delay: .12s; }
  .js.is-loaded .hero-title .line-inner { transform: none; }
  .js .hero-dot { transform: scale(0); transition: transform 1.2s var(--ease) .5s; }
  .js.is-loaded .hero-dot { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { min-height: 0; max-width: 520px; width: 100%; margin-inline: auto; padding-bottom: 40px; }
  .hero-photo { width: 80%; }
  .hero-phone { width: min(50%, 220px); left: 0; bottom: 0; }
  .hero-visual { padding-left: 4%; }

  .mission-grid, .who-grid, .story-grid, .feature, .partners-grid, .founders-head { grid-template-columns: 1fr; }
  .feature-flora .feature-visual { order: 2; }
  .feature-visual { margin-top: 8px; }
  .who-collage { max-width: 560px; }
  .pantry { grid-template-columns: 1fr; }
  .pantry-lead { grid-row: auto; }
  .pantry .fine { grid-column: 1; }
  .pantry-list { grid-template-columns: repeat(3, 1fr); }
  .days-intro { justify-content: flex-start; }
  .pillar-rows, .days-foot { grid-template-columns: 1fr; }
  .story-aside { position: static; }
  .founder-grid { grid-template-columns: 1fr; max-width: 560px; }
  .founder-two { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-disclaimer { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero-title { font-size: clamp(2.6rem, 13.4vw, 4.6rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .days-number { font-size: 34vw; line-height: .9; }
  .days-number em { display: block; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .tl-bar { margin-bottom: 6px; }
  .pantry-list { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .pantry-panel figcaption { font-size: .95rem; }
  .pantry-panel figcaption::before { display: none; }
  .pantry-panel img { aspect-ratio: 4 / 5; }
  .pantry-list dt { font-size: 1.35rem; }
  .can-cannot { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .waitlist-row { flex-direction: column; border-radius: 22px; padding: 8px; }
  .waitlist-row .btn { width: 100%; }
  .waitlist-row input { padding-left: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-phone .ui-flora, .hero-phone .ui-note, .hero-phone .ui-plate li:nth-child(3) { display: none; }
  .hero-phone .phone-sm { aspect-ratio: 9 / 13; }
  .hero-phone .ui-plate small { font-size: .85em; }
}

/* ---------- Simple content page (privacy) ---------- */
.page-simple { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px)); padding-bottom: var(--section-y); }
.page-simple .display { margin-bottom: 20px; color: var(--olive); }
.prose { max-width: 44rem; color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--olive); margin: 48px 0 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-top: 12px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--olive); text-underline-offset: 3px; }
.site-header.is-solid { background: rgba(250, 246, 239, .94); box-shadow: 0 1px 0 var(--line); }
.header-back { margin-left: auto; }
.footer-base-flush { margin-top: 0; }

@media (max-width: 600px) { .collage-d { border-width: 5px; } }
picture { display: contents; }
.brand-sub {
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage-text); margin-left: -2px; padding-top: 5px;
}
.brand-light .brand-sub { color: var(--gold); }

/* Photos added to the mission and 1,000 days timeline */
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-photo { height: clamp(220px, 22vw, 300px); border-radius: 14px; overflow: hidden; margin-bottom: 22px; background: var(--olive-deep); }
.tl-preg .tl-photo { border-radius: var(--arch); }
.tl-preg .tl-photo img { object-position: 32% 45%; }
.tl-y2 .tl-photo img { object-position: 50% 18%; }
@media (max-width: 600px) {
  .tl-photo { height: auto; aspect-ratio: 3 / 2; }
  .tl-preg .tl-photo { aspect-ratio: 4 / 5; width: 78%; }
  .days-photo img { aspect-ratio: 3 / 2; }
}

/* Mission: wide spice band between the headline and the narrative */
.mission-band { margin-top: clamp(40px, 5vw, 64px); width: 100%; border-radius: 16px; overflow: hidden; }
.mission-band img { width: 100%; aspect-ratio: 21 / 8; height: auto; object-fit: cover; object-position: 50% 45%; }
.mission-band + .mission-grid { margin-top: clamp(48px, 6vw, 88px); }
@media (max-width: 600px) { .mission-band img { aspect-ratio: 16 / 9; } }

/* Review fixes: balanced headline wrapping */
.exp-head { max-width: 64rem; }
.exp-head .display { max-width: 24ch; }
.feature-title, .display, .founder-name { text-wrap: balance; }
.partners-copy .display { max-width: 18ch; }
.exp-head .display em, .feature-title em { display: inline-block; text-wrap: balance; }

/* ==========================================================================
   Institutional redesign (hero → partner)
   ========================================================================== */
.section-sand .display em { color: var(--terracotta-text); }

/* Hero: three-line promise */
.hero-title { font-size: clamp(3rem, 7vw, 6.6rem); line-height: .96; }
.hero-title em { font-style: italic; }
.hero .hero-sign { margin-top: 0; margin-bottom: 18px; font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.35; }
.hero .hero-sign::before { display: none; }
.hero-sub { font-size: clamp(1.02rem, 1.25vw, 1.15rem); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.problem-copy .display { margin-bottom: 32px; max-width: 15ch; }
.problem-copy > p:not(.label) { color: var(--ink-soft); max-width: 34rem; }
.problem-close { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem) !important; line-height: 1.3; color: var(--olive) !important; margin-top: 28px !important; }
.transition-line { text-align: center; margin-top: clamp(96px, 11vw, 150px); position: relative; padding-top: 48px; }
.transition-line::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 32px; background: var(--gold); }
.transition-line p { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; color: var(--olive); }
.transition-line em { color: var(--terracotta-text); }
.problem .pantry { margin-top: clamp(64px, 8vw, 104px); }

/* Status notes and badges */
.status-note, .outcomes-note {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  padding: 16px 20px; border: 1px solid var(--line-light); border-radius: 14px; font-size: .9375rem; max-width: 46rem;
}
.badge-dark { color: var(--terracotta-text); margin-left: 6px; letter-spacing: .12em; }
.label .badge { font-size: .625rem; }

/* Approach rows */
.approach-head { max-width: 50rem; margin-bottom: clamp(56px, 7vw, 96px); }
.approach-head .display { margin-bottom: 24px; max-width: 18ch; }
.approach-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: center;
  padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-light);
}
.approach-row.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.approach-row.is-flip .approach-visual { order: 2; }
.approach-photo { border-radius: 16px; overflow: hidden; background: var(--olive-deep); }
.approach-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.approach-num { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold) !important; margin-bottom: 18px; }
.approach-title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 16px; }
.approach-copy p:last-child { font-size: 1.0625rem; max-width: 30rem; }
.approach .garden { min-height: 300px; }
.approach .garden-svg { max-width: 420px; }

/* Afya */
.flora-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.flora-copy .display { color: var(--olive); margin-bottom: 10px; }
.flora-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.25; color: var(--terracotta-text); margin-bottom: 22px; }
.flora-copy > p:not(.label):not(.flora-sub) { color: var(--ink-soft); max-width: 34rem; }
.flora-list-title { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-text); margin: 36px 0 8px; }
.flora-list li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--olive-ink); }
.flora-list span { font-family: var(--serif); font-size: 1.2rem; color: var(--gold); line-height: 1.4; }
.flora-limits { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--sand); font-size: .9375rem; color: var(--ink-soft); }
.flora-limits strong { color: var(--olive); font-weight: 600; }
.flora .feature-visual::before { border-color: rgba(62, 74, 46, .25); }
.flora .feature-visual::after { border-color: rgba(224, 177, 76, .45); }
.proto-caption { margin-top: 32px; font-size: .8125rem; color: var(--ink-soft); text-align: right; }

/* Science */
.science-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; color: var(--cream) !important; margin-bottom: 18px; }
.days-intro > div { max-width: 36rem; }
.cite { font-size: .7em; line-height: 0; margin-left: 2px; }
.cite a { color: var(--gold); text-decoration: none; font-family: var(--sans); font-weight: 600; }
.cite a:hover { text-decoration: underline; }
.references { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.references-title { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 16px; }
.references-list { list-style: decimal; padding-left: 1.4em; display: grid; gap: 10px; font-size: .875rem; color: var(--on-olive-muted); max-width: 60rem; }
.references-list li { padding-left: 6px; }
.references-list cite { font-style: italic; }
.references-list a { color: var(--gold); text-underline-offset: 3px; }
.references-list li:target { color: var(--cream); }

/* Founders: structured facts */
.founder-facts { margin-top: 20px; display: grid; gap: 14px; }
.founder-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.founder-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-text); padding-top: 3px; }
.founder-facts dd { margin: 0; font-size: .9875rem; color: var(--ink-soft); line-height: 1.65; }

/* Progress */
.progress-head { max-width: 46rem; margin-bottom: clamp(48px, 6vw, 80px); }
.progress-head .display { margin-bottom: 20px; }
.milestones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.milestone { position: relative; padding: 36px 24px 0 0; border-top: 2px solid var(--line-light); }
.milestone::before { content: ''; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--olive); border: 2px solid var(--on-olive-muted); }
.milestone.is-done { border-top-color: var(--gold); }
.milestone.is-done::before { background: var(--gold); border-color: var(--gold); }
.milestone.is-now::before { background: var(--olive); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(224, 177, 76, .25); }
.ms-status { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 10px; }
.milestone.is-next .ms-status { color: var(--on-olive-muted) !important; }
.milestone h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }
.milestone p:last-child { font-size: .9375rem; }
.outcomes-note { margin-top: clamp(48px, 6vw, 72px); }

/* Amara Village */
.village-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.village-head .display { margin-bottom: 24px; }
.village-head > p:not(.label):not(.lede) { color: var(--ink-soft); max-width: 34rem; margin-top: 16px; }
.village-head .lede { color: var(--olive); }
.village-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); }
.village-portrait { aspect-ratio: 16 / 9; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #EFE2CE 14px 28px); }
.village-portrait img { width: 64px; opacity: .75; }
.village-card-body { padding: 28px 30px 32px; }
.village-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-text); }
.village-card-title { font-size: 1.75rem; color: var(--olive); margin: 10px 0 12px; }
.village-card-body > p:not(.village-kicker) { color: var(--ink-soft); font-size: .9875rem; margin-bottom: 22px; }

/* Partner paths */
.partner-head { max-width: 50rem; margin-bottom: clamp(48px, 6vw, 80px); }
.partner-head .display { margin-bottom: 24px; max-width: 20ch; }
.partner-head .lede { color: var(--ink-soft); }
.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.path { background: var(--cream); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -60px rgba(43, 51, 32, .45); }
.path-partners { background: var(--olive); color: var(--on-olive); --focus: var(--gold); }
.path-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: 12px; }
.path-partners .path-kicker { color: var(--gold); }
.path-title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--olive); margin-bottom: 12px; }
.path-partners .path-title { color: var(--cream); }
.path > p:not(.path-kicker):not(.fine) { color: var(--ink-soft); margin-bottom: 24px; }
.path-partners > p:not(.path-kicker) { color: var(--on-olive-muted) !important; }
.path .waitlist-form { margin-top: 0; max-width: none; }
.path .fine { margin-top: 12px; }
.path-partners .btn-olive { --btn-bg: var(--gold); --btn-fg: var(--olive-ink); --btn-bd: var(--gold); }
.path-partners .btn-olive:hover { --btn-bg: #EAC169; --btn-bd: #EAC169; }
.partner-panel { margin-top: 28px; background: var(--cream); color: var(--olive-ink); border-radius: 18px; padding: clamp(20px, 3vw, 32px); --focus: var(--olive); }
.partner-panel[hidden] { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .milestones { grid-template-columns: 1fr; gap: 0; }
  .milestone { border-top: 0; border-left: 2px solid var(--line-light); padding: 0 0 36px 28px; }
  .milestone.is-done { border-left-color: var(--gold); }
  .milestone::before { top: 2px; left: -8px; }
}
@media (max-width: 900px) {
  .problem-grid, .approach-row, .approach-row.is-flip, .flora-grid, .village-grid, .paths { grid-template-columns: 1fr; }
  .approach-row.is-flip .approach-visual { order: 0; }
  .who-collage { max-width: 560px; }
  .proto-caption { text-align: left; }
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.6rem, 12.6vw, 4.2rem); }
  .founder-facts div { grid-template-columns: 1fr; gap: 4px; }
  .path .waitlist-row { flex-direction: column; }
}
.approach-num, .flora-list span, .science-title, .row-num, .milestone h3, .tl-name { font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
.science .days-foot { grid-template-columns: 1fr; max-width: 46rem; }
.mission-statement { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--cream) !important; margin: 4px 0 20px; max-width: 34rem; }
.mission-statement span { display: block; font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
/* Contrast fixes: deeper clay for small accents on light backgrounds (≥5.8:1) */
.badge-dark { color: #8E4424; }
.flora-list span { color: #8E4424; }

/* ---------- Full-width section headers (headline left, copy right) ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; max-width: none !important; }
.split-head .split-left .display { margin-bottom: 0; max-width: 16ch; }
.split-head .split-right > *:first-child { margin-top: 0; }
.split-head .split-right .lede { max-width: none; }
.split-head .status-note, .split-head .outcomes-note { max-width: none; }

/* ---------- "Every kitchen tells a story" photo essay ---------- */
.essay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(40px, 5vw, 64px); }
.essay-tile { margin: 0; }
.essay-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--sand); }
.essay-tile:nth-child(odd) img { aspect-ratio: 4 / 3.4; }
.essay-tile figcaption { margin-top: 10px; font-size: .8125rem; line-height: 1.45; color: var(--ink-soft); }
.essay-tile figcaption strong { display: block; font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: 2px; }
.essay-note { margin-top: 18px; font-size: .75rem; color: var(--ink-soft); text-align: right; }

/* App concept screens */
.approach-app { background: var(--cream); padding: clamp(16px, 2.5vw, 28px); }
.approach-app img { aspect-ratio: 3033 / 2000; object-fit: contain; }
.approach-app figcaption { margin-top: 10px; text-align: center; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-text); font-weight: 600; }

/* New photo crops */
.collage-a img { object-position: 40% 30%; }
.collage-d img { object-position: 50% 30%; }
.hero-photo img { object-position: 55% 30%; }
.tl-preg .tl-photo img { object-position: 35% 40%; }
.tl-y2 .tl-photo img { object-position: 50% 25%; }
.story-photo { aspect-ratio: 4 / 5; }
.story-photo img { object-position: 50% 40%; }

@media (max-width: 1080px) { .essay { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .essay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .essay-note { text-align: left; }
}
/* Layout polish: fill the width, align headers and essay rows */
.split-head { align-items: start; }
.split-head .split-right { padding-top: clamp(0px, 3.2vw, 48px); }
.essay-tile:nth-child(odd) img { aspect-ratio: 4 / 3; }
.science .days-foot { max-width: none; }
.outcomes-note { max-width: none; }
.story-photo { width: 100%; max-width: 380px; margin-left: auto; }
.essay-note { margin-top: 14px; }
/* Partner paths: equal-height cards */
.paths { align-items: stretch; }
.path { display: flex; flex-direction: column; }
.path-partners .path-toggle { align-self: flex-start; }
.story-photo img { object-position: 50% 35%; }
/* Founders: equal-height photos, short bios */
.founder-two { margin-top: 0 !important; }
.founder-photo { aspect-ratio: 4 / 5; }
.founder-one .founder-photo, .founder-two .founder-photo { border-radius: 18px; }
.founder-bio { margin-top: 18px !important; color: var(--ink-soft); }
/* Milestones: dot on every item, short text */
.milestone::before { z-index: 1; }
.milestone.is-now::before, .milestone.is-next::before { background: var(--olive); }
.milestone p:last-child { font-size: .9375rem; }
/* Contact line in the partner card */
.path-contact { margin: 0 0 20px !important; color: var(--on-olive-muted) !important; font-size: 1rem; }
.path-contact a { color: var(--gold); text-underline-offset: 3px; }
.path-contact a:hover { color: var(--cream); }
.milestone::before { width: 16px; height: 16px; top: -9px; }
/* Photo essay: six kitchens, 3 x 2 */
.essay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.essay-tile img, .essay-tile:nth-child(odd) img { aspect-ratio: 3 / 2; }
@media (max-width: 600px) { .essay { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.collage-d img { object-position: 45% 45%; } .tl-y2 .tl-photo img { object-position: 40% 35%; }
/* Hero: wider frame so the landscape photo is shown nearly whole (no heavy zoom = crisper) */
@media (min-width: 901px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero-photo { width: 100%; aspect-ratio: 6 / 5; border-radius: 999px 999px 20px 20px / 420px 420px 20px 20px; }
.hero-photo img { object-position: 62% 40%; }
.hero-phone { left: -8%; bottom: -10%; }
@media (max-width: 900px) { .hero-photo { width: 100%; aspect-ratio: 5 / 4; } }
.hero-phone { width: clamp(160px, 13vw, 190px); left: -10%; bottom: -16%; }
.hero-photo img { object-position: 78% 40%; }
.hero-dot { top: -2%; left: 2%; width: clamp(48px, 5vw, 72px); }
@media (max-width: 900px) { .hero-phone { width: min(40%, 170px); left: 0; bottom: -6%; } }

/* ==========================================================================
   Multi-page site: brand emblem, inner-page tops, closing banner
   ========================================================================== */
.brand-tree { width: 50px; height: auto; flex: none; }
.brand:hover .brand-tree { transform: none; }
.primary-nav a[aria-current="page"] { color: var(--olive); }
.primary-nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.mobile-links a[aria-current="page"] { color: var(--gold); }
.ui-flora-dot img { width: 78%; height: auto; }

/* Inner pages start under the fixed header */
.page-first { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px)); }
.page-first h1.display { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }

/* Seven kitchens: 4 + 3, centered */
.essay-seven { display: flex; flex-wrap: wrap; justify-content: center; }
.essay-seven .essay-tile { flex: 0 0 calc((100% - 3 * clamp(12px, 1.6vw, 22px)) / 4); }
@media (max-width: 1080px) { .essay-seven .essay-tile { flex-basis: calc((100% - 2 * clamp(12px, 1.6vw, 22px)) / 3); } }
@media (max-width: 600px) { .essay-seven .essay-tile { flex-basis: calc((100% - clamp(12px, 1.6vw, 22px)) / 2); } }

.stage-line {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-light);
  font-size: .875rem; font-weight: 500; color: var(--cream) !important;
}
.stage-line::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* Founders without photos: two matched text panels */
.founders .founder-grid { align-items: stretch; }
.founders .founder-two { margin-top: 0; }
.founders .founder { background: var(--cream); border-radius: 18px; padding: clamp(28px, 3.4vw, 48px); border-top: 3px solid var(--gold); }
.founders .founder-body { padding-top: 0; }

/* Story without the pull quote */
.story .story-grid { align-items: center; }

/* Closing banner on every page */
.endcap { background: var(--olive); color: var(--on-olive); padding: clamp(72px, 9vw, 128px) 0; --focus: var(--gold); }
.endcap-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.endcap-emblem {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: var(--cream); margin-bottom: 28px; box-shadow: 0 0 0 6px rgba(224, 177, 76, .25);
}
.endcap-emblem img { width: 72px; height: auto; }
.endcap .display { color: var(--cream); max-width: 14ch; }
.endcap .display em { color: var(--gold); }
.endcap-sub { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.45rem); color: var(--on-olive-muted); }
.endcap-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(250, 246, 239, .5); }
.btn-light:hover { --btn-bg: var(--cream); --btn-fg: var(--olive); --btn-bd: var(--cream); }
.endcap-connect { border-left: 1px solid var(--line-light); padding-left: clamp(28px, 4vw, 56px); }
.endcap-label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.connect-list { list-style: none; margin: 18px 0 0; padding: 0; }
.connect-list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-light); align-items: baseline; }
.connect-list li > span:first-child { font-size: .8125rem; font-weight: 500; color: var(--on-olive-muted); }
.connect-list a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(224, 177, 76, .6); text-underline-offset: 4px; overflow-wrap: anywhere; }
.connect-list a:hover { text-decoration-color: var(--gold); }
.connect-list .is-soon { font-style: italic; color: var(--on-olive-muted); }
.endcap + .site-footer { border-top: 1px solid var(--line-light); }
@media (max-width: 900px) {
  .endcap-grid { grid-template-columns: 1fr; }
  .endcap-connect { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 32px; }
  .connect-list li:first-child { border-top: 0; }
}
.problem + .kitchens { padding-top: 0; }
.problem:has(+ .kitchens) { padding-bottom: clamp(56px, 7vw, 96px); }
main:has(> section.section-olive:last-child) + .endcap { border-top: 1px solid var(--line-light); }
.flora-avatar { background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.flora-avatar img { width: 28px; height: auto; }
.ui-flora-dot { background: var(--cream); }
.founders .founder-grid { align-items: start; }
/* Inner pages: sub-headings are h2 under the page h1 */
h2 em { font-style: italic; font-weight: 400; }
.section-olive h2 { color: var(--cream); }
.section-olive h2 em { color: var(--gold); }
.pillar-rows h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.pillars h2 { font-size: clamp(1.5rem, 2vw, 1.85rem); margin-bottom: 8px; }
.milestone h2 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; font-variant-numeric: lining-nums; }
.form-success h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--olive) !important; line-height: 1.1; }
/* Progress on cream: darker label and status colors for contrast */
.progress .label { color: var(--sage-text); }
.progress .ms-status { color: var(--terracotta-text) !important; }
.progress .milestone.is-next .ms-status { color: var(--sage-text) !important; }
/* Connect list: icon rows, no dividers */
.connect-list li, .connect-list li:first-child { border-top: 0; grid-template-columns: 36px 84px 1fr; gap: 12px; align-items: center; padding: 10px 0; }
.connect-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(250, 246, 239, .1); color: var(--gold); }
.connect-list li > .connect-name { font-size: .8125rem; font-weight: 500; color: var(--on-olive-muted); }
.endcap-connect { border-left: 0; }
@media (max-width: 900px) { .endcap-connect { border-top: 0; padding-top: 0; } }
/* Closing banner: centered, contact details live in the footer */
.endcap-inner { display: flex; justify-content: center; text-align: center; }
.endcap-main { display: flex; flex-direction: column; align-items: center; }
.endcap .display { margin-inline: auto; }
.endcap-actions { justify-content: center; }

/* Footer: compact "Connect with us" under the motif, nav in two columns */
.footer-connect { margin-top: 28px; }
.footer-connect-label { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.footer-connect .connect-list { margin: 0; }
.footer-connect .connect-list li, .footer-connect .connect-list li:first-child { grid-template-columns: 26px 64px 1fr; gap: 10px; padding: 4px 0; font-size: .8125rem; }
.footer-connect .connect-icon { width: 26px; height: 26px; }
.footer-connect .connect-icon svg { width: 14px; height: 14px; }
.footer-connect .connect-list li > .connect-name { font-size: .75rem; }
.footer-nav ul { grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: clamp(28px, 4vw, 56px); }
/* Drop cap: sit the letter between the first line's cap height and the second line's baseline, snug to the text */
.dropcap::first-letter { font-size: 3.45em; line-height: .74; padding: .1em .03em 0 0; }

/* ==========================================================================
   Closing footer (replaces the green banner + old footer on every page)
   ========================================================================== */
.closing { position: relative; overflow: hidden; background: var(--olive-deep); color: var(--on-olive); padding: clamp(64px, 8vw, 104px) 0 32px; --focus: var(--gold); }
.closing-orb { position: absolute; top: 26px; right: -2px; width: 144px; height: 144px; border-radius: 50%; border: 1px solid rgba(224, 177, 76, .28); pointer-events: none; }
.closing-orb::after { content: ''; position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #A89040; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.closing-brand .brand-word { font-size: 2.6rem; }
.closing-brand .brand-sub { font-size: .8125rem; letter-spacing: .32em; margin-left: 10px; }
.closing-title { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.12; color: var(--cream); font-weight: 400; max-width: 12ch; }
.closing-title em { color: var(--gold); font-style: italic; }
.closing-lede { margin-top: 28px; max-width: 38rem; font-size: 1.1875rem; line-height: 1.85; color: var(--on-olive-muted); }
.closing-tagline { margin-top: 32px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.3; color: var(--cream); max-width: 22ch; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.closing-actions .btn { padding-inline: 40px; }
.closing-side { padding-top: clamp(64px, 7vw, 92px); }
.closing-label { font-size: .8125rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.stay-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.stay-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.stay-name { font-size: 1.125rem; color: var(--cream); }
.stay-list a { color: var(--on-olive-muted); text-decoration: none; font-size: 1.0625rem; overflow-wrap: anywhere; text-align: right; }
.stay-list a:hover { color: var(--gold); }
.stay-soon { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-style: italic; color: var(--on-olive-muted); }
.stay-soon svg { color: var(--gold); flex: none; }
.closing-nav ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.closing-nav a { color: var(--on-olive-muted); text-decoration: none; font-size: 1.0625rem; }
.closing-nav a:hover { color: var(--gold); }
.closing-disclaimer { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.closing-disclaimer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 28px 0; font-size: 1.0625rem; font-weight: 500; letter-spacing: .03em; color: var(--cream); }
.closing-disclaimer summary::-webkit-details-marker { display: none; }
.closing-disclaimer summary::after { content: '+'; font-size: 1.9rem; font-weight: 300; line-height: 1; color: var(--gold); transition: transform .3s var(--ease); }
.closing-disclaimer[open] summary::after { transform: rotate(45deg); }
.closing-disclaimer p { max-width: 60rem; padding-bottom: 20px; font-size: .9375rem; line-height: 1.7; color: var(--on-olive-muted); }
.closing-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: .9375rem; color: var(--on-olive-muted); }
.closing-base ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.closing-base a { color: var(--on-olive-muted); text-decoration: none; }
.closing-base a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .closing-grid { grid-template-columns: 1fr; gap: 0; }
  .closing-side { padding-top: 56px; }
  .closing-orb { width: 104px; height: 104px; top: 16px; right: -24px; }
  .closing-orb::after { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
}
.closing-title { max-width: 13ch; }
/* Challenge page: tighten the space above "Every kitchen tells a story." */
.problem:has(+ .kitchens) { padding-bottom: clamp(40px, 5vw, 64px); }
.problem + .kitchens { padding-top: clamp(40px, 5vw, 64px); }
.kitchens .transition-line { margin-top: 0; padding-top: 40px; }
.founder-bio p { color: var(--ink-soft); } .founder-bio p + p { margin-top: 14px; }
/* Progress timeline: one continuous line; gold for completed steps, green only for where we are now */
.progress .milestone, .progress .milestone.is-done { border-top-color: rgba(62, 74, 46, .28); }
.progress .milestone::before { background: var(--cream); border: 2px solid rgba(62, 74, 46, .4); box-shadow: none; }
.progress .milestone.is-done::before { background: var(--gold); border-color: var(--gold); }
.progress .milestone.is-now::before { background: var(--sage); border-color: var(--sage); box-shadow: 0 0 0 6px rgba(122, 138, 90, .25); }
.progress .milestone.is-now .ms-status { color: var(--sage-text) !important; }
@media (max-width: 900px) { .progress .milestone, .progress .milestone.is-done { border-left-color: rgba(62, 74, 46, .28); } }
/* New photos: keep faces in frame */
.collage-a img { object-position: 46% 40%; }
.tl-preg .tl-photo img { object-position: 12% 40%; }

/* Progress timeline (desktop): dots centred over each stage; gold line runs from the
   first stage to the middle (current) stage, grey line continues to the last */
@media (min-width: 901px) {
  .progress .milestones { --dot: 16px; }
  .progress .milestones::before,
  .progress .milestones::after { content: ''; position: absolute; top: -1px; height: 2px; left: 10%; }
  .progress .milestones::before { right: 10%; background: rgba(62, 74, 46, .22); }
  .progress .milestones::after { width: 40%; background: var(--gold); }
  .progress .milestone, .progress .milestone.is-done { border-top: 0; padding: 36px 14px 0; text-align: center; }
  .progress .milestone::before { left: 50%; transform: translateX(-50%); top: calc(var(--dot) / -2); width: var(--dot); height: var(--dot); z-index: 1; }
}
@media (max-width: 900px) { .progress .milestone.is-done { border-left-color: var(--gold); } }
.collage-d img { object-position: 62% 50%; }
/* New Afya screens image carries its own green backdrop: show it edge to edge */
.approach-app { padding: 0; background: none; overflow: hidden; }
.approach-app img { aspect-ratio: 3 / 2; object-fit: cover; }
/* Story: the "conflicting advice" scene is wide, so frame it landscape */
.story-photo.arch { width: 100%; max-width: none; aspect-ratio: 4 / 3; border-radius: 18px; }
.story-photo img { object-position: 45% 50%; }
.tl-preg .tl-photo img { object-position: 30% 40%; }
.path-contact .is-soon { display: inline-flex; align-items: center; gap: 6px; font-style: italic; }
.path-contact .is-soon svg { color: var(--gold); }
/* Story: larger rectangular photo sitting close to the text */
@media (min-width: 901px) { .story .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 48px); align-items: center; } }
.story-photo, .story-photo.arch { margin: 0; width: 100%; max-width: none; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: var(--sand); }
.story-photo img { object-position: 50% 50%; }
@media (max-width: 900px) { .story-photo { margin-top: 0; } .story .story-grid { gap: 28px; } }
.bio-soon { font-style: italic; color: var(--sage-text) !important; }
.bio-soon { display: inline-flex; align-items: center; gap: 6px; } .bio-soon svg { color: var(--gold); }
/* Hero badge: the Amara tree inside the circle */
.hero-dot { display: grid; place-items: center; width: clamp(64px, 7vw, 100px); background: var(--cream); box-shadow: 0 0 0 4px var(--gold), 0 10px 24px rgba(38, 44, 28, .18); z-index: 1; }
.hero-dot img { width: 74%; height: auto; margin-top: 4%; }
@media (prefers-reduced-motion: no-preference) {
  .js .story-photo.img-reveal { clip-path: inset(0 0 100% 0 round 6px); }
  .js .story-photo.img-reveal.is-visible { clip-path: inset(0 0 0 0 round 6px); }
}

/* ---------- Partner: demo (coming soon) ---------- */
.demo { margin-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: var(--olive-deep); color: var(--on-olive); border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -60px rgba(43, 51, 32, .45); --focus: var(--gold); }
.demo .path-kicker { color: var(--gold); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.demo .path-title { color: var(--cream); }
.demo-copy > p:not(.path-kicker) { color: var(--on-olive-muted); margin-bottom: 28px; max-width: 34rem; }
.demo-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-light); color: var(--cream); font-size: .7rem; letter-spacing: .14em; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.demo-soon { --btn-bg: transparent; --btn-fg: rgba(250, 246, 239, .6); --btn-bd: rgba(250, 246, 239, .25); cursor: not-allowed; }
.demo-soon:hover { transform: none; box-shadow: none; }
.demo-visual { position: relative; border-radius: 18px; overflow: hidden; }
.demo-visual img { width: 100%; filter: blur(2px); opacity: .85; transform: scale(1.03); }
.demo-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: var(--cream); color: var(--olive); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .5); }
.demo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo-actions .btn { white-space: normal; text-align: center; } }
