:root {
  color-scheme: light;
  --paper: #f3efe5;
  --paper-deep: #e8e1d2;
  --ink: #191915;
  --ink-soft: #4f4d45;
  --ink-faint: #68645b;
  --line: rgba(25, 25, 21, 0.16);
  --line-strong: rgba(25, 25, 21, 0.32);
  --accent: #c94f2c;
  --accent-dark: #8e3219;
  --forest: #263b2d;
  --forest-soft: #38513f;
  --white: #fffdf7;
  --shadow-sm: 0 1px 2px rgba(25, 25, 21, 0.08), 0 8px 24px rgba(25, 25, 21, 0.06);
  --shadow-lg: 0 2px 4px rgba(25, 25, 21, 0.08), 0 24px 70px rgba(25, 25, 21, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --shell: min(1180px, calc(100vw - 40px));
  --ease-out: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  z-index: 90;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark::before {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  color: var(--ink-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--ink);
  background: rgba(25, 25, 21, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: center;
  min-height: calc(100svh - 68px);
  padding-block: clamp(56px, 8vw, 112px);
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.4vw, 112px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero__deck {
  max-width: 35rem;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.35;
  text-wrap: pretty;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 34px;
  gap: 8px 18px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__meta span + span::before {
  margin-right: 18px;
  color: var(--line-strong);
  content: "/";
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 100ms ease;
}

.button:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
}

.button--solid {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button--solid:hover {
  color: var(--white);
  border-color: #30302a;
  background: #30302a;
}

.button:active {
  transform: scale(0.96);
}

.button svg {
  width: 15px;
  height: 15px;
}

.hero__visual {
  position: relative;
  margin: 0;
}

.hero__frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border: 1px solid rgba(25, 25, 21, 0.22);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.hero__stamp {
  position: absolute;
  right: -18px;
  bottom: 56px;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  padding: 12px;
  color: var(--white);
  background: #bd4524;
  border: 5px solid var(--paper);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 16px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(88px, 11vw, 160px);
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
}

.section-index {
  position: sticky;
  top: 110px;
  align-self: start;
}

.section-index__number {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 52px;
  font-style: italic;
  line-height: 1;
}

.section-index h2 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.summary__lead {
  max-width: 34ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.17;
  text-wrap: pretty;
}

.takeaways {
  display: grid;
  margin: clamp(52px, 7vw, 92px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.takeaway {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.takeaway__number {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.takeaway h3 {
  margin: -0.2em 0 7px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 540;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.takeaway p {
  max-width: 60ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.68;
  text-wrap: pretty;
}

.pull-quote {
  position: relative;
  margin: clamp(62px, 8vw, 112px) 0 0;
  padding: clamp(34px, 6vw, 72px);
  color: var(--white);
  background: var(--forest);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.pull-quote::before {
  position: absolute;
  top: 26px;
  left: 30px;
  color: #e17754;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  content: "“";
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 4.2vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.pull-quote footer {
  margin-top: 28px;
  color: #b9c7bd;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-section {
  color: var(--white);
  background: var(--ink);
  border-color: transparent;
}

.map-section .section-kicker,
.map-section .section-index__number {
  color: #e17754;
}

.map-section .section-index h2 {
  color: var(--white);
}

.chapters {
  display: grid;
  gap: 2px;
}

.chapter-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 32px;
  align-items: start;
  padding: 30px 28px;
  gap: 24px;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}

.chapter-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.chapter-card:active {
  transform: translateX(5px) scale(0.99);
}

.chapter-card__time {
  color: #e17754;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.chapter-card h3 {
  margin: -0.2em 0 8px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.chapter-card p {
  max-width: 58ch;
  margin: 0;
  color: #bcbcb3;
  font-size: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}

.chapter-card svg {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: #8e8e86;
  transition: color 160ms ease, transform 160ms var(--ease-out);
}

.chapter-card:hover svg {
  color: var(--white);
  transform: translateY(3px);
}

.transcript-section {
  padding-bottom: 80px;
}

.transcript-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  align-items: end;
  margin-bottom: 48px;
  gap: 40px;
}

.transcript-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 8.5vw, 118px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.transcript-heading__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.transcript-tools {
  position: sticky;
  z-index: 20;
  top: 68px;
  display: flex;
  align-items: center;
  min-height: 72px;
  margin-bottom: 68px;
  padding-block: 12px;
  gap: 10px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
}

.search-field {
  position: relative;
  flex: 1 1 320px;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 64px 10px 42px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.search-field input::placeholder {
  color: var(--ink-faint);
}

.search-field input:focus {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(201, 79, 44, 0.09);
}

.search-field kbd {
  position: absolute;
  top: 50%;
  right: 13px;
  padding: 2px 7px;
  color: var(--ink-faint);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  transform: translateY(-50%);
}

.search-status {
  flex: 0 0 auto;
  min-width: 92px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.transcript-body {
  width: min(920px, 100%);
  margin-inline: auto;
}

.transcript-chapter {
  padding-top: 20px;
  margin-bottom: 92px;
}

.transcript-chapter[hidden],
.transcript-line[hidden] {
  display: none;
}

.transcript-chapter__header {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  margin-bottom: 40px;
  padding-bottom: 25px;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.transcript-chapter__marker {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transcript-chapter__header h3 {
  margin: -0.25em 0 7px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.transcript-chapter__header p {
  max-width: 58ch;
  margin: 0;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.55;
}

.transcript-line {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  padding-block: 17px;
  gap: 24px;
  border-bottom: 1px solid rgba(25, 25, 21, 0.09);
}

.transcript-line:target {
  background: rgba(201, 79, 44, 0.075);
}

.transcript-line time {
  padding-top: 0.5em;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.transcript-line p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.58;
  text-wrap: pretty;
}

.search-empty {
  display: none;
  padding: 56px 24px;
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
}

.search-empty.is-visible {
  display: block;
}

.methodology {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-block: 64px;
  gap: 48px;
  border-top: 1px solid var(--line);
}

.methodology h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 540;
  letter-spacing: -0.02em;
}

.methodology p {
  max-width: 59ch;
  margin: 0;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
}

.methodology a:hover {
  color: var(--accent-dark);
}

.site-footer {
  color: #bcbcb3;
  background: var(--ink);
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 240px;
  padding-block: 54px;
  gap: 40px;
}

.site-footer__title {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.site-footer__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 74px 90px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(64px, 14vw, 104px);
  }

  .hero__visual {
    width: min(640px, 96%);
    margin-inline: auto;
  }

  .hero__frame {
    aspect-ratio: 5 / 4;
  }

  .section-grid {
    grid-template-columns: 1fr;
  }

  .section-index {
    position: static;
  }

  .section-index h2 {
    max-width: none;
  }

  .chapter-card {
    grid-template-columns: 86px minmax(0, 1fr) 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 24px);
  }

  html {
    scroll-padding-top: 82px;
  }

  .site-header__inner {
    min-height: 60px;
  }

  .wordmark {
    font-size: 10px;
  }

  .site-nav a {
    min-width: 44px;
    padding-inline: 8px;
    font-size: 0;
  }

  .site-nav a::first-letter {
    font-size: 13px;
  }

  .site-nav a[href="#summary"]::after {
    font-size: 11px;
    content: "Brief";
  }

  .site-nav a[href="#transcript"]::after {
    font-size: 11px;
    content: "Read";
  }

  .hero {
    padding-block: 52px 76px;
    gap: 54px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 84px);
  }

  .hero__deck {
    margin-top: 25px;
    font-size: 19px;
  }

  .hero__meta {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 27px;
    gap: 4px;
  }

  .hero__meta span + span::before {
    content: none;
  }

  .hero__visual {
    width: calc(100% - 8px);
  }

  .hero__frame {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
  }

  .hero__stamp {
    right: -9px;
    bottom: 42px;
    width: 82px;
    height: 82px;
    border-width: 4px;
    font-size: 9px;
  }

  .section {
    padding-block: 82px;
  }

  .section-grid {
    gap: 42px;
  }

  .section-index__number {
    font-size: 42px;
  }

  .summary__lead {
    font-size: 28px;
  }

  .takeaway {
    grid-template-columns: 35px minmax(0, 1fr);
    padding-block: 24px;
    gap: 10px;
  }

  .pull-quote {
    margin-inline: -4px;
    padding: 54px 25px 34px;
  }

  .pull-quote::before {
    top: 20px;
    left: 22px;
  }

  .chapter-card {
    grid-template-columns: 1fr 24px;
    padding: 24px 20px;
    gap: 12px;
  }

  .chapter-card__time {
    grid-column: 1 / -1;
  }

  .chapter-card h3 {
    font-size: 26px;
  }

  .transcript-section {
    padding-bottom: 28px;
  }

  .transcript-heading {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
    gap: 26px;
  }

  .transcript-heading h2 {
    font-size: clamp(54px, 19vw, 84px);
  }

  .transcript-tools {
    top: 60px;
    flex-wrap: wrap;
    margin-bottom: 52px;
  }

  .search-field {
    flex-basis: calc(100% - 60px);
  }

  .search-field input {
    padding-right: 12px;
  }

  .search-field kbd,
  .search-status {
    display: none;
  }

  .button--copy {
    width: 46px;
    padding-inline: 0;
    font-size: 0;
  }

  .button--copy svg {
    width: 17px;
    height: 17px;
  }

  .transcript-chapter {
    margin-bottom: 72px;
  }

  .transcript-chapter__header,
  .transcript-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .transcript-chapter__header {
    margin-bottom: 23px;
  }

  .transcript-line {
    padding-block: 18px;
  }

  .transcript-line time {
    padding-top: 0;
  }

  .transcript-line p {
    font-size: 19px;
    line-height: 1.55;
  }

  .methodology {
    grid-template-columns: 1fr;
    padding-block: 52px;
    gap: 32px;
  }

  .site-footer__inner {
    display: grid;
    min-height: 260px;
    align-content: space-between;
  }

  .site-footer__meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
