:root {
  --ink: #0b1218;
  --ink-soft: #111b22;
  --graphite: #1b2024;
  --paper: #f6f2e9;
  --stone: #dfdad1;
  --stone-deep: #cbc5ba;
  --silver: #b7b3a8;
  --steel: #727b83;
  --paper-line: rgba(11,18,24,.17);
  --dark-line: rgba(246,242,233,.18);
  --muted: rgba(11,18,24,.66);
  --muted-light: rgba(246,242,233,.64);
  --shell: min(1440px, calc(100% - clamp(42px, 7vw, 120px)));
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--paper); color: var(--graphite); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--silver); color: var(--ink); }
section[id] { scroll-margin-top: 84px; }

.sr-only { position: absolute !important; 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; left: 16px; top: 12px; z-index: 1000; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: 10px 14px; text-decoration: none; border: 1px solid var(--ink); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid #8da0ae; outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--paper); border-bottom: 1px solid transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease); }
.site-header.is-solid { background: rgba(11,18,24,.95); border-bottom-color: var(--dark-line); backdrop-filter: blur(14px); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-grid; place-items: center; text-decoration: none; }
.brand-monogram { width: 54px; height: 54px; background: rgba(246,242,233,.97); border: 1px solid rgba(246,242,233,.90); transition: background-color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.brand-monogram:hover { transform: translateY(-1px); background: var(--paper); }
.brand-monogram img { width: 46px; height: 46px; }
.site-header.is-solid .brand-monogram { background: var(--paper); border-color: var(--paper); }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.primary-nav a, .back-link { position: relative; text-decoration: none; color: rgba(246,242,233,.68); font-size: 10px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; transition: color .2s ease; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.is-active, .back-link:hover { color: var(--paper); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-active::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; padding: 10px; background: transparent; color: inherit; }
.menu-toggle span[aria-hidden] { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span[aria-hidden]:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span[aria-hidden]:last-of-type { transform: translateY(-4px) rotate(-45deg); }

.hero { position: relative; min-height: max(760px, 100svh); overflow: hidden; background: var(--ink); color: var(--paper); isolation: isolate; }
.hero-image { position: absolute; z-index: -3; inset: 0; margin: 0; }
.hero-image picture, .hero-image img { width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: center 49%; filter: grayscale(1) contrast(1.12) brightness(.82); transform: scale(1.012); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(6,12,17,.97) 0%, rgba(6,12,17,.89) 22%, rgba(6,12,17,.60) 42%, rgba(6,12,17,.23) 65%, rgba(6,12,17,.06) 100%), linear-gradient(180deg, rgba(6,12,17,.27) 0%, transparent 30%, transparent 64%, rgba(6,12,17,.50) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; box-shadow: inset 0 110px 150px rgba(6,12,17,.24), inset 0 -160px 180px rgba(6,12,17,.43); pointer-events: none; }
.hero-content { min-height: max(760px, 100svh); display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(18px,2vw,32px); align-items: end; padding-top: 150px; padding-bottom: clamp(118px,13vh,150px); }
.hero-copy { position: relative; z-index: 1; grid-column: 1 / span 8; max-width: 910px; text-shadow: 0 2px 34px rgba(0,0,0,.26); }
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -70px -130px -70px -60px; background: radial-gradient(ellipse at 22% 48%, rgba(6,12,17,.70) 0%, rgba(6,12,17,.44) 45%, rgba(6,12,17,0) 74%); pointer-events: none; }
.hero-label { display: grid; grid-template-columns: 45px auto; gap: 18px; align-items: center; margin-bottom: clamp(38px,5vh,58px); color: rgba(246,242,233,.56); font-size: 9px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; }
.hero-label span:first-child { color: var(--silver); }
.hero-label span:last-child { display: flex; align-items: center; gap: 18px; }
.hero-label span:last-child::before { content: ""; width: 56px; height: 1px; background: rgba(246,242,233,.58); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.038em; }
.hero h1 { margin: 0; max-width: 12ch; font-size: clamp(4rem,6.4vw,7.25rem); line-height: .93; text-wrap: balance; }
.hero-lead { max-width: 590px; margin: 34px 0 0; color: rgba(246,242,233,.76); font-size: clamp(1.02rem,1.2vw,1.2rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 44px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid currentColor; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; text-decoration: none; transition: background-color .25s ease, color .25s ease; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { background: transparent; color: var(--paper); }
.text-link { color: rgba(246,242,233,.82); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(246,242,233,.36); padding-bottom: 5px; }
.text-link span { margin-left: 8px; }
.hero-meta { position: absolute; left: 50%; bottom: 27px; transform: translateX(-50%); display: flex; justify-content: space-between; color: rgba(246,242,233,.45); font-size: 8px; font-weight: 650; letter-spacing: .21em; text-transform: uppercase; }
.hero-meta span:last-child { text-align: right; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 38px; transform: translateX(-50%); color: rgba(246,242,233,.56); }
.scroll-cue span { position: absolute; left: 50%; top: 0; width: 1px; height: 30px; background: currentColor; animation: cue 2.2s var(--ease) infinite; }
.scroll-cue span::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(6px); opacity: .9; } }

.section { padding-block: clamp(110px,12vw,190px); }
.section-paper { background: var(--paper); }
.section-stone { background: var(--stone); }
.section-ink { background: var(--ink); color: var(--paper); }
.chapter-heading { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: end; margin-bottom: clamp(84px,9vw,138px); }
.chapter-id { grid-column: 1 / span 2; display: grid; grid-template-columns: 35px auto; gap: 14px; align-items: center; align-self: start; padding-top: 14px; color: var(--steel); font-size: 9px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.chapter-id span:first-child { color: var(--graphite); }
.chapter-id span:last-child { display: flex; align-items: center; gap: 14px; }
.chapter-id span:last-child::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.chapter-heading h2 { grid-column: 3 / span 7; margin: 0; font-size: clamp(3.4rem,5.7vw,6.5rem); line-height: .96; text-wrap: balance; }
.chapter-heading > p { grid-column: 10 / -1; margin: 0; color: var(--muted); max-width: 32ch; }
.chapter-heading-dark h2 { max-width: 12ch; }
.chapter-heading-dark > p { color: var(--muted-light); }
.chapter-heading-dark .chapter-id, .chapter-id-light { color: rgba(246,242,233,.55); }
.chapter-heading-dark .chapter-id span:first-child, .chapter-id-light span:first-child { color: var(--silver); }

.platform-stream { border-top: 1px solid var(--paper-line); }
.platform-row { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: baseline; padding-block: clamp(38px,4.4vw,66px); border-bottom: 1px solid var(--paper-line); overflow: hidden; }
.platform-row::before { content: ""; position: absolute; inset: 0 100% 0 0; background: rgba(11,18,24,.035); transition: right .55s var(--ease); }
.platform-row:hover::before { right: 0; }
.platform-row > * { position: relative; z-index: 1; }
.row-number { grid-column: 1 / span 2; margin: 0; color: var(--steel); font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.platform-row h3 { grid-column: 3 / span 3; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem,4vw,4.8rem); font-weight: 400; line-height: 1; letter-spacing: -.03em; transition: transform .4s var(--ease); }
.platform-row:hover h3 { transform: translateX(8px); }
.platform-row > p:nth-of-type(2) { grid-column: 7 / span 5; margin: 0; max-width: 660px; color: var(--muted); font-size: clamp(1rem,1.22vw,1.16rem); }
.row-mark { grid-column: 12; justify-self: end; color: var(--steel); font-size: 17px; }

.approach-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--dark-line); }
.approach-thesis { grid-column: 1 / span 5; align-self: start; position: sticky; top: 134px; padding-top: 38px; }
.thesis-kicker { margin: 0 0 28px; color: var(--silver); font-size: 9px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.thesis-copy { margin: 0; max-width: 10ch; font-family: var(--serif); font-size: clamp(2.6rem,4.3vw,5rem); line-height: 1.02; letter-spacing: -.035em; }
.principles { grid-column: 7 / -1; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--dark-line); }
.principles li { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 34px 0 39px 32px; border-bottom: 1px solid var(--dark-line); transition: background-color .25s ease, padding-left .35s var(--ease); }
.principles li:hover { background: rgba(246,242,233,.035); padding-left: 40px; }
.principles li > span { color: var(--silver); font-size: 9px; letter-spacing: .17em; padding-top: 9px; }
.principles h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.8rem,2.35vw,2.7rem); font-weight: 400; line-height: 1.08; }
.principles p { margin: 0; color: var(--muted-light); }

