/*
Theme Name: Vicode GAC Header & Footer
Theme URI: https://example.com/
Author: Vicode
Description: Header and footer migration of the Global Arch Construction design. Dark fixed two-row header with multi-level dropdown navigation, and a dark rounded-card footer. Fully responsive.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vicode-gac
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
	--ga-black: #0a0a0a;
	--ga-surface: #171717;
	--ga-surface-2: #1f1f1f;
	--ga-ink: #1e303a;
	--ga-white: #fafafa;
	--ga-muted: rgba(250, 250, 250, 0.68);
	--ga-line: rgba(250, 250, 250, 0.12);
	--ga-accent: #fab702;
	--ga-accent-ink: #171717;

	--ga-font-display: "Roboto", "Helvetica Neue", Arial, sans-serif;
	--ga-font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

	--ga-container: 1440px;
	--ga-gutter: 32px;

	--ga-utility-h: 74px;
	--ga-nav-h: 56px;
	--ga-header-h: 130px;
	/* Written by vicode-script.js from the real measured height. Kept separate
	   from --ga-header-h so the measurement can never feed back into the
	   min-height that produces it. */
	--ga-header-actual: 130px;
	--ga-logo-h: 80px;
	--ga-logo-h-footer: 60px;

	--ga-radius-sm: 4px;
	--ga-radius-md: 8px;
	--ga-radius-lg: 24px;

	--ga-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
	--ga-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   2. Base
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--ga-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ga-ink);
	background: #fff;
	/* Room for the fixed header. */
	padding-top: var(--ga-header-actual);
}

body.ga-nav-open {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ga-font-display);
	font-weight: 700;
	margin: 0 0 0.5em;
	color: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	max-width: 100%;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--ga-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.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;
}

.ga-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 2000;
	padding: 12px 20px;
	background: var(--ga-accent);
	color: var(--ga-accent-ink);
	font-weight: 600;
	border-radius: 0 0 var(--ga-radius-sm) var(--ga-radius-sm);
	transition: top 0.2s var(--ga-ease);
}

.ga-skip-link:focus {
	top: 0;
}

.ga-container {
	width: 100%;
	max-width: var(--ga-container);
	margin-inline: auto;
	padding-inline: var(--ga-gutter);
}

/* =========================================================
   3. Buttons
   ========================================================= */
.ga-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 20px;
	border-radius: var(--ga-radius-sm);
	font-family: var(--ga-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.375;
	text-align: center;
	transition: background-color 0.2s var(--ga-ease), color 0.2s var(--ga-ease), transform 0.2s var(--ga-ease);
}

.ga-btn--accent {
	background: var(--ga-accent);
	color: var(--ga-accent-ink);
}

.ga-btn--accent:hover,
.ga-btn--accent:focus-visible {
	background: #ffc932;
}

.ga-btn--accent:active {
	transform: translateY(1px);
}

.ga-btn--ghost {
	background: transparent;
	color: var(--ga-white);
	border: 1px solid rgba(250, 250, 250, 0.9);
	border-radius: var(--ga-radius-md);
	font-weight: 600;
}

.ga-btn--ghost:hover,
.ga-btn--ghost:focus-visible {
	border-color: var(--ga-accent);
	color: var(--ga-accent);
}

/* =========================================================
   4. Header shell
   ========================================================= */
.ga-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	background: var(--ga-black);
	color: var(--ga-white);
	transition: box-shadow 0.25s var(--ga-ease);
}

.ga-header.is-scrolled {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.ga-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: var(--ga-header-h);
}

.ga-header__brand {
	flex: 0 0 auto;
	/* Flex (not inline) so no line-box descender space pads the logo. */
	display: flex;
	align-items: center;
}

.ga-header__stack {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Mobile action bar — hidden until the burger appears. */
.ga-header__mobile-bar {
	display: none;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 12px 0 14px;
}

.ga-header__mobile-bar::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(to right, rgba(250, 183, 2, 0), rgba(250, 183, 2, 0.85) 38%, rgba(250, 183, 2, 0.85));
}

