/* ============================================================
   The Law Crew — V2 design system
   Zero-build, hand-written CSS. No frameworks.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
	/* Darks */
	--navy-950: #041A30;
	--navy-900: #052241;
	--navy-800: #0A3055;
	--slate: #617E9F;

	/* Accents */
	--blue-300: #A9C7E8;      /* logo powder blue */
	--blue-100: #DCEBFB;
	--tan: #D4B7A4;

	/* Lights */
	--bg-light: #F6F9FD;
	--surface: #FFFFFF;
	--ink: #122A43;
	--body-c: #44586E;

	/* Glass */
	--glass-fill: rgba(255, 255, 255, 0.06);
	--glass-border: rgba(169, 199, 232, 0.25);

	/* Shape & shadow */
	--r-sm: 14px;
	--r-lg: 22px;
	--r-pill: 999px;
	--shadow-card: 0 6px 24px rgba(5, 34, 65, 0.07);
	--shadow-lift: 0 18px 44px rgba(5, 34, 65, 0.14);
	--glow: 0 0 40px rgba(169, 199, 232, 0.35);

	/* Type */
	--font-display: "Space Grotesk", "Inter", sans-serif;
	--font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
	--font-script: "Dancing Script", cursive;

	--container: min(1140px, 92vw);
	--header-h: 76px;
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--body-c);
	background: var(--bg-light);
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 0.6em;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1.2em; }

a {
	color: var(--slate);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover { color: var(--navy-900); }

:focus-visible {
	outline: 2px solid var(--blue-300);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--blue-300);
	color: var(--navy-900);
}

/* ---------- Utilities ---------- */
.container {
	width: var(--container);
	margin-inline: auto;
}

.section {
	padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section--dark {
	background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
	color: rgba(220, 235, 251, 0.82);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
	color: #fff;
}

.section-head {
	max-width: 640px;
	margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--slate);
	margin-bottom: 1.1rem;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--blue-300), var(--tan));
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
	color: var(--blue-300);
}

