/* =========================================================================
   Marsi Housing CIC — website styles
   Colours are taken from the logo: Marsi blue, roof green, roof-trim orange.
   ========================================================================= */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--blue: #204395;
	--blue-mid: #3A5FB5;
	--blue-pale: #C9D6EF;
	--green: #3DA036;
	--green-deep: #2A7D24;
	--green-pale: #CFEBC9;
	--ember: #C7541E;
	--ink: #14244F;
	--ink-soft: #46557A;
	--mist: #EEF3FA;
	--sky: #DCE7F6;
	--sprout: #EEF6EC;
	--stone: #D5DDEB;
	--white: #FFFFFF;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--radius: 20px;
	--arch: 999px 999px 24px 24px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }

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

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

a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-variation-settings: "SOFT" 100, "WONK" 0;
	font-optical-sizing: auto;
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.012em;
	color: var(--blue);
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.lede { font-size: clamp(1.2rem, 1.8vw, 1.375rem); line-height: 1.55; color: var(--ink); max-width: 36em; }
.small { font-size: 1rem; color: var(--ink-soft); }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
	position: absolute; left: 12px; top: -80px; z-index: 200;
	background: var(--white); color: var(--blue); font-weight: 700;
	padding: 12px 18px; border-radius: 10px; box-shadow: 0 6px 24px rgba(20, 36, 79, .25);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--sprout { background: var(--sprout); }
.section--tight-top { padding-top: clamp(32px, 4vw, 56px); }

.measure { max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.2rem; color: var(--ink-soft); }

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px;
	font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
	border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--green { background: var(--green-deep); color: var(--white); }
.btn--green:hover { background: var(--ink); color: var(--white); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--green-pale); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
	font-weight: 700; color: var(--blue); text-decoration: underline;
	text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.text-link:hover { color: var(--green-deep); text-decoration-color: currentColor; }

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

.topbar { background: var(--ink); color: #DCE4F3; font-size: .95rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar p { margin: 0; }
.topbar ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--green-pale); }
.topbar svg { width: 16px; height: 16px; color: #8FD486; }

.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--stone); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(20, 36, 79, .55); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 88px; }

.brand img { height: 64px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list a {
	display: block; padding: 10px 12px; border-radius: 10px;
	font-weight: 600; font-size: 1.03rem; color: var(--ink); text-decoration: none;
}
.nav__list a:hover { color: var(--blue); background: var(--mist); }
.nav__list a[aria-current="page"],
.nav__list .is-section > a { color: var(--blue); box-shadow: inset 0 -3px 0 var(--green); border-radius: 10px 10px 0 0; }
.nav__toggle-sub {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; margin-left: -6px; padding: 0;
	border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer;
}
.nav__toggle-sub svg { width: 18px; height: 18px; transition: transform .2s ease; }
.nav__toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px;
	background: var(--white); border: 1px solid var(--stone); border-radius: 16px;
	box-shadow: 0 24px 50px -26px rgba(20, 36, 79, .5);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__sub a { font-weight: 500; padding: 12px 14px; }
.has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) {
	.has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
}

.menu-btn {
	display: none; margin-left: auto; align-items: center; gap: 8px;
	padding: 10px 18px; min-height: 46px; border: 0; border-radius: 999px;
	background: var(--mist); color: var(--blue); font: 700 1rem var(--font-body); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 1100px) {
	.menu-btn { display: inline-flex; }
	.header .wrap { flex-wrap: wrap; min-height: 76px; }
	.brand img { height: 54px; }
	.nav {
		display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 18px;
		margin: 0; padding: 4px 0 26px; max-height: calc(100dvh - 130px); overflow-y: auto;
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--stone); }
	.nav__list > li > a { flex: 1; padding: 15px 4px; font-size: 1.15rem; border-radius: 0; }
	.nav__list a[aria-current="page"], .nav__list .is-section > a { box-shadow: none; color: var(--green-deep); }
	.nav__toggle-sub { width: 48px; height: 48px; margin: 0; }
	.nav__sub {
		position: static; display: none; flex-basis: 100%; min-width: 0;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		background: var(--mist); margin: 0 0 14px; padding: 6px;
	}
	.has-sub.is-open > .nav__sub { display: block; }
	.nav .btn { align-self: flex-start; }
}
@media (max-width: 640px) {
	.topbar p, .topbar .hide-sm { display: none; }
	.topbar .wrap { justify-content: center; }
	.topbar ul { gap: 18px; font-size: .9rem; }
	.brand img { height: 48px; }
}

