:root {
  color-scheme: light;
  --ink: #15192d;
  --paper: #f4f3ed;
  --acid: #d8ff4e;
  --sky: #a8d8ff;
  --line: rgba(21, 25, 45, .16);
  --accent: #7154ec;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); }
section { scroll-margin-top: 1.5rem; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.grain { position: fixed; z-index: 20; inset: 0; pointer-events: none; opacity: .25; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E"); }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; transform: translateY(-160%); padding: .75rem 1rem; background: var(--acid); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.section-shell, .site-header { width: min(100% - 3rem, 1220px); margin-inline: auto; }

.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 5.75rem; border-bottom: 1px solid var(--line); }
.wordmark { font: 700 1.4rem/1 var(--mono); letter-spacing: -.08em; }
.wordmark span { margin-left: .16rem; color: #f24b39; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; font: 500 .75rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.site-nav a { padding-block: 1rem; }
.site-nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 1px solid var(--ink); padding: .65rem .75rem; background: transparent; color: var(--ink); font: 500 .75rem var(--mono); text-transform: uppercase; }
.section-label, .eyebrow, .chapter-kicker, .chapter-meta, .chapter-index span, .venture-grid span, .acquisition-card span, .chapter-stat span, .notes-grid span, .site-footer { font: 500 .72rem/1.4 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; border-bottom: 1px solid currentColor; padding-bottom: .25rem; font: 500 .76rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }

.hero { display: flex; flex-direction: column; min-height: min(760px, calc(100vh - 5.75rem)); padding-top: clamp(4.5rem, 9vw, 9rem); padding-bottom: 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.7fr .65fr; align-items: end; gap: 4rem; margin-block: auto; }
.hero h1 { max-width: 860px; margin: 0; font: 500 clamp(3.75rem, 8.5vw, 7.7rem)/.86 var(--serif); letter-spacing: -.072em; }
.hero h1 em, .journey-intro h2 em, .chapter h2 em { color: var(--accent); font-weight: 400; }
.hero-aside { max-width: 295px; padding-bottom: .45rem; }
.hero-aside p { margin: 0 0 1.75rem; font-size: 1.02rem; line-height: 1.48; }
.hero-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; font: 500 .65rem var(--mono); letter-spacing: .07em; }
.hero-rule { height: 1px; background: var(--line); }

.journey-intro { padding-block: clamp(6rem, 11vw, 10rem) 5rem; border-top: 1px solid var(--line); }
.journey-heading { display: grid; grid-template-columns: 1.25fr .65fr; align-items: end; gap: 5vw; margin-block: 3rem 5rem; }
.journey-heading h2, .chapter h2, .writing h2 { margin: 0; font: 500 clamp(3rem, 6vw, 5.8rem)/.92 var(--serif); letter-spacing: -.065em; }
.journey-heading p { max-width: 420px; margin: 0; font-size: 1.15rem; line-height: 1.55; }
.chapter-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapter-index a { position: relative; display: flex; flex-direction: column; min-height: 130px; padding: 1.1rem 1.5rem 1rem 0; }
.chapter-index a + a { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.chapter-index a:hover { background: rgba(113, 84, 236, .055); }
.chapter-index span { color: var(--accent); }
.chapter-index strong { max-width: 180px; margin-top: auto; font: 500 1.35rem/1.05 var(--serif); letter-spacing: -.03em; }
.chapter-index b { position: absolute; right: 1.2rem; bottom: 1rem; font-weight: 400; }

.chapter { position: relative; }
.chapter-inner { display: grid; grid-template-columns: 155px 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(5rem, 10vw, 9rem); }
.chapter-meta { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; border-right: 1px solid var(--line); padding-right: 1rem; }
.chapter-number { margin-bottom: 1.3rem; font: 400 clamp(4rem, 7vw, 6rem)/.8 var(--serif); letter-spacing: -.07em; }
.chapter-kicker { margin: 0 0 2rem; }
.chapter h2 { max-width: 920px; }
.chapter-lede { max-width: 660px; margin: 2.7rem 0 3rem; font-size: 1.22rem; line-height: 1.55; }
.chapter-links { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.25rem; }

.chapter-beginning { border-top: 1px solid var(--line); }
.chapter-story { display: grid; grid-template-columns: 1fr minmax(210px, .55fr); align-items: end; gap: 3rem; max-width: 950px; margin-top: 3rem; }
.chapter-story p { max-width: 560px; margin: 0 0 1.25rem; font-size: 1.1rem; line-height: 1.55; }
.chapter-stat { display: flex; flex-direction: column; gap: .35rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.chapter-stat strong { font: 500 clamp(3.25rem, 5.2vw, 5rem)/.85 var(--serif); letter-spacing: -.065em; }
.chapter-stat span { color: #5e647b; }

.chapter-work { background: var(--ink); color: var(--paper); }
.chapter-work .chapter-meta { border-color: rgba(244, 243, 237, .25); }
.chapter-work h2 em { color: var(--acid); }
.chapter-work .chapter-lede { color: #dad9d3; }
.venture-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(244, 243, 237, .3); }
.venture-grid a { display: flex; flex-direction: column; min-height: 265px; padding: 1.3rem 1.4rem 1.3rem 0; border-bottom: 1px solid rgba(244, 243, 237, .3); }
.venture-grid a + a { padding-left: 1.4rem; border-left: 1px solid rgba(244, 243, 237, .3); }
.venture-grid a:hover { color: var(--acid); }
.venture-grid span { color: #b4dcff; }
.venture-grid h3 { margin: 2.5rem 0 .8rem; font: 500 clamp(1.8rem, 2.5vw, 2.7rem)/1 var(--serif); letter-spacing: -.04em; }
.venture-grid h3 b { font: 400 .55em var(--sans); vertical-align: top; }
.venture-grid p { max-width: 250px; margin: 0; color: #c8c8c4; font-size: .95rem; line-height: 1.45; }

.chapter-stripe { background: #eae7dc; }
.stripe-afterword { max-width: 660px; margin: -1.25rem 0 2.75rem; color: #4e536a; font-size: 1.04rem; line-height: 1.55; }
.acquisition-card { display: flex; justify-content: space-between; align-items: end; gap: 1rem; min-height: 185px; padding: 1.6rem 1.8rem; background: var(--acid); color: #15192d; }
.acquisition-card div { display: flex; flex-direction: column; gap: 1.2rem; }
.acquisition-card strong { font: 500 clamp(2.5rem, 5vw, 5rem)/.9 var(--serif); letter-spacing: -.06em; }
.acquisition-card .acquisition-year { font: 400 clamp(2rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.05em; }

.chapter-next { overflow: hidden; background: var(--sky); }
.chapter-next::after { position: absolute; right: -200px; top: 24%; width: 640px; height: 260px; border: 1px solid rgba(21, 25, 45, .3); border-radius: 50%; transform: rotate(-29deg); content: ""; pointer-events: none; }
.chapter-next .chapter-inner { position: relative; z-index: 1; }
.chapter-next .chapter-meta { border-color: rgba(21, 25, 45, .25); }
.chapter-next h2 em { color: var(--ink); }
.next-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: 880px; margin-top: 3rem; }
.next-story p { max-width: 420px; margin: 0; font-size: 1.13rem; line-height: 1.55; }
.next-close { max-width: 880px; margin: 4rem 0 0; border-top: 1px solid rgba(21, 25, 45, .25); padding-top: 1rem; font: 500 .77rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.next-close span { margin-left: .5rem; color: var(--accent); }
.legacy-anchor { display: block; height: 0; }

.writing { padding-block: clamp(6rem, 10vw, 9rem); }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.writing h2 { margin-block: 2.5rem 3rem; }
.notes-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.notes-grid a { position: relative; min-height: 190px; padding: 1.35rem 1.25rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.notes-grid a + a { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.notes-grid a:hover { color: var(--accent); }
.notes-grid h3 { max-width: 205px; margin: 2.2rem 0 0; font: 500 1.45rem/1.05 var(--serif); letter-spacing: -.03em; }
.notes-grid b { position: absolute; right: 1.15rem; bottom: 1.2rem; font-weight: 400; }
.site-footer { display: flex; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line); padding-block: 1.35rem 2.5rem; font-size: .68rem; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer span { color: var(--accent); }

@media (max-width: 900px) {
  .chapter-inner { grid-template-columns: 115px 1fr; gap: 2.5rem; }
  .venture-grid { grid-template-columns: 1fr; }
  .venture-grid a, .venture-grid a + a { min-height: 0; padding: 1.2rem 0; border-left: 0; }
  .venture-grid h3 { margin: .8rem 0; }
  .venture-grid p { max-width: 600px; }
}

@media (max-width: 760px) {
  .section-shell, .site-header { width: min(100% - 2rem, 1220px); }
  .site-header { height: 4.5rem; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--ink); padding: 1rem; background: var(--paper); }
  .site-nav.open { display: flex; }
  .site-nav a { border-bottom: 1px solid var(--line); padding: 1rem; }
  .hero { min-height: 0; padding-top: 3.5rem; }
  .hero-grid, .journey-heading { grid-template-columns: 1fr; gap: 2rem; }
  .hero-grid { margin-block: 3rem 4rem; }
  .hero h1 { font-size: clamp(3.6rem, 15vw, 5.7rem); }
  .hero h1 em { display: block; }
  .hero-aside { padding: 0; }
  .hero-footer { grid-template-columns: 1fr; gap: .5rem; }
  .hero-rule { display: none; }
  .journey-intro { padding-block: 5rem 3rem; }
  .journey-heading { margin-block: 2rem 3rem; }
  .journey-heading h2, .chapter h2, .writing h2 { font-size: clamp(3rem, 11vw, 4.8rem); }
  .chapter-index { grid-template-columns: repeat(2, 1fr); }
  .chapter-index a { min-height: 120px; padding: .9rem; border-bottom: 1px solid var(--line); }
  .chapter-index a + a { padding-left: .9rem; }
  .chapter-index a:nth-child(3) { border-left: 0; }
  .chapter-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 5rem; }
  .chapter-meta { flex-direction: row; align-items: baseline; gap: 1rem; border-right: 0; border-bottom: 1px solid currentColor; padding: 0 0 .8rem; }
  .chapter-number { margin: 0 auto 0 0; font-size: 3.1rem; }
  .chapter-story, .next-story { grid-template-columns: 1fr; gap: 1.5rem; }
  .chapter-story { margin-top: 2rem; }
  .chapter-lede { margin: 2rem 0; }
  .acquisition-card { min-height: 170px; padding: 1.2rem; }
  .acquisition-card strong { font-size: clamp(2.3rem, 9vw, 4rem); }
  .chapter-next::after { right: -390px; top: 20%; }
  .next-story { margin-top: 2rem; }
  .next-close { margin-top: 3rem; }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .notes-grid a, .notes-grid a + a { min-height: 170px; padding: 1.15rem; }
  .notes-grid a:nth-child(3) { border-left: 0; }
  .notes-grid h3 { margin-top: 1.5rem; }
  .site-footer { flex-direction: column; gap: 1rem; }
  .site-footer div { order: -1; }
}

@media (max-width: 480px) {
  .chapter-meta { flex-wrap: wrap; }
  .chapter-meta span:last-child { width: 100%; }
  .notes-grid { grid-template-columns: 1fr; }
  .notes-grid a, .notes-grid a + a { min-height: 130px; padding: 1.15rem 0; border-left: 0; }
  .notes-grid h3 { max-width: 280px; }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f4f3ed;
    --paper: #111522;
    --sky: #234366;
    --line: rgba(244, 243, 237, .2);
    --accent: #b8a8ff;
  }
  .skip-link { color: #15192d; }
  .chapter-index a:hover { background: rgba(184, 168, 255, .1); }
  .chapter-stat span { color: #b5bbca; }
  .chapter-work { background: #0a0e19; color: #f4f3ed; }
  .chapter-stripe { background: #1b2333; }
  .stripe-afterword { color: #c1c6d4; }
  .chapter-next::after { border-color: rgba(244, 243, 237, .28); }
  .chapter-next .chapter-meta, .next-close { border-color: rgba(244, 243, 237, .3); }
  .chapter-next h2 em { color: var(--acid); }
  .next-close span { color: var(--acid); }
}
