/* ===========================================================
   Cooking with Cecie — Inheritance Cookbook design system
   Production build · static multi-page site
   =========================================================== */

:root {
  /* Paper + ink — white page, as on Cecie's 2024 site (was cream #faf6ee) */
  --paper:        #ffffff;        /* page background */
  --paper-2:      #faf7f1;        /* very light warm off-white, alternate bands */
  --paper-3:      #efe7d9;        /* card edge */
  --ink:          #281810;        /* deep kitchen-wood */
  --ink-soft:     #4a3325;
  --ink-mute:     #7a614c;

  /* Heritage accents — warm palette only (green removed per client) */
  --sofrito:      #b94a26;        /* warm red-orange terracotta */
  --sofrito-deep: #8a3417;
  --verde:        #a9743a;        /* warm ochre (was tropical green) */
  --verde-deep:   #7c5026;
  --dust:         #e6b89c;        /* margin/dust pink */
  /* Original-site gold (#D19B3D): rules, frames, hard shadows, hover fills.
     Never as text on white (2.4:1). --gold-ink is the text-safe shade (5.4:1). */
  --gold:         #d19b3d;
  --gold-ink:     #84601f;
  --gold-soft:    #f6ead2;        /* tint for hover backgrounds / hand notes */

  /* Type */
  --serif: "Ibarra Real Nova", "Cormorant Garamond", "Times New Roman", serif;
  --mono:  "Courier Prime", "Courier New", ui-monospace, monospace;
  --sans:  "Geist", "Inter Tight", "Helvetica Neue", system-ui, sans-serif;

  /* Spatial */
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1280px;
  --bookw: 720px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }  /* utility classes like .flex-col must not un-hide */
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- type ---------- */
.serif      { font-family: var(--serif); font-weight: 400; }
.serif-it   { font-family: var(--serif); font-weight: 400; font-style: italic; }
.mono       { font-family: var(--mono); letter-spacing: .04em; }
.mono-sm    { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.es         { font-family: var(--serif); font-style: italic; color: var(--sofrito-deep); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(48px, 6.6vw, 108px); line-height: .96; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 3.6vw, 58px); line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }

/* small caps system label */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* eyebrow used as a real heading (recipe Ingredients / Instructions): keep the label look */
h2.eyebrow { line-height: 1.4; font-weight: 400; margin: 0; }

/* filtered-out recipe cards (inline display:flex would otherwise beat [hidden]) */
.recipe-card[hidden] { display: none !important; }

/* skip link: hidden until focused */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; border: 1px solid var(--ink); }

