:root {
    color-scheme: dark;
    --bg: #05070b;
    --panel: #0a0f18;
    --panel-2: #101723;
    --paper: #f4f1ea;
    --paper-2: #e8e1d4;
    --text: #f7f4ee;
    --muted: #98a2b3;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --blue: #65aec5;
    --cyan: #78d7ee;
    --gold: #d8b86f;
    --max: 1180px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.alaska-site {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 15% 0%, rgba(101, 174, 197, 0.18), transparent 28rem),
        linear-gradient(180deg, #05070b 0%, #07101c 42%, #f4f1ea 42%, #f4f1ea 100%);
    color: var(--text);
    font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body.alaska-site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 46%);
}

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 100;
    background: #fff;
    color: #05070b;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 1rem;
    transition: padding 220ms ease;
}

.site-header.is-scrolled {
    padding-top: 0.55rem;
}

.navbar {
    width: min(var(--max), calc(100% - 2rem));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 11, 0.82);
    backdrop-filter: blur(18px);
    padding: 0.6rem 0.7rem 0.6rem 1rem;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img,
.footer-brand img {
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(101, 174, 197, 0.28));
}

.brand b,
.footer-brand b {
    color: var(--blue);
}

.nav-panel,
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a,
.nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border-radius: var(--radius);
    padding: 0 0.95rem;
    color: rgba(247, 244, 238, 0.74);
    font-size: 0.93rem;
    font-weight: 680;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-cta {
    background: #f7f4ee;
    color: #05070b;
}

.nav-toggle {
    display: none;
}

.section-shell {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

.institutional-hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    padding: 9rem 0 5rem;
}

.hero-copy,
.hero-institutional-card {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 20px rgba(120, 215, 238, 0.8);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 840px;
    margin: 1rem 0 1.2rem;
    font-size: clamp(3.5rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 700px;
    color: rgba(247, 244, 238, 0.72);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.78rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0 1.2rem;
    font-weight: 800;
}

.button-primary {
    background: #f7f4ee;
    color: #05070b;
}

.button-secondary {
    border-color: var(--line-strong);
    color: #fff;
}

.button:hover,
.nav-cta:hover,
.text-link:hover,
.directory-card:hover,
.feature-panel:hover {
    transform: translateY(-2px);
}

.hero-institutional-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        #08101c;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.34);
}

.hero-institutional-card::before {
    content: "";
    position: absolute;
    right: -8rem;
    top: -8rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 215, 238, 0.26), transparent 68%);
}

.hero-institutional-card img {
    position: relative;
    width: 92px;
    height: 104px;
    margin-bottom: 3rem;
}

.hero-institutional-card > span {
    position: relative;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-institutional-card > strong {
    position: relative;
    display: block;
    margin: 0.35rem 0 1.2rem;
    color: var(--cyan);
    font-size: 2.8rem;
}

.hero-institutional-card div {
    position: relative;
    display: grid;
    gap: 0.7rem;
}

.hero-institutional-card p {
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
    color: rgba(247, 244, 238, 0.68);
}

.hero-institutional-card b {
    display: block;
    color: #fff;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.trust-strip span {
    min-height: 78px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(247, 244, 238, 0.72);
    text-align: center;
    padding: 0.8rem;
    font-weight: 700;
}

.intro-section,
.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.intro-section {
    padding: 7rem 0 4rem;
}

.intro-section h2,
.section-title h2,
.about-grid h2,
.feature-panel h2,
.closing-cta h2 {
    margin-bottom: 0;
    font-size: clamp(2.45rem, 5vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.intro-section p,
.about-grid p {
    color: rgba(247, 244, 238, 0.68);
    font-size: 1.08rem;
    line-height: 1.75;
}

.solution-directory,
.method-section,
.feature-split,
.closing-cta {
    color: #0b1018;
}

.section-title {
    max-width: 880px;
    margin-bottom: 1.6rem;
}

.solution-directory {
    padding: 1rem 0 6rem;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid rgba(5, 7, 11, 0.14);
    background: rgba(5, 7, 11, 0.14);
}

.directory-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0)),
        #fffdf8;
    padding: clamp(1rem, 2.5vw, 1.45rem);
    transition: 220ms ease;
}

