/*
 * Matus Law — single front-end stylesheet.
 * Tokens mirror theme.json. Navy + gold; Source Serif 4 display, Public Sans UI.
 *
 * Contrast rule: --gold / --gold-cta are never used as text on light
 * backgrounds; --gold-link is the only gold for text/links on light.
 */

/* ---------- Tokens ---------- */
:root {
	--navy: #0E2036;
	--navy-2: #16324F;
	--ink: #12263D;
	--muted: #5C6B7A;
	--paper: #FAF8F4;
	--card: #FFFFFF;
	--line: #ECE6DA;
	--gold: #C1913E;
	--gold-cta: #D0A24A;
	--gold-link: #8A6524;
	--dark-text: #FFFFFF;
	--dark-secondary: #C3CEDA;
	--dark-tertiary: #9FB0C2;
	--dark-line: rgba(255, 255, 255, 0.14);
	--dark-band: #0B1930;
	--dark-field: #0B1A2C;

	--font-serif: "Source Serif 4", Georgia, serif;
	--font-sans: "Public Sans", system-ui, -apple-system, sans-serif;

	--container: 1200px;
	--gutter: clamp(20px, 5vw, 40px);
	--section-pad: clamp(52px, 6.2vw, 100px);
	--radius: 14px;
	--radius-sm: 10px;

	/* Soft, warm-tinted shadow scale (never pure black). */
	--shadow-sm: 0 1px 2px rgba(14, 32, 54, 0.06), 0 2px 6px rgba(14, 32, 54, 0.06);
	--shadow-md: 0 6px 18px rgba(14, 32, 54, 0.10);
	--shadow-lg: 0 18px 48px rgba(14, 32, 54, 0.16);
}

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4.woff2") format("woff2");
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
	font-weight: 600 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("../fonts/public-sans.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

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

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
	line-height: 1.6;
	color: var(--ink);
	background:
		radial-gradient(1200px 600px at 100% -10%, rgba(193, 145, 62, 0.05), transparent 60%),
		var(--paper);
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1,
h2,
h3,
figure,
p,
ul,
ol {
	margin: 0;
}

ul,
ol {
	padding: 0;
}

a {
	color: var(--gold-link);
}

/* Visible focus everywhere; never remove outlines. */
:focus-visible {
	outline: 3px solid var(--gold-cta);
	outline-offset: 2px;
	border-radius: 4px;
}

.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.trust-strip :focus-visible,
.action-bar :focus-visible {
	outline-color: #FFFFFF;
}

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

.container--narrow {
	max-width: 760px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	background: var(--navy);
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 200;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip-path: none;
	white-space: normal;
	border-radius: 6px;
	outline: 3px solid var(--gold-cta);
}

.section {
	padding-block: var(--section-pad);
}

.section__head {
	margin-bottom: 40px;
	max-width: 720px;
}

.section__head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
	flex-wrap: wrap;
}

.eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-link);
	margin-bottom: 14px;
}

.section__title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
	line-height: 1.15;
	color: var(--ink);
}

.section__lede {
	margin-top: 14px;
	color: var(--muted);
}

/* ---------- Links ---------- */
.link-gold {
	color: var(--gold-link);
	font-weight: 600;
	text-decoration: none;
}

.link-gold:hover {
	text-decoration: underline;
}

.link-gold--caps {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--gold);
	padding-bottom: 2px;
}

.link-gold--caps:hover {
	text-decoration: none;
	color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.btn--lg {
	padding: 13px 28px;
}

.btn--gold {
	background: var(--gold-cta);
	color: var(--navy);
}

.btn--gold:hover {
	background: #DBB260;
}

.btn--navy {
	background: var(--navy);
	color: #FFFFFF;
}

.btn--navy:hover {
	background: var(--navy-2);
}

.btn--ghost {
	background: transparent;
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
	border-color: #FFFFFF;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	border-bottom: 1px solid var(--dark-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 62px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex-shrink: 0;
}

.brand__mark {
	display: block;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

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

.brand__name {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.0625rem;
	color: #FFFFFF;
	white-space: nowrap;
}

.brand__role {
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--dark-secondary);
}

.site-nav__list {
	display: flex;
	gap: 28px;
	list-style: none;
}

.site-nav__list a {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #FFFFFF;
	text-decoration: none;
	padding: 10px 2px;
	white-space: nowrap;
}

.site-nav__list a:hover {
	color: var(--gold-cta);
}

/* Spanish nav labels run longer; tighten spacing so the header keeps to one row. */
html[lang|="es"] .site-nav__list {
	gap: clamp(14px, 1.4vw, 24px);
}

html[lang|="es"] .site-nav__list a {
	letter-spacing: 0.06em;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lang-toggle__list {
	display: flex;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 3px;
	gap: 2px;
}

.lang-toggle__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 30px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--dark-secondary);
	text-decoration: none;
}

