/*
 * Mihael Law — main stylesheet
 *
 * Palette and type are taken from the Lovable build (see
 * aaa_reference/lovable-design-tokens.md). Source values were oklch; the hex
 * equivalents are used here so older browsers get the same colours.
 */

:root {
	--navy: #151e35;
	--cream: #fbf7ee;
	--gold: #cd9a50;
	--ink: #0f1624;
	--muted: #f0ebe0;
	--muted-ink: #505561;
	--border: #dcd7cd;
	--white: #fff;

	--font-display: Fraunces, ui-serif, Georgia, serif;
	--font-body: Inter, ui-sans-serif, system-ui, sans-serif;

	--radius: 0;
	--wrap: 72rem;   /* Lovable's container is 1200px wide *including* 24px padding */
	--gutter: 1.5rem;
	--header-h: 5rem;

	--shadow-card: 0 2px 12px -4px rgb(21 30 53 / 0.15);
	--shadow-elegant: 0 20px 60px -20px rgb(21 30 53 / 0.35);
}

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--navy);
	margin: 0 0 0.5em;
}

h1 { font-size: 3rem; }

@media (min-width: 48rem) {
	h1 { font-size: 3.75rem; }
}
h2 { font-size: 2.25rem; line-height: 1.111; }

@media (min-width: 48rem) {
	h2 { font-size: 3rem; line-height: 1; }
}
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.25rem; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }

.wrap {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
}

.eyebrow {
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1rem;
}

/* The hero pairs its eyebrow with a short rule; inner page headers do not. */
.hero .eyebrow::before {
	content: "";
	display: inline-block;
	width: 2rem;
	height: 1px;
	background: currentColor;
	vertical-align: middle;
	margin-right: 0.75rem;
}

/*
 * Standalone gold rule above section headings: 40x2 in the design. The
 * testimonials head is the one place Lovable draws it a hairline instead.
 */
.rule {
	display: block;
	width: 2.5rem;
	height: 2px;
	background: var(--gold);
	margin-bottom: 1rem;
}

.quotes-head .rule { height: 1px; }

.lede { font-size: 1.125rem; line-height: 1.625; max-width: 36rem; }

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

.skip-link {
	position: absolute;
	left: -9999px;
	background: var(--navy);
	color: var(--cream);
	padding: 0.75rem 1rem;
	z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-block;
	cursor: pointer;
	padding: 0.875rem 1.75rem;
	font-size: 0.875rem;
	line-height: 1.4286;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--radius);
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
		transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/*
 * The gold button lifts rather than darkening, matching the Lovable build
 * (transition-transform hover:-translate-y-0.5). Its fill stays constant.
 */
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: #22304f; }

.btn-ghost {
	border-color: color-mix(in srgb, currentColor 30%, transparent);
	color: inherit;
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); }

.arrow-link {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
}
.arrow-link::after { content: " \2192"; color: var(--gold); }
.arrow-link:hover { color: var(--gold); }

/* ---------- Header ---------- */

.site-header {
	background: rgb(251 247 238 / 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgb(220 215 205 / 0.6);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem;
	min-height: var(--header-h);
}

.brand img { height: 2.5rem; width: auto; display: block; }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background: none;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	cursor: pointer;
}

.nav-toggle-bars { display: block; width: 1.25rem; }
.nav-toggle-bars span {
	display: block;
	height: 2px;
	background: var(--navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars span + span { margin-top: 4px; }

[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav {
	position: absolute;
	inset: var(--header-h) 0 auto;
	background: var(--cream);
	border-bottom: 1px solid var(--border);
	padding: 1rem var(--gutter) 1.5rem;
	display: none;
	box-shadow: var(--shadow-card);
}

body.nav-open .primary-nav { display: block; }

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	display: block;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-decoration: none;
	color: rgb(15 22 36 / 0.8);
	border-bottom: 1px solid var(--border);
}

.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--navy); }

/*
 * One call button, two positions: centred between the logo and the hamburger
 * on mobile, pushed past the nav to the far right on desktop.
 */
.header-phone {
	justify-self: center;
	padding: 0.625rem 1.25rem;
	border-width: 0;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: none;
	white-space: nowrap;
}

@media (max-width: 22.5rem) {
	.header-inner { gap: 0.5rem; }
	.header-phone { padding: 0.55rem 0.7rem; font-size: 0.75rem; }
}

