@font-face {
    font-family: "Newsreader";
    src: url("fonts/newsreader-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Newsreader";
    src: url("fonts/newsreader-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Newsreader";
    src: url("fonts/newsreader-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/public-sans-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/public-sans-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/public-sans-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/public-sans-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/public-sans-800.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    --page: #f4f7fb;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --ink: #0d2b60;
    --muted: #5b6b85;
    --line: rgba(13, 43, 96, 0.12);
    --line-strong: rgba(13, 43, 96, 0.2);
    --accent: #0d2b60;
    --accent-soft: #3a5891;
    --accent-soft-dark: #9db4d9;
    --hero: #0d2b60;
    --hero-2: #0a2150;
    --hero-ink: #f4f7fb;
    --hero-muted: rgba(244, 247, 251, 0.72);
    --hero-line: rgba(255, 255, 255, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--page);
    color: var(--ink);
    font-family: "Public Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    font-synthesis: none;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.shell {
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
}

.hero-stage {
    position: relative;
    overflow: clip;
    background: #0d2b60;
    color: var(--hero-ink);
}

/* Ambient WebGL "ink flow" layer injected behind dark stage content. */
.webgl-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.hero-stage::before {
    content: none;
}

.hero-stage .hero-shell::before {
    content: none;
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0a2048;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.is-scrolled {
    background: rgba(10, 32, 72, 0.9);
    border-bottom-color: rgba(126, 158, 214, 0.22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.nav-shell {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo {
    height: 30px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    margin: 0 auto 0 0;
    padding: 0;
}

.nav-link,
.nav-cta,
.button,
.hero-link,
.eyebrow,
.section-tag,
.detail-label,
.board-topline {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-link {
    position: relative;
    color: rgba(244, 247, 251, 0.68);
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.4rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-cta {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(157, 180, 217, 0.85);
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-1px);
}

.nav-cta:hover {
    color: #ffffff;
}

.nav-location {
    margin-left: auto;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--hero-ink);
}

.hero-shell {
    padding: 5rem 0 3.5rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.76fr);
    gap: 3.75rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 620px;
    position: relative;
    padding-left: 1.5rem;
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1px;
    height: 6.2rem;
    background: linear-gradient(180deg, rgba(126, 158, 214, 0.8), rgba(126, 158, 214, 0));
}

.eyebrow,
.section-tag {
    display: inline-block;
}

.eyebrow {
    margin: 0 0 1rem;
    color: rgba(157, 180, 217, 0.82);
}

.hero-copy h1,
.section-head h2,
.contact-copy h2 {
    margin: 0;
    font-family: "Newsreader", serif;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(3.7rem, 5.3vw, 5.4rem);
    line-height: 0.94;
}

.hero-intro {
    margin: 1.15rem 0 0;
    color: rgba(244, 247, 251, 0.58);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.55rem;
}

.hero-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(157, 180, 217, 0.36);
    color: rgba(244, 247, 251, 0.9);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-link:hover {
    color: #ffffff;
    border-color: rgba(157, 180, 217, 0.72);
}

.hero-link:hover::after {
    transform: scaleX(1);
}

.hero-board {
    padding: 1.55rem 1.6rem 1.25rem;
    background: rgba(12, 33, 70, 0.96);
    border: 1px solid rgba(126, 158, 214, 0.28);
    position: relative;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.hero-board::after {
    content: none;
}

.board-topline {
    display: block;
    color: rgba(244, 247, 251, 0.5);
}

.board-lines {
    margin-top: 0.9rem;
    border-top: 1px solid var(--hero-line);
}

.board-line {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.board-line:last-child {
    border-bottom: 0;
}

.board-line > span {
    color: var(--accent-soft-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.board-line h2 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.board-line p {
    margin: 0;
    color: rgba(244, 247, 251, 0.62);
    font-size: 0.92rem;
    line-height: 1.68;
}

.section {
    padding: 6rem 0;
    border-top: 1px solid var(--line);
    position: relative;
}

.section-shell,
.contact-shell,
.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3.25rem;
    align-items: start;
}

.section-head {
    max-width: 30rem;
    position: relative;
    padding-top: 1rem;
}

.section-head::before,
.contact-copy::before {
    content: none;
}

.section-head-dark::before {
    content: none;
}

.section-tag {
    margin-bottom: 1rem;
    color: var(--accent);
}

.section-tag-dark {
    color: var(--accent-soft-dark);
}

.section-head h2,
.contact-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.3rem, 3.2vw, 3.5rem);
    line-height: 0.98;
}

.section-head p {
    margin: 1rem 0 0;
    max-width: 24rem;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

.detail-list {
    border-top: 1px solid var(--line-strong);
}

.detail-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 1rem 1.75rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.detail-row:hover {
    box-shadow: inset 0 -1px 0 var(--accent);
}

.detail-row p {
    transition: color 0.3s ease;
}

.detail-row:hover p {
    color: var(--ink);
}

.detail-row-dark:hover {
    box-shadow: inset 0 -1px 0 var(--accent-soft-dark);
}

.detail-row-dark:hover p {
    color: var(--hero-ink);
}

.detail-label {
    color: var(--accent);
}

.detail-row p,
.contact-copy p,
.contact-address {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

.detail-row h3 {
    margin: 0 0 0.35rem;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.platform-stage {
    background:
        radial-gradient(circle at 78% 18%, rgba(52, 96, 170, 0.08), transparent 24%),
        linear-gradient(180deg, #0c2856 0%, #0a1f48 100%);
    color: var(--hero-ink);
    border-top: 0;
    overflow: hidden;
}

.platform-stage .section-shell {
    position: relative;
    z-index: 1;
}

.section-head-dark h2 {
    color: var(--hero-ink);
}

.detail-list-dark {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.detail-row-dark {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.detail-row-dark .detail-label {
    color: var(--accent-soft-dark);
}

.detail-row-dark h3 {
    color: var(--hero-ink);
}

.detail-row-dark p {
    color: rgba(244, 247, 251, 0.66);
}

.contact-stage {
    padding-bottom: 4.5rem;
}

.contact-copy {
    max-width: 34rem;
    position: relative;
    padding-top: 1rem;
}

.contact-copy p {
    margin-top: 1rem;
}

.contact-shell {
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
    position: relative;
}

.contact-shell::after {
    content: "";
    position: absolute;
    right: clamp(0.75rem, 1.8vw, 1.5rem);
    bottom: 0.5rem;
    width: clamp(4.9rem, 7vw, 6.8rem);
    aspect-ratio: 1 / 1;
    background: url("acorn-logo-red.svg") center / contain no-repeat;
    opacity: 0.065;
    pointer-events: none;
}

.contact-details {
    display: grid;
    gap: 0.9rem;
    padding-top: 0.15rem;
}

.contact-link {
    display: inline-block;
    color: var(--ink);
    font-size: clamp(1.22rem, 1.8vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-address {
    padding-top: 1rem;
    border-top: 1px solid var(--line-strong);
    max-width: 20rem;
}

.site-footer {
    padding: 0 0 2rem;
    position: relative;
}

.footer-shell {
    grid-template-columns: 1fr auto;
    gap: 1rem 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.footer-copy {
    display: grid;
    gap: 0.35rem;
}

.footer-mark {
    width: min(12.25rem, 44vw);
    height: auto;
    display: block;
    margin-bottom: 0.2rem;
}

.footer-copy p {
    margin: 0;
}

.footer-footnote {
    max-width: 32rem;
    color: rgba(102, 95, 88, 0.9);
    font-size: 0.78rem;
    line-height: 1.55;
}

.footer-shell p,
.footer-links a {
    color: var(--muted);
    font-size: 0.86rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* --- Scroll reveal -------------------------------------------------- */
/* Hidden states apply only when JS is present, so no-JS visitors see
   everything immediately. JS adds .is-visible as blocks enter the viewport. */
.js .section-head,
.js .detail-row,
.js .about-head,
.js .about-copy,
.js .bio-row,
.js .team-break,
.js .partnerships-head,
.js .partnership-row,
.js .structure-row,
.js .liability-row,
.js .contact-copy,
.js .contact-details {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js .section-head.is-visible,
.js .detail-row.is-visible,
.js .about-head.is-visible,
.js .about-copy.is-visible,
.js .bio-row.is-visible,
.js .team-break.is-visible,
.js .partnerships-head.is-visible,
.js .partnership-row.is-visible,
.js .structure-row.is-visible,
.js .liability-row.is-visible,
.js .tx-row.is-visible,
.js .contact-copy.is-visible,
.js .contact-details.is-visible {
    opacity: 1;
    transform: none;
}

/* --- Hero entrance on load ----------------------------------------- */
@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.js .hero-copy .eyebrow,
.js .hero-copy h1,
.js .hero-intro,
.js .hero-actions,
.js .hero-board,
.js .page-hero-copy .eyebrow,
.js .page-hero-copy h1,
.js .page-hero-text,
.js .page-hero-rail,
.js .partnerships-hero-copy .eyebrow,
.js .partnerships-hero-copy h1,
.js .partnerships-hero-text,
.js .partnerships-hero-rail {
    opacity: 0;
    animation: heroRise 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.js .hero-copy .eyebrow,
.js .page-hero-copy .eyebrow,
.js .partnerships-hero-copy .eyebrow {
    animation-delay: 0.05s;
}

.js .hero-copy h1,
.js .page-hero-copy h1,
.js .partnerships-hero-copy h1 {
    animation-delay: 0.14s;
}

.js .hero-intro,
.js .page-hero-text,
.js .partnerships-hero-text {
    animation-delay: 0.26s;
}

.js .hero-board,
.js .page-hero-rail,
.js .partnerships-hero-rail {
    animation-delay: 0.32s;
}

.js .hero-actions {
    animation-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nav-cta,
    .button,
    .nav-link {
        transition: none;
    }

    /* Respect reduced-motion: show all animated content statically. */
    .js .section-head,
    .js .detail-row,
    .js .about-head,
    .js .about-copy,
    .js .bio-row,
    .js .team-break,
    .js .partnerships-head,
    .js .partnership-row,
    .js .structure-row,
    .js .liability-row,
    .js .tx-row,
    .js .contact-copy,
    .js .contact-details,
    .js .hero-copy .eyebrow,
    .js .hero-copy h1,
    .js .hero-intro,
    .js .hero-actions,
    .js .hero-board,
    .js .page-hero-copy .eyebrow,
    .js .page-hero-copy h1,
    .js .page-hero-text,
    .js .page-hero-rail,
    .js .partnerships-hero-copy .eyebrow,
    .js .partnerships-hero-copy h1,
    .js .partnerships-hero-text,
    .js .partnerships-hero-rail {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 1100px) {
    .shell {
        width: min(1200px, calc(100% - 2rem));
    }

    .hero-grid,
    .section-shell,
    .contact-shell,
    .footer-shell {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .hero-copy h1,
    .section-head h2,
    .contact-copy h2 {
        max-width: none;
    }

    .section-head::before,
    .contact-copy::before {
        font-size: 4.75rem;
    }
}

@media (max-width: 920px) {
    .hero-stage::before {
        background-position: 60% 44%;
        opacity: 0.42;
    }

    .nav-menu,
    .nav-actions {
        display: none;
        width: 100%;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .hamburger {
        display: inline-block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 1rem;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-actions {
        padding-top: 0.85rem;
    }

    .nav-container.is-open .nav-menu,
    .nav-container.is-open .nav-actions {
        display: flex;
    }

    .nav-link,
    .nav-cta {
        min-height: 44px;
    }

    .hero-shell {
        padding: 4rem 0 3rem;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hero-copy {
        padding-left: 1.1rem;
    }

    .hero-copy::before {
        height: 6.5rem;
    }

    .contact-shell {
        grid-template-columns: 1fr;
    }

    .contact-shell::after {
        width: 4.6rem;
        opacity: 0.055;
    }

    .section-head::before,
    .contact-copy::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-stage::before {
        background-position: 62% 44%;
        opacity: 0.38;
    }

    .shell {
        width: min(1200px, calc(100% - 1.25rem));
    }

    .hero-copy h1 {
        font-size: clamp(3.1rem, 12vw, 4.4rem);
    }

    .detail-row p,
    .contact-copy p,
    .contact-address,
    .board-line p {
        font-size: 0.96rem;
    }

    .hero-actions {
        gap: 1rem;
    }

    .nav-cta {
        width: 100%;
    }

    .hero-board {
        padding: 1.2rem 1rem 1rem;
    }

    .section {
        padding: 4.25rem 0;
    }

    .contact-link {
        font-size: 1.3rem;
    }

    .footer-mark {
        width: min(10.5rem, 52vw);
    }

    .contact-shell::after {
        display: none;
    }

}