.lang-toggle__list .lang-item--active a {
	background: var(--gold-cta);
	color: var(--navy);
}

/* 44px touch targets on coarse pointers without inflating the desktop header. */
@media (pointer: coarse) {
	.lang-toggle__list a {
		min-height: 38px;
		min-width: 44px;
	}

	.lang-toggle__list {
		padding: 3px;
	}
}

.btn--call {
	white-space: nowrap;
}

/* Mobile nav toggle */
.nav-toggle {
	display: none;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nav-toggle__bars span {
	display: block;
	width: 18px;
	height: 2px;
	background: #FFFFFF;
	border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	isolation: isolate;
	background: var(--navy);
	color: #FFFFFF;
	padding-block: clamp(48px, 7vw, 96px);
	min-height: clamp(560px, 78vh, 760px);
	display: grid;
	align-items: center;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: url("../img/hero-southflorida.jpg");
	background-image: -webkit-image-set(url("../img/hero-southflorida.webp") type("image/webp"), url("../img/hero-southflorida.jpg") type("image/jpeg"));
	background-image: image-set(url("../img/hero-southflorida.webp") type("image/webp"), url("../img/hero-southflorida.jpg") type("image/jpeg"));
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(14, 32, 54, 0.94) 0%, rgba(14, 32, 54, 0.80) 42%, rgba(14, 32, 54, 0.45) 100%);
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 56px;
	align-items: start;
	width: 100%;
}

.hero__chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 26px 0 0;
	padding: 0;
}

.hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #FFFFFF;
}

.hero__chip-check {
	color: var(--gold-cta);
	font-size: 0.8125rem;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(208, 162, 74, 0.5);
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-cta);
	margin-bottom: 26px;
}

.hero__eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold-cta);
}

.hero__headline {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem);
	line-height: 1.1;
	color: #FFFFFF;
	max-width: 13em;
}

.hero__headline em {
	font-style: italic;
	color: var(--gold-cta);
}

.hero__subhead {
	margin-top: 22px;
	max-width: 46ch;
	color: var(--dark-secondary);
	font-size: 1.0625rem;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

/* ---------- Action bar (persistent) ---------- */
.action-bar {
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 90;
	display: flex;
	gap: 10px;
}

.action-bar__call,
.action-bar__consult {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
}

.action-bar__call {
	background: var(--navy);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.action-bar__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold-cta);
}

.action-bar__consult {
	background: var(--gold-cta);
	color: var(--navy);
}

/* ---------- Cookie consent ---------- */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 120;
	background: var(--navy);
	color: #FFFFFF;
	border-top: 2px solid var(--gold);
	padding-block: 16px;
}

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}

.cookie-consent__text {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--dark-secondary);
	max-width: 68ch;
	margin: 0;
}

.cookie-consent__text a {
	color: var(--gold-cta);
	text-decoration: underline;
}

.cookie-consent__actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.cookie-consent__btn {
	min-height: 40px;
	padding: 8px 20px;
}

/* Keep the action bar clear of the consent banner while it is showing. */
.has-consent-banner .action-bar {
	display: none;
}

/* Subtle grounding gradient behind the persistent action bar: fades from
 * transparent up top down to the footer navy, so the floating buttons sit on
 * a soft base instead of directly on scrolling content. Shown on all sizes. */
.action-bar__scrim {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 88px;
	z-index: 89;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(14, 32, 54, 0.9) 0%,
		rgba(14, 32, 54, 0.4) 52%,
		rgba(14, 32, 54, 0) 100%
	);
}