.ga-header__mobile-bar .ga-btn {
	flex: 1 1 0;
	min-width: 0;
	padding: 11px 12px;
	font-size: 15px;
	white-space: nowrap;
}

/* Panel head (mobile menu) — hidden until the burger appears. */
.ga-panel__head {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--ga-line);
}

.ga-panel__title {
	font-family: var(--ga-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ga-accent);
}

.ga-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(250, 250, 250, 0.08);
	color: var(--ga-white);
	transition: background-color 0.2s var(--ga-ease), color 0.2s var(--ga-ease);
}

.ga-panel__close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.ga-panel__close:hover,
.ga-panel__close:focus-visible {
	background: var(--ga-accent);
	color: var(--ga-accent-ink);
}

/* --- Logo --- */
.ga-logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ga-white);
}

/* Sizes ANY logo image in the header — the WordPress custom logo, or a plain
   <img> dropped straight into the .ga-logo link. Height is the control;
   width follows the file's own aspect ratio. Change --ga-logo-h to resize. */
.ga-header__brand img,
.ga-header__brand .custom-logo {
	display: block;
	width: auto;
	height: var(--ga-logo-h);
	max-width: 100%;
	object-fit: contain;
}

.ga-logo__mark {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: inline-flex;
}

.ga-logo__mark svg {
	width: 100%;
	height: 100%;
	fill: var(--ga-accent);
}

.ga-logo__mark-inner {
	fill: var(--ga-white);
}

.ga-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.ga-logo__name {
	font-family: var(--ga-font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.ga-logo__tag {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ga-muted);
}

/* =========================================================
   5. Utility row
   ========================================================= */
.ga-utility {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 32px;
	min-height: var(--ga-utility-h);
}

.ga-utility::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(to right, rgba(250, 183, 2, 0), rgba(250, 183, 2, 0.8) 45%, rgba(250, 183, 2, 0.8));
}

.ga-utility__link {
	font-size: 16px;
	color: var(--ga-white);
	transition: color 0.2s var(--ga-ease);
}

.ga-utility__link:hover,
.ga-utility__link:focus-visible {
	color: var(--ga-accent);
}

.ga-utility__phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ga-white);
	transition: color 0.2s var(--ga-ease);
}

.ga-utility__phone:hover,
.ga-utility__phone:focus-visible {
	color: var(--ga-accent);
}

.ga-utility__phone-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(250, 250, 250, 0.08);
}

.ga-utility__phone-icon svg {
	width: 17px;
	height: 17px;
	fill: var(--ga-accent);
}

.ga-utility__phone-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ga-utility__phone-label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ga-muted);
}

.ga-utility__phone-number {
	font-size: 17px;
	font-weight: 600;
}

/* =========================================================
   6. Primary navigation (desktop)
   ========================================================= */
.ga-nav {
	min-height: var(--ga-nav-h);
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.ga-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	flex-wrap: wrap;
}

.ga-menu li {
	position: relative;
}

.ga-menu a,
.ga-menu .ga-menu__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 16px;
	font-weight: 400;
	color: var(--ga-white);
	white-space: nowrap;
	border-radius: var(--ga-radius-sm);
	transition: color 0.2s var(--ga-ease), background-color 0.2s var(--ga-ease);
}

.ga-menu > li > a:hover,
.ga-menu > li > a:focus-visible,
.ga-menu > li.is-open > a {
	color: var(--ga-accent);
}

.ga-menu > li.current-menu-item > a,
.ga-menu > li.current-menu-ancestor > a {
	color: var(--ga-accent);
}

/* Caret button injected by vicode-script.js */
.ga-menu__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: -6px;
	border-radius: 50%;
	color: inherit;
	transition: transform 0.25s var(--ga-ease), background-color 0.2s var(--ga-ease);
}

.ga-menu__toggle svg {
	width: 10px;
	height: 10px;
	fill: currentColor;
}

.ga-menu li.is-open > .ga-menu__row > .ga-menu__toggle,
.ga-menu li.is-open > .ga-menu__toggle {
	transform: rotate(180deg);
}

