/* ==========================================================================
   NANA — one-page scrollytelling
   Company-profile classroom example
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Root ---------- */
:root {
  --cream:        #F3EADA;
  --cream-deep:   #EDE0CB;
  --paper:        #FAF3E7;
  --terracotta:   #C86B3C;
  --terracotta-2: #A34A24;
  --ochre:        #D9A441;
  --sage:         #6B7B5A;
  --ink:          #1C1612;
  --ink-2:        #2D241C;
  --ink-soft:     #4A3E32;
  --mute:         #8A7B6A;
  --line:         rgba(28,22,18,.16);
  --line-soft:    rgba(28,22,18,.08);

  --radius:       2px;
  --max:          1360px;
  --pad:          clamp(20px, 4vw, 56px);

  --ff-display:   'Fraunces', 'Times New Roman', serif;
  --ff-body:      'Newsreader', 'Georgia', serif;
  --ff-accent:    'Cormorant Garamond', serif;

  --ease-out:     cubic-bezier(.22, 1, .36, 1);
  --ease-soft:    cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
html, body { background: var(--cream); color: var(--ink); }
body {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.05vw, 19px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga' 1, 'kern' 1, 'ss01' 1;
}

::selection { background: var(--terracotta); color: var(--paper); }

/* Subtle film grain overlay across the whole site */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
.kicker, .eyebrow {
  font-family: var(--ff-body);
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.kicker__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(200,107,60,.15);
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--dark { color: rgba(243,234,218,.65); }

.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
}
.section-title em {
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--terracotta-2);
}
.section-title--center { text-align: center; }
.section-title--dark { color: var(--paper); }
.section-title--dark em { color: var(--ochre); }