/* Hidden alongside the action bar while the consent banner is up. */
.has-consent-banner .action-bar__scrim {
	display: none;
}

/* Desktop: the action bar (and its scrim) reveal only when the user scrolls
 * up; tucked away at the top and while scrolling down, where the hero's own
 * CTAs are already in view. Mobile/tablet keep it persistent. */
@media (min-width: 821px) {
	.action-bar {
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.action-bar__scrim {
		transition: opacity 0.3s ease;
	}

	body.bar-tucked .action-bar {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	body.bar-tucked .action-bar__scrim {
		opacity: 0;
	}
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
	.action-bar {
		transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	}

	body.bar-tucked .action-bar {
		transform: translateX(-50%) translateY(150%);
	}
}

/* ---------- Third-party accessibility widget (UserWay) ----------
 * UserWay is injected site-wide from wp-admin (not part of this theme). Its
 * launcher (.userway_buttons_wrapper) defaults to the bottom-left corner, where
 * on mobile it collides with our persistent action bar and the cookie-consent
 * banner. Lift it clear on small screens. The doubled class + html/body prefix
 * keeps specificity above UserWay's own late-injected styles; !important is
 * required because it sets fixed offsets. No-op on desktop and anywhere the
 * widget is absent (e.g. local dev). */
@media (max-width: 820px) {
	html body .userway_buttons_wrapper.userway_buttons_wrapper {
		bottom: 100px !important;
		left: 12px !important;
		right: auto !important;
		top: auto !important;
	}

	/* While the consent banner is up (action bar hidden), lift higher so the
	 * launcher clears the full-width banner as well. */
	html body.has-consent-banner .userway_buttons_wrapper.userway_buttons_wrapper {
		bottom: 210px !important;
	}
}

@media (max-width: 640px) {
	.cookie-consent__inner {
		justify-content: stretch;
	}

	.cookie-consent__actions {
		width: 100%;
	}

	.cookie-consent__btn {
		flex: 1;
	}
}

/* ---------- Trust strip ---------- */
.trust-strip {
	background: var(--dark-band);
	color: #FFFFFF;
	padding-block: 16px;
}

.trust-strip__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	gap: 8px 0;
}

.trust-strip__list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding-inline: 26px;
}

.trust-strip__list li + li {
	border-left: 1px solid var(--dark-line);
}

.trust-strip__check {
	color: var(--gold-cta);
}

/* ---------- Featured areas ---------- */
.featured-areas {
	background: var(--paper);
}

.featured-areas__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
}

.practice-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--card);
	border: 1px solid var(--line);
	border-top: 2px solid var(--gold);
	border-radius: var(--radius-sm);
	padding: 26px 24px 24px;
}

.practice-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--gold);
	margin-bottom: 18px;
}

.practice-card__title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--ink);
	margin-bottom: 8px;
}

.practice-card__desc {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--muted);
	margin-bottom: 18px;
}

.practice-card__link {
	margin-top: auto;
}

/* ---------- All areas ---------- */
.all-areas {
	background: var(--card);
	border-top: 1px solid rgba(14, 32, 54, 0.07);
}

.all-areas__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 20px;
	list-style: none;
}

.practice-pill a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 12px 18px;
	border: 1px solid rgba(14, 32, 54, 0.12);
	border-radius: var(--radius-sm);
	box-shadow: 0 1px 2px rgba(14, 32, 54, 0.04);
	background: var(--card);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.practice-pill a:hover {
	border-color: var(--gold);
}

.practice-pill__chevron {
	color: var(--gold-link);
	font-size: 1.25rem;
	line-height: 1;
}

.practice-pill--else a {
	background: var(--navy);
	border-color: var(--navy);
	color: #FFFFFF;
	font-weight: 600;
}

.practice-pill--else a:hover {
	background: var(--navy-2);
}

.practice-pill--else .practice-pill__chevron {
	color: var(--gold-cta);
}

/* ---------- How it works ---------- */
.how-it-works {
	background: var(--paper);
	border-top: 1px solid rgba(14, 32, 54, 0.07);
}

.how-it-works__attorney {
	display: flex;
	align-items: center;
	gap: 14px;
}

.how-it-works__attorney img {
	border-radius: 50%;
}

.how-it-works__attorney figcaption {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ink);
	max-width: 12ch;
}

