/* site.css — small production additions on top of the lifted design CSS.
   (theme-toggle icon swap, honeypot, notice page, progressive-enhancement bits) */

/* theme toggle: show the icon for the *current* theme inside the knob */
[data-theme="dark"]  .tt-sun  { display: none; }
[data-theme="light"] .tt-moon { display: none; }
.tt-knob svg { display: block; }

/* honeypot — hidden from humans, catnip for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* hero title is a link in production — keep the type, drop link styling */
.hero-title a { color: inherit; text-decoration: none; }
.hero-title a:hover { color: var(--accent); }

/* subscribe success states (progressive enhancement).
   Use :not([hidden]) so the `hidden` attribute still wins until JS reveals it. */
.sub-success:not([hidden]) { display: block; }
.sub-block-form .sub-success:not([hidden]) { padding-top: 4px; }

/* about stat card — stack the TOPICS value as a right-aligned vertical list
   so a long list doesn't span the row and break the label/value alignment */
.as-row.as-stack { align-items: flex-start; }
.as-topics { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; font-size: 14px; color: var(--ink); }

/* notice / 404 / subscribe-confirm page */
.notice-wrap { max-width: 760px; padding-top: clamp(20px, 5vw, 60px); }
.notice-title { font-size: clamp(40px, 7vw, 84px); line-height: .92; margin: 14px 0 0; }
.notice-title.is-ok { color: var(--accent); }
.notice-body { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; color: var(--ink-dim); max-width: 60ch; margin: 22px 0 0; }
.notice-cta { margin-top: 30px; }

/* explorable mount: reserve a little space before JS hydrates it */
.art-explorable:empty,
.art-explorable[data-explorable]:not(.mounted) { min-height: 0; }

/* respect reduced motion for the blinking interactive-issue dot */
@media (prefers-reduced-motion: reduce) {
  .ib-dot { animation: none; }
  .rise { opacity: 1 !important; transform: none !important; animation: none !important; }
}
