/* ==========================================================================
   FigsJam.com — design system
   Tokens first, then base, layout, components, pages, print.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Young Serif";
  src: url("/assets/fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Light: warm paper, charcoal ink, fig plum as the working accent. */
  --paper:    #FBF8F2;
  --paper-2:  #F3EDE3;
  --paper-3:  #E9E1D4;
  --ink:      #2A2326;
  --ink-2:    #5C5157;
  --ink-3:    #6A5E64;
  --line:     #DFD6C9;
  --line-2:   #CFC4B5;

  --fig:      #4B2144;   /* deep fig / plum */
  --fig-2:    #6A3160;   /* hover */
  --fig-soft: #F0E4EC;   /* tint */
  --fig-red:  #A8415F;   /* flesh */
  --leaf:     #566B3B;
  --leaf-soft:#E8ECDD;
  --honey:    #8A6520;
  --honey-soft:#F6EBD3;

  --accent:   var(--fig);
  --accent-2: var(--fig-2);
  --on-accent: #FBF8F2;
  --focus:    var(--fig-red);

  /* Placeholder tones (photo-shaped fields, subject-derived) */
  --ph-dark-fig-a: #4E2446; --ph-dark-fig-b: #7A3457;
  --ph-green-fig-a: #9DAA66; --ph-green-fig-b: #C9C98A;
  --ph-jam-a: #7A2E45; --ph-jam-b: #B2455D;
  --ph-jar-white-a: #D9A55C; --ph-jar-white-b: #E9C98F;
  --ph-jar-dark-a: #3E1B3A; --ph-jar-dark-b: #6E2F55;
  --ph-jar-mixed-a: #8E3B55; --ph-jar-mixed-b: #C27A6B;
  --ph-leaf-a: #4F6739; --ph-leaf-b: #8AA062;
  --ph-tree-a: #5F7247; --ph-tree-b: #A5B27E;
  --ph-kitchen-a: #9A6B47; --ph-kitchen-b: #C9A07C;
  --ph-cheese-a: #D8B677; --ph-cheese-b: #EFDCB1;
  --ph-dessert-a: #A85C5A; --ph-dessert-b: #D9A09A;
  --ph-toast-a: #B07A46; --ph-toast-b: #DDB482;
  --ph-ink: rgba(255,255,255,.82);

  /* Type */
  --font-display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --fs-0: 0.8125rem;
  --fs-1: 0.9375rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.25rem;
  --fs-4: 1.5rem;
  --fs-5: clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
  --fs-6: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
  --fs-7: clamp(2.75rem, 1.5rem + 5vw, 5.25rem);
  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.6;

  /* Space & layout */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 80rem;
  --measure: 66ch;
  --radius: 2px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: 140ms;
  --t-med: 240ms;
  --shadow-menu: 0 18px 40px -20px rgba(42,35,38,.35);

  color-scheme: light;
}

/* Dark: deep plum-charcoal ground, warm ivory ink; accent moves to a
   lighter fig-pink so links stay legible. Not an inversion. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:    #1B1519;
  --paper-2:  #241C22;
  --paper-3:  #2F252C;
  --ink:      #EFE6DB;
  --ink-2:    #C3B5BB;
  --ink-3:    #8F8288;
  --line:     #3A2F36;
  --line-2:   #4A3D45;
  --fig:      #D58FAB;
  --fig-2:    #E4A9C0;
  --fig-soft: #2E2029;
  --fig-red:  #DE6E8C;
  --leaf:     #A5BA8A;
  --leaf-soft:#232A1D;
  --honey:    #DBA85A;
  --honey-soft:#2E2618;
  --accent:   var(--fig);
  --accent-2: var(--fig-2);
  --on-accent: #1B1519;
  --focus:    #F0A0B8;
  --shadow-menu: 0 18px 40px -16px rgba(0,0,0,.7);
  --ph-ink: rgba(255,255,255,.78);
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --paper:    #1B1519;
    --paper-2:  #241C22;
    --paper-3:  #2F252C;
    --ink:      #EFE6DB;
    --ink-2:    #C3B5BB;
    --ink-3:    #8F8288;
    --line:     #3A2F36;
    --line-2:   #4A3D45;
    --fig:      #D58FAB;
    --fig-2:    #E4A9C0;
    --fig-soft: #2E2029;
    --fig-red:  #DE6E8C;
    --leaf:     #A5BA8A;
    --leaf-soft:#232A1D;
    --honey:    #DBA85A;
    --honey-soft:#2E2618;
    --accent:   var(--fig);
    --accent-2: var(--fig-2);
    --on-accent: #1B1519;
    --focus:    #F0A0B8;
    --shadow-menu: 0 18px 40px -16px rgba(0,0,0,.7);
    --ph-ink: rgba(255,255,255,.78);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-2);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 47.99em) { body { font-size: 1rem; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: var(--lh-snug); text-wrap: balance; }
h1, h2, .display { font-family: var(--font-display); letter-spacing: -0.01em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-3); }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: .16em; text-decoration-thickness: 1px; transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease); }
a:hover { color: var(--accent-2); text-decoration-color: currentColor; }
ul, ol { margin: 0; padding: 0; }
ul.plain, .index, .vlist, .jlist, .ings, .site-footer__links, .site-footer__legal, .site-footer__social, .nav__list, .mega__links, .mobile-nav__list, .mobile-nav__sub, .crumbs__list, .notes, .steps { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--fig-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -100%; z-index: 100; padding: var(--s-2) var(--s-4); background: var(--ink); color: var(--paper); border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: var(--s-4); }
.is-muted { color: var(--ink-3); }
.sep::before { content: "·"; margin: 0 .45em; color: var(--ink-3); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--s-8); border-top: 1px solid var(--line); }
@media (min-width: 64em) { .section { padding-block: var(--s-9); } }
main { display: block; }
main:focus { outline: none; }

/* Section head: title left, deck/link right on wide screens */
.sec-head { display: grid; gap: var(--s-3); align-items: end; margin-bottom: var(--s-6); }
.sec-head__title { font-size: var(--fs-5); }
.sec-head__deck { color: var(--ink-2); max-width: 44ch; margin: 0; }
.sec-head__link { display: inline-block; margin-top: var(--s-2); font-weight: 500; }
@media (min-width: 48em) {
  .sec-head { grid-template-columns: 1fr minmax(0, 28rem); gap: var(--s-6); }
  .sec-head__aside { text-align: left; }
}