.how-it-works__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	list-style: none;
	margin-top: 8px;
}

.how-it-works__step {
	border-top: 1px solid var(--line);
	padding-top: 24px;
}

.how-it-works__num {
	display: block;
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 600;
	font-size: 1.75rem;
	color: var(--gold-link);
	margin-bottom: 12px;
}

.how-it-works__step-title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--ink);
	margin-bottom: 8px;
}

.how-it-works__step p {
	font-size: 0.9375rem;
	color: var(--muted);
}

.how-it-works__cta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 44px;
}

.how-it-works__or {
	color: var(--muted);
	font-size: 0.9375rem;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--navy);
	color: var(--dark-secondary);
}

.site-footer a {
	color: var(--dark-secondary);
}

.site-footer a:hover {
	color: #FFFFFF;
}

.site-footer__tagline {
	background: var(--dark-band);
	padding-block: 16px;
	text-align: center;
	font-size: 0.9375rem;
	color: #FFFFFF;
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding-block: 56px 40px;
}

.site-footer__name {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.375rem;
	color: #FFFFFF;
	margin-bottom: 14px;
}

.site-footer__contact-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.9375rem;
}

.site-footer__phone {
	color: var(--gold-cta) !important;
	font-weight: 600;
	text-decoration: none;
}

.site-footer__phone:hover {
	text-decoration: underline;
}

.site-footer__heading {
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-cta);
	margin-bottom: 14px;
}

.site-footer__col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.9375rem;
}

.site-footer__col a {
	text-decoration: none;
	display: inline-block;
	padding-block: 2px;
}

.site-footer__col a:hover {
	text-decoration: underline;
}

.site-footer__col a[aria-current="true"] {
	color: #FFFFFF;
	font-weight: 600;
}

.site-footer__legal {
	border-top: 1px solid var(--dark-line);
	padding-block: 24px 90px;
	font-size: 0.8125rem;
	color: var(--dark-tertiary);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.site-footer__legal-links a {
	color: var(--dark-secondary);
	text-decoration: none;
	font-weight: 600;
}

.site-footer__legal-links a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

.site-footer__colophon {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	justify-content: space-between;
}

.site-footer__built a {
	color: var(--dark-secondary);
	text-decoration: none;
	font-weight: 600;
}

.site-footer__built a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

/* ---------- Inner page hero + CTA band ---------- */
.page-hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
	color: #FFFFFF;
	padding-block: 56px;
}

.page-hero__eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-cta);
	margin-bottom: 14px;
}

.page-hero__title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(2rem, 1.6rem + 1.8vw, 2.875rem);
	line-height: 1.1;
	color: #FFFFFF;
}

.page-hero__lede {
	margin-top: 16px;
	max-width: 52ch;
	color: var(--dark-secondary);
	font-size: 1.0625rem;
}

.page-cta {
	background: var(--navy);
	color: #FFFFFF;
	padding-block: 56px;
}

.page-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}

.page-cta__title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem);
	color: #FFFFFF;
}

.page-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ---------- Prose (inner pages) ---------- */
.prose {
	color: var(--ink);
}

.prose h2 {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.75rem);
	color: var(--ink);
	margin-top: 1.6em;
	margin-bottom: 0.5em;
}

.prose h3 {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--ink);
	margin-top: 1.4em;
	margin-bottom: 0.4em;
}

.prose ul,
.prose ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose a {
	color: var(--gold-link);
}

.prose h1 {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
	margin-bottom: 20px;
}

.prose p {
	margin-bottom: 1em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.featured-areas__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero__form {
		max-width: 560px;
	}
}