.ga-menu__row {
	display: flex;
	align-items: center;
}

/* --- Sub menus --- */
.ga-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 10;
	min-width: 268px;
	padding: 8px;
	background: var(--ga-surface);
	border: 1px solid var(--ga-line);
	border-radius: var(--ga-radius-md);
	box-shadow: var(--ga-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--ga-ease), transform 0.2s var(--ga-ease), visibility 0.2s;
}

.ga-menu > li:last-child > .sub-menu,
.ga-menu > li:nth-last-child(2) > .sub-menu {
	left: auto;
	right: 0;
}

.ga-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ga-menu .sub-menu li {
	width: 100%;
}

.ga-menu .sub-menu .ga-menu__row {
	width: 100%;
}

.ga-menu .sub-menu .ga-menu__row > a {
	flex: 1 1 auto;
}

.ga-menu .sub-menu a,
.ga-menu .sub-menu .ga-menu__label {
	display: flex;
	width: 100%;
	justify-content: space-between;
	padding: 10px 12px;
	font-size: 15px;
	white-space: normal;
	color: var(--ga-white);
}

.ga-menu .sub-menu a:hover,
.ga-menu .sub-menu a:focus-visible,
.ga-menu .sub-menu li.is-open > .ga-menu__row > a {
	background: var(--ga-surface-2);
	color: var(--ga-accent);
}

/* Third level flies out to the side on desktop. */
.ga-menu .sub-menu .sub-menu {
	top: -9px;
	left: calc(100% + 6px);
	right: auto;
}

.ga-menu .sub-menu .ga-menu__toggle {
	transform: rotate(-90deg);
	margin-left: 8px;
}

.ga-menu .sub-menu li.is-open > .ga-menu__row > .ga-menu__toggle {
	transform: rotate(-90deg) scale(1.05);
	color: var(--ga-accent);
}

/* Flip the third level when it would overflow the viewport. */
.ga-menu .sub-menu .sub-menu.is-flipped {
	left: auto;
	right: calc(100% + 6px);
}

/* =========================================================
   7. Burger + overlay
   ========================================================= */
.ga-burger {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-left: auto;
	border-radius: var(--ga-radius-sm);
	color: var(--ga-white);
}

.ga-burger__box {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 16px;
}

.ga-burger__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.25s var(--ga-ease), opacity 0.2s var(--ga-ease);
}

.ga-burger[aria-expanded="true"] .ga-burger__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ga-burger[aria-expanded="true"] .ga-burger__bar:nth-child(2) {
	opacity: 0;
}

.ga-burger[aria-expanded="true"] .ga-burger__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.ga-header-overlay {
	position: fixed;
	inset: 0;
	z-index: 900;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.25s var(--ga-ease);
}

.ga-header-overlay.is-visible {
	opacity: 1;
}

/* =========================================================
   8. Hero video slider
   ========================================================= */
.ga-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 84vh, 900px);
	padding: 64px 0 32px;
	overflow: hidden;
	background: var(--ga-black);
	color: var(--ga-white);
}

.ga-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ga-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.9s var(--ga-ease);
	will-change: opacity;
}

.ga-hero__slide.is-active {
	opacity: 1;
}

.ga-hero__media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Slight scale hides the letterboxed edge some encoders leave. */
	transform: scale(1.02);
}

.ga-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.4);
	pointer-events: none;
}

/* Extra darkening behind the copy so text stays legible on bright footage. */
.ga-hero__overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(10, 10, 10, 0.72) 0%,
		rgba(10, 10, 10, 0.4) 45%,
		rgba(10, 10, 10, 0) 75%
	);
}

.ga-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.ga-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 560px;
}

.ga-hero__title {
	margin: 0;
	font-family: var(--ga-font-display);
	font-size: clamp(32px, 4.6vw, 56px);
	font-weight: 700;
	line-height: 1.28;
	color: var(--ga-white);
}

.ga-hero__accent {
	color: var(--ga-accent);
}

