/* ==========================================================================
   World Plant Milk Day — Phase 2 Design System
   Brand: WPMD Branding (3).pdf
   Palette: Heritage Blue #1738FF · Acid Yellow #E9FD02 · Milky White #F7F4EF
            Soft Charcoal #222222 · White #FFFFFF
   Type:    Antonio (headlines, all caps) · Inter (body) · Permanent Marker (accents)
   Voice:   Celebratory · Bold & disruptive · Culturally curious ·
            Educational not academic · Raw & human · Accessible not exclusive
   ========================================================================== */

:root {
  --blue:   #1738FF;
  --yellow: #E9FD02;
  --milk:   #F7F4EF;
  --ink:    #222222;
  --white:  #FFFFFF;

  --muted:  #5f5b54;
  --border: #e3dfd7;
  --blue-wash: rgba(23, 56, 255, 0.08);

  --font-display: "Antonio", Arial, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-marker: "Permanent Marker", cursive;

  --container: 1180px;
  --radius: 14px;
  --shadow-print: 0 10px 30px rgba(34, 34, 34, 0.14);
  --shadow-card: 0 4px 18px rgba(34, 34, 34, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--milk);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; font-weight: 700; }
.h-hero  { font-size: clamp(2.9rem, 7.2vw, 5.4rem); color: var(--blue); }
.h-page  { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.h-sect  { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.h-card  { font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--blue); }
.t-blue { color: var(--blue); } .t-ink { color: var(--ink); }

.lede { font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.6; font-weight: 500; max-width: 46ch; color: #3a3a3a; }
.body-copy { font-size: 1rem; color: #3a3a3a; max-width: 62ch; }
.small { font-size: 0.9rem; color: var(--muted); }

.marker { font-family: var(--font-marker); text-transform: none; line-height: 1.35; }
.marker-blue { color: var(--blue); }

/* highlight swipe (full-height so marker descenders stay covered) */
.hl { background: linear-gradient(180deg, transparent 8%, var(--yellow) 8% 99%, transparent 99%); padding: 0 0.35em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Chips, labels, stamps, notes ---------- */
.chip {
  display: inline-block; background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.42em 0.9em; border-radius: 6px; transform: rotate(-1.2deg);
}
.chip--y { background: var(--yellow); color: var(--ink); }
.chip--outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow); padding: 0.35em 0.9em;
  border-radius: 4px; transform: rotate(-0.8deg);
}
.eyebrow--blue { background: var(--blue); color: #fff; }

/* tapered sticky note */
.note {
  background: var(--white); box-shadow: var(--shadow-card); padding: 1.1rem 1.25rem 1rem;
  position: relative; border-radius: 3px;
}
.note::before {
  content: ""; position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 74px; height: 20px; background: rgba(222, 214, 194, 0.85);
}
.note--y { background: var(--yellow); }

/* hand-drawn heart bullet lists */
.hearts { list-style: none; }
.hearts li { position: relative; padding-left: 2rem; margin-bottom: 0.65rem; }
.hearts li::before {
  content: ""; position: absolute; left: 0; top: 0.24em; width: 1.15em; height: 1.15em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 20 C 5 14, 2 10, 4 6.5 C 5.5 4, 9 4, 12 8 C 15 4, 18.5 4, 20 6.5 C 22 10, 19 14, 12 20 Z' fill='none' stroke='%231738FF' stroke-width='2.2' stroke-linecap='round'/></svg>") center/contain no-repeat;
}

/* crayon squiggle underline (inline SVG usage: <svg class="squig">) */
.squig { display: block; margin-top: 0.5rem; max-width: 220px; height: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  background: var(--yellow); color: var(--ink); border: none;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  box-shadow: 0 2px 0 rgba(34,34,34,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(34,34,34,0.25); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--ghost { background: transparent; box-shadow: none; color: var(--blue); border: 2.5px solid var(--blue); }

.link-arrow {
  font-weight: 600; color: var(--blue); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-bottom-color: var(--blue); }

/* ---------- Photo prints (taped photos) ---------- */
.print {
  background: #fff; padding: 8px; box-shadow: var(--shadow-print);
  border-radius: 4px; position: relative; display: block;
}
.print img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.print--tape::before {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 92px; height: 26px; background: rgba(228, 220, 200, 0.8); z-index: 2;
}

/* sticker images overlaid on prints */
.stk { position: absolute; z-index: 3; filter: drop-shadow(0 4px 10px rgba(34,34,34,0.18)); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-card);
}
.card:hover { border-color: var(--blue); }

.recipe-card { text-decoration: none; color: var(--ink); overflow: hidden; padding: 0; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(34,34,34,0.14); }
.recipe-card .rc-img { aspect-ratio: 4 / 3; overflow: hidden; }
.recipe-card .rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-card .rc-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.recipe-card .rc-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.rc-tag { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; background: var(--blue-wash); color: var(--blue); padding: 0.28em 0.7em; border-radius: 4px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(247, 244, 239, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 1.2rem; padding: 0.5rem clamp(1.1rem, 4vw, 2rem); max-width: 1380px; margin: 0 auto; }
.nav-logo img { width: 56px; height: 56px; display: block; transform: rotate(-6deg); }
.nav-links { display: flex; align-items: center; gap: clamp(0.7rem, 1.6vw, 1.5rem); list-style: none; margin-left: auto; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  color: var(--ink); text-decoration: none;
  padding: 0.4rem 0.1rem; border-bottom: 2.5px solid transparent; transition: border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav-cta { margin-left: 0.4rem; }
.nav-cta .btn {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 0.6rem 1.2rem; box-shadow: 0 4px 0 rgba(34,34,34,0.16);
}

.nav-burger { display: none; margin-left: auto; background: none; border: 2.5px solid var(--blue); border-radius: 8px; padding: 0.45rem 0.6rem; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 3px; background: var(--blue); border-radius: 2px; margin: 4px 0; }

@media (max-width: 1020px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--milk); border-bottom: 2px solid var(--blue);
    flex-direction: column; align-items: flex-start; padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.4rem; gap: 0.9rem;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .nav-cta { margin-left: 0; }
}

/* ---------- Header dropdowns + mega-menu (rl26-wpmd-a9f3c7e2d1b8) ---------- */
.nav-links > li { position: relative; }
.dd-toggle {
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 0.4rem 0.1rem; border-bottom: 2.5px solid transparent; line-height: 1.2;
  display: inline-flex; align-items: center; gap: 0.3rem; transition: border-color 0.15s ease;
}
.dd-toggle:hover, .dd-toggle[aria-expanded="true"] { border-bottom-color: var(--yellow); }
.dd-caret { width: 9px; height: 9px; transition: transform 0.2s ease; }
.dd-toggle[aria-expanded="true"] .dd-caret { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(34, 34, 34, 0.16); padding: 1rem 1.1rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s; z-index: 210;
}
.dd-panel.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.dd-panel ul { list-style: none; margin: 0; padding: 0; min-width: 210px; }
.dd-panel a { display: block; padding: 0.5rem 0.6rem; border-radius: 8px; font-weight: 500; font-size: 0.9rem; color: var(--ink); border-bottom: 0; white-space: nowrap; }
.dd-panel a:hover { background: var(--blue-wash); color: var(--blue); border-bottom-color: transparent; }
.mega {
  left: 50%; transform: translate(-50%, -6px);
  display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)) 250px; gap: 1.4rem;
  padding: 1.5rem 1.7rem; width: max-content; max-width: min(94vw, 940px);
}
.mega.open { transform: translate(-50%, 0); }
.mega-h { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--blue); margin: 0 0 0.5rem; padding: 0 0.6rem; }
.mega .mega-all { color: var(--blue); font-weight: 700; }
.mega-feature { display: block; position: relative; border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--milk); border: 1px solid var(--border); }
.mega-feature img { display: block; width: 100%; height: 148px; object-fit: cover; }
.mega-feature-tag { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.62rem; padding: 0.25em 0.7em; border-radius: 4px; }
.mega-feature-title { display: block; padding: 0.7rem 0.8rem 0.9rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; color: var(--ink); }
.mega-feature:hover .mega-feature-title { color: var(--blue); }
@media (max-width: 1020px) {
  .nav-links > li { position: static; width: 100%; border-bottom: 1px solid var(--border); }
  .dd-toggle { width: 100%; justify-content: space-between; padding: 0.75rem 0.1rem; font-size: 1rem; }
  .dd-panel, .mega {
    position: static; transform: none !important; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0.6rem;
    display: none; width: auto; max-width: none; grid-template-columns: 1fr; gap: 0.3rem; background: transparent;
  }
  .dd-panel.open { display: block; } .mega.open { display: grid; }
  .dd-panel::before { display: none; }
  .dd-panel ul { min-width: 0; }
  .mega-h { padding: 0.5rem 0.6rem 0; }
  .mega-feature { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.section--tight { padding: clamp(2rem, 4.5vw, 3.2rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(1.6rem, 4vw, 2.8rem); }
.section-head .h-sect { margin: 0.8rem 0 0.6rem; }

/* soft blue wash band (like mockup challenge band) */
.wash {
  background:
    radial-gradient(120% 90% at 12% 20%, rgba(23,56,255,0.14) 0%, transparent 60%),
    radial-gradient(130% 100% at 88% 80%, rgba(23,56,255,0.12) 0%, transparent 55%),
    var(--blue-wash);
  border-radius: 22px;
}

/* splash decorations */
.splash { position: absolute; z-index: 0; pointer-events: none; }

/* ---------- Challenge signup ---------- */
.signup-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.signup-row .field {
  flex: 1 1 210px; font-family: var(--font-body); font-size: 1rem;
  padding: 0.9rem 1.1rem; border: 2px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--ink);
}
.signup-row .field:focus { outline: none; border-color: var(--blue); }
.form-msg { margin-top: 0.8rem; font-weight: 600; font-size: 0.92rem; min-height: 1.3em; }
.form-msg.success { color: var(--blue); }
.form-msg.error { color: #c0261d; }
.hp-wrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.6rem); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* grid/flex children must be allowed to shrink below intrinsic image widths */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .icon-row > *, .social-strip > *,
.hero-collage > *, .hero-grid > *, .recipe-hero > *, .recipe-cols > * { min-width: 0; }

/* ---------- Stat tiles ---------- */
.stat { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); color: var(--blue); line-height: 1; }
.stat .lbl { font-weight: 600; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }
.stat .src { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: 0.8rem; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; color: var(--ink); }
.faq details[open] { border-color: var(--blue); }
.faq details p { margin-top: 0.7rem; color: #3a3a3a; }

/* ---------- Timeline (heritage) ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3.5px; background: var(--blue); border-radius: 2px; opacity: 0.3; }
.tl-item { position: relative; padding: 0 0 2rem 1.2rem; }
.tl-item::before { content: ""; position: absolute; left: -2rem; top: 0.35em; width: 19px; height: 19px; border-radius: 50%; background: var(--yellow); border: 3.5px solid var(--blue); }
.tl-when { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.02em; }
.tl-item h3 { font-size: 1.15rem; margin: 0.2rem 0 0.35rem; }
.tl-item p { color: #3a3a3a; font-size: 0.95rem; max-width: 58ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--milk); border-top: 2px solid var(--blue); margin-top: clamp(2rem, 6vw, 4rem); padding: clamp(2.2rem, 5vw, 3.5rem) 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.f-brand img { width: 92px; transform: rotate(-6deg); }
.f-brand .marker { font-size: 1.05rem; margin-top: 0.6rem; }
.f-h { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.8rem; }
.f-links { list-style: none; }
.f-links li { margin-bottom: 0.5rem; }
.f-links a { color: #3a3a3a; text-decoration: none; font-size: 0.93rem; }
.f-links a:hover { color: var(--blue); }
.f-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1.5px solid var(--border); margin-top: 2.2rem; padding-top: 1.1rem; }
.f-legal span, .f-legal a { font-family: var(--font-display); font-weight: 400; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(34,34,34,0.6); text-decoration: none; }

/* ---------- Hero (homepage) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.6rem, 6vw, 4.5rem); }
#hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy .marker { font-size: clamp(1rem, 2.2vw, 1.3rem); }
.hero-sub { margin: 1.1rem 0 1.5rem; font-family: var(--font-marker); color: var(--blue); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 34ch; }
.hero-ctas { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-collage { position: relative; min-height: 420px; }
.hero-collage .print { position: absolute; }
/* Full-bleed globe hero — heritage globe app in /embed mode fills the hero,
   copy overlaid bottom-left over a milk fade (mirrors the globe app's own hero) */
.hero--globe { padding: 0; }
.hero-globe-full { position: relative; width: 100%; height: clamp(600px, 92vh, 960px); }
.hero-globe-full iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hgf-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, var(--milk) 0%, rgba(247,244,239,0.72) 42%, transparent 100%); }
.hgf-overlay { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; pointer-events: none; }
.hgf-overlay .container { width: 100%; padding-bottom: clamp(1.6rem, 4vw, 3rem); }
.hgf-copy { max-width: 640px; }
.hgf-copy .btn, .hgf-copy .link-arrow { pointer-events: auto; }
/* Mobile: stack instead of overlay — copy over the busy globe texture is unreadable at small sizes */
@media (max-width: 920px) {
  .hero-globe-full { height: auto; }
  .hero-globe-full iframe { position: relative; height: clamp(340px, 105vw, 520px); }
  .hgf-fade { display: none; }
  .hgf-overlay { position: static; display: block; pointer-events: auto; }
  .hgf-overlay .container { padding-top: 0.5rem; padding-bottom: 2.4rem; }
}
@media (max-width: 920px) {
  .hero-collage { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1rem; }
  .hero-collage .print { position: static !important; width: auto !important; transform: rotate(0) !important; }
  .hero-collage .stk, .hero-collage .h-seal { display: none; }
}

/* date seal */
.h-seal { position: absolute; z-index: 4; width: clamp(96px, 12vw, 150px); filter: drop-shadow(0 6px 14px rgba(34,34,34,0.18)); }

/* ---------- Icon row ---------- */
.icon-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 980px) { .icon-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .icon-row { grid-template-columns: repeat(2, 1fr); } }
.icon-tile { text-align: center; text-decoration: none; color: var(--ink); padding: 1rem 0.6rem; border-radius: 12px; }
.icon-tile:hover { background: #fff; }
.icon-tile .ic { width: 64px; height: 64px; margin: 0 auto 0.6rem; border: 2.5px solid var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; }
.icon-tile .ic svg { width: 30px; height: 30px; stroke: var(--blue); }
.icon-tile .t { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--blue); }
.icon-tile .d { font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }

/* ---------- Social strip ---------- */
.social-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
@media (max-width: 900px) { .social-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .social-strip { grid-template-columns: repeat(2, 1fr); } }
.social-strip figure { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.social-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-strip figcaption {
  position: absolute; left: 8px; bottom: 8px; background: rgba(34,34,34,0.82); color: #fff;
  font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3em 0.6em; border-radius: 4px;
  max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Supporters ---------- */
.supporters-row { display: flex; align-items: center; justify-content: center; gap: clamp(1.6rem, 5vw, 3rem); flex-wrap: wrap; }
.supporters-label { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.foodfacts-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; text-transform: lowercase; color: #0a5bff; text-decoration: none; }
.foodfacts-logo .dot { color: var(--yellow); -webkit-text-stroke: 1px #0a5bff; }
.sup-img { display: inline-flex; align-items: center; }
.sup-img img { display: block; width: auto; }
.sup-img.ajp img { height: clamp(2.4rem, 6vw, 2.9rem); }
.sup-img.viva img { height: clamp(2rem, 5vw, 2.5rem); }
.sup-img.gv img { height: clamp(2.1rem, 5.5vw, 2.6rem); }
.sup-img.proveg img { height: clamp(2.1rem, 5.5vw, 2.6rem); }

/* ---------- Recipe page ---------- */
.recipe-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .recipe-hero { grid-template-columns: 1fr; } }
.recipe-facts { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.1rem 0; }
.rfact { background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 0.55rem 0.95rem; font-size: 0.9rem; font-weight: 600; }
.rfact b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue); font-weight: 700; margin-right: 0.35em; }
.recipe-cols { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 860px) { .recipe-cols { grid-template-columns: 1fr; } }
.ingredients { background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 96px; }
.ingredients h2 { font-size: 1.35rem; color: var(--blue); margin-bottom: 0.9rem; }
.ingredients ul { list-style: none; }
.ingredients li { padding: 0.5rem 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.ingredients li:last-child { border-bottom: none; }
.steps { counter-reset: step; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1em;
  width: 2.35rem; height: 2.35rem; border-radius: 50%; border: 3px solid var(--blue);
  background: #fff; color: var(--blue); font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.steps p { color: #3a3a3a; font-size: 0.97rem; max-width: 60ch; }

/* breadcrumbs */
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* print styles for recipes */
@media print {
  .site-header, .site-footer, .no-print, #hero-fx { display: none !important; }
  body { background: #fff; }
  .ingredients { position: static; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; }
.rel { position: relative; } .z2 { position: relative; z-index: 2; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 0.6rem 1rem; z-index: 999; font-weight: 700; }
.skip-link:focus { left: 0; }

/* forensic signature anchor — do not remove */
.wpmd-rl26-wpmd-a9f3c7e2d1b8 { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0.001; pointer-events: none; font-size: 1px; }

/* ---- Homepage-style nav brand on campaign pages ---- */
.nav-brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.nb-stamp { width: 56px; height: 56px; flex: 0 0 56px; border: 2.5px solid var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; color: var(--blue); letter-spacing: 0.05em; }
.nb-word { display: flex; flex-direction: column; }
.nb-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase;
  color: var(--ink); letter-spacing: 0.04em; line-height: 1; }
.nb-sub { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.2em; margin-top: 3px; }
@media (max-width: 600px) { .nb-word { display: none; } }
.btn-pledge { font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.9rem; background: var(--blue); color: #fff !important;
  padding: 0.55rem 1.3rem; border-radius: 999px; border-bottom: none !important; transition: opacity 0.2s; }
.btn-pledge:hover { opacity: 0.9; border-bottom: none !important; }

/* ---- Pledge modal (mirror of the homepage modal) ---- */
.pledge-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center;
  justify-content: center; padding: 1rem; }
.pledge-modal[hidden] { display: none; }
.pm-backdrop { position: absolute; inset: 0; background: rgba(34,34,34,0.45); backdrop-filter: blur(4px); }
.pm-card { position: relative; background: #fff; border: 2px solid var(--blue); border-radius: 18px;
  max-width: 460px; width: 100%; padding: 1.9rem 1.9rem 1.5rem; box-shadow: 0 24px 70px rgba(0,0,0,0.25); }
.pm-card::after { content: ""; display: block; height: 4px; background: var(--yellow);
  border-radius: 2px; margin: 1.2rem -1.9rem -1.5rem; }
.pm-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; font-size: 18px; line-height: 1; cursor: pointer; }
.pm-card .signup-row { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.1rem; }
.pm-card .signup-row .field { width: 100%; flex: 0 0 auto; }
.pm-card .signup-row .btn { justify-content: center; }

/* ---------- footer star-sparkles: a little more joy (rl26) ---------- */
.site-footer .container { position: relative; }
.f-spark {
  position: absolute; line-height: 1; pointer-events: none; z-index: 0;
  animation: fspark 2.8s ease-in-out infinite; opacity: .8;
}
@keyframes fspark {
  0%, 100% { transform: scale(.65) rotate(0deg); opacity: .4; }
  50% { transform: scale(1.15) rotate(18deg); opacity: 1; }
}

/* ----- language switcher ----- */
.lang-dd { margin-left: 0.2rem; }
.lang-toggle { white-space: nowrap; }
.lang-globe { font-size: 1rem; line-height: 1; }
.lang-dd .dd-panel { left: auto; right: 0; }
.lang-panel ul { min-width: 175px; }
.lang-panel a.lang-current { background: var(--blue-wash); color: var(--blue); font-weight: 700; }
@media (max-width: 1020px) {
  .lang-dd .dd-panel { left: 0; right: auto; }
}

/* ----- challenge signup modal ----- */
#pledge-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
#pledge-modal[hidden] { display: none; }
.pledge-backdrop { position: absolute; inset: 0; background: rgba(16, 16, 16, 0.55); }
.pledge-card { position: relative; background: var(--milk, #faf8f2); border-radius: 18px; padding: 2rem 1.8rem 1.5rem; max-width: 430px; width: calc(100% - 2.4rem); max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28); }
.pledge-card h3 { font-size: 1.45rem; line-height: 1.15; padding-right: 1.4rem; }
.pledge-sub { margin-top: 0.6rem; color: #3a3a3a; font-size: 0.95rem; }
.pledge-card form { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1.1rem; }
.pledge-card input[type="text"]:not(.hp-wrap input), .pledge-card input[type="email"], .pledge-country { padding: 0.7rem 0.8rem; border: 2px solid var(--border, #d8d4c9); border-radius: 10px; font: inherit; background: #fff; width: 100%; }
.pledge-country-label { font-size: 0.85rem; font-weight: 600; margin-bottom: -0.35rem; }
.pledge-note { margin-top: 0.8rem; font-size: 0.85rem; color: #5f5b54; text-align: center; }
.pledge-x { position: absolute; top: 0.55rem; right: 0.8rem; background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; color: #3a3a3a; }

/* ----- brand support form ----- */
.brand-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-top: 0.65rem; }
.brand-form input:not([type="file"]) { width: 100%; padding: 0.65rem 0.8rem; border: 2px solid var(--border); border-radius: 10px; background: #fff; font: inherit; font-weight: 400; margin-top: 0.3rem; }
.brand-form input[type="file"] { display: block; margin-top: 0.3rem; font-weight: 400; }
.brand-form button { margin-top: 1rem; }