@media (max-width: 820px) {
	:root {
		--gutter: 20px;
		--section-pad: 40px;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--navy);
		border-bottom: 1px solid var(--dark-line);
		padding: 8px 20px 16px;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		display: block;
		padding: 14px 2px;
		border-bottom: 1px solid var(--dark-line);
	}

	.nav-toggle {
		display: inline-flex;
	}

	.btn--call {
		padding: 10px;
		min-width: 44px;
	}

	.btn--call__label {
		display: none;
	}

	.hero {
		padding-block: 40px 64px;
	}

	.trust-strip__list {
		gap: 10px 0;
	}

	.trust-strip__list li {
		width: 100%;
		padding-inline: 0;
		justify-content: flex-start;
	}

	.trust-strip__list li + li {
		border-left: 0;
	}

	.featured-areas__grid {
		grid-template-columns: 1fr;
	}

	.all-areas__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.practice-pill a {
		font-size: 0.875rem;
		padding: 12px 14px;
	}

	.how-it-works__steps {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.section__head--split {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-block: 40px 28px;
	}

	.action-bar {
		width: calc(100% - 32px);
		max-width: 420px;
	}

	.action-bar__call,
	.action-bar__consult {
		flex: 1;
		justify-content: center;
		padding-inline: 10px;
	}
}

@media (max-width: 480px) {
	:root {
		--gutter: 16px;
	}

	.site-header__inner {
		gap: 8px;
		min-width: 0;
	}

	.site-header__actions {
		gap: 6px;
		flex-shrink: 0;
	}

	.brand {
		gap: 8px;
		min-width: 0;
	}

	.brand__mark {
		width: 34px;
		height: 34px;
		font-size: 0.875rem;
		flex-shrink: 0;
	}

	.brand__name {
		font-size: 0.8125rem;
		/* Never let the wordmark force page overflow; it ellipsizes on very
		 * narrow screens but shows in full from ~360px up. */
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.lang-toggle__list {
		padding: 2px;
	}

	.lang-toggle__list a {
		min-width: 34px;
		padding: 2px 6px;
	}
}

/* ============================================================
   Visual polish pass — additive finishing (depth, rhythm,
   photography, hover/focus). Reuses existing tokens only.
   ============================================================ */

/* --- Buttons: radius, shadow, lift, arrow nudge --- */
.btn {
	border-radius: 10px;
}
.btn--gold {
	box-shadow: var(--shadow-sm);
}
.btn__arrow {
	display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
	.btn {
		transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
	}
	.btn__arrow {
		transition: transform 0.16s ease;
	}
	.btn--gold:hover,
	.btn--navy:hover {
		transform: translateY(-1px);
	}
	.btn--gold:hover {
		box-shadow: var(--shadow-md);
	}
	.btn:hover .btn__arrow {
		transform: translateX(4px);
	}
}

/* --- Recurring gold rule under section eyebrows --- */
.eyebrow::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	background: var(--gold);
	margin-top: 12px;
}

/* --- Section titles: tighter display type --- */
.section__title,
.hero__headline,
.page-hero__title,
.page-cta__title,
.prose h1,
.prose h2 {
	letter-spacing: -0.01em;
}
.hero__headline {
	font-size: clamp(2.5rem, 1.8rem + 3vw, 4.25rem);
	line-height: 1.08;
}

/* --- Header: depth on scroll --- */
@media (prefers-reduced-motion: no-preference) {
	.site-header {
		transition: box-shadow 0.2s ease, background-color 0.2s ease;
	}
}
.site-header.is-scrolled {
	box-shadow: var(--shadow-md);
	background: var(--navy);
}
.site-nav__list a {
	position: relative;
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 2px;
	right: 2px;
	bottom: 4px;
	height: 2px;
	background: var(--gold-cta);
	transform: scaleX(0);
	transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
	.site-nav__list a::after {
		transition: transform 0.18s ease;
	}
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after {
	transform: scaleX(1);
}

/* --- Featured cards: elevation + navy icon tile --- */
.practice-card {
	box-shadow: var(--shadow-sm);
	border-radius: var(--radius);
}
.practice-card__icon {
	background: var(--navy);
	color: var(--gold-cta);
	border: none;
	width: 44px;
	height: 44px;
}
@media (prefers-reduced-motion: no-preference) {
	.practice-card {
		transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	}
	.practice-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--shadow-md);
		border-color: rgba(193, 145, 62, 0.35);
	}
}