/* tiny page-number / folio */
.folio {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* hairline rules */
.rule        { border: 0; border-top: 1px solid rgba(40,24,16,.18); margin: 0; }
.rule-double { border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); height: 4px; }
.rule-dotted { border: 0; border-top: 1px dashed rgba(40,24,16,.4); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.book { width: 100%; max-width: var(--bookw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(48px, 7vw, 110px) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-accent { background: var(--sofrito); border-color: var(--sofrito); color: #fff; }
.btn-accent:hover { background: var(--sofrito-deep); border-color: var(--sofrito-deep); }
.btn .arr { display: inline-block; transform: translateY(-1px); }

/* link with underline */
.link-u {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color .15s;
}
.link-u:hover { color: var(--gold-ink); }

/* ---------- image placeholders (warm-tonal, with caption) ---------- */
.ph {
  position: relative;
  background: linear-gradient(135deg, #d9c4a3 0%, #c8ad84 100%);
  overflow: hidden;
  border-radius: 2px;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(40,24,16,.025) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 5px);
  pointer-events: none;
}
.ph .cap {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(40,24,16,.7);
  background: rgba(255,255,255,.9); padding: 5px 9px; border-radius: 2px;
  max-width: calc(100% - 24px);
}
.ph.green { background: linear-gradient(135deg, #e0cba6 0%, #c9ac7d 100%); }
.ph.red   { background: linear-gradient(135deg, #e3b59d 0%, #c87a5a 100%); }
.ph.dark  { background: linear-gradient(135deg, #6b4631 0%, #3a2418 100%); }
.ph.dark .cap { background: rgba(244,234,215,.92); }

/* ---------- magazine pull quote ---------- */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.15;
  color: var(--ink);
  position: relative;
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--sofrito);
}
.pullquote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- "stamp" — letterpress label ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
}
.stamp.dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sofrito);
}
.stamp.verde { border-color: var(--verde); color: var(--verde); }
.stamp.verde.dot::before { background: var(--verde); }
.stamp.sof   { border-color: var(--sofrito); color: var(--sofrito); }

/* ---------- recipe / content cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid rgba(40,24,16,.14);
  border-radius: 3px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card .ph { aspect-ratio: 4/3; border-radius: 0; }

/* alternate index-card recipe */
.idxcard {
  background: #faf3df;
  border-radius: 2px;
  padding: 22px 24px 22px;
  position: relative;
  box-shadow: 0 1px 0 rgba(40,24,16,.08), 0 12px 30px -18px rgba(40,24,16,.25);
  border-top: 18px solid #c45a35;
  background-image:
    repeating-linear-gradient(transparent 0 30px, rgba(138,52,23,.14) 30px 31px);
}
.idxcard .idxhole {
  position: absolute; top: -9px; left: 30px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(40,24,16,.18);
}

/* ---------- newsletter band ---------- */
.nl {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.nl::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(185,74,38,.25), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(199,147,56,.20), transparent 60%);
  pointer-events: none;
}
.nl-input {
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(244,234,215,.4);
  color: var(--paper);
  font: 400 28px/1.2 var(--serif);
  padding: 10px 0; width: 100%; outline: none;
}
.nl-input::placeholder { color: rgba(244,234,215,.5); font-style: italic; }
.nl-input:focus { border-bottom-color: var(--sofrito); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(40,24,16,.3);
  font: 400 18px/1.4 var(--serif);
  color: var(--ink);
  padding: 8px 0;
  outline: none;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--sofrito); }
.field textarea { resize: vertical; min-height: 100px; font-size: 16px; }

/* ---------- decorative cookbook ornaments ---------- */
.orn-leaf {
  width: 48px; height: 12px;
  background:
    radial-gradient(circle at 50% 50%, var(--sofrito) 0 2.5px, transparent 3px) center/12px 12px no-repeat,
    linear-gradient(90deg, transparent 0 6px, rgba(40,24,16,.4) 6px 18px, transparent 18px 30px, rgba(40,24,16,.4) 30px 42px, transparent 42px);
}
.dot-rule {
  height: 1px; background-image: radial-gradient(circle, rgba(40,24,16,.4) 0 1px, transparent 1.5px);
  background-size: 6px 1px; background-repeat: repeat-x;
}

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(40,24,16,.12);
}
.hdr-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  gap: 24px;
}
.hdr-logo { display: flex; align-items: center; }
.hdr-logo img { display: block; height: 52px; width: auto; }
.hdr-nav { display: flex; gap: 28px; justify-content: center; }
.hdr-nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); padding: 6px 0; position: relative;
}
.hdr-nav a::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .2s ease;
}
.hdr-nav a:hover::after, .hdr-nav a.active::after { transform: scaleX(1); }
.hdr-cta { display: flex; gap: 10px; justify-content: flex-end; }
.hdr-cta .pill {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
}
.hdr-cta .pill:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* hamburger */
.hdr-burger {
  display: none;
  background: transparent; border: 0; padding: 6px;
  flex-direction: column; gap: 4px; cursor: pointer;
  /* bars stay 22px; box grows to a 44px tap target */
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  margin-left: -5px;
}
.hdr-burger span {
  width: 22px; height: 1.5px; background: var(--ink); display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.hdr-burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hdr-burger.open span:nth-child(2) { opacity: 0; }
.hdr-burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* mobile drawer */
.hdr-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  background: rgba(255,255,255,.98);
  border-top: 1px solid transparent;
}
.hdr-drawer.open { max-height: 560px; border-top-color: rgba(40,24,16,.12); }
.hdr-drawer nav { display: flex; flex-direction: column; padding: 14px 22px 22px; }
.hdr-drawer nav a.dl {
  padding: 14px 0; border-bottom: 1px solid rgba(40,24,16,.12);
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.hdr-drawer nav a.dl.active { font-style: italic; color: var(--sofrito); }
.hdr-drawer nav a.dl .dn { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); letter-spacing: .16em; }
.hdr-drawer .drawer-social { display: flex; gap: 16px; padding-top: 18px; }

