:root {
    --brand-blue: #1d4ed8;
    --brand-blue-dark: #0b1f3b;
    --brand-blue-mid: #2563eb;
    --brand-blue-soft: #eff6ff;
    --brand-blue-line: #bfdbfe;
    --text-main: #0f172a;
    --line: #e2e8f0;
}

* { box-sizing: border-box; }

.site-body {
    font-family: 'Source Sans 3', sans-serif;
    background: #ffffff;
    color: var(--text-main);
}

h1, h2, h3, .brand-mark {
    font-family: 'Montserrat', sans-serif;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: #111827;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    z-index: 60;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
}

.home-overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 0;
}

.home-overlay-header .max-w-6xl {
    padding-top: 0.55rem;
}

.brand-mark {
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    max-width: 17rem;
}

.mobile-brand {
    display: inline-flex;
    align-items: center;
}

.mobile-logo-img {
    width: 9.2rem;
    height: auto;
    object-fit: contain;
    filter: brightness(1.08) contrast(1.15) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.wordmark {
    display: block;
    text-align: center;
    color: #f8fafc;
    line-height: 1;
    text-transform: uppercase;
}

.wordmark-logo {
    display: block;
    width: 7rem;
    margin: 0 auto 0.35rem;
    color: #f8fafc;
    opacity: 0.95;
}

.wordmark-logo-img {
    display: block;
    width: 26rem;
    max-height: 9rem;
    object-fit: contain;
    margin: 0 auto;
    filter: brightness(1.08) contrast(1.18) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.menu-button {
    border: 1px solid #cbd5e1;
    background: white;
    border-radius: 0.4rem;
    width: 2.9rem;
    height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hamburger-icon {
    width: 1.15rem;
    height: 0.92rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #0f172a;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.is-open .hamburger-icon span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-button.is-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.menu-button.is-open .hamburger-icon span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
    border-top: 1px solid var(--line);
    background: white;
}

.nav-link {
    color: #334155;
    border-radius: 0.35rem;
    padding: 0.4rem 0.55rem;
}

.home-overlay-header .header-split-nav .nav-link {
    color: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}

.home-overlay-header .header-split-nav .nav-link:hover,
.home-overlay-header .header-split-nav .nav-link.active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.28);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
}

.primary-action {
    display: inline-block;
    border-radius: 0.35rem;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    color: white;
    background: var(--brand-blue);
}

.primary-action:hover { background: var(--brand-blue-mid); }

.secondary-action {
    display: inline-block;
    border-radius: 0.35rem;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
    border: 1px solid var(--brand-blue-line);
}

.hero-shell {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-content-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 26vh;
    padding-left: 8%;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.35rem, 4.7vw, 3.9rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #f8fafc;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.64);
}

.hero-text-panel {
    max-width: 36rem;
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 1.3rem 1.35rem 1.2rem;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: auto;
    text-align: center;
}

.hero-text-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: transparent;
    pointer-events: none;
}

.hero-text-panel > * {
    opacity: 0;
    transform: translateY(10px);
}

.hero-text-panel.hero-text-animate > * {
    animation: heroTextIn 0.55s ease forwards;
}

.hero-text-panel.hero-text-animate > *:nth-child(1) { animation-delay: 0.03s; }
.hero-text-panel.hero-text-animate > *:nth-child(2) { animation-delay: 0.12s; }
.hero-text-panel.hero-text-animate > *:nth-child(3) { animation-delay: 0.2s; }

.hero-subtitle {
    margin-top: 0.7rem;
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    color: #eff6ff;
    line-height: 1.45;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-wrap {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    justify-content: center;
}

.hero-cta-wrap .primary-action {
    background: linear-gradient(120deg, #1e40af, var(--brand-blue));
    border: 1px solid rgba(191, 219, 254, 0.55);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.42);
}

.hero-cta-wrap .primary-action:hover {
    background: linear-gradient(120deg, var(--brand-blue-mid), var(--brand-blue));
}

.hero-cta-wrap .secondary-action {
    color: #f8fafc;
    background: rgba(11, 31, 59, 0.62);
    border: 1px solid rgba(191, 219, 254, 0.5);
}

.hero-cta-wrap .secondary-action:hover {
    background: rgba(29, 78, 216, 0.34);
}

.hero-title,
.hero-subtitle {
    pointer-events: auto;
}

.hero-controls {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    z-index: 6;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(11, 31, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}

.hero-arrow {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(11, 31, 59, 0.45);
    line-height: 1;
    font-size: 1.55rem;
}

.hero-arrow,
.hero-dot {
    cursor: pointer;
}

.hero-dots {
    display: flex;
    gap: 0.35rem;
}

.hero-dot {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dot.active {
    background: rgba(255, 255, 255, 0.95);
}

.hero-count {
    color: #f1f5f9;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    min-width: 2.9rem;
    text-align: center;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    padding: 1.15rem;
}

.page-hero {
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 { letter-spacing: -0.01em; }

.tag-chip {
    display: inline-block;
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border: 1px solid var(--brand-blue-line);
    color: var(--brand-blue-dark);
    background: var(--brand-blue-soft);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
}

.muted-copy { color: #475569; }

.detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #334155;
}

.icon-card {
    border-left: 4px solid var(--brand-blue-line);
}

.site-footer {
    margin-top: 4rem;
    color: #e2e8f0;
    background: var(--brand-blue-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link { color: #cbd5e1; }
.footer-link:hover { color: #ffffff; }

.reveal-item { opacity: 1; transform: none; }

@media (max-width: 768px) {
    .wordmark-logo-img {
        width: 18.5rem;
        max-height: 6.6rem;
    }

    .home-overlay-header .max-w-6xl {
        padding-top: 0.25rem;
    }

    .hero-shell {
        min-height: 80vh;
        align-items: flex-end;
    }

    .hero-content-wrap {
        padding-left: 0;
        padding-bottom: 25vh;
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text-panel {
        max-width: 36rem;
        padding: 1.3rem 1.35rem 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta-wrap {
        margin-top: 0.75rem;
        gap: 0.5rem;
    }

    .hero-cta-wrap .primary-action,
    .hero-cta-wrap .secondary-action {
        padding: 0.48rem 0.78rem;
    }

    .hero-controls {
        left: 50%;
        transform: translateX(-50%);
        bottom: 1rem;
        padding: 0.3rem 0.55rem;
    }

    .hero-arrow {
        width: 2.85rem;
        height: 2.85rem;
        font-size: 1.35rem;
    }
}

@media (min-width: 769px) {
    .home-overlay-header .max-w-6xl {
        padding-top: 2.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .hero-content-wrap {
        padding-left: 6.5%;
        padding-bottom: 28vh;
    }

    .hero-text-panel {
        max-width: 32rem;
    }
}

@media (min-width: 1101px) {
    .hero-content-wrap {
        padding-left: 8%;
        padding-bottom: 26vh;
    }

    .hero-text-panel {
        max-width: 37rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.active,
    .hero-text-panel > *,
    .hero-text-panel.hero-text-animate > * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