.big-type {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(64px, 8.5vw, 148px);
  line-height: .94;
  letter-spacing: -0.028em;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
  text-align: center;
  max-width: 18ch;
  margin: 0 auto;
}
.big-type em {
  font-style: italic;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.big-type--alt { font-weight: 400; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), visibility .8s var(--ease-out);
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__ring {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  margin-bottom: 22px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader__word {
  font-family: var(--ff-display);
  font-size: 22px;
  letter-spacing: .04em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  display: flex; gap: 2px;
}
.loader__word span {
  opacity: 0;
  animation: fade 1.2s var(--ease-out) forwards;
}
.loader__word span:nth-child(1){animation-delay:.05s}
.loader__word span:nth-child(2){animation-delay:.15s}
.loader__word span:nth-child(3){animation-delay:.25s}
.loader__word span:nth-child(4){animation-delay:.35s}
.loader__word span:nth-child(5){animation-delay:.45s}
@keyframes fade { to { opacity: 1; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 22px var(--pad);
  mix-blend-mode: multiply;
  transition: background .3s var(--ease-out), backdrop-filter .3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(243,234,218,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mix-blend-mode: normal;
}
.nav__logo { display: inline-block; }
.nav__mark { width: 100px; height: 28px; }
.nav__mark-text {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  fill: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.nav__links {
  display: flex; gap: 26px;
  justify-content: center;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--ink-soft);
}
.nav__links a { position: relative; }
.nav__links a::after {
  content: ''; position: absolute;
  left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--terracotta);
  transition: width .35s var(--ease-out);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .3s, color .3s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 768px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--pad) 60px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.hero__image-wrap {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(.72) saturate(1.08) contrast(1.02);
  transform: scale(1.06);
  will-change: transform;
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28,22,18,.35) 0%, rgba(28,22,18,.15) 35%, rgba(243,234,218,.0) 60%, rgba(243,234,218,.72) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  margin-top: auto;
  max-width: var(--max);
  width: 100%;
  padding-top: 140px;
}
.hero__content .kicker {
  color: var(--paper);
  mix-blend-mode: difference;
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 190px);
  line-height: .9;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin-top: 18px;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.hero__title em {
  font-style: italic;
  color: var(--ochre);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.h-line { display: block; overflow: hidden; }
.h-line > span { display: inline-block; }
.hero__meta {
  position: relative; z-index: 2;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(243,234,218,.25);
  padding-top: 22px;
  color: var(--paper);
}
.meta__label {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 6px;
}
.meta__value {
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 30;
}
.hero__scroll {
  position: absolute; bottom: 18px; right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--paper);
  opacity: .6;
  z-index: 2;
}
.hero__scroll svg line { animation: scrollLine 2.2s var(--ease-out) infinite; }
@keyframes scrollLine { 0%{ transform-origin: top; transform: scaleY(.1);} 50%{ transform-origin: top; transform: scaleY(1);} 51%{ transform-origin: bottom; transform: scaleY(1);} 100%{ transform-origin: bottom; transform: scaleY(.1);} }

@media (max-width: 768px) {
  .hero__meta { grid-template-columns: 1fr; gap: 14px; padding-top: 18px; }
}

/* ---------- Press marquee (partners + press wordmarks) ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 36px) 0;
  background: var(--cream-deep);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 4vw, 72px);
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee__track > span { flex-shrink: 0; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.brand {
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1;
  color: var(--ink);
}
.brand__dot {
  font-size: clamp(22px, 2.4vw, 38px);
  color: var(--terracotta-2);
  opacity: 0.5;
}

/* per-brand wordmark styling — each one evokes the brand's typographic identity */
.brand--slowfood {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.brand--unesco {
  font-family: var(--ff-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(20px, 2.1vw, 32px);
}
.brand--ft {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: italic;
  color: #a8635a;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
}
.brand--monocle {
  font-family: var(--ff-body);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: clamp(20px, 2.1vw, 32px);
}
.brand--uv {
  font-family: var(--ff-body);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.brand--repubblica {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: italic;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 144;
}
.brand--kinfolk {
  font-family: var(--ff-body);
  font-weight: 300;
  letter-spacing: 0.32em;
  font-size: clamp(20px, 2.1vw, 32px);
}
.brand--gambero {
  font-family: var(--ff-display);
  font-weight: 500;
  font-style: italic;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

/* ---------- Story ---------- */
.story {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--pad);
}
.section-head { max-width: 80ch; margin-bottom: 72px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: none;
  align-items: end;
}
@media (max-width: 900px) {
  .section-head--split { grid-template-columns: 1fr; gap: 24px; }
}
.story__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.story__image figure, .story__image { margin: 0; }
.story__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(.85) contrast(1.02);
  border-radius: var(--radius);
}
.story__image figcaption {
  margin-top: 14px;
  font-family: var(--ff-accent);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 15px;
  padding-left: 14px;
  border-left: 1px solid var(--terracotta);
}
.story__text p {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.62;
  color: var(--ink-2);
  margin-bottom: 1.1em;
}
.story__text strong { font-weight: 600; color: var(--ink); }
.story__text em { color: var(--terracotta-2); }
.drop::first-letter {
  font-family: var(--ff-display);
  font-size: 3.6em;
  line-height: .85;
  float: left;
  margin: 0.08em 0.08em 0 -0.04em;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.callout {
  margin-top: 1.4em !important;
  padding: 18px 22px;
  border-left: 3px solid var(--terracotta);
  background: rgba(200,107,60,.06);
  font-style: italic;
  font-family: var(--ff-accent);
  font-size: 19px !important;
}

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
}

/* Timeline — editorial horizontal track with icons + "today" pulse */
.timeline {
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
/* base track (behind everything) */
.timeline::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(100% / 12);   /* center of first column */
  right: calc(100% / 12);  /* center of last column */
  height: 2px;
  background: var(--line);
  z-index: 0;
  border-radius: 2px;
}
/* progress track — filled from start to "today" pulse */
.timeline::after {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(100% / 12);
  width: calc(100% - (100% / 6));  /* full: first center → last center */
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta) 0%, var(--ochre) 100%);
  z-index: 1;
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: 2px;
}
.timeline.is-revealed::after { animation: tl-grow-h 2.6s var(--ease-out) forwards; }
@keyframes tl-grow-h { to { transform: scaleX(1); } }

.tl-item {
  position: relative;
  padding: 0 12px;
  text-align: center;
  z-index: 2;
}
.tl-item::before {
  content: '';
  position: absolute;
  top: -43px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--terracotta);
  z-index: 3;
  transition: transform .3s var(--ease-out);
}
.tl-item:hover::before { transform: translateX(-50%) scale(1.25); }
.tl-item.is-now::before {
  background: var(--terracotta);
  width: 22px;
  height: 22px;
  top: -44px;
  border-color: var(--paper);
  box-shadow: 0 0 0 6px rgba(200, 107, 60, 0.20);
  animation: tl-pulse 2.4s ease-in-out infinite;
}
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(200, 107, 60, 0.20); }
  50%      { box-shadow: 0 0 0 14px rgba(200, 107, 60, 0.04); }
}
.tl-icon {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  filter: saturate(1.08);
}
.tl-year {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 30;
  font-feature-settings: 'tnum' 1;
  margin-bottom: 8px;
  letter-spacing: 0.005em;
}
.tl-item.is-now .tl-year {
  color: var(--terracotta);
  font-weight: 500;
}
.tl-text {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  max-width: 22ch;
  margin: 0 auto;
}
.tl-text strong { color: var(--ink); font-weight: 600; }