.directory-card:hover {
    background:
        radial-gradient(circle at 85% 12%, rgba(101, 174, 197, 0.14), transparent 14rem),
        #f8f3e8;
}

.directory-card span,
.directory-card small {
    color: #687386;
    font-weight: 800;
}

.directory-card h3 {
    margin: auto 0 0.9rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1;
}

.directory-card p {
    color: #4b5565;
    line-height: 1.62;
}

.directory-card strong,
.feature-panel strong,
.text-link {
    margin-top: 1rem;
    width: fit-content;
    border-bottom: 1px solid currentColor;
    color: #0b1018;
    font-weight: 800;
}

.about-band {
    background: #07101c;
    color: #fff;
    padding: 7rem 0;
}

.about-grid .text-link {
    color: #fff;
}

.method-section {
    padding: 7rem 0 5rem;
}

.method-list {
    border-top: 1px solid rgba(5, 7, 11, 0.16);
}

.method-list article {
    display: grid;
    grid-template-columns: 90px 0.65fr 1fr;
    gap: 1.3rem;
    align-items: start;
    border-bottom: 1px solid rgba(5, 7, 11, 0.16);
    padding: 1.35rem 0;
}

.method-list span {
    color: #687386;
    font-weight: 800;
}

.method-list h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
}

.method-list p {
    margin-bottom: 0;
    color: #4b5565;
    line-height: 1.62;
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0 6rem;
}

.feature-panel {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: #07101c;
    color: #fff;
    padding: clamp(1.25rem, 3vw, 2rem);
    transition: 220ms ease;
}

.feature-panel.is-light {
    background: #fffdf8;
    color: #0b1018;
    border: 1px solid rgba(5, 7, 11, 0.14);
}

.feature-panel h2 {
    margin-top: auto;
}

.feature-panel p {
    max-width: 560px;
    color: currentColor;
    opacity: 0.68;
    line-height: 1.7;
}

.feature-panel strong {
    color: currentColor;
}

.closing-cta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0 7rem;
}

.closing-cta div {
    max-width: 760px;
}

.closing-cta p {
    max-width: 600px;
    color: #4b5565;
    line-height: 1.7;
}

.page-hero {
    padding: 10rem 0 5rem;
    color: #fff;
}

.page-hero h1 {
    max-width: 980px;
}

.page-hero p {
    max-width: 720px;
    color: rgba(247, 244, 238, 0.7);
    font-size: 1.12rem;
    line-height: 1.72;
}

.legal-content {
    color: #0b1018;
    background: #fffdf8;
    border: 1px solid rgba(5, 7, 11, 0.14);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 4vw, 3rem);
    margin-bottom: 7rem;
    line-height: 1.72;
}

.legal-content h2,
.legal-content h3 {
    line-height: 1.05;
}

.route-directory {
    padding-top: 0;
}

.service-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
    padding: 10rem 0 5rem;
    color: #fff;
}

.service-hero h1 {
    max-width: 860px;
}

.service-hero p {
    max-width: 720px;
    color: rgba(247, 244, 238, 0.7);
    font-size: 1.14rem;
    line-height: 1.72;
}

.service-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 0%, rgba(120, 215, 238, 0.17), transparent 16rem),
        rgba(255, 255, 255, 0.055);
    padding: clamp(1.2rem, 3vw, 1.8rem);
}

.service-panel span {
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-panel strong {
    display: block;
    margin: 0.5rem 0 1rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.service-panel p {
    color: rgba(247, 244, 238, 0.68);
    font-size: 1rem;
}

.service-panel .button {
    margin-top: 1rem;
}

.service-body {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    color: #0b1018;
    padding: 3rem 0 6rem;
}

.service-copy h2 {
    font-size: clamp(2.35rem, 4.8vw, 4.6rem);
    line-height: 0.98;
    margin-bottom: 1rem;
}

.service-copy p {
    color: #4b5565;
    line-height: 1.72;
}

.service-checklist {
    display: grid;
    gap: 0.8rem;
}

.service-checklist p {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 1rem;
    align-items: start;
    margin: 0;
    border: 1px solid rgba(5, 7, 11, 0.14);
    border-radius: var(--radius);
    background: #fffdf8;
    padding: 1rem;
    color: #344054;
    line-height: 1.6;
}

.service-checklist span {
    width: 9px;
    height: 9px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--blue);
}

.closing-cta.compact {
    padding-top: 0;
}

.simulator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid rgba(5, 7, 11, 0.14);
    background: rgba(5, 7, 11, 0.14);
    color: #0b1018;
    margin-bottom: 7rem;
}