/* ---------- footer ---------- */
.ftr {
  background: var(--paper-2);
  color: var(--ink);
  padding: 64px var(--gutter) 28px;
  position: relative;
  border-top: 3px solid var(--gold);
}
.ftr-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.ftr-logo img { display: block; height: 120px; width: auto; }
.ftr .ftr-h { font-family: var(--mono); font-size: 11px; line-height: 1.4; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ftr ul a { font-family: var(--sans); font-size: 14px; }
.ftr ul a:hover { color: var(--gold-ink); }
.ftr-sign {
  max-width: var(--maxw); margin: 56px auto 0;
  display: flex; justify-content: space-between; align-items: end;
  padding-top: 22px;
  border-top: 1px solid rgba(40,24,16,.18);
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--ink-mute); text-transform: uppercase;
}

/* ---------- grids ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }

/* ---------- utility ---------- */
.center-x { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mt-5 { margin-top: 56px; }
.mt-6 { margin-top: 80px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.wrap-flex { flex-wrap: wrap; }
.muted { color: var(--ink-mute); }
.soft  { color: var(--ink-soft); }
.tint-red   { color: var(--sofrito); }
.tint-green { color: var(--verde); }
.serif-h { font-family: var(--serif); }

/* decorative giant character */
.dropcap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 5em;
  line-height: .85;
  float: left;
  padding: 6px 14px 0 0;
  color: var(--sofrito);
}

/* ---------- connect tabs ---------- */
.tab-row { display: flex; gap: 12px; border-bottom: 1px solid rgba(40,24,16,.2); }
.tab-btn {
  background: transparent; border: 0;
  padding: 16px 4px; margin-right: 12px; margin-bottom: -1px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
}
.tab-btn.tab-active { color: var(--sofrito); border-bottom-color: var(--sofrito); }

/* ---------- recipe filter chips ---------- */
.recipe-filter {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.recipe-filter.chip-active { background: var(--ink); color: var(--paper); }

/* ---------- recipe pagination ---------- */
.page-dot {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--mono); font-size: 11px;
}
.page-dot.page-current { background: var(--ink); color: var(--paper); }

/* page transitions */
.page-fade { animation: fadeIn .35s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ===========================================================
   HERITAGE LAYER — carried over from Cecie's 2024 site
   (gold rule + diamond, gold-framed portrait, wordmark + tilted
   book hero, letter block, recipe-of-the-month band)
   =========================================================== */

/* Section titles: thin gold rule with a centered diamond (CSS only).
   Applied to every section title that follows an eyebrow label. */
.eyebrow + h2::after,
h2.title-rule::after {
  content: "";
  display: block;
  width: 120px; height: 8px;
  margin-top: 18px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 3.5px / 50px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 70px 3.5px / 50px 1px no-repeat,
    linear-gradient(to bottom right, transparent 50%, var(--gold) 50%) 56px 0 / 4px 4px no-repeat,
    linear-gradient(to bottom left,  transparent 50%, var(--gold) 50%) 60px 0 / 4px 4px no-repeat,
    linear-gradient(to top right,    transparent 50%, var(--gold) 50%) 56px 4px / 4px 4px no-repeat,
    linear-gradient(to top left,     transparent 50%, var(--gold) 50%) 60px 4px / 4px 4px no-repeat;
}
.center-x .eyebrow + h2::after,
.center-x h2.title-rule::after { margin-left: auto; margin-right: auto; }

/* Gold offset frame behind a portrait (the original "Group-14" treatment) */
.gold-frame {
  border-radius: 10px;
  box-shadow: -16px 16px 0 var(--gold);
  margin-left: 16px;
}

/* Hero: wordmark + stacked, tilted front/back book mockups */
.hero-wordmark { width: 100%; max-width: 460px; height: auto; }
.hero-books {
  position: relative;
  aspect-ratio: 1 / 1.02;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  isolation: isolate;
}
.hero-books img { position: absolute; height: auto; }
.hero-books .book-back {
  width: 74%; right: 0; top: 0;
  filter: drop-shadow(10px 14px 22px rgba(40,24,16,.28));
}
.hero-books .book-front {
  width: 70%; left: 0; bottom: 0;
  filter: drop-shadow(14px 18px 30px rgba(40,24,16,.38));
}
.hero-books::before {           /* soft gold halo grounding the stack */
  content: ""; position: absolute; inset: 12% 6% 4% 10%;
  background: radial-gradient(closest-side, var(--gold-soft), transparent);
  z-index: -1;
}

/* "From Cecie" letter — her own About the Book text */
.letter {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-left: 3px solid var(--gold);
  padding: clamp(24px, 4vw, 52px);
}
.letter p { font-family: var(--serif); font-size: 19px; line-height: 1.65; max-width: 62ch; }
.letter .sig { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--sofrito-deep); margin: 8px 0 0; }

/* Recipe of the Month band */
.rotm-card {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.rotm-card .ph { box-shadow: 7px 7px 0 var(--gold); }

/* Retailer "Available on" card with the hard gold shadow */
.retailer-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 34px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 7px 7px 0 var(--gold);
  transition: transform .15s ease;
}
.retailer-card:hover { transform: translate(-2px, -2px); }

/* Footer: Cecie's own blurb + the original-site link */
.ftr-blurb { max-width: 36ch; font-size: 14px; }
.ftr-blurb strong { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; margin-bottom: 6px; color: var(--ink); }
.ftr-sign a { border-bottom: 1px solid currentColor; }
.ftr-sign a:hover { color: var(--gold-ink); }

/* ===========================================================
   RESPONSIVE — tablet + phone
   =========================================================== */

/* ---- tablet / mobile : <= 860px ---- */
@media (max-width: 860px) {
  /* header switches to hamburger */
  .hdr-inner { grid-template-columns: auto 1fr auto; }
  .hdr-burger { display: flex; }
  .hdr-nav { display: none; }
  .hdr-logo { justify-content: center; }
  .hdr-logo img { height: 42px; }

  /* collapse any inline-grid row + utility grids to single column */
  [style*="grid-template-columns"],
  .cols-2, .cols-3, .cols-4 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* …except a couple that read fine paired */
  .keep-2col { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }

  /* hero margin-note moves below the photo */
  .hero-figure { margin-top: 24px !important; }
  .hero-handnote {
    position: static !important;
    transform: none !important;
    max-width: none !important;
    margin: 14px 0 0 !important;
  }

  /* book mockup smaller, centered */
  .book-mockup-wrap { max-width: 280px; margin: 0 auto; }

  /* heritage hero: wordmark above, book stack centered below */
  .hero-wordmark { max-width: 380px; }
  .hero-books { max-width: 360px; margin: 8px auto 0; }
  .rotm-card { grid-template-columns: 1fr; }
  .gold-frame { box-shadow: -10px 10px 0 var(--gold); margin-left: 10px; }
  .portrait-note { display: none; }  /* decorative; would collide with the name tag */

  /* buttons stack + fill width */
  .btn-stack { flex-direction: column; align-items: stretch; }
  .btn-stack .btn { justify-content: center; }

  /* footer collapses */
  .ftr-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .ftr-sign { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* TOC chapter rows */
  .toc-row { gap: 12px !important; flex-wrap: wrap; }
  .toc-row .toc-num { width: auto !important; }
  .toc-row .toc-cuisine { display: none; }

  /* connect tabs scroll horizontally */
  .tab-row {
    overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .tab-row::-webkit-scrollbar { display: none; }

  /* press strip + retailer band wrap */
  .press-strip { gap: 16px !important; }
  .retailers { gap: 22px !important; }
  .folio-strip { flex-wrap: wrap; gap: 4px 10px; }

  /* ---- touch targets ---- */
  /* header CTA becomes a real 44px button */
  .hdr-cta .pill { display: inline-flex; align-items: center; min-height: 44px; }

  /* stamp links keep their letterpress size; the tap area grows behind them */
  a.stamp { position: relative; }
  a.stamp::after {
    content: "";
    position: absolute; left: 0; right: 0;
    top: 50%; transform: translateY(-50%);
    height: 44px;
  }

  /* checkbox was 13px — below any usable tap size */
  .field input[type="checkbox"],
  input[type="checkbox"] { width: 18px; height: 18px; flex: none; accent-color: var(--sofrito); }
}

/* ---- phone : <= 560px ---- */
@media (max-width: 560px) {
  body { font-size: 15px; }
  section { padding: 48px 0 !important; }
  h1 { font-size: 42px !important; line-height: .98 !important; }
  h2 { font-size: 30px !important; line-height: 1.05 !important; }
  h3 { font-size: 21px !important; }
  .pullquote { font-size: 24px; padding-left: 16px; }
  .dropcap::first-letter { font-size: 4em; padding-right: 10px; }
  .idxcard { padding: 18px 18px 18px; }
  .press-strip > * { font-size: 16px !important; }
}
