:root {
  --void: #212736;
  --well: #1a1f2c;
  --ink: #f1e8d7;
  --whisper: rgba(241, 232, 215, 0.6);
  --faint: rgba(241, 232, 215, 0.22);
  --ember: #d69a7d;
  --amp: #d8865d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Every ampersand is Zen Dots (brand rule) — ember, slightly downsized to sit in running text. */
.amp { font-family: 'Zen Dots', sans-serif; font-style: normal; font-size: 0.9em; color: var(--amp); }

a { color: var(--ember); text-decoration: none; border-bottom: 1px solid var(--faint); transition: border-color 160ms ease; }
a:hover { border-color: var(--ember); }
a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.wrap {
  width: min(660px, 92vw);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Mobile-first: stacked and left-aligned by default. */
nav.site {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 0 8px;
}
nav.site .mark {
  font-family: 'Zen Dots', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink);
  border: 0;
  text-transform: lowercase;
  white-space: nowrap;
}
nav.site .mark .amp { color: var(--amp); }
nav.site .mark .dim { color: var(--whisper); }
nav.site .mark:hover .dim { color: var(--ember); }
nav.site .links { display: flex; gap: 20px; flex-wrap: wrap; }
nav.site .links a, nav.site .links button {
  display: inline-block;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--whisper);
  border: 0;
  text-transform: lowercase;
}
nav.site .links a:hover, nav.site .links button:hover, nav.site .links a[aria-current="page"] { color: var(--ember); }

/* From tablet up: one row, wordmark and links spread apart. */
@media (min-width: 640px) {
  nav.site {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 34px 0 10px;
  }
}

main { flex: 1; }

h1, h2, h3 {
  font-family: 'Oxanium', sans-serif;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: 42px; margin: 44px 0 8px; }
.transmission {
  margin: 44px 0 -30px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--whisper);
}
.transmission a { color: var(--ember); text-decoration: none; border: 0; }
.transmission a:hover { color: var(--ink); }
nav.site .links button.share {
  font-family: inherit; background: none; cursor: pointer; line-height: inherit;
}
.related { margin-top: 56px; border-top: 1px solid var(--faint); padding-top: 8px; }
.related h2 { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 300; color: var(--whisper); margin: 30px 0 0; }
.doors.compact { gap: 18px; padding: 14px 0 6px; }
.doors.compact .door { border-top: 0; padding-top: 0; }
.doors.compact .door a.title { font-size: 19px; }
.steps { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--faint); }
.steps .step { border: 0; color: var(--ink); font-size: 14.5px; max-width: 46%; }
.steps .step .nt { display: block; font-family: 'Oxanium', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.steps .step.newer { margin-left: auto; text-align: right; }
.steps .step:hover { color: var(--ember); }
footer.site .fine.rights { letter-spacing: 0.12em; text-indent: 0; }
.cover { display: block; width: 100%; height: auto; border-radius: 4px; margin: 26px 0 30px; }
.photo { margin: 26px 0 30px; }
.photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.photo figcaption { margin: 8px 0 0; font-size: 13.5px; color: var(--whisper); }
.photo.tall img { max-width: 520px; margin: 0 auto; }
.player { margin: 30px 0 34px; }
.player iframe { display: block; width: 100%; border: 0; border-radius: 4px; }
.player .listen { margin: 8px 0 0; font-size: 13.5px; color: var(--whisper); }
.player .listen a { color: var(--ember); border: 0; }
.player .listen a:hover { color: var(--ink); }
.tracklist { padding-left: 1.6em; margin: 8px 0 0; }
.tracklist li { margin: 0 0 5px; font-size: 15px; color: var(--whisper); }
.tracklist li .t { color: var(--ink); }
.file { margin: 34px 0 0; padding: 18px 20px; border: 1px solid var(--faint); border-radius: 4px; }
.file p { margin: 0; font-size: 14.5px; color: var(--whisper); }
.file a { color: var(--ember); border: 0; }
.file a:hover { color: var(--ink); }
h2 { font-size: 27px; margin: 46px 0 10px; }
h3 { font-size: 21px; margin: 34px 0 8px; }
h3 .ts { font-size: 14px; font-weight: 300; color: var(--whisper); font-family: "Oxanium", sans-serif; margin-left: 8px; }

p { margin: 0 0 18px; color: var(--whisper); }
p strong { color: var(--ink); font-weight: 400; }
li { color: var(--whisper); margin-bottom: 10px; }
li strong { color: var(--ink); font-weight: 400; }
em { font-style: italic; }

.subtitle {
  font-family: 'Oxanium', sans-serif;
  font-weight: 300;
  font-size: 19px;
  color: var(--whisper);
  margin: 0 0 30px;
}

/* The read-aloud player (gen:listen): a pill, a hairline you can scrub, the length, and who is speaking. */
.readaloud { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: -12px 0 34px; font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: 11.5px; letter-spacing: 0.2em; text-transform: lowercase; color: var(--whisper); }
.readaloud .play { display: inline-flex; align-items: center; gap: 9px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); background: none; border: 1px solid var(--faint); border-radius: 999px; padding: 8px 18px 8px 15px; cursor: pointer; transition: border-color 160ms ease, color 160ms ease; }
.readaloud .play:hover, .readaloud .play:focus-visible { border-color: var(--ember); color: var(--ember); outline: 0; }
.readaloud .pi { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.readaloud.playing .pi { width: 3px; height: 10px; border-width: 0 3px; border-color: currentColor; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.readaloud .bar { flex: 1 1 110px; min-width: 90px; height: 22px; position: relative; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.readaloud .bar::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--faint); }
.readaloud .bar .fill { position: absolute; left: 0; top: 9px; height: 3px; width: 0; background: var(--ember); transition: width 200ms linear; }
.readaloud .bar .fill::after { content: ""; position: absolute; right: -5px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--ember); opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 160ms ease; }
.readaloud .bar:hover .fill::after, .readaloud .bar:focus-visible .fill::after, .readaloud.scrubbing .fill::after { opacity: 1; transform: scale(1); }
.readaloud.scrubbing .bar .fill { transition: none; }
.readaloud.scrubbing .bar { cursor: grabbing; }
.readaloud .bar:focus-visible { outline: 1px solid var(--ember); outline-offset: 2px; }
.readaloud .time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.readaloud .hint { flex-basis: 100%; margin-top: -4px; color: var(--whisper); animation: hint-in 600ms ease both; }
.readaloud .hint[hidden] { display: none; }
@keyframes hint-in { from { opacity: 0; } to { opacity: 1; } }
.readaloud .who { flex-basis: 100%; color: var(--faint); font-size: 10px; letter-spacing: 0.24em; margin-top: -4px; }

blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--ember);
}
blockquote p {
  font-family: 'Oxanium', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--faint);
  margin: 44px 0;
}

.footnote {
  font-size: 13.5px;
  border-top: 1px solid var(--faint);
  padding-top: 24px;
  margin-top: 44px;
}
.footnote p { font-size: 13.5px; }

footer.site {
  padding: 60px 0 54px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
footer.site .knock .answer { color: var(--amp); }
footer.site .knock {
  font-family: 'Zen Dots', sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--whisper);
}
footer.site .fine {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--faint);
  text-transform: lowercase;
}
footer.site a { border: 0; color: var(--whisper); }
footer.site a:hover { color: var(--ember); }

.doors { display: flex; flex-direction: column; gap: 26px; padding: 44px 0 20px; }
.door { border-top: 1px solid var(--faint); padding-top: 22px; }
.door a.title {
  font-family: 'Oxanium', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  border: 0;
}
.door a.title:hover { color: var(--ember); }
.door p { margin: 6px 0 0; font-size: 14.5px; }
.door .stationline { margin: 0 0 6px; font-family: 'Oxanium', sans-serif; font-weight: 300; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Phones: larger running text (Aldo, Sep 20 2026). The 300 weight needs the size to carry it on small screens. */
@media (max-width: 639px) {
  body { font-size: 18px; line-height: 1.7; }
  .subtitle { font-size: 20px; }
  blockquote p { font-size: 21px; }
  .tracklist li { font-size: 16.5px; }
  .file p, .door p, .steps .step { font-size: 16px; }
  .footnote, .footnote p { font-size: 15px; }
  .doors.compact .door a.title { font-size: 20px; }
}

/* Tablets (iPad Pro, Oct 4 2026): a touch screen held at arm's length at 16px read small, while phones got 18px and a desktop is viewed up close at a mouse's distance. Same 300-weight reasoning as the phone block, a touch larger. */
@media (min-width: 640px) and (pointer: coarse) {
  body { font-size: 19px; line-height: 1.7; }
  .subtitle { font-size: 22px; }
  blockquote p { font-size: 22px; }
  .tracklist li { font-size: 17px; }
  .file p, .door p, .steps .step { font-size: 16.5px; }
  .footnote, .footnote p { font-size: 15.5px; }
  .doors.compact .door a.title { font-size: 21px; }
}