/* Page head */
.page-head { padding-block: var(--s-6) var(--s-7); }
.page-head__title { font-size: var(--fs-6); margin-bottom: var(--s-4); }
.page-head__deck { font-size: var(--fs-3); color: var(--ink-2); max-width: var(--measure); margin: 0; }
@media (min-width: 64em) { .page-head { padding-block: var(--s-7) var(--s-8); } }

/* ---------- Buttons, chips, inputs ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.15em; border: 1px solid transparent; border-radius: var(--radius); font-weight: 500; font-size: var(--fs-1); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-2); color: var(--on-accent); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.link-more { font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-2); }
.chip { display: inline-block; padding: .4em .9em; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: transparent; color: var(--ink-2); font-size: var(--fs-1); text-decoration: none; cursor: pointer; transition: all var(--t-fast) var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.input { width: 100%; padding: .7em .9em; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; transition: border-color var(--t-fast) var(--ease); }
.input:focus { border-color: var(--ink); outline: 2px solid var(--focus); outline-offset: 2px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5em; }
textarea.input { resize: vertical; min-height: 8rem; }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); text-decoration: none; }
.brand__mark { width: 1.75rem; height: 1.75rem; color: var(--fig-red); }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; }
.site-header__tools { display: flex; align-items: center; gap: var(--s-2); }

.theme-toggle { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid transparent; border-radius: var(--radius-pill); background: transparent; cursor: pointer; color: var(--ink-2); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.theme-toggle:hover { color: var(--ink); border-color: var(--line-2); }
.theme-toggle__icon { width: 1.25rem; height: 1.25rem; }

.menu-button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: transparent; cursor: pointer; font-size: var(--fs-1); font-weight: 500; }
.menu-button svg { width: 1.2rem; height: 1.2rem; }
.menu-button__close { display: none; }
.menu-button[aria-expanded="true"] .menu-button__open { display: none; }
.menu-button[aria-expanded="true"] .menu-button__close { display: block; }

.nav { display: none; }
@media (min-width: 64em) {
  .menu-button { display: none; }
  .nav { display: block; }
  .nav__list { display: flex; gap: var(--s-1); }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__link { display: inline-block; padding: .45rem .7rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--fs-1); border-radius: var(--radius); transition: color var(--t-fast) var(--ease); }
  .nav__link:hover, .nav__link.is-active { color: var(--accent); }
  .nav__link.is-active { text-decoration: underline; text-underline-offset: .5em; text-decoration-color: var(--fig-red); text-decoration-thickness: 2px; }
  .nav__disclosure { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: -.35rem; border: 0; background: transparent; color: var(--ink-3); border-radius: var(--radius-pill); cursor: pointer; }
  .nav__disclosure svg { width: 1rem; height: 1rem; transition: transform var(--t-med) var(--ease); }
  .nav__disclosure:hover { color: var(--ink); }
  .nav__disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mega { position: fixed; left: 0; right: 0; top: 3.75rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-menu); }
  .mega[hidden] { display: none; }
  .mega__inner { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: var(--s-7); padding-block: var(--s-6) var(--s-7); }
  .mega__lead { font-family: var(--font-display); font-size: var(--fs-3); line-height: 1.35; color: var(--ink); max-width: 26ch; }
  .mega__all { font-weight: 500; }
  .mega__title { font-size: var(--fs-0); font-weight: 600; color: var(--ink-3); margin-bottom: var(--s-3); }
  .mega__links li { padding: .2rem 0; }
  .mega__links a { color: var(--ink); text-decoration: none; }
  .mega__links a:hover { color: var(--accent); text-decoration: underline; }
}

/* Mobile navigation panel */
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100dvh - 3.75rem); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { padding-block: var(--s-3); }
.mobile-nav__item + .mobile-nav__item { border-top: 1px solid var(--line); }
.mobile-nav__row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__link { flex: 1; display: block; padding: .85rem 0; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: var(--fs-4); }
.mobile-nav__link--minor { font-family: var(--font-body); font-size: var(--fs-2); font-weight: 500; padding-block: .7rem; }
.mobile-nav__more { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: transparent; cursor: pointer; color: var(--ink-2); }
.mobile-nav__more svg { width: 1.2rem; height: 1.2rem; transition: transform var(--t-med) var(--ease); }
.mobile-nav__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__panel { padding: 0 0 var(--s-4); }
.mobile-nav__panel[hidden] { display: none; }
.mobile-nav__group { font-size: var(--fs-0); font-weight: 600; color: var(--ink-3); margin: var(--s-3) 0 var(--s-1); }
.mobile-nav__sub a { display: block; padding: .45rem 0; color: var(--ink); text-decoration: none; }
.mobile-nav__theme { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0 var(--s-6); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-1); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius-pill); overflow: hidden; }
.seg button { padding: .4rem .8rem; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; font-size: var(--fs-1); }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (min-width: 64em) { .mobile-nav { display: none !important; } }
body.nav-open { overflow: hidden; }
@media (min-width: 64em) { body.nav-open { overflow: auto; } }

