/* Heartswill store · brand system matches heartswill.com (rose #c00e29, Outfit display, Manrope body) */
@font-face { font-family: "Outfit"; font-weight: 300; font-display: swap; src: url(/assets/fonts/outfit-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url(/assets/fonts/outfit-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url(/assets/fonts/outfit-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url(/assets/fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url(/assets/fonts/manrope-latin-700-normal.woff2) format("woff2"); }

:root {
  --ink: #1f1c22; --paper: #fdfbfb; --card: #ffffff; --line: #f0e6e8; --blush: #fdf1f2; --blush-2: #fbe4e7;
  --rose: #c00e29; --coral: #e74040; --deep: #7a0000; --leaf: #2f7a5a; --mute: #57525c; --warn: #a3501b;
  --heart: var(--rose); --heart-soft: var(--blush);
  --display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(122,0,0,.04), 0 12px 40px -18px rgba(122,0,0,.18);
  --shadow-lg: 0 2px 4px rgba(122,0,0,.04), 0 30px 80px -30px rgba(122,0,0,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f3eff1; --paper: #141216; --card: #1c191f; --line: #2e282f; --blush: #211a1e; --blush-2: #2a2026;
    --rose: #ff5a6e; --coral: #ff7f7f; --deep: #ffb3bd; --leaf: #6cc79c; --mute: #aaa3a8; --warn: #f0a46b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 80px -30px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --ink: #f3eff1; --paper: #141216; --card: #1c191f; --line: #2e282f; --blush: #211a1e; --blush-2: #2a2026;
    --rose: #ff5a6e; --coral: #ff7f7f; --deep: #ffb3bd; --leaf: #6cc79c; --mute: #aaa3a8; --warn: #f0a46b;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 80px -30px rgba(0,0,0,.7);
    color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 300; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 300; letter-spacing: -.03em; }
h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--rose); }
p { margin: 0; max-width: 62ch; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 99; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.eyebrow { font: 600 .74rem/1 var(--body); text-transform: uppercase; letter-spacing: .18em; color: var(--rose); }
.lede { font-size: 1.16rem; color: var(--mute); line-height: 1.75; }
.muted { color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
header.site .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.logo-wrap { background: #fff; border-radius: 12px; padding: 3px 7px; display: inline-block; line-height: 0; }
.logo-wrap img { height: 46px; width: auto; display: block; }
nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--mute); transition: color .2s, background .2s; }
nav.main a:hover { color: var(--ink); background: var(--blush); }
@media (max-width: 820px) { nav.main { display: none; } .nav-actions { margin-left: auto; } }

/* Buttons */
.btn { appearance: none; border: 0; border-radius: 999px; padding: 14px 26px; font: 600 .98rem var(--body); cursor: pointer; background: var(--ink); color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.heart, .btn.warm { background: var(--rose); color: #fff; box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--rose) 70%, transparent); }
.btn.heart:hover, .btn.warm:hover { background: var(--deep); }
.btn.ghost, .btn.alt { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover, .btn.alt:hover { border-color: var(--mute); }
.btn.small { padding: 9px 16px; font-size: .9rem; }
.bag-count { background: var(--rose); color: #fff; border-radius: 999px; font-size: 12px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
main { display: block; }
section.block { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.band { background: var(--blush); border-radius: 36px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }

/* Hero */
.hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero::before { content: ""; position: absolute; inset: -120px -10% auto auto; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--rose) 13%, transparent), transparent 65%); z-index: -1; pointer-events: none; }
.hero h1 { margin: 18px 0 22px; }
.hero .lede { margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--blush); color: var(--rose); font-weight: 600; font-size: .84rem; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 18%, transparent); animation: hwping 2.4s ease-out infinite; }
.trust { display: flex; gap: 32px; flex-wrap: wrap; color: var(--mute); font-size: .9rem; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust b { display: block; color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-art .disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--card) 0 34%, var(--blush) 35% 100%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; display: grid; place-items: center; }
.hero-art .centre .logo-wrap img { height: auto; width: 100%; max-width: 132px; }
.orbit-ring { transform-origin: 50% 50%; animation: hwspin 80s linear infinite; }
.orbit-ring.rev { animation-duration: 110s; animation-direction: reverse; }
.float-heart { animation: hwbob 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* Story */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-quote { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -.02em; }
.story-quote em { font-style: normal; color: var(--rose); }
.story-body { display: grid; gap: 20px; font-size: 1.08rem; color: var(--mute); }
.story-body p:first-child::first-letter { font-family: var(--display); font-size: 3.4em; float: left; line-height: .85; margin: .06em .1em 0 0; color: var(--rose); font-weight: 300; }
.signature { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--ink); font-weight: 600; }
.signature span { color: var(--mute); font-weight: 400; }

/* Purpose pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar p { color: var(--mute); }
.ico { width: 28px; height: 28px; color: var(--rose); padding: 9px; box-sizing: content-box; border-radius: 16px; background: var(--blush); display: block; }
.measure { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 28px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.stat b { display: block; font: 300 2.4rem/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--mute); font-size: .9rem; }

/* How it works */
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
@media (max-width: 960px) { ol.steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { ol.steps { grid-template-columns: 1fr; } }
ol.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow); }
ol.steps li::before { content: counter(s, decimal-leading-zero); font: 500 .85rem var(--display); color: var(--rose); letter-spacing: .08em; }
ol.steps p { color: var(--mute); font-size: .97rem; }
.heart-math { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; font-family: var(--display); font-size: clamp(1rem, 2vw, 1.25rem); color: var(--mute); }
.heart-math b { color: var(--ink); font-weight: 500; }
.heart-math .op { color: var(--rose); }
.heart-math .pill { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }

/* Launch / product */
.launch-tag { display: inline-flex; gap: 8px; align-items: center; }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; position: sticky; top: 100px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery .main { aspect-ratio: 4 / 5; border-radius: 28px; background: radial-gradient(120% 90% at 30% 20%, var(--card), var(--blush) 60%, var(--blush-2)); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .placeholder { color: var(--mute); font-size: .95rem; text-align: center; padding: 32px; display: grid; gap: 18px; justify-items: center; }
.gallery .placeholder svg { width: 96px; height: 96px; }
.thumbs { display: flex; gap: 10px; } .thumbs button { width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line); padding: 0; overflow: hidden; background: var(--card); cursor: pointer; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product h2 { margin: 14px 0 10px; }
.from { font-size: 1rem; color: var(--mute); margin: 18px 0 24px; }
.from strong { color: var(--ink); font: 400 1.9rem var(--display); letter-spacing: -.02em; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.panel h3 { font: 600 .74rem/1 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--mute); margin: 0 0 16px; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.preset { border: 1.5px solid var(--line); background: var(--card); border-radius: 16px; padding: 14px 8px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.preset:hover { border-color: color-mix(in srgb, var(--rose) 40%, var(--line)); }
.preset:active { transform: scale(.98); }
.preset strong { display: block; font: 500 1.2rem var(--display); }
.preset span { font-size: .82rem; color: var(--mute); }
.preset[aria-pressed="true"] { border-color: var(--rose); background: var(--blush); }
.preset[aria-pressed="true"] span { color: var(--rose); font-weight: 600; }
.custom { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.custom label { font-size: .9rem; color: var(--mute); }
.amount { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.amount:focus-within { border-color: var(--rose); }
.amount span { padding: 0 4px 0 14px; color: var(--mute); }
.amount input { border: 0; background: transparent; width: 110px; padding: 11px 12px 11px 2px; outline: none; font-size: 1.05rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.stepper button { border: 0; background: transparent; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; color: var(--rose); }
.stepper button:disabled { color: var(--mute); opacity: .4; }
.stepper output { min-width: 96px; text-align: center; font-weight: 600; }
.hearts-line { margin-top: 16px; padding: 16px 18px; background: var(--blush); border-radius: 16px; font-size: .98rem; }
.hearts-line strong { color: var(--rose); }
.disclosure { font-size: .9rem; color: var(--mute); margin-top: 10px; }
.error { color: var(--warn); font-size: .9rem; margin-top: 8px; min-height: 1em; }
.causes { display: grid; gap: 10px; }
.cause { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; background: var(--card); transition: border-color .2s, background .2s; }
.cause input { margin-top: 5px; accent-color: var(--rose); }
.cause.selected { border-color: var(--rose); background: var(--blush); }
.cause b { display: block; font: 500 1.05rem var(--display); }
.cause small { color: var(--mute); display: block; font-size: .88rem; }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.buy .btn { flex: 1; min-width: 200px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { border: 0; background: transparent; width: 40px; height: 48px; font-size: 1.1rem; cursor: pointer; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.fine { font-size: .82rem; color: var(--mute); margin-top: 14px; }
.waitlist { display: grid; gap: 12px; }
.waitlist .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .waitlist .two { grid-template-columns: 1fr; } }
.waitlist input[type=text], .waitlist input[type=email] { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; background: var(--paper); }
.waitlist input:focus { border-color: var(--rose); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--mute); }
.check input { margin-top: 4px; accent-color: var(--rose); }
.ok-msg { padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--leaf) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--leaf) 30%, var(--line)); }
.preview-bar { margin: 20px 0 0; padding: 14px 18px; background: var(--blush); border-radius: 16px; }
.preview-bar strong { color: var(--rose); }

/* Closing band */
.closing { text-align: center; display: grid; gap: 20px; justify-items: center; }
.closing .lede { margin: 0 auto; }
.hearts-row { display: flex; gap: 10px; align-items: flex-end; }
.hearts-row svg { animation: hwbob 4s ease-in-out infinite; }
.hearts-row svg:nth-child(2) { animation-delay: .6s; } .hearts-row svg:nth-child(3) { animation-delay: 1.2s; }

/* Bag drawer */
.drawer { position: fixed; inset: 0; display: none; z-index: 50; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(31,28,34,.45); animation: hwfade .25s ease; }
.drawer aside { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--paper); overflow-y: auto; padding: 24px; box-shadow: -8px 0 40px rgba(0,0,0,.15); animation: hwslide .35s var(--ease); }
.drawer header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer h2 { font-size: 1.6rem; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .meta { font-size: .85rem; color: var(--mute); }
.line .problem { color: var(--warn); font-size: .85rem; }
.totals { margin: 16px 0; font-size: .97rem; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font: 500 1.25rem var(--display); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.totals .hearts-line { display: block; margin-top: 12px; }
.totals .fine { font-size: .82rem; }
form.checkout { display: grid; gap: 12px; margin-top: 12px; }
form.checkout .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form.checkout input, form.checkout textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--card); }
form.checkout input:focus { border-color: var(--rose); outline: none; }
form.checkout label { font-size: .85rem; color: var(--mute); display: grid; gap: 5px; font-weight: 600; }
.code { display: flex; gap: 8px; } .code input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; background: var(--card); }
.notice { font-size: .88rem; color: var(--mute); }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: #1f8f4e; color: #fff; border-radius: 999px; padding: 12px 18px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow-lg); }

/* Order page */
.order-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--blush); color: var(--rose); font-size: .8rem; font-weight: 600; text-transform: capitalize; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 8px 0 8px 20px; border-left: 2px solid var(--line); position: relative; font-size: .95rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.timeline time { color: var(--mute); font-size: .8rem; display: block; }
.share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.page { padding: 56px 0 96px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Legal */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 6px; }
.legal h2 { font-size: 1.45rem; font-weight: 400; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--mute); }
.legal p + p { margin-top: 12px; }
.legal .draft { background: #fff4e5; border: 1px solid #f3d29b; color: #7a4b07; padding: 14px 18px; border-radius: 14px; font-size: .9rem; margin-bottom: 28px; }
.legal mark { background: #fff1a8; color: #3d2c00; padding: 0 3px; border-radius: 3px; }
.legal .updated { font-size: .9rem; margin-top: 8px; }
.legal-nav { display: flex; gap: 6px; flex-wrap: wrap; font-size: .9rem; margin: 18px 0 8px; }
.legal-nav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.legal-nav a:hover { border-color: var(--rose); color: var(--rose); }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 88px; font-size: .9rem; color: var(--mute); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; align-items: center; }
footer.site .foot-brand { display: inline-flex; align-items: center; gap: 12px; }
footer.site .foot-brand .logo-wrap img { height: 28px; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { text-decoration: none; } footer.site a:hover { color: var(--rose); }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes hwspin { to { transform: rotate(360deg); } }
@keyframes hwbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hwping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rose) 40%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes hwfade { from { opacity: 0; } }
@keyframes hwslide { from { transform: translateX(40px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Polish layer: editorial accents, brand gradients, subtle motion ===== */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
:root {
  --serif: "Cormorant Garamond", Georgia, serif;
  --grad: linear-gradient(120deg, #ff7070 0%, #e74040 38%, #c00e29 72%, #7a0000 100%);
  --grad-soft: linear-gradient(135deg, #fff6f6 0%, #fdeef0 45%, #fbe2e6 100%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --grad-soft: linear-gradient(135deg, #1d171b 0%, #241b20 50%, #2b1f25 100%); --grad: linear-gradient(120deg, #ff9a8f 0%, #ff6b6b 38%, #ff4d63 72%, #e0203f 100%); } }
:root[data-theme="dark"] { --grad-soft: linear-gradient(135deg, #1d171b 0%, #241b20 50%, #2b1f25 100%); --grad: linear-gradient(120deg, #ff9a8f 0%, #ff6b6b 38%, #ff4d63 72%, #e0203f 100%); }

/* Highlighted words: serif italic in the logo gradient, with a slow sheen */
h1 em, h2 em, .story-quote em {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em;
  font-size: 1.12em; line-height: .9; padding: 0 .04em .06em;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hwsheen 9s ease-in-out infinite;
}
.story-quote { font-family: var(--display); }

/* Gradient primary buttons with a soft lift */
.btn.heart, .btn.warm { background: var(--grad); background-size: 160% 100%; background-position: 0% 50%; transition: background-position .5s var(--ease), transform .15s, box-shadow .3s; }
.btn.heart:hover, .btn.warm:hover { background: var(--grad); background-size: 160% 100%; background-position: 100% 50%; box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--rose) 75%, transparent); transform: translateY(-1px); }
.btn.ghost:hover { background: var(--blush); }

/* Hero: soft mesh light, staggered entrance */
.hero::after { content: ""; position: absolute; inset: auto auto -160px -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #ff7070 12%, transparent), transparent 65%); z-index: -1; pointer-events: none; animation: hwdrift 18s ease-in-out infinite alternate; }
.hero::before { animation: hwdrift 22s ease-in-out infinite alternate-reverse; }
.hero .chip, .hero h1, .hero .lede, .hero .row-btns, .hero .trust { animation: hwrise 1s var(--ease) both; }
.hero h1 { animation-delay: .08s; } .hero .lede { animation-delay: .18s; } .hero .row-btns { animation-delay: .28s; } .hero .trust { animation-delay: .38s; }
.hero-art { animation: hwzoom 1.4s var(--ease) both .15s; }
.hero-art .disc { background: radial-gradient(circle at 50% 45%, var(--card) 0 34%, transparent 34.5%), var(--grad-soft); }
.hero-art .centre { animation: hwbreath 6s ease-in-out infinite; }
.hero-art .centre .logo-wrap { box-shadow: 0 18px 40px -18px rgba(192,14,41,.35); border-radius: 22px; padding: 10px 14px; }

/* Section bands get a gentle gradient and a light edge */
.band { background: var(--grad-soft); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,112,112,.35), transparent 40%, transparent 60%, rgba(192,14,41,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* Cards: gradient icon tiles, hairline glow on hover */
.ico { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(192,14,41,.55); }
.pillar, ol.steps li { position: relative; }
.pillar::after, ol.steps li::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: var(--grad); opacity: 0; z-index: -1; transition: opacity .4s var(--ease); }
.pillar:hover::after, ol.steps li:hover::after { opacity: .5; }
ol.steps li { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
ol.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
ol.steps li::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.6rem; font-weight: 300; letter-spacing: -.02em; }

/* Reveal: stagger siblings */
.pillars .reveal:nth-child(2), ol.steps .reveal:nth-child(2) { transition-delay: .08s; }
.pillars .reveal:nth-child(3), ol.steps .reveal:nth-child(3) { transition-delay: .16s; }
ol.steps .reveal:nth-child(4) { transition-delay: .24s; }

/* Product: gradient frame, beating heart, gentle shine */
.gallery .main { background: radial-gradient(120% 90% at 30% 20%, var(--card), transparent 60%), var(--grad-soft); }
.gallery .main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); animation: hwshine 7s ease-in-out infinite 1.5s; pointer-events: none; }
.gallery .placeholder svg { animation: hwbeat 2.4s ease-in-out infinite; filter: drop-shadow(0 14px 22px rgba(192,14,41,.35)); }
.from strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel { transition: box-shadow .4s var(--ease); }
.panel:focus-within { box-shadow: var(--shadow-lg); }
.hearts-line { background: var(--grad-soft); }
.chip { background: var(--grad-soft); border: 1px solid color-mix(in srgb, var(--rose) 18%, transparent); }

/* Header: brand line under the bar */
header.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: .35; }
.heart-math .pill.result { background: var(--grad); color: #fff; border-color: transparent; }
.heart-math .pill.result b { color: #fff; }

@keyframes hwsheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hwrise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hwzoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes hwbreath { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.025); } }
@keyframes hwdrift { from { transform: translate(0, 0); } to { transform: translate(40px, -30px); } }
@keyframes hwbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.12); } 28% { transform: scale(1); } 42% { transform: scale(1.08); } 56% { transform: scale(1); } }
@keyframes hwshine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { h1 em, h2 em, .story-quote em { animation: none; } }

/* ===== Next level: hero pendant, live ledger, cause card, calculator, wish moment ===== */
/* Hero: the pendant inside a glowing orb */
.hero-art { display: grid; place-items: center; }
.hero-art .disc { inset: 4%; }
.hero-art .orb { position: absolute; inset: 13%; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(122,0,0,.55), 0 0 0 10px color-mix(in srgb, var(--card) 70%, transparent), 0 0 0 11px color-mix(in srgb, var(--rose) 16%, transparent); animation: hwfloat 7s ease-in-out infinite; }
.hero-art .orb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.08); display: block; }
.hero-art .orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.45), transparent 32%), radial-gradient(circle at 50% 50%, transparent 62%, rgba(122,0,0,.18) 100%); pointer-events: none; }
.hero-art .seeds { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.hero-art .drift { position: absolute; left: var(--x); bottom: 6%; width: 18px; height: 30px; color: color-mix(in srgb, var(--mute) 70%, transparent); opacity: 0; animation: hwseed var(--t) linear infinite var(--d); }
.hero-tag { position: absolute; right: 2%; bottom: 10%; display: grid; gap: 2px; padding: 12px 18px; border-radius: 18px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-decoration: none; font-size: .82rem; color: var(--mute); transition: transform .3s var(--ease); }
.hero-tag:hover { transform: translateY(-3px); }
.hero-tag b { font: 400 1.35rem/1.1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) { .hero-art { max-width: 300px; order: -1; } .hero-tag { right: -4%; bottom: 4%; padding: 9px 14px; } .hero-tag b { font-size: 1.1rem; } }

/* Live ledger strip */
.ledger { padding: 0 0 clamp(24px, 4vw, 48px); }
.ledger-bar { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 22px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ledger-live { font: 600 .74rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--rose); display: inline-flex; gap: 10px; align-items: center; max-width: 150px; }
.ledger-live i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); animation: hwping 2.4s ease-out infinite; box-shadow: 0 0 0 0 color-mix(in srgb, var(--leaf) 40%, transparent); }
.ledger-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger-stats > div { padding: 2px 22px; border-left: 1px solid var(--line); }
.ledger-stats b { display: block; font: 400 1.35rem/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger-stats span { font-size: .85rem; color: var(--mute); }
@media (max-width: 960px) { .ledger-bar { grid-template-columns: 1fr; gap: 14px; } .ledger-live { max-width: none; } .ledger-stats { grid-template-columns: 1fr 1fr; row-gap: 16px; } .ledger-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* Story: the first cause */
.cause-card { margin-top: 36px; padding: 26px 28px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid color-mix(in srgb, var(--rose) 14%, var(--line)); display: grid; gap: 12px; position: relative; overflow: hidden; }
.cause-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #ff7070 22%, transparent), transparent 70%); pointer-events: none; }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cc-badge { font: 600 .72rem/1 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--rose); }
.cc-status { font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-transform: capitalize; }
.cause-card h3 { font: 300 2rem/1.1 var(--display); letter-spacing: -.02em; }
.cause-card > p { color: var(--mute); font-size: .98rem; }
.cause-card dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 6px 0 0; }
.cause-card dt { font-size: .76rem; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.cause-card dd { margin: 0; font: 500 1.02rem var(--display); }
.cc-note { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem !important; padding-top: 12px; border-top: 1px dashed color-mix(in srgb, var(--rose) 22%, var(--line)); }
.cc-note svg { flex: none; width: 16px; height: 16px; fill: var(--rose); margin-top: 3px; }
@media (max-width: 520px) { .cause-card dl { grid-template-columns: 1fr 1fr; } }
.story-body { color: color-mix(in srgb, var(--ink) 78%, var(--mute)); }

/* Heart calculator */
.calc { margin: 40px auto 0; max-width: 760px; padding: 30px clamp(20px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-top label { font-size: .95rem; color: var(--mute); font-weight: 600; }
.calc-top output { font: 300 2.2rem/1 var(--display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #ff7070, #c00e29) 0 / var(--fill, 15%) 100% no-repeat, var(--blush-2); cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); box-shadow: 0 6px 16px -4px rgba(192,14,41,.5); transition: transform .15s; }
.calc input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); box-shadow: 0 6px 16px -4px rgba(192,14,41,.5); }
.calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc .heart-math { margin: 0; }
.calc-hearts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 26px; }
.calc-hearts svg { width: 22px; height: 22px; fill: url(#hwg); animation: hwpop .35s var(--ease) both; }
.calc-hearts .more { font: 500 .95rem/22px var(--display); color: var(--rose); padding-left: 4px; }
.calc-note { text-align: center; font-size: .86rem; color: var(--mute); margin: 0 auto; }
.calc-note span { color: var(--ink); font-weight: 600; }

/* Product: consent line and trust row */
.check span { flex: 1; }
.assure { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.assure li { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--ink); }
.assure svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--line); fill: none; stroke: var(--rose); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.assure li:last-child svg { fill: var(--rose); stroke: none; }
@media (max-width: 420px) { .assure { grid-template-columns: 1fr; } }

/* Make a wish */
.mw { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: radial-gradient(90% 120% at 85% 40%, color-mix(in srgb, #ff7070 14%, transparent), transparent 60%), var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 860px) { .mw { grid-template-columns: 1fr; } .mw-stage { order: -1; } }
.mw-copy { display: grid; gap: 18px; justify-items: start; }
.mw-copy .row-btns { margin: 6px 0 0; }
.mw-done { min-height: 1.6em; font: 400 1.15rem/1.5 var(--display); color: var(--ink); }
.mw-done a { color: var(--rose); }
.mw-stage { display: grid; place-items: center; }
#dandelion { width: min(100%, 380px); height: auto; overflow: visible; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#dandelion:focus-visible { outline-offset: 8px; border-radius: 24px; }
#dandelion .stem { fill: none; stroke: color-mix(in srgb, var(--leaf) 75%, var(--mute)); stroke-width: 3; stroke-linecap: round; }
#dandelion .leaf { fill: color-mix(in srgb, var(--leaf) 55%, transparent); }
#dandelion .core { fill: color-mix(in srgb, var(--mute) 60%, #c9b28a); }
#dandelion .seed line, #dandelion .seed path { stroke: color-mix(in srgb, var(--mute) 55%, transparent); stroke-width: .8; stroke-linecap: round; fill: none; }
#dandelion .seed .tip { fill: color-mix(in srgb, var(--mute) 70%, transparent); stroke: none; }
#dandelion .s-heart { fill: url(#hwg); opacity: 0; }
#dandelion .halo { fill: url(#mwglow); }
#dandelion.idle .head { animation: hwsway 6s ease-in-out infinite; transform-origin: 200px 180px; }
#mw-mic.listening { border-color: var(--rose); color: var(--rose); animation: hwping 1.6s ease-out infinite; }

/* Sticky bar on phones */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .45s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-cta b { display: block; font: 500 .98rem/1.2 var(--display); }
  .sticky-cta span { font-size: .8rem; color: var(--mute); }
  .wa { bottom: 88px; }
  .hero { padding-top: 36px; }
  .hero h1 { margin: 14px 0 16px; }
  .trust { gap: 18px; margin-top: 28px; }
  .block { padding: 64px 0; }
}

/* Header: the logo tile sits on a soft card */
header.site .logo-wrap { box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(122,0,0,.35); }

/* Footer */
footer.site { padding: 56px 0 96px; }
footer.site .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; align-items: start; justify-content: initial; }
footer.site .foot-about { display: grid; gap: 14px; justify-items: start; }
footer.site .foot-about p { font-size: .9rem; max-width: 40ch; }
footer.site .foot-about .logo-wrap img { height: 46px; }
footer.site nav { display: grid; gap: 10px; align-content: start; }
footer.site nav h2 { font: 600 .72rem/1 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--ink); margin-bottom: 4px; }
footer.site .foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }
@media (max-width: 820px) { footer.site .foot-grid { grid-template-columns: 1fr 1fr; } footer.site .foot-about { grid-column: 1 / -1; } }

@keyframes hwfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hwseed { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 10% { opacity: .9; } 85% { opacity: .5; } 100% { opacity: 0; transform: translate(60px, -420px) rotate(40deg); } }
@keyframes hwpop { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hwsway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .orb, .hero-art .drift, #dandelion.idle .head { animation: none !important; } .hero-art .drift { display: none; } .sticky-cta { transition: none; } }

/* ===== Light and dark ===== */
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0; transition: background .25s, border-color .25s, transform .2s; }
.theme-toggle:hover { border-color: var(--rose); transform: rotate(-12deg); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .moon { display: block; } .theme-toggle .sun { display: none; }
.theme-toggle[aria-pressed="true"] .moon { display: none; } .theme-toggle[aria-pressed="true"] .sun { display: block; color: #ffb36b; }
header.site .wrap > .theme-toggle { margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
html.theme-shift, html.theme-shift *, html.theme-shift *::before, html.theme-shift *::after { transition: background-color .4s ease, border-color .4s ease, color .4s ease, fill .4s ease !important; }
/* Dark polish: the real logo stays untouched on its white tile; the tile gets a soft edge */
:root[data-theme="dark"] .logo-wrap { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 24px -12px rgba(0,0,0,.8); }
:root[data-theme="dark"] .btn.ghost { border-color: #3a3238; }
:root[data-theme="dark"] .hero-art .orb { box-shadow: 0 40px 90px -30px rgba(255,77,99,.35), 0 0 0 10px rgba(28,25,31,.8), 0 0 0 11px rgba(255,90,110,.22); }
:root[data-theme="dark"] .hero-art .orb::after { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.22), transparent 32%), radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,.35) 100%); }
:root[data-theme="dark"] .calc input[type=range] { background: linear-gradient(90deg, #ff7070, #ff4d63) 0 / var(--fill, 15%) 100% no-repeat, #2e262c; }
:root[data-theme="dark"] .gallery .main::after { background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-wrap { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 24px -12px rgba(0,0,0,.8); }
  :root:not([data-theme="light"]) .btn.ghost { border-color: #3a3238; }
  :root:not([data-theme="light"]) .hero-art .orb { box-shadow: 0 40px 90px -30px rgba(255,77,99,.35), 0 0 0 10px rgba(28,25,31,.8), 0 0 0 11px rgba(255,90,110,.22); }
  :root:not([data-theme="light"]) .hero-art .orb::after { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.22), transparent 32%), radial-gradient(circle at 50% 50%, transparent 60%, rgba(0,0,0,.35) 100%); }
  :root:not([data-theme="light"]) .calc input[type=range] { background: linear-gradient(90deg, #ff7070, #ff4d63) 0 / var(--fill, 15%) 100% no-repeat, #2e262c; }
  :root:not([data-theme="light"]) .gallery .main::after { background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%); }
}

.mw-meter { display: flex; align-items: center; gap: 10px; width: min(100%, 300px); }
.mw-meter i { flex: 1; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #ff7070, #e0203f) 0 / var(--lv, 0%) 100% no-repeat, var(--blush-2); transition: background-size .08s linear; }
.mw-meter span { font-size: .78rem; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; }
.mw-done b { color: var(--rose); font-weight: 600; }
.mw-reset { appearance: none; border: 0; background: none; padding: 0; font: 600 .9rem var(--body); color: var(--rose); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.share-box { display: grid; gap: 14px; justify-items: start; padding: 16px; border-radius: 20px; background: var(--grad-soft); border: 1px solid var(--line); }
.share-box img { width: 180px; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.share-box .row-btns { margin: 0; }

/* ===== Language switch and Hindi typography ===== */
@font-face { font-family: "Mukta"; font-weight: 300; font-display: swap; src: url(/assets/fonts/mukta-devanagari-300-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-weight: 400; font-display: swap; src: url(/assets/fonts/mukta-devanagari-400-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-weight: 500; font-display: swap; src: url(/assets/fonts/mukta-devanagari-500-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-weight: 600; font-display: swap; src: url(/assets/fonts/mukta-devanagari-600-normal.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
.lang-switch { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: border-color .2s, color .2s; white-space: nowrap; }
.lang-switch:hover { border-color: var(--rose); color: var(--rose); }
.lang-switch:lang(hi) { font-family: "Mukta", var(--body); font-size: 1rem; }
html[lang="hi"] { --display: "Outfit", "Mukta", ui-sans-serif, system-ui, sans-serif; --body: "Manrope", "Mukta", ui-sans-serif, system-ui, sans-serif; }
html[lang="hi"] body { line-height: 1.75; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.3; letter-spacing: 0; font-weight: 400; }
html[lang="hi"] h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); }
html[lang="hi"] h1 em, html[lang="hi"] h2 em, html[lang="hi"] .story-quote em { font-family: "Mukta", var(--display); font-style: normal; font-weight: 600; font-size: 1em; line-height: inherit; }
html[lang="hi"] .eyebrow, html[lang="hi"] .ledger-live, html[lang="hi"] .cc-badge, html[lang="hi"] .panel h3, html[lang="hi"] footer.site nav h2 { letter-spacing: .02em; text-transform: none; font-size: .9rem; }
html[lang="hi"] .story-body p:first-child::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; }
@media (max-width: 520px) { .lang-switch { padding: 8px 11px; font-size: .85rem; } .nav-actions { gap: 6px; } }

/* ===== Watercolour: pastel washes on cotton paper, heart motifs, make a wish ===== */
:root {
  --peach: #f6bd90; --butter: #f2d67a; --blush-p: #f3a8bf; --coral-p: #f19a8b; --lilac: #c0a5de; --sky: #97bde6; --mint: #a9d6bb; --sage: #86a782;
  --paper: #fbf7f1;
  --grad-soft: radial-gradient(60% 80% at 0% 0%, rgba(246,189,144,.30), transparent 70%), radial-gradient(55% 75% at 100% 0%, rgba(192,165,222,.28), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(151,189,230,.26), transparent 70%), radial-gradient(55% 70% at 0% 100%, rgba(169,214,187,.26), transparent 70%), rgba(255,253,249,.55);
  --shadow: 0 1px 2px rgba(90,60,50,.05), 0 14px 40px -22px rgba(120,70,60,.22);
  --shadow-lg: 0 2px 4px rgba(90,60,50,.05), 0 30px 70px -32px rgba(120,70,60,.30);
}
:root[data-theme="dark"] { --paper: #18151a; --grad-soft: radial-gradient(60% 80% at 0% 0%, rgba(246,189,144,.12), transparent 70%), radial-gradient(55% 75% at 100% 0%, rgba(192,165,222,.12), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(151,189,230,.10), transparent 70%), radial-gradient(55% 70% at 0% 100%, rgba(169,214,187,.10), transparent 70%), rgba(28,25,31,.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #18151a; --grad-soft: radial-gradient(60% 80% at 0% 0%, rgba(246,189,144,.12), transparent 70%), radial-gradient(55% 75% at 100% 0%, rgba(192,165,222,.12), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(151,189,230,.10), transparent 70%), radial-gradient(55% 70% at 0% 100%, rgba(169,214,187,.10), transparent 70%), rgba(28,25,31,.6); } }
body { background: var(--paper) url(/assets/art/paper-light.webp) repeat; background-size: 768px; }
:root[data-theme="dark"] body { background-image: url(/assets/art/paper-dark.webp); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body { background-image: url(/assets/art/paper-dark.webp); } }
header.site { background: color-mix(in srgb, var(--paper) 78%, transparent); }
header.site::after { background: linear-gradient(90deg, var(--peach), var(--blush-p), var(--lilac), var(--sky), var(--mint)); opacity: .7; }

/* cards sit on the paper like cut sheets */
.pillar, ol.steps li, .panel, .calc, .ledger-bar, .mw, .preset, .cause, .stat { background: color-mix(in srgb, var(--card) 86%, transparent); backdrop-filter: blur(2px); }
.pillar::after, ol.steps li::after { display: none; }
.pillars .pillar:nth-child(1) .ico { background: linear-gradient(135deg, var(--peach), var(--coral-p)); }
.pillars .pillar:nth-child(2) .ico { background: linear-gradient(135deg, var(--sky), var(--lilac)); }
.pillars .pillar:nth-child(3) .ico { background: linear-gradient(135deg, var(--blush-p), var(--coral-p)); }
.ico { box-shadow: 0 10px 22px -14px rgba(120,70,60,.45); }
ol.steps li:nth-child(1)::before { background: linear-gradient(120deg, #f2a07f, #e9788f); -webkit-background-clip: text; background-clip: text; }
ol.steps li:nth-child(2)::before { background: linear-gradient(120deg, #9d8bd2, #e9788f); -webkit-background-clip: text; background-clip: text; }
ol.steps li:nth-child(3)::before { background: linear-gradient(120deg, #6fa0d8, #9d8bd2); -webkit-background-clip: text; background-clip: text; }
ol.steps li:nth-child(4)::before { background: linear-gradient(120deg, #6fb38f, #6fa0d8); -webkit-background-clip: text; background-clip: text; }
.band { background: var(--grad-soft); border: 1px solid color-mix(in srgb, var(--lilac) 22%, var(--line)); }
.band::before { display: none; }
.chip { background: color-mix(in srgb, var(--card) 70%, transparent); border-color: color-mix(in srgb, var(--blush-p) 55%, transparent); }
.ledger-live i { background: var(--sage); }
.cause-card { background: var(--grad-soft); border-color: color-mix(in srgb, var(--peach) 40%, var(--line)); }
.cause-card::after { background: url(/assets/art/heart-2.webp) center / contain no-repeat; width: 120px; height: 120px; right: -18px; top: -22px; opacity: .55; transform: rotate(14deg); }
.calc input[type=range] { background: linear-gradient(90deg, var(--peach), var(--blush-p), #e9788f) 0 / var(--fill, 15%) 100% no-repeat, color-mix(in srgb, var(--lilac) 25%, var(--card)); }
.calc-hearts img { width: 26px; height: 26px; animation: hwpop .35s var(--ease) both; }
.assure svg { background: color-mix(in srgb, var(--card) 80%, transparent); }

/* hero: the pendant in a watercolour halo, hearts drifting, the meadow below */
.hero { padding-bottom: clamp(150px, 20vw, 290px); overflow: hidden; }
.hero::before { background: radial-gradient(circle at 45% 45%, rgba(243,168,191,.30), rgba(192,165,222,.18) 40%, transparent 68%); }
.hero::after { background: radial-gradient(circle, rgba(246,189,144,.28), rgba(169,214,187,.12) 45%, transparent 68%); }
.hero-art .disc { background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--card) 85%, transparent) 0 52%, transparent 53%), radial-gradient(circle at 30% 30%, rgba(246,189,144,.45), transparent 55%), radial-gradient(circle at 75% 35%, rgba(192,165,222,.45), transparent 55%), radial-gradient(circle at 60% 80%, rgba(151,189,230,.40), transparent 55%), radial-gradient(circle at 25% 75%, rgba(243,168,191,.45), transparent 55%); border: 0; box-shadow: none; filter: blur(.3px); }
.hero-art .orb { box-shadow: 0 34px 70px -34px rgba(120,70,60,.45), 0 0 0 10px color-mix(in srgb, var(--card) 75%, transparent), 0 0 0 11px color-mix(in srgb, var(--blush-p) 45%, transparent); }
.wc-hearts { position: absolute; inset: 0; pointer-events: none; }
.wc-hearts img { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: auto; transform: rotate(var(--r)); animation: wcfloat 7s ease-in-out infinite var(--d); filter: saturate(1.05); }
.hero-meadow { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); width: max(100%, 1500px); height: auto; max-width: none; z-index: -1; pointer-events: none; opacity: .95; }
.hero-tag b { background: linear-gradient(120deg, #f19a8b, #e9788f, #c00e29); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 900px) { .hero { padding-bottom: 170px; } .hero-meadow { width: 1100px; } }

/* make a wish: hearts gathered around the dandelion */
.mw { position: relative; background: radial-gradient(70% 90% at 85% 45%, rgba(192,165,222,.20), transparent 65%), radial-gradient(60% 70% at 10% 100%, rgba(246,189,144,.18), transparent 65%), color-mix(in srgb, var(--card) 82%, transparent); }
.mw-deco { position: absolute; pointer-events: none; height: auto; animation: wcfloat 8s ease-in-out infinite; }
.mw-deco.d1 { width: 64px; right: 7%; top: 8%; transform: rotate(12deg); }
.mw-deco.d2 { width: 44px; right: 42%; bottom: 10%; transform: rotate(-10deg); animation-delay: 1.5s; }
.mw-deco.d3 { width: 36px; left: 4%; top: 6%; transform: rotate(-16deg); animation-delay: 3s; }
#dandelion .s-heart { fill: none; }
.hearts-row img { height: auto; animation: wcfloat 6s ease-in-out infinite; }
.hearts-row img:nth-child(2) { animation-delay: 1s; } .hearts-row img:nth-child(3) { animation-delay: 2s; }

/* the meadow returns above the footer */
.foot-meadow { height: clamp(120px, 16vw, 220px); background: url(/assets/art/meadow-sm.webp) center bottom / auto 100% repeat-x; margin-top: -40px; opacity: .9; pointer-events: none; }
@media (min-width: 1200px) { .foot-meadow { background-image: url(/assets/art/meadow.webp); } }
footer.site { border-top: 0; background: color-mix(in srgb, var(--paper) 60%, transparent); }
:root[data-theme="dark"] .hero-meadow, :root[data-theme="dark"] .foot-meadow { opacity: .78; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-meadow, :root:not([data-theme="light"]) .foot-meadow { opacity: .78; } }

@keyframes wcfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .wc-hearts img, .mw-deco, .hearts-row img { animation: none !important; } }
/* watercolour refinements */
.hero { padding-bottom: clamp(210px, 27vw, 400px); }
.hero-meadow { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%); mask-image: linear-gradient(to bottom, transparent 0, #000 38%); }
@media (max-width: 900px) { .hero { padding-bottom: 200px; } }
.foot-meadow { height: clamp(170px, 22vw, 320px); margin-top: -10px; background: url(/assets/art/meadow.webp) center bottom / auto 100% repeat-x; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
.calc-hearts img { width: 32px; height: 32px; }
:root[data-theme="dark"] .hero-meadow, :root[data-theme="dark"] .foot-meadow, :root[data-theme="dark"] .wc-hearts img, :root[data-theme="dark"] .mw-deco { mix-blend-mode: screen; opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-meadow, :root:not([data-theme="light"]) .foot-meadow, :root:not([data-theme="light"]) .wc-hearts img, :root:not([data-theme="light"]) .mw-deco { mix-blend-mode: screen; opacity: .85; } }
:root[data-theme="dark"] .hero-meadow, :root[data-theme="dark"] .foot-meadow { filter: brightness(1.45) saturate(1.1); opacity: .95; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-meadow, :root:not([data-theme="light"]) .foot-meadow { filter: brightness(1.45) saturate(1.1); opacity: .95; } }
/* ledger floats across the meadow's edge, joining hero and story */
.hero-meadow { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 38%, #000 82%, transparent 100%); }
.ledger { position: relative; z-index: 3; margin-top: clamp(-150px, -10vw, -80px); }
.ledger-bar { background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); box-shadow: 0 2px 4px rgba(90,60,50,.05), 0 24px 60px -28px rgba(120,70,60,.35); border-color: color-mix(in srgb, var(--blush-p) 30%, var(--line)); }
@media (max-width: 900px) { .ledger { margin-top: -90px; } }

/* ===== Logo lockups (real 2020 artwork) and the heart shine ===== */
.hw-logo { position: relative; display: inline-block; line-height: 0; }
.hw-logo img { display: block; width: auto; }
.logo-wrap.logo-h { padding: 6px 10px; border-radius: 12px; }
.logo-wrap.logo-h img { height: 34px; }
.signature .logo-wrap.logo-h { padding: 5px 8px; border-radius: 9px; }
.signature .logo-wrap.logo-h img { height: 22px; }
footer.site .foot-brand .logo-wrap.logo-h { padding: 4px 8px; border-radius: 8px; }
footer.site .foot-brand .logo-wrap.logo-h img { height: 20px; }
.logo-wrap.logo-s { padding: 12px 16px; border-radius: 18px; }
footer.site .foot-about .logo-wrap.logo-s img { height: 92px; }
.hw-shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
  background: linear-gradient(112deg, transparent 0 40%, rgba(255,255,255,.0) 42%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 58%, transparent 60% 100%) 0 0 / 300% 100% no-repeat;
  background-position: 115% 0; mix-blend-mode: screen; opacity: .9;
  animation: hwlogoshine 6.5s cubic-bezier(.45,.05,.3,1) infinite 1.4s; }
footer.site .hw-shine { animation-delay: 3.2s; animation-duration: 8s; }
.brand:hover .hw-shine, .brand:focus-visible .hw-shine, .hw-logo.wished .hw-shine { animation: hwlogoshine-once 1.1s cubic-bezier(.45,.05,.3,1) 1; }
.hw-logo.wished img { animation: hwbeat 1.1s ease 1; }
@keyframes hwlogoshine { 0%, 74% { background-position: 115% 0; } 100% { background-position: -15% 0; } }
@keyframes hwlogoshine-once { from { background-position: 115% 0; } to { background-position: -15% 0; } }
@keyframes hwbeat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.06); } 36% { transform: scale(.98); } 54% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .hw-shine, .hw-logo.wished img { animation: none !important; } }
@media (max-width: 520px) { .logo-wrap.logo-h img { height: 28px; } }

/* ===== Brand kit page (/brand) and Why page (/why) ===== */
.bk-hero, .why-hero { padding: 72px 0 40px; text-align: center; position: relative; }
.bk-hero h1, .why-hero h1 { font: 500 clamp(2.6rem, 6vw, 4.6rem)/1.02 var(--display); letter-spacing: -.02em; margin: 12px 0 18px; }
.bk-hero h1 em, .why-hero h1 em, .bk-h em { font-family: var(--serif); font-style: italic; font-weight: 500; background: linear-gradient(90deg, #ff7070, #e74040 45%, #c00e29); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.bk-hero .lead, .why-hero .lead { max-width: 62ch; margin: 0 auto; color: var(--mute); font-size: 1.08rem; }
.bk-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.bk-hero-cta .btn small { font-weight: 500; opacity: .8; margin-left: 6px; font-size: .78em; }
.bk-hero-live { margin-top: 30px; font-size: 1.5rem; }
.bk-h { font: 500 clamp(1.8rem, 3.6vw, 2.5rem)/1.1 var(--display); letter-spacing: -.01em; margin: 0 0 8px; }
.bk-sub { color: var(--mute); max-width: 64ch; margin: 0 0 28px; }
.bk-band { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--blush) 70%, transparent) 12%, color-mix(in srgb, var(--blush) 70%, transparent) 88%, transparent); }
.bk-logos { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 18px; }
.bk-logo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bk-stage { display: grid; grid-template-rows: 1fr auto; }
.bk-stage .light { background: #fff; display: grid; place-items: center; min-height: 190px; padding: 28px; }
.bk-stage .dark { background: #17141a; display: grid; place-items: center; padding: 22px; }
.bk-stage .light img { max-width: 100%; height: auto; }
.bk-tile { padding: 8px 10px !important; border-radius: 12px; }
.bk-meta { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.bk-meta h3, .bk-icons h3, .bk-rules h3, .bk-w h3, .bk-msg h3 { font: 600 1.05rem/1.2 var(--display); margin: 0 0 4px; }
.bk-meta p, .bk-w p { color: var(--mute); font-size: .92rem; margin: 0 0 12px; }
.bk-dl { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-dl a { font-size: .82rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.bk-dl a::before { content: "↓ "; color: var(--rose); }
.bk-dl a:hover { border-color: var(--rose); color: var(--rose); }
.bk-icons { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.bk-icon-row { display: flex; gap: 26px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0 16px; }
.bk-icon-row figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.bk-icon-row img { border-radius: 22%; box-shadow: 0 0 0 1px var(--line); background: #fff; image-rendering: auto; }
.bk-icon-row figcaption { font-size: .76rem; color: var(--mute); }
.bk-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.bk-rules > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.bk-rules ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .93rem; }
.bk-rules li { padding-left: 26px; position: relative; }
.bk-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }
.bk-no li::before { content: "✕"; position: absolute; left: 0; color: var(--rose); font-weight: 700; }
.bk-code { display: flex; align-items: center; gap: 10px; background: #1b1619; color: #f6e9ec; border-radius: 14px; padding: 10px 10px 10px 16px; font: 500 .84rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.bk-code code { flex: 1; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.bk-copy { flex: none; border: 0; border-radius: 10px; padding: 8px 14px; font: 600 .8rem var(--body); cursor: pointer; background: #fff; color: #1b1619; transition: background .2s; }
.bk-copy:hover { background: #ffe0e8; } .bk-copy.ok { background: #d9f2e3; }
.bk-msg .bk-copy { background: var(--card); color: var(--ink); }
.bk-code-main { max-width: 640px; margin-bottom: 22px; }
.bk-controls { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.bk-controls label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.bk-controls select, .bk-controls input { font: 500 .95rem var(--body); text-transform: none; letter-spacing: 0; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); min-width: 150px; }
.bk-widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bk-w { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.bk-prev { flex: 1; display: grid; place-items: center; min-height: 170px; border-radius: 16px; margin-bottom: 14px; padding: 18px; font-size: 1.2rem;
  background: radial-gradient(circle at 15% 20%, #ffe3d4, transparent 50%), radial-gradient(circle at 90% 90%, #e7defc, transparent 50%), url(/assets/art/paper-light.webp) center / cover; }
.bk-prev.on-dark { background: radial-gradient(circle at 15% 20%, rgba(255,170,140,.15), transparent 50%), #141114; }
.bk-note { margin-top: 18px; font-size: .9rem; color: var(--mute); }
.bk-langs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); margin-bottom: 18px; }
.bk-langs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 600 .88rem var(--body); color: var(--mute); cursor: pointer; }
.bk-langs button[aria-selected="true"] { background: var(--rose); color: #fff; }
.bk-share { display: grid; grid-template-columns: .75fr .9fr 1fr; gap: 18px; align-items: end; }
.bk-share figure { margin: 0; }
.bk-share figure.wide { grid-column: 1 / -1; max-width: 640px; }
.bk-share a { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.bk-share a:hover { transform: translateY(-4px); }
.bk-share img { display: block; width: 100%; height: auto; }
.bk-share figcaption { font-size: .82rem; color: var(--mute); margin-top: 8px; }
.bk-msg { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; max-width: 640px; }
.bk-msg p { margin: 6px 0 14px; }
.bk-msg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bk-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.bk-swatches button { text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 70px 14px 12px; cursor: pointer; font: inherit; color: var(--ink); background: linear-gradient(var(--c), var(--c)) top / 100% 58px no-repeat, var(--card); }
.bk-swatches b { display: block; font-size: .9rem; } .bk-swatches span { font: 500 .78rem ui-monospace, monospace; color: var(--mute); }
.bk-type { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.bk-type > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.bk-type small { color: var(--mute); font-size: .8rem; }
.bk-t1 { font: 500 1.6rem var(--display); } .bk-t2 { font: 600 1.4rem var(--body); } .bk-t3 { font: italic 500 1.8rem var(--serif); } .bk-t4 { font: 600 1.5rem "Mukta", var(--body); }
.bk-art { display: flex; gap: 22px; align-items: flex-end; justify-content: center; margin-top: 28px; }
.bk-run { text-align: center; max-width: 720px; }
.bk-run p { color: var(--mute); }
@media (max-width: 900px) {
  .bk-logos, .bk-widgets, .bk-rules { grid-template-columns: 1fr; }
  .bk-share { grid-template-columns: 1fr 1fr; } .bk-type { grid-template-columns: 1fr 1fr; }
  header.site nav.main { display: none; }
}
:root[data-theme="dark"] .bk-prev:not(.on-dark) { filter: none; }

/* Why page */
.why-hero .bk-hero-live { display: flex; justify-content: center; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.why-card .n { font: 500 2.2rem/1 var(--serif); font-style: italic; color: var(--rose); }
.why-card h3 { font: 600 1.15rem/1.25 var(--display); margin: 10px 0 6px; }
.why-card p { color: var(--mute); margin: 0; font-size: .95rem; }
.why-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.why-split p { color: var(--mute); }
.why-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.why-list li { padding-left: 34px; position: relative; }
.why-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 19px; background: url(/brand/heartswill-heart.svg) center / contain no-repeat; }
.why-quote { font: italic 500 clamp(1.5rem, 3vw, 2.1rem)/1.3 var(--serif); text-align: center; max-width: 34ch; margin: 0 auto; }
.why-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
.why-faq summary { cursor: pointer; font-weight: 600; }
.why-faq p { color: var(--mute); margin: 10px 0 2px; }
.why-cta { text-align: center; }
.why-cta .bk-hero-cta { margin-top: 18px; }
@media (max-width: 900px) { .why-grid, .why-split { grid-template-columns: 1fr; } }

/* Light mode (the default): the real logo sits straight on the page, no tile or boundary.
   Dark mode (visitor's choice) keeps the white tile so the grey wordmark stays readable. */
:root:not([data-theme="dark"]) .logo-wrap { background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
:root .bk-stage .dark .logo-wrap { background: #fff !important; padding: 8px 12px !important; border-radius: 12px !important; }
:root:not([data-theme="dark"]) header.site .logo-wrap.logo-h img { height: 40px; }
@media (max-width: 520px) { :root:not([data-theme="dark"]) header.site .logo-wrap.logo-h img { height: 32px; } }

/* Light-text logo (approved 3 Nov): the original on light, the light-text version on dark. No tile in either theme. */
.hw-logo .on-dark { display: none; }
:root[data-theme="dark"] .hw-logo .on-light { display: none; }
:root[data-theme="dark"] .hw-logo .on-dark { display: block; }
:root[data-theme="dark"] .logo-wrap { background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
:root[data-theme="dark"] header.site .logo-wrap.logo-h img { height: 40px; }
@media (max-width: 520px) { :root[data-theme="dark"] header.site .logo-wrap.logo-h img { height: 32px; } }
.bk-stage .dark img { max-width: 100%; height: auto; }

/* AnandBodh Foundation logo (approved Canva exports): full colour on light, light-text version on dark */
.abf { display: inline-flex; line-height: 0; vertical-align: middle; }
.abf img { width: auto; display: block; }
.abf .on-dark { display: none; }
:root[data-theme="dark"] .abf .on-light { display: none; }
:root[data-theme="dark"] .abf .on-dark { display: block; }
.abf-link { display: inline-flex; margin-top: 4px; }
.signature .abf img { height: 46px; }
footer.site .foot-about .abf img { height: 40px; }
footer.site .foot-brand .abf img { height: 30px; }
.abf-block { margin: 14px 0 4px; }
.bk-run .abf-block { display: flex; justify-content: center; margin: 10px 0 18px; }
.bk-run .abf img { height: 60px; }
.why-faq .abf img { height: 52px; }
@media (max-width: 520px) { .signature .abf img { height: 38px; } footer.site .foot-brand .abf img { height: 20px; } }

/* "How Heartswill works" band: platform explainer widget, transparent on the paper, content up to 980 px */
.hw-explainer-band { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); background: transparent; }
.hw-explainer-band [data-heartswill-explainer] { max-width: 980px; margin: 0 auto; min-height: 1px; }

/* "Patent applied for" section (platform drop-in, 14 Nov 2026), mapped to store tokens */
.hw-patent{--hwp-rose:var(--rose,#c00e29);--hwp-ink:var(--ink,#1f1c22);--hwp-mute:var(--mute,#57525c);--hwp-line:var(--line,#f0e6e8);--hwp-card:var(--card,#fff);--hwp-paper:var(--paper,#fbf7f1);
  display:grid;grid-template-columns:minmax(200px,300px) 1fr;gap:clamp(24px,4vw,56px);align-items:center;background:var(--hwp-card);border:1px solid var(--hwp-line);border-radius:28px;padding:clamp(24px,4vw,48px);margin:48px auto;max-width:1180px}
.hwp-art svg{width:100%;height:auto;display:block;max-width:300px;margin:0 auto}
.hwp-ring{transform-box:view-box;transform-origin:100px 100px;animation:hwp-orb 60s linear infinite}.hwp-ring.rev{animation-duration:90s;animation-direction:reverse}
.hwp-pulse{transform-box:view-box;transform-origin:100px 100px;animation:hwp-pulse 3.6s ease-out infinite}
@keyframes hwp-orb{to{transform:rotate(360deg)}}@keyframes hwp-pulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.6);opacity:0}}
.hwp-copy{display:grid;gap:14px;justify-items:start}
.hwp-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--hwp-rose)}
.hwp-copy h2{margin:0;color:var(--hwp-ink);font:500 clamp(1.8rem,3.6vw,2.5rem)/1.1 var(--display);letter-spacing:-.01em}
.hwp-copy h2 em{color:var(--hwp-rose);font-family:var(--serif);font-style:italic;font-weight:500;background:linear-gradient(90deg,#ff7070,#e74040 45%,#c00e29);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.06em}
.hwp-lede{margin:0;max-width:60ch;color:var(--hwp-mute);font-size:1.05rem;line-height:1.6}.hwp-lede b{color:var(--hwp-ink)}
.hwp-facts{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}
.hwp-facts li{border:1px solid var(--hwp-line);border-radius:16px;padding:14px 16px;display:grid;gap:4px;background:var(--hwp-paper)}
.hwp-facts b{font-weight:600;font-size:1.05rem;color:var(--hwp-ink)}.hwp-facts span{font-size:.8rem;color:var(--hwp-mute);line-height:1.4}
.hwp-note{margin:0;font-size:.86rem;color:var(--hwp-mute)}.hwp-note a{color:var(--hwp-rose);font-weight:600}
.hwp-note a::after{content:" \2192"}
:root[data-theme="dark"] .hw-patent{--hwp-paper:rgba(255,255,255,.04)}
:root[data-theme="dark"] .hwp-note a,:root[data-theme="dark"] .hwp-eyebrow{color:#ff7a8a}
@media (max-width:860px){.hw-patent{grid-template-columns:1fr;text-align:center}.hwp-copy{justify-items:center}.hwp-art svg{max-width:200px}.hwp-facts{grid-template-columns:1fr;text-align:left}}
@media (prefers-reduced-motion:reduce){.hwp-ring,.hwp-pulse{animation:none}.hwp-trav{display:none}}

/* ===== Blog (/blog) ===== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius, 22px); padding: 20px 22px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg, var(--shadow)); }
.post-card b { font: 600 1.12rem/1.3 var(--display); }
.post-card.big b { font-size: 1.3rem; }
.post-ex { color: var(--mute); font-size: .94rem; line-height: 1.55; }
.post-tag { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); background: color-mix(in srgb, var(--rose) 9%, transparent); padding: 4px 10px; border-radius: 999px; }
.post-meta { color: var(--mute); font-size: .84rem; margin: 0; }
.post-head { max-width: 780px; padding-top: 56px; display: grid; gap: 12px; }
.post-head h1 { font: 500 clamp(2rem, 5vw, 3.2rem)/1.08 var(--display); letter-spacing: -.02em; margin: 4px 0 0; }
.post-dek { font-size: 1.15rem; line-height: 1.55; color: var(--mute); margin: 0; }
.post-back { font-size: .86rem; color: var(--mute); text-decoration: none; }
.post-back:hover { color: var(--rose); }
.post-body { max-width: 780px; padding-top: 18px; padding-bottom: 32px; font-size: 1.06rem; line-height: 1.75; }
.post-body h2 { font: 500 clamp(1.4rem, 3vw, 1.85rem)/1.2 var(--display); margin: 2.1em 0 .5em; }
.post-body h3 { font: 600 1.06rem/1.3 var(--display); margin: 0 0 6px; }
.post-body p { margin: 0 0 1.05em; }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-body li { margin: .4em 0; }
.post-body a:not(.btn) { color: var(--rose); text-underline-offset: 3px; }
.post-body ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.post-body ol.steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin: 0; }
.post-body ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 13px; font: italic 500 1.5rem/1 var(--serif); color: var(--rose); }
.post-body .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 1.2em; }
.post-body .cols > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: .96rem; line-height: 1.6; }
.post-body .cols p { margin: 0; color: var(--mute); }
.post-body .note { font-size: .88rem; color: var(--mute); border-left: 3px solid var(--line); padding-left: 12px; }
.post-body .cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.6em; }
.post-share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border-top: 1px dashed var(--line); margin-top: 2.2em; padding-top: 18px; font-size: .9rem; color: var(--mute); }
.post-share a { font-weight: 600; color: var(--rose); text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.post-more { padding-top: 24px; }
@media (max-width: 760px) { .post-body .cols { grid-template-columns: 1fr; } .post-head { padding-top: 36px; } }

/* ===== Blog imagery, infographics and animation (14 Nov) ===== */
.post-cover { max-width: 980px; margin-top: 26px; }
.post-cover img { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-thumb { display: block; width: calc(100% + 44px); max-width: none; margin: -20px -22px 6px; aspect-ratio: 1200/630; height: auto; object-fit: cover; border-radius: 22px 22px 0 0; border-bottom: 1px solid var(--line); }
.viz { margin: 34px 0; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); --vz-rose: #c00e29; --vz-soft: #fdf1f2; --vz-mute: #6b6470; }
.viz figcaption { margin-top: 16px; font-size: .92rem; color: var(--vz-mute); line-height: 1.5; }
.viz svg text { font-family: var(--body, Manrope, sans-serif); fill: var(--ink); }
.vzi { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vzi.big { width: 54px; height: 54px; color: var(--vz-rose); }

/* Journey */
.vz-journey { position: relative; }
.vz-journey ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; z-index: 1; }
.vz-journey li { display: grid; justify-items: center; text-align: center; gap: 6px; }
.vz-journey li b { font: 600 1rem/1.2 var(--display); }
.vz-journey li span:last-child { font-size: .8rem; line-height: 1.35; color: var(--vz-mute); }
.vz-dot { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--vz-soft); color: var(--vz-rose); border: 2px solid #f3a8bf; }
.vz-rail { position: absolute; left: calc(26px + 100% / 12 - 4px); right: calc(26px + 100% / 12 - 4px); top: 54px; height: 0; border-top: 2px dashed #f3a8bf; }
.vz-runner { position: absolute; top: -13px; left: 0; width: 24px; height: 24px; fill: var(--vz-rose); animation: vz-run 7s ease-in-out infinite; z-index: 2; }
@keyframes vz-run { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }
.vz-journey li .vz-dot { animation: vz-ping 7s ease-in-out infinite; animation-delay: calc(var(--i) * 1.15s); }
@keyframes vz-ping { 0%, 12%, 100% { box-shadow: 0 0 0 0 rgba(192,14,41,0); } 4% { box-shadow: 0 0 0 8px rgba(192,14,41,.14); background: #fff; } }
@media (max-width: 760px) {
  .vz-journey ol { grid-template-columns: 1fr; gap: 14px; }
  .vz-journey li { grid-template-columns: 58px 1fr; justify-items: start; text-align: left; column-gap: 14px; }
  .vz-journey li .vz-dot { grid-row: span 2; }
  .vz-rail { left: 54px; right: auto; top: 30px; bottom: 60px; height: auto; border-top: 0; border-left: 2px dashed #f3a8bf; }
  .vz-runner { left: -13px !important; animation-name: vz-run-y; }
  @keyframes vz-run-y { 0% { top: 0; opacity: 0; } 6%, 90% { opacity: 1; } 100% { top: calc(100% - 24px); opacity: 0; } }
}

/* Ledger chain */
.vz-ledger svg { width: 100%; height: auto; }
.vz-blk rect { fill: var(--vz-soft); stroke: #f3a8bf; stroke-width: 2; }
.vz-no { font-weight: 700; font-size: 18px; fill: var(--vz-rose) !important; }
.vz-kind { font-size: 15px; }
.vz-hash { font-size: 12px; font-family: ui-monospace, monospace !important; fill: var(--vz-mute) !important; }
.vz-link { stroke: var(--vz-rose); stroke-width: 3; fill: none; stroke-dasharray: 6 6; animation: vz-dash 1.2s linear infinite; }
@keyframes vz-dash { to { stroke-dashoffset: -24; } }
.vz-btc circle { fill: #f2d67a; animation: vz-glow 2.4s ease-in-out infinite; transform-origin: 640px 83px; }
.vz-btc text { font-size: 26px; font-weight: 700; fill: #7a5a00 !important; }
@keyframes vz-glow { 50% { transform: scale(1.08); } }

/* Money flow */
.vz-money svg { width: 100%; height: auto; }
.vz-node rect { fill: var(--vz-soft); stroke: #f3a8bf; stroke-width: 2; }
.vz-node.ngo rect { fill: #eef7f1; stroke: #a9d6bb; }
.vz-node.hw rect { fill: #fff; stroke: #c0a5de; stroke-dasharray: 5 5; }
.vz-node text { font-size: 17px; font-weight: 600; }
.vz-pay { stroke: var(--vz-rose); stroke-width: 3; }
.vz-rec { stroke: #c0a5de; stroke-width: 2; fill: none; stroke-dasharray: 5 6; animation: vz-dash 1.6s linear infinite; }
.vz-lbl { font-size: 13px; fill: var(--vz-mute) !important; }
.vz-coin { offset-path: path("M200 65H440"); animation: vz-coin 3.2s ease-in-out infinite; }
.vz-coin circle { fill: #f2d67a; stroke: #c99a1e; stroke-width: 2; }
.vz-coin text { font-size: 15px; font-weight: 700; fill: #7a5a00 !important; }
@keyframes vz-coin { 0% { offset-distance: 0%; opacity: 0; } 10%, 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* Hearts maths */
.vz-eq { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.vz-one { display: grid; justify-items: center; gap: 2px; text-align: center; }
.vz-one b { font: 600 1.05rem var(--display); } .vz-one span { font-size: .85rem; color: var(--vz-mute); }
.vz-h { width: 30px; height: 30px; fill: var(--vz-rose); }
.vz-h.big { width: 54px; height: 54px; }
.vz-row { display: flex; gap: 6px; }
.vz-row .vz-h { animation: vz-pop 4s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); fill: #f3a8bf; }
@keyframes vz-pop { 0%, 100% { transform: scale(1); fill: #f3a8bf; } 15%, 60% { transform: scale(1.15); fill: #c00e29; } }
.vz-op { font: 500 1.6rem var(--display); color: var(--vz-mute); }
.vz-shoe { width: 70px; height: 48px; fill: #f6bd90; stroke: #c00e29; stroke-width: 1.6; }
.beat { animation: vz-beat 2.2s ease-in-out infinite; }
@keyframes vz-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.14); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } }

/* Gallery */
.vz-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px; }
.vz-gallery figure { margin: 0; }
.vz-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; transition: transform .4s; }
.vz-gallery figure:hover img { transform: scale(1.02); }
.vz-gallery figcaption { margin-top: 8px; font-size: .85rem; color: var(--vz-mute); }
@media (max-width: 640px) { .vz-gallery { grid-template-columns: 1fr 1fr; } .vz-gallery figure:first-child { grid-column: span 2; } }

/* Dandelion */
.vz-dandelion { text-align: center; }
.vz-dd { position: relative; width: min(280px, 70%); margin: 0 auto; }
.vz-dd img { display: block; width: 100%; height: auto; }
.vz-seeds i { position: absolute; left: calc(var(--x) * 1%); top: 38%; width: 10px; height: 10px; background: #f3a8bf; clip-path: path("M5 9.5S0 6.6 0 3.3C0 1.5 1.2.5 2.5.5 3.6.5 4.5 1.2 5 2c.5-.8 1.4-1.5 2.5-1.5C8.8.5 10 1.5 10 3.3 10 6.6 5 9.5 5 9.5z"); opacity: 0; animation: vz-seed 6s ease-out infinite; animation-delay: calc(var(--i) * .42s); }
@keyframes vz-seed { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 100% { transform: translate(60px, -160px) rotate(40deg) scale(1.6); opacity: 0; } }

/* CSR compare */
.vz-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.vz-compare figcaption { grid-column: 1 / -1; }
.vz-col { border-radius: 18px; padding: 18px; }
.vz-col.before { background: #f6f3f4; color: #6b6470; }
.vz-col.after { background: #eef7f1; border: 1px solid #a9d6bb; }
.vz-col h4 { margin: 0 0 10px; font: 600 1.05rem var(--display); color: var(--ink); }
.vz-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vz-col li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; font-size: .92rem; }
.vz-col.after .vzi { color: #2f7a4e; }
.vz-arrow { font: 500 2rem var(--display); color: var(--vz-rose); animation: vz-nudge 1.8s ease-in-out infinite; }
@keyframes vz-nudge { 50% { transform: translateX(6px); } }
@media (max-width: 700px) { .vz-compare { grid-template-columns: 1fr; } .vz-arrow { transform: rotate(90deg); justify-self: center; animation: none; } }

/* Dashboard illustration */
.vz-dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.vz-dash-top b { font: 600 1.05rem var(--display); }
.vz-live { font-size: .78rem; font-weight: 700; color: #2f7a4e; text-transform: uppercase; letter-spacing: .08em; }
.vz-live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #2fa060; animation: vz-blink 1.6s ease-in-out infinite; }
@keyframes vz-blink { 50% { opacity: .25; } }
.vz-bar { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; margin: 10px 0; font-size: .9rem; }
.vz-bar i { display: block; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #f3a8bf, #c00e29); width: calc(var(--v) * 1%); transform-origin: left; animation: vz-grow 3.6s ease-out infinite; animation-delay: calc(var(--i) * .2s); }
@keyframes vz-grow { 0% { transform: scaleX(.05); } 45%, 100% { transform: scaleX(1); } }

/* Diya */
.vz-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.vz-step { display: grid; justify-items: center; text-align: center; gap: 4px; min-width: 150px; }
.vz-step b { font: 600 1.02rem var(--display); } .vz-step span { font-size: .85rem; color: var(--vz-mute); }
.vz-lamp { width: 64px; height: 64px; }
.vz-lamp .bowl { fill: #c00e29; }
.vz-lamp .flame { fill: #f6a54a; transform-origin: 32px 40px; animation: vz-flicker 1.4s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px rgba(246,165,74,.8)); }
@keyframes vz-flicker { 0% { transform: scale(1, 1) rotate(-2deg); } 50% { transform: scale(.94, 1.08) rotate(2deg); fill: #f2d67a; } 100% { transform: scale(1.04, .96) rotate(-1deg); } }

/* Year of school days */
.vz-grid { display: grid; grid-template-columns: repeat(25, 1fr); gap: 5px; }
.vz-grid i { aspect-ratio: 1; border-radius: 50%; background: #efe7e9; }
.vz-grid i.on { background: #f6a54a; box-shadow: 0 0 10px rgba(246,165,74,.9); animation: vz-blink 2.6s ease-in-out infinite; }
@media (max-width: 560px) { .vz-grid { grid-template-columns: repeat(20, 1fr); gap: 4px; } }

/* Badge rules */
.vz-badge { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vz-badge figcaption { grid-column: 1 / -1; margin-top: 2px; }
.vz-bcard { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--paper); }
.vz-bcard p { margin: 10px 0 0; font-size: .92rem; }
.vz-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: #1f1c22; }
.vz-pill i { width: 10px; height: 10px; border-radius: 50%; background: #b8b2b6; }
.vz-pill i.g { background: #2fa060; box-shadow: 0 0 0 0 rgba(47,160,96,.5); animation: vz-ring 2s ease-out infinite; }
@keyframes vz-ring { 70% { box-shadow: 0 0 0 9px rgba(47,160,96,0); } 100% { box-shadow: 0 0 0 0 rgba(47,160,96,0); } }
@media (max-width: 560px) { .vz-badge { grid-template-columns: 1fr; } }

/* Entry reveal where supported */
@supports (animation-timeline: view()) {
  .viz { animation: vz-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes vz-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Dark mode */
:root[data-theme="dark"] .viz { --vz-soft: rgba(255,255,255,.06); --vz-mute: #b7aeb5; --vz-rose: #ff7a8a; }
:root[data-theme="dark"] .vz-node.ngo rect, :root[data-theme="dark"] .vz-col.after { fill: rgba(169,214,187,.12); background: rgba(169,214,187,.12); }
:root[data-theme="dark"] .vz-col.before { background: rgba(255,255,255,.05); color: #b7aeb5; }
:root[data-theme="dark"] .vz-node.hw rect { fill: transparent; }
:root[data-theme="dark"] .vz-grid i { background: rgba(255,255,255,.1); }
:root[data-theme="dark"] .vz-bcard { background: rgba(255,255,255,.04); }
:root[data-theme="dark"] .vz-col.after .vzi { color: #8fd3a8; }

@media (prefers-reduced-motion: reduce) {
  .viz, .viz * { animation: none !important; }
  .vz-runner, .vz-coin { display: none; }
  .vz-seeds i { opacity: .8; }
}
:root[data-theme="dark"] .vz-dd { background: #fdfbfb url(/assets/art/paper-light.webp); border-radius: 24px; padding: 18px; box-sizing: border-box; }
@media (max-width: 640px) {
  .vz-ledger, .vz-money { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vz-ledger svg, .vz-money svg { min-width: 560px; }
  .vz-ledger figcaption, .vz-money figcaption { position: sticky; left: 0; max-width: calc(100vw - 92px); }
}
