/* ==========================================================================
   Senza — site.css
   Tokens first (three colors, Fraunces only), then base, layout, components.
   Brand kit: Work/social_media/visual-kit.md · plan §11
   ========================================================================== */

:root {
  /* Color: these three and nothing else. Photos bring the color. */
  --warm: #FFF8F1;   /* page background, text on dark */
  --cream: #F1E6D0;  /* cards, bands, placeholders */
  --cocoa: #3C3026;  /* text, buttons, rules */
  --cocoa-soft: rgb(60 48 38 / 0.72); /* secondary text (still cocoa) */
  --rule: rgb(60 48 38 / 0.22);       /* thin rules (still cocoa) */

  /* Type: Fraunces only */
  --font: "Fraunces", Georgia, "Times New Roman", serif;
  --soft: "SOFT" 50;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem);
  --lh-body: 1.55;
  --lh-tight: 1.04;

  /* Space + layout */
  --gutter: 1rem;
  --max: 72rem;
  --measure: 34rem;
  --section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --radius: 2px;
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --fs-body: 1.125rem; }
}
/* Phones: a little less air between sections (44px each side at 402px wide) */
@media (max-width: 47.99rem) {
  :root { --section: clamp(2.75rem, 1.5rem + 5vw, 4.5rem); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warm);
  color: var(--cocoa);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-variation-settings: var(--soft);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--cocoa); color: var(--warm); padding: 0.5rem 0.75rem; z-index: 100;
}
.skip:focus { left: 0.5rem; }

/* Small-caps label "as on the cup". Never all caps. */
.label {
  font-size: var(--fs-label);
  font-variant-caps: all-small-caps;
  font-feature-settings: "smcp", "c2sc";
  letter-spacing: 0.14em;
  line-height: 1.4;
  font-weight: 500;
}
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.5; max-width: var(--measure); }
.lede--wide { max-width: none; }
.muted { color: var(--cocoa-soft); }
.measure { max-width: var(--measure); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--rule); }
.band { background: var(--cream); }
.section.band + .section, .section + .section.band { border-top: 0; }
.stack > * + * { margin-top: 1.25rem; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
  .split--top { align-items: start; }
  .split--wide { grid-template-columns: 1.7fr 1fr; } /* long list beside a small plate */
}

/* ---------- Home hero ---------- */
/* Desktop: the photo scales with the window height (staying 4:5), and the hero fills the
   screen down to where only the top half of the next heading ("You'd never know it's there.")
   shows, a peek that invites the scroll. min-height = window − header − the fiber section's top
   padding − half a line of the h2. Very short windows (where the text alone is taller) just stack. */
@media (min-width: 52rem) {
  .hero {
    padding-top: clamp(3.5rem, 2rem + 3vw, 5rem); padding-bottom: clamp(3rem, 1.5rem + 2.5vw, 4rem);
  }
  .band--after-hero { padding-block: 2.5rem 3.5rem; }
}
/* Landscape screens only: a tall portrait tablet would just get a screen of empty cream */
@media (min-width: 52rem) and (orientation: landscape) {
  .hero { min-height: calc(100svh - 3.75rem - 1px - 2.5rem - var(--fs-h2) * 0.52); display: grid; align-content: center; }
  .hero .plate { width: min(100%, max(20rem, calc((100svh - 18rem) * 0.8))); justify-self: end; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--warm);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 1rem;
  min-height: 3.75rem;
}
.wordmark {
  font-size: 1.625rem; font-weight: 400; line-height: 1;
  text-decoration: none; letter-spacing: -0.01em;
  margin-right: auto;
  padding-bottom: 0.15em; /* optical: lowercase sits low */
}
.nav { display: none; gap: 1.75rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.menu-toggle {
  appearance: none; background: none; border: 0;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin-right: -0.625rem; /* 44px tap area, bars stay on the gutter */
  padding: 0; color: inherit; cursor: pointer;
}
/* Three thin cocoa bars; they cross into an X when the menu is open */
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 1.375rem; height: 1.5px; background: currentColor;
  transition: transform 0.2s, background-color 0.2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -0.4375rem; }
.menu-toggle__bars::after { top: 0.4375rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(0.4375rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-0.4375rem) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--rule); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.mobile-nav a { display: block; padding: 0.75rem 0; font-size: 1.375rem; text-decoration: none; }
@media (min-width: 48rem) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav, .mobile-nav[data-open="true"] { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 2.875rem; padding: 0.55rem 1.25rem;
  border: 1px solid var(--cocoa); border-radius: var(--radius);
  font: inherit; font-size: 1.0625rem; font-weight: 500;
  font-variant-caps: all-small-caps; letter-spacing: 0.12em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--cocoa); color: var(--warm); }
