/*
 * The Warm Door — shared look for the five Warm Door pages:
 * campaigns.html (the hub), pink-shield.html, coffee.html, gold-coin.html, grants.html.
 *
 * One file on purpose. The five pages each carried their own copy of the same
 * styles and drifted apart; the claims drifted with them.
 *
 * Rules this file keeps:
 *  - Every animation has its END state as the base style. Reduced motion just
 *    switches the animation off and the page is already finished.
 *  - Nothing loops forever. Motion plays once, when it has something to say.
 *  - The help strip never animates. Someone in trouble must not wait for it.
 *  - Never overflow-x:hidden on body (it breaks sticky and hides buttons).
 *    Rows that can be wider than a phone scroll inside themselves.
 */

:root {
  --bg: #07090e;
  --bg-2: #0c0f17;
  --panel: #111622;
  --panel-2: #161e2e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 157, 47, 0.25);
  --ink: #ededed;
  --muted: #a3adc2;
  --faint: #707d96;
  --amber: #ff9d2f;
  --cream: #ffae4d;
  --pink: #ff6fb3;
  --gold: #ff9d2f;
  --gold-2: #ff8000;
  --coffee: #ff9d2f;
  --bully: #ff4d6a;
  --live: #6fd39a;
  --accent: var(--amber);
  --on-accent: #07090e;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1120px;
  --r: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

body[data-room='pink'] { --accent: var(--pink); }
body[data-room='coffee'] { --accent: var(--coffee); }
body[data-room='gold'] { --accent: var(--gold); }
body[data-room='grants'] { --accent: var(--cream); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100dvh;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cream); color: #160d05; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.wd-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 10, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.wd-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 26px; height: 32px; }
.brand-word {
  font-family: var(--serif); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase;
  border-block: 1px solid rgba(255, 157, 47, 0.55); padding: 3px 0 2px;
}
.wd-nav { margin-left: auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
@media (max-width: 899px) {
  .wd-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 64px 44px; column-gap: 12px; row-gap: 0; }
  .wd-nav { grid-column: 1 / -1; grid-row: 2; margin-left: 0; width: 100%; }
  .quick-exit { grid-column: 2; grid-row: 1; }
  /* The room list scrolls inside itself on a phone; the fade says there is more. */
  .wd-nav { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
}
.wd-nav::-webkit-scrollbar { display: none; }
.wd-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.wd-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 600; font-size: 0.95rem; color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.wd-nav a:hover { color: var(--ink); }
.wd-nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Help strip: static, calm, always there ---------- */
.wd-help { background: #120f0d; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.wd-help .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-block: 8px; }
.wd-help strong { color: var(--cream); font-weight: 700; }
.wd-help a { color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.wd-help a span { color: var(--muted); font-weight: 500; margin-right: 6px; }
.wd-help a:hover { text-decoration: underline; }
.wd-help .more { color: var(--muted); font-weight: 500; }

/* ---------- Quick exit ---------- */
.quick-exit {
  position: static; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  background: #f5ede3; color: #160d05; border: 0; border-radius: 999px;
  font: 700 0.95rem/1 var(--sans); cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
.quick-exit:hover { background: #fff; }
.quick-exit kbd { font: 600 0.75rem/1 var(--sans); border: 1px solid rgba(22, 13, 5, 0.35); border-radius: 5px; padding: 3px 5px; }
@media (hover: none) { .quick-exit kbd { display: none; } }

/* ---------- Type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 0.8rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; transform-origin: left; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, background-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease-out); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---------- Status chips: words carry the meaning, the dot only decorates ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font: 600 0.85rem/1.2 var(--sans); background: rgba(255, 232, 204, 0.06); border: 1px solid var(--line-2); color: var(--ink);
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex-shrink: 0; }
.chip.live::before { background: var(--live); }
.chip.building::before { background: var(--amber); }

/* ---------- Sections ---------- */
.band { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.band + .band { border-top: 1px solid var(--line); }
.band-head { max-width: 760px; margin-bottom: 40px; }
.band-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); margin-top: 14px; }
.band-head p { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: clip; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(60% 55% at 50% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: clamp(2.8rem, 1.6rem + 6vw, 5.6rem); font-weight: 800; margin-top: 18px; }
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 600; }
.hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); color: var(--cream); margin: 14px 0 18px; }
.hero .chip { margin-top: 6px; }
.hero-art { display: grid; place-items: center; min-height: 260px; }
/* Phones: the art goes first and smaller, so the door opens on the first screen,
   not below the fold where nobody sees it play. */
@media (max-width: 899px) {
  .hero { padding-top: 28px; }
  .hero-art { order: -1; min-height: 0; }
  .hero .door-scene { width: 132px; }
  .hero .shield-art { width: 130px; }
  .hero .cup-art { width: 150px; }
  .hero .coin-scene { width: 120px; }
  .hero .coin { font-size: 1.25rem; }
  .hero .tin::after { font-size: 0.95rem; }
  .ledger { order: 2; }
}

/* Hero copy rises in once, after the art has started. */
.rise { animation: rise 0.9s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Scroll reveal (only hidden when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal .kicker::before { transform: scaleX(0); }
.js .reveal.in .kicker::before { transform: scaleX(1); transition: transform 0.7s var(--ease-out) 0.2s; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  --c: var(--accent);
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}
.card::before { content: ''; position: absolute; inset: 0 28px auto; height: 2px; background: var(--c); border-radius: 2px; opacity: 0.85; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 24px 60px -30px var(--c); }
.card h3 { font-size: 1.75rem; }
.card .tag { font: 700 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); }
.card p { color: var(--muted); margin: 0; }
.card .links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.card .links a { font-weight: 700; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.card .links a:first-child { color: var(--c); }
.card .links a:hover { text-decoration: underline; }
.card .room-icon { width: 46px; height: 46px; color: var(--c); }
.card .nested { font-size: 0.92rem; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; }
.card .nested a { color: var(--ink); font-weight: 700; }

/* ---------- Is / is not ---------- */
.two { display: grid; gap: 18px; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; } }
.list-panel { padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.list-panel h3 { font-size: 1.4rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.list-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.list-panel li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--muted); }
.list-panel li strong { color: var(--ink); }
.mark { width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; display: grid; place-items: center; }
.mark svg { width: 14px; height: 14px; }
.mark.yes { background: rgba(111, 211, 154, 0.16); color: var(--live); }
.mark.no { background: rgba(255, 232, 204, 0.08); color: var(--faint); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.js .reveal .list-panel li { opacity: 0; transform: translateX(-10px); }
.js .reveal.in .list-panel li { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.js .reveal.in .list-panel li:nth-child(2) { transition-delay: 0.08s; }
.js .reveal.in .list-panel li:nth-child(3) { transition-delay: 0.16s; }
.js .reveal.in .list-panel li:nth-child(4) { transition-delay: 0.24s; }
.js .reveal.in .list-panel li:nth-child(5) { transition-delay: 0.32s; }
.js .reveal.in .list-panel li:nth-child(6) { transition-delay: 0.4s; }
.js .reveal .mark.yes svg path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.js .reveal.in .mark.yes svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease-out) 0.35s; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px;
  font: 800 2rem/1 var(--serif); color: var(--accent);
}
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }
.steps .chip { margin-top: 14px; }

/* ---------- Big quote: words light up one by one ---------- */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 18ch; font: 700 clamp(2.2rem, 1.4rem + 4vw, 4.4rem)/1.08 var(--serif); }
.quote-band .w { display: inline-block; }
.js .quote-band.reveal .w { opacity: 0.12; }
.js .quote-band.reveal.in .w { opacity: 1; transition: opacity 0.6s var(--ease-out); transition-delay: calc(var(--i) * 0.12s + 0.15s); }
.quote-band .w.hot { color: var(--accent); font-style: italic; }
.quote-band cite { display: block; margin-top: 22px; font: 600 1rem/1.4 var(--sans); font-style: normal; color: var(--muted); }

/* ---------- Notice (safety-critical facts) ---------- */
.notice {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 22px 24px; border-radius: var(--r); background: #191210; border: 1px solid rgba(255, 157, 47, 0.35);
}
.notice svg { width: 28px; height: 28px; color: var(--amber); }
.notice p { margin: 0; color: var(--muted); }
.notice strong { color: var(--ink); }

/* ---------- Help lines ---------- */
.lines { display: grid; gap: 12px; }
@media (min-width: 640px) { .lines { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lines { grid-template-columns: repeat(3, 1fr); } }
.line {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; min-height: 44px;
  transition: border-color 0.2s, background-color 0.2s;
}
.line:hover { border-color: var(--line-2); background: var(--panel-2); }
.line .name { font-weight: 700; color: var(--ink); }
.line .num { font: 700 1.35rem/1.2 var(--sans); color: var(--cream); letter-spacing: 0.02em; }
.line .what { font-size: 0.92rem; color: var(--muted); }
.line.danger { border-color: rgba(239, 68, 68, 0.45); }
.line.danger .num { color: #ff8a8a; }
.lines-note { margin-top: 18px; font-size: 0.92rem; color: var(--faint); }

/* ---------- Media ---------- */
.media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #000; }
.media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-note { font-size: 0.9rem; color: var(--faint); margin-top: 10px; }

/* ---------- Room strip (every page links to every room) ---------- */
.rooms-strip { display: grid; gap: 12px; }
@media (min-width: 700px) { .rooms-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .rooms-strip { grid-template-columns: repeat(5, 1fr); } }
.room-link {
  --c: var(--amber);
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--c);
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.room-link:hover { transform: translateY(-3px); background: var(--panel-2); }
.room-link b { font-family: var(--serif); font-size: 1.2rem; }
.room-link span { font-size: 0.9rem; color: var(--muted); }
.room-link[aria-current='page'] { opacity: 0.55; pointer-events: none; }

/* ---------- Footer ---------- */
.wd-foot { border-top: 1px solid var(--line); padding: 48px 0 110px; background: #0a0908; color: var(--muted); font-size: 0.95rem; }
.wd-foot .cols { display: grid; gap: 28px; }
@media (min-width: 820px) { .wd-foot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.wd-foot h4 { margin: 0 0 10px; font: 700 0.8rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.wd-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wd-foot a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.wd-foot a:hover { color: var(--ink); text-decoration: underline; }
.wd-foot .fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--faint); }

/* ---------- Forms (grants) ---------- */
.form { display: grid; gap: 16px; padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
@media (min-width: 720px) { .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: #110e0c; color: var(--ink); border: 1.5px solid var(--line-2); font: 500 1rem/1.4 var(--sans);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cream); }
.form .help { font-size: 0.9rem; color: var(--faint); margin: 0; }
.form-status { min-height: 1.4em; color: var(--live); font-weight: 600; margin: 0; }

/* =================================================================
   Hero art — one signature per page
   ================================================================= */

/* --- The door (hub). Base = open; the animation plays from closed. --- */
.door-scene { position: relative; width: min(300px, 70vw); aspect-ratio: 3 / 4.3; perspective: 1100px; }
.door-glow {
  position: absolute; inset: -30% -40%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 170, 70, 0.4), rgba(255, 120, 40, 0.12) 55%, transparent 75%);
  animation: glowOn 1.6s var(--ease-out) 0.7s both;
}
.door-frame {
  position: absolute; inset: 0; border-radius: 6px 6px 2px 2px;
  background: #24170f; box-shadow: inset 0 0 0 10px #3a2516, inset 0 0 0 12px #1a100a, 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.door-light {
  position: absolute; inset: 12px 12px 0; border-radius: 2px;
  background: radial-gradient(120% 90% at 30% 60%, #fff3dc 0%, #ffd08a 30%, #ff9d2f 65%, #b54d12 100%);
  animation: glowOn 1.4s var(--ease-out) 0.6s both;
}
.door-rays {
  position: absolute; left: -40%; right: -40%; top: 100%; height: 60%;
  background: linear-gradient(180deg, rgba(255, 200, 120, 0.4), rgba(255, 160, 70, 0.1) 55%, transparent 90%);
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  transform-origin: top; animation: spill 1.6s var(--ease-out) 0.85s both;
}
.door-panel {
  position: absolute; inset: 12px 12px 0; border-radius: 2px;
  transform-origin: left center; transform: rotateY(-64deg);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.3)),
    repeating-linear-gradient(90deg, #5a3a22 0 22%, #4e321d 22% 23%),
    #5a3a22;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 170, 0.08), 12px 0 30px rgba(0, 0, 0, 0.45);
  animation: doorOpen 1.9s var(--ease-out) 0.35s both;
}
.door-panel::before, .door-panel::after {
  content: ''; position: absolute; left: 14%; right: 14%; border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.28), inset 0 0 0 3px rgba(255, 220, 170, 0.07);
}
.door-panel::before { top: 9%; height: 36%; }
.door-panel::after { bottom: 8%; height: 40%; }
.door-knob {
  position: absolute; right: 9%; top: 52%; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe6a8, #d4af37 55%, #7a5a14);
}
@keyframes doorOpen { from { transform: rotateY(0deg); } 30% { transform: rotateY(-6deg); } }
@keyframes glowOn { from { opacity: 0; } }
@keyframes spill { from { opacity: 0; transform: scaleY(0.2); } }

/* --- The shield (Pink Shield). Draws its outline, then fills. --- */
.shield-art { width: min(300px, 68vw); color: var(--pink); filter: drop-shadow(0 20px 50px rgba(255, 111, 179, 0.35)); }
.shield-art .outline { stroke-dasharray: 1000; stroke-dashoffset: 0; animation: draw 1.8s var(--ease-out) 0.2s both; }
.shield-art .fill { animation: glowOn 1.2s var(--ease-out) 1.3s both; }
.shield-art .heart { transform-origin: 150px 165px; animation: pop 0.8s var(--ease-spring) 1.7s both; }
@keyframes draw { from { stroke-dashoffset: 1000; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } }

/* --- The coin and the tin (Gold Coin). The coin drops in once. --- */
.coin-scene { position: relative; width: min(280px, 66vw); aspect-ratio: 1 / 1.15; }
.coin {
  position: absolute; left: 50%; top: 4%; width: 46%; aspect-ratio: 1; margin-left: -23%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b8 0%, #f0cf5a 22%, #d4af37 48%, #9c7a1c 100%);
  box-shadow: inset 0 0 0 6px rgba(122, 90, 20, 0.55), inset 0 0 0 9px rgba(255, 236, 160, 0.5), 0 18px 40px -12px rgba(212, 175, 55, 0.6);
  display: grid; place-items: center; color: #6b4f0e; font: 800 2.4rem/1 var(--serif);
  transform: translateY(40%);
  animation: coinDrop 1.6s ease-in 0.3s both, coinSpin 1.3s var(--ease-out) 0.3s both;
}
.tin {
  position: absolute; left: 14%; right: 14%; bottom: 0; height: 46%;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(90deg, #2c2620, #5b5146 30%, #3a332c 60%, #221d18);
  box-shadow: inset 0 6px 0 rgba(255, 255, 255, 0.06), 0 26px 50px -18px rgba(0, 0, 0, 0.9);
  animation: clink 0.5s var(--ease-out) 1.3s both;
}
.tin::before {
  content: ''; position: absolute; left: 22%; right: 22%; top: 10%; height: 10px; border-radius: 6px; background: #0b0908;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tin::after {
  content: 'IN'; position: absolute; inset: auto 0 22% 0; text-align: center;
  font: 800 1.6rem/1 var(--serif); letter-spacing: 0.2em; color: var(--gold);
}
@keyframes coinDrop { from { transform: translateY(-110%); } 62% { transform: translateY(46%); } 80% { transform: translateY(32%); } }
@keyframes coinSpin { from { rotate: y 0deg; } to { rotate: y 1080deg; } }
@keyframes clink { 0% { transform: none; } 30% { transform: translateY(4px) rotate(-1.5deg); } 60% { transform: translateY(-1px) rotate(1deg); } }

/* --- The cup (Coffee). Steam rises three times, then rests. --- */
.cup-art { width: min(290px, 66vw); }
.cup-art .steam path { stroke-dasharray: 120; animation: steam 3.2s ease-in-out 0.4s 3 both; }
.cup-art .steam path:nth-child(2) { animation-delay: 0.9s; }
.cup-art .steam path:nth-child(3) { animation-delay: 1.4s; }
.cup-art .cup { animation: rise 1s var(--ease-out) both; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(14px); stroke-dashoffset: 120; }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-16px); stroke-dashoffset: 0; }
}

/* --- Grants: the ledger of what is built and what is not --- */
.ledger { display: grid; gap: 18px; width: 100%; }
.ledger .list-panel { background: rgba(27, 22, 18, 0.85); }

/* =================================================================
   Reduced motion: switch everything off. Base styles are the end state.
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal .list-panel li { opacity: 1; transform: none; }
  .js .reveal .kicker::before { transform: none; }
  .js .reveal .mark.yes svg path { stroke-dashoffset: 0; }
  .js .quote-band.reveal .w { opacity: 1; }
  .cup-art .steam path { opacity: 0.6; }
}

/* Print: no fixed buttons, no dark ink wasted. */
@media print {
  .quick-exit, .wd-nav, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* Original campaign illustrations; all text remains available as HTML. */
.wd-campaign-art figure{margin:0;border:1px solid var(--line,#694825);border-radius:22px;overflow:hidden;background:#17130f}.wd-campaign-art img{display:block;width:100%;height:auto}.wd-campaign-art figcaption{padding:18px 22px;font-size:14px;line-height:1.7;color:#c4b4a3}.wd-campaign-art figcaption a{color:#FF9D2F;text-underline-offset:4px}