/* --- All-areas rows: gold marker + chevron slide --- */
.practice-pill a {
	position: relative;
	overflow: hidden;
}
.practice-pill a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--gold);
	transform: scaleY(0);
	transform-origin: top;
}
.practice-pill__chevron {
	display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
	.practice-pill a::before,
	.practice-pill__chevron {
		transition: transform 0.18s ease;
	}
	.practice-pill a {
		transition: transform 0.18s ease, box-shadow 0.18s ease;
	}
	.practice-pill:not(.practice-pill--else) a:hover {
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(14, 32, 54, 0.08);
	}
}
.practice-pill:not(.practice-pill--else) a:hover {
	background: rgba(14, 32, 54, 0.03);
}
.practice-pill:not(.practice-pill--else) a:hover::before {
	transform: scaleY(1);
}
.practice-pill a:hover .practice-pill__chevron {
	transform: translateX(3px);
}
.practice-pill--else a {
	background: linear-gradient(180deg, rgba(193, 145, 62, 0.10), rgba(193, 145, 62, 0.04)), var(--navy);
}

/* --- How it works: numerals in gold circle --- */
.how-it-works__num {
	width: 54px;
	height: 54px;
	border: 2px solid var(--gold);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	font-size: 1.5rem;
	color: var(--gold-link);
	margin-bottom: 16px;
}

/* --- Attorney medallion (reserved for Michael's real photo) --- */
.attorney-medallion {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--navy);
	box-shadow: var(--shadow-md);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.attorney-medallion__mark {
	width: 76%;
	height: auto;
	display: block;
}

/* --- Image treatments: navy duotone --- */
.duotone {
	position: relative;
	isolation: isolate;
	border-radius: var(--radius);
	overflow: hidden;
}
.duotone img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05) brightness(1.02);
}
.duotone::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 32, 54, 0.55), rgba(14, 32, 54, 0.75));
	mix-blend-mode: multiply;
}

/* --- Trust strip: textured navy band with a low-intensity duotone image --- */
.trust-strip {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.trust-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: url("../img/trust-handshake.jpg");
	background-image: -webkit-image-set(url("../img/trust-handshake.webp") type("image/webp"), url("../img/trust-handshake.jpg") type("image/jpeg"));
	background-image: image-set(url("../img/trust-handshake.webp") type("image/webp"), url("../img/trust-handshake.jpg") type("image/jpeg"));
	background-position: center;
	background-size: cover;
	filter: grayscale(1);
}
.trust-strip::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(11, 25, 48, 0.90), rgba(11, 25, 48, 0.94));
}

/* --- How-it-works supporting image (warm band) --- */
.how-it-works__support {
	margin-top: 48px;
	height: clamp(180px, 22vw, 280px);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
.how-it-works__support picture,
.how-it-works__support img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Footer: gold top rule --- */
.site-footer {
	border-top: 2px solid var(--gold);
}

/* --- Mobile hero scrim: top-to-bottom so copy stays legible --- */
@media (max-width: 820px) {
	.hero::after {
		background: linear-gradient(180deg, rgba(14, 32, 54, 0.92) 0%, rgba(14, 32, 54, 0.88) 55%, rgba(14, 32, 54, 0.92) 100%);
	}
	.how-it-works__support {
		display: none;
	}
}


/* ============================================================
   About page
   ============================================================ */

/* Hero with South Florida photo + navy scrim (mirrors homepage hero) */
.page-hero--image {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(64px, 8vw, 104px);
}
.page-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: -webkit-image-set(url("../img/hero-southflorida.webp") type("image/webp"), url("../img/hero-southflorida.jpg") type("image/jpeg"));
	background-image: image-set(url("../img/hero-southflorida.webp") type("image/webp"), url("../img/hero-southflorida.jpg") type("image/jpeg"));
	background-size: cover;
	background-position: center 28%;
}
.page-hero--image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(118deg, rgba(14, 32, 54, 0.94) 0%, rgba(14, 32, 54, 0.72) 55%, rgba(14, 32, 54, 0.5) 100%);
}