.focus-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
.focus-copy { grid-column: 3 / span 6; }
.focus-copy > p:first-child { margin: 0; max-width: 27ch; font-family: var(--serif); font-size: clamp(1.75rem,2.55vw,2.85rem); line-height: 1.35; letter-spacing: -.02em; }
.focus-copy .quiet { margin: 32px 0 0; max-width: 63ch; color: var(--muted); font-size: .95rem; }
.focus-perimeter { grid-column: 10 / -1; margin: 0; border-top: 1px solid var(--paper-line); }
.focus-perimeter div { padding: 23px 0 25px; border-bottom: 1px solid var(--paper-line); }
.focus-perimeter dt { margin-bottom: 8px; color: var(--steel); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.focus-perimeter dd { margin: 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; }
.status-line { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 24px; margin-top: clamp(90px,10vw,150px); padding-top: 23px; border-top: 1px solid var(--paper-line); color: var(--steel); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.status-line span:nth-child(2) { text-align: center; }
.status-line span:last-child { text-align: right; }

.contact { border-bottom: 1px solid var(--dark-line); }
.contact-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: end; }
.contact-heading { grid-column: 1 / span 8; }
.contact-heading .chapter-id { margin-bottom: 64px; }
.contact h2 { margin: 0; max-width: 10.5ch; font-size: clamp(3.8rem,6vw,7rem); line-height: .95; }
.contact-direct { grid-column: 9 / -1; padding-bottom: 8px; }
.contact-direct p { margin: 0 0 34px; color: var(--muted-light); }
.contact-direct a { display: inline-flex; align-items: baseline; gap: 12px; color: var(--paper); font-family: var(--serif); font-size: clamp(1.35rem,1.9vw,2rem); text-decoration: none; border-bottom: 1px solid rgba(246,242,233,.36); padding-bottom: 6px; }
.contact-direct a span { font-family: var(--sans); font-size: .8em; }

.site-footer { background: var(--ink); color: rgba(246,242,233,.55); padding-block: 52px; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: var(--paper); font-size: 10px; font-weight: 650; letter-spacing: .21em; }
.footer-brand img { width: 34px; height: 34px; }
.site-footer p { margin: 0 0 6px; font-size: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 7px; }
.site-footer nav a { font-size: 10px; text-decoration: none; }
.site-footer nav a:hover { color: var(--paper); }
.copyright { text-align: right; }

/* Legal pages */
.legal-page { background: var(--paper); }
.legal-main { padding: 180px 0 130px; min-height: 75vh; }
.legal-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
.legal-layout > div:first-child { grid-column: 1 / span 4; }
.eyebrow { margin: 0 0 28px; color: var(--silver); font-size: 9px; font-weight: 700; letter-spacing: .20em; text-transform: uppercase; }
.eyebrow::after { content: ""; display: block; width: 54px; height: 1px; margin-top: 18px; background: currentColor; opacity: .72; }
.eyebrow-dark { color: var(--steel); }
.legal-layout h1 { margin: 0; font-size: clamp(3.2rem,5.8vw,6.2rem); line-height: .98; }
.legal-content { grid-column: 6 / -1; }
.legal-content section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--paper-line); }
.legal-content h2 { margin: 0 0 18px; font-family: var(--sans); font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.legal-content p { margin: 0 0 12px; color: var(--muted); max-width: 75ch; }
.legal-content a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.quiet { color: var(--muted); }
.not-found { min-height: 100vh; background: var(--ink); color: var(--paper); }
.not-found main { min-height: 100vh; display: grid; place-items: center; padding: 32px; }
.not-found-inner { max-width: 700px; text-align: center; }
.not-found-inner img { margin: 0 auto 42px; }
.not-found h1 { font-size: clamp(3rem,7vw,6.5rem); margin: 0 0 22px; }
.not-found p:not(.eyebrow) { color: var(--muted-light); margin-bottom: 36px; }
.not-found .button { margin-inline: auto; }

.reveal { opacity: 1; transform: none; }
.hero-copy { animation: hero-enter .72s var(--ease) both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .header-inner { height: 76px; }
  .site-header { background: rgba(11,18,24,.94); border-bottom-color: var(--dark-line); }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 76px; left: 0; right: 0; display: grid; gap: 0; padding: 8px clamp(22px,6vw,64px) 26px; background: rgba(11,18,24,.985); border-bottom: 1px solid var(--dark-line); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .primary-nav a { padding: 17px 0; border-bottom: 1px solid var(--dark-line); }
  .primary-nav a::after { display: none; }
  .hero-content { padding-top: 130px; }
  .hero-copy { grid-column: 1 / span 8; }
  .chapter-id { grid-column: 1 / span 3; }
  .chapter-heading h2 { grid-column: 4 / -1; }
  .chapter-heading > p { grid-column: 4 / span 7; margin-top: 24px; }
  .approach-thesis { grid-column: 1 / span 5; }
  .principles { grid-column: 6 / -1; }
  .focus-copy { grid-column: 3 / span 7; }
  .focus-perimeter { grid-column: 10 / -1; }
  .contact-heading { grid-column: 1 / span 8; }
  .contact-direct { grid-column: 9 / -1; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 40px); }
  .brand-monogram { width: 48px; height: 48px; }
  .brand-monogram img { width: 41px; height: 41px; }
  .hero { min-height: 860px; }
  .hero-image img { object-position: center 44%; filter: grayscale(1) contrast(1.1) brightness(.62); }
  .hero-shade { background: linear-gradient(180deg, rgba(6,12,17,.60) 0%, rgba(6,12,17,.42) 23%, rgba(6,12,17,.48) 46%, rgba(6,12,17,.91) 76%, rgba(6,12,17,.99) 100%), linear-gradient(90deg, rgba(6,12,17,.72), rgba(6,12,17,.08)); }
  .hero-content { min-height: 860px; display: block; padding-top: 126px; padding-bottom: 106px; }
  .hero-copy { max-width: none; text-shadow: 0 2px 28px rgba(0,0,0,.34); }
  .hero-copy::before { display: none; }
  .hero-label { grid-template-columns: 32px auto; gap: 10px; margin-bottom: 30px; font-size: 8px; }
  .hero-label span:last-child { gap: 11px; }
  .hero-label span:last-child::before { width: 28px; }
  .hero h1 { max-width: 9.4ch; font-size: clamp(3.35rem,14.3vw,4.55rem); line-height: .94; }
  .hero-lead { max-width: 32ch; margin-top: 28px; font-size: .98rem; line-height: 1.58; }
  .hero-actions { flex-wrap: wrap; gap: 23px; margin-top: 36px; }
  .button { min-height: 48px; }
  .hero-meta { bottom: 19px; font-size: 7px; }
  .hero-meta span:last-child { display: none; }
  .scroll-cue { display: none; }
  .section { padding-block: 92px; }
  .chapter-heading { display: block; margin-bottom: 62px; }
  .chapter-id { display: grid; width: max-content; margin-bottom: 38px; padding-top: 0; }
  .chapter-heading h2 { font-size: clamp(3.05rem,12.8vw,4.5rem); line-height: .97; }
  .chapter-heading > p { margin-top: 26px; max-width: 34ch; }
  .platform-row { grid-template-columns: 42px 1fr 24px; gap: 13px 17px; align-items: start; padding-block: 34px; }
  .row-number { grid-column: 1; grid-row: 1 / span 2; padding-top: 10px; }
  .platform-row h3 { grid-column: 2; font-size: clamp(2.65rem,12vw,4rem); }
  .platform-row > p:nth-of-type(2) { grid-column: 2 / -1; margin-top: 6px; }
  .row-mark { grid-column: 3; grid-row: 1; padding-top: 7px; }
  .approach-layout { display: block; }
  .approach-thesis { position: static; padding: 34px 0 64px; border-bottom: 1px solid var(--dark-line); }
  .thesis-copy { max-width: 11ch; font-size: clamp(2.7rem,12.2vw,4rem); }
  .principles { border-left: 0; }
  .principles li { grid-template-columns: 42px 1fr; padding: 29px 0 33px; }
  .principles li:hover { padding-left: 0; }
  .focus-grid { display: block; }
  .focus-copy { margin-bottom: 65px; }
  .focus-copy > p:first-child { font-size: clamp(1.7rem,7.8vw,2.3rem); }
  .focus-perimeter { margin: 0; }
  .status-line { grid-template-columns: 1fr auto; gap: 18px; margin-top: 74px; }
  .status-line span:nth-child(2) { display: none; }
  .status-line span:last-child { text-align: right; }
  .contact-layout { display: block; }
  .contact-heading .chapter-id { margin-bottom: 45px; }
  .contact h2 { max-width: 11ch; font-size: clamp(3.3rem,13vw,4.8rem); }
  .contact-direct { margin-top: 64px; }
  .contact-direct a { font-size: clamp(1.3rem,6vw,1.8rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .copyright { text-align: left; }
  .legal-main { padding-top: 138px; }
  .legal-layout { display: block; }
  .legal-layout > div:first-child { margin-bottom: 68px; }
  .legal-layout h1 { font-size: clamp(3rem,14vw,5rem); }
}

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