@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');

:root {
  color-scheme: dark;
  --archive: #090807;
  --ink: #171411;
  --ivory: #e7e1d6;
  --paper: #f3ede1;
  --smoke: #9b9387;
  --brass: #b89257;
  --amber: #d2a05c;
  --oxblood: #6e1f26;
  --line: rgba(231, 225, 214, .18);
  --sans: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  background: var(--archive);
  color: var(--ivory);
  font-family: var(--serif);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--archive); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--brass); color: var(--archive); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--paper); color: var(--ink); font: 600 .8rem var(--sans); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 14px clamp(20px, 4vw, 64px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(9, 8, 7, .94); border-color: var(--line); backdrop-filter: blur(14px); }
.wordmark { display: grid; gap: 2px; text-decoration: none; text-transform: uppercase; font: 600 .85rem var(--sans); letter-spacing: .12em; }
.wordmark small { color: var(--brass); font: 500 .56rem var(--sans); letter-spacing: .2em; }
.site-nav { display: flex; gap: clamp(18px, 2.4vw, 38px); align-items: center; }
.site-nav a { color: var(--smoke); text-decoration: none; font: 500 .69rem var(--sans); letter-spacing: .11em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ivory); }
.menu-button { display: none; color: var(--ivory); border: 1px solid var(--line); background: transparent; padding: .6rem .8rem; font: 500 .7rem var(--sans); text-transform: uppercase; letter-spacing: .12em; }

