/* ============================================================================
   Aninha · "First Light" — a calm dawn-to-day wellness almanac
   Design system: warm cream paper, sunrise aurora, Fraunces + Hanken Grotesk,
   three calm domain colours, hand-crafted SVG charts, slow soothing motion.
   ========================================================================== */

:root {
  /* --- surface --- */
  --paper: #fbf6ef;
  --paper-2: #f6eee3;
  --card: rgba(255, 253, 250, 0.74);
  --card-solid: #fffdfb;
  --hairline: rgba(58, 44, 40, 0.10);
  --hairline-2: rgba(58, 44, 40, 0.06);

  /* --- ink (contrast-checked on the cream/white cards) --- */
  --ink: #2c2530;
  --ink-2: #574c58;   /* ~7.6:1 */
  --ink-3: #6b6274;   /* ~5.6:1 — small labels & axis text */
  --ink-4: #948a9c;   /* ~3.2:1 — decorative only (aria-hidden) */

  /* --- domain colours --- */
  --sleep: #6d78f0;          /* periwinkle / night */
  --sleep-2: #9aa4ff;
  --sleep-deep: #4a53c4;
  --sleep-rem: #8b78ec;
  --sleep-light: #b9c0ff;
  --sleep-awake: #e4d9f2;

  --recovery: #2fae9b;       /* eucalyptus / sage */
  --recovery-2: #66d9c2;

  --activity: #f0795e;       /* sunrise coral */
  --activity-2: #f7a687;

  --gold: #e0a35e;           /* warm accent */

  /* --- shadows --- */
  --shadow-sm: 0 1px 2px rgba(44, 37, 48, 0.05), 0 2px 6px -2px rgba(44, 37, 48, 0.06);
  --shadow: 0 1px 2px rgba(44, 37, 48, 0.04), 0 16px 40px -18px rgba(58, 44, 60, 0.22);
  --shadow-lg: 0 2px 4px rgba(44, 37, 48, 0.04), 0 34px 70px -28px rgba(58, 44, 60, 0.30);

  --radius: 26px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1200px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, .display { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

/* ---------- atmospheric background ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 18% 8%, rgba(255, 214, 176, 0.55), transparent 60%),
    radial-gradient(55% 50% at 88% 4%, rgba(255, 183, 197, 0.42), transparent 58%),
    radial-gradient(70% 60% at 50% -10%, rgba(255, 227, 194, 0.5), transparent 62%),
    radial-gradient(80% 70% at 82% 96%, rgba(157, 170, 255, 0.24), transparent 60%),
    radial-gradient(70% 60% at 8% 92%, rgba(120, 210, 195, 0.18), transparent 60%),
    linear-gradient(180deg, #fdf3e8 0%, var(--paper) 42%, var(--paper-2) 100%);
}
.sky::before {  /* slow-drifting warm bloom */
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(38% 38% at 30% 24%, rgba(255, 196, 150, 0.28), transparent 70%),
              radial-gradient(34% 34% at 74% 30%, rgba(255, 170, 190, 0.22), transparent 70%);
  animation: drift 34s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3%, 2.5%, 0) scale(1.08); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
main { padding-bottom: 6rem; }
section { margin-top: clamp(3.2rem, 7vw, 5.5rem); }

.section-head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head .kicker {
  font-family: "Hanken Grotesk", sans-serif; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -0.01em; line-height: 1.05; }
.section-head h2 .accent { font-style: italic; }
.section-head .lead { color: var(--ink-2); font-size: 0.98rem; max-width: 46ch; margin-left: auto; }

/* ---------- header / hero ---------- */
header.hero { padding-top: clamp(2rem, 5vw, 3.4rem); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }

/* language toggle */
.lang-toggle {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 100px; flex: none;
  background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lang-toggle button {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.06em; color: var(--ink-3); padding: 0.42rem 0.9rem; border-radius: 100px; line-height: 1;
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.active {
  color: #fff; background: linear-gradient(135deg, var(--activity), var(--gold));
  box-shadow: 0 2px 8px -3px rgba(224, 121, 94, 0.55);
}
.lang-toggle button:focus-visible { outline: 2px solid var(--sleep); outline-offset: 2px; }

.hero-tools { display: flex; align-items: center; gap: 0.6rem; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.95rem; border-radius: 100px;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: 0.8rem; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tool-btn:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-1px); }
.tool-btn .tb-ic { font-size: 0.95rem; line-height: 1; color: var(--activity); }
.tool-btn:focus-visible { outline: 2px solid var(--sleep); outline-offset: 2px; }

/* uploaded-data banner */
.data-banner {
  display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding: 0.6rem 1rem; border-radius: 100px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--recovery) 12%, white), color-mix(in srgb, var(--sleep) 10%, white));
  border: 1px solid var(--hairline); font-size: 0.85rem; color: var(--ink-2); width: fit-content; max-width: 100%;
}
.data-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--recovery); flex: none; }
.data-banner .bt { font-weight: 500; }
.data-banner button {
  font: inherit; font-weight: 600; color: var(--sleep-deep); text-decoration: underline; text-underline-offset: 2px; padding: 0 0.2rem;
}
.data-banner button:hover { color: var(--activity); }

