/* Shared visual polish; the existing brand palette remains the foundation. */
:root { --ya-accent: #388ac7; --ya-mint: #8ce3d1; --ya-ink: #082844; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
section[id], #footer-contact { scroll-margin-top: 112px; }
body { -webkit-font-smoothing: antialiased; }
::selection { color: #082844; background: #a6e9db; }
.ya-skip-link { position: fixed; left: 16px; top: -100px; z-index: 2200; padding: 12px 20px; background: #fff; color: #082844; border-radius: 8px; }
.ya-skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #388ac7; outline-offset: 5px; }
.ya-reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 2100; pointer-events: none; }
.ya-reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, #388ac7, #71d9c0); transform: scaleX(0); transform-origin: left; }
.site-header { transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 5px 24px rgba(8,40,68,.12); }
.ya-site-nav .dropdown-menu { border-radius: 14px; border: 1px solid #e0ebf3; box-shadow: 0 18px 48px rgba(8,40,68,.15); }
.ya-button, .ya-nav-cta { transition: transform .25s, box-shadow .25s, background .25s; }
.ya-button:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(96,179,230,.3); }
.ya-button i, .ya-featured-link i { transition: transform .25s; }
.ya-button:hover i, .ya-featured-link:hover i { transform: translateX(5px); }

/* A luminous, interactive hero with a restrained mint accent. */
.ya-hero { isolation: isolate; background: radial-gradient(ellipse at 90% 10%, #18627c 0%, transparent 55%), linear-gradient(120deg, #061e34, #0a3558 65%, #0c405d); }
.ya-hero:before { z-index: -1; pointer-events: none; background-size: 52px 52px; }
.ya-hero h1 { letter-spacing: -3px; }
.ya-hero h1 span { color: #9be8d8; text-shadow: none; }

.ya-video-hero:before {
    z-index: 0;
    background: linear-gradient(90deg, rgba(4, 24, 42, .97), rgba(4, 24, 42, .85) 35%, rgba(4, 24, 42, .15) 85%),
        linear-gradient(0deg, rgba(4, 24, 42, .8), transparent 45%);
    mask-image: none;
}

.ya-hero-video {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.ya-video-hero .ya-hero-inner {
    display: flex;
    min-height: clamp(550px, 77svh, 820px);
    padding-block: clamp(72px, 10vh, 112px);
}

.ya-video-hero h1 {
    display: grid;
    margin: 24px 0;
    font-size: clamp(52px, 7vw, 106px);
    letter-spacing: -.045em;
}

.ya-video-hero h1 .ya-hero-message {
    grid-area: 1 / 1;
    visibility: hidden;
    color: #fff;
}

.ya-video-hero h1 .ya-hero-message.is-current {
    visibility: visible;
}

@media (prefers-reduced-motion: no-preference) {
    .ya-hero-message.is-current {
        animation: yaHeroMessageIn .35s ease-out both;
    }
}

@keyframes yaHeroMessageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ya-hero-video-toggle {
    position: absolute;
    right: 34px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: #082844;
    color: #fff;
}

.ya-hero-video-toggle:hover {
    background: #185372;
}

.ya-video-hero :is(a, button):focus-visible {
    outline-color: #9be8d8;
}

@media (max-width: 767px) {
    .ya-video-hero:before {
        background: linear-gradient(0deg, rgba(4, 24, 42, .98) 8%, rgba(4, 24, 42, .88) 56%, rgba(4, 24, 42, .35));
    }

    .ya-video-hero .ya-hero-inner {
        align-items: flex-end;
        min-height: 680px;
        padding-top: 150px;
        padding-bottom: 64px;
    }

    .ya-video-hero h1 {
        font-size: clamp(40px, 10vw, 64px);
    }

    .ya-hero-video-toggle {
        right: 22px;
        bottom: 16px;
    }
}

.ya-explore-nav { background: #fff; border-bottom: 1px solid #e1ebf1; }
.ya-explore-inner { display: flex; align-items: center; gap: 10px 26px; max-width: 1320px; margin: auto; padding: 18px 34px; overflow-x: auto; scrollbar-width: thin; }
.ya-explore-label { margin-right: auto; display: inline-flex; align-items: center; gap: 18px; color: #6a8192; font-size: 12px; white-space: nowrap; }
.ya-explore-inner a { padding: 9px 14px; flex-shrink: 0; border-radius: 999px; color: #37576f; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; }
.ya-explore-inner a:hover, .ya-explore-inner a[aria-current] { color: #12619a; background: #eaf5fc; }
.ya-impact { background: radial-gradient(ellipse at 80% 0, #e4f6f0, transparent 70%), #f2f7fb; }
.ya-impact-grid { border-radius: 22px; border-color: #e0ebf2; box-shadow: 0 12px 36px rgba(8,40,68,.05); }
.ya-impact-item { transition: background .25s; }
.ya-impact-item:hover { background: #f0faf7; }
.ya-impact-item strong { font-variant-numeric: tabular-nums; }
.ya-featured-card { border-radius: 20px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.ya-featured-card:hover { box-shadow: 0 20px 44px rgba(8,40,68,.12); }
.ya-back-top { position: fixed; right: 24px; bottom: 24px; z-index: 1900; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #d7e6ef; border-radius: 50%; background: #fff; color: #164b70; box-shadow: 0 6px 24px rgba(8,40,68,.16); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s; }
.ya-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ya-back-top:hover { background: #dbf6ed; color: #082844; }
@media (max-width: 991px) {
    .ya-explore-label { display: none; }
    .ya-explore-inner { gap: 8px; }
}
@media (max-width: 600px) {
    .ya-hero h1 { letter-spacing: -1.5px; }
    .ya-explore-inner { padding: 12px 20px; }
    .ya-back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-header, .ya-button, .ya-button i, .ya-nav-cta, .ya-featured-link i,
    .ya-featured-card, .ya-back-top, .ya-impact-item, .ya-explore-inner a { transition: none; }
    .ya-button:hover { transform: none; }
}
