/* Cinematic, full-width video hero. Brand, native actions and institutional logos remain local. */
#main-content .hero--video {
    --hero-height: 420px; --hero-header-height: 81px;
    --hero-dark: var(--green-deep); --hero-light: var(--white);
    --hero-tint: var(--home-section-tint, #f3f7f4);
    display: flex; flex-direction: column; min-height: calc(100vh - var(--hero-header-height));
    min-height: calc(100svh - var(--hero-header-height)); padding: 0; background: var(--hero-tint);
}
#main-content .hero--video .hero-dramatic-band { display: grid; grid-template-columns: minmax(0,1fr); flex: 1; padding: 0; }
#main-content .hero--video .hero-dramatic-stage {
    position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr); min-height: var(--hero-height); overflow: hidden;
    border: 0; border-radius: 0; color: #fff; background: #213d33;
}
#main-content .hero--video .hero-visual { position: absolute; inset: 0; grid-area: 1 / 1; z-index: 0; padding: 0; container-type: size; }
#main-content .hero--video .hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
#main-content .hero--video .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; object-fit: cover; transition: opacity .35s ease; }
#main-content .hero--video .hero-video--youtube {
    inset: 50% auto auto 50%; width: 100vw; min-width: calc(var(--hero-height) * 1.777778);
    height: 56.25vw; min-height: 100%; transform: translate(-50%,-50%);
}
@supports (height: 1cqh) {
    #main-content .hero--video .hero-video--youtube { width: max(100cqw,177.7778cqh); height: max(56.25cqw,100cqh); }
}
#main-content .hero--video[data-hero-video-state="playing"][data-hero-video-visible] .hero-video { opacity: 1; }
#main-content .hero--video .hero-dramatic-stage::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: transparent;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    mask-image: linear-gradient(90deg,#000 0%,#000 24%,transparent 40%);
    -webkit-mask-image: linear-gradient(90deg,#000 0%,#000 24%,transparent 40%);
}
#main-content .hero--video .hero-dramatic-stage::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.42) 36%,rgba(0,0,0,.08) 74%),linear-gradient(0deg,rgba(0,0,0,.25),transparent 45%);
}
#main-content .hero--video .hero-shell { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
#main-content .hero--video .hero-content { position: relative; width: 62%; min-width: 0; margin: 0; padding: 0; color: #fff; }
#main-content .home-page .hero.hero--video h1 {
    position: static; width: 100%; height: auto; min-width: 0; max-width: 13ch; padding: 0; margin: 0;
    overflow: visible; clip: auto; clip-path: none; white-space: normal; overflow-wrap: anywhere; text-wrap: balance;
    font-size: clamp(44px,4.3vw,64px); font-weight: 650; line-height: 1.12; letter-spacing: -.025em;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