/* Mobile: vertical timeline, line on the left */
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
    padding-top: 8px;
    padding-left: 48px;
    gap: 4px;
  }
  .timeline::before {
    top: 12px;
    bottom: 30px;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .timeline::after {
    top: 12px;
    left: 19px;
    right: auto;
    width: 2px;
    height: calc(100% - 60px);
    background: linear-gradient(180deg, var(--terracotta) 0%, var(--ochre) 100%);
    transform-origin: top center;
    transform: scaleY(0);
  }
  .timeline.is-revealed::after { animation: tl-grow-v 2.6s var(--ease-out) forwards; }
  @keyframes tl-grow-v { to { transform: scaleY(1); } }

  .tl-item {
    padding: 6px 0 28px 0;
    text-align: left;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
  }
  .tl-item::before {
    position: absolute;
    top: 8px;
    left: -40px;
    transform: none;
  }
  .tl-item:hover::before { transform: scale(1.25); }
  .tl-item.is-now::before {
    top: 4px;
    left: -43px;
  }
  .tl-icon {
    grid-row: 1 / span 2;
    font-size: 24px;
    margin-bottom: 0;
    align-self: center;
  }
  .tl-year {
    grid-column: 2;
    margin-bottom: 0;
  }
  .tl-text {
    grid-column: 2;
    max-width: none;
    margin: 0;
  }
}

/* ---------- Mission / Vision ---------- */
.mission, .vision {
  padding: clamp(100px, 13vw, 200px) var(--pad);
  position: relative;
  text-align: center;
}
.vision { background: var(--cream-deep); }
.mission__sub, .vision__sub {
  max-width: 42ch;
  margin: 36px auto 0;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(20px, 1.5vw, 26px);
  color: var(--ink-2);
}

/* ---------- How it works ---------- */
.how {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--pad);
}
.how__lede {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
  align-self: end;
}
.steps {
  margin-top: 72px;
  display: grid;
  gap: 80px;
}
.step {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.step:nth-child(even) { grid-template-columns: 5fr 7fr; }
.step:nth-child(even) .step__media { order: 2; }
.step__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.95) contrast(1.02);
}
.step__body { max-width: 42ch; }
.step__num {
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: .18em;
  color: var(--terracotta);
  display: block;
  margin-bottom: 14px;
}
.step__body h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 58px);
  line-height: 1;
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.step__body p {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}
.step__body strong { font-weight: 600; color: var(--ink); }
.step__body em { color: var(--terracotta-2); font-style: italic; }

@media (max-width: 900px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__media { order: 0; }
}

/* ---------- Numbers ---------- */
.numbers {
  padding: clamp(100px, 13vw, 200px) var(--pad);
  background: var(--paper);
  text-align: center;
}
.numbers__grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: var(--max);
  margin-inline: auto;
}
.stat { border-top: 1px solid var(--line); padding-top: 22px; text-align: left; }
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(52px, 7vw, 104px);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.stat__num span { font-size: 0.5em; opacity: .6; margin-left: 4px; }
.stat__label {
  display: block;
  margin-top: 12px;
  font-family: var(--ff-body);
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--ink-soft);
}
.numbers__note {
  margin: 72px auto 0;
  max-width: 72ch;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
}
.numbers__note strong { font-style: normal; color: var(--ink); }

@media (max-width: 900px) { .numbers__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .numbers__grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 200px) var(--pad);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.member { margin: 0; }
.member img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: saturate(.9);
  border-radius: var(--radius);
}
.member figcaption { margin-top: 20px; }
.member h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.15;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.member__role {
  font-family: var(--ff-accent);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 17px;
  margin: 4px 0 6px !important;
}
.member__email {
  font-family: var(--ff-body);
  font-size: 13px !important;
  letter-spacing: .01em;
  color: var(--ink-soft) !important;
  margin: 0 0 12px !important;
  font-feature-settings: 'tnum' 1;
}
.member__email a {
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--line);
  transition: color .2s, border-color .2s;
}
.member__email a:hover {
  color: var(--terracotta-2);
  border-bottom-color: var(--terracotta);
}
.member p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36ch;
}

.pull-quote {
  max-width: 28ch;
  margin: clamp(64px, 8vw, 120px) auto 0;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: 1.1;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  position: relative;
}
.pull-quote em { color: var(--terracotta-2); font-style: italic; }
.pull-quote cite {
  display: block;
  margin-top: 20px;
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pull-quote::before, .pull-quote::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--terracotta);
  display: block;
  margin: 0 auto 24px;
}
.pull-quote::after { margin: 24px auto 0; }

@media (max-width: 900px) { .team__grid { grid-template-columns: 1fr; } }

