/* SPDX-License-Identifier: GPL-3.0-or-later */
/* :has() makes replacement conditional on successfully rendered landing markup. */
body#page-site-index:has(#gda-public-home) { margin: 0; padding: 0 !important; background: #fff; }
body#page-site-index:has(#gda-public-home) #page-wrapper { display: block; height: auto; min-height: 100vh; }
body#page-site-index:has(#gda-public-home) #page-wrapper > .navbar,
body#page-site-index:has(#gda-public-home) #page-wrapper > .drawer,
body#page-site-index:has(#gda-public-home) #page > #topofscroll,
body#page-site-index:has(#gda-public-home) #page > .drawer-toggles,
body#page-site-index:has(#gda-public-home) .skiplinks { display: none !important; }
body#page-site-index:has(#gda-public-home) #page {
    margin: 0 !important; padding: 0 !important; height: auto !important;
    min-height: 0 !important; width: 100%; overflow: visible; background: #fff;
}
/* Keep policy notices/scripts; hide only the footer UI on this public page. */
body#page-site-index:has(#gda-public-home) #page-footer { display: none !important; }
#gda-public-home { --gda-orange: #f7941d; color: #14212d; font-family: Arial, Helvetica, sans-serif; background: #fff; }
#gda-public-home *, #gda-public-home *::before, #gda-public-home *::after { box-sizing: border-box; }
#gda-public-home a { text-decoration: none; }
#gda-public-home a:focus-visible, #gda-main:focus-visible { outline: 3px solid #1266ae; outline-offset: 5px; }
#gda-public-home .gda-skip { position: absolute; left: 16px; top: -200px; z-index: 1100; padding: 12px; color: #14212d; background: #fff; }
#gda-public-home .gda-skip:focus { top: 12px; }
#gda-public-home .gda-header { height: 68px; display: flex; align-items: center; padding: 8px 3%; border-bottom: 1px solid #f1efec; }
#gda-public-home .gda-brand { display: inline-flex; align-items: center; gap: 16px; color: #14212d; font-size: 17px; font-weight: 600; line-height: 1.3; }
#gda-public-home .gda-brand img { width: 52px; height: 52px; object-fit: contain; }
#gda-public-home .gda-hero { position: relative; min-height: clamp(380px, calc(100svh - 210px), 560px); display: flex; align-items: center; overflow: hidden; }
#gda-public-home .gda-hero-photo { position: absolute; top: 0; right: 0; width: 72%; height: 100%; object-fit: cover; object-position: center 30%; }
#gda-public-home .gda-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 31%, rgba(255,255,255,.91) 39%, rgba(255,255,255,.52) 49%, rgba(255,255,255,0) 66%); }
#gda-public-home .gda-copy { position: relative; width: min(600px, 51%); padding: 30px 0 42px; margin-left: 5.3%; z-index: 1; }
#gda-public-home .gda-eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; color: var(--gda-orange); text-transform: uppercase; letter-spacing: .19em; font-size: 11px; font-weight: 600; line-height: 1.5; }
#gda-public-home .gda-eyebrow span { width: 48px; height: 2px; background: #f7941d; flex-shrink: 0; }
#gda-public-home h1 { margin: 0 0 14px; font-size: clamp(34px, 3.3vw, 54px); line-height: 1.04; letter-spacing: -.045em; font-weight: 750; color: #14212d; }
#gda-public-home h1 span { color: #f7941d; }
#gda-public-home .gda-copy > p:not(.gda-eyebrow) { max-width: 560px; margin: 0 0 12px; font-size: 16px; line-height: 1.4; color: #425169; }
#gda-public-home .gda-actions { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
#gda-public-home .gda-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; border: 1.5px solid var(--gda-orange); border-radius: 9px; padding: 10px 18px; font-size: 14px; font-weight: 600; line-height: 1.3; transition: background-color .15s; }
#gda-public-home .gda-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#gda-public-home .gda-primary { background: var(--gda-orange); color: #17212d; min-width: 160px; }
#gda-public-home .gda-secondary { background: rgba(255,255,255,.94); color: var(--gda-orange); }
#gda-public-home .gda-primary:hover { color: #17212d; background: #f7941d; box-shadow: 0 2px 8px #17212d26; }
#gda-public-home .gda-secondary:hover { color: #f7941d; background: #fff2eb; }
#gda-public-home .gda-arrow { margin-left: auto; font-size: 24px; line-height: 1; font-weight: 400; }

@media (max-width: 1300px) {
    #gda-public-home .gda-copy { width: 54%; }
    #gda-public-home .gda-copy > p:not(.gda-eyebrow) { font-size: 15px; }
    #gda-public-home .gda-eyebrow { font-size: 10px; gap: 12px; }
    #gda-public-home .gda-eyebrow span { width: 42px; }
    #gda-public-home .gda-actions { gap: 12px; }
    #gda-public-home .gda-button { gap: 10px; padding: 10px 14px; font-size: 14px; }
    #gda-public-home .gda-primary { min-width: 150px; }
}
@media (max-width: 1000px) {
    #gda-public-home .gda-hero-fade { background: linear-gradient(90deg,#fff 0%,#fffffff5 35%,#ffffffcf 52%,#ffffff00 85%); }
    #gda-public-home .gda-copy { width: 63%; padding-top: 28px; }
}
@media (max-width: 700px) {
    #gda-public-home .gda-header { height: 64px; padding: 8px 5%; }
    #gda-public-home .gda-brand { font-size: 16px; gap: 12px; }
    #gda-public-home .gda-brand img { width: 48px; height: 48px; }
    #gda-public-home .gda-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
    #gda-public-home .gda-hero-photo { position: relative; order: 2; height: auto; width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: 70% center; }
    #gda-public-home .gda-hero-fade { display: none; }
    #gda-public-home .gda-copy { width: auto; margin: 0; padding: 26px 6% 20px; background: linear-gradient(150deg,#fff,#fffaf6); }
    #gda-public-home .gda-eyebrow { font-size: 10px; letter-spacing: .15em; gap: 12px; margin-bottom: 18px; }
    #gda-public-home .gda-eyebrow span { width: 28px; }
    #gda-public-home h1 { font-size: clamp(30px,7.2vw,42px); margin-bottom: 16px; }
    #gda-public-home .gda-copy > p:not(.gda-eyebrow) { font-size: 15px; line-height: 1.45; }
    #gda-public-home .gda-actions { flex-direction: column; margin-top: 18px; }
    #gda-public-home .gda-button { min-height: 44px; width: 100%; font-size: 14px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { #gda-public-home .gda-button { transition: none; } }

/* Short desktop windows: compact spacing without clipping content or blocking zoom. */
@media (min-width: 1001px) and (max-height: 760px) {
    #gda-public-home .gda-header { height: 60px; }
    #gda-public-home .gda-brand img { width: 44px; height: 44px; }
    #gda-public-home .gda-hero { min-height: clamp(350px, calc(100svh - 210px), 510px); }
    #gda-public-home .gda-copy { padding-top: 20px; padding-bottom: 30px; }
    #gda-public-home h1 { font-size: clamp(32px, 3vw, 46px); margin-bottom: 12px; }
    #gda-public-home .gda-eyebrow { margin-bottom: 12px; }
    #gda-public-home .gda-copy > p:not(.gda-eyebrow) { font-size: 15px; line-height: 1.35; margin-bottom: 10px; }
    #gda-public-home .gda-actions { margin-top: 16px; }
}
