/* Atlantic Glass design tokens + utilities (ported from Emergent index.css) */
:root {
	--agm-navy: #022e56;
	--agm-navy-dark: #012240;
	--agm-navy-deeper: #011528;
	--agm-navy-soft: #0e4470;
	--agm-teal: #1d8da7;
	--agm-teal-dark: #156e82;
	--agm-teal-light: #3fa9c4;
	--agm-teal-pale: #ddf1f6;
	--agm-glass: #aedae6;
	--agm-glass-pale: #cce8f3;
	--agm-foam: #f0f4f4;
	--agm-glass-mist: #f0f4f4;
	--agm-radius: 0;
	--agm-font-display: "Archivo", sans-serif;
	--agm-font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.agm-theme {
	margin: 0;
	font-family: var(--agm-font-body);
	color: #14212b;
	background: #fff;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.agm-theme h1,
body.agm-theme h2,
body.agm-theme h3,
body.agm-theme h4,
body.agm-theme h5,
body.agm-theme h6,
.font-display {
	font-family: var(--agm-font-display);
	font-weight: 300;
}

::selection {
	background-color: rgba(29, 141, 167, 0.22);
}

:focus-visible {
	outline: 2px solid var(--agm-teal);
	outline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

.container-site {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

@media (min-width: 640px) {
	.container-site {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media (min-width: 1024px) {
	.container-site {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--agm-teal);
}

@media (min-width: 640px) {
	.eyebrow {
		font-size: 0.875rem;
	}
}

.eyebrow::before {
	content: "";
	display: inline-block;
	height: 1px;
	width: 2rem;
	background: var(--agm-teal);
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-light {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0;
	padding: 1rem 2rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	transition: all 0.3s;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	border: none;
	cursor: pointer;
}

@media (min-width: 640px) {
	.btn-primary,
	.btn-secondary,
	.btn-outline,
	.btn-outline-light {
		font-size: 0.875rem;
	}
}

.btn-primary {
	background: var(--agm-teal);
	color: #fff;
}

.btn-secondary {
	background: var(--agm-navy);
	color: #fff;
}

.btn-outline {
	border: 1px solid rgba(2, 46, 86, 0.2);
	background: rgba(255, 255, 255, 0.6);
	color: var(--agm-navy);
}

.btn-outline-light {
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-outline-light:hover {
	transform: translateY(-2px);
}

.btn-primary:hover {
	background: var(--agm-teal-dark);
}

.btn-secondary:hover {
	background: var(--agm-navy-dark);
}

.btn-outline:hover {
	border-color: var(--agm-teal);
	color: var(--agm-teal);
}

.btn-outline-light:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.rule {
	height: 1px;
	width: 100%;
	border: 0;
	background: #e2e8f0;
}

.rule-teal {
	height: 1px;
	width: 100%;
	border: 0;
	background: rgba(29, 141, 167, 0.4);
}

.mirror-frame {
	overflow: visible !important;
	-webkit-box-reflect: below 2px linear-gradient(transparent 58%, rgba(2, 46, 86, 0.3));
}

.img-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease-out;
}

.img-frame:hover img,
.group:hover .img-frame img {
	transform: scale(1.05);
}

.glass-panel {
	border: 1px solid #e2e8f0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(24px);
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee-scroll 30s linear infinite;
}

.marquee-track:hover {
	animation-play-state: paused;
}

.marquee-reverse {
	animation-direction: reverse;
}

@keyframes marquee-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.mask-line {
	display: block;
	overflow: hidden;
}

.mask-line > span {
	display: block;
	transform: translateY(115%);
	animation: line-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes line-up {
	to {
		transform: translateY(0);
	}
}

.load-fade {
	opacity: 0;
	transform: translateY(24px);
	animation: load-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes load-fade-up {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.img-reveal {
	clip-path: inset(0 100% 0 0);
	animation: img-wipe 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.img-reveal img {
	transform: scale(1.15);
	animation: img-settle 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes img-wipe {
	to {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes img-settle {
	to {
		transform: scale(1);
	}
}

.img-scale-in {
	animation: img-scale-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes img-scale-in {
	from {
		transform: scale(1.08);
		opacity: 0.6;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.text-stroke-navy {
	color: transparent;
	-webkit-text-stroke: 1.5px #022e56;
}

.text-stroke-faint {
	color: transparent;
	-webkit-text-stroke: 1px rgba(2, 46, 86, 0.28);
}

.text-stroke-ghost {
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
}

.vertical-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

.hero-cut {
	/* Mobile: no diagonal clip so the hero photo isn't cropped oddly. */
	clip-path: none;
}

.footer-cut {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
}

.bleed-pad-l {
	padding-left: 1.25rem;
}

.bleed-pad-r {
	padding-right: 1.25rem;
}

@media (min-width: 640px) {
	.bleed-pad-l {
		padding-left: 2.5rem;
	}
	.bleed-pad-r {
		padding-right: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.footer-cut {
		clip-path: polygon(0 0, 100% 0, calc(100% - 96px) 100%, 0 100%);
	}
	.hero-cut {
		clip-path: polygon(96px 0, 100% 0, 100% 100%, 0 100%);
	}
	.bleed-pad-l {
		padding-left: max(3rem, calc((100vw - 80rem) / 2 + 3rem));
	}
	.bleed-pad-r {
		padding-right: max(3rem, calc((100vw - 80rem) / 2 + 3rem));
	}
}

.call-card,
.sweep-teal {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.call-card::after,
.sweep-teal::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--agm-teal);
	transform: translateY(101%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.call-card:hover::after,
.call-card:focus-visible::after,
.sweep-teal:hover::after {
	transform: translateY(0);
}

.footer-mark-img {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-mark-img.is-visible {
	opacity: 0.22;
	transform: translateY(0);
}

.agm-footer:hover .footer-mark-img.is-visible {
	opacity: 0.35;
}

.bg-wave-fade {
	background-image: linear-gradient(180deg, #f0f4f4 0%, #ffffff 100%);
}

.bg-dot-grid {
	background-image: radial-gradient(rgba(2, 46, 86, 0.08) 1px, transparent 1px);
	background-size: 22px 22px;
}

.mega-item {
	animation: mega-item-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mega-item-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.strip-reveal {
	opacity: 0;
	transform: translateY(2rem);
	transition: opacity 0.45s ease-in, transform 0.45s ease-in;
}

.group:hover .strip-reveal {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.5s ease-out 0.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.strip-tile {
	transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.strip-tile:hover {
	transition-delay: 0s;
}

.agm-reveal {
	opacity: 0;
	transform: translateY(1.75rem);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.agm-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Elementor full-width section helpers */
.elementor-section.agm-section-flush > .elementor-container {
	max-width: 100% !important;
}

.site-main {
	min-height: 40vh;
}