.simulator-grid article {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    background: #fffdf8;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.simulator-grid span {
    color: #687386;
    font-weight: 800;
}

.simulator-grid h2 {
    margin: auto 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
}

.simulator-grid p {
    color: #4b5565;
    line-height: 1.65;
}

.site-footer {
    background:
        radial-gradient(circle at 88% 12%, rgba(101, 174, 197, 0.18), transparent 28rem),
        #05070b;
    color: var(--text);
    padding: 5rem 1rem 2rem;
}

.footer-main,
.footer-disclaimer,
.footer-bottom {
    width: min(var(--max), 100%);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(2rem, 6vw, 5rem);
}

.footer-brand-block p {
    max-width: 440px;
    color: rgba(247, 244, 238, 0.64);
    line-height: 1.7;
}

.footer-contact-card {
    display: grid;
    gap: 0.35rem;
    max-width: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    padding: 1rem;
}

.footer-contact-card span {
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.footer-nav div {
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.footer-nav strong {
    color: #fff;
}

.footer-nav a,
.footer-nav span,
.footer-contact-card a,
.footer-disclaimer,
.footer-bottom {
    color: rgba(247, 244, 238, 0.62);
    line-height: 1.7;
}

.footer-nav a:hover,
.footer-contact-card a:hover {
    color: #fff;
}

.footer-disclaimer {
    border-top: 1px solid var(--line);
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    font-size: 0.82rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    font-size: 0.88rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 740ms cubic-bezier(0.16, 1, 0.3, 1), transform 740ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.1);
        padding: 0;
    }

    .nav-toggle span {
        width: 18px;
        height: 2px;
        grid-area: 1 / 1;
        background: #fff;
        transition: 180ms ease;
    }

    .nav-toggle span:first-child {
        transform: translateY(-5px);
    }

    .nav-toggle span:last-child {
        transform: translateY(5px);
    }

    .nav-toggle[aria-expanded="true"] span:first-child {
        transform: rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:last-child {
        transform: rotate(-45deg);
    }

    .nav-panel {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.6rem);
        display: grid;
        gap: 0.6rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(5, 7, 11, 0.96);
        padding: 0.8rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 180ms ease;
    }

    .nav-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu {
        display: grid;
        align-items: stretch;
    }

    .nav-menu a,
    .nav-cta {
        justify-content: center;
        width: 100%;
    }

    .institutional-hero,
    .intro-section,
    .about-grid,
    .footer-main,
    .service-hero,
    .service-body {
        grid-template-columns: 1fr;
    }

    .trust-strip,
    .directory-grid,
    .feature-split,
    .footer-nav,
    .simulator-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-list article {
        grid-template-columns: 70px 1fr;
    }

    .method-list p {
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    body.alaska-site {
        background: linear-gradient(180deg, #05070b 0%, #07101c 44%, #f4f1ea 44%, #f4f1ea 100%);
    }

    .site-header {
        padding: 0.6rem;
    }

    .navbar {
        width: 100%;
    }

    .brand span {
        font-size: 0.92rem;
    }

    .institutional-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 7.4rem 0 3.5rem;
    }

    h1 {
        font-size: clamp(3rem, 16vw, 4.6rem);
    }

    .hero-actions,
    .hero-actions .button,
    .closing-cta .button {
        width: 100%;
    }

    .trust-strip,
    .directory-grid,
    .feature-split,
    .footer-nav,
    .simulator-grid {
        grid-template-columns: 1fr;
    }

    .intro-section,
    .about-band,
    .method-section,
    .solution-directory {
        padding-block: 4rem;
    }

    .directory-card,
    .feature-panel,
    .simulator-grid article {
        min-height: 300px;
    }

    .page-hero,
    .service-hero {
        padding-top: 7.4rem;
        padding-bottom: 3.5rem;
    }

    .closing-cta,
    .footer-bottom {
        display: grid;
    }
}
