@font-face {
    font-family: Sora;
    src: url("/vendor/sora/sora-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --surface: #080d13;
    --panel: #0e151d;
    --line: #2c3641;
    --text: #f5f6f8;
    --muted: #c6ced7;
    --orange: #ff8500;
}

body { margin: 0; background: var(--surface); color: var(--text); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
p { color: var(--muted); }
h1, h2, h3 { font-family: Sora, system-ui, sans-serif; line-height: 1.12; font-weight: 620; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 4vw, 2.55rem); }
section[id] { scroll-margin-top: 6rem; }
.site-shell { width: min(100% - 3rem, 1300px); margin-inline: auto; }
.accent, .text-link { color: var(--orange); }
.skip-link { position: fixed; z-index: 2; top: 1rem; left: 1rem; padding: .65rem 1rem; background: #fff; color: #10141a; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
.site-header { border-bottom: 1px solid var(--line); background: #060a0e; }
.header-inner, .brand, .primary-nav, .actions, .section-header, .footer-inner { display: flex; align-items: center; }
.header-inner { min-height: 78px; justify-content: space-between; gap: 1.5rem; }
.brand { gap: .65rem; color: var(--text); text-decoration: none; flex: none; }
.brand-emblem { object-fit: contain; mix-blend-mode: screen; mask-image: radial-gradient(ellipse, #000 69%, transparent 100%); }
.brand-lockup { display: grid; justify-items: center; line-height: 1.2; gap: .12rem; }
.brand-lockup img { object-fit: contain; mix-blend-mode: screen; }
.brand-tagline { color: var(--orange); font-size: .85rem; font-weight: 650; }
.brand-endorsement { font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { gap: clamp(.65rem, 1.55vw, 1.5rem); flex-wrap: wrap; }
.primary-nav a, .site-footer nav a { font-size: .9rem; text-decoration: none; }
.primary-nav a { display: inline-flex; align-items: center; gap: .38rem; padding-block: .45rem; border-bottom: 2px solid transparent; }
.primary-nav i { font-size: .8rem; color: var(--orange); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: var(--orange); }
.primary-nav a[aria-current="page"] { filter: drop-shadow(0 3px 5px rgb(255 133 0 / .22)); }
.action {
    display: inline-block;
    border: 1px solid var(--orange);
    border-radius: .8rem;
    padding: .65rem 1.4rem;
    background: var(--orange);
    color: #0b1016;
    font-weight: 720;
    text-decoration: none;
}
.action:hover { background: #ffac50; color: #0b1016; }
.action-outline { background: transparent; border-color: #aab4c0; color: var(--text); }
.action-outline:hover { background: #222c36; color: var(--text); }
.header-action { border-color: var(--orange); font-size: .9rem; flex: none; }
.actions { gap: .75rem; flex-wrap: wrap; }
.hero { position: relative; overflow: hidden; background: #050a10; }
.hero-inner { position: static; display: grid; align-items: center; min-height: 410px; padding: 2.75rem clamp(0rem, 3vw, 2.5rem); }
.hero-art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.hero-copy { position: relative; max-width: min(47%, 36rem); }
.eyebrow { margin-block: 0 .7rem; font-weight: 650; letter-spacing: .23em; text-transform: uppercase; font-size: .8rem; color: var(--text); }
.hero h1 { margin-bottom: 1rem; font-size: clamp(2.85rem, 5.55vw, 5.3rem); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 .accent { display: block; }
.hero h1 sup { font-size: .29em; vertical-align: super; top: auto; }
.hero-copy > p:not(.eyebrow) { max-width: 47ch; }
.pillars, .platform, .research, .collaborate, .site-footer { border-top: 1px solid var(--line); }
.pillar-grid, .research-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.pillar-grid { padding-block: 1.25rem; }
.pillar { display: flex; align-items: flex-start; gap: .8rem; padding: .4rem .75rem .4rem 0; }
.pillar:not(:last-child) { border-right: 1px solid var(--line); }
.pillar i { color: var(--orange); font-size: 1.75rem; margin-top: .25rem; }
.pillar h2 { font-size: 1rem; margin-bottom: .35rem; }
.pillar p { margin: 0; font-size: .9rem; }
.platform { background: url("/images/wave.svg") right bottom / min(50%, 680px) auto no-repeat, radial-gradient(ellipse at 100% 100%, #2d1708 0, var(--surface) 42%); }
.platform-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.25rem); }
.platform img { width: 100%; min-height: 0; aspect-ratio: 2; object-fit: cover; }
.platform-copy { padding-block: 1.65rem; }
.platform-list { list-style: none; padding: 0; }
.platform-list li { padding-block: .13rem; }
.platform-list li::before { content: "✓"; color: var(--orange); font-weight: bold; margin-right: .65rem; }
.text-link { font-weight: 680; text-underline-offset: .22em; }
.section-spacing { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-header { justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section-header h2 { margin: 0; }
.research-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; background: var(--panel); text-decoration: none; }
.research-card:hover { border-color: var(--orange); }
.research-card img { width: 100%; aspect-ratio: 2.75; object-fit: cover; }
.research-card div { padding: .85rem; }
.research-card h3 { font-size: 1.05rem; }
.research-card p { font-size: .92rem; margin-bottom: 0; }
.collaborate { text-align: center; background: url("/images/wave.svg") center bottom / max(100%, 600px) auto no-repeat, radial-gradient(ellipse at 50% 105%, #602a08, #17100e 50%, #080d13 80%); }
.collaborate p { max-width: 64ch; margin-inline: auto; }
.site-footer { background: #060a0e; padding-block: 1.6rem; }
.footer-inner { justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.footer-brand { font-weight: 760; letter-spacing: .19em; text-decoration: none; }
.site-footer p { font-size: .85rem; margin: .25rem 0 0; }
.site-footer nav { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; }
.site-footer nav a:hover { color: var(--orange); }
.standard-page { max-width: 960px; padding-block: clamp(2.5rem, 8vw, 5rem); }
.page-intro h1 { font-size: clamp(2.55rem, 7vw, 4.8rem); margin-bottom: 1rem; }
.page-intro > p:not(.eyebrow) { max-width: 65ch; font-size: 1.14rem; }
.page-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.6rem; }
.page-sections section, .contact-panel { border: 1px solid var(--line); border-radius: .85rem; padding: 1.25rem; background: var(--panel); }
.page-sections h2, .contact-panel h2 { font-size: 1.35rem; }
.page-sections p, .contact-panel p:last-child { margin-bottom: 0; }
.contact-panel { max-width: 42rem; }
.contact-panel .form-control, .contact-panel .form-select { margin-block: .25rem 1rem; }
.contact-panel .form-check { margin-bottom: 1rem; }
.contact-panel .action { margin-top: .75rem; }
.contact-trap { display: none; }

.legal-page { background: #0b1016; }
.legal-shell { max-width: 70rem; }
.legal-header { padding-block: 2.25rem; border-bottom: 1px solid var(--line); background: #111922; }
.legal-header h1 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -.025em; margin: 0 0 .6rem; }
.legal-header p { max-width: 73ch; margin-bottom: 0; }
.legal-notice { margin-top: 1.35rem; border: 1px solid var(--orange); padding: .95rem 1.2rem; background: #0b1016; }
.legal-notice strong { display: block; margin-bottom: .35rem; }
.legal-grid { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: 2.4rem 3.5rem; }
.legal-nav { align-self: start; position: sticky; top: 1.5rem; border-left: 1px solid var(--line); padding-inline: 1.1rem .4rem; }
.legal-nav h2 { font-family: inherit; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .95rem; }
.legal-nav ul { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.legal-nav a { color: var(--muted); font-size: .9rem; text-underline-offset: .25em; text-decoration: none; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--orange); text-decoration: underline; }
.legal-content { max-width: 78ch; }
.legal-content section { padding-block: 1.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.legal-content section:first-child { padding-top: 0; }
.legal-content section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-content h2 { font-size: 1.25rem; margin: 0 0 .7rem; text-wrap: initial; }
.legal-content p { line-height: 1.7; margin-bottom: .9rem; }
.legal-content p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
    .home-page .site-header {
        position: fixed;
        z-index: 2;
        inset: 0 0 auto;
        background: transparent;
        border-color: rgb(245 246 248 / .16);
        transition: background-color .2s ease, border-color .2s ease;
    }
    .home-page .site-header.is-scrolled { background: #060a0e; border-color: var(--line); }
    .hero-inner { min-height: 100svh; padding-block: 8.5rem 4rem; }
    .hero-art { width: 100%; object-position: 60% center; mask-image: none; }
    .hero::after {
        position: absolute;
        inset: 0;
        content: "";
        background: linear-gradient(90deg, rgb(5 10 16 / .82) 0, rgb(5 10 16 / .51) 26%, rgb(5 10 16 / .25) 43%, transparent 70%),
            linear-gradient(180deg, rgb(5 10 16 / .72), transparent 24%);
    }
    .hero-copy { z-index: 1; }
    .skip-link { z-index: 3; }
}
@media (max-width: 1150px) {
    .header-action { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .site-header { transition: none; }
}
@media (max-width: 1040px) {
    .header-inner { flex-wrap: wrap; padding-block: .75rem; gap: .65rem 1.5rem; }
    .primary-nav { order: 3; width: 100%; }
    .pillar-grid, .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillar:nth-child(2) { border-right: 0; }
}
@media (max-width: 680px) {
    .site-shell { width: calc(100% - 2rem); }
    .hero-inner { min-height: auto; padding-inline: 0; padding-top: 0; }
    .hero-art { position: relative; width: calc(100% + 2rem); margin-inline: -1rem; aspect-ratio: 2; height: auto; object-position: 74% center; mask-image: linear-gradient(#000 72%, transparent); }
    .hero-copy { max-width: 100%; }
    .platform-inner, .page-sections { grid-template-columns: 1fr; }
    .platform-inner { gap: 0; padding-top: 1rem; }
    .platform img { min-height: auto; border-radius: .65rem; }
    .section-header { align-items: flex-start; flex-direction: column; }
    .legal-header { padding-block: 1.65rem; }
    .legal-grid { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 1.65rem; }
    .legal-nav { position: static; }
    .pillar { gap: .5rem; }
    .pillar i { font-size: 1.2rem; }
}
@media (max-width: 390px) {
    .pillar-grid, .research-grid { grid-template-columns: 1fr; }
    .pillar:not(:last-child) { border-right: 0; }
}