.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr); border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 132px clamp(28px, 6vw, 112px) 72px; background: radial-gradient(circle at 20% 30%, rgba(110, 31, 38, .17), transparent 43%), var(--archive); }
.eyebrow, .section-index { margin: 0 0 1.8rem; color: var(--brass); font: 500 .69rem var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; font: 500 clamp(3.5rem, 7.2vw, 8.2rem)/.88 var(--serif); letter-spacing: -.055em; }
.hero h1 em { display: block; color: transparent; -webkit-text-stroke: 1px rgba(231, 225, 214, .66); font-style: italic; }
.hero-lede { max-width: 670px; margin: 2.5rem 0 0; color: #bbb2a5; font-size: clamp(1.12rem, 1.5vw, 1.38rem); line-height: 1.62; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.5rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 1.4rem; border: 1px solid var(--brass); text-decoration: none; font: 600 .72rem var(--sans); letter-spacing: .13em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--brass); color: var(--archive); }
.button-quiet { color: var(--ivory); }
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.disclosure { margin: 2rem 0 0; color: #756f66; font: .7rem/1.5 var(--sans); letter-spacing: .05em; }
.hero-portrait { position: relative; min-height: 100svh; margin: 0; overflow: hidden; background: #100c09; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(.55) contrast(1.08); }
.hero-portrait figcaption { position: absolute; right: 16px; bottom: 14px; max-width: 300px; padding: 8px 10px; background: rgba(9, 8, 7, .78); color: #9d968c; font: .58rem/1.45 var(--sans); letter-spacing: .05em; }

.section { padding: clamp(76px, 10vw, 150px) clamp(24px, 7vw, 120px); }
.section h2 { margin: 0; font: 500 clamp(2.7rem, 5.7vw, 6.5rem)/.96 var(--serif); letter-spacing: -.045em; }
.section p { color: #bcb3a7; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.7; }
.lead { color: var(--ivory) !important; font-size: clamp(1.35rem, 2.1vw, 2rem) !important; line-height: 1.45 !important; }
.manifesto-grid, .boundary-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: clamp(50px, 9vw, 160px); align-items: start; }
.manifesto-grid h2 { max-width: 780px; }
.time-mark { display: flex; align-items: baseline; gap: clamp(18px, 4vw, 60px); margin-top: clamp(70px, 10vw, 150px); border-top: 1px solid var(--line); padding-top: 26px; color: var(--smoke); font: 500 clamp(.7rem, 1vw, .9rem) var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.blur-word { position: relative; isolation: isolate; color: var(--ivory); font: 600 clamp(4.5rem, 13vw, 13rem)/.75 var(--sans); letter-spacing: -.1em; }
.blur-word::before, .blur-word::after { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: var(--oxblood); opacity: .46; filter: blur(5px); transform: translate(7px, 2px); }
.blur-word::after { color: var(--brass); transform: translate(-5px, -2px); opacity: .25; }

.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .section-index { color: var(--oxblood); }
.section-paper p { color: #4d463f; }
.roles h2 { max-width: 980px; }
.section-intro { max-width: 720px; }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 4rem 0 3rem; border-top: 1px solid rgba(23, 20, 17, .25); border-bottom: 1px solid rgba(23, 20, 17, .25); }
.role-grid article { min-height: 290px; padding: 24px; border-right: 1px solid rgba(23, 20, 17, .2); }
.role-grid article:last-child { border-right: 0; }
.role-grid span, .book-card > span { color: var(--oxblood); font: 500 .68rem var(--mono); letter-spacing: .12em; }
.role-grid h3 { margin: 4rem 0 1rem; font: 500 2rem var(--serif); }
.role-grid p { font-size: .98rem; line-height: 1.6; }
.text-link { display: inline-block; color: inherit; font: 600 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }

.section-heading { display: grid; grid-template-columns: 1.2fr .7fr; gap: 8vw; align-items: end; }
.section-heading p { margin-bottom: 0; }
.book-shelf { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 1px; margin: 5rem 0 3rem; background: var(--line); border: 1px solid var(--line); overflow-x: auto; }
.book-card { min-height: 390px; padding: 26px; background: #0d0b09; }
.book-card h3 { margin: 6rem 0 1.2rem; font: 500 1.8rem/1.08 var(--serif); }
.book-card p { font-size: .98rem; }

.section-oxblood { display: grid; grid-template-columns: 1.2fr .65fr; gap: 8vw; background: var(--oxblood); color: var(--paper); }
.section-oxblood .section-index { grid-column: 1 / -1; color: #e4b989; }
.section-oxblood blockquote { margin: 0; font: italic 500 clamp(2.8rem, 5.5vw, 6.4rem)/1 var(--serif); letter-spacing: -.045em; }
.section-oxblood p { color: #e1c9bd; align-self: end; }

.hour { display: grid; grid-template-columns: .65fr 1.2fr; gap: 8vw; align-items: center; }
.hour-clock { width: min(100%, 460px); aspect-ratio: 1; display: grid; place-content: center; border: 1px solid var(--brass); border-radius: 50%; text-align: center; box-shadow: inset 0 0 0 20px var(--archive), inset 0 0 0 21px rgba(184,146,87,.35); }
.hour-clock span { font: 500 clamp(5rem, 10vw, 10rem)/.8 var(--serif); }
.hour-clock small { margin-top: 1.2rem; color: var(--brass); font: 500 .7rem var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.quiet-note { color: #817a70 !important; font-size: .9rem !important; }

.thesis-invite { text-align: center; }
.thesis-invite h2, .thesis-invite p { max-width: 1000px; margin-left: auto; margin-right: auto; }
.thesis-invite .button { margin-top: 1.5rem; }
.boundary-grid h2 { max-width: 850px; }
.final-invitation { min-height: 80svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle, rgba(184, 146, 87, .12), transparent 50%); }
.final-invitation h2 { max-width: 980px; }
.final-invitation p:not(.eyebrow) { max-width: 720px; }
.final-invitation .button { margin-top: 1.4rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 38px clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); }
.site-footer > div { display: grid; gap: 3px; text-transform: uppercase; font: 600 .72rem var(--sans); letter-spacing: .14em; }
.site-footer > div span { color: var(--brass); font-size: .53rem; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a, .site-footer p { color: var(--smoke); font: .65rem/1.5 var(--sans); }
.site-footer p { margin: 0; text-align: right; }

.subpage-hero { padding: 180px clamp(24px, 7vw, 120px) 90px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: .65rem; align-items: center; margin: 0 0 1.5rem; color: #817a70; font: 500 .64rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.breadcrumb a { color: var(--brass); }
.breadcrumb span[aria-current="page"] { color: var(--smoke); }
.subpage-hero h1 { max-width: 1100px; margin: 0; font: 500 clamp(3.6rem, 8vw, 8rem)/.9 var(--serif); letter-spacing: -.055em; }
.subpage-hero p:last-child { max-width: 760px; margin-top: 2rem; color: var(--smoke); font-size: 1.25rem; line-height: 1.65; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.editorial-grid article { padding: clamp(28px, 4vw, 60px); background: var(--archive); }
.editorial-grid h2 { font-size: clamp(2rem, 4vw, 4.2rem); }
.editorial-grid h3 { font: 500 1.8rem var(--serif); }
.source-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.source-entry { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 36px; padding: 32px; background: var(--archive); }
.source-entry > span { color: var(--brass); font: .68rem var(--mono); }
.source-entry h2 { font-size: 2rem; }
.source-entry p { margin-top: 0; font-size: .98rem; }

.legal-shell, .thesis-shell { width: min(100% - 40px, 840px); margin: 0 auto; padding: 150px 0 100px; }
.legal-shell h1 { margin: 0 0 3rem; font: 500 clamp(3rem, 7vw, 6rem)/.95 var(--serif); }
.legal-shell h2 { margin-top: 3rem; font: 500 1.8rem var(--serif); }
.legal-shell p, .legal-shell li { color: #bcb3a7; font-size: 1.05rem; line-height: 1.75; }
.legal-shell nav { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font: .72rem var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.legal-shell nav.breadcrumb { gap: .65rem; margin: 0 0 1.5rem; padding: 0; border-top: 0; font-size: .64rem; }

.thesis-progress { position: fixed; z-index: 60; top: 0; left: 0; height: 3px; width: 0; background: var(--brass); }
.thesis-shell { width: min(100% - 40px, 780px); }
.thesis-shell header { margin-bottom: 6rem; }
.thesis-shell h1 { margin: 0; font: 500 clamp(3.5rem, 8vw, 7rem)/.92 var(--serif); letter-spacing: -.05em; }
.thesis-shell h2 { margin: 6rem 0 1.7rem; font: 500 clamp(2.4rem, 5vw, 4.5rem)/1 var(--serif); letter-spacing: -.04em; }
.thesis-shell h3 { margin: 4rem 0 1.3rem; color: var(--brass); font: 500 1.7rem var(--serif); }
.thesis-shell h4 { margin: 3rem 0 1rem; font: 600 1.2rem var(--sans); }
.thesis-shell p, .thesis-shell li { color: #c4bbaf; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.82; }
.thesis-shell blockquote { margin: 3rem -3rem; padding: 2rem 3rem; border-left: 2px solid var(--oxblood); background: rgba(110,31,38,.12); }
.thesis-shell blockquote p { color: var(--ivory); font-size: 1.35rem; }
.thesis-shell hr { margin: 5rem 0; border: 0; border-top: 1px solid var(--line); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 80svh; padding-top: 130px; }
  .hero-portrait { min-height: 75svh; }
  .hero-portrait img { object-position: 50% 22%; }
  .manifesto-grid, .boundary-grid, .section-heading, .section-oxblood, .hour { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid article:nth-child(2) { border-right: 0; }
  .role-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(23,20,17,.2); }
  .book-shelf { grid-template-columns: repeat(4, 300px); }
  .hour-clock { width: 340px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p { text-align: left; }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; background: rgba(9,8,7,.94); }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; padding: 24px; background: var(--archive); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .hero-copy { min-height: auto; padding: 128px 24px 70px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .hero-actions .button { max-width: 100%; padding: .8rem 1rem; font-size: .62rem; line-height: 1.3; letter-spacing: .09em; text-align: center; white-space: normal; }
  .hero-portrait { min-height: 70svh; }
  .hero-portrait figcaption { left: 12px; right: 12px; max-width: none; }
  .section { padding: 76px 24px; }
  .section h2 { font-size: clamp(2.7rem, 13vw, 4.8rem); }
  .time-mark { align-items: flex-start; flex-direction: column; }
  .role-grid { grid-template-columns: 1fr; }
  .role-grid article { min-height: 240px; border-right: 0; border-bottom: 1px solid rgba(23,20,17,.2); }
  .role-grid article:last-child { border-bottom: 0; }
  .role-grid h3 { margin-top: 2.8rem; }
  .section-oxblood blockquote { font-size: 3rem; }
  .hour-clock { width: min(100%, 310px); margin: 0 auto; }
  .source-entry { grid-template-columns: 1fr; gap: 12px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .thesis-shell blockquote { margin: 2rem 0; padding: 1.5rem; }
}

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