/* ---------- Why Now ---------- */
.whynow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
}
.whynow__image { overflow: hidden; }
.whynow__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 520px;
  filter: saturate(.8) brightness(.85);
}
.whynow__text {
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.whynow__text .eyebrow { color: rgba(243,234,218,.6); }
.whynow__text .section-title { color: var(--paper); margin-bottom: 28px; }
.whynow__text .section-title em { color: var(--ochre); }
.whynow__text p {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.6;
  color: rgba(243,234,218,.82);
  margin-bottom: 1em;
  max-width: 50ch;
}
.whynow__text strong { color: var(--paper); font-weight: 600; }

@media (max-width: 900px) {
  .whynow { grid-template-columns: 1fr; }
  .whynow__image img { min-height: 320px; }
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(100px, 14vw, 220px) var(--pad);
  text-align: center;
}
.cta__title {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(50px, 8vw, 140px);
  line-height: .95;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.cta__title em { color: var(--terracotta-2); font-style: italic; }
.cta__sub {
  margin: 28px auto 40px;
  max-width: 46ch;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 22px);
  color: var(--ink-soft);
}
.cta__button {
  display: inline-flex;
  align-items: center; gap: 18px;
  padding: 20px 36px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-body);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.cta__button:hover { background: var(--terracotta-2); transform: translateY(-2px); }
.cta__button svg { width: 32px; height: 12px; }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink-2);
  color: rgba(243,234,218,.7);
  padding: clamp(60px, 8vw, 100px) var(--pad) 32px;
  border-top: 1px solid rgba(243,234,218,.08);
}
.foot__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(243,234,218,.1);
}
.foot__mark {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 42px;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.foot__label {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 10px;
}
.foot__label--inline {
  display: inline;
  font-size: 9px;
  margin-right: 8px;
  color: rgba(217,164,65,.85);
}
.foot__title-meta {
  margin-top: 14px !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: rgba(243,234,218,.6);
}
.foot p { font-size: 14px; line-height: 1.6; }
.foot strong { color: var(--paper); font-weight: 600; }
.foot__bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(243,234,218,.4);
}
@media (max-width: 900px) {
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .foot__bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Reveal helpers ---------- */
[data-reveal] > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.is-revealed [data-reveal] > span,
[data-reveal].is-revealed > span { transform: translateY(0); }

/* ==========================================================================
   RECIPES & CHARTS — community cookbook preview
   ========================================================================== */
.recipes {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--pad);
  background: var(--paper);
}
.recipes .section-head--split { align-items: start; margin-bottom: 64px; }

.charts {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
  margin: 40px 0 clamp(60px, 8vw, 100px);
}
.chart {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  margin: 0;
  display: flex;
  flex-direction: column;
}
.chart__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.chart--donut { text-align: center; }
.chart--donut .chart__body { position: relative; max-width: 320px; margin: 12px auto 20px; }
.chart--donut svg { width: 100%; height: auto; overflow: visible; }
.chart__seg {
  transition: stroke-dashoffset .9s var(--ease-out);
  stroke-linecap: butt;
}
.chart__donut-num {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 400;
  fill: var(--ink);
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
  letter-spacing: -0.015em;
}
.chart__donut-lbl {
  font-family: var(--ff-body);
  font-size: 9px;
  fill: var(--ink-soft);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.chart__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: auto;
}
.chart__legend li { display: flex; align-items: center; gap: 10px; }
.chart__legend span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c, var(--terracotta));
  flex-shrink: 0;
}
.chart__legend em {
  margin-left: auto;
  font-family: var(--ff-display);
  font-style: normal;
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.chart--bars .bars { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.chart--bars .bars li {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.bars__label { color: var(--ink); font-family: var(--ff-body); }
.bars__track {
  height: 10px;
  background: rgba(28,22,18,.07);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bars__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c, var(--terracotta));
  border-radius: 999px;
  transition: width 1s var(--ease-out);
}
.bars.is-revealed .bars__fill { width: var(--w); }
.bars__val {
  text-align: right;
  font-family: var(--ff-display);
  color: var(--ink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.bars__rest { opacity: .6; font-style: italic; }
.bars__rest .bars__label, .bars__rest .bars__val { font-style: italic; }
.chart__note {
  margin-top: 20px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 900px) {
  .charts { grid-template-columns: 1fr; }
  .chart--bars .bars li { grid-template-columns: 76px 1fr 42px; gap: 10px; font-size: 13px; }
}

/* Recipe preview grid */
.recipes-preview { margin-top: 20px; }
.recipes-preview .eyebrow {
  display: block;
  margin-bottom: 32px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.recipe-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(28,22,18,.28);
  border-color: rgba(200,107,60,.35);
}
.recipe-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.recipe-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.recipe-card:hover .recipe-card__media img { transform: scale(1.04); }
.recipe-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(243,234,218,.94);
  color: var(--terracotta-2);
  font-family: var(--ff-body);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.recipe-card__body { padding: 22px 22px 24px; }
.recipe-card__body h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
  margin-bottom: 6px;
}
.recipe-card__by {
  font-family: var(--ff-accent);
  font-style: italic;
  color: var(--terracotta-2);
  font-size: 14px;
  margin-bottom: 14px;
}
.recipe-card__meta {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.recipe-card__meta em {
  font-style: italic;
  color: var(--mute);
  font-size: 11px;
}

.see-all {
  display: inline-flex;
  align-items: center; gap: 12px;
  margin-top: 48px;
  font-family: var(--ff-body);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta-2);
  border-bottom: 1px solid var(--terracotta-2);
  padding-bottom: 4px;
  transition: gap .3s var(--ease-out);
}
.see-all:hover { gap: 20px; }
.see-all svg { width: 28px; height: 10px; }

.recipes-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin-inline: auto;
}

@media (max-width: 900px) { .recipes-grid { grid-template-columns: 1fr 1fr; } .recipes-grid--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .recipes-grid { grid-template-columns: 1fr; } .recipes-grid--three { grid-template-columns: 1fr; } }

/* ---------- By the numbers (end-of-page block) ---------- */
.numbers-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--pad);
  background: var(--paper);
}
.numbers-block .timeline { margin-top: clamp(40px, 6vw, 80px); }
.numbers-block .charts { margin-top: clamp(48px, 6.5vw, 80px); margin-bottom: 0; }
.numbers-block .section-head--split {
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.numbers-block .section-head--split .how__lede { max-width: 65ch; }

/* ---------- Q&A ---------- */
.qa {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad) clamp(80px, 10vw, 140px);
  text-align: center;
  border-top: 1px solid var(--line);
}
.qa__title {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
  max-width: 22ch;
  margin: 18px auto 0;
}
.qa__title em { color: var(--terracotta-2); font-style: italic; }
.qa__sub {
  margin: 22px auto 0;
  max-width: 50ch;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 22px);
  color: var(--ink-soft);
}

