@charset "utf-8";
/* ==========================================================================
   Jenn London — official site stylesheet
   A hand-built, dependency-free design system (no external fonts or CDNs).
   Sections: 1 tokens · 2 reset · 3 layout · 4 header/nav · 5 typography
             6 components · 7 page blocks · 8 footer · 9 utilities · 10 media
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #17110f;
  --ink-2: #241a16;
  --ink-3: #3a2c26;
  --paper: #fbf8f3;
  --paper-2: #f3ece1;
  --paper-3: #eadfce;
  --accent: #a8232b;
  --accent-dark: #7d171e;
  --gold: #b08d4f;
  --muted: #6c5f57;
  --muted-light: #9b8d81;
  --line: rgba(23, 17, 15, .13);
  --line-strong: rgba(23, 17, 15, .26);

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0: clamp(.95rem, .93rem + .15vw, 1.03rem);
  --step-1: clamp(1.1rem, 1.04rem + .3vw, 1.25rem);
  --step-2: clamp(1.3rem, 1.18rem + .55vw, 1.6rem);
  --step-3: clamp(1.6rem, 1.35rem + 1.1vw, 2.2rem);
  --step-4: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --step-5: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);

  --space-1: .35rem;
  --space-2: .7rem;
  --space-3: 1.1rem;
  --space-4: 1.6rem;
  --space-5: 2.4rem;
  --space-6: 3.4rem;
  --space-7: 4.8rem;
  --space-8: 6.4rem;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;

  --shadow-s: 0 1px 2px rgba(23, 17, 15, .06), 0 2px 8px rgba(23, 17, 15, .05);
  --shadow-m: 0 10px 30px -12px rgba(23, 17, 15, .28);

  --wrap: 1120px;
  --measure: 68ch;
  --header-h: 68px;
}

/* 2. Reset ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg,
video { display: block; max-width: 100%; height: auto; }

audio { width: 100%; }

a { color: var(--accent-dark); text-decoration-thickness: .06em; text-underline-offset: .16em; }
a:hover { color: var(--accent); }

button,
input,
textarea,
select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(168, 35, 43, .18); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}

p { margin: 0 0 var(--space-3); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--space-3); padding-left: 1.15rem; }
li + li { margin-top: .3rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-5) 0; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.section--paper { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  gap: var(--space-2);
  max-width: var(--measure);
  margin-bottom: var(--space-5);
}
.section-head h2 { font-size: var(--step-3); margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

.kicker {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker--gold { color: var(--gold); }

.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--space-6);
  align-items: center;
}

/* 4. Header & navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.05;
}
.brand strong {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand span {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(.55rem, 1.4vw, 1.35rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav li { margin: 0; }
.primary-nav a {
  position: relative;
  display: inline-block;
  padding: .35rem 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 600; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .42rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle::before {
  content: "";
  width: 14px;
  height: 10px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
}

/* 5. Typography helpers ---------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > h2 { font-size: var(--step-2); margin-top: var(--space-6); }
.prose > h3 { font-size: var(--step-1); margin-top: var(--space-5); }
.prose p { font-size: 1.02em; }
.prose ul, .prose ol { padding-left: 1.35rem; margin-left: -1.35rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--accent); }
.prose--wide { max-width: 78ch; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
}

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: .82;
  padding: .08em .12em 0 0;
  color: var(--accent);
}

.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); }
.small { font-size: var(--step--1); color: var(--muted); }

/* 6. Components ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(23, 17, 15, .04); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(251, 248, 243, .45); color: var(--paper); }
.btn--outline-light:hover { background: rgba(251, 248, 243, .12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  height: 100%;
}
.card h3 { font-size: var(--step-1); margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .card-link { margin-top: auto; font-weight: 600; font-size: .92rem; }
.card-link::after { content: " →"; }

.card--flat { box-shadow: none; background: transparent; border-style: dashed; }
.card--accent {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}
.card--accent h3 { color: #fff; }
.card--accent p { color: rgba(251, 248, 243, .74); }
.card--accent a { color: var(--paper-3); }

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: .18rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag--accent { border-color: transparent; background: rgba(168, 35, 43, .1); color: var(--accent-dark); }

.breadcrumbs { padding-top: var(--space-4); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  color: var(--muted);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted-light); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); }

blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  box-shadow: var(--shadow-s);
}
blockquote p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.55; margin-bottom: var(--space-2); }
blockquote footer { font-size: var(--step--1); color: var(--muted); font-style: normal; }
blockquote cite { font-style: normal; font-weight: 600; color: var(--ink-2); }

.quote-grid { display: grid; gap: var(--space-3); }

.callout {
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  border-radius: var(--radius-s);
}
.callout h2, .callout h3 { font-size: var(--step-1); margin-bottom: var(--space-1); }
.callout p:last-child { margin-bottom: 0; }

.note {
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  font-size: .93rem;
  color: var(--ink-3);
  background: rgba(176, 141, 79, .07);
}
.note strong { color: var(--ink); }

/* 7. Page blocks ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(168, 35, 43, .32), transparent 60%),
    radial-gradient(900px 420px at 8% 110%, rgba(176, 141, 79, .16), transparent 65%),
    var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(251, 248, 243, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { font-size: var(--step-5); color: #fff; margin-bottom: var(--space-3); }
.hero .lead { color: rgba(251, 248, 243, .82); max-width: 46ch; }
.hero .kicker { color: var(--gold); }
.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
  border: 1px solid rgba(251, 248, 243, .16);
}
.hero-art figcaption {
  margin-top: .7rem;
  font-size: var(--step--1);
  color: rgba(251, 248, 243, .58);
  text-align: right;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(251, 248, 243, .16);
}
.hero-stats div { display: grid; gap: .15rem; }
.hero-stats dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 248, 243, .55); }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }

.page-head { padding-block: var(--space-6) var(--space-4); }
.page-head + .section { padding-top: var(--space-4); }
.page-head h1 { font-size: var(--step-4); margin-bottom: var(--space-2); }
.cover-art { width: 100%; max-width: 300px; height: auto; border-radius: var(--radius-s); box-shadow: var(--shadow-m); }
.page-head .lead { max-width: 60ch; color: var(--muted); }
.page-head--paper { background: var(--paper-2); border-bottom: 1px solid var(--line); }

/* track list / audio */
.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.track:first-child { border-top: 1px solid var(--line); }
.track-num { font-family: var(--font-display); font-size: 1.05rem; color: var(--muted-light); width: 1.8rem; }
.track h3 { margin: 0 0 .1rem; font-size: var(--step-1); }
.track p { margin: 0; font-size: .88rem; color: var(--muted); }
.track audio { width: 100%; max-width: 320px; height: 38px; }
.track--noaudio .track-num { color: var(--muted-light); }