.ga-hero__desc {
	margin: 0;
	max-width: 52ch;
	font-size: 18px;
	line-height: 1.6;
	color: var(--ga-white);
}

.ga-hero__cta {
	padding: 12px 24px;
	font-size: 16px;
}

/* Bar-style slide indicators, aligned with the copy. */
.ga-hero__dots {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.ga-hero__dot {
	width: 36px;
	height: 4px;
	padding: 0;
	border-radius: 2px;
	background: rgba(250, 250, 250, 0.35);
	transition: background-color 0.3s var(--ga-ease), width 0.3s var(--ga-ease);
}

.ga-hero__dot:hover {
	background: rgba(250, 250, 250, 0.6);
}

.ga-hero__dot.is-active {
	width: 56px;
	background: var(--ga-accent);
}

.ga-hero__dot:focus-visible {
	outline-offset: 6px;
}

/* =========================================================
   9. Footer
   ========================================================= */
.ga-footer {
	background: var(--ga-black);
	color: var(--ga-white);
	padding: 32px 0;
	font-family: var(--ga-font-body);
}

.ga-footer__card {
	background: var(--ga-surface);
	border-radius: var(--ga-radius-lg);
	padding: 64px 48px 40px;
}

.ga-footer__top {
	display: grid;
	grid-template-columns: minmax(260px, 320px) 1fr;
	gap: 48px;
}

.ga-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ga-logo--footer .ga-logo__name {
	font-size: 22px;
}

.ga-footer__brand img,
.ga-footer__logo img,
.ga-footer__brand .custom-logo {
	display: block;
	width: auto;
	height: var(--ga-logo-h-footer);
	max-width: 100%;
	object-fit: contain;
}

.ga-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ga-footer__label {
	margin: 16px 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ga-accent);
}

.ga-footer__label:first-child {
	margin-top: 0;
}

.ga-footer__text {
	margin: 0;
	font-size: 15px;
	color: var(--ga-muted);
}

.ga-footer__contact-link {
	font-size: 15px;
	color: var(--ga-white);
	transition: color 0.2s var(--ga-ease);
}

.ga-footer__contact-link:hover,
.ga-footer__contact-link:focus-visible {
	color: var(--ga-accent);
}

.ga-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ga-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(250, 250, 250, 0.07);
	transition: background-color 0.2s var(--ga-ease);
}

.ga-social a:hover,
.ga-social a:focus-visible {
	background: var(--ga-accent);
}

.ga-social svg {
	width: 18px;
	height: 18px;
	fill: var(--ga-white);
	transition: fill 0.2s var(--ga-ease);
}

.ga-social a:hover svg,
.ga-social a:focus-visible svg {
	fill: var(--ga-accent-ink);
}

/* --- Link columns --- */
.ga-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 32px;
	align-content: start;
}

.ga-footer__heading {
	margin: 0 0 16px;
	font-family: var(--ga-font-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--ga-white);
}

.ga-footer__sublabel {
	margin: 20px 0 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ga-muted);
}

.ga-footer__panel > .ga-footer__sublabel:first-child,
.ga-footer__panel > .ga-footer__list:first-child {
	margin-top: 0;
}

.ga-footer__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ga-footer__list a {
	font-size: 14px;
	line-height: 1.45;
	color: var(--ga-muted);
	transition: color 0.2s var(--ga-ease);
}

.ga-footer__list a:hover,
.ga-footer__list a:focus-visible {
	color: var(--ga-accent);
}

.ga-footer__list + .ga-footer__list {
	margin-top: 16px;
}

/* --- Bottom bar --- */
.ga-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--ga-line);
}

.ga-footer__copy {
	margin: 0;
	font-size: 14px;
	color: var(--ga-muted);
}

.ga-footer__legal a {
	font-size: 14px;
	color: var(--ga-muted);
	transition: color 0.2s var(--ga-ease);
}

.ga-footer__legal a:hover,
.ga-footer__legal a:focus-visible {
	color: var(--ga-accent);
}