.btn--primary:hover { background: transparent; color: var(--cocoa); }
.btn--secondary { background: transparent; color: var(--cocoa); }
.btn--secondary:hover { background: var(--cocoa); color: var(--warm); }
.btn--sm { min-height: 2.25rem; padding: 0.3rem 0.875rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* Primary CTA: Reserve is the button; Keep me posted is a quiet text link under it */
.cta { display: grid; justify-items: start; gap: 0.75rem; }
.cta__note { margin: 0; font-size: var(--fs-small); color: var(--cocoa-soft); }
.cta__note a { color: var(--cocoa); }
/* Phones: Safari's "pretty" wrapping broke the note's first line early */
@media (max-width: 47.99rem) { .cta__note { text-wrap: wrap; } }
/* Closing bands: copy left, call to action right (stacks on phones) */
@media (min-width: 52rem) { .close .cta { justify-self: end; justify-items: start; } }
@media (max-width: 47.99rem) { /* phones: the button belongs to the pitch above it */
  .split.close { gap: 1.5rem; }
  .split.close > p { margin-bottom: 0; } /* Flavors: the pitch is a bare paragraph */
}
.offer-line { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.3; margin: 1rem 0; }
.offer-line__sub { display: block; font-size: var(--fs-body); margin-top: 0.25rem; }
.arrow-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.arrow-link:hover { border-bottom-width: 2px; }
/* Phones: 44px tap areas without moving anything (an invisible pad around the link) */
@media (max-width: 47.99rem) {
  .arrow-link, .wordmark, .site-header .btn--sm { position: relative; }
  .arrow-link::after, .wordmark::after, .site-header .btn--sm::after { content: ""; position: absolute; }
  .arrow-link::after { inset: -0.625rem -0.25rem; }
  .wordmark::after { inset: -0.4375rem -0.25rem; }
  .site-header .btn--sm::after { inset: -0.25rem 0; }
}

/* ---------- Plates (photos + labeled placeholders) ---------- */
/* Each image sits in a .plate__frame at its final ratio. If the file is
   missing, site.js adds .is-missing and the cream box shows its label. */
.plate { margin: 0; }
.plate__frame {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 5);
  background: var(--cream);
}
.plate__frame img { width: 100%; height: 100%; object-fit: cover; }
.plate__frame::before {
  content: attr(data-shot);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
  font-size: var(--fs-label); letter-spacing: 0.14em; font-weight: 500;
  font-variant-caps: all-small-caps;
  color: var(--cocoa-soft);
  border: 1px dashed var(--rule);
}
.plate__frame:not(.is-missing)::before { display: none; }
.band .plate__frame { background: var(--warm); } /* placeholders stay visible on cream bands */
.plate__frame.is-missing img { visibility: hidden; }
.plate figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.6rem;
}
.plate--3x2 { --ratio: 3 / 2; }
.plate--1x1 { --ratio: 1 / 1; }
@media (max-width: 47.99rem) { .plate--1x1-sm { --ratio: 1 / 1; } } /* phones: a shorter crop */

