/* Palette
   Approximate samples from the supplied cloth, central lit ribs only.
   Light rib #C3CBB6 · mid cloth #8C957A · groove shadows and lime zipper excluded.
   Primary field #9AAB93 is the light/mid blend. Green is hers; this shade is a design match.
   Gold is a minimal designer accent, not a color she named. */
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

:root {
  --sage: #9aab93;
  --sage-light: #c3cbb6;
  --sage-mid: #8c957a;
  --soft: #e5e9dc;
  --cream: #f7f6f1;
  --paper: #fbfbf7;
  --ink: #1c2118;
  --deep: #2c3326;
  --leaf: #4e5846;
  --gold: #c2b48a;
  --line: rgba(28, 33, 24, 0.16);
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --measure: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
::selection { background: var(--sage-light); color: var(--ink); }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 5;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--measure), calc(100% - 2.4rem));
  margin-inline: auto;
}
.wrap-l {
  width: min(84rem, calc(100% - 2.4rem));
  margin-inline: auto;
}

.top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0 0.85rem;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--sage-mid); }

.hero {
  background: var(--sage);
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.15rem, 8vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
h1 em {
  font-style: italic;
  font-weight: 400;
}
.dek {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
  max-width: 36rem;
  margin: 1.25rem 0 0.75rem;
}
.dateline {
  margin: 0;
  font-size: 0.95rem;
}
.color-note {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  padding: 0.9rem 1rem;
  background: #e7eee0;
  border-radius: 1rem;
}
.color-note p { margin: 0.35rem 0 0; }
.color-note .lead {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn.solid {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--deep);
}
.btn.solid:hover { color: var(--cream); }
.footer a:focus-visible,
.btn.solid:focus-visible { outline-color: var(--cream); }

.hero-art { min-width: 0; }
.portrait {
  margin: 0;
  border-radius: 1.6rem 1.6rem 2.2rem 1.6rem;
  overflow: hidden;
  background: var(--deep);
}
.portrait img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 30%; }
.stage-wrap {
  width: min(72%, 320px);
  margin: -2.6rem auto 0;
  position: relative;
  z-index: 1;
}
.stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--deep);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 7px var(--sage), 0 16px 36px rgba(28, 33, 24, 0.18);
}
.stage canvas,
.floral-fallback { width: 100%; height: 100%; display: block; }
.floral-fallback { display: none; background: var(--deep); }
html.no-webgl .floral-fallback { display: block; }
html.no-webgl .stage canvas { display: none; }
.credit, .stage-status {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 40rem;
}
.stage-status { margin-top: 0.35rem; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.8rem;
}
.section h2 em { font-style: italic; font-weight: 400; }
.index {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--leaf);
}
.lede {
  font-size: 1.12rem;
  max-width: 42rem;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
}
.pulls { display: grid; gap: 0.9rem; }
.pull, .qcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem 1rem;
  margin: 0;
}
.qmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 0.7;
  color: var(--leaf);
  display: block;
  margin-bottom: 0.45rem;
}
.qtext, .pull blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.35;
  white-space: pre-wrap;
}
.who { margin: 0.85rem 0 0; font-weight: 600; }
.handle, .meta, .scope, .flag, .note {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}
.handle { font-weight: 500; }
.note {
  margin-top: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: var(--soft);
  border-radius: 0.7rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  align-items: center;
  margin-top: 0.8rem;
}
details { flex: 1 1 12rem; }
summary {
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.full {
  margin: 0.4rem 0 0;
  white-space: pre-wrap;
  font-family: var(--serif);
  line-height: 1.45;
}
.context { margin-top: 0.8rem; }
.context p { white-space: pre-wrap; }

.band { background: var(--soft); }
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.poster {
  margin: 0;
  background: var(--paper);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.poster img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.poster figcaption { padding: 0.8rem 0.95rem 1rem; font-size: 0.9rem; }

.record { display: grid; gap: 1rem; }
.fact {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.fact h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
}
.left-off {
  background: var(--paper);
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

.tools { margin-top: 1.2rem; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}
.chip {
  font: inherit;
  color: var(--ink);
  background: var(--sage-light);
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  max-width: 100%;
  white-space: normal;
  text-align: left;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--deep);
  color: var(--cream);
}
.chip:focus-visible { outline-color: var(--ink); }
.chip[aria-pressed="true"]:focus-visible { outline-color: var(--cream); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: min(100%, 11rem);
  flex: 1 1 11rem;
}
.field.grow { flex: 2 1 16rem; }
label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
input[type="search"], select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--leaf);
  border-radius: 0.8rem;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  width: 100%;
}
.check {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  min-height: 44px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.98rem;
}
.countline { font-weight: 600; }
.wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
.empty {
  padding: 1rem;
  background: var(--paper);
  border-radius: 1rem;
}
.ghost {
  font: inherit;
  background: transparent;
  border: 0;
  color: var(--deep);
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}

.footer {
  background: var(--deep);
  color: var(--cream);
  padding: 2.5rem 0 3rem;
}
.footer a { color: var(--cream); }
.footer p { max-width: 46rem; }
.sources { padding-left: 1.1rem; }
.sources li { margin: 0.25rem 0; }

@media (max-width: 860px) {
  .hero-grid, .split, .cards-2 { grid-template-columns: 1fr; }
  .stage-wrap { width: min(78%, 280px); margin-top: -2rem; }
}
@media (max-width: 420px) {
  .wrap, .wrap-l { width: min(100% - 1.4rem, var(--measure)); }
  h1 { font-size: clamp(2.7rem, 16vw, 3.6rem); }
  .stage-wrap { width: min(86%, 250px); }
  .qtext, .pull blockquote { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