/* ==========================================================================
   REFERENCES — Market validation & sources (slide must-have #2)
   ========================================================================== */
.references {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--pad);
  background: var(--cream-deep);
}
.ref-grid {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.ref-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s, transform .3s;
}
.ref-card:hover {
  border-color: rgba(200,107,60,.4);
  transform: translateY(-2px);
}
.ref-card--accent {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(217,164,65,.25);
}
.ref-card--accent .ref-card__insight { color: rgba(243,234,218,.85); }
.ref-card--accent .ref-card__insight strong { color: var(--paper); }
.ref-card--accent .ref-card__src a { color: rgba(217,164,65,.85); border-bottom-color: rgba(217,164,65,.4); }
.ref-card--accent .ref-card__src a:hover { color: var(--ochre); }
.ref-card__num {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-feature-settings: 'tnum' 1;
}
.ref-card--accent .ref-card__num { color: var(--ochre); }
.ref-card__insight {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.ref-card__insight strong { color: var(--ink); font-weight: 600; }
.ref-card__src {
  margin-top: auto;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.ref-card__src a {
  color: var(--terracotta-2);
  border-bottom: 1px dotted var(--line);
  transition: color .2s, border-color .2s;
}
.ref-card__src a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.ref-sources {
  margin-top: clamp(60px, 7vw, 96px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.ref-sources__list {
  margin-top: 24px;
  list-style: decimal inside;
  columns: 2;
  column-gap: clamp(32px, 4vw, 64px);
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.ref-sources__list li {
  margin-bottom: 8px;
  break-inside: avoid;
  padding-left: 4px;
}
.ref-sources__list em { color: var(--ink); font-style: italic; }
.ref-sources__list a {
  color: var(--terracotta-2);
  border-bottom: 1px dotted var(--line);
  transition: color .2s;
}
.ref-sources__list a:hover { color: var(--terracotta); }
.ref-sources__qa {
  margin-top: clamp(32px, 4vw, 48px);
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--ink-2);
  text-align: center;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  border-radius: var(--radius);
}
.ref-sources__qa .foot__label--inline {
  color: var(--terracotta-2);
  margin-right: 12px;
}

@media (max-width: 1100px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-sources__list { columns: 1; }
}

/* ==========================================================================
   COMMUNITY
   ========================================================================== */
.community {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 160px) var(--pad);
}
.community__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 540px));
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  margin-top: 40px;
}
.community__block {
  background: var(--cream-deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .3s, background .3s;
}
.community__block:hover { border-color: rgba(200,107,60,.35); }
.community__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 28px;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -0.02em;
}
.community__block h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  color: var(--ink);
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.community__block p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.community__block p strong { color: var(--ink); font-weight: 600; }
.community__block p em { color: var(--terracotta-2); font-style: italic; }
.community__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: auto;
  filter: saturate(.92);
}

.match-viz {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line-soft);
}
.match-viz__card {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}
.match-viz__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid var(--cream-deep);
}
.match-viz__card em {
  color: var(--terracotta-2);
  font-style: italic;
}
.match-viz__line {
  position: relative;
  width: 60px;
  height: 1px;
  background: var(--terracotta);
}
.match-viz__line::before, .match-viz__line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  transform: translateY(-50%);
}
.match-viz__line::before { left: -3px; }
.match-viz__line::after { right: -3px; }
.match-viz__line span {
  position: absolute;
  top: -28px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-soft);
}