/* ---------- Unconfirmed values ---------- */
/* Anything not yet confirmed from Notion / sources. Must be gone before launch. */
.verify {
  outline: 1.5px dotted var(--cocoa);
  outline-offset: 2px;
  background: var(--cream);
  padding: 0 0.2em;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 3rem 2.5rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-ig { white-space: nowrap; }
.footer-ig svg {
  /* Centered on the "@", stroke matched to the text weight */
  width: 0.81em; height: 0.81em; margin-right: 0.4em; vertical-align: -0.15em;
  fill: none; stroke: currentColor; stroke-width: 2;
}
.footer-ig svg .dot { fill: currentColor; stroke: none; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
/* Phones: 44px tap areas; the negative margin keeps the links where they were */
@media (max-width: 47.99rem) {
  .footer-nav ul { row-gap: 0; margin-block: -0.75rem; }
  .footer-nav a { display: inline-block; padding-block: 0.75rem; }
}
@media (min-width: 48rem) {
  .site-footer .wrap { grid-template-columns: auto 1fr; align-items: baseline; }
  .footer-nav ul { justify-content: flex-end; }
  .footer-meta { grid-column: 1 / -1; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.section-head p { max-width: var(--measure); }
.section-head .wide { max-width: none; }
.link-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2.5rem; }
/* Phones: a lone small label ("From the kitchen") sits close to what it names */
@media (max-width: 47.99rem) {
  .section-head:has(> .label:only-child) { margin-bottom: 1.25rem; }
  .link-row { row-gap: 1.25rem; } /* stacked arrow links: tap pads meet, never overlap */
}

/* ---------- Flavor cards ---------- */
.flavors { display: grid; gap: 3.5rem; }
@media (min-width: 48rem) { .flavors { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.flavor { display: grid; gap: 1.25rem; align-content: start; }
.flavor h3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); line-height: 1.1; }
.flavor h3 a { text-decoration: none; }
.flavor h3 a:hover, .flavor__photo:hover + h3 a { text-decoration: underline; }
.flavor__photo { display: block; }
.flavor[id] { scroll-margin-top: 5rem; } /* clears the sticky header when linked from Home */
.flavor__desc { font-style: italic; margin: 0; }
.notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.notes li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.notes--beats li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.scales { display: grid; gap: 0.5rem; }
.scale { display: grid; grid-template-columns: 7.5rem auto 1fr; gap: 1rem; align-items: center; }
.dots { display: inline-flex; gap: 0.3rem; }
.dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 1px solid var(--cocoa); }
.dots i.on { background: var(--cocoa); }
.ingredient-line { font-size: var(--fs-small); color: var(--cocoa-soft); margin: 0; }
/* "What it brings": the functional note under a flavor's description */
.brings { margin: 0; display: grid; gap: 0.2rem; }
.brings--long { gap: 0.5rem; padding: 1.25rem; background: var(--cream); }
.brings--long p { margin: 0; }

/* Ingredient plates (Home). Two layouts; the class on .collage picks one. */
.collage { display: grid; margin-top: 4rem; }
@media (max-width: 47.99rem) { .collage { margin-top: 3rem; } }

/* collage--grid: six equal 4:5 plates, the middle column dropped a little (two columns on phones) */
.collage--grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-bottom: 3rem; }
.collage--grid .plate:nth-child(3n + 2) { transform: translateY(3rem); }
@media (max-width: 47.99rem) {
  .collage--grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding-bottom: 2rem; }
  .collage--grid .plate:nth-child(3n + 2) { transform: none; }
  .collage--grid .plate:nth-child(even) { transform: translateY(2rem); }
}

/* collage--bento: rice large, four squares beside it, basil tall at the end.
   Squares and the large plate share one grid, so every edge lines up. */
