:root {
    --paper: #f4f0e7;
    --paper-deep: #eae3d5;
    --soft: #ece8df;
    --ink: #102927;
    --ink-deep: #091b1a;
    --jade: #176b5c;
    --jade-bright: #76b8a0;
    --brass: #b18748;
    --line: rgba(16, 41, 39, .18);
    --muted: #5e6d68;
    --white: #fffdf7;
    --display: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shell: 1200px;
    --radius: 2px;
    --section: clamp(5rem, 10vw, 9rem);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--jade); color: var(--white); }

.shell { width: min(calc(100% - 3rem), var(--shell)); margin-inline: auto; }
.shell--narrow { max-width: 940px; }
.shell--reading { max-width: 760px; }
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--line); }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: var(--paper); }
.grid { display: grid; }
.sr-only { position: absolute; 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; z-index: 1000; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(3.3rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
h3 { line-height: 1.2; }
.lede { max-width: 780px; color: var(--muted); font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.5; }
.section--ink .lede, .section--ink .prose { color: rgba(244, 240, 231, .75); }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.5rem; color: var(--jade); font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 1.75rem; height: 1px; background: currentColor; content: ''; }
.section--ink .eyebrow, .cta-panel .eyebrow { color: var(--jade-bright); }

.site-header { position: relative; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(244, 240, 231, .92); transition: box-shadow .25s, background .25s; }
.site-header.is-stuck { position: sticky; top: 0; box-shadow: 0 12px 40px rgba(16, 41, 39, .08); backdrop-filter: blur(14px); }
body.menu-open .site-header { position: fixed; z-index: 103; top: 0; right: 0; left: 0; }
.site-header__inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--ink); line-height: 1; text-decoration: none; }
.wordmark span { font-family: var(--display); font-size: 2rem; letter-spacing: -.06em; }
.wordmark small { color: var(--jade); font-size: .58rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.site-nav__link { position: relative; font-size: .88rem; font-weight: 600; text-decoration: none; }
.site-nav__link::after { position: absolute; right: 0; bottom: -.55rem; left: 0; height: 1px; background: var(--jade); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px auto; background: var(--ink); transition: transform .25s, opacity .25s; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.25rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 750; letter-spacing: .035em; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { background: var(--jade); border-color: var(--jade); transform: translateY(-2px); }
.button--small { min-height: 42px; padding: .6rem 1rem; }
.button--light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button--light:hover { border-color: var(--jade-bright); background: var(--jade-bright); color: var(--ink-deep); }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(.3rem); }
.button-row { display: flex; align-items: center; gap: 2rem; }

.hero { position: relative; min-height: calc(100svh - 87px); overflow: hidden; }
.hero::after { position: absolute; right: 0; bottom: 0; width: 34%; height: 1px; background: var(--line); content: ''; }
.hero__inner { position: relative; z-index: 2; padding-top: clamp(5rem, 10vh, 8rem); }
.hero h1 { max-width: 1080px; margin-bottom: 2rem; }
.hero h1 em { color: var(--jade); font-weight: 400; }
.hero__lede { max-width: 700px; margin-bottom: 2.3rem; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero__foot { display: grid; max-width: 760px; grid-template-columns: 120px 1fr; gap: 2rem; margin-top: clamp(4rem, 10vh, 8rem); padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--line); }
.hero__foot span { color: var(--brass); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero__foot p { margin: 0; }
.hero__orbit { position: absolute; border: 1px solid rgba(23, 107, 92, .15); border-radius: 50%; pointer-events: none; }
.hero__orbit--one { top: 5%; right: -13%; width: min(50vw, 710px); aspect-ratio: 1; }
.hero__orbit--two { top: 25%; right: -2%; width: min(25vw, 360px); aspect-ratio: 1; }

.project-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: center; }
.project-feature__content h2 { margin: .5rem 0 1.5rem; font-size: clamp(3.8rem, 7vw, 7rem); }
.project-feature__status { display: inline-block; margin-bottom: 1.5rem; padding: .35rem .7rem; border: 1px solid rgba(244, 240, 231, .3); color: var(--jade-bright); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-feature__content .button { margin-top: 1.2rem; }
.project-feature__visual { position: relative; display: grid; aspect-ratio: 1; place-items: center; border: 1px solid rgba(244, 240, 231, .18); overflow: hidden; }
.project-feature__visual::before, .project-feature__visual::after { position: absolute; background: rgba(244, 240, 231, .16); content: ''; }
.project-feature__visual::before { width: 1px; height: 100%; }
.project-feature__visual::after { width: 100%; height: 1px; }
.compass-ring { position: absolute; width: 65%; aspect-ratio: 1; border: 1px solid var(--jade-bright); border-radius: 50%; }
.compass-ring::before, .compass-ring::after { position: absolute; border: 1px solid rgba(118, 184, 160, .35); border-radius: 50%; content: ''; inset: 17%; }
.compass-ring::after { inset: 35%; }
.compass-dot { z-index: 2; width: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--brass); }
.project-feature__visual p { position: absolute; bottom: 1.5rem; left: 1.5rem; margin: 0; color: var(--jade-bright); font-size: .62rem; font-weight: 700; letter-spacing: .2em; line-height: 1.8; }

.section-heading { margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading h2 { max-width: 780px; margin: 0; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value-card { min-height: 320px; padding: 1.5rem 1.5rem 2rem 0; border-right: 1px solid var(--line); }
.value-card + .value-card { padding-left: 1.5rem; }
.value-card:last-child { border-right: 0; }
.value-card > span, .partner-card > span { color: var(--brass); font-family: var(--display); font-style: italic; }
.value-card h3 { margin-top: 5rem; font-family: var(--display); font-size: 1.75rem; font-weight: 400; }
.value-card p { color: var(--muted); }
.values-grid--dark { border-color: rgba(244, 240, 231, .18); }
.values-grid--dark .value-card { border-color: rgba(244, 240, 231, .18); }
.values-grid--dark .value-card p { color: rgba(244, 240, 231, .68); }

.update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.update-card { display: flex; min-height: 390px; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); }
.section--soft .update-card { background: var(--soft); }
.update-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.update-card__meta span { color: var(--jade); }
.update-card h3 { margin: 4rem 0 1.2rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; }
.update-card h3 a { text-decoration: none; }
.update-card p { color: var(--muted); }
.update-card .text-link { margin-top: auto; }

.section--cta { background: var(--paper-deep); }
.cta-panel { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 6rem); background: var(--jade); color: var(--white); }
.cta-panel::after { position: absolute; top: -50%; right: -6%; width: 50%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; content: ''; }
.cta-panel h2 { position: relative; z-index: 1; max-width: 800px; margin-bottom: 1.5rem; }
.cta-panel > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 650px; color: rgba(255, 255, 255, .78); font-size: 1.15rem; }
.cta-panel .button { position: relative; z-index: 1; margin-top: 1rem; }