/* Breadcrumbs */
.crumbs { padding-top: var(--s-4); font-size: var(--fs-0); color: var(--ink-3); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs__item + .crumbs__item::before { content: "/"; margin-right: .5rem; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Media & placeholders ---------- */
.media { width: 100%; object-fit: cover; background: var(--paper-2); }
.ph { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; color: var(--ph-ink); background: radial-gradient(120% 90% at 30% 20%, var(--b) 0%, var(--a) 70%); }
.ph__mark { width: clamp(2rem, 18%, 3.5rem); height: auto; opacity: .55; }
.ph__note { position: absolute; left: .75rem; bottom: .6rem; font-size: var(--fs-0); line-height: 1.3; opacity: .85; max-width: calc(100% - 1.5rem); }
.ph--dark-fig  { --a: var(--ph-dark-fig-a);  --b: var(--ph-dark-fig-b); }
.ph--green-fig { --a: var(--ph-green-fig-a); --b: var(--ph-green-fig-b); }
.ph--jam       { --a: var(--ph-jam-a);       --b: var(--ph-jam-b); }
.ph--jar-white { --a: var(--ph-jar-white-a); --b: var(--ph-jar-white-b); }
.ph--jar-dark  { --a: var(--ph-jar-dark-a);  --b: var(--ph-jar-dark-b); }
.ph--jar-mixed { --a: var(--ph-jar-mixed-a); --b: var(--ph-jar-mixed-b); }
.ph--leaf      { --a: var(--ph-leaf-a);      --b: var(--ph-leaf-b); }
.ph--tree      { --a: var(--ph-tree-a);      --b: var(--ph-tree-b); }
.ph--kitchen   { --a: var(--ph-kitchen-a);   --b: var(--ph-kitchen-b); }
.ph--cheese    { --a: var(--ph-cheese-a);    --b: var(--ph-cheese-b); --ph-ink: rgba(42,35,38,.75); }
.ph--dessert   { --a: var(--ph-dessert-a);   --b: var(--ph-dessert-b); }
.ph--toast     { --a: var(--ph-toast-a);     --b: var(--ph-toast-b); }
.ph--jar-white { --ph-ink: rgba(42,35,38,.75); }
.ph--green-fig { --ph-ink: rgba(42,35,38,.7); }
figcaption { font-size: var(--fs-0); color: var(--ink-3); margin-top: var(--s-2); }
/* Single-column phones: card images go landscape so lists stay scannable. */
@media (max-width: 39.99em) {
  .rcard__media .media, .pcard__media .media, .acard__media .media { aspect-ratio: 3 / 2 !important; }
}

/* ---------- Living media ---------- */
/* Living photo: still image with a silent video loop layered on top. */
.living { position: relative; display: block; overflow: hidden; }
.living .media { position: relative; z-index: 0; }
.living__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); pointer-events: none; }
.living.is-playing .living__video { opacity: 1; }
.living__toggle { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; padding: .5rem .85rem; border: 1px solid rgba(255,255,255,.5); border-radius: 2rem; background: rgba(27,21,25,.78); color: #fff; font: inherit; font-size: .8125rem; cursor: pointer; }
.living__toggle[hidden] { display: none; }
.living__toggle:hover { background: rgba(27,21,25,.95); }
.living__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Slow drift on the hero still (Ken Burns), only when no loop is playing. */
@keyframes drift { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.06) translate3d(-1.2%, 1.5%, 0); } }
.drift { overflow: hidden; }
.drift .media { transform-origin: 60% 40%; animation: drift 28s var(--ease) both alternate infinite; will-change: transform; }
.drift:has(.living.is-playing) .media { animation: none; }