.rewards {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.rewards li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.rewards li:last-child { border-bottom: 0; }
.rewards__ico { font-size: 18px; text-align: center; }
.rewards__lbl { font-family: var(--ff-body); color: var(--ink); font-weight: 600; }
.rewards__val { font-family: var(--ff-accent); font-style: italic; color: var(--ink-soft); font-size: 12px; }

@media (max-width: 900px) { .community__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TEAM — 5 founders
   ========================================================================== */
.team__lede {
  margin-top: 24px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
}
.team__grid--five {
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.member__grandma {
  font-family: var(--ff-accent) !important;
  font-style: italic !important;
  font-size: 13px !important;
  color: var(--terracotta-2) !important;
  margin: 8px 0 10px !important;
  line-height: 1.5 !important;
  padding-left: 10px;
  border-left: 2px solid var(--ochre);
}
.member__grandma em { color: var(--ink) !important; font-style: italic; font-weight: 600; }

@media (max-width: 1100px) {
  .team__grid--five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .team__grid--five { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .team__grid--five { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RECIPES CATALOG PAGE (recipes.html)
   ========================================================================== */
.catalog-hero {
  padding: clamp(140px, 14vw, 200px) var(--pad) clamp(40px, 6vw, 80px);
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}
.catalog-hero h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.catalog-hero h1 em { color: var(--terracotta-2); font-style: italic; }
.catalog-hero p {
  margin: 24px auto 0;
  max-width: 56ch;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 21px);
  color: var(--ink-soft);
}
.catalog-hero .searchbar {
  margin: 36px auto 0;
  max-width: 520px;
  display: flex;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  background: var(--cream);
  align-items: center;
}
.catalog-hero .searchbar input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
}
.catalog-hero .searchbar input::placeholder { color: var(--mute); }
.catalog-hero .searchbar button {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 0 var(--pad);
}
.filter-chips button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--ff-body);
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .3s var(--ease-out), color .3s, border-color .3s;
}
.filter-chips button:hover { border-color: var(--terracotta); color: var(--ink); }
.filter-chips button.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.catalog {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(80px, 10vw, 140px);
}
.catalog .recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.catalog .recipe-card.is-hidden { display: none; }

@media (max-width: 900px) { .catalog .recipes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .catalog .recipes-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   RECIPE DETAIL PAGE (recipe.html)
   ========================================================================== */
.rd {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(120px, 12vw, 180px) var(--pad) clamp(60px, 8vw, 120px);
}
.rd__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.rd__back::before { content: '←'; font-size: 16px; }
.rd__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.rd__title {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
}
.rd__title em { color: var(--terracotta-2); font-style: italic; }
.rd__by {
  margin-top: 16px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 18px;
  color: var(--terracotta-2);
}
.rd__meta {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rd__meta strong { display: block; font-family: var(--ff-display); font-size: 22px; font-style: italic; color: var(--ink); letter-spacing: -0.02em; text-transform: none; margin-top: 4px; }

.rd__media {
  aspect-ratio: 16/9;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}
.rd__media img,
.rd__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
.rd__media .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(243,234,218,.78);
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out);
  position: absolute;
}
.rd__media .play::after {
  content: 'Video coming soon';
  position: absolute;
  bottom: -34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(28, 22, 18, .72);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  pointer-events: none;
}
.rd__media .play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(243,234,218,1); }
.rd__media .play:hover::after { opacity: 1; }

/* Toast notification (used for "video coming soon" click feedback) */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 15px;
  box-shadow: 0 14px 30px -8px rgba(28, 22, 18, .35);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: transform .42s var(--ease-out), opacity .42s var(--ease-out);
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
@media (max-width: 600px) {
  .toast { bottom: 20px; padding: 12px 18px; font-size: 13px; }
}
.rd__media .play::before {
  content: '';
  width: 0; height: 0;
  border-left: 22px solid var(--ink);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}
.rd__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.rd__thumbs img {
  width: 120px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: .7;
  cursor: pointer;
  transition: opacity .3s;
}
.rd__thumbs img:hover, .rd__thumbs img.is-active { opacity: 1; }

.rd__body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.rd__story {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 22px;
  border-left: 2px solid var(--terracotta);
  margin-bottom: 48px;
}
.rd__h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 144;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rd__steps { counter-reset: st; }
.rd__steps li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.rd__steps li::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 32px;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.rd__steps li p {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.rd__side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rd__ingredients {
  background: var(--cream-deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
}
.rd__ingredients h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  margin-bottom: 18px;
  font-variation-settings: "SOFT" 90, "WONK" 1;
}
.rd__ingredients ul { display: flex; flex-direction: column; gap: 10px; }
.rd__ingredients li {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.rd__ingredients li:last-child { border-bottom: 0; }
.rd__ingredients li strong { color: var(--ink); font-family: var(--ff-display); font-variation-settings: "SOFT" 100, "WONK" 1; }

.basket-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.basket-cta__eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 12px;
}
.basket-cta__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
  font-variation-settings: "SOFT" 90, "WONK" 1;
}
.basket-cta__price {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--ochre);
  font-size: 36px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 14px 0;
}
.basket-cta__when {
  font-family: var(--ff-accent);
  font-style: italic;
  color: rgba(243,234,218,.7);
  font-size: 13px;
  margin-bottom: 20px;
}
.basket-cta button {
  width: 100%;
  background: var(--terracotta);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  padding: 16px;
  font-family: var(--ff-body);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.basket-cta button:hover { background: var(--terracotta-2); transform: translateY(-2px); }
.basket-cta button.is-added { background: var(--sage); }
.basket-cta__stats {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(243,234,218,.15);
  font-size: 12px;
  color: rgba(243,234,218,.7);
  text-align: center;
}
.basket-cta__stats strong {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--paper);
  font-size: 24px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin-bottom: 4px;
}