audio { border-radius: 999px; background: var(--paper-2); }
audio::-webkit-media-controls-panel { background: var(--paper-2); }

/* shows table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
table.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 560px;
}
table.schedule caption { text-align: left; padding: var(--space-3) var(--space-4); font-weight: 600; color: var(--muted); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; }
table.schedule th,
table.schedule td { padding: .8rem var(--space-4); text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
table.schedule th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--paper-2); }
table.schedule tbody tr:hover { background: rgba(176, 141, 79, .07); }
table.schedule td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* poetry */
.poem {
  max-width: 38rem;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .98rem + .35vw, 1.24rem);
  line-height: 1.8;
  text-align: center;
  text-wrap: balance;
  color: var(--ink-2);
}
.poem p { margin: 0 0 1.15em; }
.poem .poem-title { font-size: var(--step-2); letter-spacing: .01em; margin-bottom: var(--space-4); color: var(--ink); }
.poem .poem-sign { margin-top: var(--space-5); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.poem .stanza { margin-bottom: 1.4em; }

.poem--dark {
  background: var(--ink);
  color: var(--paper-3);
  max-width: none;
  padding: clamp(2rem, 5vw, 4rem) var(--space-4);
  border-radius: var(--radius-l);
}
.poem--dark .poem-title { color: #fff; }
.poem--dark .poem-sign { color: rgba(251, 248, 243, .6); }

.poem--left {
  max-width: 44rem;
  margin-inline: 0;
  text-align: left;
  line-height: 1.8;
  color: var(--ink-2);
}
.poem--left .poem-title { text-align: left; }
.poem--left .stanza { padding-left: 0; }
.poem--left .poem-sign { text-align: left; }

.poem--dark.poem--left {
  background: var(--ink);
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-l);
}
.poem--dark.poem--left .stanza { color: var(--paper-3); }

.poem-index { columns: 2; column-gap: var(--space-5); }
.poem-index li { break-inside: avoid; margin-bottom: .55rem; }

/* gallery */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: var(--radius-m); box-shadow: var(--shadow-m); }
.gallery figcaption { margin-top: .6rem; font-size: var(--step--1); color: var(--muted); }
.gallery--masonry figure:nth-child(2n) img { aspect-ratio: 4/5; object-fit: cover; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; margin: 0 0 var(--space-4); padding-left: var(--space-4); }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline time { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.timeline h3 { font-size: var(--step-1); margin: .1rem 0 .25rem; }
.timeline p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: var(--space-2); max-width: 78ch; margin-inline: auto; }
.faq-layout { max-width: 78ch; margin-inline: auto; }
.faq summary > span { flex: 1; }
/* collapse the padding between two consecutive plain sections */
.section + .section { padding-top: 0; }
.section:has(+ .section:not(.section--paper)) { padding-bottom: 0; }
.section--paper:has(+ .section--paper) { padding-bottom: 0; }
.section--paper + .section,
.section + .section--paper { padding-top: var(--space-6); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  padding: 0 var(--space-4);
  box-shadow: var(--shadow-s);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: 0 0 var(--space-3); color: var(--muted); }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: var(--space-3); }