.text-gradient {
	background: linear-gradient(105deg, var(--blue-100) 0%, var(--blue-300) 48%, var(--tan) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.skip-link {
	position: absolute;
	top: -48px;
	left: 16px;
	z-index: 200;
	background: var(--navy-900);
	color: #fff;
	padding: 0.6rem 1.1rem;
	border-radius: var(--r-sm);
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
	color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	padding: 1rem 1.9rem;
	border-radius: var(--r-pill);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn--primary {
	background: linear-gradient(120deg, var(--blue-100), var(--blue-300));
	color: var(--navy-900);
	box-shadow: 0 8px 24px rgba(169, 199, 232, 0.35);
}

.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(169, 199, 232, 0.55);
	color: var(--navy-950);
}

.btn--ghost {
	background: var(--glass-fill);
	border-color: var(--glass-border);
	color: var(--blue-100);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
	transform: translateY(-2px);
	border-color: var(--blue-300);
	box-shadow: var(--glow);
	color: #fff;
}

.btn--dark {
	background: var(--navy-900);
	color: #fff;
	box-shadow: 0 8px 24px rgba(5, 34, 65, 0.25);
}

.btn--dark:hover {
	transform: translateY(-2px);
	background: var(--navy-800);
	box-shadow: 0 12px 32px rgba(5, 34, 65, 0.35);
	color: #fff;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid transparent;
}

/* Glass layer lives on a pseudo-element: backdrop-filter on the header
   itself would become the containing block for the fixed mobile overlay. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(5, 34, 65, 0.78);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--header-h);
}

.site-header.is-scrolled {
	border-bottom-color: rgba(169, 199, 232, 0.14);
	box-shadow: 0 10px 30px rgba(4, 26, 48, 0.35);
}

.site-header.is-scrolled::before {
	opacity: 1;
}

.wordmark {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
	white-space: nowrap;
}

.wordmark:hover { color: #fff; }

.wordmark .script {
	font-family: var(--font-script);
	font-weight: 600;
	font-size: 1.5em;
	line-height: 1;
	color: var(--blue-300);
	margin-left: 0.12em;
	vertical-align: 0.02em;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 1.9rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(220, 235, 251, 0.85);
	padding: 0.35rem 0;
	position: relative;
}

.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--blue-300), var(--tan));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.nav-links a:hover { color: #fff; }

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
	transform: scaleX(1);
}

.nav-links a[aria-current="page"] { color: #fff; }

.nav-cta {
	padding: 0.7rem 1.4rem;
	font-size: 0.9rem;
}

.nav-toggle {
	display: none;
	position: relative;
	z-index: 120;
	width: 44px;
	height: 44px;
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	background: var(--glass-fill);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	cursor: pointer;
	padding: 0;
}

.nav-toggle span {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--blue-100);
	transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile overlay nav */
@media (max-width: 900px) {
	.nav-toggle { display: block; }

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		flex-direction: column;
		justify-content: center;
		gap: 2.5rem;
		background: rgba(4, 26, 48, 0.92);
		backdrop-filter: blur(22px);
		-webkit-backdrop-filter: blur(22px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s ease, visibility 0.35s ease;
	}

	body.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
	}

	.nav-links {
		flex-direction: column;
		gap: 1.9rem;
		text-align: center;
	}

	.nav-links a {
		font-size: 1.5rem;
		font-weight: 600;
	}

	.nav-cta {
		font-size: 1.05rem;
		padding: 1rem 2.2rem;
	}
}

/* ---------- Ambient orbs & grid ---------- */
.orb-field {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.55;
	animation: orb-drift 22s ease-in-out infinite alternate;
}

.orb--blue {
	width: 46vw;
	height: 46vw;
	min-width: 380px;
	min-height: 380px;
	top: -12%;
	right: -8%;
	background: radial-gradient(circle at 30% 30%, rgba(169, 199, 232, 0.55), rgba(169, 199, 232, 0) 65%);
}

.orb--slate {
	width: 38vw;
	height: 38vw;
	min-width: 320px;
	min-height: 320px;
	bottom: -18%;
	left: -10%;
	background: radial-gradient(circle at 60% 40%, rgba(97, 126, 159, 0.6), rgba(97, 126, 159, 0) 65%);
	animation-duration: 27s;
	animation-delay: -6s;
}

.orb--tan {
	width: 26vw;
	height: 26vw;
	min-width: 240px;
	min-height: 240px;
	top: 38%;
	left: 30%;
	background: radial-gradient(circle at 50% 50%, rgba(212, 183, 164, 0.34), rgba(212, 183, 164, 0) 65%);
	animation-duration: 30s;
	animation-delay: -12s;
}

@keyframes orb-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to   { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}

/* ---------- Hero (home) ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	background:
		radial-gradient(ellipse 120% 90% at 70% -10%, var(--navy-800) 0%, transparent 55%),
		linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 72%);
	color: rgba(220, 235, 251, 0.85);
	overflow: hidden;
	padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.hero h1 {
	color: #fff;
	margin-bottom: 0.45em;
}

.hero-sub {
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	max-width: 560px;
	margin-inline: auto;
	margin-bottom: 2.2rem;
	color: rgba(220, 235, 251, 0.78);
}

.hero .btn-row {
	justify-content: center;
}

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 2.2rem;
	transform: translateX(-50%);
	z-index: 2;
	color: rgba(169, 199, 232, 0.7);
	animation: cue-bob 2.2s ease-in-out infinite;
}

.scroll-cue:hover { color: var(--blue-100); }

@keyframes cue-bob {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 8px); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative;
	background:
		radial-gradient(ellipse 110% 100% at 80% -20%, var(--navy-800) 0%, transparent 55%),
		linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 80%);
	color: rgba(220, 235, 251, 0.82);
	padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 5rem);
	overflow: hidden;
}

.page-hero h1 {
	color: #fff;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	margin-bottom: 0.3em;
}

.page-hero .lede {
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	max-width: 620px;
	margin-bottom: 0;
	color: rgba(220, 235, 251, 0.75);
}

.page-hero .orb { opacity: 0.4; }

/* ---------- Cards ---------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1.4rem;
}

.card {
	background: var(--surface);
	border: 1px solid rgba(18, 42, 67, 0.08);
	border-radius: var(--r-lg);
	padding: 1.9rem 1.7rem;
	box-shadow: var(--shadow-card);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
	transform: translateY(-6px);
	border-color: rgba(169, 199, 232, 0.65);
	box-shadow: var(--shadow-lift), 0 0 0 4px rgba(169, 199, 232, 0.12);
}

.icon-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(169, 199, 232, 0.22), rgba(212, 183, 164, 0.22));
	border: 1px solid rgba(169, 199, 232, 0.35);
	color: var(--navy-800);
	margin-bottom: 1.1rem;
}

.icon-chip svg { width: 26px; height: 26px; }

/* On dark backgrounds the navy stroke disappears — use the light accent. */
.hero .icon-chip,
.section--dark .icon-chip {
	color: var(--blue-100);
	border-color: rgba(169, 199, 232, 0.5);
}

.feature-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.35em;
}

.feature-card p {
	font-size: 0.95rem;
	margin: 0;
}

/* Glass card (dark sections) */
.glass-card {
	background: var(--glass-fill);
	border: 1px solid var(--glass-border);
	border-radius: var(--r-lg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	padding: 2rem 1.8rem;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
	transform: translateY(-6px);
	border-color: rgba(169, 199, 232, 0.55);
	box-shadow: var(--glow);
}

/* ---------- How it works ---------- */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.4rem;
	counter-reset: step;
}

.step-card {
	position: relative;
}

.step-num {
	font-family: var(--font-display);
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(120deg, var(--blue-300), var(--tan));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	display: block;
	margin-bottom: 1rem;
}

.step-card h3 {
	color: #fff;
	font-size: 1.2rem;
}

.step-card p {
	font-size: 0.97rem;
	margin: 0;
	color: rgba(220, 235, 251, 0.72);
}

