:root {
  --paper: #f5efe3;
  --paper-soft: #fff9f0;
  --paper-deep: #eadfce;
  --ink: #29343a;
  --plum: #232633;
  --purple: #67518d;
  --purple-soft: #e9e1f0;
  --muted: #706a63;
  --rule: #b8aa98;
  --rule-soft: rgba(112, 106, 99, 0.24);
  --red: #b7443b;
  --amber: #976116;
  --sage: #52725f;
  --blue: #587b91;
  --rose: #96616a;
  --display: "Spectral", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --content: 1180px;
  --shadow: 0 24px 70px rgba(35, 38, 51, 0.09);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@view-transition { navigation: auto; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.62; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
::selection { background: var(--purple); color: var(--paper-soft); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--plum); color: var(--paper-soft); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--purple); font: 500 .71rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 32px; height: 1px; margin: 0 12px 4px 0; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.03; text-wrap: balance; }
h1 { font-size: clamp(3.05rem, 7vw, 6.9rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.3rem, 4.7vw, 4.6rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); letter-spacing: -.025em; }
p { margin: 0 0 1.15em; }
.lede { max-width: 730px; font-size: clamp(1.17rem, 2vw, 1.5rem); line-height: 1.48; color: var(--muted); }
.small { color: var(--muted); font-size: .9rem; }
.display-italic { font-style: italic; color: var(--purple); }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--rule-soft); background: rgba(245, 239, 227, .94); backdrop-filter: blur(14px); }
.site-header { view-transition-name: site-header; }
main { view-transition-name: page-content; }
.site-footer { view-transition-name: site-footer; }
main:focus { outline: none; }
.navigation-status { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-navigating, .is-navigating * { cursor: progress !important; }
::view-transition-old(site-header), ::view-transition-new(site-header),
::view-transition-old(site-footer), ::view-transition-new(site-footer) { animation: none; }
::view-transition-old(page-content) { animation: page-out 150ms ease both; }
::view-transition-new(page-content) { animation: page-in 260ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 1.35rem/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 31px; height: 31px; object-fit: contain; }
.brand span { transform: translateY(-1px); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav[hidden] { display: flex; }
.site-nav a { position: relative; text-decoration: none; font-size: .88rem; font-weight: 600; }
.site-nav a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--purple); transform: scaleX(0); transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button { display: none; width: 46px; height: 42px; border: 1px solid var(--rule); background: transparent; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { display: block; content: ""; width: 20px; height: 1px; margin: 5px auto; background: var(--ink); transition: transform 180ms ease, opacity 180ms ease; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--plum); background: var(--plum); color: var(--paper-soft); font: 600 .86rem/1.2 var(--body); text-decoration: none; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); background: var(--purple); border-color: var(--purple); }
.button--light { background: var(--paper-soft); color: var(--ink); border-color: var(--rule); }
.button--light:hover { color: var(--paper-soft); }
.button--text { padding-inline: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ink); }
.button--text:hover { background: transparent; color: var(--purple); }
.arrow { font-family: var(--mono); }
.hero { min-height: calc(100svh - 78px); display: grid; align-content: space-between; padding: clamp(64px, 10vw, 128px) 0 30px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 1120px; }
.hero h1 em { color: var(--purple); font-weight: 300; }
.hero-bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--rule); }
.hero-bottom .lede { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.scroll-note { margin-top: 40px; font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.section { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--rule-soft); }
.section--plum { background: var(--plum); color: var(--paper-soft); }
.section--plum .eyebrow, .section--plum .lede, .section--plum .small { color: #b8a4d2; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr); gap: clamp(30px, 8vw, 120px); align-items: end; margin-bottom: clamp(52px, 8vw, 92px); }
.section-head .lede { margin: 0 0 6px; font-size: 1.12rem; }
.story-stage { position: relative; min-height: 610px; border: 1px solid var(--rule); background: var(--paper-soft); overflow: hidden; box-shadow: var(--shadow); }
.story-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 45px, rgba(184, 170, 152, .18) 45px 46px); }
.story-svg { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.story-mobile { display: none; }
.story-copy { position: absolute; left: clamp(18px, 4vw, 54px); bottom: clamp(18px, 4vw, 46px); z-index: 2; max-width: 610px; padding: 20px 24px; background: rgba(255, 249, 240, .94); border-left: 3px solid var(--purple); }
.story-copy strong { display: block; margin-bottom: 4px; font: 400 clamp(1.35rem, 2.4vw, 2.15rem)/1.15 var(--display); }
.story-copy span { color: var(--muted); font-size: .94rem; }
.story-scene { opacity: 0; }
.story-scene.scene-1 { opacity: 1; }
.is-animated .scene-1 { animation: scene 16s linear infinite; }
.is-animated .scene-2 { animation: scene 16s 4s linear infinite; }
.is-animated .scene-3 { animation: scene 16s 8s linear infinite; }
.is-animated .scene-4 { animation: scene 16s 12s linear infinite; }
.is-animated .record-flight { animation: record-flight 4s ease-in-out infinite; }
.is-animated .pulse-ring { animation: pulse-ring 2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.is-animated.is-paused .story-scene,
.is-animated.is-paused .record-flight,
.is-animated.is-paused .pulse-ring,
.is-document-hidden .is-animated .story-scene,
.is-document-hidden .is-animated .record-flight,
.is-document-hidden .is-animated .pulse-ring { animation-play-state: paused; }
@keyframes scene { 0%, 24% { opacity: 1; } 27%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes record-flight { 0% { transform: translate(0,0); opacity: 0; } 18% { opacity: 1; } 78% { opacity: 1; } 100% { transform: translate(410px,-108px); opacity: 0; } }
@keyframes pulse-ring { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.sequence { counter-reset: stage; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sequence article { counter-increment: stage; min-height: 310px; padding: 34px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: rgba(255,249,240,.45); }
.sequence article::before { content: "0" counter(stage); display: block; margin-bottom: 70px; color: var(--purple); font: 500 .72rem/1 var(--mono); letter-spacing: .14em; }
.sequence h3 { margin-bottom: 12px; font-size: 1.8rem; }
.sequence p { margin: 0; color: var(--muted); font-size: .96rem; }
.evidence-grid { display: grid; grid-template-columns: .85fr 1.35fr; gap: clamp(34px, 8vw, 110px); align-items: center; }
.ledger { padding: 10px 0; border-top: 1px solid #555a68; }
.ledger-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid #555a68; }
.ledger time { color: #9ba1ae; font: 400 .68rem/1.4 var(--mono); }
.ledger strong { font-family: var(--display); font-size: 1.2rem; font-weight: 400; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; }
.status-dot--red { background: var(--red); }
.status-dot--amber { background: #c99037; }
.status-dot--sage { background: #7eaa91; }
.principles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.principle { padding: 40px 38px 44px 0; border-bottom: 1px solid var(--rule); }
.principle:nth-child(even) { padding-left: 38px; border-left: 1px solid var(--rule); }
.principle h3 { margin-bottom: 14px; }
.principle p { max-width: 52ch; color: var(--muted); }
.principle .mono { display: block; margin-bottom: 42px; color: var(--purple); font: 500 .68rem/1 var(--mono); letter-spacing: .16em; }
.role-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.role { position: relative; padding: 28px 24px; border: 1px solid var(--rule); border-right: 0; }
.role:last-child { border-right: 1px solid var(--rule); }
.role::after { content: "→"; position: absolute; top: 24px; right: -12px; z-index: 2; width: 24px; background: var(--paper); color: var(--purple); text-align: center; font-family: var(--mono); }
.role:last-child::after { display: none; }
.role strong { display: block; font: 400 1.35rem/1.2 var(--display); }
.role span { color: var(--muted); font-size: .9rem; }
.cta-panel { display: grid; grid-template-columns: 1.2fr auto; gap: 36px; align-items: end; padding: clamp(48px, 8vw, 90px); background: var(--purple-soft); border: 1px solid var(--rule); }
.cta-panel h2 { max-width: 850px; }
.cta-panel .button { white-space: nowrap; }
.page-hero { padding: clamp(82px, 12vw, 150px) 0 clamp(68px, 9vw, 110px); }
.page-hero h1 { max-width: 980px; }
.page-hero .lede { margin-top: 30px; }
.page-index { display: grid; grid-template-columns: 230px 1fr; gap: clamp(42px, 10vw, 140px); align-items: start; }
.toc { position: sticky; top: 112px; padding-top: 8px; }
.toc strong { display: block; margin-bottom: 20px; color: var(--purple); font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.toc a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: .92rem; }
.toc a:hover { color: var(--purple); }
.prose { max-width: 790px; }
.prose section { padding: 0 0 64px; margin: 0 0 64px; border-bottom: 1px solid var(--rule); }
.prose h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3.35rem); }
.prose h3 { margin: 36px 0 12px; font-size: 1.55rem; }
.prose p, .prose li { color: #4c5355; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 12px; }
.legal-note { margin: 0 0 40px; padding: 18px 22px; border-left: 3px solid var(--amber); background: rgba(151,97,22,.08); font-size: .92rem; }
.journey { position: relative; margin-left: 22px; padding-left: 56px; border-left: 1px solid var(--rule); }
.journey-step { position: relative; padding: 0 0 80px; }
.journey-step:last-child { padding-bottom: 0; }
.journey-number { position: absolute; top: -5px; left: -78px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--purple); border-radius: 50%; background: var(--paper); color: var(--purple); font: 500 .7rem/1 var(--mono); }
.journey-step h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.4rem); }
.journey-step p { max-width: 690px; color: var(--muted); }
.example-record { display: grid; grid-template-columns: 150px 1fr; margin-top: 28px; border-top: 1px solid var(--rule); }
.example-record div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.example-record div:nth-child(odd) { color: var(--purple); font: 500 .68rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.film-shell { background: var(--plum); }
.film-intro { color: var(--paper-soft); }
.film-intro .lede { color: #b9b5c1; }
.film-frame-wrap { position: relative; width: min(100%, 1600px); margin: 0 auto; background: var(--plum); border-top: 1px solid #555a68; border-bottom: 1px solid #555a68; }
.film-frame-wrap::before { display: block; padding-top: 62%; content: ""; }
.film-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-controls { display: flex; min-height: 63px; align-items: center; gap: clamp(8px, 2vw, 16px); width: 100%; padding: clamp(9px, 1.6vw, 14px) clamp(10px, 2vw, 18px); border-top: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 400 clamp(10px, 1.5vw, 12px)/1.2 var(--mono); letter-spacing: .1em; }
.film-controls button { flex: none; min-height: 44px; padding: 7px clamp(10px, 2vw, 16px); border: 1px solid var(--muted); border-radius: 3px; background: transparent; color: var(--ink); font: inherit; letter-spacing: inherit; cursor: pointer; }
.film-controls input[type="range"] { flex: 1; min-width: 0; accent-color: var(--purple); }
.film-controls span { min-width: clamp(72px, 14vw, 96px); color: var(--muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.transcript { column-count: 2; column-gap: 70px; }
.transcript p { break-inside: avoid; padding: 14px 0; margin: 0; border-top: 1px solid var(--rule); }
.transcript time { display: block; margin-bottom: 5px; color: var(--purple); font: 500 .68rem/1 var(--mono); }
.site-footer { padding: 64px 0 30px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 50px; align-items: start; }
.footer-mark { max-width: 430px; }
.footer-mark .brand { margin-bottom: 18px; }
.footer-mark p { color: var(--muted); font-family: var(--display); font-size: 1.25rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 34px; }
.footer-nav a, .footer-contact a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--purple); }
.footer-contact strong { display: block; margin-bottom: 10px; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--rule-soft); color: var(--muted); font: 400 .68rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.not-found { min-height: calc(100svh - 78px); display: grid; place-items: center; padding: 70px 0; }
.not-found-inner { position: relative; width: 100%; }
.error-code { color: var(--paper-deep); font: 300 clamp(9rem, 30vw, 26rem)/.75 var(--display); letter-spacing: -.08em; }
.not-found-copy { position: relative; z-index: 1; max-width: 670px; margin: -4vw 0 0 auto; padding: 34px; background: var(--paper-soft); border-left: 3px solid var(--purple); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .sequence { grid-template-columns: 1fr 1fr; }
  .role-flow { grid-template-columns: 1fr 1fr; }
  .role:nth-child(2) { border-right: 1px solid var(--rule); }
  .role:nth-child(2)::after { display: none; }
  .role:nth-child(3), .role:nth-child(4) { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 879px) {
  body { font-size: 17px; }
  .site-header { backdrop-filter: none; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 78px; right: 0; left: 0; display: grid; padding: 24px 20px 30px; border-bottom: 1px solid var(--rule); background: var(--paper-soft); }
  .site-nav[hidden] { display: none; }
  .site-nav a { padding: 7px 0; font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
  .site-nav .button { margin-top: 8px; font-family: var(--body); font-size: .9rem; }
  .hero-bottom, .section-head, .evidence-grid, .cta-panel { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .section-head { align-items: start; }
  .story-stage { min-height: auto; }
  .story-copy { right: 18px; }
  .page-index { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
  .toc strong { width: 100%; }
  .toc a { padding: 2px 0; }
  .transcript { column-count: 1; }
}
@media (max-width: 640px) {
  .shell, .narrow { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero { min-height: calc(100svh - 70px); padding-top: 56px; }
  .hero-bottom { margin-top: 46px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 42px; }
  .story-svg, .story-copy { display: none; }
  .story-stage { min-height: 0; padding: 8px 18px; }
  .story-mobile { position: relative; z-index: 1; display: block; margin: 0; padding: 0; list-style: none; }
  .story-mobile-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--rule); }
  .story-mobile-step:first-child { border-top: 0; }
  .story-mobile-step > span { padding-top: 4px; color: var(--purple); font: 500 .7rem/1.3 var(--mono); }
  .story-mobile-step strong { display: block; font: 400 1.28rem/1.2 var(--display); }
  .story-mobile-step p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
  .sequence, .principles, .role-flow { grid-template-columns: 1fr; }
  .sequence article { min-height: auto; }
  .sequence article::before { margin-bottom: 42px; }
  .principle, .principle:nth-child(even) { padding: 32px 0; border-left: 0; }
  .role { border-right: 1px solid var(--rule); border-bottom: 0; }
  .role:last-child { border-bottom: 1px solid var(--rule); }
  .role::after, .role:nth-child(2)::after { top: auto; right: auto; bottom: -14px; left: 22px; display: block; transform: rotate(90deg); }
  .role:last-child::after { display: none; }
  .cta-panel { padding: 36px 24px; }
  .cta-panel .button { width: 100%; white-space: normal; }
  .journey { margin-left: 10px; padding-left: 35px; }
  .journey-number { left: -57px; }
  .example-record { grid-template-columns: 1fr; }
  .example-record div:nth-child(odd) { padding-bottom: 2px; border-bottom: 0; }
  .example-record div:nth-child(even) { padding-top: 2px; }
  .film-frame-wrap::before { padding-top: calc(56.25% + 140px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .not-found-copy { margin-top: -1vw; padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .story-scene { opacity: 1; }
  .story-scene:not(.scene-4) { opacity: .26; }
  ::view-transition-old(root), ::view-transition-new(root),
  ::view-transition-old(page-content), ::view-transition-new(page-content) { animation: none !important; }
}