/* upload modal */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.2rem;
  background: rgba(44, 37, 48, 0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade-in 0.25s var(--ease);
}
.modal[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative; width: min(520px, 100%); background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 4vw, 2.2rem);
  animation: pop-in 0.3s var(--ease);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 0.8rem; right: 0.9rem; width: 34px; height: 34px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; color: var(--ink-3); display: grid; place-items: center;
}
.modal-close:hover { background: var(--paper-2); color: var(--ink); }
.modal-card h3 { font-size: 1.5rem; letter-spacing: -0.01em; padding-right: 2rem; }
.modal-sub { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.5rem; line-height: 1.55; }
.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center;
  margin-top: 1.2rem; padding: 1.8rem 1rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 2px dashed var(--hairline); background: var(--card-solid); color: var(--ink-2); font-size: 0.9rem; font-weight: 500;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.dropzone:hover, .dropzone.drag { border-color: var(--sleep); background: color-mix(in srgb, var(--sleep) 6%, white); }
.dropzone .dz-ic { font-size: 1.6rem; color: var(--sleep); }
.file-status { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.fchip {
  font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 100px;
  background: var(--paper-2); color: var(--ink-3); border: 1px solid var(--hairline-2);
}
.fchip.ok { background: color-mix(in srgb, var(--recovery) 15%, white); color: var(--recovery); border-color: transparent; }
.modal-error { margin-top: 0.9rem; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.85rem;
  background: color-mix(in srgb, var(--activity) 12%, white); color: #a23b25; border: 1px solid color-mix(in srgb, var(--activity) 30%, white); }
.modal-error[hidden] { display: none; }
.modal-actions { margin-top: 1.3rem; }
#upload-apply {
  width: 100%; padding: 0.85rem 1rem; border-radius: 100px; font-family: "Hanken Grotesk", ui-sans-serif, sans-serif;
  font-weight: 600; font-size: 0.95rem; color: #fff; background: linear-gradient(135deg, var(--activity), var(--gold));
  box-shadow: 0 6px 18px -8px rgba(224, 121, 94, 0.7); transition: filter .2s var(--ease), opacity .2s var(--ease);
}
#upload-apply:hover:not(:disabled) { filter: brightness(1.05); }
#upload-apply:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
#upload-apply:focus-visible { outline: 2px solid var(--sleep); outline-offset: 2px; }
.modal-note { margin-top: 1rem; font-size: 0.78rem; color: var(--ink-3); text-align: center; }

@media (max-width: 620px) {
  .hero-top { flex-wrap: wrap; gap: 0.8rem; }
  .tool-btn .tb-ic { font-size: 0.9rem; }
}
.monogram {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--activity) 0%, var(--gold) 45%, var(--sleep) 120%);
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255,255,255,0.4);
}
.brand .wordmark { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; letter-spacing: 0.02em; }
.brand .wordmark small { display: block; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-top: 1px; }

.greeting { margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.greeting .eyebrow { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--activity); }
.greeting h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; margin-top: 0.4rem; }
.greeting h1 em { font-style: italic; color: var(--sleep); }
.greeting .sub { margin-top: 0.9rem; color: var(--ink-2); font-size: 1.02rem; }
.greeting .sub b { color: var(--ink); font-weight: 600; }