.collage--bento { gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.collage--bento .plate { --ratio: 1 / 1; }
.collage--bento .collage__rice { grid-column: 1 / -1; order: -1; --ratio: 4 / 5; }
.collage--bento .collage__basil { grid-column: 1 / -1; order: 1; --ratio: 3 / 2; }
@media (min-width: 48rem) {
  .collage--bento { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .collage--bento .collage__rice { grid-column: 1 / 3; grid-row: 1 / 3; --ratio: 1 / 1; }
  .collage--bento .collage__kabocha { grid-column: 3; grid-row: 1; }
  .collage--bento .collage__coffee { grid-column: 4; grid-row: 1; }
  .collage--bento .collage__sesame { grid-column: 3; grid-row: 2; }
  .collage--bento .collage__honey { grid-column: 4; grid-row: 2; }
  /* Tall plate: as high as two squares plus the gap, so it takes its height from the grid */
  .collage--bento .collage__basil { grid-column: 5; grid-row: 1 / 3; }
  .collage--bento .collage__basil .plate__frame { aspect-ratio: auto; height: 100%; }
  .collage--bento .collage__basil img { position: absolute; inset: 0; }
}
/* Phones: narrower label column (widest label is ~82px) so short notes stay on one line */
@media (max-width: 47.99rem) {
  .notes--beats li { grid-template-columns: 5.5rem 1fr; gap: 0.75rem; }
  .scale { grid-template-columns: 5.5rem auto 1fr; gap: 0.75rem; }
}
/* Phones: keep a short phrase together, e.g. "($14 per pint)" */
@media (max-width: 47.99rem) { .nowrap-sm { white-space: nowrap; } }
@media (min-width: 48rem) { .nowrap-md { white-space: nowrap; } }

/* ---------- Quotes ---------- */
.quote { margin: 0; }
.quote p { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); line-height: 1.3; margin-bottom: 0.6rem; text-wrap: balance; }
.quote footer { color: var(--cocoa-soft); }
.quote--sm p { font-size: 1.125rem; font-style: italic; }
.quotes { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
/* More air between a photo and the quote under it (Reserve, shot 6) */
.stack > .plate + .quote { margin-top: 2rem; }

/* Quote conveyor (Home, Freezer notes): one narrow row drifting left, edge to edge.
   The track holds two identical groups and moves by exactly one, so the loop is seamless.
   Keeps moving on hover (Luca, 2026-10-20); with reduced motion it stops and scrolls by hand. */
.section:has(.marquee) { overflow-x: clip; }
/* Desktop: a single row of quotes needs less air than a full section, on both sides of each rule */
@media (min-width: 48rem) {
  .section:has(.marquee) { padding-block: calc(var(--section) * 0.6); }
  .section:has(+ .section .marquee) { padding-bottom: calc(var(--section) * 0.6); }
  .section:has(.marquee) + .section { padding-top: calc(var(--section) * 0.6); }
}
.marquee {
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee__group { display: flex; align-items: flex-start; gap: 4rem; padding-right: 4rem; }
.marquee .quote { flex: 0 0 auto; max-width: 22rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 47.99rem) {
  .marquee__track { animation-duration: 55s; }
  .marquee__group { gap: 2.5rem; padding-right: 2.5rem; }
  .marquee .quote { max-width: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ---------- Stat strip ---------- */
.stats { display: grid; gap: 1.5rem; border-block: 1px solid var(--rule); padding-block: 1.75rem; margin-block: 2rem; }
@media (min-width: 40rem) { .stats { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media (min-width: 48rem) { .stats--3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
/* Phones: three stats stack tighter so the strip stays short */
@media (max-width: 39.99rem) { .stats--3 { gap: 1.25rem; } }
.stat__num { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; margin-bottom: 0.4rem; }

/* ---------- Offer table ---------- */
.offer { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-variant-numeric: lining-nums tabular-nums; }
.offer th, .offer td { text-align: left; padding: 0.85rem 0.5rem 0.85rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.offer thead th { border-bottom-color: var(--cocoa); }
.offer td:last-child, .offer th:last-child { text-align: right; padding-right: 0; }
.offer thead th { line-height: 1.25; }
.offer tbody th { font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.offer__sub { display: block; margin-top: 0.25rem; font-size: var(--fs-small); color: var(--cocoa-soft); }
/* Phones: stack the price row so the headers don't wrap; each price carries its own label.
   Nutrition tables stay tables: their columns are the comparison. */
@media (max-width: 29.99rem) {
  .offer:not(.nutrition), .offer:not(.nutrition) :is(tbody, tr, th, td) { display: block; }
  .offer:not(.nutrition) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .offer:not(.nutrition) tbody { border-top: 1px solid var(--cocoa); }
  .offer:not(.nutrition) tbody th { border-bottom: 0; padding-bottom: 0.25rem; }
  .offer:not(.nutrition) td, .offer:not(.nutrition) td:last-child { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; text-align: right; padding: 0.6rem 0; }
  .offer:not(.nutrition) td:not(:last-child) { border-bottom: 0; }
  .offer:not(.nutrition) td::before {
    content: attr(data-label); text-align: left;
    font-size: var(--fs-label); font-variant-caps: all-small-caps; font-feature-settings: "smcp", "c2sc";
    letter-spacing: 0.14em; line-height: 1.4; font-weight: 500;
  }
}
.fine { font-size: var(--fs-small); color: var(--cocoa-soft); }
.small-list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.5rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; }
.steps li::before {
  content: counter(step);
  font-size: 1.5rem; line-height: 1.1;
  font-variant-numeric: lining-nums;
}
.steps strong { font-weight: 600; }
/* Phones: numbers sit on the text's first baseline, a touch closer to it */
@media (max-width: 47.99rem) {
  .steps li { align-items: baseline; grid-template-columns: 2rem 1fr; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.25rem; max-width: var(--measure); }

/* ---------- Embedded forms ---------- */
.form-slot {
  min-height: 40rem;
  background: var(--cream);
  border: 1px dashed var(--rule);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.form-slot iframe { width: 100%; min-height: 40rem; border: 0; }
.form-slot.has-form, .form-slot--short.has-form { background: none; border: 0; padding: 0; display: block; min-height: 0; }
.form-slot--short, .form-slot--short iframe { min-height: 32rem; }
.form-slot.has-form iframe { min-height: 0; height: 40rem; } /* Tally's script resizes it to the form */
/* A form right under a short intro (Contact) doesn't need a full section break */
.section:has(+ .section--form-tight) { padding-bottom: 2.5rem; }
.section.section--form-tight { padding-top: 0; border-top: 0; }
@media (max-width: 47.99rem) { .section:has(+ .section--form-tight) { padding-bottom: 2rem; } }
/* A form right under the page intro, same section (Host); phones match Contact's gap */
.form-slot--after-intro { margin-top: 2.5rem; }
@media (max-width: 47.99rem) { .form-slot--after-intro { margin-top: 2rem; } }

/* ---------- Ingredient list ---------- */
.ings { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.split > .ings { margin-top: 0; } /* top rule lines up with the plate */
.ing { display: grid; gap: 0.35rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 48rem) { .ing { grid-template-columns: minmax(14rem, 1fr) 2fr; } }
.ing__name { font-size: 1.1875rem; line-height: 1.3; }
.ing__from { margin: 0.15rem 0 0; font-size: var(--fs-small); }
.ing__why { margin: 0; max-width: 40rem; }
.nutrition { margin-top: 0; }
.nutrition td, .nutrition thead th:not(:first-child) { text-align: right; }
/* A single skeptic's question answered in place (Ingredients: "Will I taste the fiber?") */
.qa { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.stack > .qa { margin-top: 2rem; }
.qa__q { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: 0; margin-bottom: 0.5rem; }
.reading { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; font-size: var(--fs-small); }

/* ---------- Instagram tiles ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; }
@media (min-width: 48rem) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 0.5rem; } }
.ig-tile { display: block; }
.ig-tile .plate__frame::before { padding: 0.5rem; font-size: 0.6875rem; }
.ig-tile:hover img { opacity: 0.9; }

/* ---------- About ---------- */
.about-intro { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.15; max-width: 48rem; }
.about-intro__next { display: block; margin-top: 0.75em; }
.facts { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.facts p { margin: 0; }
/* The short version: the six launch posts as tappable tiles, each opening its answer */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 48rem) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.tile {
  appearance: none; display: block; width: 100%; padding: 0; border: 0; background: var(--cream);
  cursor: pointer; border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s;
}
.tile img { width: 100%; height: auto; }
.tile:hover { transform: translateY(-3px); }
.tile-dialog {
  width: min(36rem, calc(100% - 2 * var(--gutter))); max-height: calc(100dvh - 4rem);
  padding: 2rem 1.75rem 2.25rem; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--warm); color: var(--cocoa);
}
.tile-dialog::backdrop { background: rgb(60 48 38 / 0.45); }
.tile-dialog h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); margin: 0.5rem 2rem 1.25rem 0; }
.tile-dialog .quote + .quote { margin-top: 1.25rem; }
.tile-dialog__close {
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  appearance: none; background: none; border: 0; padding: 0;
  font: inherit; font-size: 1.75rem; line-height: 1; color: inherit; cursor: pointer;
}
@media (max-width: 47.99rem) { /* phones: a sheet from the bottom edge */
  .tile-dialog { width: 100%; max-width: none; margin: auto 0 0; max-height: 88dvh; padding: 1.75rem var(--gutter) 2rem; border-width: 1px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .tile, .tile:hover { transition: none; transform: none; } }
.pov { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.35; max-width: 46rem; margin: 0 auto; text-wrap: pretty; }

/* ---------- Founding round open / full (CONFIG.roundStatus) ---------- */
[data-round="full"] .round-open { display: none !important; }
:root:not([data-round="full"]) .round-full { display: none !important; }

/* ---------- Page stubs (removed as pages are built) ---------- */
.stub { min-height: 50vh; }
/* Shrinks with its column so the longest name (Black Sesame & Salted Honey) stays on one line */
.flavor:has(> .flavor__name) { container-type: inline-size; }
.flavor__name { font-size: min(clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem), 7.1cqi); }
[data-round="full"] #form { padding-top: 0; border-top: 0; }
[data-round="full"] #form .section-head { display: none; }

/* ---------- Reserve: a tighter rhythm (Luca, 2026-11-02) ---------- */
/* Less air between sections, tighter perks, shorter FAQ rows. The form stays full width so the Tally badge sits off to the side */
.page--compact { --section: clamp(2.25rem, 1rem + 4.5vw, 5.5rem); }
.page--compact .section-head { margin-bottom: 1.5rem; }
.page--compact .faq summary { padding-block: 0.75rem; }
.perks { gap: 0.3rem; }
/* "founding member." stays on one line; between tablet and laptop the headline shrinks to fit its column instead of squeezing the photo */
@media (min-width: 52rem) { .h1-fit { font-size: min(var(--fs-h1), calc(6.8vw - 0.55rem)); } }
