  /* Always night: this page is the evening, whatever the system's appearance. The ink reads at 14:1 on the wall and the
     quiet words at 7:1. */
  :root { color-scheme: dark; --wall: #101117; --ink: #EEE7DA; --quiet: #A9A193; --lamp: 255, 214, 158; }
  html, body { background: var(--wall); color: var(--ink); }
  body { min-height: 100svh; overflow-x: hidden; }
  .badge.beta { background: #fff; color: #000; box-shadow: none; }

  /* The lamp: one warm pool of light from above the canvas, breathing slowly. */
  .lamp { position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
      radial-gradient(ellipse 46% 52% at 50% 36%, rgba(var(--lamp), .17), rgba(var(--lamp), .05) 45%, transparent 72%),
      radial-gradient(ellipse 90% 70% at 50% 110%, rgba(40, 48, 92, .35), transparent 70%);
    animation: breathe 7s ease-in-out infinite; transition: filter 2.4s ease; }
  .lamp.bright { filter: brightness(1.45) saturate(1.1); }
  @keyframes breathe { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
  #dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
  .top, main { position: relative; z-index: 2; }

  main { max-width: 760px; margin: 0 auto; padding: 8px var(--gutter) 120px; display: grid; justify-items: center; text-align: center; }
  main h1 { text-wrap: balance; font: 400 clamp(34px, 6vw, 58px)/1.06 var(--serif); letter-spacing: -.01em; margin: 24px 0 18px; max-width: 12em; }
  .lede { font-size: 17px; line-height: 1.65; color: var(--quiet); max-width: 27em; text-wrap: pretty; }
  .rise { opacity: 0; transform: translateY(6px); animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) forwards; }
  .rise.d1 { animation-delay: .25s; } .rise.d2 { animation-delay: .7s; } .rise.d3 { animation-delay: 1.2s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .easel { margin-top: 48px; width: clamp(240px, min(100vw - 48px, (100svh - 240px) * 32 / 52), 360px); display: grid; gap: 18px; }
  .easel .board { width: 100%; aspect-ratio: 32 / 52; position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .5), 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 120px rgba(var(--lamp), .08); }
  /* The lamp falls on the canvas too: warm at the top, the lower edge in shadow. */
  .easel .board::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
    background: linear-gradient(rgba(var(--lamp), .10), transparent 45%, rgba(10, 12, 24, .18)); mix-blend-mode: soft-light; }
  .whisper { min-height: 1.6em; font: 400 18px/1.4 var(--serif); color: var(--quiet); }
  .after { display: flex; gap: 12px; justify-content: center; }
  .after[hidden] { display: none; }
  .soft { appearance: none; border: 1px solid rgba(238, 231, 218, .28); background: transparent; color: var(--ink);
    font: 500 15px/1 var(--sans); height: 44px; padding: 0 20px; border-radius: 3px; cursor: pointer; transition: border-color .3s, background .3s; }
  .soft:hover { border-color: rgba(238, 231, 218, .6); background: rgba(238, 231, 218, .04); }

  .sound { appearance: none; border: 0; background: none; color: var(--quiet); cursor: pointer;
    font: 14px/1 var(--sans); display: inline-flex; align-items: center; gap: 8px; padding: 10px; }
  .sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  .sound[aria-pressed="true"] { color: var(--ink); }

  .read { margin-top: 120px; max-width: 34em; text-align: start; display: grid; gap: 14px; }
  .read h2 { font: 400 26px/1.25 var(--serif); margin-top: 26px; }
  .read p, .questions p { color: var(--quiet); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
  .questions { margin-top: 96px; width: 100%; max-width: 34em; text-align: start; }
  .questions h2 { font: 400 26px/1.25 var(--serif); margin-bottom: 12px; }
  .questions details { border-top: 1px solid rgba(238, 231, 218, .14); padding: 18px 0; }
  .questions details:last-child { border-bottom: 1px solid rgba(238, 231, 218, .14); }
  .questions summary { cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .questions summary::-webkit-details-marker { display: none; }
  .questions summary::after { content: "+"; color: var(--quiet); font-size: 20px; line-height: 1; transition: transform .3s; }
  .questions details[open] summary::after { transform: rotate(45deg); }
  .questions details p { margin-top: 10px; }
  .more { margin-top: 96px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; font-size: 15px; }
  .more a { color: var(--quiet); text-decoration-color: rgba(238, 231, 218, .3); text-underline-offset: 4px; }
  .more a:hover { color: var(--ink); }
  .close { margin-top: 120px; display: grid; gap: 22px; justify-items: center; }
  .close p { font: 400 20px/1.4 var(--serif); color: var(--quiet); }

  @media (prefers-reduced-motion: reduce) { .lamp, .rise { animation: none; opacity: 1; transform: none; } }
