:root {
  --bg: #f5f1e8;
  --paper: #fcfaf5;
  --ink: #1d1a16;
  --muted: #746e65;
  --line: #d7d0c4;
  --gold: #b77708;
  --gold-light: #d9a94d;
  --deep: #292118;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Aptos, 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; opacity: 1; transition: opacity 140ms ease; animation: page-arrive 180ms ease-out both; }
body.page-leaving { opacity: .84; }
@keyframes page-arrive { from { opacity: .92; } to { opacity: 1; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.rule { border-top: 1px solid var(--line); }
.kicker { margin: 0; font: 600 11px/1.2 Consolas, 'Courier New', monospace; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

.masthead { position: relative; z-index: 10; background: var(--bg); }
.mastheadRow { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-size: 16px; font-weight: 650; letter-spacing: .01em; }
.wordmark img { width: 37px; height: 37px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.nav a { padding: 4px 0 6px; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.inquiry { justify-self: end; font-size: 13px; font-weight: 700; }
.inquiry::after { content: ' ↗'; color: var(--gold); }
.menuButton { display: none; justify-self: end; border: 0; background: none; font: inherit; }

.homeHero { min-height: 680px; padding: 54px 0 44px; display: grid; grid-template-rows: auto 1fr auto; }
.heroMeta { display: flex; justify-content: space-between; align-items: start; }
.heroMeta p:last-child { width: 310px; margin: 0; color: var(--muted); font-size: 13px; }
.heroIdentity { display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: center; margin: 64px 0 72px; }
.heroMark { width: 180px; height: 180px; object-fit: contain; }
.heroIdentity .identityName { margin: 0 0 18px; color: var(--gold); font-size: 14px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.homeHero h1 { width: min(950px, 100%); margin: 0; font-family: 'Aptos Display', Aptos, 'Segoe UI', Arial, sans-serif; font-size: clamp(48px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.homeHero h1 span { color: var(--gold); }
.heroFoot { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.heroFoot a { width: max-content; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.heroFoot p { margin: 0; max-width: 500px; justify-self: end; font-size: 18px; letter-spacing: -.015em; }

.systemBand { background: var(--deep); color: white; }
.systemIntro { min-height: 160px; display: grid; grid-template-columns: 1fr 2fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.28); }
.systemIntro h2 { margin: 0; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: 34px; line-height: 1.1; letter-spacing: -.025em; font-weight: 500; }
.layerIndex { display: grid; grid-template-columns: repeat(5, 1fr); }
.layerIndex a { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 18px; border-right: 1px solid rgba(255,255,255,.28); }
.layerIndex a:first-child { border-left: 1px solid rgba(255,255,255,.28); }
.layerIndex a:hover { background: var(--gold); }
.layerIndex strong { font-size: 23px; letter-spacing: -.04em; }
.layerIndex small { color: #bfc5d8; font: 10px/1.3 Consolas, monospace; text-transform: uppercase; }

.homeStatement { padding: 120px 0 130px; }
.statementGrid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.statementGrid h2 { margin: 0; max-width: 900px; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: clamp(40px, 4.2vw, 62px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.statementGrid h2 span { color: var(--gold); }
.textColumns { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--ink); }
.textColumns p { margin: 0; max-width: 520px; font-size: 18px; letter-spacing: -.015em; }

.phaseLine { padding: 0 0 130px; }
.phaseHead { display: grid; grid-template-columns: 1fr 2fr; padding: 20px 0 44px; border-top: 1px solid var(--ink); }
.phaseHead h2 { margin: 0; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.phaseRows { border-top: 1px solid var(--line); }
.phaseRow { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.phaseRow .phaseNo { font: 52px/.9 'Aptos Display', Aptos, sans-serif; letter-spacing: -.04em; color: var(--gold); }
.phaseRow h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.phaseRow p { margin: 0; max-width: 470px; color: var(--muted); }

.pageHero { padding: 70px 0 90px; border-bottom: 1px solid var(--ink); }
.pageHeroTop { display: grid; grid-template-columns: 1fr 2fr; }
.pageHero h1 { grid-column: 2; margin: 90px 0 28px; max-width: 1050px; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: clamp(52px, 5.6vw, 82px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.pageHeroLead { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.pageHeroLead p { margin: 0; max-width: 520px; font-size: 18px; }

.contentSection { padding: 100px 0 120px; }
.splitHead { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 60px; }
.splitHead h2 { margin: 0; max-width: 850px; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: clamp(38px, 4vw, 58px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.proseGrid { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--ink); }
.proseGrid > div { min-height: 270px; padding: 24px 30px 30px 0; border-right: 1px solid var(--line); }
.proseGrid > div + div { padding-left: 30px; }
.proseGrid > div:last-child { border-right: 0; }
.proseGrid h3 { margin: 48px 0 18px; font-size: 24px; letter-spacing: -.03em; }
.proseGrid p { margin: 0; color: var(--muted); }

.dataTable { border-top: 1px solid var(--ink); }
.dataRow { min-height: 105px; display: grid; grid-template-columns: 90px 1fr 1.6fr; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); }
.dataRow > span:first-child { color: var(--gold); font: 12px Consolas, monospace; }
.dataRow h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.dataRow p { margin: 0; color: var(--muted); }
.dataRow:hover { background: var(--paper); }

.figureSection { padding: 90px 0 120px; background: var(--paper); }
.figureHead { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.figureHead h2 { margin: 0; font-size: 42px; letter-spacing: -.045em; }
.figureHead p { margin: 0; max-width: 450px; color: var(--muted); }
.ecosystemFigure { padding: 30px; border: 1px solid var(--line); background: white; }
.ecosystemFigure img { width: min(100%, 930px); margin: auto; }
.figureCaption { display: flex; justify-content: space-between; margin-top: 14px; font: 10px Consolas, monospace; color: var(--muted); text-transform: uppercase; }

.libraryList { border-top: 1px solid var(--ink); }
.documentRow { min-height: 118px; display: grid; grid-template-columns: 110px 1.3fr 1fr 50px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); }
.documentRow:hover { color: var(--gold); }
.documentRow span { font: 11px Consolas, monospace; color: var(--muted); }
.documentRow strong { font-size: 23px; letter-spacing: -.03em; }
.documentRow p { margin: 0; color: var(--muted); }
.documentRow b { justify-self: end; font-size: 21px; font-weight: 400; }

.contactNote { display: grid; grid-template-columns: 1fr 2fr; padding: 90px 0; border-top: 1px solid var(--ink); }
.contactNote h2 { margin: 0 0 24px; font-size: 44px; line-height: 1; letter-spacing: -.045em; }
.contactNote p { max-width: 560px; color: var(--muted); }
.missionEditorialHero { padding: 92px 0 104px; border-bottom: 1px solid var(--ink); }
.missionEditorialHero h1 { max-width: 900px; margin: 34px 0 36px; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: clamp(42px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; }
.missionIntro { max-width: 820px; margin: 0; font-size: 20px; line-height: 1.6; letter-spacing: -.012em; }
.missionStatusLine { max-width: 820px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.missionArticle { padding: 96px 0 112px; }
.missionArticle article { max-width: 820px; }
.missionArticle article + article { margin-top: 74px; padding-top: 70px; border-top: 1px solid var(--line); }
.missionArticle h2 { margin: 0 0 24px; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; }
.missionArticle p { margin: 0; font-size: 18px; line-height: 1.72; letter-spacing: -.008em; }
.missionArticle p + p { margin-top: 22px; }
.missionArticle .missionRuleNote { color: var(--muted); font-size: 13px; }
.missionSources { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
.missionSources span { flex-basis: 100%; }
.missionSources a { border-bottom: 1px solid var(--ink); }
.missionSources a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.aboutHero, .leadershipSection { width: min(1500px, calc(100% - 40px)); }
.aboutHero { padding-bottom: 48px; }
.aboutHero .pageHeroTop { display: block; }
.aboutHero h1 { margin-top: 24px; font-size: clamp(44px, 4.2vw, 62px); }
.aboutHero .pageHeroLead { display: block; }
.aboutHero .pageHeroLead p { max-width: 1240px; font-size: 17px; }
.leadershipSection { padding: 42px 0 88px; }
.leadershipList { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.leaderRow { min-width: 0; min-height: 174px; padding: 22px 10px; display: grid; place-items: center; align-content: center; row-gap: 18px; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.leaderPhoto { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; }
.avatarIcon { position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; background: var(--line); }
.avatarIcon::before { content: ''; position: absolute; top: 10px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); }
.avatarIcon::after { content: ''; position: absolute; left: 10px; bottom: 6px; width: 28px; height: 18px; border-radius: 18px 18px 0 0; background: var(--muted); }
.leaderInfo { width: 100%; min-width: 0; display: grid; justify-items: center; row-gap: 6px; padding: 0; text-align: center; }
.leaderInfo h3, .leaderInfo .leaderTitle { width: 100%; margin-inline: auto; text-align: center; }
.leaderRow h3 { margin-block: 0; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: 18px; line-height: 1.15; letter-spacing: -.025em; font-weight: 550; }
.leaderTitle { margin-block: 0; max-width: none; white-space: nowrap; font-size: clamp(10px, .72vw, 11px); letter-spacing: -.025em; font-weight: 650; line-height: 1.25; }

.footer { background: var(--deep); color: white; }
.footerMain { min-height: 220px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 50px 0; }
.footerNav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; align-content: start; font-size: 13px; }
.footerLegal { margin: 0; color: #999; font-size: 11px; line-height: 1.6; }
.footerBase { min-height: 70px; display: flex; justify-content: flex-start; align-items: center; border-top: 1px solid #464646; color: #999; font: 400 12px/1.4 Aptos, 'Segoe UI', Arial, sans-serif; letter-spacing: 0; text-transform: none; }

@media (max-width: 1180px) {
  .leadershipList { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leaderTitle { font-size: 11px; }
}

@media (max-width: 980px) {
  .wrap { width: min(100% - 40px, 760px); }
  .mastheadRow { grid-template-columns: 1fr auto; }
  .nav, .inquiry { display: none; }
  .menuButton { display: block; }
  .homeHero { min-height: 620px; }
  .heroIdentity { grid-template-columns: 120px 1fr; }
  .heroMark { width: 120px; height: 120px; }
  .heroMeta p:last-child { display: none; }
  .heroFoot, .systemIntro, .statementGrid, .phaseHead, .pageHeroTop, .splitHead, .contactNote { grid-template-columns: 1fr; }
  .heroFoot p { margin-top: 45px; justify-self: start; }
  .layerIndex { grid-template-columns: repeat(3, 1fr); }
  .statementGrid h2, .textColumns, .pageHero h1, .pageHeroLead { grid-column: 1; }
  .textColumns { grid-template-columns: 1fr; }
  .phaseRow { grid-template-columns: 80px 1fr; }
  .phaseRow p { grid-column: 2; }
  .pageHeroLead { grid-template-columns: 1fr; }
  .proseGrid { grid-template-columns: 1fr; }
  .proseGrid > div, .proseGrid > div + div { min-height: 0; padding: 30px 0 50px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proseGrid h3 { margin-top: 28px; }
  .dataRow { grid-template-columns: 55px 1fr; padding: 24px 0; }
  .dataRow p { grid-column: 2; }
  .documentRow { grid-template-columns: 70px 1fr 30px; padding: 22px 0; }
  .documentRow p { grid-column: 2; }
  .documentRow b { grid-column: 3; grid-row: 1; }
  .leadershipList { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footerMain { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .homeHero { padding-top: 38px; }
  .homeHero h1 { width: 100%; margin: 58px 0 65px; font-size: 49px; }
  .heroIdentity { grid-template-columns: 1fr; gap: 24px; margin: 48px 0 58px; }
  .heroMark { width: 105px; height: 105px; }
  .homeHero h1 { margin: 0; }
  .heroFoot p { font-size: 16px; }
  .layerIndex { grid-template-columns: 1fr 1fr; }
  .layerIndex a { min-height: 135px; }
  .homeStatement { padding-block: 85px; }
  .statementGrid h2 { font-size: 40px; }
  .textColumns p { font-size: 16px; }
  .phaseRow { grid-template-columns: 55px 1fr; }
  .pageHero { padding-block: 48px 70px; }
  .pageHero h1 { margin-top: 60px; font-size: 54px; }
  .missionEditorialHero { padding-block: 64px 72px; }
  .missionEditorialHero h1 { font-size: 42px; }
  .missionIntro, .missionArticle p { font-size: 16px; }
  .missionArticle { padding-block: 72px 84px; }
  .missionArticle article + article { margin-top: 54px; padding-top: 50px; }
  .contentSection { padding-block: 80px; }
  .figureHead { display: block; }
  .figureHead p { margin-top: 20px; }
  .ecosystemFigure { padding: 10px; }
  .documentRow { grid-template-columns: 50px 1fr 25px; }
  .documentRow strong { font-size: 19px; }
  .leadershipSection { padding: 42px 0 68px; }
  .leadershipList { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .aboutHero h1 { margin-top: 48px; font-size: 44px; }
  .leaderRow { min-height: 156px; padding: 18px 10px; }
  .footerBase { align-items: flex-start; gap: 12px; flex-direction: column; padding-block: 20px; }
}

@media (max-width: 420px) {
  .leadershipList { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } body { animation: none; transition: none; } }