@media (min-width: 60rem) {
	.header-inner {
		display: flex;
		justify-content: space-between;
		gap: 1.5rem;
	}

	/* logo | nav | call button, so the links land in the middle of the bar */
	.brand { order: 1; }
	.primary-nav { order: 2; }
	.header-phone { order: 3; }

	.nav-toggle { display: none; }

	.primary-nav {
		position: static;
		display: flex;
		align-items: center;
		gap: 2rem;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: none;
	}

	.nav-list { display: flex; gap: 2rem; }
	.nav-list a { padding: 0; border: 0; }
}

/* ---------- Hero ---------- */

/*
 * The design gives the hero its height with padding alone — 112px, 160px from
 * 48rem up — and no min-height. A viewport-height floor made it shorter than
 * the design on a tall window and taller on a short one.
 */
.hero {
	position: relative;
	display: grid;
	align-items: center;
	padding: 7rem 0;
	background: var(--navy);
	color: var(--cream);
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: 0.55;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(21 30 53 / 0.92) 0%, rgb(21 30 53 / 0.65) 55%, rgb(21 30 53 / 0.45) 100%);
}

.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
	color: var(--cream);
	max-width: 16ch;
	font-size: 3rem;
	line-height: 1.05;
	margin-bottom: 0;
}

.hero .eyebrow { line-height: 1.3333; margin-bottom: 1.5rem; }
.hero .lede { margin-top: 1.5rem; margin-bottom: 0; }
.hero .actions { margin-top: 2.5rem; margin-bottom: 0; }
.hero .lede { color: rgb(251 248 237 / 0.8); }

@media (min-width: 48rem) {
	.hero { padding: 10rem 0; }
	.hero h1 { font-size: 4.5rem; }
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

/* ---------- Sections ---------- */

/*
 * The design bands sections at a fixed 96px top and bottom at every width —
 * not a viewport clamp, which collapsed to 56px on a phone and pulled the
 * sections together.
 */
.section { padding: 6rem 0; }

/* The intro split runs slightly tighter and closes on a hairline. */
.section-split {
	padding: 5rem 0;
	border-bottom: 1px solid rgb(220 215 205 / 0.6);
}

/* Prose in the split's body column, a shade lighter than full ink. */
.two-col > :last-child p {
	font-size: 1.125rem;
	line-height: 1.625;
	color: rgb(15 22 36 / 0.8);
}
.section-muted { background: var(--muted); }
.section-white { background: var(--white); }

.section-navy {
	background: var(--navy);
	color: rgb(251 247 238 / 0.82);
}
.section-navy h2, .section-navy h3 { color: var(--cream); }

.two-col {
	display: grid;
	gap: 2.5rem;
}

/*
 * The design lays the split across twelve columns and gives the heading five
 * of them, so it breaks a line earlier than an even split would.
 */
@media (min-width: 48rem) {
	.two-col { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
	.two-col > :first-child { grid-column: span 5; }
	.two-col > :last-child { grid-column: span 7; }
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.section-head h2 { margin-bottom: 0; }

/* The lede under a section heading is a notch smaller and lighter than body copy. */
.section-head p {
	margin: 0.75rem 0 0;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.5;
	color: rgb(15 22 36 / 0.7);
}

/* ---------- Cards ---------- */

/*
 * The cards read as one bordered table rather than separate tiles: the grid
 * paints the border colour and a 1px gap lets it through between cells, so
 * every divider is a single hairline with no doubling at the seams.
 */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
}

@media (min-width: 40rem) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
	.card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
	background: var(--white);
	border: 0;
	border-radius: 0;
	padding: 2rem;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.card:hover { background: var(--navy); }
.card:hover h3 { color: var(--cream); }
.card:hover p { color: rgb(251 247 238 / 0.75); }

.card h3 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.card p { margin: 0; font-size: 0.875rem; line-height: 1.625; color: var(--muted-ink); }

.card-num {
	display: block;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--gold);
	margin-bottom: 1rem;
}

/* ---------- Quotes ---------- */

/*
 * Quotes are set in the display serif against a gold rule — no card fill.
 * On the dark homepage band the heading sits in its own column beside them;
 * on a light page they run as one stack with hairlines between.
 */
/* A plain stack of quotes runs a shorter band than the dark aside version. */
.quotes-stack { padding: 5rem 0; }

.quotes-aside { display: grid; gap: 3rem; }

@media (min-width: 60rem) {
	.quotes-aside { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
	.quotes-aside > :first-child { grid-column: span 4; }
	.quotes-aside > :last-child { grid-column: span 8; }
}

.quotes-head h2 { margin-bottom: 0; font-size: 2.25rem; line-height: 1.111; }
.quotes-head .arrow-link { display: inline-block; margin-top: 2rem; }
.section-navy .quotes-head .arrow-link { color: var(--gold); }

.quote-grid { display: grid; gap: 2rem; }

@media (min-width: 52rem) {
	.quotes-aside .quote-grid { grid-template-columns: repeat(2, 1fr); }
}

.quote {
	display: flex;
	flex-direction: column;
	margin: 0;
	border-left: 2px solid rgb(205 154 80 / 0.6);
	padding: 0 0 0 1.5rem;
	background: none;
	box-shadow: none;
}

.quote blockquote {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.625;
}

/*
 * Typeset the quotation marks so the stored text stays clean to edit. On the
 * stacked list the design wraps its marks in a gold span; colouring the
 * pseudo-elements gets that without putting markup in the client's content.
 * The dark homepage band leaves them the colour of the quote, so this is
 * scoped rather than global.
 */
.quotes-stack .quote blockquote::before,
.quotes-stack .quote blockquote::after { color: var(--gold); }

.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }

.quote figcaption {
	margin-top: auto;
	padding-top: 1.25rem;
	line-height: 1.3333;
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--muted-ink);
}

