:root {
  --ink: #183247;
  --navy: #071b2a;
  --navy-2: #102a43;
  --paper: #f5f0e7;
  --mist: #e7eef2;
  --line: rgba(24, 50, 71, .18);
  --line-dark: rgba(231, 238, 242, .2);
  --muted: #5b6d79;
  --muted-dark: #b6c5cc;
  --amber: #f2b544;
  --coral: #ee6c4d;
  --sage: #6f8c79;
  --wrap: 1240px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { color: var(--paper); background: var(--coral); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -54px; left: 16px; padding: 10px 14px; color: var(--navy); background: var(--amber); font-weight: 800; }
.skip-link:focus { top: 16px; }

.nav { position: sticky; z-index: 10; top: 0; color: var(--paper); background: rgba(7,27,42,.92); border-bottom: 1px solid rgba(231,238,242,.12); backdrop-filter: blur(14px); }
.nav-inner { display: grid; min-height: 82px; grid-template-columns: auto auto 1fr; align-items: center; gap: 30px; }
.logo { white-space: nowrap; font-family: var(--serif); font-size: 1.32rem; letter-spacing: .12em; }
.logo small { color: var(--amber); font: 700 .68rem/1 var(--sans); letter-spacing: .34em; }
.nav-tagline { margin: 0; padding-left: 26px; border-left: 1px solid rgba(231,238,242,.26); color: #d8e0e3; font: .82rem/1.35 var(--serif); }
.nav-tagline span { color: #8da1ab; }
.nav-links { display: flex; justify-content: flex-end; gap: 22px; font-size: .82rem; }
.nav-links a { color: #d7e0e4; }
.nav-links a:hover { color: var(--amber); }

.hero { position: relative; overflow: hidden; color: var(--paper); background: var(--navy); }
.hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 77% 50%, rgba(33,70,94,.35), transparent 34%), linear-gradient(120deg, rgba(7,27,42,0) 54%, rgba(238,108,77,.08)); content: ''; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; min-height: 700px; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); align-items: center; gap: 32px; padding-block: 74px 42px; }
.hero-copy { max-width: 600px; }
.hero-kicker, .hero-note, .section-mark, .path-card small, .project-code, .map-legend { font-size: .68rem; font-weight: 800; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
.hero-kicker { margin: 0 0 24px; color: var(--amber); }
.hero h1 { max-width: 620px; margin: 0 0 26px; font: 400 clamp(4rem, 7vw, 7rem)/.88 var(--serif); letter-spacing: -.075em; }
.hero-lead { max-width: 540px; margin: 0 0 28px; color: #d9e3e6; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; }
.hero-actions, .section-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hero-note { margin: 46px 0 0; color: #8399a3; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 13px 19px; border: 1px solid transparent; font: 800 .84rem/1.2 var(--sans); transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-coral { color: #fff; background: var(--coral); }
.btn-coral:hover { background: #f17b5e; }
.text-action { display: inline-flex; align-items: center; gap: 10px; color: var(--coral); font-weight: 800; }
.text-action:hover { color: #bd432b; }
.text-action-light { color: var(--paper); }
.text-action-light:hover { color: var(--amber); }

.route-map { position: relative; min-height: 500px; }
.route-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-orbits { fill: none; stroke: rgba(191,211,220,.17); stroke-width: 1; }
.map-orbits path { stroke-dasharray: 4 8; }
.map-routes path { fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 8 7; animation: route-draw 1.8s cubic-bezier(.16,1,.3,1) both; }
.map-routes path:nth-child(2n) { stroke: var(--coral); }
.map-quiet { fill: #8ca0a8; opacity: .75; }
.map-node { outline: none; }
.map-node > circle:first-child { fill: var(--navy); stroke-width: 2; }
.map-node > circle:nth-child(2) { fill: none; stroke: currentColor; stroke-width: 1; opacity: .35; }
.map-node-main { color: var(--amber); }
.map-node-main > circle:first-child { fill: #102a43; stroke: var(--amber); }
.map-node-main text { fill: var(--paper); font: 700 15px var(--serif); letter-spacing: 1.5px; }
.map-node-amber { color: var(--amber); }
.map-node-coral { color: var(--coral); }
.map-node > text { fill: var(--paper); font: 700 15px var(--sans); letter-spacing: .3px; }
.map-node .node-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-node[tabindex]:hover > circle:first-child, .map-node[tabindex]:focus > circle:first-child { filter: url(#node-glow); }
.map-label text { fill: #91a7b0; font: 700 10px var(--sans); letter-spacing: 2px; }
.map-label text + text { font-size: 9px; font-weight: 500; letter-spacing: .6px; }
.map-legend { display: flex; justify-content: flex-end; gap: 16px; margin-top: -4px; color: #8ea3ad; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-amber { background: var(--amber); }.dot-coral { background: var(--coral); }.line-key { width: 18px; border-top: 1px dashed var(--amber); }
.hero-route-note { display: flex; justify-content: flex-end; gap: 18px; padding-bottom: 30px; color: #8298a2; font-size: .67rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-route-note strong { color: var(--amber); font-weight: 800; }

.path-strip { color: var(--paper); background: #0d293e; border-top: 1px solid rgba(231,238,242,.18); border-bottom: 1px solid rgba(231,238,242,.18); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.path-card { position: relative; display: grid; min-height: 170px; grid-template-columns: auto auto 1fr auto; align-items: start; gap: 18px; padding: 28px 28px 24px 0; border-right: 1px solid rgba(231,238,242,.16); transition: background .22s ease, padding-left .22s ease; }
.path-card + .path-card { padding-left: 28px; }
.path-card:last-child { border-right: 0; }
.path-card:hover { background: rgba(242,181,68,.06); }
.path-index { color: var(--amber); font: 800 .7rem var(--sans); }
.path-icon { color: var(--coral); }
.path-icon svg { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.path-card small { display: block; margin-bottom: 16px; color: #91a9b3; }
.path-card strong { display: block; max-width: 220px; font: 400 1.3rem/1.2 var(--serif); }
.path-arrow { color: var(--amber); font-size: 1.3rem; }

.section { padding: 116px 0; }
.section-paper { background: var(--paper); }.section-mist { background: var(--mist); }.section-dark { color: var(--paper); background: var(--navy-2); }.section-contact { background: #e3ebec; }
.split-heading, .section-intro, .dario-grid { display: grid; grid-template-columns: minmax(100px, .22fr) minmax(0, 1fr); gap: 46px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; }
.section-mark { padding-top: 8px; color: var(--coral); }.section-mark span { display: inline-block; margin-top: 10px; color: var(--muted); font-size: .55rem; letter-spacing: .18em; }.section-dark .section-mark { color: var(--amber); }.section-dark .section-mark span { color: #8fa5ae; }
h2 { max-width: 900px; margin: 0 0 22px; font: 400 clamp(2.7rem, 5vw, 5.4rem)/.95 var(--serif); letter-spacing: -.06em; text-wrap: balance; }
.lead { max-width: 710px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }.section-dark .lead { color: #b7c6cd; }
.relation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 78px; background: var(--line); border-block: 1px solid var(--line); }.relation-item { min-height: 250px; padding: 28px 26px 24px 0; background: var(--paper); }.relation-item + .relation-item { padding-left: 26px; }.relation-symbol, .principle-label { color: var(--coral); font: 800 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }.relation-item h3 { margin: 28px 0 10px; font: 400 1.55rem/1.1 var(--serif); }.relation-item p { max-width: 290px; margin: 0; color: var(--muted); }.ecosystem-detail { margin-top: 18px; }
.method-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 72px; border-block: 1px solid var(--line-dark); }.method-step { min-height: 205px; padding: 25px 24px 20px 0; border-right: 1px solid var(--line-dark); }.method-step + .method-step { padding-left: 24px; }.method-step:last-child { border-right: 0; }.method-step span, .timeline span { display: block; margin-bottom: 34px; color: var(--amber); font-size: .7rem; letter-spacing: .16em; }.method-step strong { display: block; margin-bottom: 10px; font: 400 1.6rem/1 var(--serif); }.method-step p { max-width: 210px; margin: 0; color: #aec0c8; font-size: .92rem; }
.muted { color: var(--muted); }.muted-dark { color: var(--muted-dark); }.section-actions { margin-top: 48px; }
.partner-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }.partner-mark { color: var(--sage); font: 2.8rem/1 var(--serif); }.partner-note p { max-width: 560px; margin: 0; font: 400 1.55rem/1.2 var(--serif); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 74px; border-top: 1px solid rgba(24,50,71,.25); }.timeline > div { min-height: 190px; padding: 23px 18px 0 0; border-right: 1px solid rgba(24,50,71,.18); }.timeline > div + div { padding-left: 18px; }.timeline > div:last-child { border-right: 0; }.timeline span { color: var(--coral); }.timeline strong { display: block; margin-bottom: 10px; font: 400 1.3rem/1 var(--serif); }.timeline p { margin: 0; color: var(--muted); font-size: .9rem; }
.dario-section { padding-block: 105px; }.dario-grid h2 { max-width: 780px; }.dario-grid .lead { max-width: 640px; margin-bottom: 16px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: var(--line); border: 1px solid var(--line); }.project-tile { min-height: 230px; padding: 25px; background: var(--paper); }.project-tile:hover { background: #fbf7ef; }.project-tile:nth-child(n+2) { background: #ede7dc; }.project-code { display: block; margin-bottom: 36px; color: var(--coral); }.project-tile h3 { margin: 0 0 10px; font: 400 1.55rem/1 var(--serif); }.project-tile p { max-width: 260px; margin: 0; color: var(--muted); }.project-tile a { display: inline-flex; gap: 8px; margin-top: 24px; color: var(--coral); font-weight: 800; }.project-featured { background: var(--navy-2); color: var(--paper); }.project-featured p { color: #b7c6cd; }.routing-note { margin-top: 24px; padding: 18px 20px; color: var(--ink); background: #e8e0d3; border-top: 2px solid var(--coral); }.routing-note strong { font-weight: 800; }
.contact-layout { align-items: start; }.contact-layout h2 { max-width: 620px; }.contact { padding: 32px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(24,50,71,.08); }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.field { display: flex; flex-direction: column; gap: 7px; }.field.full { grid-column: 1 / -1; }.field label { font-size: .84rem; font-weight: 800; }.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fbf8f2; border: 1px solid #b6c4c9; border-radius: 0; font: inherit; }.field textarea { min-height: 140px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(238,108,77,.16); outline: 0; }.check { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }.check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--coral); }.check a, .form-escape a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }.form-escape { margin: 2px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }.form-status { min-height: 1.5em; margin-top: 14px; color: var(--muted); }.form-status:not(:empty) { padding: 12px 14px; background: var(--mist); }
.footer { padding: 42px 0; color: #9eb0b9; background: var(--navy); border-top: 1px solid rgba(231,238,242,.15); font-size: .86rem; }.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; flex-wrap: wrap; }.footer strong { color: var(--paper); font: 400 1.2rem var(--serif); }.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }.footer-links a:hover { color: var(--amber); }
@keyframes route-draw { from { stroke-dashoffset: 120; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@media (max-width: 1060px) { .nav-inner { grid-template-columns: auto 1fr; }.nav-tagline { display: none; }.nav-links { gap: 16px; }.hero-grid { grid-template-columns: 1fr 1fr; }.hero h1 { font-size: clamp(3.8rem, 7vw, 5.6rem); }.route-map { min-height: auto; }.path-card { grid-template-columns: auto 1fr auto; }.path-icon { display: none; }.relation-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .wrap { width: min(var(--wrap), calc(100% - 36px)); }.nav-inner { display: block; padding: 17px 0 14px; }.nav-links { justify-content: flex-start; gap: 18px; margin-top: 14px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; white-space: nowrap; }.nav-links::-webkit-scrollbar { display: none; }.hero-grid { display: block; min-height: auto; padding-block: 74px 24px; }.hero h1 { font-size: clamp(3.5rem, 15vw, 5.8rem); }.hero-lead { font-size: 1.08rem; }.hero-note { margin-top: 32px; }.route-map { margin: 38px -13px 0; }.map-legend { justify-content: center; font-size: .57rem; }.hero-route-note { justify-content: flex-start; padding-bottom: 24px; font-size: .58rem; }.path-grid { display: block; }.path-card, .path-card + .path-card { min-height: 0; grid-template-columns: auto 1fr auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(231,238,242,.16); }.path-card:last-child { border-bottom: 0; }.path-card strong { max-width: none; font-size: 1.18rem; }.section { padding: 76px 0; }.split-heading, .section-intro, .dario-grid, .contact-layout { display: block; }.section-mark { margin-bottom: 28px; }.relation-grid, .method-rail, .project-grid { grid-template-columns: 1fr; margin-top: 48px; }.relation-grid { gap: 0; }.relation-item, .relation-item + .relation-item { min-height: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }.relation-item:last-child { border-bottom: 0; }.method-rail { border-bottom: 0; }.method-step, .method-step + .method-step { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }.method-step:last-child { border-bottom: 0; }.partner-note { display: block; margin-top: 48px; }.partner-note p { margin: 20px 0 24px; font-size: 1.35rem; }.timeline { grid-template-columns: 1fr; margin-top: 46px; }.timeline > div, .timeline > div + div { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(24,50,71,.18); }.timeline > div:last-child { border-bottom: 0; }.project-tile { min-height: 0; }.project-code { margin-bottom: 24px; }.contact-layout h2 { margin-bottom: 22px; }.contact { margin-top: 48px; padding: 22px 18px; }.form-grid { grid-template-columns: 1fr; }.field.full { grid-column: auto; }.hero-actions, .section-actions { align-items: stretch; flex-direction: column; }.hero-actions .btn, .section-actions .btn { width: 100%; }.footer-inner { display: block; }.footer-links { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .btn:hover { transform: none; } }

/* Editorial footer */
.footer { padding: clamp(52px, 7vw, 82px) 0 24px; color: #b7c6cd; background: var(--navy); border-top: 1px solid rgba(231,238,242,.2); }
.footer-inner { display: block; }
.footer-intro { max-width: 620px; padding-bottom: clamp(38px, 5vw, 58px); }
.footer-kicker { margin: 0 0 14px; color: var(--amber); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-intro h2 { max-width: 600px; margin: 0; color: var(--paper); font: 400 clamp(2rem, 4vw, 3.35rem)/1.03 var(--serif); letter-spacing: -.025em; }
.footer-intro > p:last-child { max-width: 46ch; margin: 20px 0 0; color: #b7c6cd; font-size: .98rem; line-height: 1.55; }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(180px, .8fr); gap: 28px; padding-top: 26px; border-top: 1px solid rgba(231,238,242,.2); }
.footer-section { min-width: 0; }
.footer-section h3 { margin: 0 0 16px; color: var(--paper); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-data a { width: fit-content; color: #dce6ea; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s ease; }
.footer-links a:hover, .footer-data a:hover { color: var(--amber); }
.footer-network-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.footer-data address { display: grid; gap: 7px; margin: 0; font-style: normal; font-size: .9rem; line-height: 1.45; }
.footer-data address strong { color: var(--paper); font: 400 1.05rem/1.2 var(--serif); }
.footer-data address span { color: #b7c6cd; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 16px; border-top: 1px solid rgba(231,238,242,.14); color: #8fa5af; font-size: .76rem; }
@media (max-width: 760px) { .footer-columns { grid-template-columns: 1fr 1fr; gap: 34px 24px; }.footer-data { grid-column: 1 / -1; padding-top: 6px; }.footer-meta { display: grid; gap: 5px; margin-top: 34px; } }
@media (max-width: 480px) { .footer { padding-top: 46px; }.footer-intro h2 { font-size: clamp(1.9rem, 10vw, 2.7rem); }.footer-columns { grid-template-columns: 1fr; gap: 30px; }.footer-data { grid-column: auto; padding-top: 0; }.footer-network-links { grid-template-columns: 1fr 1fr; }.footer-meta { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) { .footer-links a, .footer-data a { transition: none; } }

/* Legal pages */
.legal { min-height: 52vh; padding: clamp(54px, 8vw, 108px) 0; background: var(--paper); }
.legal-article { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); color: var(--ink); background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(15, 23, 42, .07); }
.legal-article .eyebrow { margin: 0 0 14px; }
.legal-article h1 { max-width: 720px; margin: 0; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.legal-article h2 { max-width: 700px; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; }
.legal-article p { max-width: 70ch; margin: 18px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.legal-article h1 + p { max-width: 60ch; margin-top: 24px; font-size: 1.1rem; }
.legal-article a { color: var(--brand, var(--ink)); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-article a:hover { color: var(--brand-2, var(--brand)); }
.legal-article .notice { max-width: 70ch; margin-top: 36px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-actions a { font-weight: 750; }
@media (max-width: 620px) { .legal { padding: 34px 0 58px; }.legal-article { padding: 28px 20px 32px; border-radius: 12px; }.legal-article h1 { font-size: clamp(2.3rem, 13vw, 3.7rem); }.legal-article h2 { margin-top: 38px; padding-top: 18px; }.legal-article p { font-size: .98rem; }.legal-actions { display: grid; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .legal-article a { transition: none; } }

.footer-meta span:first-child { font-weight: 750; }
.footer-meta span:last-child { text-align: right; }
@media (max-width: 480px) { .footer-meta span:last-child { text-align: left; } }