/* Profile: reserved portrait + intro + credentials */
.about-profile {
	background: var(--paper);
}
.about-profile__grid {
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}
.about-profile__body .about-lead {
	max-width: none;
	text-wrap: pretty;
}
.about-profile__body .eyebrow::after {
	margin-inline: auto;
}
.about-portrait {
	margin: 0;
}
.about-portrait__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: linear-gradient(160deg, #FFFFFF, var(--paper));
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: rgba(14, 32, 54, 0.34);
}
.about-portrait__frame::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px dashed rgba(14, 32, 54, 0.14);
	border-radius: calc(var(--radius) - 4px);
	pointer-events: none;
}
.about-portrait__note {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.about-portrait__cap {
	margin-top: 16px;
	text-align: center;
}
.about-portrait__cap strong {
	display: block;
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--ink);
}
.about-portrait__cap span {
	display: block;
	margin-top: 2px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-link);
}
.about-profile__body .section__title {
	margin-top: 8px;
}
.about-lead {
	margin-top: 14px;
	max-width: 54ch;
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.55;
	color: var(--ink);
}
.about-credline {
	margin-top: 18px;
	font-size: 0.9375rem;
	color: var(--muted);
}
.about-placeholder-hint {
	margin-top: 16px;
	padding-left: 12px;
	border-left: 3px solid rgba(208, 162, 74, 0.5);
	font-style: italic;
	font-size: 0.9375rem;
	color: var(--muted);
}

/* At a glance */
.about-glance {
	background: var(--card);
	border-top: 1px solid rgba(14, 32, 54, 0.07);
}
.about-glance__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
}
.about-glance__item {
	text-align: center;
	padding: 26px 16px;
	border: 1px solid rgba(14, 32, 54, 0.1);
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: 0 1px 2px rgba(14, 32, 54, 0.04);
}
.about-glance__num {
	display: block;
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem);
	line-height: 1.1;
	color: var(--gold-link);
}
.about-glance__label {
	display: block;
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--muted);
}

/* Narrative (editable prose) */
.about-narrative {
	background: var(--paper);
	border-top: 1px solid rgba(14, 32, 54, 0.07);
}

/* Approach values */
.about-approach {
	background: var(--card);
	border-top: 1px solid rgba(14, 32, 54, 0.07);
}
.about-values {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	margin-top: 8px;
}
.about-value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--navy);
	color: var(--gold-cta);
	margin-bottom: 16px;
}
.about-value__title {
	font-family: var(--font-serif);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--ink);
	margin-bottom: 6px;
}
.about-value p {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--muted);
}

/* Image band */
.about-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(48px, 6vw, 84px);
	color: #FFFFFF;
}
.about-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: -webkit-image-set(url("../img/consult-desk.webp") type("image/webp"), url("../img/consult-desk.jpg") type("image/jpeg"));
	background-image: image-set(url("../img/consult-desk.webp") type("image/webp"), url("../img/consult-desk.jpg") type("image/jpeg"));
	background-size: cover;
	background-position: center;
}
.about-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(115deg, rgba(14, 32, 54, 0.9) 0%, rgba(14, 32, 54, 0.72) 60%, rgba(14, 32, 54, 0.58) 100%);
}
.about-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}
.about-band__text {
	margin: 0;
	max-width: 36ch;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
	line-height: 1.35;
}

/* Areas (reuses .all-areas pill styles) */
.about-areas {
	background: var(--paper);
}

/* Testimonials (placeholder) */
.about-testimonials {
	background: var(--card);
	border-top: 1px solid rgba(14, 32, 54, 0.07);
}
.about-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	list-style: none;
	margin-top: 8px;
}
.about-quote {
	padding: 26px 24px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
}
.about-quote.is-placeholder {
	border-style: dashed;
	border-color: rgba(14, 32, 54, 0.18);
}
.about-quote blockquote {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--muted);
}
.about-quote__cite {
	margin-top: 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.about-note {
	margin-top: 22px;
	text-align: center;
	font-size: 0.8125rem;
	font-style: italic;
	color: var(--muted);
}

/* About responsive */
@media (max-width: 900px) {
	.about-glance__grid,
	.about-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.about-quotes {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 700px) {
	.about-profile__grid {
		grid-template-columns: 1fr;
	}
	.about-portrait {
		max-width: 260px;
	}
	.about-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
@media (max-width: 480px) {
	.about-glance__grid {
		grid-template-columns: 1fr 1fr;
	}
}


/* Long lists in the About narrative flow into two columns on wider screens. */
.about-narrative .prose ul.about-cols {
	columns: 2;
	column-gap: 40px;
}
.about-narrative .prose ul.about-cols li {
	break-inside: avoid;
}
@media (max-width: 600px) {
	.about-narrative .prose ul.about-cols {
		columns: 1;
	}
}