/* Accordion chevron is hidden until mobile. */
.ga-footer__heading[data-ga-accordion-trigger] {
	position: relative;
}

.ga-footer__heading .ga-footer__chevron {
	display: none;
}

/* =========================================================
   9. Responsive
   ========================================================= */

/* Large desktop — tighten nav spacing before the burger kicks in. */
@media (max-width: 1279px) {
	:root {
		--ga-gutter: 24px;
	}

	.ga-menu a,
	.ga-menu .ga-menu__label {
		padding: 8px 9px;
		font-size: 15px;
	}

	.ga-utility {
		gap: 20px;
	}

	.ga-footer__card {
		padding: 48px 32px 32px;
	}

	.ga-footer__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Tablet & below — off-canvas menu. */
@media (max-width: 1023px) {
	:root {
		--ga-header-h: 130px;
		--ga-logo-h: 40px;
	}

	/* Two stacked rows: action bar on top, logo + burger below.
	   66px + 64px = the same 130px the reference header uses. */
	.ga-header__inner {
		flex-wrap: wrap;
		align-items: center;
		min-height: 0;
		gap: 0;
	}

	.ga-header__mobile-bar {
		display: flex;
		order: 0;
	}

	.ga-header__brand {
		order: 1;
		padding: 10px 0;
	}

	.ga-burger {
		order: 2;
		display: inline-flex;
		width: 44px;
		height: 44px;
		color: var(--ga-accent);
	}

	/* Full-screen panel — nothing of the header shows through, so the
	   close button in the panel head is the only control needed. */
	.ga-header__stack {
		position: fixed;
		inset: 0;
		z-index: 950;
		width: 100%;
		flex-direction: column;
		justify-content: flex-start;
		gap: 0;
		padding: 0 24px 40px;
		background: var(--ga-black);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(102%);
		visibility: hidden;
		transition: transform 0.3s var(--ga-ease), visibility 0.3s;
	}

	.ga-header__stack.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.ga-panel__head {
		display: flex;
		position: sticky;
		top: 0;
		z-index: 2;
		background: var(--ga-black);
	}

	/* The panel is a fixed-height flex column, so its children shrink by
	   default once the expanded menu is taller than the screen. That squashes
	   .ga-nav and its sub-menus spill out over the block below it. Keep every
	   child at its natural height and let the panel scroll instead. */
	.ga-panel__head,
	.ga-nav,
	.ga-utility {
		flex-shrink: 0;
	}

	/* Nav first, utility block underneath. */
	.ga-nav {
		order: 1;
		min-height: 0;
		display: block;
	}

	.ga-utility {
		order: 2;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		min-height: 0;
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid var(--ga-line);
	}

	.ga-utility::after {
		display: none;
	}

	/* Phone and CTA already live in the persistent header bar. */
	.ga-utility__phone,
	.ga-utility__cta {
		display: none;
	}

	.ga-utility__link {
		padding: 10px 0;
		font-size: 17px;
	}

	.ga-menu {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: nowrap;
		gap: 0;
	}

	.ga-menu li {
		position: static;
		border-bottom: 1px solid var(--ga-line);
	}

	.ga-menu .sub-menu li:last-child {
		border-bottom: 0;
	}

	.ga-menu__row {
		justify-content: space-between;
	}

	.ga-menu a,
	.ga-menu .ga-menu__label {
		flex: 1 1 auto;
		padding: 14px 0;
		font-size: 17px;
		white-space: normal;
	}

	.ga-menu__toggle {
		width: 40px;
		height: 40px;
		margin-left: 0;
		background: rgba(250, 250, 250, 0.06);
	}

	.ga-menu .sub-menu .ga-menu__toggle {
		transform: none;
		margin-left: 8px;
	}

	.ga-menu li.is-open > .ga-menu__row > .ga-menu__toggle,
	.ga-menu .sub-menu li.is-open > .ga-menu__row > .ga-menu__toggle {
		transform: rotate(180deg);
	}

	/* Sub menus become inline accordions. */
	.ga-menu .sub-menu,
	.ga-menu .sub-menu .sub-menu {
		position: static;
		top: auto;
		left: auto;
		right: auto;
		min-width: 0;
		padding: 0 0 8px 14px;
		margin: 0;
		background: transparent;
		border: 0;
		border-left: 2px solid var(--ga-line);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.ga-menu li.is-open > .sub-menu {
		display: block;
	}

	.ga-menu .sub-menu a,
	.ga-menu .sub-menu .ga-menu__label {
		padding: 11px 0;
		font-size: 15px;
	}

	.ga-menu .sub-menu a:hover,
	.ga-menu .sub-menu a:focus-visible {
		background: transparent;
	}

	.ga-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ga-hero {
		min-height: clamp(520px, 74vh, 720px);
		padding: 48px 0 32px;
	}

	/* Copy sits over the middle of the frame, so darken top-to-bottom. */
	.ga-hero__overlay::after {
		background: linear-gradient(
			180deg,
			rgba(10, 10, 10, 0.25) 0%,
			rgba(10, 10, 10, 0.55) 55%,
			rgba(10, 10, 10, 0.8) 100%
		);
	}

	.ga-hero__content {
		max-width: 620px;
		gap: 20px;
	}
}

/* Phones. */
@media (max-width: 767px) {
	:root {
		--ga-gutter: 16px;
		--ga-header-h: 130px;
	}

	.ga-logo__mark {
		width: 38px;
		height: 38px;
	}

	.ga-logo__name {
		font-size: 17px;
	}

	.ga-logo__tag {
		font-size: 10px;
	}

	.ga-footer {
		padding: 20px 0;
	}

	.ga-footer__card {
		padding: 40px 24px 28px;
		border-radius: 16px;
	}

	.ga-footer__top {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ga-footer__cols {
		grid-template-columns: 1fr;
		gap: 0;
	}

	/* Footer columns become accordions. */
	.ga-footer__col {
		border-bottom: 1px solid var(--ga-line);
	}

	.ga-footer__col:first-child {
		border-top: 1px solid var(--ga-line);
	}

	.ga-footer__heading {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0;
		padding: 16px 0;
		cursor: pointer;
	}

	.ga-footer__heading .ga-footer__chevron {
		display: inline-flex;
		flex: 0 0 auto;
		width: 20px;
		height: 20px;
		transition: transform 0.25s var(--ga-ease);
	}

	.ga-footer__chevron svg {
		width: 100%;
		height: 100%;
		fill: var(--ga-accent);
	}

	.ga-footer__col.is-open .ga-footer__chevron {
		transform: rotate(180deg);
	}

	.ga-footer__panel {
		display: none;
		padding-bottom: 20px;
	}

	.ga-footer__col.is-open .ga-footer__panel {
		display: block;
	}

	.ga-footer__bottom {
		margin-top: 32px;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.ga-hero {
		min-height: clamp(440px, 68vh, 620px);
		padding: 40px 0 28px;
	}

	.ga-hero__title {
		font-size: clamp(28px, 7.4vw, 40px);
		line-height: 1.22;
	}

	.ga-hero__desc {
		font-size: 16px;
	}

	.ga-hero__content {
		gap: 18px;
	}

	.ga-hero__dot {
		width: 28px;
	}

	.ga-hero__dot.is-active {
		width: 44px;
	}
}

@media (max-width: 479px) {
	.ga-header__stack {
		padding-inline: 20px;
	}

	.ga-header__mobile-bar {
		gap: 8px;
	}

	.ga-header__mobile-bar .ga-btn {
		padding: 10px 8px;
		font-size: 13.5px;
	}

	.ga-logo__tag {
		display: none;
	}
}

@media (max-width: 359px) {
	.ga-header__mobile-bar .ga-btn {
		font-size: 12.5px;
		letter-spacing: -0.01em;
	}
}

/* =========================================================
   10. Motion & print
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.ga-header,
	.ga-header-overlay,
	.ga-burger {
		display: none !important;
	}

	body {
		padding-top: 0;
	}
}