/* Gold reads on the dark band; the light page uses the muted ink. */
.section-navy .quote figcaption { color: var(--gold); }

/* The rule stays gold even where the name beside it is muted. */
.quote figcaption::before {
	content: "";
	display: inline-block;
	width: 2rem;
	height: 1px;
	background: var(--gold);
	vertical-align: middle;
	margin-right: 0.75rem;
}

.section-navy .quote blockquote { color: rgb(251 247 238 / 0.95); }

/*
 * Single stack: hairlines instead of a left rule, and the quote is set larger
 * because it is the whole page rather than one column of a section.
 */
.quote-stack {
	gap: 3rem;
	max-width: 56rem;
	margin-inline: auto;
}

.quote-stack .quote {
	border-left: 0;
	padding: 0;
}

.quote-stack .quote blockquote {
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	color: var(--navy);
}

.quote-stack .quote + .quote {
	border-top: 1px solid rgb(220 215 205 / 0.6);
	padding-top: 2.5rem;
}

/* ---------- Numbered advice list ---------- */

.steps { display: grid; gap: 2.5rem; }

.step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5rem;
}

/* The numeral carries the rhythm here, so the list needs no dividers. */
.step-num {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1;
	color: var(--gold);
}

.step p { margin: 0; font-size: 1.125rem; line-height: 1.625; }

/* ---------- Facts strip ---------- */

.facts {
	display: grid;
	gap: 1.5rem;
	padding: 2rem 0;
	border-block: 1px solid var(--border);
	margin-bottom: 3rem;
}

@media (min-width: 46rem) {
	.facts { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* The design sets every gold label at regular weight, not semibold. */
.fact-label {
	font-size: 0.75rem;
	line-height: 1.3333;
	font-weight: 400;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.35rem;
}

.fact-value { margin: 0; font-size: 1rem; }

/*
 * Facts-as-sidebar: the strip becomes a narrow column that stays in view while
 * the body copy scrolls beside it.
 */
.profile-grid { display: grid; gap: 4rem; }

@media (min-width: 60rem) {
	.profile-grid { grid-template-columns: repeat(12, 1fr); }
	.profile-grid > :first-child { grid-column: span 4; }
	.profile-grid > :last-child { grid-column: span 8; }

	.profile-grid .facts {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
		align-self: start;
	}
}

/*
 * As a sidebar the fact strip drops the border, padding and the 3rem bottom
 * margin it carries as a standalone strip — inside this grid that margin sat
 * on top of the 64px row gap and pushed the prose 48px further down on a phone.
 */
.profile-grid .facts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	border: 0;
	padding: 0;
	margin-bottom: 0;
}

.profile-grid .fact-label { letter-spacing: 0.25em; margin-bottom: 0.25rem; }
.profile-grid .fact-value { font-size: 0.875rem; line-height: 1.4286; color: rgb(15 22 36 / 0.8); }

/* The founding year is the one fact set as a display figure. */
.profile-grid .facts > div:first-child .fact-value {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--navy);
	line-height: 1.2;
}