.page-intro { padding-top: clamp(6rem, 12vw, 11rem); }
.grid--intro { grid-template-columns: .3fr 1.7fr; gap: 3rem; }
.page-intro h1 { max-width: 980px; margin-bottom: 2rem; }
.grid--story { grid-template-columns: 1fr 1.5fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.grid--story h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.prose { color: var(--muted); }
.prose--large { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.prose p + p { margin-top: 1.5rem; }
.prose .button, .prose .text-link { margin-top: 1rem; }

.project-listing { display: grid; grid-template-columns: .25fr 1fr .65fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.project-listing__number { color: var(--brass); font-family: var(--display); font-size: 2rem; font-style: italic; }
.project-listing h2 { margin: 1rem 0 1.5rem; }
.pill { display: inline-block; padding: .35rem .7rem; border: 1px solid var(--line); color: var(--jade); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 2.5rem 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.feature-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 650; }
.project-listing__mark { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); }
.project-listing__mark span { font-family: var(--display); font-size: clamp(6rem, 14vw, 11rem); font-style: italic; line-height: 1; }
.project-listing__mark small { align-self: end; margin-bottom: 1.2rem; color: var(--jade); font-size: .62rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.partner-card { min-height: 320px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-card:nth-child(even) { border-right: 0; }
.partner-card h2 { margin: 4rem 0 1.2rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.partner-card p { max-width: 520px; color: var(--muted); font-size: 1.1rem; }
.notice { display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; margin-bottom: 4rem; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.notice span { color: var(--jade); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.notice p { margin: 0; font-size: 1.1rem; }
.career-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.career-card { display: flex; min-height: 290px; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); }
.career-card h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.career-card p { max-width: 500px; color: var(--muted); }
.career-card .text-link { margin-top: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { display: flex; min-height: 300px; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); text-decoration: none; transition: background .25s, color .25s; }
.contact-card > span { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.contact-card p { max-width: 500px; margin-top: 2rem; color: var(--muted); }
.contact-card strong { margin-top: auto; font-size: .85rem; }
.contact-card:hover { background: var(--jade); color: var(--white); }
.contact-card:hover p { color: rgba(255, 255, 255, .75); }
.direct-email { padding-top: 5rem; text-align: center; }
.direct-email p { margin-bottom: .5rem; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.direct-email a { font-family: var(--display); font-size: clamp(2rem, 6vw, 5rem); text-decoration-thickness: 1px; text-underline-offset: .15em; }

.article__header { padding-block: clamp(5rem, 12vw, 10rem); border-bottom: 1px solid var(--line); }
.article__header h1 { max-width: 900px; margin: 2rem 0; }
.article__meta { display: flex; gap: 1.5rem; margin-top: 5rem; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.article__meta span { color: var(--jade); font-weight: 750; }
.back-link { font-weight: 700; text-decoration: none; }
.prose--article { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.7; }
.prose--article hr { margin-block: 3rem; border: 0; border-top: 1px solid var(--line); }
.prose--article a { color: var(--jade); }
.policy h2 { margin-bottom: 4rem; }
.policy > section { padding-block: 2rem; border-top: 1px solid var(--line); }
.policy h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
.policy p { color: var(--muted); }
.policy__updated { color: var(--brass) !important; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sitemap-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sitemap-group { min-height: 320px; padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); }
.sitemap-group h2 { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.sitemap-group ul { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.sitemap-group a { color: var(--muted); font-weight: 650; text-decoration: none; }
.sitemap-group a:hover { color: var(--jade); }
.not-found { display: grid; min-height: 70vh; place-items: center; padding-block: 5rem; }
.not-found h1 { max-width: 900px; }

.site-footer { padding-top: 6rem; background: var(--ink-deep); color: var(--paper); }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-bottom: 5rem; }
.wordmark--footer { color: var(--paper); }
.wordmark--footer small { color: var(--jade-bright); }
.site-footer__top > div > p { margin-top: 1.5rem; color: rgba(244, 240, 231, .55); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links div { display: flex; flex-direction: column; align-items: start; gap: .65rem; }
.footer-links strong { margin-bottom: .8rem; color: var(--jade-bright); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { color: rgba(244, 240, 231, .72); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.site-footer__bottom { display: flex; justify-content: space-between; padding-block: 1.4rem; border-top: 1px solid rgba(244, 240, 231, .14); color: rgba(244, 240, 231, .5); font-size: .74rem; }
.site-footer__bottom a { color: inherit; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .menu-toggle { position: relative; z-index: 102; display: block; }
    .menu-toggle[aria-expanded='true'] > span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded='true'] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .site-nav { position: fixed; z-index: 101; top: 0; right: 0; bottom: 0; left: 0; display: flex; width: 100%; min-height: 100vh; min-height: 100dvh; align-items: flex-start; flex-direction: column; justify-content: center; gap: 1rem; padding: max(7rem, env(safe-area-inset-top)) 2rem max(3rem, env(safe-area-inset-bottom)); background: var(--paper); opacity: 0; overflow-y: auto; overscroll-behavior: contain; pointer-events: none; transform: translateY(-1rem); transition: opacity .25s, transform .25s; }
    .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .site-nav__link { font-family: var(--display); font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 400; line-height: 1; }
    .site-nav .button { margin-top: 1.5rem; }
    .project-feature, .grid--story { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .value-card:nth-child(2) { border-right: 0; }
    .update-grid { grid-template-columns: 1fr; }
    .update-card { min-height: 320px; }
    .project-listing { grid-template-columns: .15fr 1fr; }
    .project-listing__mark { display: none; }
    .sitemap-groups { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --section: 4.5rem; }
    .shell { width: min(calc(100% - 2rem), var(--shell)); }
    .site-header__inner { min-height: 72px; }
    .wordmark span { font-size: 1.75rem; }
    .hero { min-height: auto; }
    .hero__inner { padding-top: 4rem; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero__orbit--one { width: 90vw; }
    .hero__orbit--two { width: 50vw; }
    .hero__foot { grid-template-columns: 1fr; gap: .8rem; margin-top: 4rem; }
    .button-row { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
    .project-feature__visual { max-width: 380px; }
    .values-grid { grid-template-columns: 1fr; }
    .value-card, .value-card + .value-card { min-height: auto; padding: 1.5rem 0 2.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
    .value-card h3 { margin-top: 2.5rem; }
    .section-heading--row { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
    .grid--intro { grid-template-columns: 1fr; gap: 1rem; }
    .page-intro h1 { font-size: clamp(3rem, 14vw, 5rem); }
    .project-listing { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .partner-grid, .career-grid, .contact-grid { grid-template-columns: 1fr; }
    .partner-card { min-height: 280px; border-right: 0; }
    .notice { grid-template-columns: 1fr; }
    .article__meta { flex-direction: column; gap: .4rem; }
    .site-footer__top { grid-template-columns: 1fr; }
    .footer-links { gap: 1rem; }
    .site-footer__bottom { flex-direction: column; gap: .5rem; }
}

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