.rd__reactions {
  margin: 48px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.rd__reactions button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .2s;
}
.rd__reactions button:hover { border-color: var(--terracotta); }
.rd__reactions button.is-active { background: rgba(200,107,60,.12); border-color: var(--terracotta); color: var(--ink); }
.rd__reactions button:active { transform: scale(.96); }
.rd__reactions .ico { font-size: 18px; }
.rd__reactions .lbl { }
.rd__reactions .cnt { font-family: var(--ff-display); font-style: italic; color: var(--terracotta-2); font-variation-settings: "SOFT" 100, "WONK" 1; }

.rd__comments { margin: 48px 0; }
.rd__comment {
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}
.rd__comment:last-child { border-bottom: 0; }
.rd__comment-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--terracotta-2);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.rd__comment strong {
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--ink);
}
.rd__comment time {
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: 10px;
}
.rd__comment p {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 4px;
}

.rd__similar {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.rd__similar .recipes-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .rd__body { grid-template-columns: 1fr; }
  .rd__side { position: static; }
  .rd__head { grid-template-columns: 1fr; gap: 20px; }
  .rd__similar .recipes-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile (≤600px) ---------- */
@media (max-width: 600px) {
  /* Recipe detail thumbnails: were 4 × 120px, would overflow on phones. */
  .rd__thumbs { gap: 6px; }
  .rd__thumbs img { width: auto; flex: 1 1 0; min-width: 0; aspect-ratio: 4/3; }

  /* Recipe detail container: tighter top padding */
  .rd { padding-top: clamp(80px, 14vw, 110px); }

  /* Head meta wraps cleanly */
  .rd__meta { flex-wrap: wrap; gap: 16px 28px; }
  .rd__meta strong { font-size: 18px; }

  /* Story side-line: less left padding so text doesn't crush */
  .rd__story { padding-left: 14px; font-size: 16px; }

  /* Steps: tighter "01" gutter */
  .rd__steps li { grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 0; }
  .rd__steps li::before { font-size: 24px; }
  .rd__steps li p { font-size: 15px; line-height: 1.55; }

  /* Ingredients box: less padding */
  .rd__ingredients { padding: 22px; }
  .rd__ingredients h3 { font-size: 18px; margin-bottom: 12px; }
  .rd__ingredients li { font-size: 13px; }

  /* Basket CTA */
  .basket-cta { padding: 22px; }
  .basket-cta__title { font-size: 20px; }
  .basket-cta__price { font-size: 30px; margin: 10px 0; }
  .basket-cta button { padding: 13px; font-size: 12px; letter-spacing: .18em; }
  .basket-cta__stats strong { font-size: 20px; }

  /* Reactions: smaller, two-column friendly */
  .rd__reactions { padding: 14px; gap: 8px; margin: 32px 0; }
  .rd__reactions button { padding: 8px 12px; font-size: 12.5px; gap: 6px; }
  .rd__reactions .lbl { font-size: 12.5px; }

  /* Comments avatar smaller */
  .rd__comment { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; }
  .rd__comment-avatar { width: 36px; height: 36px; font-size: 15px; }
  .rd__comment p { font-size: 14px; }

  /* Recipes grid: cards full width on phone, slightly tighter padding */
  .recipes-grid { gap: 16px; }
  .recipe-card__body { padding: 14px 16px; }
  .recipe-card__body h3 { font-size: 17px; }

  /* Submit CTA card: vertical rhythm tighter */
  .recipe-submit-card { padding: 22px; gap: 10px; }
  .recipe-submit-card h3 { font-size: 19px; }
  .recipe-submit-card p { font-size: 14px; }

  /* Catalog hero: title doesn't crush */
  .catalog-hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .catalog-hero p { font-size: 15px; }
  .searchbar input { font-size: 15px; padding: 12px 14px; }

  /* Filter chips: smaller */
  .filter-chips { gap: 6px; }
  .filter-chips button { padding: 8px 14px; font-size: 12px; }

  /* Nav: tighter spacing */
  .nav__links { display: none; }
  .nav__cta { font-size: 12px; padding: 8px 14px; }
}

/* ---------- Submit-recipe CTA card (catalog) ---------- */
.recipe-submit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream-deep) 100%);
  border: 1.5px dashed rgba(200, 107, 60, .55);
  border-radius: 4px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out);
  font: inherit;
}
.recipe-submit-card:hover,
.recipe-submit-card:focus-visible {
  border-color: var(--terracotta);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(28, 22, 18, .25);
  outline: none;
}
.recipe-submit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.recipe-submit-card h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}
.recipe-submit-card p {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.recipe-submit-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 17px;
  color: var(--terracotta-2);
  letter-spacing: 0.01em;
}

