/* ==========================================================================
   Site chrome (new design): header and footer. Values copied from the
   prototypes in genesis-website-design (identical on every page).
   ========================================================================== */
/* The prototypes use the browser default box model (content-box); keep it for the chrome even where the
   previous layout's stylesheet sets border-box. */
.site-header, .site-header :not(button, input), .site-footer, .site-footer :not(button, input) { box-sizing: content-box; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Header and footer keep the design's base typography even on pages that still use the previous layout. */
.site-header, .site-footer { font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: normal; letter-spacing: normal; }
.site-header :where(h1, h2, h3, p), .site-footer :where(h1, h2, h3, p) { margin: 0; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--gds-navy); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__bar { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; gap: 32px; }
.site-header__logo { display: flex; flex: none; }
.site-header__logo img { height: 34px; width: auto; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 15px; font-weight: 500; }
.site-nav__group { position: relative; }
.site-nav__link { all: unset; cursor: pointer; color: rgba(255, 255, 255, 0.82); padding: 8px 14px; display: flex; align-items: center; gap: 4px; text-decoration: none; }
.site-nav__link:hover, .site-nav__link:focus-visible, .site-nav__group.is-open > .site-nav__link { color: #fff; text-decoration: none; }
.site-nav__link:focus-visible { outline: 2px solid var(--gds-yellow) !important; outline-offset: 2px; border-radius: 4px; } /* !important: beats the global :focus-visible rule in design.css */
.site-nav__dropdown { position: absolute; top: 100%; left: -8px; padding-top: 12px; }
.site-nav__panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 8px; width: 300px; display: flex; flex-direction: column; }
.site-nav__item { display: flex; flex-direction: column; gap: 2px; color: var(--gds-navy); padding: 10px 12px; border-radius: var(--radius-md); text-decoration: none; }
.site-nav__item:hover, .site-nav__item:focus-visible { background: var(--gds-slate-75); color: var(--gds-navy); text-decoration: none; }
.site-nav__item-title { font-weight: 600; font-size: 14px; }
.site-nav__item-desc { font-size: 13px; font-weight: 400; color: var(--fg-tertiary); }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; margin-left: auto; }
.site-header__cta { display: flex; align-items: center; gap: 8px; background: var(--gds-yellow); color: var(--gds-navy); font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: 999px; text-decoration: none; }
.site-header__cta:hover { background: #E0B400; color: var(--gds-navy); text-decoration: none; }
.site-header__burger { display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--radius-md); color: #fff; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.site-mobile-nav { display: flex; flex-direction: column; padding: 8px 32px 24px; font-size: 16px; font-weight: 500; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-mobile-nav[hidden] { display: none; }
.site-mobile-nav a { color: #fff; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-decoration: none; }
.site-mobile-nav a:hover { color: #fff; text-decoration: none; }
/* Prototype: nav when viewport ≥ 960px, hamburger below. */
@media (max-width: 959.98px) {
	.site-nav { display: none; }
	.site-header__burger { display: flex; }
}
@media (min-width: 960px) {
	.site-mobile-nav { display: none !important; }
}

/* ---- Footer ---- */
.site-footer { position: relative; overflow: hidden; background: #08122A; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.72); }
.site-footer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.site-footer__awards { position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 32px 0; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.site-footer__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--gds-yellow); text-align: center; }
.site-footer__award-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.site-footer__award { height: 140px; min-width: 190px; padding: 18px 28px; background: #fff; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.site-footer__cta { position: relative; max-width: 880px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.site-footer__cta-title { font-weight: 700; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.site-footer__cta-title--lg { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; }
.site-footer__cta-title--md { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; }
.site-footer__cta-sub { font-size: 18px; line-height: 1.55; font-weight: 400; color: rgba(255, 255, 255, 0.72); max-width: 560px; text-wrap: pretty; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.site-footer__main { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.site-footer__panel { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-xl); background: rgba(8, 18, 42, 0.88); padding: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 64px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__logo { height: 40px; width: auto; align-self: flex-start; }
.site-footer__tagline { font-size: 15px; line-height: 1.6; max-width: 340px; }
.site-footer__heading { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.5); margin-bottom: 6px; }
.site-footer__heading--contact { margin: 8px 0 0; }
.site-footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.site-footer__contact a { color: #fff; text-decoration: none; }
.site-footer__contact a:hover { color: var(--gds-yellow); text-decoration: none; }
.site-footer__small { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.site-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.site-footer__social a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; color: #fff; }
.site-footer__social a:hover { border-color: var(--gds-yellow); color: var(--gds-yellow); text-decoration: none; }
.site-footer__columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 32px; }
.site-footer__column { display: flex; flex-direction: column; gap: 14px; }
.site-footer__column a { font-size: 15px; color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer__column a:hover { color: #fff; text-decoration: none; }
.site-footer__funding { position: relative; max-width: 1280px; margin: 0 auto; padding: 32px 32px 0; }
.site-footer__funding-inner { background: #fff; border-radius: var(--radius-lg); padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; }
.site-footer__funding-inner img { height: 32px; width: auto; }
.site-footer__legal { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 32px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.site-footer__legal a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer__legal a:hover { color: #fff; text-decoration: none; }

/* ---- Buttons (pills) shared by the whole design ---- */
.gds-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-radius: 999px; text-decoration: none; cursor: pointer; }
.gds-btn:hover { text-decoration: none; }
.gds-btn--lg { font-size: 16px; padding: 14px 28px; }
.gds-btn--md { font-size: 15px; padding: 12px 22px; }
.gds-btn--sm { font-size: 14px; padding: 10px 20px; }
.gds-btn--yellow { background: var(--gds-yellow); color: var(--gds-navy); }
.gds-btn--yellow:hover { background: #E0B400; color: var(--gds-navy); }
.gds-btn--outline-white { color: #fff; border: 1px solid #fff; }
.gds-btn--outline-white.gds-btn--lg { padding: 13px 28px; }
.gds-btn--outline-white:hover { background: #fff; color: var(--gds-navy); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* Small phones (< 480px): tighter header so logo, Contact pill and menu button fit a 375px viewport. */
@media (max-width: 479.98px) {
	.site-header__bar { padding: 0 16px; gap: 16px; }
	.site-mobile-nav { padding: 8px 16px 24px; }
}