/* link lists */
.link-list { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.link-list li { display: grid; gap: .1rem; margin: 0; }
.link-list a { font-weight: 600; }
.link-list span { font-size: .92rem; color: var(--muted); }

/* forms */
.form { display: grid; gap: var(--space-3); max-width: 36rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.field input,
.field textarea {
  padding: .7rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: #fff;
  font-size: 1rem;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(168, 35, 43, .12); }
.field textarea { min-height: 8rem; resize: vertical; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 0; }
.radio-row { display: flex; gap: var(--space-4); align-items: center; font-size: .95rem; }
.radio-row label { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); font-size: .95rem; display: inline-flex; gap: .4rem; align-items: center; }

/* mature content notice */
.advisory {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid rgba(168, 35, 43, .3);
  background: rgba(168, 35, 43, .06);
  border-radius: var(--radius-m);
}
.advisory .badge {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .02em;
}
.advisory p { margin: 0; font-size: .95rem; }
.advisory p + p { margin-top: .5rem; }

/* page navigation (prev/next) */
.pager { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pager a {
  display: grid;
  gap: .2rem;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.pager a:hover { border-color: var(--accent); transform: translateY(-2px); }
.pager span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager strong { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--accent-dark); }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 243, .68);
  padding-block: var(--space-6) var(--space-4);
  margin-top: var(--space-7);
  font-size: .93rem;
}
.site-footer a { color: rgba(251, 248, 243, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(251, 248, 243, .14);
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: .3rem;
}
.footer-brand p { max-width: 34ch; color: rgba(251, 248, 243, .6); font-size: .9rem; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(251, 248, 243, .5);
  margin-bottom: var(--space-2);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-col li { margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-4);
  font-size: .82rem;
  color: rgba(251, 248, 243, .48);
}

/* 9. Utilities ------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.center .section-head { margin-inline: auto; text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: grid; gap: var(--space-3); }
.two-col-text { columns: 2; column-gap: var(--space-5); }
.two-col-text p { break-inside: avoid; }
.nowrap { white-space: nowrap; }

/* 10. Media queries -------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-4); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    display: none;
    padding: var(--space-3) var(--space-3) var(--space-4);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li + li { border-top: 1px solid var(--line); }
  .primary-nav a { display: block; padding: .8rem 0; font-size: 1rem; }
  .primary-nav a::after { display: none; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 1.8rem); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .two-col-text { columns: 1; }
  .poem-index { columns: 1; }
  .track { grid-template-columns: auto 1fr; }
  .track audio { grid-column: 1 / -1; max-width: 100%; }
  .hero-stats { gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .timeline { border-left-width: 1px; }
  .section { padding-block: var(--space-6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .nav-toggle, .site-footer, .pager, .btn-row { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero { background: #fff; color: #000; }
  .hero h1, .hero .lead { color: #000; }
}
