/* Pakhand.com design tokens — see proposal §4 */
:root {
  --bg-deep: #060d18;
  --bg-panel: #0f1b2e;
  --bg-panel-2: #142238;
  --indigo: #1e3a5f;
  --indigo-deep: #1e1b4b;
  --violet: #7c3aed;
  --violet-soft: #a78bfa;
  --teal: #2dd4bf;
  --teal-deep: #0d9488;
  --green: #22c55e;
  --orange: #f97316;
  --gold: #facc15;
  --ink: #f5f7fa;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --grad-journey: linear-gradient(90deg, #1e1b4b 0%, #1e3a5f 25%, #0d9488 50%, #22c55e 70%, #f97316 90%, #facc15 100%);
  --grad-cta: linear-gradient(135deg, #f97316, #facc15);
  --grad-inquiry: linear-gradient(135deg, #0d9488, #22c55e);
  --grad-claim: linear-gradient(135deg, #1e1b4b, #7c3aed);

  --font-display: "Space Grotesk", "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hi: "Noto Sans Devanagari", "Mukta", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-card: 0 0 0 1px var(--line), 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow-orange: 0 0 60px rgba(249, 115, 22, 0.18);
  --shadow-glow-teal: 0 0 60px rgba(45, 212, 191, 0.14);

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

:root[data-theme="light"] {
  --bg-deep: #fbfbfd;
  --bg-panel: #ffffff;
  --bg-panel-2: #f1f5f9;
  --ink: #0b1220;
  --ink-2: #1e293b;
  --muted: #475569;
  --line: rgba(2, 6, 23, 0.08);
  --line-strong: rgba(2, 6, 23, 0.16);
  --shadow-card: 0 0 0 1px var(--line), 0 14px 40px rgba(2, 6, 23, 0.08);
}


/* Base — reset, typography, layout primitives */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { min-height: 100%; }
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:lang(hi) body, body:lang(hi), [lang="hi"], :lang(mr) body, body:lang(mr), [lang="mr"] { font-family: var(--font-hi); line-height: 1.75; }
[lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3, [lang="hi"] .display, [lang="mr"] h1, [lang="mr"] h2, [lang="mr"] h3, [lang="mr"] .display { font-family: var(--font-hi); }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { max-width: 68ch; }
a { color: var(--teal); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); }
code, pre, .mono { font-family: var(--font-mono); font-size: 0.92em; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.gradient-text {
  background: var(--grad-journey);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.divider {
  height: 2px;
  border: 0;
  background: var(--grad-journey);
  opacity: 0.7;
  border-radius: 2px;
}

/* Aurora background (from the original landing page) */
.canvas { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.canvas__orb { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 22s ease-in-out infinite alternate; }
.canvas__orb--1 { width: 55vw; height: 55vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, rgba(30, 58, 95, 0.75), transparent 70%); top: -15%; left: -10%; }
.canvas__orb--2 { width: 45vw; height: 45vw; max-width: 520px; max-height: 520px; background: radial-gradient(circle, rgba(249, 115, 22, 0.35), transparent 70%); bottom: -10%; right: -8%; animation-delay: -8s; }
.canvas__orb--3 { width: 35vw; height: 35vw; max-width: 420px; max-height: 420px; background: radial-gradient(circle, rgba(45, 212, 191, 0.28), transparent 70%); bottom: 20%; left: 15%; animation-delay: -14s; }
.canvas__orb--4 { width: 30vw; height: 30vw; max-width: 360px; max-height: 360px; background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 70%); top: 30%; right: 20%; animation-delay: -4s; }
.canvas__grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
@keyframes drift { to { transform: translate(30px, -20px) scale(1.06); } }
:root[data-theme="light"] .canvas__orb { opacity: 0.55; }
:root[data-theme="light"] .canvas__grid { background-image: linear-gradient(rgba(2,6,23,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(2,6,23,0.05) 1px, transparent 1px); }

main { position: relative; z-index: 1; }

/* Entrance animations */
.enter { animation: enter 0.9s var(--ease-out) both; }
.enter-2 { animation-delay: 0.12s; }
.enter-3 { animation-delay: 0.24s; }
@keyframes enter { from { opacity: 0; transform: translateY(24px); } }
html.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
/* Fail-safe: if site.js is slow, blocked or broken it never adds .reveal-ready, and hidden content fades in by itself. */
html.js:not(.reveal-ready) [data-reveal]:not(.is-visible) { animation: reveal-failsafe 0.6s var(--ease-out) 2.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Prose (rendered markdown) */
.prose { font-size: 1.05rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose p, .prose li { color: var(--ink-2); max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote {
  border-left: 3px solid transparent;
  border-image: var(--grad-journey) 1;
  padding: 0.8em 1.2em;
  background: var(--bg-panel);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink);
  font-size: 1.1em;
}
.prose blockquote p { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6em 0.8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--teal); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.prose hr { border: 0; height: 1px; background: var(--line-strong); }
.prose .lead { font-size: 1.25rem; color: var(--ink); }
.prose sup a { color: var(--gold); }
.prose img { border-radius: var(--r-md); }
/* Mono labels (eyebrows, chips, summaries) have no Devanagari glyphs — use the Devanagari face there, without tracking */
[lang="hi"] .eyebrow, [lang="mr"] .eyebrow, [lang="hi"] .chip, [lang="mr"] .chip, [lang="hi"] .script summary, [lang="mr"] .script summary,
[lang="hi"] .steps__num, [lang="mr"] .steps__num { font-family: var(--font-hi); letter-spacing: 0.02em; text-transform: none; font-weight: 600; }


/* Components — header, hero, cards, verdicts, meter, interactives, forms, footer */

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg-deep) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: #fff; }
.brand__dot { color: var(--orange); }
.nav { display: flex; gap: 0.25rem; margin-left: auto; }
.nav a { padding: 0.5rem 0.75rem; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-panel); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
.header-tools { display: flex; align-items: center; gap: 0.4rem; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; font-family: var(--font-mono); font-size: 0.8rem; }
.lang-toggle a, .lang-toggle span { padding: 0.35rem 0.7rem; color: var(--muted); }
.lang-toggle [aria-current="true"] { background: var(--teal); color: #04201c; font-weight: 700; }
.lang-toggle a:hover { text-decoration: none; color: var(--ink); }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); border: 1px solid var(--line); }
.icon-btn:hover { background: var(--bg-panel); color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; padding: 0.75rem var(--gutter) 1rem; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .menu-btn { display: grid; }
  .header-tools { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--grad-cta); color: #1a0a00; box-shadow: 0 10px 30px rgba(249, 115, 22, 0.28); }
.btn--primary:hover { box-shadow: 0 16px 40px rgba(249, 115, 22, 0.4); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: color-mix(in srgb, var(--bg-panel) 60%, transparent); }
.btn--ghost:hover { border-color: var(--teal); }
.btn--teal { background: var(--grad-inquiry); color: #032a22; }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

/* Hero */
.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.hero__art { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card), var(--shadow-glow-orange); }
.hero__art::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(135deg, rgba(249,115,22,0.5), rgba(255,255,255,0.08) 40%, rgba(45,212,191,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero__copy { margin-top: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1.25rem; align-items: start; grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 860px) { .hero__copy { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.tagline { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
.tagline .q { color: var(--indigo); color: var(--violet-soft); }
.tagline .r { color: var(--teal); }

/* Three-step inquiry standard */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.steps__item { padding: 1.25rem 1.25rem 1.35rem; position: relative; color: #fff; }
.steps__item:nth-child(1) { background: linear-gradient(135deg, #1e1b4b, #1e3a5f); }
.steps__item:nth-child(2) { background: linear-gradient(135deg, #0f766e, #0d9488); }
.steps__item:nth-child(3) { background: linear-gradient(135deg, #15803d, #f97316 140%); }
.steps__num { font-family: var(--font-mono); font-size: 0.75rem; opacity: 0.8; letter-spacing: 0.12em; }
.steps__item h3 { margin-top: 0.4rem; color: #fff; }
.steps__item p { margin-top: 0.35rem; font-size: 0.93rem; opacity: 0.92; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: var(--bg-panel);
  border-radius: var(--r-lg);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), var(--shadow-glow-teal); }
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; }
.card__top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-2); font-size: 0.97rem; }
.card--accent::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-journey); }
.pillar { padding-top: 1.6rem; }
.pillar__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-panel-2); color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
.pillar--expose .pillar__icon { color: var(--violet-soft); }
.pillar--explain .pillar__icon { color: var(--teal); }
.pillar--equip .pillar__icon { color: var(--gold); }
.card ul.links { list-style: none; margin-top: 0.8rem; display: grid; gap: 0.3rem; }
.card ul.links a { color: var(--ink-2); font-size: 0.95rem; }
.card ul.links a::before { content: "→ "; color: var(--teal); }

/* Chips / ribbons */
.chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.65rem; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--ink-2); }
.chip--teal { border-color: var(--teal); color: var(--teal); }
.chip--violet { border-color: var(--violet-soft); color: var(--violet-soft); }
.chip--gold { border-color: var(--gold); color: var(--gold); }
.chip--green { border-color: var(--green); color: var(--green); }
.chip--orange { border-color: var(--orange); color: var(--orange); }
.ribbon { position: absolute; top: 14px; right: -34px; transform: rotate(35deg); padding: 0.3rem 2.6rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.ribbon--sach { background: var(--green); color: #032a12; }
.ribbon--adha { background: var(--gold); color: #2b2000; }
.ribbon--pakhand { background: var(--violet); }
.notice { border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 0.8rem 1rem; font-size: 0.92rem; color: var(--muted); background: color-mix(in srgb, var(--bg-panel) 60%, transparent); }
.notice strong { color: var(--gold); }

/* Verdict cards */
.verdict { padding-top: 1.4rem; }
.verdict__claim { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin-top: 0.5rem; }
.verdict__meta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; align-items: center; }
.verdict__stamp { display: inline-block; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.12em; padding: 0.3rem 0.7rem; border: 2px solid currentColor; border-radius: 6px; transform: rotate(-4deg); animation: stamp 0.6s var(--ease-spring) both; }
.verdict__stamp--sach { color: var(--green); }
.verdict__stamp--adha { color: var(--gold); }
.verdict__stamp--pakhand { color: var(--violet-soft); }
@keyframes stamp { from { transform: rotate(-4deg) scale(1.6); opacity: 0; } }

/* Pakhand-o-meter */
.meter { display: grid; place-items: center; text-align: center; }
.meter svg { width: min(100%, 260px); overflow: visible; }
.meter__track { stroke: var(--line-strong); }
.meter__fill { stroke: url(#meterGrad); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease-out); }
.meter__value { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.meter__label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.flags { display: grid; gap: 0.5rem; margin-top: 1rem; }
.flag { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 0.8rem; align-items: center; font-size: 0.92rem; }
.flag__bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.flag__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--orange)); transition: width 1s var(--ease-out); }
.flag__val { font-family: var(--font-mono); color: var(--muted); font-size: 0.8rem; }

/* First Look checker */
.checker { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .checker { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field textarea, .field input, .field select {
  width: 100%; background: var(--bg-panel-2); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 0.85rem 1rem; color: var(--ink); min-height: 48px; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.field textarea:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.result { min-height: 240px; }
.result__empty { display: grid; place-items: center; text-align: center; color: var(--muted); min-height: 240px; padding: 1rem; }
.result__source { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
.result__explain { margin-top: 1rem; color: var(--ink-2); font-size: 0.97rem; }
.result__explain h4 { margin-top: 0.9rem; color: var(--ink); }
.result__explain ol { padding-left: 1.3em; margin-top: 0.4rem; }
.samples { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.samples button { border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.85rem; color: var(--ink-2); }
.samples button:hover { border-color: var(--teal); color: var(--ink); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line-strong); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Formula builder */
.formula__fears { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.formula__fears button { border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.5rem 1rem; font-weight: 600; color: var(--ink-2); transition: all 0.25s ease; }
.formula__fears button:hover { border-color: var(--teal); color: var(--ink); }
.formula__fears button[aria-pressed="true"] { background: var(--grad-inquiry); color: #032a22; border-color: transparent; }
.formula__steps { display: grid; gap: 0.75rem; margin-top: 1.25rem; counter-reset: step; }
.fstep { display: grid; grid-template-columns: 52px 1fr; gap: 0.9rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-panel-2); border: 1px solid var(--line); opacity: 0; transform: translateX(-12px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.fstep.is-in { opacity: 1; transform: none; }
.fstep__n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; color: #fff; }
.fstep:nth-child(1) .fstep__n { background: #1e3a5f; }
.fstep:nth-child(2) .fstep__n { background: #5b21b6; }
.fstep:nth-child(3) .fstep__n { background: #0d9488; }
.fstep:nth-child(4) .fstep__n { background: #c2410c; }
.fstep:nth-child(5) .fstep__n { background: #b45309; }
.fstep h4 { font-size: 1rem; }
.fstep p { font-size: 0.95rem; color: var(--ink-2); margin-top: 0.2rem; }
.fstep--break { background: linear-gradient(135deg, rgba(45,212,191,0.12), rgba(34,197,94,0.1)); border-color: var(--teal); }
.fstep--break .fstep__n { background: var(--grad-inquiry); color: #032a22; }

/* Then → Now slider */
.thennow { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); user-select: none; touch-action: pan-y; }
.thennow__pane { padding: clamp(1.25rem, 4vw, 2.5rem); min-height: 300px; display: grid; align-content: center; gap: 0.6rem; }
.thennow__pane--then { background: linear-gradient(135deg, #12102e, #1e3a5f); padding-right: 52% !important; }
.thennow__pane--now { position: absolute; inset: 0; background: linear-gradient(135deg, #0d9488, #22c55e 60%, #f97316); clip-path: inset(0 0 0 50%); color: #04201c; padding-left: 52% !important; }
.thennow--vertical .thennow__pane--then { padding-right: clamp(1.25rem, 4vw, 2.5rem) !important; padding-bottom: 52% !important; min-height: 420px; }
.thennow--vertical .thennow__pane--now { padding-left: clamp(1.25rem, 4vw, 2.5rem) !important; padding-top: 52% !important; }
.thennow--vertical .thennow__handle { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 3px; transform: translateY(-50%); }
.thennow--vertical .thennow__handle::after { content: "↕"; }
.thennow--vertical input[type="range"] { cursor: ns-resize; }
.thennow__pane--now h3, .thennow__pane--now p, .thennow__pane--now .eyebrow { color: #04201c; }
.thennow__pane h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.thennow__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.thennow__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0b1220; display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.thennow input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.thennow__nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.9rem; }
.thennow__nav button { border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.85rem; color: var(--ink-2); }
.thennow__nav button[aria-pressed="true"] { background: var(--ink); color: var(--bg-deep); border-color: transparent; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 0.6rem; counter-reset: q; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; padding: 0.9rem 1rem; background: var(--bg-panel); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.checklist input { width: 22px; height: 22px; margin-top: 0.15rem; accent-color: var(--teal); }
.checklist label { cursor: pointer; }
.checklist label small { display: block; color: var(--muted); margin-top: 0.2rem; }
.checklist li.is-done label { color: var(--muted); text-decoration: line-through; }
.progress { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad-inquiry); transition: width 0.5s var(--ease-out); }

/* Glossary */
.glossary { display: grid; gap: 0.6rem; }
.term { padding: 1rem 1.1rem; background: var(--bg-panel); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.term__head { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: baseline; }
.term__hi { font-family: var(--font-hi); color: var(--gold); }
.term p { margin-top: 0.35rem; color: var(--ink-2); font-size: 0.96rem; }
.filter { width: 100%; background: var(--bg-panel-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.75rem 1.2rem; color: var(--ink); }

/* Mind traps quiz */
.quiz__opts { display: grid; gap: 0.5rem; margin-top: 0.8rem; }
.quiz__opts button { text-align: left; padding: 0.75rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--bg-panel-2); }
.quiz__opts button:hover { border-color: var(--teal); }
.quiz__opts button.is-right { border-color: var(--green); color: var(--green); }
.quiz__opts button.is-wrong { border-color: var(--orange); color: var(--orange); }
.quiz__answer { margin-top: 0.8rem; padding: 0.8rem 1rem; border-radius: var(--r-md); background: rgba(45,212,191,0.08); border: 1px solid var(--teal); font-size: 0.95rem; display: none; }
.quiz__answer.is-shown { display: block; }

/* Status vocabulary table */
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--teal); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }

/* Story */
.story-hero { padding-block: clamp(2rem, 5vw, 4rem) 1rem; }
.story-hero h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
.story-hero .sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-2); font-style: italic; margin-top: 0.8rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.toc { position: sticky; top: 84px; font-size: 0.9rem; }
.toc a { display: block; color: var(--muted); padding: 0.25rem 0; border-left: 2px solid var(--line); padding-left: 0.8rem; }
.toc a:hover { color: var(--ink); text-decoration: none; border-color: var(--teal); }
.story-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; }
/* Grid items default to min-width:auto, so a wide table would stretch the column past a phone screen and the text gets
   clipped by body{overflow-x:hidden}. min-width:0 keeps the column at the screen width; wide tables scroll inside it. */
.story-layout > * { min-width: 0; }
@media (max-width: 960px) { .story-layout { grid-template-columns: 1fr; } .toc { display: none; } }

/* Share bar */
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share button, .share a { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.88rem; color: var(--ink-2); }
.share button:hover, .share a:hover { border-color: var(--teal); color: var(--ink); text-decoration: none; }

/* Newsletter */
.newsletter { background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(13,148,136,0.18) 50%, rgba(249,115,22,0.18)); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-card); }
.newsletter form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.newsletter input { flex: 1 1 240px; background: var(--bg-panel); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.8rem 1.2rem; color: var(--ink); }

/* Footer */
.site-footer { position: relative; z-index: 1; margin-top: clamp(3rem, 8vw, 6rem); border-top: 1px solid var(--line); padding-block: 2.5rem 2rem; color: var(--muted); font-size: 0.92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--ink); font-size: 0.9rem; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer__bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.82rem; }

/* Page header */
.page-head { padding-block: clamp(2.2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem); }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-head .lead { margin-top: 0.8rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-2); }

/* Toast */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg-deep); padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 600; opacity: 0; transition: all 0.3s var(--ease-out); z-index: 100; pointer-events: none; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---- Series (research-based explainers) ---- */
.soon { color: var(--muted); border-bottom: 1px dotted var(--line-strong); cursor: default; }
.series-feature__list { list-style: none; display: grid; gap: 0.4rem; }
.series-feature__list a { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: baseline; padding: 0.6rem 0.8rem; border-radius: var(--r-md); background: var(--bg-panel-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.series-feature__list a:hover { color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--teal); }
.series-card__n { font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; color: var(--teal); }
.series-card { padding-top: 1.4rem; }
.series-card__q { font-style: italic; color: var(--ink-2); margin-top: 0.5rem; }
.series-card--soon { opacity: 0.55; box-shadow: 0 0 0 1px var(--line); background: transparent; }
.series-card--soon .series-card__n { color: var(--muted); }
.series-card--soon:hover { transform: none; }
.composite { margin-top: 0.5rem; }
.installment > * + * { margin-top: 1.6rem; }
.evidence, .stops, .watch, .hypothetical, .question-card, .script { border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.4rem); }
.evidence { background: var(--bg-panel); box-shadow: var(--shadow-card); border-left: 4px solid var(--teal); }
.evidence .eyebrow { color: var(--teal); }
.hypothetical { background: color-mix(in srgb, var(--gold) 8%, var(--bg-panel)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); }
.hypothetical table { font-size: 0.95rem; }
.stops { background: color-mix(in srgb, var(--violet) 10%, var(--bg-panel)); border-left: 4px solid var(--violet-soft); }
.stops .eyebrow { color: var(--violet-soft); }
.question-card { background: var(--grad-claim); color: #fff; text-align: center; padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.question-card .eyebrow { color: rgba(255,255,255,0.75); }
.question-card__q { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.3; margin-top: 0.6rem; color: #fff; }
.question-card__q em { font-style: normal; }
.watch { background: var(--bg-panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.watch .eyebrow { color: var(--orange); }
.script { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.script summary { cursor: pointer; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.script summary::marker { color: var(--muted); }
.part-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 2.4rem; }
@media (max-width: 640px) { .part-nav { grid-template-columns: 1fr; } }
.part-nav__a { display: grid; gap: 0.3rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-panel); box-shadow: var(--shadow-card); color: var(--ink); }
.part-nav__a:hover { text-decoration: none; box-shadow: 0 0 0 1px var(--teal), var(--shadow-card); }
.part-nav__a--next { text-align: right; }
.part-nav__a--soon { opacity: 0.6; }
.part-nav__a--soon .eyebrow { color: var(--muted); }
.refs { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-2); }
.refs h2 { font-size: 1.25rem; }
.refs h3 { font-size: 1rem; margin-top: 1.4rem; color: var(--ink); }
.refs__list { list-style: none; display: grid; gap: 0.7rem; margin-top: 0.8rem; }
.refs__list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.6rem; align-items: start; scroll-margin-top: 90px; }
.refs__list li:target { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: 4px; }
.refs__id { font-family: var(--font-mono); font-weight: 700; color: var(--teal); font-size: 0.8rem; letter-spacing: 0.06em; padding-top: 0.15rem; }
.cite a { font-family: var(--font-mono); font-size: 0.68em; color: var(--teal); text-decoration: none; padding-left: 0.1em; }
.cite a:hover { text-decoration: underline; }
.invitation__q { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.series-index .card h3 { font-size: 1.05rem; }
.story-hero a.eyebrow:hover { text-decoration: none; color: var(--ink); }

/* In-page language bar (series + about pages) */
.lang-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 1rem; font-size: 0.92rem; }
.lang-bar__label { color: var(--muted); margin-right: 0.3rem; }
.lang-bar__item { display: inline-flex; align-items: center; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); font-family: var(--font-hi); font-weight: 600; }
.lang-bar__item:hover { text-decoration: none; border-color: var(--teal); color: var(--ink); }
.lang-bar__item[aria-current="true"] { background: var(--teal); border-color: var(--teal); color: #04201c; }
/* Language links inside the mobile menu; the header pill hides on narrow screens so the menu button stays reachable */
.nav__langs { display: none; }
@media (max-width: 860px) {
  .nav__langs { display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 0.8rem 0 0.2rem; border-top: 1px solid var(--line); margin-top: 0.5rem; }
  .nav__langs a, .nav__langs span { padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--font-hi); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
  .nav__langs [aria-current="true"] { background: var(--teal); border-color: var(--teal); color: #04201c; }
}
@media (max-width: 560px) { .lang-toggle { display: none; } }

/* ---------- Dossier-format series (belief-doubt-superstition) ---------- */
.dossiers > * + * { margin-top: 1.6rem; }
.qbox { border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.4rem); background: color-mix(in srgb, var(--violet) 10%, var(--bg-panel)); border-left: 4px solid var(--violet-soft); }
.qbox .eyebrow { color: var(--violet-soft); }
.qbox ul { margin-top: 0.4rem; padding-left: 1.2rem; }
.dossier { display: grid; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.dossier__head h2 { margin-top: 0.6rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.dossier__anchor { color: var(--ink); }
.dossier__anchor:hover { text-decoration: none; color: var(--teal); }
.dossier__claim p { font-size: 1.05rem; }
.dossier__rows { display: grid; gap: 0.9rem; margin: 0; }
.dossier__row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.4rem 1rem; padding: 0.8rem 0 0; border-top: 1px dashed var(--line); }
.dossier__row dt { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); padding-top: 0.2rem; }
.dossier__row--gap dt { color: var(--violet-soft); }
.dossier__row--ask dt { color: var(--gold); }
.dossier__row--who dt { color: var(--orange); }
.dossier__row dd { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .dossier__row { grid-template-columns: 1fr; } }
.safety { border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.4rem); background: color-mix(in srgb, var(--orange) 9%, var(--bg-panel)); border: 1px solid color-mix(in srgb, var(--orange) 55%, transparent); }
.safety .eyebrow { color: var(--orange); }
.safety__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem; margin-top: 0.8rem; padding: 0; }
.safety__list li { display: grid; gap: 0.1rem; padding: 0.6rem 0.8rem; border-radius: var(--r-md); background: var(--bg-panel); }
.safety__list strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); letter-spacing: 0.02em; }
.safety__list span { font-size: 0.9rem; color: var(--ink-2); }
/* Pew chart: pure CSS bars; belief = teal, practice = orange, and every group names its population */
.bars { display: grid; gap: 1.2rem; margin: 0.8rem 0 0; }
.bars__legend { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bars__group h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--ink); }
.bars__list { list-style: none; display: grid; gap: 0.55rem; padding: 0; margin: 0; }
.bar { display: grid; grid-template-columns: minmax(10rem, 17rem) 1fr 3.4rem; gap: 0.8rem; align-items: center; font-size: 0.94rem; color: var(--ink-2); }
.bar__track { height: 0.8rem; border-radius: 999px; background: var(--bg-panel-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--grad-inquiry); }
.bar--practice .bar__fill { background: linear-gradient(90deg, var(--orange), var(--gold)); }
.bar__val { font-family: var(--font-mono); font-weight: 700; text-align: right; color: var(--ink); }
@media (max-width: 640px) { .bar { grid-template-columns: 1fr 3.4rem; } .bar__label { grid-column: 1 / -1; } .bar__track { grid-column: 1; } }
.bars__callout { padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: color-mix(in srgb, var(--gold) 8%, var(--bg-panel)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); color: var(--ink); }
.filter { width: 100%; margin-top: 0.8rem; padding: 0.7rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--bg-panel); color: var(--ink); font: inherit; }
.filter:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.dossier-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 0.2rem 1.4rem; margin-top: 0.8rem; padding: 0; }
.dossier-index li[hidden] { display: none; }
.dossier-index a, .dossier-index__soon { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.5rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); align-items: baseline; font-size: 0.94rem; }
.dossier-index a:hover { text-decoration: none; color: var(--ink); }
.dossier-index__soon { opacity: 0.55; grid-template-columns: 4.6rem 1fr auto; }

/* Hindi / Marathi style switch (plain ↔ mixed) under the language bar */
.style-bar { margin-top: 0.5rem; }
.lang-bar__item--style { font-size: 0.86rem; padding: 0.3rem 0.8rem; }
.lang-bar__item--style[aria-current] { background: color-mix(in srgb, var(--teal) 18%, transparent); border-color: var(--teal); color: var(--ink); }

/* Story opening (dossier series): reads like a column, then hands over to the evidence */
.story-open p { font-size: 1.07rem; line-height: 1.75; }
.story-open p:first-child::first-letter { font-family: var(--font-display); font-size: 2.6em; float: left; line-height: 0.9; padding: 0.08em 0.12em 0 0; color: var(--orange); }
.evidence-h { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-strong); color: var(--teal); }
/* Drop caps split Devanagari conjuncts (रो + हन…), so Hindi and Marathi pages keep the first letter inline */
html[lang="hi"] .story-open p:first-child::first-letter, html[lang="mr"] .story-open p:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; font-family: inherit; }

/* "Fallacies at play": one card per reasoning error — where it appears, how it is exploited, how to counter it */
.fallacies { border-radius: var(--r-lg); padding: clamp(1rem, 2.4vw, 1.4rem); background: color-mix(in srgb, var(--gold) 7%, var(--bg-panel)); border-left: 4px solid var(--gold); }
.fallacies .eyebrow { color: var(--gold); }
.fallacies ul { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.fallacies li { padding: 0.8rem 0.9rem; border-radius: var(--r-md); background: var(--bg-panel); box-shadow: inset 0 0 0 1px var(--line); }
.fallacies li strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 0.25rem; }
.fallacies li em { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-right: 0.2rem; }
html[lang="hi"] .fallacies li em, html[lang="mr"] .fallacies li em { font-family: inherit; font-size: 0.85rem; text-transform: none; letter-spacing: 0; font-weight: 600; }
.installment .fallacies + .question-card { margin-top: 1.6rem; }

/* Cartoons / caricatures inside articles */
.cartoon { margin: 2rem 0; }
.cartoon img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border, rgba(255,255,255,.12)); box-shadow: 0 10px 30px rgba(0,0,0,.25); background: #fff8e7; }
.cartoon figcaption { margin-top: .6rem; font-size: .92rem; line-height: 1.5; color: var(--muted, #9aa4b2); font-style: italic; text-align: center; }

.cartoon__zoom { display: block; cursor: zoom-in; }
.cartoon__zoom:focus-visible { outline: 3px solid var(--teal, #00a6a6); outline-offset: 4px; border-radius: 14px; }