#main-content .hero--video .hero-bottom { position: static; display: flex; flex-direction: column; align-items: flex-start; margin-top: 28px; }
#main-content .hero--video .hero-actionbar { flex-shrink: 0; background: var(--green-deep); color: #fff; }
#main-content .hero--video .hero-actions { display: flex; align-items: stretch; flex-shrink: 0; flex-wrap: wrap; gap: 12px; margin: 0; }
#main-content .hero--video .hero-actions > .button { min-width: 0; min-height: 50px; padding: 13px 20px; gap: 10px; font-size: 14px; line-height: 1.5; border-radius: 8px; white-space: normal; color: #fff; background: rgba(0,0,0,.08); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: 0 1px 3px rgba(0,0,0,.35); }
#main-content .hero--video .hero-actions > .button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
#main-content .hero--video .hero-actions > .button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
#main-content .hero--video .hero-grid { display: block; flex-shrink: 0; }
#main-content .hero--video .hero-logos { padding-block: 20px 12px; background: var(--hero-tint); }
#main-content .hero--video .hero-logos > .container { width: 100%; max-width: none; }
#main-content .hero--video .quick-access { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-block: 0; padding-block: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
#main-content .hero--video .quick-access > a { min-width: 0; min-height: 80px; padding: 16px 18px; gap: 12px; color: #fff; }
#main-content .hero--video .quick-access strong { color: #fff; font-size: 14px; }
#main-content .hero--video .quick-access small { color: #c9ddd3; font-size: 12px; }
#main-content .hero--video .quick-access .quick-icon, #main-content .hero--video .quick-access > a > .icon:last-child { color: #d2ead9; }
#main-content .hero--video .quick-access > a + a::before { height: 32px; background: #ffffff26; }
#main-content .hero--video .quick-access > a:nth-child(3), #main-content .hero--video .quick-access > a:nth-child(4) { border-top-color: #ffffff26; }
#main-content .hero--video .quick-access > a:hover { background: #ffffff0f; }
#main-content .hero--video .quick-access > a:focus-visible { background: #ffffff0f; outline: 3px solid #fff; outline-offset: -3px; }
@media (max-width: 1100px) {
    #main-content .hero--video .hero-actions > .button { padding-inline: 16px; }
    #main-content .hero--video .quick-access > a { padding-inline: 14px; gap: 10px; }
}
@media (max-width: 1023px) {
    #main-content .hero--video { --hero-header-height: 69px; }
}
@media (max-width: 800px) {
    #main-content .hero--video .quick-access { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
    #main-content .hero--video { --hero-height: 360px; }
    #main-content .hero--video .hero-shell { justify-content: flex-end; padding-block: 32px 24px; }
    #main-content .hero--video .hero-content { width: 100%; }
    #main-content .home-page .hero.hero--video h1 { max-width: 100%; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; text-wrap: wrap; }
    #main-content .hero--video .hero-dramatic-stage::after { background: linear-gradient(0deg,rgba(0,0,0,.62),rgba(0,0,0,.37) 58%,rgba(0,0,0,.08)); }
    #main-content .hero--video .hero-image { object-position: 58% 25%; }
    #main-content .hero--video .hero-bottom { margin-top: 20px; }
    #main-content .hero--video .hero-actions { width: 100%; gap: 10px; }
    #main-content .hero--video .hero-actions > .button { flex: 1 1 130px; padding-inline: 12px; justify-content: center; }
    #main-content .hero--video .hero-logos { padding-block: 16px 8px; }
    #main-content .hero--video .quick-access > a { min-height: 64px; padding: 10px; gap: 8px; }
    #main-content .hero--video .quick-access .quick-icon { flex: 0 0 20px; }
    #main-content .hero--video .quick-access > a > .icon:last-child { display: none; }
    #main-content .hero--video .quick-access > a + a::before { height: 28px; }
    #main-content .hero--video .quick-access small { display: none; }
}
html[data-a11y-large] #main-content .hero--video .hero-shell { padding-block: 40px; }
html[data-a11y-large] #main-content .hero--video .hero-dramatic-stage::after { background: rgba(0,0,0,.64); }
html[data-a11y-large] #main-content .hero--video .hero-content { width: 100%; }
html[data-a11y-large] #main-content .hero--video .hero-bottom { margin-top: 28px; flex-wrap: wrap; }
html[data-a11y-large] #main-content .hero--video .quick-access { grid-template-columns: repeat(2,minmax(0,1fr)); }
html[data-a11y-large] #main-content .hero--video .hero-actions { flex-wrap: wrap; flex-shrink: 1; width: 100%; }
html[data-a11y-large] #main-content .hero--video .hero-actions > .button { flex: 1 1 280px; max-width: 100%; }
html[data-a11y-contrast] #main-content .hero--video .hero-visual { visibility: hidden; }
@media (max-width: 600px) {
    html[data-a11y-large] #main-content .hero--video .quick-access { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
    #main-content .hero--video .hero-video { transition: none; }
}
@media (forced-colors: active) {
    #main-content .hero--video .hero-visual, #main-content .hero--video .hero-dramatic-stage::before, #main-content .hero--video .hero-dramatic-stage::after { display: none; }
    #main-content .hero--video .hero-dramatic-stage, #main-content .hero--video .hero-actionbar { background: Canvas; color: CanvasText; }
}