/* Tilt: pointer-driven 3D lean with a moving glare. Hover devices only. */
.tilt { position: relative; display: block; transform-style: preserve-3d; transition: transform 320ms var(--ease); will-change: transform; }
.tilt__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), rgba(255,255,255,0) 55%); transition: opacity 320ms var(--ease); mix-blend-mode: screen; }
.tilt.is-tilting { transition: transform 80ms linear; }
.tilt.is-tilting .tilt__glare { opacity: 1; }
.pcard__media.tilt:hover .media { transform: none; }

/* 3D viewer on product pages */
.viewer { position: relative; perspective: 1200px; }
.viewer__stage { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(120% 80% at 50% 30%, var(--paper-2), var(--paper-3)); }
.viewer__stage[hidden] { display: none; }
.viewer__stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.viewer__ar { position: absolute; right: var(--s-3); bottom: var(--s-3); }
.viewer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-3); }
.viewer__hint { font-size: var(--fs-0); color: var(--ink-3); max-width: 44ch; }
.viewer__hint[hidden] { display: none; }
.viewer.is-3d .viewer__still { display: none; }

@media (prefers-reduced-motion: reduce) {
  .drift .media { animation: none; }
  .tilt, .tilt.is-tilting { transform: none !important; transition: none; }
  .tilt__glare { display: none; }
}

/* Feature clip: tall 9:16 living video beside text */
.feat { display: grid; gap: var(--s-6); padding-block: var(--s-4) var(--s-8); }
.feat__media { margin: 0; }
.feat__frame { display: block; width: min(100%, 24rem); margin-inline: auto; background: var(--paper-2); }
.feat__caption { text-align: center; }
.feat__title { font-size: var(--fs-5); margin-bottom: var(--s-4); }
.feat__lead { color: var(--ink-2); max-width: 44ch; margin-bottom: var(--s-5); }
@media (min-width: 64em) {
  .feat { grid-template-columns: 5fr 6fr; gap: var(--s-9); align-items: center; padding-block: var(--s-6) var(--s-9); }
  .feat__frame { margin-inline: 0 auto; width: min(100%, 26rem); }
}

/* ---------- Home: hero ---------- */
.hero { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-7); }
.hero__title { font-size: var(--fs-7); line-height: var(--lh-tight); margin-bottom: var(--s-5); }
.hero__deck { font-size: var(--fs-3); color: var(--ink-2); max-width: 40ch; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__media { margin: 0; }
.hero__caption { font-size: var(--fs-0); color: var(--ink-3); }
@media (min-width: 64em) {
  .hero { grid-template-columns: 6fr 6fr; align-items: end; gap: var(--s-8); padding-block: var(--s-8) var(--s-9); }
  .hero__text { padding-bottom: var(--s-8); }
  .hero__media { margin-left: auto; width: min(100%, 34rem); }
}

/* Season strip */
.season { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); align-items: baseline; padding: var(--s-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--fs-1); }
.season__text { margin: 0; color: var(--ink-2); }
.season__dot { display: inline-block; width: .55em; height: .55em; margin-right: .5em; border-radius: 50%; background: var(--leaf); vertical-align: baseline; }
.season__link { font-weight: 500; }

/* Explore: image + editorial index */
.explore { padding-block: var(--s-8); }
.explore__grid { display: grid; gap: var(--s-6); }
.explore__media { margin: 0; }
.index__item { border-top: 1px solid var(--line); }
.index__item:last-child { border-bottom: 1px solid var(--line); }
.index__link { display: grid; gap: .15rem; padding: var(--s-4) 0; color: var(--ink); text-decoration: none; transition: padding-left var(--t-med) var(--ease); }
a.index__link:hover { padding-left: var(--s-2); }
a.index__link:hover .index__title { color: var(--accent); }
.index__title { font-family: var(--font-display); font-size: var(--fs-3); transition: color var(--t-fast) var(--ease); }
.index__desc { color: var(--ink-2); font-size: var(--fs-1); max-width: 60ch; }
.index__flag { font-size: var(--fs-0); color: var(--ink-3); }
.index--numbered { counter-reset: idx; }
.index--numbered .index__link { grid-template-columns: 2.5rem 1fr; grid-template-areas: "n t" "n d" "n f"; column-gap: var(--s-3); }
.index--numbered .index__link::before { counter-increment: idx; content: counter(idx); grid-area: n; font-family: var(--font-display); font-size: var(--fs-3); color: var(--ink-3); line-height: 1.35; }
.index--numbered .index__title { grid-area: t; }
.index--numbered .index__desc { grid-area: d; }
.index--numbered .index__flag { grid-area: f; }
.is-planned .index__title { color: var(--ink-2); }
@media (min-width: 64em) {
  .explore { padding-block: var(--s-9); }
  .explore__grid { grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; }
}

