@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --paper-light: #faf7f1;
  --ink: #262720;
  --muted: #68675e;
  --rule: #d5cfc1;
  --gold: #80613b;
  --gold-light: #c4ac85;
  --night: #181c1b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 3rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
body::selection { background: #d8c3a0; color: #17201d; }
::selection { background: #d8c3a0; color: #17201d; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 1px; }
button, input, textarea { font: inherit; }
.skip-link { position: absolute; z-index: 30; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .8rem 1rem; background: var(--paper); color: var(--ink); font: .875rem var(--sans); }
.skip-link:focus { transform: translateY(0); }
#reading-progress { position: fixed; z-index: 50; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.7rem clamp(1.25rem, 5vw, 6rem); background: var(--night); color: #e6e2d8; border-bottom: 1px solid #ffffff18; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--serif); font-size: 1rem; letter-spacing: -.025em; text-decoration: none; }
.wordmark::before { content: ""; display: block; width: 15px; height: 22px; border: 1px solid var(--gold-light); border-radius: 50% 50% 44% 44%; box-shadow: inset 0 0 0 3px var(--night), inset 0 0 0 4px #c4ac853e; }
.top-nav { display: flex; align-items: center; gap: 1.7rem; font: 400 .625rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .15em; }
.top-nav a { text-decoration: none; padding: .4rem 0; color: #b8beb7; }
.top-nav a:hover { color: #f3efe5; }
.top-nav a:first-child { margin-right: 1rem; }

.hero { overflow: hidden; position: relative; isolation: isolate; background: var(--night); color: var(--paper); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .45; background: radial-gradient(ellipse at 79% 42%, #56615a22 0%, transparent 55%); pointer-events: none; }
.hero-inner { display: block; max-width: 1100px; padding: clamp(3.5rem, 5vw, 5.25rem) clamp(1.25rem, 7vw, 8rem); margin: 0 auto; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker, .contents-label, .act-number { margin: 0; font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; }
.eyebrow { color: var(--gold-light); margin-bottom: 2rem; }
h1 { font-family: var(--serif); font-size: clamp(3.25rem, 6.2vw, 6.15rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.02; margin: 0 0 2rem; }
h1 .title-line { display: block; }
h1 em { color: var(--gold-light); font-weight: 400; }
.byline { font-family: var(--sans); font-size: .8rem; line-height: 1.5; letter-spacing: .06em; margin: -.75rem 0 1.75rem; color: var(--gold-light); }
.hero-deck { max-width: 29rem; font-size: clamp(1rem, 1.4vw, 1.175rem); line-height: 1.65; margin: 0; color: #babfb6; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.8rem; font-family: var(--sans); font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; }
.read-link { display: inline-flex; align-items: center; gap: 1rem; padding: .55rem 0; color: var(--paper); text-decoration: none; border-bottom: 1px solid #c4ac8577; }
.read-link::after { content: "↓"; display: inline-block; font-size: 1rem; line-height: 1; }
.read-link:hover { border-bottom-color: var(--gold-light); }
.reading-time { color: #929b91; }

.essay-layout { display: grid; grid-template-columns: 10rem minmax(0, 41.5rem) 10rem; justify-content: center; column-gap: clamp(2rem, 4vw, 4.5rem); max-width: 1400px; padding: 6.75rem clamp(1.25rem, 5vw, 5rem) 7rem; margin: 0 auto; }
.contents { align-self: start; position: sticky; top: 3rem; padding-top: .2rem; }
.contents-label { color: var(--muted); font-size: .625rem; letter-spacing: .15em; margin-bottom: 1.25rem; }
.contents nav { display: flex; flex-direction: column; gap: .1rem; }
.toc-link { display: block; border-left: 1px solid var(--rule); padding: .65rem 0 .65rem 1rem; font-family: var(--sans); font-size: .75rem; line-height: 1.5; text-decoration: none; color: var(--muted); transition: color 150ms ease, border-color 150ms ease; }
.toc-link[aria-current="location"], .toc-link:hover { color: var(--ink); border-left-color: var(--gold); }
.manifesto { min-width: 0; font-size: 1.15625rem; line-height: 1.83; letter-spacing: -.006em; }
.manifesto p { margin: 0 0 1.35em; }
.manifesto p:last-child { margin-bottom: 0; }
.manifesto a { text-decoration-color: #9a764c88; }
.manifesto a:hover { color: #6a4f2c; text-decoration-color: currentColor; }
.manifesto strong { font-weight: 700; }
.manifesto em { font-style: italic; }
.manifesto .section-kicker { color: var(--gold); margin-bottom: 1.25rem; font-size: .6875rem; }
.introduction h2 { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 1.75rem; }
.introduction { padding-bottom: .4rem; }
.introduction > p:first-of-type:not(.section-kicker) { font-size: 1.25rem; }
.chapter-rule { border: 0; height: 1px; background: var(--rule); margin: 4.75rem 0; width: 100%; }
.act { scroll-margin-top: 3rem; }
.act-header { position: relative; margin-bottom: 3.1rem; }
.act-number { display: block; color: var(--gold); margin-bottom: 1.25rem; }
.act-header .section-kicker { margin-bottom: 1rem; }
.act-header h2 { font-size: clamp(2.65rem, 4.5vw, 3.85rem); line-height: 1.06; font-weight: 400; letter-spacing: -.045em; margin: 0; max-width: 38rem; text-wrap: balance; }
.chapter { margin-top: 3rem; }
.chapter h3 { font-size: 1.45rem; font-weight: 400; line-height: 1.4; letter-spacing: -.02em; margin: 0 0 1.15rem; }
.chapter-number { display: block; font-family: var(--sans); color: var(--muted); font-size: .6875rem; font-weight: 400; letter-spacing: .15em; line-height: 1.5; margin-bottom: .55rem; }
.manifesto .standalone { margin: 2rem 0; font-size: 1.35rem; line-height: 1.55; }
.pullquote { margin: 3rem 0; padding: .2rem 0 .2rem 1.65rem; border-left: 1px solid var(--gold); font-size: clamp(1.5rem, 2.5vw, 1.9rem); font-style: italic; font-weight: 400; letter-spacing: -.02em; line-height: 1.5; color: #665940; }
.pullquote p { margin: 0; }
.exchange { margin: 2.6rem 0; padding: 1.5rem 1.7rem 1.55rem; background: var(--paper-light); border: 1px solid var(--rule); border-left: 2px solid var(--gold); border-radius: 3px; font-size: 1.03rem; line-height: 1.72; }
.manifesto .exchange .turn { margin: 0 0 1.1rem; }
.manifesto .exchange .turn:last-child { margin-bottom: 0; }
.exchange .speaker { display: block; margin-bottom: .3rem; font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--gold); }
.exchange .turn-me .speaker { color: var(--muted); }
.exchange .turn-model { color: #3f3f38; }
.byline-sep { margin: 0 .45rem; opacity: .7; }
.source-note { border-top: 1px solid var(--rule); padding-top: 1.6rem; margin-top: 3.4rem; font-family: var(--sans); font-size: .75rem; letter-spacing: 0; line-height: 1.75; color: var(--muted); }
.source-note p + p { margin-top: .85rem; }
.closing-note { margin-top: 3.5rem; padding-top: 2.4rem; border-top: 1px solid var(--rule); font-size: 1.25rem; font-style: italic; line-height: 1.65; }
.closing-note::after { content: ""; display: block; width: 15px; height: 22px; margin-top: 2.25rem; border: 1px solid var(--gold); border-radius: 50%; }

.site-footer { background: #ece7dc; border-top: 1px solid var(--rule); padding: 2.2rem clamp(1.25rem, 5vw, 6rem); color: #5c5b53; font-family: var(--sans); font-size: .75rem; line-height: 1.7; letter-spacing: .04em; }
.footer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; max-width: 1280px; margin: 0 auto; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration-color: #9a764c55; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

@media (max-width: 1150px) {
  .essay-layout { grid-template-columns: 8rem minmax(0, 41.5rem); justify-content: start; column-gap: 2.5rem; }
  .hero-inner { padding-left: 5vw; padding-right: 5vw; }
}

@media (max-width: 800px) {
  .site-header { padding-top: 1.35rem; padding-bottom: 1.35rem; }
  .hero-inner { padding: 3.75rem 1.75rem 4rem; }
  h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
  .hero-deck { font-size: 1rem; }
  .hero-meta { gap: 1rem; margin-top: 2rem; font-size: .625rem; }
  .essay-layout { display: block; padding: 4.5rem 1.75rem 5rem; }
  .contents { position: static; display: block; margin: 0 auto 3.5rem; max-width: 40rem; }
  .contents nav { gap: 0; }
  .toc-link { padding: .5rem 0 .5rem 1rem; }
  .manifesto { max-width: 40rem; margin: 0 auto; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 1.5rem; }
  .site-header { padding: 1.2rem 1.25rem; gap: .75rem; }
  .wordmark { font-size: .875rem; gap: .55rem; }
  .wordmark::before { width: 12px; height: 18px; }
  .top-nav { gap: .35rem; font-size: .6875rem; letter-spacing: .08em; }
  .top-nav a { padding: .5rem .45rem; }
  .top-nav a:first-child { display: none; }
  .hero-inner { padding: 3.5rem 1.5rem 3.25rem; }
  .eyebrow { margin-bottom: 1.6rem; font-size: .625rem; }
  h1 { font-size: clamp(3.2rem, 13.5vw, 4.6rem); line-height: 1.025; margin-bottom: 1.6rem; }
  .hero-deck { font-size: 1.0625rem; line-height: 1.6; max-width: 23rem; }
  .hero-meta { margin-top: 1.8rem; gap: 1.3rem; }
  .essay-layout { padding: 3.75rem 1.5rem 4.5rem; }
  .manifesto { font-size: 1.0625rem; line-height: 1.8; }
  .manifesto p { margin-bottom: 1.25em; }
  .manifesto .section-kicker, .act-number { font-size: .625rem; }
  .introduction h2 { font-size: 2.1rem; margin-bottom: 1.5rem; }
  .introduction > p:first-of-type:not(.section-kicker) { font-size: 1.125rem; }
  .chapter-rule { margin: 3.5rem 0; }
  .act { scroll-margin-top: 1.5rem; }
  .act-header { margin-bottom: 2.5rem; }
  .act-header h2 { font-size: 2.75rem; }
  .chapter { margin-top: 2.5rem; }
  .chapter h3 { font-size: 1.3rem; }
  .manifesto .standalone { font-size: 1.2rem; margin: 1.8rem 0; }
  .pullquote { margin: 2.2rem 0; padding-left: 1.1rem; font-size: 1.45rem; line-height: 1.5; }
  .source-note { font-size: .75rem; margin-top: 2.5rem; }
  .exchange { margin: 2rem 0; padding: 1.1rem 1.1rem 1.15rem; font-size: .98rem; }
  .closing-note { font-size: 1.125rem; }
  .site-footer { padding: 1.75rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 1rem; }
}

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

@media print {
  @page { margin: 20mm 18mm; }
  :root { --paper: #fff; --ink: #000; --muted: #555; --rule: #bbb; --gold: #555; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #000; }
  .site-header, .top-nav, .contents, .hero-meta, #reading-progress, .skip-link, .site-footer { display: none !important; }
  .hero { background: #fff; color: #000; overflow: visible; }
  .hero::after { display: none; }
  .hero-inner { display: block; min-height: 0; padding: 0 0 1.5rem; }
  .eyebrow, h1 em, .byline, .hero-deck { color: #555; }
  .eyebrow { margin-bottom: 1rem; font-size: 8pt; }
  h1 { font-size: 36pt; line-height: 1.05; margin-bottom: 1rem; }
  .hero-deck { font-size: 11pt; max-width: none; }
  .essay-layout { display: block; padding: 0; }
  .manifesto { max-width: none; font-size: 11pt; line-height: 1.6; }
  .manifesto p { orphans: 3; widows: 3; }
  .manifesto .section-kicker, .act-number { font-size: 7pt; }
  .introduction h2 { font-size: 23pt; }
  .act-header { break-after: avoid; margin-bottom: 1.5rem; }
  .act-header h2 { font-size: 29pt; }
  .chapter { margin-top: 1.5rem; }
  .chapter h3 { break-after: avoid; font-size: 15pt; }
  .chapter-rule { margin: 2rem 0; }
  .pullquote { font-size: 16pt; margin: 1.5rem 0; break-inside: avoid; color: #333; }
  .source-note { font-size: 8pt; }
  .exchange { background: none; break-inside: avoid; font-size: 10pt; }
  .closing-note { font-size: 12pt; }
  a { color: inherit; }
}