@media (min-width: 901px) {
	.steps::before {
		content: "";
		position: absolute;
		top: 3.2rem;
		left: 8%;
		right: 8%;
		height: 1px;
		background: linear-gradient(90deg, transparent, rgba(169, 199, 232, 0.4) 20%, rgba(212, 183, 164, 0.4) 80%, transparent);
	}

	.step-card { z-index: 1; }
}

/* ---------- Packages / services ---------- */
.package-card .tagline {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--slate);
	background: rgba(169, 199, 232, 0.16);
	border: 1px solid rgba(169, 199, 232, 0.4);
	border-radius: var(--r-pill);
	padding: 0.3rem 0.85rem;
	margin-bottom: 1.2rem;
}

.checklist {
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.97rem;
}

.checklist svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 0.22em;
	color: var(--slate);
}

/* ---------- Pricing ---------- */
.price-card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.price-card h3 { margin-bottom: 0.2em; }

.price {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	font-weight: 700;
	color: var(--navy-900);
	line-height: 1.1;
}

.price small {
	display: block;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--body-c);
	margin-top: 0.3rem;
}

.price-divider {
	height: 1px;
	background: rgba(18, 42, 67, 0.08);
	margin: 0.9rem 0;
}

/* ---------- Callout / guarantee ---------- */
.callout {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	background: linear-gradient(120deg, rgba(169, 199, 232, 0.14), rgba(212, 183, 164, 0.14));
	border: 1px solid rgba(169, 199, 232, 0.45);
	border-radius: var(--r-lg);
	padding: 1.8rem 2rem;
}

.callout .icon-chip {
	margin: 0;
	flex: 0 0 auto;
}

.callout p { margin: 0; }

.callout strong {
	font-family: var(--font-display);
	color: var(--ink);
}

@media (max-width: 640px) {
	.callout { flex-direction: column; align-items: flex-start; }
}

/* ---------- Team ---------- */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.6rem;
}

.team-card {
	padding: 1.2rem 1.2rem 1.7rem;
}

.team-card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: calc(var(--r-lg) - 8px);
	margin-bottom: 1.3rem;
}

.team-card h3 { margin-bottom: 0.4em; }

.role-chip {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--navy-800);
	background: rgba(212, 183, 164, 0.22);
	border: 1px solid rgba(212, 183, 164, 0.55);
	border-radius: var(--r-pill);
	padding: 0.28rem 0.8rem;
	margin-bottom: 0.7rem;
}

.team-loc {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.88rem;
	color: var(--slate);
	margin-bottom: 0.9rem;
}

.team-loc svg { width: 15px; height: 15px; }

.team-card p {
	font-size: 0.96rem;
	margin: 0;
}

/* ---------- Info lists (requirements / perks) ---------- */
.info-card h3 {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.info-card h3 svg {
	width: 22px;
	height: 22px;
	color: var(--slate);
}

/* ---------- Forms ---------- */
.form-card {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(1.8rem, 4vw, 2.8rem);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}

.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 640px) {
	.form-grid { grid-template-columns: 1fr; }
}

label {
	display: block;
	font-family: var(--font-display);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 0.45rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--bg-light);
	border: 1px solid rgba(18, 42, 67, 0.14);
	border-radius: var(--r-sm);
	padding: 0.85rem 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--blue-300);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(169, 199, 232, 0.28);
}

select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23617E9F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.8rem;
}

.form-note {
	font-size: 0.9rem;
	color: var(--slate);
	margin: 1.1rem 0 0;
}

.btn[disabled] {
	opacity: 0.65;
	cursor: default;
	transform: none !important;
}

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
	border: 1px solid var(--glass-border);
	border-radius: 28px;
	padding: clamp(2.6rem, 6vw, 4.2rem) clamp(1.6rem, 5vw, 4rem);
	text-align: center;
	overflow: hidden;
	color: rgba(220, 235, 251, 0.8);
}

.cta-band h2 { color: #fff; }

.cta-band p {
	max-width: 520px;
	margin: 0 auto 1.9rem;
}

.cta-band .orb { opacity: 0.4; }

.cta-band > .cta-inner {
	position: relative;
	z-index: 2;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy-950);
	color: rgba(220, 235, 251, 0.65);
	padding: clamp(3rem, 7vw, 4.5rem) 0 0;
	font-size: 0.95rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 2.5rem;
	padding-bottom: 2.8rem;
}

@media (max-width: 820px) {
	.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.site-footer .wordmark { font-size: 1.25rem; }

.footer-tag {
	margin: 0.9rem 0 0;
	max-width: 300px;
}

.footer-head {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blue-300);
	margin: 0 0 1.1rem;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.footer-links a,
.footer-contact a {
	color: rgba(220, 235, 251, 0.72);
}

.footer-links a:hover,
.footer-contact a:hover {
	color: var(--blue-100);
}

.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.footer-contact svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--slate);
}

.footer-bar {
	border-top: 1px solid rgba(169, 199, 232, 0.12);
	padding: 1.4rem 0;
	font-size: 0.85rem;
}

.footer-bar .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}

	.orb, .scroll-cue { animation: none; }
}