/* ---------- Home hero ---------- */

.hero { background: var(--sky); overflow: hidden; }
.hero__text { padding-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.hero h1 { margin-bottom: 0; max-width: 13em; }
.hero__side .lede { margin-bottom: 24px; }
.hero__art { margin-top: clamp(24px, 4vw, 48px); }
.hero__art img { width: 100%; min-width: 820px; margin-inline: auto; }
.hero__note { font-size: 1rem; color: var(--ink-soft); margin-top: 18px; }
@media (max-width: 900px) {
	.hero__text { grid-template-columns: 1fr; }
	.hero__art img { min-width: 760px; margin-left: 50%; transform: translateX(-50%); }
}
@media (prefers-reduced-motion: no-preference) {
	.hero__art img { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
	@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
	@media (max-width: 900px) {
		@keyframes rise { from { opacity: 0; transform: translate(-50%, 28px); } to { opacity: 1; transform: translateX(-50%); } }
	}
}

/* ---------- Inner page hero ---------- */

.page-hero { background: var(--mist); padding-block: clamp(48px, 7vw, 88px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.page-hero--plain .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero .lede { margin-bottom: 26px; }
.page-hero .lede:last-child { margin-bottom: 0; }
.crumbs { font-size: .95rem; margin-bottom: 18px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs span[aria-hidden] { margin-inline: 8px; }
@media (max-width: 860px) {
	.page-hero .wrap { grid-template-columns: 1fr; }
	.page-hero .frame--arch { max-width: 440px; }
}

/* ---------- Picture frames ---------- */

.frame { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.frame img { width: 100%; }
.frame--arch { border-radius: var(--arch); position: relative; }
.frame--arch::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: inset 0 0 0 10px var(--white); pointer-events: none;
}
.frame--arch-green::after { box-shadow: inset 0 0 0 10px var(--green); }

/* ---------- Layout helpers ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--wide-text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--top { align-items: start; }
.split--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
@media (max-width: 900px) {
	.split, .split--wide-text, .split--form { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
}

.stack > * + * { margin-top: 18px; }

.grid { display: grid; gap: clamp(28px, 4vw, 44px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Bullet lists: small green houses ---------- */

.houses { list-style: none; padding: 0; margin: 0 0 1em; }
.houses li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.houses li::before {
	content: ""; position: absolute; left: 2px; top: .42em; width: 17px; height: 15px;
	background: var(--green); clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
}
.on-dark .houses li::before { background: #8FD486; }

/* ---------- Who we support panels ---------- */

.panel { display: flex; flex-direction: column; background: var(--white); border-radius: 28px; overflow: hidden; }
.panel__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.panel__body p { color: var(--ink); }
.panel__body .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Pillars (icon + heading + text) ---------- */

.pillar .icon-house {
	display: grid; place-items: end center;
	width: 64px; height: 60px; padding-bottom: 10px; margin-bottom: 18px;
	background: var(--blue); color: var(--white);
	clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.pillar:nth-child(even) .icon-house { background: var(--green-deep); }
.pillar .icon-house svg { width: 26px; height: 26px; }
.pillar h3 { margin-bottom: .4em; }
.pillar p { color: var(--ink-soft); }

/* ---------- Mission band ---------- */

.mission { position: relative; background: var(--blue); color: var(--white); padding-block: calc(var(--section) + 30px) var(--section); }
.mission::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(36px, 6vw, 72px);
	background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 0, 0 100%);
}
.section--mist + .mission::before { background: var(--mist); }
.mission__label { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: #A9DCA2; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.mission__label::before { content: ""; width: 48px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green) 0 66%, var(--ember) 66%); }
.mission blockquote { margin: 0 0 32px; max-width: 52rem; }
.mission blockquote p {
	font-family: var(--font-display); font-variation-settings: "SOFT" 100;
	font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.3; font-weight: 500; color: var(--white);
}
.on-dark, .on-dark p, .on-dark li { color: #E6ECF8; }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark a:not(.btn) { color: var(--white); }

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; counter-reset: step; position: relative; }
.steps::before {
	content: ""; position: absolute; top: 30px; left: 32px; right: calc(25% - 59px); height: 0;
	border-top: 3px dashed var(--green); z-index: 0;
}
.steps li { position: relative; z-index: 1; counter-increment: step; }
.steps li::before {
	content: counter(step); display: grid; place-items: end center;
	width: 64px; height: 60px; padding-bottom: 9px; margin-bottom: 18px;
	font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--white);
	background: var(--blue); clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}
.steps--green li::before { background: var(--green-deep); }
.steps h3 { font-size: 1.35rem; margin-bottom: .35em; }
.steps p { color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 1000px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cards and boxes ---------- */

.box { background: var(--mist); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.box--sprout { background: var(--sprout); }
.box--white { background: var(--white); border: 1px solid var(--stone); }
.box--ink { background: var(--ink); }
.box--blue { background: var(--blue); }
.box h2, .box h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }

.cta { background: var(--blue); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 28px 48px; align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta p { color: #E6ECF8; font-size: 1.15rem; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

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

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--green-deep); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.on-dark .contact-list svg { color: #8FD486; }
.on-dark .contact-list a { color: var(--white); }

/* ---------- FAQs ---------- */

.faqs { border-top: 1px solid var(--stone); }
.faqs details { border-bottom: 1px solid var(--stone); }
.faqs summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
	padding: 22px 4px; font-family: var(--font-display); font-variation-settings: "SOFT" 100;
	font-weight: 600; font-size: 1.3rem; line-height: 1.3; color: var(--blue);
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
	background: var(--sprout) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A7D24' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: transform .2s ease;
}
.faqs details[open] summary::after { transform: rotate(45deg); }
.faqs summary:hover { color: var(--green-deep); }
.faqs .answer { padding: 0 4px 24px; max-width: 44em; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form legend { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.35rem; color: var(--blue); padding: 0; margin-bottom: 14px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font-weight: 700; font-size: 1.02rem; }
.field .req { font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
.field .hint { font-size: .98rem; color: var(--ink-soft); margin: -2px 0 2px; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 14px;
	font: inherit; font-size: 1.05rem; color: var(--ink);
	background: var(--white); border: 1.5px solid #8E9BB8; border-radius: 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(32, 67, 149, .25); outline-offset: 0; border-color: var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--ember); }
.field .error { color: #9E3A10; font-weight: 600; font-size: .98rem; display: none; }
.field.has-error .error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; grid-column: 1 / -1; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--green-deep); }
.check label { font-weight: 500; }
.check.has-error label { color: #9E3A10; }
.form-note { background: var(--mist); border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 12px 12px 0; font-size: 1.02rem; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; }
.form-status.is-success { display: block; background: var(--sprout); border: 1.5px solid var(--green-deep); }
.form-status.is-error { display: block; background: #FCEFE8; border: 1.5px solid var(--ember); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form fieldset { grid-template-columns: 1fr; } .field--half { grid-column: 1 / -1; } }

/* ---------- Prose (policy pages) ---------- */

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: .5em; }
.updated { font-size: 1rem; color: var(--ink-soft); }

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

.footer { position: relative; background: var(--ink); color: #D7DFEE; margin-top: clamp(56px, 6vw, 72px); font-size: 1.02rem; }
.footer::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(32px, 5vw, 60px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpolygon points='0,60 600,0 1200,60' fill='%2314244F'/%3E%3Cpolyline points='110,60 600,12 1090,60' fill='none' stroke='%23C7541E' stroke-width='4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.footer a:not(.btn) { color: var(--white); text-decoration: none; }
.footer a:not(.btn):hover { color: #A9DCA2; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 1.2fr; gap: 48px; padding-block: 56px; }
.footer__brand img { height: 92px; width: auto; margin-bottom: 18px; }
.footer h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 9px; }
.footer .contact-list a { color: var(--white); font-weight: 500; }
.footer .contact-list svg { color: #8FD486; }
.footer__hours { color: #B6C2DA; font-size: .98rem; margin-top: 14px; }
.footer__cta { background: var(--blue); border-radius: var(--radius); padding: 28px; align-self: start; }
.footer__cta p { color: #E6ECF8; }
.footer__cta .btn { margin-top: 6px; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; color: #B6C2DA; }
.footer__bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 20px 26px; }
.footer__bar p { margin: 0; max-width: 64ch; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a { color: #D7DFEE; text-decoration: underline; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; } }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }
.icon { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.topbar, .header, .footer, .btn, .hero__art { display: none !important; }
	body { font-size: 12pt; }
}

/* ---------- Photographs ---------- */
.frame--photo img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.panel__art img { background: var(--mist); }
@media (min-width: 901px) {
	.split .frame--photo img { aspect-ratio: 5 / 4; }
}
