:root {
  --bg: #0b0d11;
  --surface: #141820;
  --raised: #1c222c;
  --fg: #ece8e0;
  --muted: #9aa0aa;
  --faint: #6d7380;
  --border: #2a3140;
  --primary: #b9c9d4;
  --accent: #8eafc2;
  --banner-h: 4.25rem;
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.2;
}

p { text-wrap: pretty; }

a { color: var(--accent); }
a:hover { color: var(--primary); }

.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--banner-h);
  background: rgba(11, 13, 17, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.banner-art {
  position: absolute;
  inset: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  opacity: 0.82;
  blur: 40;
}

.banner-inner {
  max-width: 72rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mark {
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  white-space: nowrap;
}

.banner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 0.75rem;
}

.banner nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.2rem;
}

.banner nav a:hover,
.banner nav a.is-on {
  color: var(--fg);
}

.page {
  position: relative;
  z-index: 0;
  max-width: 42rem;
  margin: 0 auto;
  padding: calc(var(--banner-h) + 2.5rem) 1.25rem 4rem;
}

.page.wide {
  max-width: 72rem;
}

.kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
  margin: 0;
}

.tag {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--faint);
  font-style: italic;
}

.lede {
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  margin-top: 2.25rem;
  font-size: 1.05rem;
}

.prose p { margin: 0 0 1.15rem; }
.prose h2 {
  font-size: 1.75rem;
  margin: 2.4rem 0 0.85rem;
}
.prose h2:first-child { margin-top: 0; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.foot {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--faint);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.4rem;
}

.card.accent { border-color: rgba(142, 175, 194, 0.4); }

.grid-3 {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.chip.is-on {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.stack { display: grid; gap: 0.75rem; }

.shift {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.shift > button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 700px) {
  .shift > button {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.shift h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
}

.shift .body { margin: 0; font-size: 0.95rem; }

.when {
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.detail {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.95rem;
}

.shift.is-open .detail { display: block; }

.ask {
  background: var(--raised);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 0.9rem;
}

.ask p { margin: 0.4rem 0 0; }
.ask .lab {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
}

.scene {
  list-style: none;
  padding: 1.1rem 0 0;
  margin: 1.1rem 0 0;
  border-top: 1px solid var(--border);
}

.scene li { margin: 0 0 0.7rem; font-size: 0.95rem; }

.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 0.8rem; }
button { font-family: inherit; }