/* Process: nine steps */
.process { padding-block: var(--s-8); background: var(--paper-2); border-top: 1px solid var(--line); }
.steps-scroll { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.steps-scroll:focus-visible { outline-offset: -2px; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13.5rem, 1fr); gap: var(--s-4); padding-inline: var(--gutter); width: max-content; min-width: 100%; }
.step { scroll-snap-align: start; padding: var(--s-4) 0 var(--s-2); border-top: 2px solid var(--line-2); }
.step__n { display: block; font-family: var(--font-display); font-size: var(--fs-5); color: var(--fig-red); line-height: 1; margin-bottom: var(--s-3); }
.step__name { font-size: var(--fs-3); margin-bottom: var(--s-1); }
.step__desc { color: var(--ink-2); font-size: var(--fs-1); }
@media (min-width: 64em) {
  .process { padding-block: var(--s-9); }
  .steps-scroll { overflow: visible; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(9, 1fr); gap: var(--s-4); width: min(100% - 2 * var(--gutter), var(--wrap)); min-width: 0; margin-inline: auto; padding-inline: 0; }
  .step__desc { font-size: var(--fs-0); }
}
@media (min-width: 48em) and (max-width: 63.99em) {
  .steps-scroll { overflow: visible; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); width: min(100% - 2 * var(--gutter), var(--wrap)); min-width: 0; margin-inline: auto; padding-inline: 0; }
}

/* Jams / products */
.jams { padding-block: var(--s-8); border-top: 1px solid var(--line); }
.jams__grid { display: grid; gap: var(--s-6) var(--s-5); }
.jams__note { margin-top: var(--s-6); color: var(--ink-3); font-size: var(--fs-1); max-width: 60ch; }
@media (min-width: 40em) { .jams__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48em) { .jams__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64em) { .jams { padding-block: var(--s-9); } .jams__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } .jams__grid--shop { grid-template-columns: repeat(4, 1fr); } }
.pcard__media { display: block; margin-bottom: var(--s-3); overflow: hidden; }
.pcard__media .media { transition: transform var(--t-med) var(--ease); }
.pcard:hover .pcard__media .media { transform: scale(1.02); }
.pcard__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-4); margin-bottom: var(--s-1); }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--accent); }
.pcard__summary { color: var(--ink-2); font-size: var(--fs-1); margin-bottom: var(--s-2); }
.pcard__avail { font-size: var(--fs-0); color: var(--honey); font-weight: 600; }

/* Recipe cards */
.recipes-home { padding-block: var(--s-8); border-top: 1px solid var(--line); }
.rgrid { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 40em) { .rgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .recipes-home { padding-block: var(--s-9); } .rgrid { grid-template-columns: repeat(4, 1fr); gap: var(--s-6) var(--s-5); } }
.rcard__media { display: block; margin-bottom: var(--s-3); overflow: hidden; }
.rcard__media .media { transition: transform var(--t-med) var(--ease); }
.rcard:hover .rcard__media .media { transform: scale(1.02); }
.rcard__cat { font-size: var(--fs-0); color: var(--leaf); font-weight: 600; margin-bottom: var(--s-1); }
.rcard__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-3); margin-bottom: var(--s-2); }
.rcard__title a { color: var(--ink); text-decoration: none; }
.rcard__title a:hover { color: var(--accent); }
.rcard__summary { font-size: var(--fs-1); color: var(--ink-2); margin-bottom: var(--s-3); }
.meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0; font-size: var(--fs-0); }
.meta div { display: flex; gap: .35em; }
.meta dt { color: var(--ink-3); }
.meta dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Article cards */
.agrid { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 40em) { .agrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .agrid { grid-template-columns: repeat(3, 1fr); gap: var(--s-7) var(--s-6); } }
.acard__media { margin-bottom: var(--s-3); overflow: hidden; }
.acard__media .media { transition: transform var(--t-med) var(--ease); }
.acard:hover .acard__media .media { transform: scale(1.02); }
.acard__title { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-3); margin-bottom: var(--s-2); }
.acard__title a { color: var(--ink); text-decoration: none; }
.acard__title a:hover { color: var(--accent); }
.acard__summary { font-size: var(--fs-1); color: var(--ink-2); margin-bottom: var(--s-2); }
.acard__meta { font-size: var(--fs-0); color: var(--ink-3); }
.acard--planned .acard__media { opacity: .55; }
.acard--planned .acard__title { color: var(--ink-2); }

