/* Kind Tide — design concept v7
   Warm, quiet light theme with ample white space · neon "night" theme · Mia the guide
   Type: Bricolage Grotesque (headings) · Inter (body) · Caveat (handwritten accents)
   Icons: Phosphor duotone (MIT), recoloured through --ic-d */

@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(fonts/caveat-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(fonts/caveat-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'BFG Hand'; src: url(fonts/bfg-hand.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

/* ---------- tokens: light "sea morning" ---------- */
:root {
  --bg: #F4FAFC; --bg2: #E7F3F8; --bg-glass: rgba(244,250,252,.88);
  --surface: #FFFFFF; --surface2: #EDF6FA; --cream: #EAF6FA;
  --ink: #062A40; --text: #2F4B5E; --mute: #637B8C; --line: #D7E8F0; --line2: #C2DCE8;
  --accent: #0A6E9B; --accent-deep: #075478; --accent-soft: #DDF0F8; --accent-fg: #FFFFFF;
  --heart: #E5677B; --sun: #F4B860; --mark2: #36B3D6; --good: #1F8A6E; --bad: #D64545;
  --o1: #0B5C8E; --o2: #1279A6; --o3: #1A93BF; --o4: #36B3D6; --o5: #BDEBF5;
  --pop-ink: #062A44; --sand: #E2F3FA;
  --ic-d: #36B3D6; --ic-o: .35;
  --shadow: 0 1px 2px rgba(6,42,64,.04), 0 16px 40px -22px rgba(6,42,64,.24);
  --shadow-lg: 0 2px 4px rgba(6,42,64,.05), 0 30px 70px -30px rgba(6,42,64,.34);
  --glow: none; --glow-strong: none;
  --script: 'BFG Hand', 'Caveat', 'Segoe Script', cursive; --head: 'Bricolage', 'Inter', system-ui, sans-serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px; --r: 22px; --sec: 128px;
  --pond0: #D9EFF7; --pond1: #F4FAFC; --ring: #0A6E9B; --ring2: #36B3D6;
  --st0: #9ED6E6; --st1: #1A93BF; --st2: #E5677B; --stream-o: .2; --coin: #F4B860; --coin-line: #C08A32;
  --cap: #062A40; --cap-bg: rgba(255,255,255,.92);
  color-scheme: light;
}
/* ---------- tokens: dark "neon night" ---------- */
[data-theme="dark"] {
  --bg: #07090C; --bg2: #0C1014; --bg-glass: rgba(7,9,12,.86);
  --surface: #11161B; --surface2: #161C22; --cream: #0F1418;
  --ink: #EEF7FA; --text: #B7C6CF; --mute: #7E8E98; --line: rgba(255,255,255,.08); --line2: rgba(63,224,236,.22);
  --accent: #3FE0EC; --accent-deep: #8AF3FA; --accent-soft: rgba(63,224,236,.1); --accent-fg: #031114;
  --heart: #FFD166; --sun: #FFD166; --mark2: #FFD166; --good: #3FE0B0; --bad: #FF7A8A;
  --pop-ink: #000; --sand: #141A20;
  --ic-d: #3FE0EC; --ic-o: .3;
  --shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -24px rgba(0,0,0,.9);
  --shadow-lg: 0 0 0 1px rgba(63,224,236,.16), 0 0 40px -14px rgba(63,224,236,.25);
  --glow: 0 0 6px rgba(63,224,236,.7), 0 0 22px rgba(63,224,236,.4);
  --glow-strong: 0 0 4px #fff, 0 0 10px rgba(63,224,236,.9), 0 0 28px rgba(63,224,236,.6), 0 0 60px rgba(63,224,236,.3);
  --pond0: #0F1C21; --pond1: #07090C; --ring: #3FE0EC; --ring2: #FFD166;
  --st0: #3FE0EC; --st1: #3FE0EC; --st2: #FFD166; --stream-o: .26; --coin: #FFE27A; --coin-line: #FFE27A;
  --cap: #EEF7FA; --cap-bg: rgba(10,13,16,.82);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; transition: background-color .5s, color .5s; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h3 { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
h4 { font-family: var(--head); font-size: 16px; margin: 0 0 6px; }
p { margin: 0; }
kbd { font: 600 11.5px/1 var(--sans); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line2); background: var(--surface); color: var(--mute); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; max-width: 36em; margin-top: 16px; color: var(--text); }
.center .lead { margin-left: auto; margin-right: auto; }
.opt { color: var(--mute); font-weight: 400; }

/* icons */
.ic { width: 24px; height: 24px; flex: none; fill: currentColor; }

/* type voices */
.script, .script-title { font-family: var(--script); font-weight: 700; color: var(--accent-deep); letter-spacing: .005em; }
[data-theme="dark"] .script, [data-theme="dark"] .script-title { color: #E9FDFF; text-shadow: var(--glow-strong); }
.script-title { font-size: clamp(46px, 5.4vw, 72px); line-height: .95; }
.display { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.035em; max-width: 18em; }
.display.sm { font-size: clamp(24px, 2.4vw, 32px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.center .kicker::after { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head { margin-bottom: 56px; }
.sec-head.center { display: grid; justify-items: center; }
.sec-head.center .display { margin: 0 auto; }

/* buttons: ink outline + offset shadow, press in on click */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-fg); text-decoration: none; font: 700 16px/1.2 var(--sans);
  border: 2px solid var(--pop-ink); border-radius: 999px; padding: 13px 24px; cursor: pointer; box-shadow: 3px 4px 0 var(--pop-ink); transition: transform .15s, box-shadow .15s, background .2s; -webkit-tap-highlight-color: transparent; }
.btn .ic { width: 18px; height: 18px; --ic-d: currentColor; }
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 var(--pop-ink); background: var(--accent-deep); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--pop-ink); }
.btn.ghost { background: var(--sand); color: var(--pop-ink); }
.btn.ghost:hover { background: #CDEBF6; }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.big { padding: 16px 30px; font-size: 17px; width: 100%; }
[data-theme="dark"] .btn { color: var(--accent-fg); box-shadow: 3px 4px 0 #000, 0 0 22px rgba(63,224,236,.4); }
[data-theme="dark"] .btn:hover { background: #8AF3FA; }
[data-theme="dark"] .btn.ghost { background: #141A20; color: var(--accent); border-color: var(--accent); box-shadow: 3px 4px 0 #000, 0 0 14px rgba(63,224,236,.25); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--accent-deep); font: 600 14px var(--sans); cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.link-btn .ic { width: 18px; height: 18px; }
.link-btn:hover { background: var(--accent-soft); }

/* tag / chip */
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line2); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.tag .ic { width: 20px; height: 20px; color: var(--accent); }

/* ---------- concept bar + header ---------- */
.concept-bar { display: flex; justify-content: center; align-items: center; gap: 10px; background: var(--cream); color: #0B4F6C; font-size: 13px; line-height: 1.45; padding: 8px 20px; border-bottom: 1px solid var(--line); }
.concept-bar .ic { width: 18px; height: 18px; color: var(--accent); --ic-d: #36B3D6; }
[data-theme="dark"] .concept-bar { background: #0E1014; color: #B7C6CF; border-color: #1C2228; }
[data-theme="dark"] .concept-bar .ic { color: #B7C6CF; }
.top { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 24px; padding: 12px 32px; background: var(--bg-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); text-decoration: none; font-family: var(--script); font-size: 23px; font-weight: 700; line-height: .85; flex: none; }
[data-theme="dark"] .brand { color: var(--accent); text-shadow: var(--glow); }
.brand svg { width: 40px; height: 40px; color: var(--ink); }
[data-theme="dark"] .brand svg { color: var(--accent); filter: drop-shadow(0 0 6px rgba(63,224,236,.8)); }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 12px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--surface); color: var(--mute); font: 500 14px var(--sans); cursor: pointer; transition: border-color .2s, color .2s; }
.search-btn .ic { width: 20px; height: 20px; color: var(--ink); }
.search-btn span { min-width: 70px; text-align: left; }
.search-btn:hover { border-color: var(--accent); color: var(--ink); }
.theme-btn, .menu-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--pop-ink); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 2px 3px 0 var(--pop-ink); transition: transform .15s, box-shadow .15s; flex: none; }
.theme-btn:active, .menu-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--pop-ink); }
.theme-btn .ic, .menu-btn .ic { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn { color: #FFE27A; --ic-d: #FFE27A; border-color: #000; box-shadow: 2px 3px 0 #000, 0 0 14px rgba(255,226,122,.35); }
[data-theme="dark"] .theme-btn .i-sun { display: block; } [data-theme="dark"] .theme-btn .i-moon { display: none; }
.menu-btn { display: none; }
.mobile-menu { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); display: grid; gap: 2px; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line2); box-shadow: var(--shadow-lg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.mobile-menu a:not(.btn):hover { background: var(--accent-soft); }
.mobile-menu .btn { margin-top: 8px; }

/* story rail: quiet dots, the active stage shows its name */
.rail { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 30; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.rail ol::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; border-left: 2px solid var(--line2); }
.rail li a { position: relative; display: flex; align-items: center; gap: 12px; height: 12px; font-size: 12.5px; font-weight: 600; color: var(--mute); text-decoration: none; white-space: nowrap; }
.rail li a::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line2); flex: none; transition: .3s; }
.rail li a span { opacity: 0; transform: translateX(-6px); transition: .3s; padding: 3px 9px; border-radius: 999px; background: var(--bg-glass); }
.rail li a:hover span, .rail li a.on span { opacity: 1; transform: none; }
.rail li a.on { color: var(--ink); }
.rail li a.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
[data-theme="dark"] .rail li a.on span { text-shadow: var(--glow); }
.m-progress { display: none; }

/* ============ 1 · hero ============ */
.hero { position: relative; overflow: hidden; padding: 72px 0 72px;
  background: radial-gradient(ellipse 60% 50% at 85% 10%, rgba(54,179,214,.14), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 30%, rgba(54,179,214,.10), transparent 70%), var(--bg); }
[data-theme="dark"] .hero { background:
  radial-gradient(1.2px 1.2px at 12% 18%, #DDF6FF 50%, transparent 51%), radial-gradient(1px 1px at 32% 8%, #DDF6FF 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 58% 14%, #DDF6FF 50%, transparent 51%), radial-gradient(1px 1px at 86% 10%, #DDF6FF 50%, transparent 51%),
  radial-gradient(1.2px 1.2px at 44% 30%, #DDF6FF 50%, transparent 51%), radial-gradient(1px 1px at 94% 34%, #DDF6FF 50%, transparent 51%),
  radial-gradient(ellipse 70% 60% at 72% 40%, rgba(63,224,236,.07), transparent 70%), linear-gradient(180deg, #07090C, var(--bg)); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.hero h1 { font-size: clamp(56px, 7vw, 104px); line-height: .9; color: var(--ink); margin-top: 26px; }
.hero h1 span { display: block; }
.hero h1 .l2 { padding-left: .5em; white-space: nowrap; }
.hero h1 .heart { display: inline-block; vertical-align: .05em; margin-left: .08em; }
.heart { width: .55em; height: .55em; fill: none; stroke: var(--heart); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .heart { filter: drop-shadow(0 0 6px var(--heart)); }
.swash { width: min(420px, 80%); height: 34px; margin: 4px 0 0 1.4em; overflow: visible; }
.swash path { fill: none; stroke: var(--o4); stroke-width: 4; stroke-linecap: round; }
[data-theme="dark"] .swash path { stroke: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.hero .lead { color: var(--text); max-width: 30em; margin-top: 18px; font-size: clamp(18px, 1.5vw, 20px); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* receipt card: the whole idea in one coffee */
.receipt { position: relative; background: var(--surface); border-radius: 26px; padding: 24px 24px 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform: rotate(1.2deg); max-width: 380px; justify-self: end; width: 100%; }
.receipt::before, .receipt::after { content: ''; position: absolute; left: 22px; right: 22px; height: 10px; background: radial-gradient(circle at 5px 0, transparent 5px, var(--surface) 5.5px) 0 0 / 14px 10px repeat-x; }
.receipt::after { bottom: -9px; }
.receipt::before { top: -9px; transform: scaleY(-1); }
.receipt-k { font-family: var(--script); font-size: 26px; font-weight: 700; color: var(--accent-deep); line-height: 1; margin-bottom: 14px; }
[data-theme="dark"] .receipt-k { color: var(--accent); text-shadow: var(--glow); }
.receipt ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.receipt li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed var(--line2); font-size: 15px; color: var(--ink); line-height: 1.35; }
.receipt li b { font-family: var(--head); font-size: 17px; font-variant-numeric: tabular-nums; }
.receipt b.hl { color: var(--heart); }
.r-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.r-ico .ic { width: 22px; height: 22px; }
.r-ico.hl { background: #FDE8EC; color: var(--heart); --ic-d: var(--heart); }
[data-theme="dark"] .r-ico.hl { background: rgba(255,209,102,.14); }
.receipt-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--good); }
.receipt-foot .ic { width: 20px; height: 20px; --ic-d: var(--good); }

.banner-wrap { position: relative; z-index: 1; width: min(1560px, 116vw); margin: 34px 0 0 calc(50% - min(780px, 58vw)); pointer-events: none; }
.banner { display: block; width: 100%; height: auto; transition: opacity .7s ease; }
.banner-dark { position: absolute; left: -2%; top: 8%; width: 104%; max-width: none; opacity: 0; }
[data-theme="dark"] .banner-light { opacity: 0; } [data-theme="dark"] .banner-dark { opacity: 1; }

.stats { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 2; }
.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.stats .ic { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.stats b { font-family: var(--head); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14.5px; color: var(--mute); line-height: 1.4; }
[data-theme="dark"] .stats b { text-shadow: var(--glow); }

/* ============ 2 · understanding ============ */
.understanding { padding: var(--sec) 0 calc(var(--sec) - 20px); background: var(--bg); }
.journey { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; align-items: center; padding: 26px 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 110px; }
.journey .script-title { font-size: 50px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; position: relative; }
.journey-steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 26px; border-top: 2px dashed var(--line2); }
.journey-steps a { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; text-decoration: none; color: var(--text); }
.j-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-deep); border: 1.5px solid var(--line2); transition: transform .2s, background .2s; }
.j-ico .ic { width: 26px; height: 26px; }
.journey-steps a:hover .j-ico { transform: translateY(-3px); background: var(--accent-soft); }
[data-theme="dark"] .j-ico { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(63,224,236,.4); background: #0F1418; }
.journey-steps b { font-size: 14px; color: var(--ink); }
.journey-steps small { font-size: 12px; color: var(--mute); line-height: 1.3; }
.hint-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--accent-deep); }
.hint-line .ic { width: 20px; height: 20px; }
.understanding .sec-head { margin-bottom: 40px; }

.bands { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; overflow: hidden; padding: 14px 0 20px; }
.band { display: flex; gap: 18px; width: max-content; }
.tile { position: relative; flex: none; width: 260px; height: 230px; border-radius: 22px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; background: var(--surface2); box-shadow: var(--shadow); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.tile:nth-child(odd) { transform: rotate(-1deg); } .tile:nth-child(even) { transform: rotate(1deg) translateY(6px); }
.tile em { margin: 0 0 12px 12px; font: 700 23px/1 var(--script); font-style: normal; background: var(--cap-bg); color: var(--cap); padding: 4px 12px 2px; border-radius: 12px; }
.tile:hover, .tile:focus-visible { transform: translateY(-6px) rotate(0); box-shadow: 5px 7px 0 var(--pop-ink); outline: none; }
[data-theme="dark"] .tile img { filter: brightness(.8) saturate(1.15); }
[data-theme="dark"] .tile { box-shadow: 0 0 0 1px rgba(63,224,236,.25), 0 0 22px -8px rgba(63,224,236,.6); }
.tile-tip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--sand); color: var(--pop-ink); border: 2px solid var(--pop-ink); font: 700 12px var(--sans); opacity: 0; transform: translateY(-6px); transition: .25s; }
.tile-tip .ic { width: 16px; height: 16px; }
.tile:hover .tile-tip, .tile:focus-visible .tile-tip { opacity: 1; transform: none; }
@media (hover: none) { .tile-tip { opacity: .95; transform: none; } }

/* ============ 3 · belief ============ */
.belief { padding: var(--sec) 0 0; background: var(--bg2); }
.whatif { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.whatif article { background: var(--surface); border-radius: var(--r); padding: 26px 24px 30px; border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.wi-ico, .t-ico, .s-ico, .tp-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); flex: none; }
.wi-ico .ic, .t-ico .ic, .s-ico .ic, .tp-ico .ic { width: 28px; height: 28px; }
[data-theme="dark"] .wi-ico, [data-theme="dark"] .t-ico, [data-theme="dark"] .s-ico, [data-theme="dark"] .tp-ico { color: var(--accent); box-shadow: 0 0 14px rgba(63,224,236,.3); }
.whatif p { font-family: var(--head); font-weight: 600; letter-spacing: -.02em; font-size: 20px; line-height: 1.3; color: var(--ink); }
.whatif article:nth-child(even) { margin-top: 32px; }

.idea { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 70px; align-items: center; padding-top: var(--sec); padding-bottom: var(--sec); }
.trio { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.trio li { display: flex; gap: 16px; align-items: center; }
.trio strong { color: var(--ink); }
.t-ico { width: 46px; height: 46px; border-radius: 14px; }
.t-ico .ic { width: 24px; height: 24px; }
.t-ico.t1 { background: #E6F4EF; color: #2E8B6A; --ic-d: #5FB79A; }
.t-ico.t3 { background: #FDE8EC; color: var(--heart); --ic-d: var(--heart); }
[data-theme="dark"] .t-ico.t1, [data-theme="dark"] .t-ico.t3 { background: var(--accent-soft); }
.figures-big { width: 100%; max-width: 400px; justify-self: center; overflow: visible; }
.fig-bg { fill: var(--surface); stroke: var(--line); }
.fig.f1 { fill: #5FB79A; } .fig.f2 { fill: var(--accent); } .fig.f3 { fill: var(--heart); }
[data-theme="dark"] .fig-bg { fill: #11161B; }
[data-theme="dark"] .fig { fill: none; stroke-width: 3; }
[data-theme="dark"] .fig.f1 { stroke: #3FE0B0; filter: drop-shadow(0 0 6px #3FE0B0); }
[data-theme="dark"] .fig.f2 { stroke: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
[data-theme="dark"] .fig.f3 { stroke: var(--heart); filter: drop-shadow(0 0 6px var(--heart)); }
.ground { stroke: var(--line2); stroke-width: 3; stroke-linecap: round; }

.how { padding: var(--sec) 0; background: var(--bg); }
.tabs { display: flex; justify-content: center; gap: 4px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line2); border-radius: 999px; padding: 5px; width: max-content; max-width: 100%; box-shadow: var(--shadow); }
.tabs button { border: 0; background: none; font: 600 15px var(--sans); color: var(--mute); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-fg); box-shadow: 0 0 16px rgba(63,224,236,.6); }
.panels-stack { margin-top: 48px; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; text-align: center; display: grid; justify-items: center; gap: 10px; padding: 34px 24px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; top: 16px; left: 18px; font: 700 15px var(--head); color: var(--mute); }
.steps li + li::after { content: ''; position: absolute; left: -46px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E99' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; border: 1px solid var(--line2); }
.s-ico { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 6px; }
.s-ico .ic { width: 36px; height: 36px; }
.steps p { color: var(--text); max-width: 22em; }

/* ripple */
.ripple-stage { background: var(--bg2); }
.ripple-sticky { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 60px 32px; }
.ripple-line { font-family: var(--head); font-weight: 600; letter-spacing: -.02em; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; color: var(--ink); margin-top: 20px; min-height: 2.6em; }
.ripple-total { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ripple-total .amount { font-family: var(--head); font-weight: 800; letter-spacing: -.04em; font-size: clamp(56px, 7vw, 92px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
[data-theme="dark"] .ripple-total .amount { text-shadow: var(--glow); }
.ripple-total .unit { color: var(--mute); font-size: 16px; }
.ripple-note { font-size: 13px; color: var(--mute); margin-top: 10px; }
.pond { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.rings { width: 100%; height: 100%; overflow: visible; }
.p0 { stop-color: var(--pond0); } .p1 { stop-color: var(--pond1); }
.ring-set circle { stroke: var(--ring); } .ring-set circle.alt { stroke: var(--ring2); }
[data-theme="dark"] .ring-set { filter: drop-shadow(0 0 5px rgba(63,224,236,.9)); }
.purchases { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.purchases li { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; box-shadow: var(--shadow); white-space: nowrap; }
.purchases li b { color: var(--ink); font-weight: 700; }
.purchases .ico { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.purchases .ico .ic { width: 19px; height: 19px; }
.purchases li:nth-child(1) { left: 34%; top: 8%; } .purchases li:nth-child(2) { left: 60%; top: 28%; } .purchases li:nth-child(3) { left: 54%; top: 70%; }
.purchases li:nth-child(4) { left: 6%; top: 62%; } .purchases li:nth-child(5) { left: 2%; top: 24%; }

/* together + featured causes */
.together { position: relative; background: var(--bg); padding: 40px 0 var(--sec); }
.together-wave { position: absolute; left: 0; top: -58px; width: 100%; height: 60px; fill: var(--bg); }
.together-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.ripple-scale { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 28em; }
.ripple-scale strong { color: var(--accent-deep); font-family: var(--head); }
[data-theme="dark"] .ripple-scale strong { color: var(--accent); text-shadow: var(--glow); }
.causes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person-card { position: relative; margin: 0; height: 300px; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: hsl(var(--h) 55% 94%); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
[data-theme="dark"] .person-card { background: radial-gradient(ellipse at 50% 30%, hsl(var(--h) 60% 22%), #0B0F13 75%); box-shadow: 0 0 0 1px hsla(var(--h),90%,65%,.3), 0 0 24px -8px hsla(var(--h),90%,60%,.6); }
.pc-img { position: absolute; inset: 14% 8% 30% 8%; }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pl, .pd { transition: opacity .6s ease; }
.pd { opacity: 0; } [data-theme="dark"] .pd { opacity: 1; } [data-theme="dark"] .pl { opacity: 0; }
.cause-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; background: var(--cap-bg); color: var(--cap); font: 700 12.5px var(--sans); }
.cause-tag .ic { width: 17px; height: 17px; color: var(--accent); }
.person-card figcaption { position: relative; background: var(--cap-bg); color: var(--ink); border-radius: 16px; padding: 10px 14px 8px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--head); font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.person-card figcaption small { display: block; font: 500 13.5px/1.4 var(--sans); color: var(--mute); letter-spacing: 0; margin-top: 2px; }
.person-card .raise { color: var(--accent-deep); font-weight: 800; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .person-card .raise { color: var(--accent); text-shadow: var(--glow); }

/* ============ 4 · trust (quiet) ============ */
.trust { padding: var(--sec) 0; background: var(--bg); border-top: 1px solid var(--line); }
.trust-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.donut { position: relative; margin: 0; display: grid; justify-items: center; gap: 18px; }
.donut svg { width: min(300px, 100%); aspect-ratio: 1 / 1; transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 22; }
.d-track { stroke: var(--surface2); }
.d-b { stroke: var(--sun); }
.d-a { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 95 5; }
[data-theme="dark"] .d-a { filter: drop-shadow(0 0 8px var(--accent)); } [data-theme="dark"] .d-b { stroke: var(--heart); }
.donut-c { position: absolute; top: 0; left: 50%; width: min(300px, 100%); aspect-ratio: 1 / 1; transform: translateX(-50%); display: grid; place-content: center; text-align: center; }
.donut-c b { font: 800 56px/1 var(--head); letter-spacing: -.04em; color: var(--ink); }
.donut-c > span { font-size: 14px; color: var(--mute); }
.donut figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; color: var(--text); }
.donut figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sw.a { background: var(--accent); } .sw.b { background: var(--sun); } [data-theme="dark"] .sw.b { background: var(--heart); }
.trust-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trust-points li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tp-ico { width: 46px; height: 46px; border-radius: 14px; }
.tp-ico .ic { width: 24px; height: 24px; }
.trust-points b { color: var(--ink); font-size: 15.5px; display: block; line-height: 1.35; }
.trust-points p { font-size: 14px; color: var(--mute); margin-top: 4px; line-height: 1.5; }

.money { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "head head" "steps flow"; gap: 22px 34px; align-items: center; margin: 80px 0; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.money-head { grid-area: head; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.money-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; counter-reset: ms; display: grid; gap: 6px; }
.money-steps li { text-align: left; counter-increment: ms; position: relative; padding: 12px 14px 12px 52px; border-radius: 16px; transition: background .4s, opacity .4s; opacity: .45; }
.money-steps li::before { content: counter(ms); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--head); border: 1.5px solid var(--line2); color: var(--mute); transition: .4s; }
.money-steps li b { display: block; color: var(--ink); font-size: 15.5px; }
.money-steps li span { display: block; font-size: 14px; color: var(--mute); line-height: 1.4; }
.money-steps li.on { opacity: 1; background: var(--accent-soft); }
.money-steps li.done { opacity: .85; }
.money-steps li.on::before, .money-steps li.done::before { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.money.live .money-steps li { opacity: .85; } .money.live .money-steps li.on { opacity: 1; }
.mflow { grid-area: flow; width: 100%; height: auto; overflow: visible; }
.st0 { stop-color: var(--st0); } .st1 { stop-color: var(--st1); } .st2 { stop-color: var(--st2); }
.stream { fill: none; stroke: url(#streamA); stroke-width: 20; stroke-linecap: round; opacity: var(--stream-o); }
.stream.big { stroke-width: 26; stroke: url(#streamB); } .stream.thin { stroke-width: 6; }
.flowlines use { fill: none; stroke: var(--st1); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 14; animation: flowdash 1s linear infinite; opacity: 0; transition: opacity .6s; }
.flowlines .fl-big { stroke: var(--st2); stroke-width: 3; } .flowlines .fl-thin { stroke-width: 1.6; }
.money.live .flowlines use { opacity: .9; }
.money.offscreen .flowlines use { animation-play-state: paused; }
[data-theme="dark"] .flowlines use, [data-theme="dark"] .stream { filter: drop-shadow(0 0 6px var(--st1)); }
.coin { fill: var(--coin); stroke: var(--coin-line); stroke-width: 1.5; opacity: 0; transition: opacity .6s; }
.coin.small { fill: #C9D6DC; stroke: #95A6AE; }
.money.live .coin { opacity: 1; }
[data-theme="dark"] .coin { filter: drop-shadow(0 0 6px #FFE27A); }
.mnode .disc { fill: var(--surface); stroke: var(--line2); stroke-width: 2; }
[data-theme="dark"] .mnode .disc { fill: #11161B; stroke: rgba(63,224,236,.5); }
.mnode .halo { fill: var(--accent-soft); opacity: .7; }
.mnode.hl .halo { fill: rgba(229,103,123,.14); }
.mnode.hl .disc { stroke: var(--st2); stroke-width: 3; }
.mnode .mi { fill: none; stroke: var(--accent-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mnode.hl .mi { stroke: var(--st2); }
[data-theme="dark"] .mnode .mi { stroke: var(--accent); } [data-theme="dark"] .mnode.hl .mi { stroke: #FFD166; }
.mnode text { text-anchor: middle; font: 700 30px var(--head); letter-spacing: -.02em; fill: var(--ink); }
.mnode text.sub { font: 400 17px var(--sans); letter-spacing: 0; fill: var(--mute); }
.mnode.hl text:not(.sub) { font-family: var(--script); font-size: 46px; fill: var(--st2); }
.mflow.is-v .mnode text { font-size: 34px; } .mflow.is-v .mnode text.sub { font-size: 21px; }
@keyframes flowdash { to { stroke-dashoffset: -16; } }
@keyframes halo { 50% { transform: scale(1.08); opacity: .35; } }

.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.gov h3 { margin-bottom: 8px; }
details { border-bottom: 1px solid var(--line2); transition: background .3s; }
details summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E99' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--text); }
details.flash { background: var(--accent-soft); border-radius: 12px; }
.promise { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 24px; background: var(--cream); border-radius: 28px; padding: 32px; border: 1px solid var(--line); }
.promise-photo { grid-row: span 2; width: 120px; height: 140px; border-radius: 20px; background: var(--surface); border: 1.5px dashed var(--line2); display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--mute); font-size: 12px; text-align: center; }
.promise-photo .ic { width: 40px; height: 40px; }
.promise blockquote { margin: 0; }
.promise .q { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.promise p { font-family: var(--head); font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -.015em; color: var(--ink); }
.promise figcaption { display: grid; gap: 2px; color: var(--mute); font-size: 14px; }
.sig { font-size: 38px; line-height: 1; }

/* ============ 5 · benefit ============ */
.paths { padding: 0 0 var(--sec); background: var(--bg2); }
.crowd { padding: var(--sec) 32px 90px; }
.crowd-frame { position: relative; max-width: 1240px; margin: 0 auto; padding: 70px 28px 56px; border-radius: 34px; text-align: center; background: linear-gradient(180deg, #E3F3F9, #F4FAFC); border: 1px solid var(--line); overflow: hidden; }
[data-theme="dark"] .crowd-frame { background: radial-gradient(ellipse at 50% 40%, #0F1B20, #050608 75%); }
.media-note { position: absolute; top: 16px; left: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--cap-bg); color: var(--cap); border: 1px dashed var(--line2); font: 600 12.5px var(--sans); }
.media-note .ic { width: 18px; height: 18px; color: var(--accent); }
.crowd-title { font-size: clamp(42px, 5.2vw, 72px); line-height: 1; margin: 0 auto; max-width: 14em; color: var(--ink); }
[data-theme="dark"] .crowd-title { color: #E9FDFF; text-shadow: var(--glow-strong); }
.people { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin: 40px auto 0; }
.seat { position: relative; aspect-ratio: 5 / 4.4; }
.who { position: absolute; inset: 0; opacity: 0; }
.who.on { opacity: 1; }
.who img { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 84%; object-fit: contain; }
.who .role { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 12.5px; font-weight: 600; color: var(--mute); white-space: nowrap; }
[data-theme="dark"] .who img.pd { filter: drop-shadow(0 0 10px rgba(63,224,236,.25)); }
.crowd-sub { margin: 26px auto 0; max-width: 34em; color: var(--text); }

/* Kiva-style panels: the row keeps its height, only the widths change */
.choices { display: flex; gap: 16px; height: 440px; }
.choice { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 2px solid var(--pop-ink); border-radius: 28px; overflow: hidden; cursor: pointer; background: none; text-align: left; color: #fff; font: inherit; box-shadow: 4px 6px 0 var(--pop-ink); transition: flex-grow .6s cubic-bezier(.3,.7,.2,1), box-shadow .25s, transform .25s; -webkit-tap-highlight-color: transparent; }
.choices:not(:hover) .choice[aria-expanded="true"], .choice:hover, .choice:focus-visible { flex-grow: 2.3; }
.choice:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.choice[aria-expanded="true"] { box-shadow: 7px 10px 0 var(--pop-ink); }
.choice[aria-expanded="true"]::after { content: ''; position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: #FFD166 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062A44' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; border: 2px solid var(--pop-ink); z-index: 3; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.choice:hover .ph, .choice[aria-expanded="true"] .ph { transform: scale(1.04); }
.ph::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.25) 0 2px, transparent 3px) 0 0 / 22px 22px; }
.ph::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(6,42,68,.55)); }
.p-bus { background: linear-gradient(170deg, var(--o3), var(--o1)); }
.p-cha { background: linear-gradient(170deg, var(--o4), var(--o2)); }
.p-sup { background: linear-gradient(170deg, #5CCBE4, var(--o3)); }
[data-theme="dark"] .p-bus { background: linear-gradient(170deg, #12343A, #090C0F); } [data-theme="dark"] .p-cha { background: linear-gradient(170deg, #154047, #0A0E11); } [data-theme="dark"] .p-sup { background: linear-gradient(170deg, #1A4E55, #0B1013); }
[data-theme="dark"] .choice { border-color: #000; box-shadow: 4px 6px 0 #000, 0 0 30px -8px rgba(63,224,236,.6); }
.cart-art { position: relative; width: min(250px, 70%); height: auto; margin-bottom: 140px; overflow: visible; transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.choice:hover .cart-art, .choice[aria-expanded="true"] .cart-art { transform: translateY(-14px) scale(1.06); }
.cart-art text { font: 800 13px var(--sans); fill: var(--pop-ink); text-anchor: middle; }
[data-theme="dark"] .cart-art { filter: drop-shadow(0 0 12px rgba(63,224,236,.45)); }
.choice-in { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: grid; gap: 8px; }
.choice-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--pop-ink); border: 2px solid var(--pop-ink); --ic-d: #36B3D6; }
.choice-ico .ic { width: 24px; height: 24px; }
.choice-t { font: 700 26px/1.1 var(--head); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(6,42,68,.4); }
.choice-more { display: grid; gap: 10px; font-size: 15px; line-height: 1.45; max-width: 26em; opacity: 0; transform: translateY(10px); transition: opacity .35s .1s, transform .45s .1s; }
.choices:not(:hover) .choice[aria-expanded="true"] .choice-more, .choice:hover .choice-more, .choice:focus-visible .choice-more { opacity: 1; transform: none; }
.choice-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: #FFD166; color: var(--pop-ink); border: 2px solid var(--pop-ink); width: max-content; }
.choice-go .ic { width: 16px; height: 16px; }

.benefits-stack { display: grid; margin-top: 40px; }
.benefits { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.benefits.on { visibility: visible; opacity: 1; transition: opacity .35s; }
.benefits.is-empty { display: grid; place-items: center; grid-template-columns: 1fr; background: transparent; border: 2px dashed var(--line2); box-shadow: none; color: var(--mute); }
.benefits.is-empty { align-content: center; gap: 26px; }
.benefits.is-empty p { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.teasers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.teasers li { display: flex; gap: 14px; align-items: flex-start; }
.teasers b { display: block; color: var(--ink); font-family: var(--head); font-size: 17px; }
.teasers span:not(.t-ico) { font-size: 14.5px; color: var(--mute); line-height: 1.45; }
.gain { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; gap: 10px; }
.gain li { position: relative; padding-left: 32px; }
.gain li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E99' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ============ FAQ ============ */
.faq { padding: var(--sec) 0; background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq .sec-head { position: sticky; top: 110px; margin: 0; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq-list details summary { padding: 20px 40px 20px 0; }

/* ============ 6 · action ============ */
.join { padding: var(--sec) 0; background: var(--bg2); border-top: 1px solid var(--line); }
.join-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; }
.join-side { position: sticky; top: 110px; }
.jigsaw svg { width: 130px; overflow: visible; margin-bottom: 26px; }
.pc { stroke: var(--bg2); stroke-width: 2; }
.pc.a { fill: var(--ink); } .pc.b { fill: var(--accent); }
[data-theme="dark"] .pc.a { fill: var(--heart); filter: drop-shadow(0 0 8px var(--heart)); } [data-theme="dark"] .pc.b { filter: drop-shadow(0 0 8px var(--accent)); }
.join-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.join-points li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); }
.join-points .ic { width: 22px; height: 22px; color: var(--accent); }
.form-card { background: var(--surface); border-radius: 30px; padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 4px; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
legend { font-weight: 600; color: var(--ink); margin-bottom: 10px; padding: 0; }
.aud, .meet { display: flex; gap: 10px; flex-wrap: wrap; } .aud legend, .meet legend { width: 100%; float: left; }
.aud label, .meet label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line2); border-radius: 999px; padding: 10px 16px; cursor: pointer; font-size: 15px; background: var(--surface); transition: border-color .2s, background .2s; }
.aud label .ic { width: 20px; height: 20px; color: var(--accent); }
.aud label:hover, .meet label:hover { border-color: var(--accent); }
.aud label:has(input:checked), .meet label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
[data-theme="dark"] .aud label:has(input:checked) { box-shadow: 0 0 14px rgba(63,224,236,.4); }
input[type=radio], input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line2); border-radius: 14px; padding: 13px 14px; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7D8C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .bad { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 14px; margin: 6px 0 0; }
.hint { font-size: 14px; color: var(--mute); margin: 6px 0 0; }
.consents { display: grid; gap: 12px; margin: 6px 0 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { margin-top: 4px; }
.form-msg { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--bad); }
.form-msg:empty { display: none; }
.form-msg.info { color: var(--good); }
.help { font-size: 14px; color: var(--mute); text-align: center; margin: 14px 0 0; }
.done { text-align: center; padding: 30px 0; }
.done-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #E6F4EF; color: var(--good); border: 2px solid var(--pop-ink); box-shadow: 3px 4px 0 var(--pop-ink); }
.done-ico .ic { width: 36px; height: 36px; }
.done p { font-size: 18px; max-width: 30em; margin: 16px auto 28px; }
.ask { padding: 70px 0; background: var(--bg); }
.ask-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.ask-in > div { min-width: 0; }
.ask-in p { color: var(--mute); margin-top: 6px; }
.ask-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.ask-ico .ic { width: 34px; height: 34px; }

/* ---------- footer ---------- */
.foot { position: relative; background: #062A40; color: #C4D3DC; padding: 50px 0 30px; margin-top: 60px; }
[data-theme="dark"] .foot { background: #050608; border-top: 1px solid var(--line); }
.foot-wave { position: absolute; left: 0; right: 0; top: -58px; width: 100%; height: 60px; fill: #062A40; }
[data-theme="dark"] .foot-wave { fill: #050608; filter: drop-shadow(0 -2px 6px rgba(63,224,236,.4)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.3fr); gap: 32px; }
.foot h2 { font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8AE3E0; margin-bottom: 14px; }
.foot .brand { color: #8AE3E0; } .foot .brand svg { color: #fff; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { color: #E3EEF2; text-decoration: none; font-size: 15px; width: max-content; }
.foot nav a:hover { text-decoration: underline; }
.foot-sign { font-size: 34px; margin-top: 10px; color: #8AE3E0 !important; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #E2F3FA; color: #062A44; border: 2px solid #000; box-shadow: 3px 4px 0 #000; transition: transform .15s, box-shadow .15s; --ic-d: #36B3D6; }
.soc .ic { width: 22px; height: 22px; }
.soc:hover { transform: translate(-1px, -2px) rotate(-3deg); box-shadow: 5px 6px 0 #000; }
.soc:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 #000; }
[data-theme="dark"] .soc { background: #141A20; color: var(--accent); border-color: var(--accent); box-shadow: 3px 4px 0 #000, 0 0 12px rgba(63,224,236,.3); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9FB3C1; }
.foot-base a { color: #E3EEF2; }

/* ============ Mia, the guide ============ */
.guide { position: fixed; right: 18px; bottom: 0; z-index: 80; display: flex; align-items: flex-end; pointer-events: none; transform: none !important; }
.guide-btn { pointer-events: auto; position: relative; width: 150px; height: 204px; border: 0; padding: 0; background: none; cursor: pointer; transform-origin: 50% 100%; }
.guide-img { position: absolute; inset: 0; display: block; filter: drop-shadow(0 10px 18px rgba(10,42,67,.22)); animation: bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
.mia { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: bottom; transform: scaleX(-1); transition: opacity .6s ease; }
.mia-dark { opacity: 0; }
[data-theme="dark"] .mia-dark { opacity: 1; } [data-theme="dark"] .mia-light { opacity: 0; }
.guide-btn:hover .guide-img { animation-duration: 2s; }
.guide-glow { position: absolute; left: 10%; right: 10%; bottom: 0; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(11,110,153,.3), transparent 70%); }
[data-theme="dark"] .guide-glow { background: radial-gradient(ellipse, rgba(63,224,236,.7), transparent 70%); filter: blur(2px); }
[data-theme="dark"] .guide-img { filter: drop-shadow(0 0 10px rgba(63,224,236,.45)); }
.guide-ping { position: absolute; top: 4%; left: 30%; width: 14px; height: 14px; border-radius: 50%; background: var(--heart); animation: ping 2s infinite; }
.guide.open .guide-ping, .guide.seen .guide-ping, .guide:not(.landed) .guide-ping { display: none; }
.guide.hop .guide-img { animation: mia-hop .6s ease, bob 4.5s ease-in-out .6s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1.2deg); } }
@keyframes mia-hop { 30% { transform: translateY(-16px) rotate(2deg); } 60% { transform: translateY(0) rotate(-1deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(229,103,123,.6); } 70% { box-shadow: 0 0 0 12px rgba(229,103,123,0); } 100% { box-shadow: 0 0 0 0 rgba(229,103,123,0); } }
.bubble { pointer-events: auto; position: fixed; right: 172px; bottom: 26px; z-index: 95; width: 320px; max-height: calc(100vh - 140px); overflow: auto; overscroll-behavior: contain; background: var(--surface); color: var(--text); border: 2px solid var(--pop-ink); border-radius: 22px 22px 6px 22px; padding: 16px 16px 14px; box-shadow: 5px 6px 0 var(--pop-ink), 0 30px 60px -30px rgba(10,42,67,.5); transform-origin: 100% 100%; }
[data-theme="dark"] .bubble { background: rgba(14,18,22,.97); border-color: rgba(63,224,236,.6); box-shadow: 0 0 0 1px rgba(63,224,236,.25), 0 0 30px rgba(63,224,236,.35); }
.bubble-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--mute); cursor: pointer; padding: 4px; }
.bubble-name { font-family: var(--script); font-size: 26px; font-weight: 700; color: var(--accent-deep); line-height: 1; }
[data-theme="dark"] .bubble-name { color: var(--accent); text-shadow: var(--glow); }
.bubble-name span { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--mute); margin-left: 6px; text-shadow: none; }
.bubble-text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink); min-height: 3em; }
.bubble-text .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble-body:empty { display: none; }
.bubble-body { margin-top: 10px; }
.bubble-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 2px solid var(--pop-ink); color: var(--pop-ink); background: var(--sand); border-radius: 999px; padding: 7px 13px; font: 600 13.5px var(--sans); cursor: pointer; box-shadow: 2px 3px 0 var(--pop-ink); transition: transform .12s, box-shadow .12s; }
.chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 4px 0 var(--pop-ink); }
.chip:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--pop-ink); }
[data-theme="dark"] .chip { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px rgba(63,224,236,.25); }
.chip.quiet { border-color: var(--line2); background: transparent; color: var(--mute); box-shadow: none; }
.calc label { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); margin-top: 8px; }
.calc label b { color: var(--ink); }
.calc input[type=range] { width: 100%; accent-color: var(--accent); }
.calc-out { margin-top: 10px; font-size: 15px; color: var(--ink); }
.calc-out strong { display: block; font: 800 23px/1.1 var(--head); color: var(--accent); }
.highlight { animation: hl 1.6s ease 2; border-radius: 22px; }
@keyframes hl { 50% { box-shadow: 0 0 0 6px var(--accent-soft), 0 0 40px rgba(63,224,236,.4); } }

/* ============ dialogs: story + search ============ */
dialog { color: var(--text); }
dialog.story { width: min(880px, calc(100% - 24px)); max-width: none; max-height: min(640px, calc(100% - 24px)); padding: 0; border: 2px solid var(--pop-ink); border-radius: 28px; box-shadow: 8px 10px 0 var(--pop-ink); background: var(--surface); overflow: hidden; }
dialog.story[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
dialog::backdrop { background: rgba(6,42,68,.55); }
.story-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); border: 2px solid var(--pop-ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 3; color: var(--pop-ink); }
/* The image is absolutely placed so Safari can't stretch it to its natural height. */
.story-media { position: relative; overflow: hidden; border-right: 2px solid var(--pop-ink); min-height: 0; background: var(--surface2); }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.story-media .media-note { top: auto; bottom: 14px; left: 14px; }
.story-body { padding: 28px 30px 26px; overflow-y: auto; max-height: min(636px, calc(100vh - 28px)); }
.story-kicker { font-family: var(--script); font-weight: 700; font-size: 23px; color: var(--accent-deep); }
.story-body h3 { font-weight: 800; font-size: 34px; letter-spacing: -.03em; margin: 2px 0 6px; padding-right: 40px; }
.story-hook { margin: 0 0 18px; color: var(--mute); font-size: 16px; }
.story-beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.story-beats::before { content: ''; position: absolute; left: 22px; top: 22px; bottom: 22px; border-left: 2px dashed var(--o4); }
.story-beats li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.sb-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--o5); color: var(--pop-ink); border: 2px solid var(--pop-ink); box-shadow: 2px 3px 0 var(--pop-ink); --ic-d: #fff; --ic-o: .7; }
.sb-ico .ic { width: 24px; height: 24px; }
.sb-tx { font-size: 15px; line-height: 1.4; color: var(--ink); }
.sb-val { font-family: var(--head); font-weight: 800; color: var(--o1); white-space: nowrap; font-size: 14.5px; background: var(--sand); border: 2px solid var(--pop-ink); border-radius: 999px; padding: 3px 10px; }
.story-end { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 14px; border-radius: 16px; background: linear-gradient(120deg, #E3F4FA, #EEF9FC); color: var(--pop-ink); font-weight: 600; }
.story-end .ic { color: var(--heart); --ic-d: var(--heart); margin-top: 1px; }
.story-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
[data-theme="dark"] dialog.story { border-color: rgba(63,224,236,.6); box-shadow: 0 0 0 1px rgba(63,224,236,.3), 0 0 40px rgba(63,224,236,.35); background: #11161B; }
[data-theme="dark"] .story-media { border-color: rgba(63,224,236,.4); } [data-theme="dark"] .story-media img { filter: brightness(.85) saturate(1.1); }
[data-theme="dark"] .sb-ico { background: #16262D; color: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(63,224,236,.5); --ic-d: var(--accent); --ic-o: .3; }
[data-theme="dark"] .sb-val { background: #16262D; color: var(--accent); border-color: var(--accent); }
[data-theme="dark"] .story-end { background: linear-gradient(120deg, #16262D, #18323A); color: #EAF6FF; }
[data-theme="dark"] .story-kicker { color: var(--accent); text-shadow: var(--glow); }

dialog.search { width: min(640px, calc(100% - 24px)); max-width: none; margin: 10vh auto auto; padding: 0; border: 0; background: transparent; overflow: visible; }
.s-box { background: var(--surface); border: 2px solid var(--pop-ink); border-radius: 24px; box-shadow: 6px 8px 0 var(--pop-ink), 0 40px 80px -30px rgba(6,42,68,.5); overflow: hidden; }
[data-theme="dark"] .s-box { border-color: rgba(63,224,236,.6); box-shadow: 0 0 0 1px rgba(63,224,236,.3), 0 0 40px rgba(63,224,236,.3); }
.s-field { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.s-field .ic { color: var(--accent); width: 26px; height: 26px; }
.s-field input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 18px var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.s-field input::-webkit-search-cancel-button { display: none; }
.s-results { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
.s-group { font: 700 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 12px 12px 6px; }
.s-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--text); }
.s-item > .ic { width: 18px; height: 18px; color: var(--mute); opacity: 0; }
.s-item[aria-selected="true"] { background: var(--accent-soft); }
.s-item[aria-selected="true"] > .ic { opacity: 1; }
.s-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface2); color: var(--accent-deep); }
.s-ico .ic { width: 22px; height: 22px; }
.s-t { display: grid; min-width: 0; }
.s-t b { color: var(--ink); font-size: 15px; font-weight: 600; }
.s-t small { color: var(--mute); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-item mark { background: #FFE6A8; color: inherit; border-radius: 3px; padding: 0 1px; }
[data-theme="dark"] .s-item mark { background: rgba(63,224,236,.3); }
.s-empty { display: flex; gap: 10px; align-items: center; padding: 24px 14px; color: var(--mute); }
.s-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); background: var(--surface2); }
.s-foot kbd { margin-right: 4px; }

dialog.story.play { animation: dlgIn .4s cubic-bezier(.3,1.4,.5,1) both; }
dialog.story.play .story-media img { animation: imgIn 1s ease-out both; }
dialog.story.play .story-beats li { animation: beatIn .45s ease-out both; animation-delay: calc(.25s + var(--i) * .3s); }
dialog.story.play .sb-ico { animation: popIn .4s cubic-bezier(.3,1.8,.5,1) both; animation-delay: calc(.3s + var(--i) * .3s); }
dialog.story.play .story-end { animation: beatUp .5s ease-out 1.35s both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes imgIn { from { transform: scale(1.12); } }
@keyframes beatIn { from { opacity: 0; transform: translateX(20px); } }
@keyframes beatUp { from { opacity: 0; transform: translateY(12px); } }
@keyframes popIn { from { transform: scale(0); } }

/* ============ inner pages ============ */
.page-hero { padding: 90px 0 40px; background: radial-gradient(ellipse 60% 80% at 90% 0%, rgba(54,179,214,.14), transparent 70%), var(--bg); }
[data-theme="dark"] .page-hero { background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(63,224,236,.07), transparent 70%), var(--bg); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--mute); margin-bottom: 22px; }
.crumbs a { color: var(--mute); }
.page-body { padding: 30px 0 var(--sec); }
.prose { max-width: 760px; }
.prose h2 { font: 700 26px/1.2 var(--head); letter-spacing: -.02em; margin: 48px 0 12px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose .note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); font-size: 15px; }
.prose .note .ic { color: var(--accent); }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.toc b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.toc a { color: var(--ink); text-decoration: none; font-size: 14.5px; padding: 6px 10px; border-radius: 10px; }
.toc a:hover { background: var(--accent-soft); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 60px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-cards a, .contact-cards div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-cards small { display: block; color: var(--mute); font-size: 13px; }
.contact-cards .tp-ico { width: 44px; height: 44px; }

/* ============ choice art + small animations ============ */
.flutter { animation: flutter 2.2s ease-in-out infinite; transform-origin: 150px 96px; }
.blink { animation: blinkk 2.4s steps(1) infinite; }
.beat { animation: beat 1.4s ease-in-out infinite; transform-origin: 150px 150px; }
.sparks path { animation: spark 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.cf { animation: coinfall 2.1s ease-in infinite; }
@keyframes flutter { 50% { transform: skewX(-2deg) scaleY(1.03); } }
@keyframes blinkk { 0%, 70% { opacity: 1; } 71%, 80% { opacity: .35; } 81% { opacity: 1; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.98); } 45% { transform: scale(1.06); } }
@keyframes spark { 0%, 100% { transform: scale(.4); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }
@keyframes coinfall { 0% { transform: translateY(-30px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(110px); opacity: 1; } 100% { transform: translateY(120px); opacity: 0; } }

/* ============ responsive ============ */
@media (max-width: 1360px) { .rail { display: none; } }
@media (max-width: 1180px) {
  .top-nav a { padding: 8px 9px; font-size: 14.5px; }
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 1080px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .journey-steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --sec: 96px; }
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .hero-grid, .idea, .trust-grid, .ripple-sticky, .trust-top, .together-head, .faq-grid, .join-grid, .contact-grid, .page-grid { grid-template-columns: minmax(0, 1fr); }
  .receipt { justify-self: start; transform: rotate(-.8deg); }
  .whatif { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whatif article { margin-top: 0 !important; min-height: 200px; }
  .figures-big { max-width: 280px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 520px; margin: 0 auto; }
  .steps li + li::after { left: 50%; top: -38px; margin: 0 0 0 -18px; transform: rotate(90deg); }
  .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .money { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "steps" "flow"; }
  .faq .sec-head, .join-side, .toc { position: static; }
  .toc { display: none; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* on smaller screens the panels sit above, so the details below can take their natural height */
  .benefits:not(.on) { display: none; }
  .benefits.is-empty.on { display: grid; }
  .teasers { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 720px) {
  :root { --sec: 76px; --r: 18px; }
  body { font-size: 16px; }
  .wrap, .hero-grid { padding: 0 20px; }
  .concept-bar { font-size: 12px; justify-content: flex-start; text-align: left; padding: 8px 16px; }
  .top { padding: 10px 14px; gap: 10px; }
  .hide-sm { display: none; }
  .brand { font-size: 19px; } .brand svg { width: 32px; height: 32px; }
  .theme-btn, .menu-btn, .search-btn { width: 40px; height: 40px; }
  .m-progress { display: flex; position: sticky; top: 61px; z-index: 59; align-items: center; gap: 10px; padding: 6px 16px; background: var(--bg-glass); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink); font-weight: 600; }
  .m-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; position: relative; overflow: hidden; }
  .m-bar::after { content: ''; position: absolute; inset: 0; width: var(--p, 0%); background: var(--accent); }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: clamp(46px, 13vw, 60px); }
  .hero h1 .l2 { padding-left: .25em; }
  .hero-actions .btn { width: 100%; }
  .hero-grid { gap: 36px; }
  .banner-wrap { width: 150vw; margin: 26px 0 0 -25vw; }
  .stats { gap: 10px; }
  .stats li { padding: 16px; }
  .stats .ic { width: 26px; height: 26px; margin-bottom: 4px; }
  .journey { padding: 20px; margin-bottom: 70px; }
  .journey .script-title { font-size: 42px; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { margin-bottom: 36px; }
  .tile { width: 196px !important; height: 172px; }
  .tile em { font-size: 20px; }
  .whatif { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .whatif article { min-height: 0; padding: 20px; flex-direction: row; align-items: center; gap: 16px; }
  .whatif p { font-size: 18px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 10px 6px; font-size: 13.5px; }
  .ripple-sticky { padding: 30px 20px; gap: 10px; align-content: center; }
  .ripple-line { margin-top: 10px; }
  .pond { max-width: 340px; }
  .purchases li { font-size: 12.5px; padding: 4px 10px 4px 4px; }
  .purchases .ico { width: 26px; height: 26px; } .purchases .ico .ic { width: 16px; height: 16px; }
  .purchases li:nth-child(2) { left: 50%; } .purchases li:nth-child(3) { left: 44%; top: 74%; } .purchases li:nth-child(1) { left: 28%; }
  .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .person-card { height: 230px; padding: 10px; border-radius: 20px; }
  .person-card figcaption { font-size: 16px; padding: 8px 10px 6px; }
  .person-card figcaption small { font-size: 12px; }
  .cause-tag { top: 10px; left: 10px; font-size: 11.5px; }
  .trust-points { grid-template-columns: minmax(0, 1fr); }
  .money { padding: 18px; margin: 56px 0; }
  .mflow { max-width: 360px; margin: 0 auto; }
  .promise { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .promise-photo { grid-row: auto; width: 96px; height: 110px; }
  .crowd { padding: var(--sec) 12px 60px; }
  .crowd-frame { padding: 64px 12px 36px; border-radius: 26px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* panels become a swipe row; every card keeps the same size, so nothing jumps */
  .choices { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px 20px 18px; margin: 0 -20px; gap: 14px; scrollbar-width: none; }
  .choices::-webkit-scrollbar { display: none; }
  .choice { flex: 0 0 82%; height: 400px; scroll-snap-align: center; }
  .choices:not(:hover) .choice[aria-expanded="true"], .choice:hover, .choice:focus-visible { flex-grow: 0; }
  .choice-more { opacity: 1; transform: none; }
  .cart-art { margin-bottom: 150px; width: 52%; }
  .benefits { padding: 22px; }
  .form-card { padding: 22px; border-radius: 24px; }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ask-in { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-social { grid-column: 1 / -1; }
  .guide { right: 4px; }
  .guide-btn { width: 96px; height: 130px; }
  .bubble { left: 12px; right: 12px; bottom: 140px; width: auto; max-height: calc(100vh - 220px); border-radius: 20px; }
  dialog.story { max-height: calc(100% - 24px); overflow-y: auto; }
  dialog.story[open] { display: block; }
  .story-media { height: 200px; border-right: 0; border-bottom: 2px solid var(--pop-ink); }
  .story-body { max-height: none; overflow: visible; padding: 22px 20px; }
  .story-body h3 { font-size: 28px; }
  .story-beats li { grid-template-columns: 42px minmax(0, 1fr); }
  .sb-ico { width: 42px; height: 42px; }
  .story-beats::before { left: 20px; }
  .sb-val { grid-column: 2; justify-self: start; }
  dialog.search { margin-top: 12px; }
  .page-hero { padding: 56px 0 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-img, .guide-ping, .bubble-text .caret, .flowlines use, .mnode .halo, .cart-art *, dialog.story.play, dialog.story.play * { animation: none !important; }
  .choice, .ph, .cart-art, .choice-more { transition: none; }
}

/* =====================================================================
   v8 · ocean palette, lively icons, non-standard layouts
   ===================================================================== */
@media (min-width: 1600px) { :root { --wrap: 1320px; } }
.understanding, .belief, .how, .together, .trust, .paths, .faq, .join { position: relative; }
/* wave dividers between sections */
.wdiv { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; pointer-events: none; }
.belief > .wdiv, .paths > .wdiv, .join > .wdiv { fill: var(--bg2); }
.trust > .wdiv { fill: var(--bg); }
.trust { border-top: 0; }
.join { border-top: 0; }

/* ---------- journey on a wave ---------- */
.journey { display: block; padding: 30px 34px 24px; margin-bottom: 120px; }
.journey .script-title { font-size: 48px; }
.jw { position: relative; height: 290px; margin-top: -10px; }
.jw-line { position: absolute; inset: 20px 0 50px; width: 100%; height: calc(100% - 70px); overflow: visible; }
.jw-base { fill: none; stroke: var(--line2); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.jw-fill { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
[data-theme="dark"] .jw-fill { filter: drop-shadow(0 0 6px var(--accent)); }
.jw .journey-steps { position: absolute; inset: 0; display: block; }
.jw .journey-steps::before { display: none; }
.jw .journey-steps li { position: absolute; left: var(--x, 0); top: var(--y, 50%); width: 150px; margin-left: -75px; margin-top: -27px; }
.jw .journey-steps a { gap: 2px; }
.jw .journey-steps li.up a { flex-direction: column-reverse; display: flex; align-items: center; transform: translateY(calc(-100% + 54px)); }
.j-ico { position: relative; z-index: 1; background: var(--surface); box-shadow: 0 0 0 6px var(--surface); }
.journey-steps li.on .j-ico { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); --ic-d: #fff; transform: scale(1.12); }
[data-theme="dark"] .journey-steps li.on .j-ico { color: #031114; --ic-d: #031114; }

/* ---------- what if: a loose collage ---------- */
.whatif-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 60px; align-items: start; }
.whatif-head { position: sticky; top: 120px; }
.whatif-head .script-title { font-size: clamp(64px, 8vw, 120px); }
.wi-swirl { width: 180px; margin-top: 24px; overflow: visible; }
.wi-swirl path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4 7; }
.whatif-wrap .whatif { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-bottom: 60px; }
.whatif-wrap .whatif article { margin: 0 !important; min-height: 250px; border-radius: 28px; transition: transform .4s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; }
.whatif-wrap .whatif article:nth-child(1) { transform: rotate(-2deg); }
.whatif-wrap .whatif article:nth-child(2) { transform: translateY(70px) rotate(1.6deg); background: var(--accent); }
.whatif-wrap .whatif article:nth-child(3) { transform: translateY(-10px) rotate(1deg); }
.whatif-wrap .whatif article:nth-child(4) { transform: translateY(60px) rotate(-1.4deg); background: var(--ink); }
.whatif-wrap .whatif article:nth-child(2) p, .whatif-wrap .whatif article:nth-child(4) p { color: #fff; }
.whatif-wrap .whatif article:nth-child(2) .wi-ico, .whatif-wrap .whatif article:nth-child(4) .wi-ico { background: rgba(255,255,255,.14); color: #fff; --ic-d: #9FE3F0; }
[data-theme="dark"] .whatif-wrap .whatif article:nth-child(2) { background: #0E3A40; } [data-theme="dark"] .whatif-wrap .whatif article:nth-child(4) { background: #1A1F25; }
.whatif-wrap .whatif article:hover { transform: translateY(-6px) rotate(0); box-shadow: var(--shadow-lg); }
.whatif-wrap .whatif article:nth-child(even):hover { transform: translateY(54px) rotate(0); }

/* ---------- big idea: figures with orbiting roles ---------- */
.orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1 / 1; justify-self: center; display: grid; place-items: center; --R: 205px; }
.orbit .figures-big { width: 74%; max-width: none; }
.orbit-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1.5px dashed var(--line2); animation: ospin 60s linear infinite; }
.orbit-ring.r2 { inset: 16%; border-style: solid; border-color: var(--line); animation-direction: reverse; animation-duration: 90s; }
.orb { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-deep); border: 1px solid var(--line2); box-shadow: var(--shadow); animation: orbit 24s linear infinite; z-index: 2; }
.orb .ic { width: 30px; height: 30px; }
.orb.o2 { animation-delay: -8s; color: var(--heart); --ic-d: var(--heart); }
.orb.o3 { animation-delay: -16s; color: var(--good); --ic-d: #5FB79A; }
[data-theme="dark"] .orb { box-shadow: 0 0 18px -4px rgba(63,224,236,.5); }
@keyframes orbit { from { transform: rotate(0deg) translateX(var(--R)) rotate(0deg); } to { transform: rotate(360deg) translateX(var(--R)) rotate(-360deg); } }
@keyframes ospin { to { transform: rotate(360deg); } }

/* ---------- how it works: steps along a soft curve ---------- */
.steps { position: relative; }
.steps li:nth-child(2) { transform: translateY(36px); }
.steps li + li::after { display: none; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 50%; height: 120px; margin-top: -40px; border-top: 2px dashed var(--line2); border-radius: 50%; z-index: 0; }
.steps li { z-index: 1; }
.steps li::before { font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--line2); top: 10px; left: 20px; letter-spacing: -.04em; }

/* ---------- featured causes: bento ---------- */
.causes { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; }
.causes .person-card { height: auto; }
.causes .person-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.causes .person-card:nth-child(2) { grid-column: span 2; }
.causes .person-card:nth-child(5) { grid-column: span 2; }
.causes .person-card:nth-child(6) { grid-column: span 2; }
.causes .person-card:nth-child(1) .pc-img { inset: 10% 14% 22% 14%; }
.causes .person-card:nth-child(1) figcaption { font-size: 28px; padding: 14px 18px 12px; }
.causes .person-card:nth-child(2) .pc-img, .causes .person-card:nth-child(5) .pc-img, .causes .person-card:nth-child(6) .pc-img { inset: 8% 40% 8% 4%; }
.causes .person-card:nth-child(2) figcaption, .causes .person-card:nth-child(5) figcaption, .causes .person-card:nth-child(6) figcaption { margin-left: 52%; }
.together-head { align-items: end; }

/* ---------- trust: sticky aside + scrolling detail ---------- */
.trust-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.trust-aside { position: sticky; top: 100px; }
.trust-aside .sec-head { margin-bottom: 30px; }
.trust-aside .donut { justify-items: start; }
.trust-aside .donut svg, .trust-aside .donut-c { width: min(260px, 100%); }
.trust-aside .donut-c { left: 0; transform: none; }
.trust-aside .donut figcaption { justify-content: flex-start; }
.trust-main .trust-points { margin-bottom: 0; }
.trust-main .money { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "steps" "flow"; margin: 40px 0; }
.trust-main .money-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-main .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }

/* ---------- lively icons ---------- */
.live .ic[data-anim] { transform-box: fill-box; transform-origin: 50% 60%; animation-duration: var(--d, 3.2s); animation-iteration-count: infinite; animation-timing-function: ease-in-out; animation-delay: var(--dl, 0s); }
.live .ic[data-anim="beat"] { animation-name: i-beat; --d: 1.6s; }
.live .ic[data-anim="bob"] { animation-name: i-bob; }
.live .ic[data-anim="swing"] { animation-name: i-swing; transform-origin: 50% 0; }
.live .ic[data-anim="twinkle"] { animation-name: i-twinkle; --d: 2.6s; }
.live .ic[data-anim="glow"] { animation-name: i-glow; --d: 2.4s; }
.live .ic[data-anim="blink"] { animation-name: i-blink; --d: 4s; }
.live .ic[data-anim="nod"] { animation-name: i-nod; --d: 3.6s; }
.live .ic[data-anim="wobble"] { animation-name: i-wobble; --d: 3s; }
.live .ic[data-anim="drop"] { animation-name: i-drop; --d: 2.2s; }
.live .ic[data-anim="steam"] { animation-name: i-steam; --d: 2.8s; }
.live .ic[data-anim="shake"] { animation-name: i-shake; --d: 3.4s; }
*:hover > .ic[data-anim], *:hover > * > .ic[data-anim] { --d: 1.1s; }
@keyframes i-beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.18); } 28% { transform: scale(.96); } 42% { transform: scale(1.1); } 60% { transform: scale(1); } }
@keyframes i-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes i-swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(6deg); } 75% { transform: rotate(-6deg); } }
@keyframes i-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(12deg); } }
@keyframes i-glow { 0%, 100% { filter: none; transform: scale(1); } 50% { filter: drop-shadow(0 0 6px rgba(54,179,214,.9)); transform: scale(1.06); } }
@keyframes i-blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes i-nod { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-2px) rotate(-4deg); } 60% { transform: translateY(0) rotate(3deg); } }
@keyframes i-wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@keyframes i-drop { 0% { transform: translateY(-4px); } 40% { transform: translateY(1px) scaleY(.92); } 55% { transform: translateY(0) scaleY(1.04); } 100% { transform: translateY(-4px); } }
@keyframes i-steam { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-3deg); } }
@keyframes i-shake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-10deg); } 88% { transform: rotate(9deg); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(3deg); } }
.wi-ico, .t-ico, .s-ico, .tp-ico, .j-ico, .r-ico, .orb, .choice-ico, .sb-ico { --ic-o: .45; }

/* ---------- responsive for the new layouts ---------- */
@media (max-width: 1080px) {
  .jw .journey-steps li { width: 120px; margin-left: -60px; }
  .jw .journey-steps small { display: none; }
  .orbit { --R: 170px; width: min(380px, 100%); }
}
@media (max-width: 980px) {
  .whatif-wrap, .trust-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .whatif-head, .trust-aside { position: static; }
  .wi-swirl { display: none; }
  .steps::before { display: none; }
  .steps li:nth-child(2) { transform: none; }
  .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .causes .person-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .causes .person-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .causes .person-card:nth-child(n) .pc-img { inset: 14% 8% 30% 8%; }
  .causes .person-card:nth-child(1) .pc-img { inset: 6% 45% 6% 4%; }
  .causes .person-card:nth-child(n) figcaption { margin-left: 0; }
  .causes .person-card:nth-child(1) figcaption { margin-left: 52%; font-size: 20px; }
}
@media (max-width: 720px) {
  .wdiv { height: 40px; top: -39px; }
  .journey { padding: 20px; }
  .jw { height: auto; margin-top: 10px; }
  .jw-line { display: none; }
  .jw .journey-steps { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .jw .journey-steps li { position: static; width: auto; margin: 0; }
  .jw .journey-steps li.up a { transform: none; flex-direction: column; }
  .jw .journey-steps small { display: block; }
  .whatif-wrap .whatif { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 0; }
  .whatif-wrap .whatif article:nth-child(n) { transform: rotate(0); min-height: 0; }
  .whatif-wrap .whatif article:nth-child(even):hover, .whatif-wrap .whatif article:hover { transform: none; }
  .orbit { --R: 140px; width: min(320px, 100%); }
  .orb { width: 50px; height: 50px; margin: -25px; } .orb .ic { width: 24px; height: 24px; }
  .causes { grid-auto-rows: 210px; }
  .trust-main .money-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .live .ic[data-anim], .orb, .orbit-ring { animation: none !important; }
}

/* ---------- audience panels: illustrations in Diana's style, gently alive ---------- */
.ph-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; animation: kenburns 18s ease-in-out infinite alternate; }
.choice:nth-child(2) .ph-art { animation-delay: -6s; } .choice:nth-child(3) .ph-art { animation-delay: -12s; }
.ph::before { display: none; }
.ph::after { inset: 38% 0 0; background: linear-gradient(180deg, transparent, rgba(6,42,64,.78)); z-index: 1; }
.cart-art { display: none; }
.ph-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ph-float i { position: absolute; bottom: 30%; width: 14px; height: 14px; opacity: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF8FA3' d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat; animation: floatup 4.5s ease-in infinite; }
.ph-float i:nth-child(1) { left: 30%; } .ph-float i:nth-child(2) { left: 55%; animation-delay: 1.5s; width: 10px; height: 10px; } .ph-float i:nth-child(3) { left: 72%; animation-delay: 3s; }
.choice:hover .ph-float i, .choice[aria-expanded="true"] .ph-float i { animation-duration: 2.6s; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
@keyframes floatup { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .95; } 100% { transform: translateY(-160px) scale(1.1); opacity: 0; } }
[data-theme="dark"] .ph-art { filter: brightness(.72) saturate(1.05); }
[data-theme="dark"] .ph::after { background: linear-gradient(180deg, transparent, rgba(5,7,9,.9)); }
@media (max-width: 720px) { .ph-art { object-position: 50% 20%; } }
@media (prefers-reduced-motion: reduce) { .ph-art, .ph-float i { animation: none !important; } }

/* =====================================================================
   v9 · one illustrated style everywhere (icons, causes, crowd, founder)
   ===================================================================== */
img.ic.ill { width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; }
.wi-ico, .t-ico, .s-ico, .tp-ico, .r-ico, .choice-ico, .ask-ico { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.wi-ico { width: 68px; height: 68px; border-radius: 0; }
.whatif-wrap .whatif article:nth-child(2) .wi-ico, .whatif-wrap .whatif article:nth-child(4) .wi-ico { background: rgba(255,255,255,.92) !important; border-radius: 22px; padding: 6px; }
.t-ico { width: 56px; height: 56px; }
.s-ico { width: 104px; height: 104px; margin-bottom: 0; }
.tp-ico { width: 58px; height: 58px; }
.r-ico { width: 44px; height: 44px; }
.ask-ico { width: 76px; height: 76px; }
.j-ico { width: 66px; height: 66px; padding: 6px; background: var(--surface); border-color: var(--line2); }
.journey-steps li.on .j-ico { background: var(--accent-soft); border-color: var(--accent); }
@media (min-width: 721px) { .jw .journey-steps li { margin-top: -33px; } }
.orb { width: 78px; height: 78px; margin: -39px; padding: 8px; }
.choice-ico { width: 54px; height: 54px; background: rgba(255,255,255,.95) !important; border-radius: 16px; padding: 5px; border: 2px solid var(--pop-ink) !important; }
.purchases .ico { width: 36px; height: 36px; background: transparent; }
.stats img.ic.ill { width: 58px; height: 58px; margin-bottom: 6px; }
.join-points img.ic.ill { width: 34px; height: 34px; }
.teasers .t-ico { width: 52px; height: 52px; }
.sb-ico { padding: 3px; background: #fff; }
.sb-ico img.ic.ill { width: 100%; height: 100%; }
[data-theme="dark"] .sb-ico { background: #F4FAFC; }
[data-theme="dark"] .j-ico { background: #11161B; }
[data-theme="dark"] img.ic.ill { filter: drop-shadow(0 0 10px rgba(63,224,236,.18)); }

/* featured causes: full-bleed illustrations with a caption card */
.cause-card { padding: 12px; background: #CFEFF6 !important; }
.cause-card .pc-img.art { position: absolute; inset: 0; overflow: hidden; }
.cause-card .pc-img.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.causes .cause-card:nth-child(n) .pc-img.art { inset: 0 !important; }
.cause-card:hover .pc-img.art img { transform: scale(1.07); }
.cause-card figcaption { position: relative; z-index: 1; margin-left: 0 !important; width: max-content; max-width: 100%; box-shadow: 0 8px 24px -12px rgba(6,42,64,.4); }
.cause-card .cause-tag { z-index: 1; }
.causes .cause-card:nth-child(1) .pc-img.art img { object-position: 50% 35%; }
[data-theme="dark"] .cause-card { background: #0F1418 !important; }
[data-theme="dark"] .cause-card .pc-img.art img { filter: brightness(.78) saturate(1.05); }
.cause-card { transform-style: preserve-3d; will-change: transform; }

/* crowd: one wide illustration that drifts sideways as you scroll */
.crowd-frame { padding: 64px 0 40px; }
.crowd-art { position: relative; margin: 34px 0 0; overflow: hidden; aspect-ratio: 25 / 18; max-height: 620px; }
.crowd-art img { position: absolute; top: 0; left: 0; width: 128%; height: auto; max-width: none; }
@media (min-width: 721px) { .crowd-art { aspect-ratio: auto; height: min(620px, calc((100vw - 80px) * .72 * .62)); } .crowd-art img { width: auto; height: 100%; min-width: 128%; object-fit: cover; } }
.crowd-art .ph-float i { bottom: 55%; }
.crowd-art .ph-float i:nth-child(4) { left: 15%; animation-delay: 2.2s; } .crowd-art .ph-float i:nth-child(5) { left: 88%; animation-delay: .8s; }
.crowd-sub, .crowd-title { padding: 0 28px; }
[data-theme="dark"] .crowd-art img { filter: brightness(.8); }

/* founder portrait */
.promise-photo { border: 0; overflow: hidden; padding: 0; background: #CFEFF6; }
.promise-photo img { width: 100%; height: 100%; object-fit: cover; }

/* dynamic headline reveal (words rise in) */
.w-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w-split .w > span { display: inline-block; will-change: transform; }

/* marquee ribbon between stories */
.ribbon { position: relative; overflow: hidden; padding: 22px 0; background: var(--accent); color: #fff; transform: rotate(-1.6deg); margin: 30px -2vw 70px; z-index: 3; box-shadow: var(--shadow-lg); }
.ribbon-track { display: flex; gap: 40px; width: max-content; font: 800 clamp(24px, 3vw, 38px)/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 40px; }
.ribbon-track img { width: 46px; height: 46px; background: #fff; border-radius: 50%; padding: 4px; }
[data-theme="dark"] .ribbon { background: #0E3A40; color: #EEF7FA; box-shadow: 0 0 40px -10px rgba(63,224,236,.5); }
@media (max-width: 720px) {
  .s-ico { width: 84px; height: 84px; }
  .ribbon { margin: 10px -4vw 50px; padding: 16px 0; }
  .ribbon-track img { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .cause-card .pc-img.art img { transition: none; } }

/* ===== v10 fixes ===== */
/* causes: every card is square so the art is never cropped (big 2x2 + 2 + 3) */
.causes { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.causes .cause-card:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 1 / 1; height: auto; }
.causes .cause-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cause-card { background: #C2ECF0 !important; }
.cause-card .pc-img.art img { object-fit: contain; object-position: 50% 50%; }
@media (max-width: 980px) { .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .causes .cause-card:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 1 / 1; } }
/* dark theme: chips that sat on sand need light ink */
[data-theme="dark"] .tile-tip { background: #EEF7FA; color: #031114; border-color: #031114; }
[data-theme="dark"] .story-x { background: #EEF7FA; color: #031114; }
[data-theme="dark"] .tile:hover em, [data-theme="dark"] .tile:focus-visible em { background: rgba(10,13,16,.92); color: #EEF7FA; }
[data-theme="dark"] .tile:hover, [data-theme="dark"] .tile:focus-visible { box-shadow: 0 0 0 2px var(--accent), 0 0 30px -6px rgba(63,224,236,.7); }

/* custom handwritten italic 'BFG Hand' (drawn in ChatGPT, vectorised into a real font) */
.script, .script-title, .brand, .bubble-name, .receipt-k, .story-kicker, .tile em, .sig, .foot-sign, .journey .script-title { font-family: var(--script); font-weight: 400; letter-spacing: 0; }
.hero h1 { font-size: clamp(50px, 6.2vw, 92px); line-height: 1; }
.script-title { font-size: clamp(42px, 4.8vw, 64px); line-height: 1.05; }
.whatif-head .script-title { font-size: clamp(56px, 7vw, 104px); }
.journey .script-title { font-size: 42px; }
.brand { font-size: 19px; line-height: 1; }
.tile em { font-size: 19px; padding: 5px 12px 4px; }
.receipt-k { font-size: 22px; }
.bubble-name { font-size: 22px; }
.story-kicker { font-size: 19px; }

/* ---------- place tiles: new full scenes, square, crisp ---------- */
.tile { width: 250px; height: 250px; }
.tile img { object-fit: cover; }
@media (max-width: 720px) { .tile { width: 190px !important; height: 190px; } }
/* story dialog: the picture keeps its square shape and is never stretched */
.story-media { align-self: start; aspect-ratio: 1 / 1; height: auto; }
.story-media img { object-fit: cover; }
dialog.story[open] { align-items: start; }
@media (max-width: 720px) { .story-media { height: auto; aspect-ratio: 1 / 1; max-height: 52vh; } }

/* ---------- big idea: one illustration inside slow orbit rings ---------- */
.orbit { --R: 0px; }
.together-art { position: relative; z-index: 1; width: 82%; height: auto; border-radius: 50%; box-shadow: var(--shadow-lg); }
.orbit-ring.r1 { border-color: var(--accent); opacity: .45; }
[data-theme="dark"] .together-art { box-shadow: 0 0 0 1px rgba(63,224,236,.3), 0 0 50px -10px rgba(63,224,236,.5); filter: brightness(.92); }
.trio .t-ico { width: 56px; height: 56px; }

/* ---------- belief: an illustrated route map ---------- */
.bmap { position: relative; margin: 30px 0 0; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.bmap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bmap-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.br-base { fill: none; stroke: rgba(6,42,64,.35); stroke-width: 7; stroke-dasharray: 2 16; stroke-linecap: round; }
.br-draw { fill: none; stroke: #E5677B; stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 2px 0 rgba(255,255,255,.9)); }
.br-coin { fill: #FFD166; stroke: #062A44; stroke-width: 4; }
.bpin { position: absolute; left: var(--x); top: var(--y); width: 38px; height: 38px; margin: -19px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg) scale(.6); display: grid; place-items: center; background: #fff; color: #062A44; border: 3px solid #062A44; font: 800 15px var(--head); transition: transform .4s cubic-bezier(.3,1.8,.5,1), background .3s; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.bpin::first-line { transform: rotate(45deg); }
.bpin.on { transform: rotate(-45deg) scale(1); background: #FFD166; }
.whatif-head .wi-swirl { display: none; }
.whatif article { position: relative; transition: transform .4s, box-shadow .4s, outline-color .3s; outline: 3px solid transparent; outline-offset: 4px; }
.whatif article.lit { outline-color: #FFD166; }
.wi-n { position: absolute; top: 16px; right: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #FFD166; color: #062A44; font: 800 14px var(--head); border: 2px solid #062A44; }
[data-theme="dark"] .bmap img { filter: brightness(.8); }
@media (max-width: 980px) { .bmap { max-width: 420px; margin: 24px auto 0; } }

/* ---------- ripple: watch it spread across a seaside town ---------- */
.pond { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); }
.rings { overflow: hidden; }
.bay-glow { fill: rgba(255,255,255,.12); }
.ring-set circle { stroke: #fff; filter: drop-shadow(0 0 4px rgba(10,110,155,.8)); }
.ring-set circle.alt { stroke: #FFD166; }
.r-heart { fill: #E5677B; font: 700 30px var(--sans); text-anchor: middle; filter: drop-shadow(0 2px 0 #fff); }
.purchases li { box-shadow: 0 10px 24px -10px rgba(6,42,64,.55); border: 2px solid var(--pop-ink); }
.purchases li:nth-child(1) { left: 36%; top: 3%; } .purchases li:nth-child(2) { left: 64%; top: 52%; }
.purchases li:nth-child(3) { left: 60%; top: 74%; } .purchases li:nth-child(4) { left: 4%; top: 72%; }
.purchases li:nth-child(5) { left: 2%; top: 30%; }
[data-theme="dark"] .rmap { filter: brightness(.7) saturate(1.1); }
[data-theme="dark"] .purchases li { background: #11161B; border-color: var(--accent); }
@media (max-width: 720px) { .pond { border-radius: 22px; max-width: 360px; } .purchases li:nth-child(2) { left: 50%; } .purchases li:nth-child(3) { left: 46%; top: 80%; } }

.teasers .t-ico { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--line2) !important; }
.teasers img.ava { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: scale(1.5); transform-origin: 50% 20%; }
@media (max-width: 720px) { .cause-card figcaption { font-size: 14px !important; padding: 6px 9px 5px !important; } .cause-card .cause-tag { display: none; } }

/* ===== v11 ===== */
/* story reel: one row, every place once, a gentle wave of heights */
.reel { position: relative; margin-top: 10px; }
.reel-track { display: flex; gap: 22px; width: auto !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); padding: 30px max(32px, calc((100vw - var(--wrap)) / 2 + 32px)) 40px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track.drag { cursor: grabbing; scroll-snap-type: none; }
.reel-track.drag .tile { pointer-events: none; }
.reel .tile { flex: 0 0 300px; width: 300px !important; height: 400px; border-radius: 28px; scroll-snap-align: start; transform: none !important; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.reel .tile:nth-child(even) { margin-top: 40px; height: 360px; }
.reel .tile:nth-child(3n) { height: 430px; margin-top: -10px; }
.reel .tile img { object-position: 50% 30%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.reel .tile:hover img, .reel .tile:focus-visible img { transform: scale(1.06); }
.reel .tile::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(6,20,32,.85)); z-index: -1; pointer-events: none; }
.reel .tile:hover, .reel .tile:focus-visible { box-shadow: 0 0 0 3px var(--accent), var(--shadow-lg) !important; }
.reel .tile em { margin: 0 16px 6px; align-self: flex-start; background: none; color: #fff; padding: 0; font-size: 30px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.tile-info { display: grid; gap: 10px; margin: 0 16px 18px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.4; }
.tile-cause { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 5px 11px 5px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: #062A44; font: 700 12.5px var(--sans); }
.tile-cause .ic { width: 15px; height: 15px; color: var(--heart); --ic-d: var(--heart); }
.tile-n { position: absolute; top: 16px; right: 18px; font: 800 15px var(--head); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.reel .tile-tip { top: 14px; left: 14px; }
.reel-ui { display: flex; align-items: center; gap: 16px; }
.reel-btn { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--pop-ink); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 3px 4px 0 var(--pop-ink); transition: transform .15s, box-shadow .15s; flex: none; }
.reel-btn:active { transform: translate(2px, 3px); box-shadow: 0 0 0 var(--pop-ink); }
.reel-btn[data-reel="-1"] .ic { transform: scaleX(-1); }
.reel-btn .ic { width: 22px; height: 22px; }
.reel-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line2); overflow: hidden; }
.reel-bar span { display: block; height: 100%; width: 12%; background: var(--accent); border-radius: 4px; transition: width .2s; }
.reel-count { font: 700 14px var(--head); color: var(--mute); min-width: 60px; text-align: center; }
.reel-count b { color: var(--ink); }
[data-theme="dark"] .reel-btn { border-color: var(--accent); background: #11161B; color: var(--accent); box-shadow: 0 0 14px rgba(63,224,236,.3); }
@media (max-width: 720px) { .reel .tile { flex-basis: 78vw; width: 78vw !important; height: 420px; margin-top: 0 !important; } .reel-track { gap: 14px; padding: 20px 20px 30px; scroll-padding-left: 20px; } }

/* story dialog: the picture fills its whole column */
@media (min-width: 721px) {
  dialog.story[open] { align-items: stretch; height: min(560px, calc(100% - 24px)); }
  .story-media { aspect-ratio: auto; align-self: stretch; height: auto; min-height: 100%; }
  .story-media img { object-position: 50% 30%; }
  .story-body { max-height: 100%; }
}

/* causes: crop the soft aqua frame of each illustration so the art fills the card */
.cause-card .pc-img.art img { object-fit: cover !important; transform: scale(1.16); }
.cause-card:hover .pc-img.art img { transform: scale(1.22); }
.cause-card { background: #0E2A33 !important; }

/* belief map: labelled pins, popovers, coin */
.bmap { overflow: hidden; }
.bmap-cap { position: absolute; left: 14px; top: 14px; z-index: 3; display: grid; gap: 2px; padding: 8px 14px 9px; border-radius: 14px; background: rgba(255,255,255,.94); color: #062A44; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.bmap-cap b { font: 700 15px var(--head); } .bmap-cap span { font-size: 12px; color: #4A6272; }
.bpin { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; padding: 0; cursor: pointer; }
.bpin-n { width: 38px; height: 38px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); display: grid; place-items: center; background: #fff; border: 3px solid #062A44; color: #062A44; font: 800 15px var(--head); box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); transition: transform .35s cubic-bezier(.3,1.8,.5,1), background .3s; }
.bpin-l { padding: 2px 8px; border-radius: 8px; background: rgba(6,42,68,.85); color: #fff; font: 700 11.5px var(--sans); white-space: nowrap; }
.bpin.on .bpin-n { background: #FFD166; }
.bpin.cur .bpin-n { transform: rotate(-45deg) scale(1.2); }
.bpin:hover .bpin-n, .bpin:focus-visible .bpin-n { transform: rotate(-45deg) scale(1.2); }
.bpop { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4; width: calc(100% - 28px); padding: 12px 16px; border-radius: 16px; background: #fff; color: #062A44; border: 2px solid #062A44; box-shadow: 4px 5px 0 #062A44; animation: popin .35s cubic-bezier(.3,1.5,.5,1); }
.bpop b { display: block; font: 700 15px var(--head); } .bpop p { margin-top: 3px; font-size: 13.5px; color: #2F4B5E; }
@keyframes popin { from { opacity: 0; transform: translate(-50%, 12px) scale(.96); } }
.br-coin-t { fill: #062A44; font: 800 16px var(--sans); pointer-events: none; }
.bpin-n > i { font-style: normal; transform: rotate(45deg); }
.bmap .bpin, .bmap .bpin.on { width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: translate(-50%, -100%); font-size: inherit; transition: none; }
.whatif article p { padding-right: 26px; }

/* ===== v12 ===== */
/* story dialog: picture is an exact square, text column scrolls beside it */
@media (min-width: 721px) {
  dialog.story { width: min(920px, calc(100% - 24px)); height: auto !important; max-height: calc(100% - 24px); }
  dialog.story[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; height: auto !important; }
  .story-media { aspect-ratio: 1 / 1 !important; min-height: 0 !important; height: auto; max-height: calc(100vh - 28px); }
  .story-media img { object-position: 50% 50%; }
  .story-body { position: relative; padding: 0 !important; max-height: none !important; overflow: hidden !important; }
  .story-in { position: absolute; inset: 0; overflow-y: auto; padding: 26px 28px 22px; }
}
@media (max-width: 720px) { .story-in { padding: 0; } .story-media { aspect-ratio: 1 / 1; height: auto !important; max-height: none; } }

/* belief map: caption above, answer card below, nothing covers the map */
.bmap-wrap { margin-top: 30px; max-width: 440px; }
.bmap-wrap .bmap { margin-top: 12px; }
.bmap-wrap .bmap-cap { position: static; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0; background: none; box-shadow: none; color: var(--ink); }
.bmap-wrap .bmap-cap span { color: var(--mute); }
.bpops { display: grid; margin-top: 16px; }
.bpops .bpop { grid-area: 1 / 1; position: static; transform: none; width: auto; animation: popin2 .35s cubic-bezier(.3,1.5,.5,1); }
@keyframes popin2 { from { opacity: 0; transform: translateY(8px); } }
[data-theme="dark"] .bpops .bpop { background: #11161B; color: var(--ink); border-color: var(--accent); box-shadow: 0 0 20px -6px rgba(63,224,236,.5); }
[data-theme="dark"] .bpops .bpop p { color: var(--text); }
@media (max-width: 980px) { .bmap-wrap { margin: 24px auto 0; } }

/* ripple: bigger town map with a glass explainer */
.ripple-sticky { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); max-width: 1320px; }
.pond { max-width: 720px; }
.ripple-glass { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; width: min(560px, calc(100% - 32px)); padding: 14px 18px 12px; border-radius: 20px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 40px -20px rgba(6,42,64,.5), inset 0 1px 0 rgba(255,255,255,.8); color: #062A44; }
.rg-t { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #0A6E9B; margin-bottom: 8px; }
.ripple-glass ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ripple-glass li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.35; }
.ripple-glass b { display: block; font-family: var(--head); font-size: 14px; }
.rg-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 1px; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #E5677B; }
.rg-dot.w { border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(10,110,155,.5); }
.rg-dot.g { border: 3px solid #FFD166; }
.rg-dot.h { background: #fff; }
[data-theme="dark"] .ripple-glass { background: rgba(10,14,18,.55); border-color: rgba(63,224,236,.35); color: #EEF7FA; box-shadow: 0 0 30px -10px rgba(63,224,236,.5); }
[data-theme="dark"] .rg-t { color: var(--accent); }
.purchases li:nth-child(3) { top: 58%; } .purchases li:nth-child(4) { top: 56%; }
@media (max-width: 720px) { .ripple-glass { position: static; transform: none; width: auto; margin: 12px 0 0; } .ripple-glass ul { grid-template-columns: 1fr; gap: 8px; } .pond { overflow: visible; } }

/* action: illustrated puzzle icon */
.join-art { width: 150px; height: auto; margin-bottom: 18px; }
[data-theme="dark"] .join-art { filter: drop-shadow(0 0 16px rgba(63,224,236,.25)); }
@media (min-width: 721px) { .story-media { width: 100%; min-width: 0; max-height: none !important; } }

/* dark theme: warm sun-yellow instead of pink, logo wave in light aqua */
[data-theme="dark"] { --mark2: #9FE3F0; }
/* story dialog: sized from the screen, so fullscreen and wide windows never stretch it */
@media (min-width: 721px) {
  dialog.story, dialog.story[open] { --dw: min(920px, calc(100vw - 48px), calc((100vh - 48px) / .56)); width: var(--dw) !important; height: calc(var(--dw) * .56) !important; max-height: none !important; margin: auto; inset: 0; }
  dialog.story[open] { grid-template-rows: 100%; }
  .story-media { aspect-ratio: auto !important; height: 100% !important; }
  .story-body { height: 100%; }
}