/* ---------- ring cards ---------- */
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.ring-card {
  background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(1.1rem, 2.4vw, 1.8rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.ring-card::after { /* top sheen */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent); pointer-events: none;
}
.ring-card .ring-label { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.ring-svg { width: clamp(128px, 22vw, 170px); height: clamp(128px, 22vw, 170px); margin: 0.4rem 0 0.2rem; }
.ring-meta { margin-top: 0.55rem; color: var(--ink-2); font-size: 0.92rem; }
.ring-meta b { color: var(--ink); font-weight: 600; }
.ring-tag { margin-top: 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; padding: 0.25rem 0.7rem; border-radius: 100px; }

/* ---------- glance strip ---------- */
.glance { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: clamp(1.4rem, 3vw, 2rem); }
.chip {
  background: var(--card-solid); border: 1px solid var(--hairline-2); border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem; box-shadow: var(--shadow-sm);
}
.chip .n { font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.chip .n small { font-size: 0.72rem; color: var(--ink-3); font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; }
.chip .l { margin-top: 0.35rem; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.04em; }

/* ---------- generic panel / bento ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 20px); }
.panel {
  background: var(--card-solid); border: 1px solid var(--hairline-2); border-radius: var(--radius);
  padding: clamp(1.2rem, 2.6vw, 1.8rem); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.panel > .panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.panel h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
.panel .panel-sub { font-size: 0.85rem; color: var(--ink-3); }
.panel .big { font-family: "Fraunces", serif; font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; }
.panel .big small { font-size: 0.85rem; color: var(--ink-3); font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; margin-left: 0.15rem; }

.sleep-grid    { grid-template-columns: 1.6fr 1fr; }
.recovery-grid { grid-template-columns: 1fr 1fr; }
.activity-grid { grid-template-columns: 1.7fr 1fr; }
.patterns-grid { grid-template-columns: repeat(3, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

/* legends */
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend i { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }

/* chart canvas area */
.chart-wrap { width: 100%; position: relative; }
.chart-wrap svg { width: 100%; height: auto; overflow: visible; }
.axis-label { font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; font-size: 12px; fill: var(--ink-3); font-weight: 500; }
.axis-label.faint { fill: var(--ink-4); }
.grid-line { stroke: var(--hairline-2); stroke-width: 1; }
.grid-line.ref { stroke: var(--ink-4); stroke-dasharray: 3 4; stroke-width: 1; opacity: 0.7; }

/* tooltip */
.tt {
  position: fixed; z-index: 50; pointer-events: none; opacity: 0; transform: translate(-50%, -118%);
  background: var(--ink); color: #fff; padding: 0.5rem 0.7rem; border-radius: 12px; font-size: 0.78rem;
  box-shadow: var(--shadow-lg); transition: opacity 0.14s ease; white-space: nowrap; line-height: 1.35;
}
.tt b { color: #fff; }
.tt .k { color: rgba(255,255,255,0.62); }

/* highlight list */
.highlights { display: grid; gap: 0.7rem; }
.hl { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0; border-bottom: 1px solid var(--hairline-2); }
.hl:last-child { border-bottom: none; }
.hl .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hl .ic svg { width: 20px; height: 20px; }
.hl .txt .v { font-family: "Fraunces", serif; font-weight: 500; font-size: 1.15rem; line-height: 1; }
.hl .txt .k { font-size: 0.8rem; color: var(--ink-3); margin-top: 0.15rem; }

/* insights list (Patterns) */
.insights-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.2rem; }
.ins { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.95rem 0; border-top: 1px solid var(--hairline-2); }
.ins:first-child, .ins:nth-child(2) { border-top: none; }
.ins .ic { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.ins .ic svg { width: 18px; height: 18px; }
.ins .t { font-size: 0.96rem; line-height: 1.5; color: var(--ink); }
.ins .s { margin-top: 0.3rem; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.ins.null-note .t { color: var(--ink-2); font-style: italic; }

/* insight card */
.insight {
  background: linear-gradient(140deg, rgba(47,174,155,0.10), rgba(109,120,240,0.08));
  border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(1.2rem,2.6vw,1.7rem);
  box-shadow: var(--shadow-sm);
}
.insight .k { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--recovery); font-weight: 600; }
.insight p { margin-top: 0.5rem; font-family: "Fraunces", serif; font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.insight p b { color: var(--recovery); font-weight: 600; }

/* donut composition */
.compo { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

/* methodology */
.method { margin-top: clamp(3rem, 6vw, 4.5rem); }
.method details {
  background: var(--card-solid); border: 1px solid var(--hairline-2); border-radius: var(--radius);
  padding: 0.4rem clamp(1.1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow-sm);
}
.method summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-family: "Fraunces", serif; font-size: 1.15rem; display: flex; align-items: center; justify-content: space-between; }
.method summary::-webkit-details-marker { display: none; }
.method summary .plus { transition: transform 0.3s var(--ease); color: var(--ink-3); }
.method details[open] summary .plus { transform: rotate(45deg); }
.method .method-body { padding-bottom: 1.4rem; color: var(--ink-2); font-size: 0.92rem; line-height: 1.65; }
.method .method-body h4 { font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 1.1rem 0 0.3rem; }
.method .method-body code { background: var(--paper-2); padding: 0.1rem 0.4rem; border-radius: 6px; font-size: 0.85em; }

/* footer */
footer.foot { margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline); color: var(--ink-3); font-size: 0.82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- entrance animation ----------
   Only hide .reveal when JS is present (html.js, set by an inline head script).
   With no JS / failed script, content shows immediately (unanimated). A 4s
   fallback (html.reveal-fallback) force-shows everything if app.js never runs. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .revealed { animation: reveal 0.9s var(--ease) forwards; }
html.reveal-fallback .reveal { opacity: 1 !important; transform: none !important; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* screen-reader-only utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .glance { grid-template-columns: repeat(3, 1fr); }
  .sleep-grid, .activity-grid { grid-template-columns: 1fr; }
  .recovery-grid { grid-template-columns: 1fr; }
  .patterns-grid { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .insights-list { grid-template-columns: 1fr; }
  .ins:nth-child(2) { border-top: 1px solid var(--hairline-2); }
  .section-head .lead { margin-left: 0; }
}
@media (max-width: 620px) {
  .rings { grid-template-columns: 1fr; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .greeting .sub { font-size: 0.95rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .sky::before { animation: none; }
}

/* ---------- print / Save-as-PDF ---------- */
@media print {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
  .sky, .grain { display: none; }
  body { background: #fff; }
  .panel, .ring-card, .chip, .insight, .method details { box-shadow: none; border-color: var(--hairline); break-inside: avoid; }
  section { break-inside: avoid; }
  .chart-wrap svg { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
