/* Sara's Wildleaf & Kettle — design system
   Layout idea: an herbarium notebook. Specimen "plates" (numbered illustrations),
   Latin names in italic, field-note asides in a handwritten face, and a calm
   editorial column. One visual world: cream paper, single light theme. */
:root {
  --paper: #F6F2E8;
  --paper-deep: #EDE5D2;
  --card: #FBF8F1;
  --forest: #355846;
  --forest-deep: #284436;
  --sage: #82947A;
  --terracotta: #B87B5A;
  --terracotta-ink: #8C5236;
  --ochre: #C59F55;
  --ink: #23372C;
  --ink-soft: #4C5F53;
  --plum: #83758E;
  --line: rgba(35, 55, 44, .16);
  --line-strong: rgba(35, 55, 44, .32);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-note: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  --step-1: clamp(1.22rem, 1.12rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.2rem);

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --measure: 66ch;
  --shadow: 0 1px 0 rgba(35,55,44,.05), 0 10px 30px -18px rgba(35,55,44,.35);
  color-scheme: light;
}

*, *::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 { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  /* faint paper grain */
  background-image:
    radial-gradient(rgba(35,55,44,.035) 1px, transparent 1px),
    radial-gradient(rgba(184,123,90,.03) 1px, transparent 1px);
  background-size: 22px 22px, 31px 31px;
  background-position: 0 0, 11px 7px;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terracotta-ink); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; font-variation-settings: "SOFT" 60, "WONK" 0; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 400; }
h2 { font-size: var(--step-3); font-weight: 400; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; }
em.latin, .latin { font-family: var(--font-display); font-style: italic; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: var(--paper); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.eyebrow { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-ink); font-weight: 600; }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; max-width: 58ch; }
.muted { color: var(--ink-soft); }
.note { font-family: var(--font-note); font-size: 1.45em; line-height: 1.2; color: var(--terracotta-ink); }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.ornament { display: flex; align-items: center; gap: 14px; color: var(--sage); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head .stack { --stack: .6rem; max-width: 60ch; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 242, 232, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.05; font-weight: 500; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { text-decoration: none; color: var(--ink); font-size: .96rem; padding: .5rem .7rem; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--paper-deep); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--forest); color: var(--paper); }
@media (max-width: 520px) { .brand-name { font-size: 1.05rem; } .brand-name small { display: none; } .brand svg { width: 34px; height: 34px; } }
.menu-btn { display: none; align-items: center; gap: .5rem; background: transparent; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-size: .95rem; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
}

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; padding: .78rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--forest); background: var(--forest); color: var(--paper); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--forest-deep); color: var(--paper); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--paper); }
.btn.small { padding: .5rem .95rem; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; padding: .28rem .7rem; border-radius: 999px; background: var(--paper-deep); color: var(--ink); border: 1px solid transparent; }
.chip.forest { background: rgba(53,88,70,.1); color: var(--forest); }
.chip.terra { background: rgba(184,123,90,.15); color: var(--terracotta-ink); }
.chip.plum { background: rgba(131,117,142,.16); color: #5E5168; }
.chip.ochre { background: rgba(197,159,85,.2); color: #6D5422; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
button.chip { cursor: pointer; font-family: inherit; border-color: var(--line); background: var(--card); }
button.chip[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 84px); }
.hero h1 { margin-top: .8rem; }
.hero h1 em { font-style: italic; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero .lede { margin-top: 1.2rem; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-art { position: relative; }
.hero-art picture img { width: 100%; border-radius: 24px 24px 24px 120px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.hero-art .note { position: absolute; right: 4%; bottom: -6px; transform: rotate(-4deg); background: var(--card); padding: .3rem .9rem .45rem; border-radius: 6px; box-shadow: var(--shadow); font-size: 1.35rem; }
.hero-strip { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding-block: 1rem 1.4rem; color: var(--ink-soft); font-size: .92rem; }
.hero-strip span::before { content: "✦"; color: var(--ochre); margin-right: .5rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(35,55,44,.04); transition: transform .25s ease, box-shadow .25s ease; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--paper-deep); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .card-media img { transform: scale(1.04); }
.plate-no { position: absolute; left: 12px; top: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink); background: rgba(251,248,241,.88); padding: .18rem .5rem; border-radius: 4px; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.42rem; }
.card-body .latin { color: var(--ink-soft); font-size: 1rem; }
.card-body p { color: var(--ink-soft); font-size: .98rem; }
.card-foot { margin-top: auto; padding-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }

/* specimen label used when an herb has no illustration yet */
.specimen { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem; background:
  radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), transparent 60%), var(--tint, var(--paper-deep)); }
.specimen svg { width: 64px; height: 64px; color: var(--forest); opacity: .75; margin: 0 auto .5rem; }
.specimen .latin { font-size: 1.15rem; color: var(--ink); }
.specimen small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }

/* collections band */
.collection { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: end; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection:hover img { transform: scale(1.04); }
.collection .panel { position: relative; margin: 14px; background: rgba(251,248,241,.94); border-radius: 10px; padding: 1rem 1.1rem; }
.collection .panel h3 { font-size: 1.45rem; }
.collection .panel p { color: var(--ink-soft); font-size: .96rem; margin-top: .3rem; }

/* ---------- honest box (the brand's wry voice) ---------- */
.honest { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.honest > div { padding: 1.1rem 1.2rem; }
.honest > div + div { border-left: 1px dashed var(--line-strong); }
@media (max-width: 600px) { .honest > div + div { border-left: 0; border-top: 1px dashed var(--line-strong); } }
.honest h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: .35rem; }
.honest .q h4 { color: var(--terracotta-ink); }
.honest .a h4 { color: var(--forest); }

.band { background: var(--forest); color: var(--paper); }
.band a { color: var(--paper); }
.band .eyebrow { color: #E9CFA0; }
.band .lede, .band .muted { color: rgba(246,242,232,.82); }
.band .btn { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.band .btn.ghost { background: transparent; color: var(--paper); }
.band .btn:hover { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.promise h3 { font-size: 1.3rem; color: var(--paper); }
.promise p { color: rgba(246,242,232,.82); margin-top: .4rem; font-size: .98rem; }
.promise .num { font-family: var(--font-display); font-style: italic; color: #E9CFA0; font-size: 1.1rem; }

/* gift note */
.gift { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 4px 18px 4px 18px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); max-width: 760px; margin-inline: auto; }
.gift::before { content: ""; position: absolute; top: -12px; left: 50%; width: 120px; height: 24px; transform: translateX(-50%) rotate(-2deg); background: rgba(197,159,85,.45); }
.gift p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; font-style: italic; font-weight: 300; }
.gift .sig { font-family: var(--font-note); font-style: normal; font-size: 2rem; color: var(--terracotta-ink); margin-top: .8rem; }

/* ---------- page header ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.page-head .stack { --stack: .9rem; }
.page-head.with-art .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-head.with-art img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 800px) { .page-head.with-art .wrap { grid-template-columns: 1fr; } }
.crumbs { font-size: .9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

/* ---------- herbarium tools ---------- */
.tools { display: grid; gap: 1rem; padding: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.5rem; }
.search { display: flex; align-items: center; gap: .6rem; background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .2rem .4rem .2rem 1rem; }
.search:focus-within { border-color: var(--forest); }
.search svg { width: 20px; height: 20px; color: var(--ink-soft); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: .65rem 0; outline: none; }
.filter-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-right: .3rem; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.count { font-size: .92rem; color: var(--ink-soft); }
.empty { padding: 2.5rem 1rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-soft); }

/* herb profile */
.profile-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .profile-top { grid-template-columns: 1fr; } }
.profile-art { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); }
.profile-art img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .98rem; }
.facts dt { font-weight: 700; color: var(--ink-soft); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .2rem; }
.facts dd { margin: 0; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.three > section { padding: 1.3rem 1.3rem 1.5rem; border-top: 5px solid var(--c); }
.three > section + section { border-left: 1px solid var(--line); }
@media (max-width: 900px) { .three > section + section { border-left: 0; border-top-width: 5px; } }
.three h3 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--c); margin-bottom: .6rem; }
.three p, .three li { font-size: 1rem; }
.three ul { margin: 0; padding-left: 1.1rem; }
.three li + li { margin-top: .4rem; }
.c-trad { --c: var(--plum); }
.c-evid { --c: var(--forest); }
.c-safe { --c: var(--terracotta-ink); }
details.drawer { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
details.drawer summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.drawer summary::-webkit-details-marker { display: none; }
details.drawer summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--forest); }
details.drawer[open] summary::after { content: "–"; }
details.drawer .inner { padding: 0 1.2rem 1.2rem; }
.sources { margin: 0; padding-left: 1.1rem; }
.sources li + li { margin-top: .4rem; }
.reviewed { font-size: .88rem; color: var(--ink-soft); }