.facts-action { margin: 1rem 0 0; }
.facts-action .btn {
	padding: 0.75rem 1.5rem;
	font-size: 0.75rem;
	line-height: 1.3333;
	border-width: 0;
}

/* The opening paragraph carries the page, so it is set in the display serif. */
.profile-body > p:first-child {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.625;
	color: var(--navy);
	margin-bottom: 2rem;
}

/*
 * Prose sits a shade lighter than full ink and the closing line steps up to
 * medium navy. That contrast is where the design gets its emphasis, so the
 * client does not have to bold anything by hand.
 */
.profile-body p {
	font-size: 1.125rem;
	line-height: 1.625;
	margin-bottom: 1.5rem;
	color: rgb(15 22 36 / 0.8);
}

.profile-body > p:last-child {
	margin-bottom: 0;
	font-weight: 500;
	color: var(--navy);
}

/* ---------- Page header ---------- */

/*
 * A content band sitting under the navy header runs at 80px, not the 96 a
 * homepage band uses. The About profile is the one the design keeps at 96.
 * Declared here, above the boxed-CTA rule, so that rule still wins the bottom.
 */
.page-head + .section { padding: 5rem 0; }
.page-head + .section.profile { padding: 6rem 0; }

/* Fixed bands like every other section, and the design closes it on a hairline. */
.page-head {
	background: var(--navy);
	color: var(--cream);
	padding: 6rem 0;
	border-bottom: 1px solid rgb(220 215 205 / 0.6);
}

.page-head .eyebrow { line-height: 1.3333; margin-bottom: 1rem; }

.page-head h1 {
	color: var(--cream);
	max-width: 48rem;
	line-height: 1.25;
	margin-bottom: 0;
}

.page-head .lede {
	color: rgb(251 247 238 / 0.82);
	max-width: 42rem;
	line-height: 1.5556;
	margin: 1.5rem 0 0;
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 3rem; }

@media (min-width: 48rem) {
	.contact-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
	.contact-grid > :first-child { grid-column: span 5; }
	.contact-grid > :last-child { grid-column: span 7; }
}

.contact-detail + .contact-detail { margin-top: 2rem; }
/* The site's base is 18px; these follow the design's 16 like the rest of the column. */
.contact-detail p { font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
/* Both outrank `.contact-detail p` above, which would otherwise resize them. */
.contact-detail .fact-label { font-size: 0.75rem; line-height: 1.3333; margin-bottom: 0.5rem; }
.contact-detail .contact-firm { font-size: 1.5rem; line-height: 1.3333; }

.contact-firm {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--navy);
	line-height: 1.3333;
}

.contact-phone a {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.2;
	color: var(--navy);
	text-decoration: none;
}

.contact-phone a:hover { color: var(--gold); }

/* The form sits in a card so it reads as a distinct task on the page. */
.contact-card {
	background: var(--white);
	border: 1px solid var(--border);
	padding: 2rem;
	box-shadow: var(--shadow-card);
}

.contact-card h2 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

/*
 * Name and phone only pair up at 40rem. The design keeps them stacked below
 * that, where two fields side by side would each be too narrow to read.
 */
.form-row {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

.form-row .form-field { margin-bottom: 0; }

@media (min-width: 40rem) {
	.form-row { grid-template-columns: 1fr 1fr; }
}

/* The v2 widget is a fixed-size iframe; give it room without stretching it. */
.form-recaptcha { margin-bottom: 1rem; }
.form-recaptcha .g-recaptcha { transform-origin: 0 0; }

.form-submit {
	cursor: pointer;
	width: 100%;
	margin-top: 0.5rem;
	padding-block: 0.8125rem;   /* 13 + 20 line + 13 + 2px border = the design's 48 */
	line-height: 1.4286;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
	display: block;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-ink);
	margin-bottom: 0.5rem;
}

