:root {
  --paper: #f8f8f1;
  --ink: #071c17;
  --teal: #008b7e;
  --muted: #53665e;
  --line: #cdd9d1;
  --mono: 'Geist Mono', monospace;
  --serif: 'Bodoni Moda', Didot, serif;
  --gutter: clamp(22px, 5vw, 100px);
  --section-space: clamp(80px, 9vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Geist', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-size: 20px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 7px; }
::selection { color: var(--ink); background: #b9e4d7; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1800px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: var(--gutter); z-index: 100; padding: 14px 20px; color: var(--paper); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.story-header { height: 80px; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; justify-self: start; font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.brand img { flex: 0 0 auto; }
.header-location, .edition-line, .chapter-label, .sequence-label, .foundation-study figcaption { font-family: var(--mono); font-weight: 500; font-size: 14px; line-height: 1.5; letter-spacing: .025em; }
.header-location { color: var(--muted); }
.back-link { justify-self: end; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; }
.back-link > span { font-size: 24px; }
.back-link:hover, .story-footer nav a:hover { color: var(--teal); }

.story-opening { padding-top: clamp(32px, 4vw, 66px); }
.edition-line, .chapter-label { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; color: var(--teal); }
.edition-line > :last-child, .chapter-label > :last-child { color: var(--muted); text-align: right; }
h1 { margin: clamp(38px, 5vw, 80px) 0 34px; font-size: min(18.6vw, 320px); line-height: .85; font-weight: 900; letter-spacing: -.065em; text-align: center; padding-right: .065em; }
.opening-thesis { max-width: 960px; margin: 0 auto; text-align: center; }
.thesis { font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.18; letter-spacing: -.045em; }
em { font-family: var(--serif); font-weight: 500; }
.thesis em { color: var(--teal); }
.opening-intro { margin-top: 22px; color: var(--muted); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.55; }
.chapter-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(54px, 6.5vw, 100px); border-block: 1px solid var(--line); }
.chapter-nav a { display: flex; align-items: center; gap: 18px; min-height: 88px; padding: 22px 28px; font-size: 20px; font-weight: 600; }
.chapter-nav a:first-child { padding-left: 0; }
.chapter-nav a:last-child { padding-right: 0; }
.chapter-nav a + a { border-left: 1px solid var(--line); }
.chapter-nav a > span { color: var(--teal); font: 14px/1.5 var(--mono); }
.chapter-nav b { margin-left: auto; color: var(--teal); font-size: 30px; font-weight: 400; }
.chapter-nav a:hover { color: var(--teal); }

.name-chapter, .making-chapter, .belief-chapter { padding-top: var(--section-space); }
.chapter-label { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; font-weight: 900; letter-spacing: -.055em; text-wrap: balance; }
h2 em { color: var(--teal); letter-spacing: -.035em; }
.name-chapter { --name-gap: clamp(48px, 7vw, 112px); }
.name-composition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--name-gap); padding-top: clamp(42px, 5vw, 74px); }
.name-copy { min-width: 0; max-width: 720px; }
.name-copy p { color: var(--muted); font-size: clamp(20px, 1.65vw, 22px); line-height: 1.65; }
.name-copy p + p { margin-top: 22px; }
.name-copy .lead { color: var(--ink); font-size: clamp(22px, 2vw, 28px); line-height: 1.45; letter-spacing: -.02em; }
.name-history { margin-top: 28px; }
.name-history summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-left: calc((100% + var(--name-gap)) / 2); min-height: 62px; padding-block: 14px; color: var(--teal); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; font-size: 20px; line-height: 1.4; }
.name-history summary::-webkit-details-marker { display: none; }
.name-history summary:hover { color: var(--ink); border-color: var(--teal); }
.name-history summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 7px; }
.history-toggle { flex: 0 0 22px; position: relative; width: 22px; height: 22px; }
.history-toggle::before, .history-toggle::after { content: ''; position: absolute; background: currentColor; }
.history-toggle::before { width: 18px; height: 1.5px; top: 10px; left: 2px; }
.history-toggle::after { width: 1.5px; height: 18px; top: 2px; left: 10px; }
.name-history[open] .history-toggle::after { display: none; }
.history-reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--name-gap); padding-block: 42px 8px; }
.history-kicker { display: block; margin-bottom: 20px; color: var(--teal); font: 500 14px/1.5 var(--mono); letter-spacing: .025em; }
.history-heading h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.history-copy { min-width: 0; }
.history-copy p { color: var(--muted); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.65; }
.history-copy p + p { margin-top: 20px; }
.history-sources { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.history-sources > span { display: block; margin-bottom: 10px; color: var(--muted); font: 500 14px/1.5 var(--mono); }
.history-reference { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding-block: 6px; color: var(--teal); font-size: 16px; line-height: 1.5; }
.history-reference > span:last-child { font-size: 24px; }
.history-reference:hover { color: var(--ink); }
.name-continuum { display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 3vw, 48px); margin-top: clamp(52px, 6vw, 90px); padding-block: clamp(30px, 4vw, 54px); border-block: 1px solid var(--line); color: var(--teal); }
.name-continuum span { flex: 0 1 auto; font: italic 500 clamp(25px, 2.4vw, 38px)/1.25 var(--serif); text-align: center; }
.name-continuum i { flex: 1 1 80px; height: 1px; background: var(--line); }