/* Variety table */
.explorer { padding-block: var(--s-8); border-top: 1px solid var(--line); }
@media (min-width: 64em) { .explorer { padding-block: var(--s-9); } }
.vt__filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }
.vt__count { font-size: var(--fs-0); color: var(--ink-3); min-height: 1.4em; margin-bottom: var(--s-3); }
.vt__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vt__table { width: 100%; min-width: 52rem; border-collapse: collapse; font-size: var(--fs-1); }
.vt__table th, .vt__table td { padding: .85rem .75rem .85rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vt__table thead th { font-size: var(--fs-0); font-weight: 600; color: var(--ink-3); border-bottom-color: var(--line-2); }
.vt__table tbody th { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-3); white-space: nowrap; }
.vt__table tbody th a { color: var(--ink); text-decoration: none; }
.vt__table tbody th a:hover { color: var(--accent); text-decoration: underline; }
.vt__table tr[hidden] { display: none; }
.vt__empty { color: var(--ink-3); }
.swatch { display: inline-block; width: .85em; height: .85em; margin-right: .45em; border-radius: 50%; background: var(--c); vertical-align: -.08em; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.dots { display: inline-flex; gap: .2em; }
.dots i { width: .55em; height: .55em; border-radius: 50%; background: var(--line-2); }
.dots i.on { background: var(--fig-red); }

/* Variety list rows */
.vlist { display: grid; }
.vlist__item { border-top: 1px solid var(--line); }
.vlist__item:last-child { border-bottom: 1px solid var(--line); }
.vlist__link { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "s n" "s u"; column-gap: var(--s-3); align-items: center; padding: var(--s-3) 0; color: var(--ink); text-decoration: none; }
.vlist__link:hover .vlist__name { color: var(--accent); }
.vlist__swatches { grid-area: s; display: inline-flex; }
.vlist__swatches i { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--paper); }
.vlist__swatches i + i { margin-left: -.35rem; }
.vlist__name { grid-area: n; font-family: var(--font-display); font-size: var(--fs-3); }
.vlist__use { grid-area: u; font-size: var(--fs-0); color: var(--ink-3); }
@media (min-width: 48em) { .vlist { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-7); } .vlist__item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); } }
@media (min-width: 64em) { .vlist { grid-template-columns: repeat(3, 1fr); } .vlist__item:nth-last-child(2):nth-child(odd) { border-bottom: 0; } .vlist__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } }

/* Story */
.story { display: grid; gap: var(--s-6); padding-block: var(--s-8); border-top: 1px solid var(--line); }
.story__media { margin: 0; }
.story__title { font-size: var(--fs-5); margin-bottom: var(--s-4); }
.story__text p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 64em) { .story { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: center; padding-block: var(--s-9); } }

/* ---------- Article ---------- */
.article__head { padding-block: var(--s-6) var(--s-6); max-width: 46rem; margin-inline: auto; }
@media (min-width: 64em) { .article__head { padding-block: var(--s-7) var(--s-7); } }
.article__section { font-size: var(--fs-0); font-weight: 600; margin-bottom: var(--s-3); }
.article__section a { color: var(--leaf); text-decoration: none; }
.article__section a:hover { text-decoration: underline; }
.article__title { font-size: var(--fs-6); margin-bottom: var(--s-4); }
.article__deck { font-size: var(--fs-3); color: var(--ink-2); margin-bottom: var(--s-4); }
.article__meta { font-size: var(--fs-0); color: var(--ink-3); margin: 0; }
.article__media { max-width: 60rem; margin-inline: auto; margin-block: 0 var(--s-6); }
.article__body { max-width: 46rem; margin-inline: auto; padding-bottom: var(--s-8); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--fs-4); margin-top: var(--s-7); }
.prose h3 { font-size: var(--fs-3); margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: var(--s-5) 0; padding-left: var(--s-4); border-left: 2px solid var(--fig-red); color: var(--ink-2); font-family: var(--font-display); font-size: var(--fs-3); }
.prose em { font-style: italic; }
sup.cite { font-size: .7em; line-height: 0; margin-left: .1em; }
sup.cite a { text-decoration: none; padding: 0 .2em; }
.more { padding-bottom: var(--s-8); }

/* Notices */
.notice { margin: var(--s-6) 0; padding: var(--s-4) var(--s-5); border-left: 3px solid var(--honey); background: var(--honey-soft); font-size: var(--fs-1); max-width: var(--measure); }
.notice p { margin: 0; }
.notice--editorial { border-color: var(--leaf); background: var(--leaf-soft); }
.notice--safety { border-color: var(--fig-red); background: var(--fig-soft); }
.notice--info { border-color: var(--line-2); background: var(--paper-2); }

/* Sources */
.sources { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); max-width: var(--measure); font-size: var(--fs-1); }
.sources__title { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-1); margin-bottom: var(--s-3); }
.sources__list { padding-left: 1.4em; color: var(--ink-2); }
.sources__list li + li { margin-top: .5em; }
.sources__list li:target { background: var(--honey-soft); }