/*
 * 42px tall: 20px of text on 10px of padding inside a 1px border. Setting the
 * line-height explicitly is what pins the height, since `font: inherit` would
 * otherwise pull the body's 1.65.
 */
.form-field input,
.form-field textarea {
	display: block;
	width: 100%;
	padding: 0.625rem 0.75rem;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.4286;
	color: var(--ink);
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.form-field input:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 2px rgb(205 154 80 / 0.4);
}

.form-field textarea { min-height: 8.875rem; resize: vertical; }

.form-note {
	font-size: 0.8125rem;
	color: var(--muted-ink);
	margin-top: 1.25rem;
}

/* ---------- CTA ---------- */

.cta {
	background: var(--cream);
	color: var(--muted-ink);
	padding: 6rem 0;
	text-align: center;
}

/* The boxed variant is the same content inside a card, for mid-page use. */
/*
 * A boxed CTA closes the section above it rather than opening a band of its
 * own: the design leaves 64px between the cards and the card, and 80px under
 * it before the footer's own float. Our two are separate <section>s, so the
 * one above gives up its bottom padding.
 */
.section:has(+ .cta-boxed) { padding-bottom: 0; }
.cta.cta-boxed { padding: 4rem 0 5rem; }

.cta-boxed .cta-inner {
	background: var(--white);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-card);
	padding: 2.5rem;
}

.cta.cta-boxed h2 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 0; }
.cta.cta-boxed p { font-size: 1rem; line-height: 1.5; margin: 0.75rem auto 0; }
.cta.cta-boxed .actions { margin-top: 2rem; }
.cta.cta-boxed .btn { padding: 0.75rem 1.5rem; }

.cta h2 { color: var(--navy); }
.cta p {
	max-width: 36rem;
	margin-inline: auto;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: rgb(16 21 36 / 0.7);
}
.cta .actions { justify-content: center; margin-top: 2.5rem; margin-bottom: 0; }
.cta .rule { margin-inline: auto; }
.cta .btn-ghost { color: var(--navy); border-color: var(--border); }
.cta .btn-ghost:hover { background: rgb(21 30 53 / 0.05); }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--navy);
	color: rgb(251 247 238 / 0.75);
	margin-top: 6rem;
	border-top: 1px solid rgb(220 215 205 / 0.6);
	padding: 4rem 0 0;
	font-size: 0.875rem;
}

.footer-grid { display: grid; gap: 2rem; }

@media (min-width: 52rem) {
	.footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.footer-name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.3333;
	color: var(--cream);
	margin-bottom: 0.75rem;
}

.footer-tag {
	font-size: 0.875rem;
	line-height: 1.25rem;
	max-width: 20rem;
	color: rgb(251 247 238 / 0.7);
}

.site-footer address { font-style: normal; line-height: 1.625; margin-bottom: 0.75rem; }

/* `.footer-col p` (0,1,1) outranks a bare `.footer-label` (0,1,0), so qualify it. */
.site-footer .footer-label {
	font-size: 0.75rem;
	line-height: 1.3333;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.75rem;
}

.footer-col p { margin-bottom: 0.5rem; }
.footer-hours { font-size: 0.8125rem; opacity: 0.75; }

.site-footer a { color: rgb(251 247 238 / 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-phone { color: var(--gold); }
.site-footer .footer-phone:hover { text-decoration: underline; }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { line-height: 1.25rem; margin-bottom: 0.5rem; }
.footer-list li:last-child { margin-bottom: 0; }

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: 4rem;
	padding: 1.375rem 0;
	border-top: 1px solid rgb(251 247 238 / 0.1);
	font-size: 0.75rem;
	opacity: 0.7;
}

.footer-legal p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Form status ---------- */

.form-status {
	padding: 0.9rem 1.15rem;
	border-radius: var(--radius);
	border-left: 3px solid;
	font-size: 1rem;
}

/* Success reads as a solid navy panel — hard to miss, and clearly a result. */
.form-status-ok {
	background: var(--navy);
	border-color: var(--gold);
	color: var(--cream);
	font-weight: 500;
}

.form-status-bad { background: #fdf1ec; border-color: #c0492b; color: #7d2d1a; }

/* A field that needs attention, and the reason under it. */
.form-field.has-error input,
.form-field.has-error textarea { border-color: #c0492b; }

.field-error {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #a33b22;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.btn-gold:hover { transform: none; }
}