/* ---------- blends ---------- */
.blend-card .card-body h3 { font-size: 1.5rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9rem; color: var(--ink-soft); }
.meta-row b { color: var(--ink); font-weight: 600; }
.recipe { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .recipe { grid-template-columns: 1fr; } }
.recipe-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); }
.recipe-card h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
.ingredients { list-style: none; padding: 0; margin: .6rem 0 0; }
.ingredients li { display: flex; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients .qty { font-weight: 700; min-width: 7.5em; color: var(--forest); font-variant-numeric: tabular-nums; }
.steps { padding-left: 1.3rem; margin: .6rem 0 0; }
.steps li + li { margin-top: .5rem; }
.flag { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; background: rgba(184,123,90,.1); border-left: 4px solid var(--terracotta); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .97rem; }
.flag.info { background: rgba(53,88,70,.08); border-left-color: var(--forest); }
.flag b { display: block; }

/* ---------- steep timer ---------- */
.steeper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); align-items: center; }
@media (max-width: 800px) { .steeper { grid-template-columns: 1fr; } }
.seg { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--forest); border-radius: 999px; padding: 3px; gap: 3px; }
.seg button { font: inherit; font-size: .92rem; font-weight: 600; border: 0; background: transparent; color: var(--forest); padding: .5rem .9rem; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--forest); color: var(--paper); }
.steep-out dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1rem; margin: 1rem 0 0; }
.steep-out dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); padding-top: .2rem; }
.steep-out dd { margin: 0; }
.dial { position: relative; width: min(260px, 70vw); aspect-ratio: 1; margin-inline: auto; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial .time { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.dial .time b { font-family: var(--font-display); font-size: 3rem; font-weight: 400; font-variant-numeric: tabular-nums; display: block; line-height: 1; }
.dial .time span { font-size: .85rem; color: var(--ink-soft); }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .97rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-deep); }
tr:last-child td { border-bottom: 0; }

/* ---------- journal ---------- */
.post-card .card-body h3 { font-size: 1.35rem; }
.article { padding-block: clamp(40px, 6vw, 80px); }
.article .prose { margin-inline: auto; }
.article .prose p:first-of-type::first-letter { font-family: var(--font-display); float: left; font-size: 3.6em; line-height: .85; padding: .08em .1em 0 0; color: var(--forest); }
.byline { font-size: .92rem; color: var(--ink-soft); }
blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--ochre); font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--ink); }

/* ---------- shop ---------- */
.ribbon { position: absolute; right: 12px; top: 10px; background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: .25rem .55rem; border-radius: 4px; }
.price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-soft); }
.deal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.deal .opt { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.deal .opt.alt { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.deal .opt.alt .muted { color: rgba(246,242,232,.82); }
.deal .opt h3 { font-size: 1.6rem; margin: .3rem 0 .6rem; }
.deal ul { padding-left: 1.1rem; margin: .8rem 0 0; }
.deal li + li { margin-top: .35rem; }
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.path > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--card); }
.path h4 { font-size: 1.15rem; }
.path p { font-size: .95rem; color: var(--ink-soft); margin-top: .35rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form textarea, .form select { font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: .7rem .8rem; }
.form input:disabled, .form textarea:disabled { background: var(--paper-deep); color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(24px, 4vw, 56px); background: var(--ink); color: rgba(246,242,232,.86); padding-block: clamp(40px, 5vw, 64px) 28px; font-size: .95rem; }
.site-footer a { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #E9CFA0; margin-bottom: .7rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-name small { color: rgba(246,242,232,.7); }
.disclaimer { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(246,242,232,.18); font-size: .88rem; color: rgba(246,242,232,.72); display: grid; gap: .6rem; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: .7rem 1.1rem; border-radius: 999px; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.concept-bar { background: var(--ochre); color: var(--ink); font-size: .86rem; text-align: center; padding: .4rem var(--gutter); font-weight: 600; }

.view { animation: fade .35s ease both; }
@keyframes fade { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media print {
  .site-header, .site-footer, .concept-bar, .no-print, .toast { display: none !important; }
  body { background: #fff; }
  .recipe { grid-template-columns: 1fr; }
  .recipe-card { border: 1px solid #999; }
  a { color: inherit; text-decoration: none; }
}

/* main receives focus on page change for screen readers; no visible ring needed */
#app:focus, #app:focus-visible { outline: none; }

/* Plates 16+ (added Nov 2026) draw the subject smaller inside a pale circle; zoom them to match plates 01-15 */
picture.zoom img { transform: scale(1.22); transform-origin: 50% 55%; }
a.card:hover .card-media picture.zoom img { transform: scale(1.27); }
.banner-crop { border-radius: 10px; overflow: hidden; margin-bottom: 1rem; aspect-ratio: 16 / 7; }
.banner-crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.deal { align-items: start; }