/* ---------- Recipe ---------- */
.recipe__head { display: grid; gap: var(--s-6); padding-block: var(--s-6); }
.recipe__title { font-size: var(--fs-6); margin-bottom: var(--s-4); }
.recipe__deck { font-size: var(--fs-3); color: var(--ink-2); margin-bottom: var(--s-4); }
.recipe__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.recipe__media { margin: 0; }
@media (min-width: 64em) { .recipe__head { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: end; padding-block: var(--s-7) var(--s-7); } }
.recipe__stats { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); margin: 0; padding: var(--s-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recipe__stats div { display: grid; }
.recipe__stats dt { font-size: var(--fs-0); color: var(--ink-3); }
.recipe__stats dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-3); }
.recipe__body { display: grid; gap: var(--s-7); padding-block: var(--s-6) var(--s-8); }
.recipe__h2 { font-size: var(--fs-4); margin-bottom: var(--s-4); }
.recipe__h2:not(:first-child) { margin-top: var(--s-6); }
.recipe__h3 { font-size: var(--fs-1); font-weight: 600; color: var(--ink-3); margin: var(--s-4) 0 var(--s-2); }
@media (min-width: 64em) {
  .recipe__body { grid-template-columns: 4fr 7fr; gap: var(--s-9); }
  .recipe__ingredients { position: sticky; top: 4.5rem; align-self: start; }
}
.ings__item { display: flex; align-items: flex-start; gap: var(--s-3); padding: .55rem 0; border-top: 1px solid var(--line); }
.ings__item:last-child { border-bottom: 1px solid var(--line); }
.ings__check { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--fig-red); cursor: pointer; }
.ings__label { cursor: pointer; }
.ings__amt { font-weight: 600; }
.ings__note { color: var(--ink-2); }
.ings__check:checked + .ings__label { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.method { counter-reset: step; display: grid; gap: var(--s-4); }
.method__step { display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s-3); }
.method__step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-size: var(--fs-4); line-height: 1.2; color: var(--fig-red); }
.method__step p { margin: 0; padding-top: .15rem; }
.notes { padding-left: 1.3em; }
.notes li + li { margin-top: .4em; }
.tags { margin-top: var(--s-6); font-size: var(--fs-0); color: var(--ink-3); }

/* ---------- Variety page ---------- */
.variety__head { display: grid; gap: var(--s-6); padding-block: var(--s-6); }
.variety__aliases { font-size: var(--fs-1); color: var(--ink-3); margin: calc(-1 * var(--s-2)) 0 var(--s-4); }
.variety__media { margin: 0; }
.variety__body { display: grid; gap: var(--s-7); padding-block: var(--s-6); }
@media (min-width: 64em) {
  .variety__head { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: end; padding-block: var(--s-7); }
  .variety__body { grid-template-columns: 7fr 4fr; gap: var(--s-9); }
}
.facts { display: grid; gap: var(--s-3) var(--s-5); margin: var(--s-5) 0 0; }
.facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s-2); padding-top: var(--s-2); border-top: 1px solid var(--line); font-size: var(--fs-1); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }
@media (min-width: 40em) { .facts { grid-template-columns: repeat(2, 1fr); } .facts--stack { grid-template-columns: 1fr; } }
.ratings { padding: var(--s-5); background: var(--paper-2); align-self: start; }
.ratings__title { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-1); color: var(--ink-3); margin-bottom: var(--s-4); }
.ratings__list { margin: 0; display: grid; gap: .5rem; }
.ratings__list div { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font-size: var(--fs-1); }
.ratings__list dd { margin: 0; }
.ratings__note { margin-top: var(--s-4); font-size: var(--fs-0); color: var(--ink-3); }

