  /* Daylight, always: a pale wall in morning sun. Ink 15:1, quiet words 6.3:1. */
  :root { color-scheme: light; --wall: #F3EFE6; --ink: #1A1916; --quiet: #57534B; --sun: 255, 236, 196; }
  html, body { background: var(--wall); color: var(--ink); }
  body { min-height: 100svh; overflow-x: hidden; }
  .top .wordmark { background-color: var(--ink); }

  /* The window: sunlight through a four-pane frame, falling at an angle across the wall. Its light warms over the
     five minutes (the --t custom property runs from 0 to 1). */
  .window { position: fixed; inset: -20% -10% auto auto; width: 90vmax; height: 90vmax; pointer-events: none; z-index: 0;
    transform: rotate(-14deg) skewX(-10deg); transform-origin: top right; opacity: calc(.55 + .25 * var(--t, 0));
    background:
      linear-gradient(90deg, transparent 49.2%, rgba(120, 104, 80, .10) 49.2% 50.8%, transparent 50.8%),
      linear-gradient(transparent 49.2%, rgba(120, 104, 80, .10) 49.2% 50.8%, transparent 50.8%),
      radial-gradient(closest-side, rgba(var(--sun), calc(.55 + .35 * var(--t, 0))), transparent);
    filter: blur(6px); transition: opacity 1s; }
  .top, main { position: relative; z-index: 2; }

  /* Five minutes, as a hairline across the top: a measure, never a deadline. */
  .minutes { position: fixed; top: 0; left: 0; height: 2px; width: calc(var(--t, 0) * 100%); background: var(--ink); opacity: .55; z-index: 5; }

  main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter) 120px; }
  .desk { display: grid; gap: 40px; justify-items: center; text-align: center; padding-top: 16px; }
  main h1 { font: 500 clamp(34px, 5.6vw, 60px)/1.04 var(--serif); letter-spacing: -.015em; max-width: 11em; text-wrap: balance; }
  .lede { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--quiet); max-width: 28em; text-wrap: pretty; }
  .play { width: clamp(240px, min(100vw - 48px, (100svh - 250px) * 32 / 52), 380px); display: grid; gap: 14px; }
  .play .board { width: 100%; aspect-ratio: 32 / 52; box-shadow: 0 1px 2px rgba(26, 25, 22, .14), 0 22px 44px -14px rgba(26, 25, 22, .32); }
  .status { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--quiet); }
  .status b { font: 600 15px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
  .after { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .after[hidden] { display: none; }
  .quiet-button { appearance: none; height: 44px; padding: 0 18px; border-radius: 3px; border: 1px solid rgba(26, 25, 22, .25); background: transparent; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
  .quiet-button:hover { border-color: var(--ink); }
  @media (min-width: 900px) {
    .desk { grid-template-columns: minmax(0, 1fr) auto; text-align: start; justify-items: start; align-items: center; gap: 96px; padding-top: 56px; }
  }

  .read { margin: 140px auto 0; max-width: 36em; display: grid; gap: 14px; }
  .read h2, .questions h2 { font: 500 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: 96px auto 0; max-width: 36em; }
  .questions details { border-top: 1px solid rgba(26, 25, 22, .14); padding: 18px 0; }
  .questions details:last-child { border-bottom: 1px solid rgba(26, 25, 22, .14); }
  .questions summary { cursor: pointer; font-size: 17px; font-weight: 500; 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-underline-offset: 4px; }
  .close { margin: 96px auto 0; display: grid; gap: 20px; justify-items: center; text-align: center; }
  .close p { font: 500 20px/1.4 var(--serif); }
  @media (prefers-reduced-motion: reduce) { .window { transition: none; } }