/* ---------- Modal (native <dialog>) — fixed, never scrolls internally ---------- */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: 560px;
  width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: auto;
  border-radius: 4px;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(28, 22, 18, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal[open] {
  animation: modalIn .42s var(--ease-out);
}
.modal[open]::backdrop {
  animation: backdropIn .42s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal__form,
.modal__success {
  background: var(--paper);
  padding: clamp(20px, 3.5vw, 32px);
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 80px -20px rgba(28, 22, 18, .35);
  overflow: hidden;
}

.modal__form h2,
.modal__success h2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.modal__form h2 em { color: var(--terracotta-2); font-weight: 400; }

.modal__form label {
  display: block;
  font-family: var(--ff-accent);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.modal__form .modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.modal__form .modal__row label { margin-bottom: 0; }

.modal__form input[type="text"],
.modal__form input[type="email"],
.modal__form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 11px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.4;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.modal__form input:focus,
.modal__form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--paper);
}
.modal__form textarea { resize: none; min-height: 0; }

.modal__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.modal__btn {
  appearance: none;
  border: 1.5px solid transparent;
  border-radius: 3px;
  padding: 9px 18px;
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.modal__btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.modal__btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.modal__btn--primary {
  background: var(--terracotta);
  color: var(--paper);
  border-color: var(--terracotta);
}
.modal__btn--primary:hover {
  background: var(--terracotta-2);
  border-color: var(--terracotta-2);
  transform: translateY(-1px);
}

.modal__success {
  text-align: center;
  padding: clamp(28px, 4vw, 40px);
}
.modal__success-mark {
  font-size: 38px;
  margin-bottom: 10px;
}
.modal__success p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}

@media (max-width: 600px) {
  .modal { width: calc(100vw - 16px); }
  .modal__form,
  .modal__success { padding: 18px; }
  .modal__form h2 { font-size: 20px; margin-bottom: 10px; }
  .modal__form .modal__row { grid-template-columns: 1fr; gap: 8px; margin-bottom: 8px; }
  .modal__form label { margin-bottom: 8px; font-size: 11.5px; }
  .modal__form input,
  .modal__form textarea { padding: 7px 10px; font-size: 14px; }
  .modal__actions { flex-direction: column-reverse; gap: 6px; padding-top: 10px; margin-top: 10px; }
  .modal__btn { width: 100%; padding: 10px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .h-line > span, [data-reveal] > span { transform: none !important; }
  .marquee__track { animation: none; }
  .chart__seg, .bars__fill { transition: none !important; }
}

/* ==========================================================================
   Q&A — BOLD VARIANT (full-width terracotta, big italic claim)
   ========================================================================== */
.qa--bold {
  max-width: none;
  background: var(--terracotta-2);
  color: var(--paper);
  border-top: none;
  padding: clamp(80px, 14vh, 180px) var(--pad);
  position: relative;
  overflow: hidden;
}
.qa--bold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.qa--bold > * { position: relative; z-index: 1; }
.qa--bold .eyebrow,
.qa--bold .eyebrow--center {
  color: var(--cream);
  letter-spacing: 0.4em;
  font-size: 12px;
  opacity: 0.85;
}
.qa--bold .qa__title {
  color: var(--paper);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(56px, 11vw, 168px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  max-width: 18ch;
  margin: 28px auto 0;
}
.qa--bold .qa__title em {
  color: var(--ochre);
  font-style: italic;
  font-weight: 800;
}
.qa--bold .qa__sub {
  color: rgba(243, 234, 218, 0.86);
  font-size: clamp(20px, 1.6vw, 28px);
  margin-top: 32px;
  font-weight: 400;
}

/* ==========================================================================
   CTA QR — final scan-to-submit before Q&A
   ========================================================================== */
.cta-qr {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  border-top: 1px solid var(--line);
}
.cta-qr__text .eyebrow {
  color: var(--terracotta-2);
}
.cta-qr__title {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 144;
  max-width: 14ch;
  margin: 14px 0 24px;
  color: var(--ink);
}
.cta-qr__title em { color: var(--terracotta-2); font-style: italic; }
.cta-qr__sub {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 24px);
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 32ch;
  line-height: 1.45;
}
.cta-qr__fallback {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--terracotta-2);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease-out);
}
.cta-qr__fallback:hover { color: var(--ink); }

.cta-qr__code {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 40px -12px rgba(28, 22, 18, 0.18);
}
.cta-qr__code img {
  display: block;
  width: clamp(220px, 22vw, 320px);
  height: auto;
  aspect-ratio: 1 / 1;
}
.cta-qr__caption {
  font-family: var(--ff-accent);
  font-style: italic;
  color: var(--mute);
  font-size: 14px;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .cta-qr {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .cta-qr__title { margin-inline: auto; }
  .cta-qr__sub { margin-inline: auto; }
  .cta-qr__code img { width: 240px; }
}
