body {
  font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
  font-weight: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.brand h1 {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + 0.55vw, 1.7rem);
  letter-spacing: 0.01em;
  font-weight: 500;
}

.brand p {
  margin: 0.18rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stage h2,
.story h2,
.sheet h3,
.actions-panel h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.22rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-weight: 500;
  font-variant: small-caps;
}

.mission-copy,
.narrative {
  max-inline-size: 64ch;
  font-size: clamp(1.24rem, 1.08rem + 0.42vw, 1.48rem);
  line-height: 1.96;
  text-wrap: pretty;
}

.narrative p {
  margin: 0 0 1.25rem;
}

.narrative p:first-of-type::first-letter {
  float: left;
  font-size: 2.35em;
  line-height: 0.86;
  margin: 0.08em 0.12em 0 0;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 88%, var(--accent));
}

.chapter-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-caps: all-small-caps;
}

.narrative-opening {
  max-inline-size: 74ch;
}

.narrative-opening p {
  margin: 0 0 1.32rem;
}

.narrative-opening p:first-of-type::first-letter {
  float: left;
  font-size: 3em;
  line-height: 0.78;
  margin: 0.11em 0.14em 0 0;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 84%, var(--accent));
}


.narrative blockquote {
  position: relative;
  font-size: clamp(1.24rem, 1.08rem + 0.42vw, 1.48rem);
  line-height: 1.96;
  padding: 0.5rem 0.8rem;
  max-inline-size: 85%;
  margin: 1rem auto 1.2rem;
  text-wrap: pretty;
}

.narrative blockquote cite {
  font-weight: 700;
  float: right;
  font-size: clamp(1.24rem, 1.08rem + 0.42vw, 1.48rem);
  line-height: 1.96;
  color: var(--muted);
}

.narrative blockquote cite:before {
  content: "\2015 ";
}

.narrative blockquote:after {
  content: "\201d";
  position: absolute;
  top: 0.3rem;
  right: 0;
  font-size: 5.5rem;
  font-style: italic;
  line-height: 1;
  color: color-mix(in srgb, var(--muted) 70%, transparent);
  z-index: -1;
}

.narrative table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.2rem;
  font-size: 1rem;
}

.narrative th,
.narrative td {
  border: 1px solid var(--line);
  padding: 0.42rem 0.56rem;
  text-align: left;
}

.narrative stat {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.03rem 0.25rem;
  font-weight: 650;
  font-size: 0.9em;
}

.actions-panel .actions .btn-primary {
  font-size: 1.03rem;
  padding-block: 0.62rem;
}

.sheet .actions .btn-utility {
  font-size: 0.88rem;
}

.sheet-grid label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

button {
  font: inherit;
}

.meta {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.96rem;
  font-variant: small-caps;
}

.chip {
  font-size: 0.82rem;
}

.footer {
  font-size: 0.9rem;
}

.howto p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  max-inline-size: 72ch;
}

.journey-panel h3 {
  margin: 1rem 0 0.45rem;
}

.journey-log p {
  margin: 0 0 0.45rem;
  font-size: 0.93rem;
}

.toast {
  font-size: 1.18rem;
  line-height: 1.5;
  text-align: center;
}
