:root {
  --ink: #494860;
  --ink-deep: #3b3a4f;
  --green: #2f7a62;
  --mint: #77c1a8;
  --mint-light: #9ad3bf;
  --paper: #ffffff;
  --surface: #f4f6f5;
  --line: #c9cfcd;
  --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Archivo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1, h2, h3, h4, p, figure { margin: 0; }
p { font-size: 17px; line-height: 1.65; text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
h2 { font-size: clamp(30px, 3.3vw, 46px); font-weight: 700; font-stretch: 106%; letter-spacing: -.025em; line-height: 1.12; }
h3 { font-size: clamp(23px, 2.1vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(64px, 7vw, 104px); scroll-margin-top: 96px; }
.eyebrow { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: .1em; color: var(--green); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 16px; color: white; background: var(--ink); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid #e1e5e4; backdrop-filter: blur(8px); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand, .footer-brand > a { display: inline-flex; flex-shrink: 0; }
.brand img { display: block; width: 200px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; padding: 0; margin: 0; }
.main-nav li > a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.main-nav li > a:hover { color: var(--green); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 0 22px 0 22px; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--green); color: var(--paper); }
.button-outline { border-color: var(--ink); color: var(--ink); }
.button-outline:hover { color: var(--green); border-color: var(--green); background: var(--surface); }
.nav-cta { min-height: 44px; font-size: 14px; padding-inline: 18px; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 0 14px 0 14px; padding: 8px 14px; background: white; color: var(--ink); cursor: pointer; }
.menu-icon { position: relative; display: inline-block; width: 16px; height: 10px; border-block: 1.5px solid currentColor; }
.menu-toggle[aria-expanded="true"] .menu-icon { border: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon::before, .menu-toggle[aria-expanded="true"] .menu-icon::after { content: ''; position: absolute; top: 4px; left: 0; width: 16px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 4.05vw, 58px); line-height: 1.06; font-weight: 750; font-stretch: 106%; letter-spacing: -.03em; }
.hero h1 em { color: var(--green); font-weight: 800; }
.hero-description { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; max-width: 57ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-geometry { position: relative; aspect-ratio: 643 / 550; width: 100%; max-width: 480px; margin: 0 auto; transform: rotate(-5deg); }
.geometry-leaf, .geometry-outline { position: absolute; width: 77%; height: 29%; border-radius: 33% 0 33% 0 / 100% 0 100% 0; }
.geometry-leaf { display: flex; align-items: center; padding-left: 16%; }
.geometry-leaf span { font-family: var(--mono); font-size: clamp(10px, .85vw, 12px); font-weight: 500; letter-spacing: .06em; }
.leaf-one { left: 15%; top: 6%; background: var(--mint); color: #23222f; border-radius: 0 33% 0 33% / 0 100% 0 100%; }
.leaf-two { left: 23%; top: 38%; background: var(--ink); color: white; }
.leaf-three { left: 0; top: 70%; background: var(--ink-deep); color: white; }
.geometry-outline { border: 1.5px solid var(--line); }
.outline-top { top: 0; left: 4%; border-color: var(--mint); border-radius: 0 33% 0 33% / 0 100% 0 100%; }
.outline-bottom { top: 77%; left: 29%; }
.credentials { background: var(--surface); }
.credentials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 32px; }
.credentials-grid > div { display: flex; flex-direction: column; gap: 10px; }
.credential-title { font-size: 22px; line-height: 1.25; font-weight: 600; }
.credentials p:not(.credential-title) { font-size: 15px; line-height: 1.55; }
.section-heading { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; max-width: 800px; }
.section-heading > div { display: flex; flex-direction: column; gap: 16px; }
.section-heading > p:not(.eyebrow) { max-width: 60ch; }
.heading-split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; }
.budget { background: var(--ink-deep); color: var(--paper); }
.budget .eyebrow { color: var(--mint-light); }
.budget-heading { margin-bottom: 48px; }
.budget-heading h2 em { color: var(--mint-light); font-style: normal; }
.budget-heading > p { color: #e4e3ec; }
.budget-flow-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.3); }
.budget-flow-heading h3 { font-size: 24px; }
.budget-flow-heading p { font-size: 15px; color: #e4e3ec; }
.budget-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 32px 0 0; padding: 0; }
.budget-flow > li { position: relative; display: flex; flex-direction: column; gap: 24px; }
.budget-flow > li:not(:last-child)::before { content: ''; position: absolute; top: 19px; left: 0; width: calc(100% + 24px); height: 1px; background: rgba(154,211,191,.5); }
.budget-step { position: relative; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 42px; height: 38px; border-radius: 0 16px 0 16px; background: var(--mint-light); color: var(--ink-deep); font: 14px var(--mono); }
.budget-flow > li > div { display: flex; flex-direction: column; gap: 14px; }
.budget-flow h4 { font-size: 21px; font-weight: 600; line-height: 1.25; text-wrap: pretty; }
.budget-flow p { font-size: 15px; color: #e4e3ec; }
.budget-insight { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.3); }
.budget-insight > div { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.budget-insight-title { font-size: 24px; font-weight: 500; line-height: 1.4; }
.budget .text-link { color: var(--mint-light); }
.budget .text-link:hover { color: white; }
.budget :focus-visible { outline-color: var(--mint-light); }
.solutions-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.solution-card { padding-block: 30px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.solution-budget { padding-inline: 24px; border-top: 2px solid var(--green); background: var(--surface); }
.solution-card h3 { max-width: 28ch; }
.solution-card p { max-width: 54ch; }
.capabilities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.capabilities li { padding: 6px 10px; border: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.projects { background: var(--ink); color: white; }
.projects .eyebrow { color: var(--mint-light); }
.projects .section-heading { max-width: 780px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project-card { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; border: 1px solid rgba(255,255,255,.3); border-radius: 0 48px 0 48px; }
.project-identity { display: flex; align-items: center; gap: 20px; min-height: 88px; }
.project-symbol { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 88px; height: 88px; padding: 12px; background: white; border-radius: 0 24px 0 24px; }
.project-symbol img, .project-symbol svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-card h3 { font-size: clamp(32px, 3vw, 44px); line-height: 1.08; font-stretch: 106%; }
.project-card h3 span { color: var(--mint-light); }
.project-description { font-size: 18px; min-height: 5em; }
.project-facts { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.project-facts > div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.project-facts dt { font: 11px/1.6 var(--mono); letter-spacing: .08em; color: var(--mint-light); }
.project-facts dd { margin: 0; font-size: 16px; line-height: 1.6; }
.projects .capabilities li { border-color: rgba(255,255,255,.3); }
.project-context { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; gap: 14px; }
.project-context p { font-size: 14px; color: #e4e3ec; }
.text-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; }
.projects .text-link { color: white; }
.projects .text-link:hover { color: var(--mint-light); }
.projects :focus-visible, .contact :focus-visible { outline-color: var(--mint-light); }
.method { background: var(--surface); }
.method-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.method-grid > li { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.step-number { display: flex; align-items: center; justify-content: center; width: 52px; height: 28px; border-radius: 0 16px 0 16px; background: var(--mint); color: #23222f; font: 13px var(--mono); }
.method-grid h3 { font-size: 23px; }
.method-grid p { font-size: 16px; }
.principles { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.principles ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 0; font-size: 15px; }
.about-heading { display: flex; flex-direction: column; gap: 16px; max-width: 940px; }
.about-overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); margin-top: 32px; }
.about-overview .lead { font-size: 20px; line-height: 1.55; font-weight: 500; }
.origin { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.origin-heading, .origin-story { display: flex; flex-direction: column; gap: 16px; }
.origin-heading h3 { max-width: 24ch; }
.institutional-credit { font-size: 14px; }
.origin-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.research-card { scroll-margin-top: 96px; margin-top: 48px; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); }
.research-intro, .publication { display: flex; flex-direction: column; gap: 18px; }
.research-intro h3 { font-size: 30px; }
.publication-journal { font: 11px/1.6 var(--mono); color: var(--green); letter-spacing: .08em; }
.publication h4 { font-size: 22px; line-height: 1.3; font-weight: 600; text-wrap: pretty; }
.publication-translation { font-size: 14px; }
.publication > p:not(.publication-journal):not(.publication-translation) { font-size: 16px; }
.contact { padding-top: 0; }
.contact-panel { padding: clamp(32px, 5vw, 64px); background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: center; border-radius: 0 64px 0 64px; }
.contact-panel > div { display: flex; flex-direction: column; gap: 20px; }
.contact-panel .eyebrow { color: var(--mint-light); }
.contact-panel h2 { max-width: 16ch; font-size: clamp(30px, 3vw, 42px); }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--mint-light); color: white; font-size: clamp(20px, 2.1vw, 30px); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--mint-light); }
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr .7fr 1fr; gap: 40px; padding-bottom: 32px; }
.footer-brand, .footer-company { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand img { display: block; width: 108px; height: auto; }
.footer-brand p { font-size: 15px; max-width: 28ch; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav .eyebrow { margin-bottom: 10px; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--green); }
.footer-company p, .footer-company > a { font-size: 14px; line-height: 1.7; }
.footer-company > a { display: inline-flex; align-items: center; min-height: 44px; }
.privacy { border-top: 1px solid #e1e5e4; padding-block: 8px; }
.privacy summary { width: fit-content; padding: 12px 0; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }
.privacy-content { max-width: 760px; padding: 20px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.privacy-content p { font-size: 15px; }
.privacy-content h3 { font-size: 20px; margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #e1e5e4; padding-top: 16px; font-size: 13px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--ink); }
@media (max-width: 1099px) {
  .main-nav { gap: 20px; }
  .main-nav ul { gap: 20px; }
  .nav-cta { font-size: 13px; padding-inline: 12px; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .budget-flow { grid-template-columns: 1fr; gap: 28px; }
  .budget-flow > li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 24px; }
  .budget-flow > li:not(:last-child)::before { top: 19px; left: 21px; width: 1px; height: calc(100% + 28px); }
  .budget-flow > li > div { gap: 8px; }
  .budget-flow p { max-width: 70ch; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-panel h2 { max-width: none; }
  .contact-email { width: min(100%, 540px); }
}
@media (max-width: 899px) {
  .brand img { width: 150px; }
  .header-inner { min-height: 76px; flex-wrap: wrap; gap: 0; padding-block: 16px; }
  .main-nav { width: 100%; padding-top: 16px; flex-wrap: wrap; }
  .main-nav ul { flex-wrap: wrap; }
  .nav-cta { font-size: 15px; }
  .js .menu-toggle { display: inline-flex; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { position: absolute; top: 100%; left: 0; display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap; width: 100%; height: calc(100dvh - 76px); padding: 8px 24px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: white; border-top: 1px solid var(--line); }
  .js .main-nav.is-open ul { display: flex; flex-direction: column; gap: 0; }
  .js .main-nav.is-open li a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid #e1e5e4; font-size: 24px; font-weight: 600; }
  .js .main-nav.is-open .nav-cta { margin-top: auto; min-height: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 700px; }
  .hero-geometry { max-width: 340px; }
  .geometry-leaf span { font-size: 10px; }
  .credentials-grid { gap: 24px; }
  .credential-title { font-size: 20px; }
  .heading-split, .projects-grid, .about-overview, .origin, .research-card { grid-template-columns: 1fr; }
  .budget-insight { flex-direction: column; align-items: flex-start; }
  .project-description { min-height: 0; }
  .project-card { gap: 22px; }
  .project-card h3 { font-size: 36px; }
  .about-overview { gap: 20px; }
  .origin { gap: 24px; padding-top: 32px; }
  .origin-heading h3 { max-width: none; }
  .research-card { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 56px; scroll-margin-top: 88px; }
  .hero { padding-top: 40px; }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: clamp(34px, 9vw, 42px); }
  .hero-description { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-geometry { max-width: 280px; }
  .credentials-grid { grid-template-columns: 1fr; gap: 0; padding-block: 8px; }
  .credentials-grid > div { padding-block: 24px; }
  .credentials-grid > div + div { border-top: 1px solid var(--line); }
  .credential-title { font-size: 22px; }
  .section-heading { margin-bottom: 28px; }
  .budget-flow-heading { padding-top: 24px; }
  .budget-flow-heading h3 { font-size: 22px; }
  .budget-flow > li { gap: 18px; }
  .budget-insight { margin-top: 32px; padding-top: 24px; gap: 20px; }
  .budget-insight-title { font-size: 22px; }
  .solutions-grid, .method-grid { grid-template-columns: 1fr; }
  .solution-card { padding-block: 26px; }
  .method-grid { gap: 28px; }
  .method-grid h3 { font-size: 24px; }
  .project-card { padding: 24px; border-radius: 0 32px 0 32px; }
  .project-identity { gap: 14px; min-height: 64px; }
  .project-symbol { width: 64px; height: 64px; padding: 10px; border-radius: 0 18px 0 18px; }
  .project-card h3 { font-size: clamp(24px, 6.5vw, 32px); }
  .project-card p, .project-facts dd { font-size: 16px; }
  .project-context p { font-size: 14px; }
  .about-overview { margin-top: 24px; }
  .about-overview .lead { font-size: 19px; }
  .origin { margin-top: 32px; }
  .research-intro h3 { font-size: 26px; }
  .publication h4 { font-size: 21px; }
  .contact { padding-top: 0; }
  .contact-panel { padding: 32px 24px; border-radius: 0 40px 0 40px; gap: 24px; }
  .contact-panel h2 { font-size: 30px; }
  .contact-email { font-size: clamp(18px, 5vw, 23px); gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .65s ease-out; }
  .hero-geometry { animation: assemble .9s ease-out; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes assemble { from { opacity: 0; transform: translateY(16px) rotate(0); } to { opacity: 1; transform: translateY(0) rotate(-5deg); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .hero-actions, .footer-nav, .footer-bottom a { display: none; }
  .section { padding-block: 24px; }
  .hero-grid, .projects-grid, .about-overview, .origin, .research-card { grid-template-columns: 1fr; }
  .hero-geometry { display: none; }
  .projects, .contact-panel, .budget { background: white; color: var(--ink); }
  .budget .eyebrow, .budget-heading h2 em, .budget-heading > p, .budget-flow-heading p, .budget-flow p, .budget .text-link { color: var(--green); }
  .budget-flow-heading, .budget-insight { border-color: var(--line); }
  .budget-flow > li:not(:last-child)::before { background: var(--line); }
  .projects .eyebrow, .project-card h3 span, .projects .text-link, .project-context p, .project-facts dt, .contact-panel .eyebrow, .contact-email { color: var(--green); }
  .project-card { border-color: var(--line); break-inside: avoid; }
}