.making-heading { max-width: 1160px; margin: clamp(44px, 5vw, 76px) auto 0; text-align: center; }
.making-heading > p { max-width: 800px; margin: 28px auto 0; color: var(--muted); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.6; }
.foundation-study { margin-top: clamp(38px, 4vw, 64px); }
.foundation-study > img { width: 100%; aspect-ratio: 2.5 / 1; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent), linear-gradient(0deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect; }
.foundation-study figcaption { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); color: var(--teal); }
.foundation-study figcaption > :last-child { color: var(--muted); text-align: right; }
.making-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); row-gap: 22px; margin-top: clamp(42px, 4vw, 64px); }
.making-part { display: grid; grid-template-rows: subgrid; grid-row: span 4; min-width: 0; }
.sequence-label { color: var(--teal); }
.sequence-number { display: grid; grid-template-columns: 1.35em minmax(0, 1fr); align-items: end; gap: clamp(14px, 1.5vw, 24px); padding-block: 4px 20px; border-bottom: 1px solid var(--line); font-size: clamp(76px, 7.7vw, 120px); }
.sequence-number strong { font-size: inherit; font-weight: 600; line-height: .9; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.sequence-number > span { color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; }
h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.22; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.making-part > p { color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; text-wrap: balance; }
.work-link { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(48px, 5vw, 76px); padding-block: 26px; border-block: 1px solid var(--line); font-size: 20px; line-height: 1.45; }
.work-link > span { color: var(--muted); }
.work-link b { display: inline-flex; align-items: center; gap: 24px; font-weight: 600; color: var(--teal); }
.work-link b span { font-size: 30px; font-weight: 400; }
.work-link:hover b { color: var(--ink); }

.belief-statement { text-align: center; margin-top: clamp(48px, 6vw, 90px); }
.belief-statement > img { margin: 0 auto 30px; }
.belief-detail { max-width: 1150px; margin: 42px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(32px, 5vw, 80px); }
.belief-detail p { min-width: 0; color: var(--muted); font-size: 22px; line-height: 1.65; text-wrap: balance; }
.story-invitation { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-top: clamp(52px, 6vw, 90px); padding-block: 40px; border-block: 1px solid var(--line); }
.story-invitation > p { max-width: 750px; font-size: clamp(22px, 2vw, 28px); line-height: 1.45; letter-spacing: -.025em; }
.rai-link { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 62px; padding: 16px 24px; background: var(--ink); color: var(--paper); font-size: 20px; font-weight: 600; }
.rai-link span { color: #87d7c4; font-size: 28px; font-weight: 400; }
.rai-link:hover { background: #0c4035; }

.story-footer { display: grid; grid-template-columns: 1fr auto; gap: 18px 60px; padding-block: 46px 30px; }
.story-footer .brand { grid-column: 1; font-size: 20px; }
.story-footer > p { grid-column: 1; max-width: 450px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.story-footer nav { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: flex-start; gap: 28px; font-size: 16px; }
.story-footer nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.story-footer small { grid-column: 1 / -1; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }

@supports not (grid-template-rows: subgrid) {
  .making-part { grid-template-rows: auto auto minmax(74px, auto) 1fr; gap: 22px; }
}

@media (min-width: 2200px) {
  .story-header { padding-inline: max(var(--gutter), calc((100vw - 1800px) / 2)); }
}

@media (max-width: 1100px) {
  .name-chapter { --name-gap: 40px; }
  .making-sequence { column-gap: 28px; }
  .sequence-number { gap: 14px; }
  .story-invitation { gap: 36px; }
  .story-footer { column-gap: 30px; }
  .story-footer nav { gap: 18px; flex-wrap: wrap; justify-content: flex-end; max-width: 430px; }
}

@media (max-width: 850px) {
  .edition-line, .chapter-label, .foundation-study figcaption { font-size: 14px; }
  .chapter-nav a { padding: 20px 18px; gap: 12px; font-size: 18px; }
  .chapter-nav b { font-size: 26px; }
  .name-composition { grid-template-columns: 1fr; gap: 32px; }
  .name-copy { max-width: none; }
  .name-history summary { margin-left: 0; }
  .history-reading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .name-continuum { gap: 18px; }
  .name-continuum span { font-size: 26px; }
  .making-sequence { column-gap: 22px; }
  .sequence-label { font-size: 14px; }
  .sequence-number { font-size: 80px; }
  .making-part h3 { font-size: 24px; }
  .work-link { font-size: 18px; }
  .work-link b { gap: 18px; }
  .belief-detail { gap: 30px; }
  .story-footer nav { display: grid; gap: 0; }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; --section-space: 76px; }
  html { scroll-padding-top: 90px; }
  .story-header { height: 72px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand { font-size: 20px; gap: 9px; }
  .brand img { width: 28px; }
  .header-location { display: none; }
  .back-link { font-size: 16px; gap: 8px; }
  .back-link > span { font-size: 22px; }
  .story-opening { padding-top: 28px; }
  .edition-line { justify-content: center; text-align: center; }
  .edition-line > :last-child { display: none; }
  h1 { margin: 38px 0 26px; font-size: 18.6vw; }
  .thesis { font-size: clamp(29px, 5.8vw, 39px); }
  .opening-intro { margin-top: 18px; font-size: 18px; line-height: 1.55; }
  .opening-intro br { display: none; }
  .chapter-nav { margin-top: 40px; }
  .chapter-nav a { min-height: 84px; padding: 17px 14px; flex-wrap: wrap; column-gap: 8px; row-gap: 4px; font-size: 16px; line-height: 1.3; }
  .chapter-nav a > span { flex-basis: 100%; font-size: 14px; }
  .chapter-nav b { display: none; }
  .chapter-label { padding-bottom: 22px; gap: 16px; font-size: 14px; }
  h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.05em; }
  .name-composition { padding-top: 34px; }
  .name-copy p { font-size: 18px; line-height: 1.65; }
  .name-copy .lead { font-size: 22px; }
  .name-copy p + p { margin-top: 18px; }
  .name-history { margin-top: 22px; }
  .name-history summary { font-size: 18px; gap: 18px; }
  .history-reading { padding-top: 30px; }
  .name-continuum { flex-direction: column; margin-top: 38px; padding-block: 30px; gap: 16px; }
  .name-continuum span { font-size: 28px; }
  .name-continuum i { flex: 0 0 22px; height: 22px; width: 1px; }
  .making-heading { margin-top: 34px; }
  .making-heading > p { margin-top: 24px; font-size: 18px; }
  .foundation-study { margin-top: 28px; }
  .foundation-study > img { aspect-ratio: 2 / 1; object-fit: contain; }
  .foundation-study figcaption { display: block; padding-block: 16px; font-size: 14px; line-height: 1.6; }
  .foundation-study figcaption span { display: block; }
  .foundation-study figcaption > :last-child { text-align: left; margin-top: 6px; }
  .work-link { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 38px; padding-block: 24px; }
  .work-link b { width: 100%; justify-content: space-between; min-height: 44px; }
  .belief-statement { margin-top: 38px; }
  .belief-statement > img { width: 38px; margin-bottom: 24px; }
  .belief-detail { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .belief-detail p { font-size: 18px; text-wrap: pretty; }
  .story-invitation { align-items: stretch; flex-direction: column; gap: 24px; margin-top: 38px; padding-block: 30px; }
  .story-invitation > p { font-size: 23px; }
  .rai-link { min-height: 60px; font-size: 18px; }
  .story-footer { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; }
  .story-footer .brand, .story-footer > p, .story-footer nav, .story-footer small { grid-column: 1; grid-row: auto; }
  .story-footer nav { display: flex; justify-content: flex-start; gap: 8px 24px; flex-wrap: wrap; max-width: none; margin-top: 8px; font-size: 16px; }
  .story-footer > p { font-size: 16px; }
  .story-footer small { margin-top: 12px; font-size: 14px; }
}

/* Give each story room to read before three columns become too narrow. */
@media (max-width: 1023px) {
  .making-sequence { grid-template-columns: 1fr; row-gap: 36px; margin-top: 34px; }
  .making-part { grid-row: auto; grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr); grid-template-rows: auto auto; grid-template-areas: 'label heading' 'number copy'; gap: 18px 36px; }
  .making-part + .making-part { padding-top: 36px; border-top: 1px solid var(--line); }
  .sequence-label { grid-area: label; font-size: 14px; }
  .sequence-number { grid-area: number; grid-template-columns: 1fr; align-self: start; align-items: start; gap: 16px; padding: 0; border: 0; font-size: 92px; }
  .sequence-number > span { font-size: 18px; }
  .making-part h3 { grid-area: heading; font-size: 28px; }
  .making-part > p { grid-area: copy; font-size: 18px; text-wrap: pretty; }
}

@media (max-width: 600px) {
  .making-part { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; grid-template-areas: 'label' 'number' 'heading' 'copy'; gap: 20px; }
  .sequence-number { grid-template-columns: 1.35em minmax(0, 1fr); align-items: end; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 88px; }
  .making-part h3 { font-size: 26px; }
}

@media (max-width: 480px) {
  .chapter-nav { grid-template-columns: 1fr; }
  .chapter-nav a, .chapter-nav a:first-child, .chapter-nav a:last-child { flex-wrap: nowrap; min-height: 62px; padding: 14px 0; gap: 18px; font-size: 18px; }
  .chapter-nav a + a { border-left: 0; border-top: 1px solid var(--line); }
  .chapter-nav a > span { flex-basis: auto; font-size: 14px; }
  .chapter-nav b { display: block; font-size: 26px; }
}

@media (max-width: 380px) {
  :root { --gutter: 20px; }
  h1 { font-size: 17.5vw; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 25px; }
  .story-header .brand { min-width: 44px; }
  .story-header .brand > span { display: none; }
  .back-link { font-size: 16px; gap: 6px; }
  .chapter-label > :last-child { max-width: 112px; }
  .sequence-number { gap: 20px; }
  .sequence-number > span { font-size: 16px; }
}

@media print {
  .story-header { position: static; }
  .skip-link { display: none; }
  .wrap { width: 100%; }
  a { text-decoration: none; }
  .making-part, .story-invitation { break-inside: avoid; }
}