/* ---------- Journal ---------- */
.jlist { display: grid; }
.jentry { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "d m" "b m"; gap: var(--s-2) var(--s-5); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.jentry:last-child { border-bottom: 1px solid var(--line); }
.jentry__date { grid-area: d; font-size: var(--fs-0); color: var(--ink-3); }
.jentry__body { grid-area: b; }
.jentry__title { font-size: var(--fs-4); margin-bottom: var(--s-2); }
.jentry__title a { color: var(--ink); text-decoration: none; }
.jentry__title a:hover { color: var(--accent); }
.jentry__summary { color: var(--ink-2); font-size: var(--fs-1); max-width: 56ch; }
.jentry__media { grid-area: m; width: 6rem; }
@media (min-width: 48em) { .jentry { grid-template-columns: 9rem 1fr 10rem; grid-template-areas: "d b m"; gap: var(--s-6); } .jentry__media { width: 10rem; } }

/* ---------- Product page ---------- */
.product__top { display: grid; gap: var(--s-6); padding-block: var(--s-6); }
.product__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); margin-top: var(--s-2); }
.product__title { font-size: var(--fs-6); margin-bottom: var(--s-3); }
.product__deck { font-size: var(--fs-3); color: var(--ink-2); }
.product__buy { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.product__price { font-family: var(--font-display); font-size: var(--fs-4); margin-bottom: var(--s-3); }
.product__note { margin-top: var(--s-3); font-size: var(--fs-0); color: var(--ink-3); max-width: 44ch; }
.product__body { padding-bottom: var(--s-8); }
@media (min-width: 64em) { .product__top { grid-template-columns: 6fr 5fr; gap: var(--s-8); padding-block: var(--s-7); } .product__info { padding-top: var(--s-4); } }

/* ---------- Forms ---------- */
.form-wrap { max-width: 40rem; padding-bottom: var(--s-9); }
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label { font-weight: 500; }
.field__error { margin: 0; font-size: var(--fs-1); color: var(--fig-red); }
.has-error .input { border-color: var(--fig-red); }
.form__fine, .newsletter__fine { font-size: var(--fs-0); color: var(--ink-3); margin: 0; }
.form-ok, .form-error { padding: var(--s-5); margin-bottom: var(--s-5); border-left: 3px solid var(--leaf); background: var(--leaf-soft); }
.form-error { border-color: var(--fig-red); background: var(--fig-soft); }
.form-ok h2 { font-size: var(--fs-4); margin-bottom: var(--s-2); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { padding: var(--s-4) 0; font-family: var(--font-display); font-size: var(--fs-3); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--ink-3); font-family: var(--font-body); }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { padding-bottom: var(--s-5); color: var(--ink-2); }
.faq { max-width: 46rem; }
.empty { color: var(--ink-2); }

/* Newsletter */
.newsletter { display: grid; gap: var(--s-5); padding: var(--s-7) 0; border-top: 1px solid var(--line); }
.site-footer .newsletter { border-top: 0; padding-top: 0; }
.newsletter__title { font-size: var(--fs-5); margin-bottom: var(--s-2); }
.newsletter__lead { color: var(--ink-2); max-width: 44ch; margin: 0; }
.newsletter__label { display: block; font-weight: 500; margin-bottom: var(--s-2); }
.newsletter__row { display: grid; gap: var(--s-2); margin-bottom: var(--s-3); }
@media (min-width: 30em) { .newsletter__row { grid-template-columns: 1fr auto; } }
@media (min-width: 64em) { .newsletter { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; } }

/* Newsletter page */
.nlp { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--s-9); }
.nlp__media { margin: 0; }
.nlp__kicker { font-size: var(--fs-0); font-weight: 600; color: var(--leaf); margin-bottom: var(--s-3); }
.nlp__title { font-size: var(--fs-6); margin-bottom: var(--s-4); }
.nlp__deck { font-size: var(--fs-3); color: var(--ink-2); max-width: 40ch; }
.nlp__list { list-style: none; margin: var(--s-6) 0; display: grid; }
.nlp__list li { display: grid; grid-template-columns: 9rem 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); font-size: var(--fs-1); color: var(--ink-2); }
.nlp__list li:last-child { border-bottom: 1px solid var(--line); }
.nlp__when { font-family: var(--font-display); font-size: var(--fs-2); color: var(--ink); }
.nlp__form { margin-top: var(--s-6); padding: var(--s-5); background: var(--paper-2); }
.nlp__form .newsletter__row { margin-bottom: var(--s-3); }
.nlp__links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (max-width: 39.99em) { .nlp__list li { grid-template-columns: 1fr; gap: var(--s-1); } .nlp__media .media { aspect-ratio: 3 / 2 !important; } }
@media (min-width: 64em) { .nlp { grid-template-columns: 5fr 6fr; gap: var(--s-9); align-items: center; padding-block: var(--s-8) var(--s-10); } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--s-8); padding-block: var(--s-8) var(--s-6); border-top: 1px solid var(--line); background: var(--paper-2); font-size: var(--fs-1); }
.site-footer__grid { display: grid; gap: var(--s-6); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.site-footer__tag { color: var(--ink-2); margin: var(--s-3) 0 var(--s-1); }
.site-footer__place { color: var(--ink-3); font-size: var(--fs-0); }
.site-footer__title { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-0); color: var(--ink-3); margin-bottom: var(--s-3); }
.site-footer__links li { padding: .2rem 0; }
.site-footer__links a { color: var(--ink); text-decoration: none; }
.site-footer__links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-0); color: var(--ink-3); }
.site-footer__copy { margin: 0; }
.site-footer__legal, .site-footer__social { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.site-footer__legal a, .site-footer__social a { color: var(--ink-2); text-decoration: none; }
.site-footer__legal a:hover, .site-footer__social a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__note { margin-top: var(--s-5); font-size: var(--fs-0); color: var(--ink-3); max-width: 70ch; }
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 2fr repeat(4, 1fr); gap: var(--s-7); } }

/* ---------- Error ---------- */
.error { border-top: 0; max-width: 40rem; }
.error__code { font-family: var(--font-display); font-size: var(--fs-7); color: var(--ink-3); line-height: 1; margin-bottom: var(--s-4); }

/* ---------- Print ---------- */
@media print {
  :root, :root[data-theme="dark"], :root[data-theme="auto"] { --paper: #fff; --paper-2: #fff; --ink: #000; --ink-2: #333; --ink-3: #555; --line: #bbb; --line-2: #999; --fig-red: #000; --accent: #000; --leaf: #333; }
  .site-header, .site-footer, .crumbs, .recipe__actions, .newsletter, .notice, .more, .theme-toggle, .menu-button, .recipe__related { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .ph { background: #eee !important; color: #444; border: 1px solid #ccc; aspect-ratio: 5 / 2 !important; }
  .recipe__head, .recipe__body { display: block; }
  .recipe__media { max-width: 40%; }
  .recipe__ingredients { position: static; margin-bottom: 1.5rem; }
  .ings__check { display: none; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: auto; }
}
