/* ==========================================================================
   Atwood Contracting
   Single responsive stylesheet. The site previously shipped separate desktop
   and mobile sheets chosen by server-side UA sniffing; both now resolve here.

   Palette (unchanged from the original design)
   #072b39  deep navy      brand, header, footer
   #0d3d4f  navy light     hover / raised navy surfaces
   #928970  brown          muted body text on light, accents on dark
   #CDC09B  tan            accent, rules, small type on navy
   #cfc8b7  gray tan       hairlines
   #f4f0e7  light tan      page background
   #fbfaf7  off white      cards and fields
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	--navy:        #072b39;
	--navy-700:    #0d3d4f;
	--navy-600:    #16506a;
	--brown:       #928970;
	--tan:         #cdc09b;
	--tan-soft:    #e0d7c2;
	--gray-tan:    #cfc8b7;
	--cream:       #f4f0e7;
	--cream-deep:  #ece6d9;
	--white:       #fbfaf7;

	--ink:         #072b39;
	--ink-muted:   #55605f;
	--ink-faint:   #7d8280;

	--font-display: 'Bellefair', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
	--font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

	--space-section: clamp(3.5rem, 7vw, 6rem);
	--radius:      4px;
	--radius-lg:   8px;
	--maxw:        1180px;
	--gutter:      clamp(1.25rem, 4vw, 2.5rem);

	--shadow-sm:   0 1px 2px rgba(7, 43, 57, .06), 0 2px 8px rgba(7, 43, 57, .05);
	--shadow-md:   0 2px 4px rgba(7, 43, 57, .05), 0 12px 28px rgba(7, 43, 57, .09);
	--shadow-lg:   0 4px 10px rgba(7, 43, 57, .07), 0 24px 60px rgba(7, 43, 57, .14);

	--ease:        cubic-bezier(.2, .7, .3, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Anchored service sections must clear the sticky header. */
	scroll-padding-top: 6.5rem;
}

body {
	margin: 0;
	background-color: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; }

:focus-visible {
	outline: 2px solid var(--navy-600);
	outline-offset: 3px;
	border-radius: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--white);
	color: var(--navy);
	padding: .75rem 1.25rem;
	font-size: .9rem;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display-1,
.display-2,
.display-3 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: .005em;
	color: var(--navy);
}

.display-1 { font-size: clamp(2.6rem, 5.6vw, 4.1rem); }
.display-2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.display-3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }

/* Bellefair renders small, so its optical size is nudged up beside body copy. */
.display-1, .display-2, .display-3 { font-feature-settings: "kern" 1; }

.eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--brown);
	margin: 0 0 .85rem;
}
.eyebrow--tan { color: var(--tan); }

.lede {
	font-size: clamp(1.075rem, 1.5vw, 1.2rem);
	line-height: 1.65;
	color: var(--ink-muted);
	max-width: 62ch;
}

.prose { max-width: 68ch; }
.prose p { color: var(--ink-muted); }
.prose a {
	color: var(--navy);
	text-decoration: underline;
	text-decoration-color: var(--tan);
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.prose a:hover { color: var(--brown); text-decoration-color: var(--brown); }
/* The privacy notice is the only page written as one long run of prose, so its
   headings sit inside .prose rather than in a section head above it. */
.prose h2 {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.2vw, 1.6rem);
	line-height: 1.2;
	color: var(--navy);
}
.stack > * + h2 { margin-top: 2.25rem; }
.stack > h2 + p { margin-top: .6rem; }
.privacy-updated { font-size: .85rem; color: var(--ink-faint); }

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--cream { background-color: var(--cream); }
.section--deep  { background-color: var(--cream-deep); }
.section--white { background-color: var(--white); }
.section--navy  { background-color: var(--navy); color: var(--tan-soft); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 66ch; }
.section-head .display-2 + p { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.rule {
	width: 44px;
	height: 3px;
	background: var(--tan);
	border: 0;
	margin: 0 0 1.4rem;
}
.section-head--center .rule { margin-inline: auto; }

.stack > * + * { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--font-body);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: .95rem 1.7rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease),
	            border-color .2s var(--ease), transform .2s var(--ease),
	            box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background-color: var(--navy);
	color: var(--white);
	box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background-color: var(--navy-700); box-shadow: var(--shadow-md); }

.btn--tan {
	background-color: var(--tan);
	color: var(--navy);
}
.btn--tan:hover { background-color: var(--tan-soft); }

.btn--ghost {
	background-color: transparent;
	color: var(--navy);
	border-color: var(--gray-tan);
}
.btn--ghost:hover { border-color: var(--navy); background-color: rgba(7, 43, 57, .04); }

.btn--light {
	background-color: transparent;
	color: var(--white);
	border-color: rgba(224, 215, 194, .45);
}
.btn--light:hover { border-color: var(--tan); background-color: rgba(205, 192, 155, .12); }

.btn--sm { padding: .6rem 1.05rem; font-size: .74rem; letter-spacing: .07em; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	align-items: center;
}
.btn-row--center { justify-content: center; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brown); }
.link-arrow:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--navy);
	border-bottom: 1px solid rgba(205, 192, 155, .22);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 84px;
	padding-block: .9rem;
}

.site-header__logo { display: block; flex: none; line-height: 0; }
.site-header__logo img {
	height: 52px;
	width: auto;
	transition: opacity .2s var(--ease);
}
.site-header__logo:hover img { opacity: .85; }

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
}
.site-nav a {
	position: relative;
	display: inline-block;
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--tan-soft);
	padding-block: .35rem;
	transition: color .2s var(--ease);
}
.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1.5px;
	background: var(--tan);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--white); }

.site-nav__cta { margin-left: .5rem; }
.site-nav__cta a::after { display: none; }
.site-nav__cta a { color: var(--navy); letter-spacing: .07em; }
.site-nav__cta a:hover { color: var(--navy); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid rgba(205, 192, 155, .35);
	border-radius: var(--radius);
	padding: .65rem .7rem;
	cursor: pointer;
}
.nav-toggle__bars { display: block; width: 22px; }
.nav-toggle__bars span {
	display: block;
	height: 2px;
	background: var(--tan-soft);
	border-radius: 2px;
	transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars span + span { margin-top: 5px; }
[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) 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(-7px) rotate(-45deg); }

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

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--navy);
		border-bottom: 1px solid rgba(205, 192, 155, .22);
		box-shadow: var(--shadow-lg);
		display: grid;
		grid-template-rows: 0fr;
		visibility: hidden;
		transition: grid-template-rows .28s var(--ease), visibility .28s;
	}
	.site-nav > ul {
		overflow: hidden;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-inline: var(--gutter);
	}
	.site-nav li { border-bottom: 1px solid rgba(205, 192, 155, .14); }
	.site-nav li:last-child { border-bottom: 0; }
	.site-nav a { display: block; padding: 1.05rem 0; font-size: .85rem; }
	.site-nav a::after { display: none; }
	.site-nav__cta { margin: 1rem 0 1.4rem; }
	.site-nav__cta a { text-align: center; padding: .9rem 1rem; font-size: .8rem; }

	body.nav-open .site-nav { grid-template-rows: 1fr; visibility: visible; }

	.site-header__logo img { height: 44px; }
	.site-header__inner { min-height: 72px; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	background-color: var(--navy);
}

.hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
/* Siema wraps every slide in its own div, so the fill has to reach all of
   them rather than a fixed number of levels. */
.hero__media .siema,
.hero__media .siema div { height: 100%; }
.hero__media .img-wrapper { overflow: hidden; }
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
}
.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(7, 43, 57, .88) 0%, rgba(7, 43, 57, .66) 40%, rgba(7, 43, 57, .22) 74%, rgba(7, 43, 57, .38) 100%),
		linear-gradient(to top, rgba(7, 43, 57, .6), rgba(7, 43, 57, 0) 55%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	min-height: clamp(480px, 66vh, 640px);
	display: flex;
	align-items: center;
	padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero__content { max-width: 40rem; }

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5.4vw, 4.15rem);
	line-height: 1.05;
	color: var(--white);
	margin-bottom: 1.35rem;
}
.hero__title em {
	font-style: normal;
	color: var(--tan);
}
.hero__text {
	font-size: clamp(1.05rem, 1.4vw, 1.18rem);
	line-height: 1.65;
	color: rgba(244, 240, 231, .86);
	max-width: 34rem;
	margin-bottom: 2rem;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem 1.4rem;
	margin-top: 2.4rem;
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tan);
}
.hero__meta li { list-style: none; display: flex; align-items: center; gap: .5rem; }
.hero__meta li::before {
	content: "";
	width: 5px;
	height: 5px;
	background: var(--tan);
	transform: rotate(45deg);
	flex: none;
}

/* On narrow screens the copy runs the full width of the image, so the scrim
   has to darken the whole frame rather than only its left side. */
@media (max-width: 900px) {
	.hero__scrim {
		background: linear-gradient(to bottom, rgba(7, 43, 57, .84), rgba(7, 43, 57, .72) 45%, rgba(7, 43, 57, .9));
	}
	.hero__inner { min-height: clamp(430px, 70vh, 560px); }
}

/* Slide indicators */
.hero__dots {
	position: absolute;
	z-index: 3;
	bottom: 1.5rem;
	right: var(--gutter);
	display: flex;
	gap: .5rem;
}
.hero__dots button {
	width: 26px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(244, 240, 231, .35);
	cursor: pointer;
	transition: background-color .25s var(--ease);
}
.hero__dots button[aria-current="true"] { background: var(--tan); }

/* --------------------------------------------------------------------------
   8. Page header (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
	background-color: var(--navy);
	color: var(--tan-soft);
	padding-block: clamp(3rem, 6vw, 5rem);
	position: relative;
	overflow: hidden;
}
.page-head::after {
	content: "";
	position: absolute;
	right: -6%;
	top: -40%;
	width: 34rem;
	height: 34rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(205, 192, 155, .13), rgba(205, 192, 155, 0) 62%);
	pointer-events: none;
}
.page-head__inner { position: relative; z-index: 1; }
.page-head .display-1,
.page-head .display-2 { color: var(--white); }
.page-head .lede { color: rgba(244, 240, 231, .82); margin-top: 1.1rem; }
.page-head .rule { background: var(--tan); }

/* --------------------------------------------------------------------------
   9. Trust strip
   -------------------------------------------------------------------------- */
.trust {
	background-color: var(--white);
	border-block: 1px solid var(--gray-tan);
}
.trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background-color: var(--gray-tan);
}
.trust__item {
	background-color: var(--white);
	padding: 1.6rem 1.4rem;
	text-align: center;
}
.trust__value {
	display: block;
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1.15;
	color: var(--navy);
}
.trust__label {
	display: block;
	margin-top: .3rem;
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--brown);
}

@media (max-width: 780px) {
	.trust__grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   10. Feature cards ("how we work")
   -------------------------------------------------------------------------- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}
.feature {
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 2.4vw, 2rem);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: var(--tan);
}
.feature__icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: var(--radius);
	background-color: var(--cream);
	color: var(--navy);
	margin-bottom: 1.1rem;
}
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: .5rem;
}
.feature p { color: var(--ink-muted); font-size: .98rem; }

/* --------------------------------------------------------------------------
   11. Service cards
   -------------------------------------------------------------------------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(255px, 100%), 1fr));
	gap: clamp(1.1rem, 2vw, 1.6rem);
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--tan);
}
.service-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: var(--cream-deep);
}
.service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }

.service-card__body {
	padding: 1.15rem 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	flex: 1;
}
.service-card__body h3 {
	font-family: var(--font-display);
	font-size: 1.42rem;
	line-height: 1.2;
	color: var(--navy);
}
.service-card__body p {
	font-size: .93rem;
	line-height: 1.6;
	color: var(--ink-muted);
	margin: 0;
}
.service-card__more {
	margin-top: auto;
	padding-top: .7rem;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brown);
	transition: color .2s var(--ease);
}
.service-card:hover .service-card__more { color: var(--navy); }

/* --------------------------------------------------------------------------
   12. Service detail rows (services page)
   -------------------------------------------------------------------------- */
.chip-nav {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	list-style: none;
	margin-top: 2rem;
}
.chip-nav a {
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid rgba(205, 192, 155, .4);
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .07em;
	text-decoration: none;
	color: var(--tan-soft);
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip-nav a:hover { background-color: var(--tan); border-color: var(--tan); color: var(--navy); }

.service-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
	border-top: 1px solid var(--gray-tan);
	scroll-margin-top: 6.5rem;
}

/* Legacy service anchors (#kitchen, #drywall, #windows, ...) are kept so older
   inbound links still resolve. They must stay out of flow: as in-flow children
   of the grid, each one takes a cell and displaces the media and body columns. */
.service-row > .anchor-alias {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	scroll-margin-top: 6.5rem;
}
.service-row:first-of-type { border-top: 0; padding-top: 0; }
.service-row:nth-child(even) .service-row__media { order: 2; }

.service-row__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	background-color: var(--cream-deep);
}
.service-row__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.service-row__body h2 {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 2.8vw, 2.35rem);
	line-height: 1.15;
	color: var(--navy);
	margin-bottom: 1rem;
}
.service-row__body p {
	color: var(--ink-muted);
	font-size: 1rem;
}

@media (max-width: 800px) {
	.service-row { grid-template-columns: 1fr; gap: 1.4rem; }
	.service-row:nth-child(even) .service-row__media { order: 0; }
}

/* --------------------------------------------------------------------------
   13. Project chapters
   -------------------------------------------------------------------------- */
/* Each project group is its own full-width band; alternate bands switch to
   white so the page reads as a sequence of chapters. --chapter-bg is reused
   by elements that have to cut out of the band colour. */
.chapter {
	--chapter-bg: var(--cream);
	background-color: var(--chapter-bg);
	padding-block: clamp(3rem, 6vw, 5.5rem);
}
.chapter--alt {
	--chapter-bg: var(--white);
	border-block: 1px solid var(--gray-tan);
}

.chapter__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.25rem clamp(2rem, 5vw, 4.5rem);
	align-items: end;
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: clamp(2rem, 4vw, 3rem);
	border-bottom: 1px solid var(--gray-tan);
}
.chapter__num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(3.2rem, 6vw, 5rem);
	line-height: .9;
	color: var(--tan);
	margin-bottom: .5rem;
}
.chapter__title h2 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	line-height: 1.08;
	color: var(--navy);
}
.chapter__intro {
	font-size: clamp(1.02rem, 1.4vw, 1.15rem);
	line-height: 1.65;
	color: var(--ink-muted);
	max-width: 48ch;
}

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

/* Before / after pair: two matched photographs sharing one caption. */
.ba { margin: 0; }
.ba + .ba { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.ba__frames {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(.5rem, 1vw, .75rem);
}
/* The frames carry the aspect ratio so the row reserves its space before the
   lazy-loaded photographs arrive; the two images in a pair are always the same
   orientation, so nothing is cropped meaningfully. */
.ba__frame {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background-color: var(--cream-deep);
	box-shadow: var(--shadow-sm);
	aspect-ratio: 4 / 3;
}
.ba--tall .ba__frame { aspect-ratio: 3 / 4; }
.ba__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}
.ba__frame:hover img { transform: scale(1.03); }
.ba__arrow {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	width: 46px;
	height: 46px;
	margin: -23px 0 0 -23px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background-color: var(--navy);
	color: var(--tan);
	border: 4px solid var(--chapter-bg, var(--cream));
	pointer-events: none;
}
.ba__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__tag {
	position: absolute;
	z-index: 1;
	top: .8rem;
	left: .8rem;
	background-color: rgba(7, 43, 57, .88);
	color: var(--tan);
	font-size: .64rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: .3rem .6rem;
	border-radius: 2px;
}
.ba__tag--after { background-color: var(--tan); color: var(--navy); }
.ba__caption {
	margin-top: 1.1rem;
	padding-left: 1rem;
	border-left: 2px solid var(--tan);
	max-width: 75ch;
	font-size: .98rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

/* Upright pairs sit beside their caption rather than centred in the column,
   so they fill the row instead of leaving empty margins either side. */
.ba--tall {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: clamp(1.75rem, 4.5vw, 4rem);
	align-items: center;
}
.ba--tall .ba__caption {
	margin-top: 0;
	padding-left: 0;
	border-left: 0;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.1vw, 1.7rem);
	line-height: 1.4;
	color: var(--navy);
}
.ba--tall .ba__caption::before {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	background-color: var(--tan);
	margin-bottom: 1.25rem;
}

@media (max-width: 800px) {
	.ba--tall { grid-template-columns: 1fr; }
	.ba--tall .ba__caption { font-size: 1.25rem; }
}
@media (max-width: 620px) {
	.ba:not(.ba--tall) .ba__frames { grid-template-columns: 1fr; }
	.ba:not(.ba--tall) .ba__arrow svg { transform: rotate(90deg); }
}

/* Full-width feature photograph, captioned over its lower edge. */
.project-feature {
	position: relative;
	margin: 0 0 clamp(2.5rem, 5vw, 3.75rem);
}
.project-feature a {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	background-color: var(--navy);
}
.project-feature img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .8s var(--ease);
}
.project-feature a:hover img { transform: scale(1.02); }
.project-feature figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 5rem 35% clamp(1.25rem, 2.5vw, 1.9rem) clamp(1.25rem, 3vw, 2.25rem);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	background: linear-gradient(to top, rgba(7, 43, 57, .9), rgba(7, 43, 57, 0));
	color: var(--white);
	font-size: clamp(.98rem, 1.3vw, 1.1rem);
	line-height: 1.6;
	pointer-events: none;
}

@media (max-width: 700px) {
	.project-feature figcaption {
		position: static;
		padding: 1rem 0 0 1rem;
		border-left: 2px solid var(--tan);
		border-radius: 0;
		margin-top: 1.1rem;
		background: none;
		color: var(--ink-muted);
		font-size: .98rem;
	}
}

/* Process mosaic. --cols is set per group from the number of shots: with a
   lead tile it is the small-tile columns plus the two the lead spans. */
.mosaic-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.1rem;
}
.mosaic-head .eyebrow { margin: 0; }
.mosaic-head::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: var(--gray-tan);
}

.mosaic {
	display: grid;
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	gap: clamp(.5rem, 1vw, .75rem);
}
.mosaic__tile {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background-color: var(--navy);
	aspect-ratio: 1 / 1;
}
.mosaic__tile--lead {
	grid-column: -3 / -1;
	grid-row: 1 / span 2;
	aspect-ratio: auto;
}
/* Images are taken out of flow so the lead tile's height comes from the two
   rows it spans, not from the photograph inside it. */
.mosaic__tile a { position: absolute; inset: 0; }
.mosaic__tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}
.mosaic__tile:hover img { transform: scale(1.04); }
.mosaic__tile figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.75rem 1rem .9rem;
	background: linear-gradient(to top, rgba(7, 43, 57, .94), rgba(7, 43, 57, .7) 55%, rgba(7, 43, 57, 0));
	color: var(--white);
	font-size: .84rem;
	line-height: 1.5;
	pointer-events: none;
}
.mosaic__tile--lead figcaption {
	padding: 5rem 1.5rem 1.35rem;
	font-size: 1rem;
	line-height: 1.55;
}

@media (min-width: 901px) and (hover: hover) {
	.mosaic__tile:not(.mosaic__tile--lead) figcaption {
		opacity: 0;
		transform: translateY(.5rem);
		transition: opacity .3s var(--ease), transform .3s var(--ease);
	}
	.mosaic__tile:hover figcaption,
	.mosaic__tile:focus-within figcaption { opacity: 1; transform: none; }
}

/* Below desktop the mosaic becomes a swipeable strip, captions under each photo. */
@media (max-width: 900px) {
	.mosaic {
		display: flex;
		gap: .85rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		margin-inline: calc(var(--gutter) * -1);
		padding: 0 var(--gutter) .75rem;
		scrollbar-width: thin;
	}
	.mosaic__tile,
	.mosaic__tile--lead {
		flex: 0 0 min(78%, 340px);
		scroll-snap-align: start;
		aspect-ratio: auto;
		overflow: visible;
		border-radius: 0;
		background: none;
	}
	.mosaic__tile a {
		position: relative;
		display: block;
		aspect-ratio: 1 / 1;
		overflow: hidden;
		border-radius: var(--radius-lg);
		background-color: var(--navy);
	}
	.mosaic__tile figcaption,
	.mosaic__tile--lead figcaption {
		position: static;
		padding: .75rem .1rem 0;
		background: none;
		color: var(--ink-muted);
		font-size: .88rem;
	}
}

/* Photograph lightbox, built by projects.php from every [data-lightbox] link. */
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: clamp(3.5rem, 6vw, 4rem) clamp(1rem, 8vw, 6rem);
	border: 0;
	background: transparent;
	color: var(--tan-soft);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background-color: rgba(4, 26, 35, .94); }
.lightbox__figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 100%;
}
.lightbox__figure img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 12rem);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption {
	max-width: 62ch;
	text-align: center;
	font-size: .95rem;
	line-height: 1.6;
	color: rgba(244, 240, 231, .85);
}
.lightbox__count {
	position: absolute;
	top: 1.55rem;
	left: 1.5rem;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	color: var(--tan);
}
.lightbox__btn {
	position: absolute;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(244, 240, 231, .3);
	border-radius: 50%;
	background-color: rgba(7, 43, 57, .6);
	color: var(--white);
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__btn:hover { background-color: var(--navy); border-color: var(--tan); }
.lightbox__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__btn--close { top: 1rem; right: 1rem; }
.lightbox__btn--prev,
.lightbox__btn--next { top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev { left: 1rem; }
.lightbox__btn--next { right: 1rem; }

@media (max-width: 620px) {
	.lightbox__btn--prev,
	.lightbox__btn--next { top: auto; bottom: 1rem; transform: none; }
	.lightbox__btn--prev { left: calc(50% - 52px); }
	.lightbox__btn--next { right: calc(50% - 52px); }
}

/* Projects carousel. Slides are pre-cropped to this ratio when the images are
   generated, so nothing is cropped again here. */
.work-carousel {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	background-color: var(--navy);
}
.work-carousel .siema { aspect-ratio: 3 / 2; }
.work-carousel .siema div { height: 100%; }
.work-carousel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(244, 240, 231, .35);
	border-radius: 50%;
	background-color: rgba(7, 43, 57, .55);
	color: var(--white);
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.carousel-btn:hover { background-color: var(--navy); border-color: var(--tan); }
.carousel-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn--prev { left: 1rem; }
.carousel-btn--next { right: 1rem; }

.carousel-caption {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	margin-top: .9rem;
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--brown);
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.quote-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}
.quote {
	position: relative;
	margin: 0;
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-left: 3px solid var(--tan);
	border-radius: var(--radius-lg);
	padding: clamp(1.6rem, 3vw, 2.25rem);
}
.quote::before {
	content: "\201C";
	position: absolute;
	top: .35rem;
	right: 1.1rem;
	font-family: var(--font-display);
	font-size: 5rem;
	line-height: 1;
	color: var(--tan);
	opacity: .45;
	pointer-events: none;
}
.quote p {
	position: relative;
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 1.7vw, 1.32rem);
	line-height: 1.55;
	color: var(--navy);
	margin-bottom: .8rem;
}
.quote p:last-child { margin-bottom: 0; }
.quote__cite {
	display: block;
	margin-top: 1.2rem;
	font-family: var(--font-body);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--brown);
	font-style: normal;
}

/* Projects page: long reviews span the row with their text set in two
   columns; shorter ones stack into columns at their own height. */
.quote--long { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.quote--long .quote__body p { break-inside: avoid; }
.quote-flow { column-count: 2; column-gap: clamp(1.25rem, 2.5vw, 2rem); }
.quote-flow .quote {
	display: inline-block;
	width: 100%;
	break-inside: avoid;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 900px) {
	.quote--long { padding: clamp(2rem, 3.5vw, 2.75rem) clamp(2rem, 4vw, 3.25rem); }
	.quote--long .quote__body { column-count: 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
}
@media (max-width: 760px) {
	.quote-flow { column-count: 1; }
}

/* --------------------------------------------------------------------------
   15. Split / media sections
   -------------------------------------------------------------------------- */
.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}
.split__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
.split__media img {
	width: 100%;
	height: auto;
}

.checklist { list-style: none; display: grid; gap: .75rem; margin-top: 1.5rem; }
.checklist li {
	position: relative;
	padding-left: 1.9rem;
	color: var(--ink-muted);
	font-size: .98rem;
	line-height: 1.6;
}
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5rem;
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--brown);
	border-bottom: 2px solid var(--brown);
	transform: rotate(-45deg);
}

.numbered { list-style: none; counter-reset: step; display: grid; gap: 1.1rem; }
.numbered li {
	counter-increment: step;
	position: relative;
	padding-left: 3rem;
	color: var(--ink-muted);
	font-size: .98rem;
	line-height: 1.6;
}
.numbered li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -.1rem;
	width: 2rem;
	height: 2rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background-color: var(--cream);
	border: 1px solid var(--gray-tan);
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: var(--navy);
}
.numbered strong { color: var(--navy); font-weight: 600; display: block; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	background-color: var(--navy);
	color: var(--tan-soft);
	position: relative;
	overflow: hidden;
}
.cta-band::before {
	content: "";
	position: absolute;
	left: -8%;
	bottom: -60%;
	width: 30rem;
	height: 30rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(205, 192, 155, .14), rgba(205, 192, 155, 0) 62%);
	pointer-events: none;
}
.cta-band__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding-block: clamp(2.75rem, 5.5vw, 4.25rem);
}
.cta-band h2 {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	line-height: 1.12;
	color: var(--white);
	margin-bottom: .8rem;
}
.cta-band p { color: rgba(244, 240, 231, .8); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

@media (max-width: 760px) {
	.cta-band__inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(1.75rem, 4vw, 3.25rem);
	align-items: start;
}
@media (max-width: 900px) {
	.contact-layout { grid-template-columns: 1fr; }
}

.card {
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card--navy {
	background-color: var(--navy);
	border-color: var(--navy);
	color: var(--tan-soft);
}
.card--navy h2, .card--navy h3 { color: var(--white); }
.card--navy a { color: var(--tan); }

.card__title {
	font-family: var(--font-display);
	font-size: 1.65rem;
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: 1.2rem;
}

.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg {
	width: 20px; height: 20px; flex: none; margin-top: .2rem;
	fill: none; stroke: var(--tan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list__label {
	display: block;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tan);
	opacity: .8;
	margin-bottom: .1rem;
}
/* The email address is one long token; it must wrap rather than widen the page. */
.contact-list a,
.site-footer__list a { overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(205, 192, 155, .4); }
.contact-list a:hover { border-bottom-color: var(--tan); }
.contact-list strong { font-weight: 500; color: var(--white); }

.project-form { display: grid; gap: 1.15rem; }
.project-form .field { margin: 0; display: grid; gap: .4rem; }
.project-form .field--half { }
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.15rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.project-form label {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brown);
}
.project-form input[type=text],
.project-form input[type=email],
.project-form input[type=tel],
.project-form select,
.project-form textarea {
	width: 100%;
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-radius: var(--radius);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	padding: .8rem .9rem;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
	outline: none;
	border-color: var(--navy-600);
	box-shadow: 0 0 0 3px rgba(22, 80, 106, .12);
}
.project-form textarea { min-height: 160px; resize: vertical; }
.project-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23072b39' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }

.project-form input[type=file] {
	font-family: var(--font-body);
	font-size: .9rem;
	color: var(--ink-muted);
	padding: .65rem;
	border: 1px dashed var(--gray-tan);
	border-radius: var(--radius);
	background-color: var(--cream);
	width: 100%;
}
.project-form .hint { font-size: .8rem; color: var(--ink-faint); letter-spacing: 0; text-transform: none; font-weight: 400; }
/* Hints that stand on their own sit under the field they describe rather than
   taking a full grid gap of their own. */
.project-form p.hint { margin: -.6rem 0 0; }
.project-form .field--honeypot { position: absolute; left: -5000px; }
.project-form button { width: 100%; }

.form-message {
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-left: 3px solid var(--tan);
	border-radius: var(--radius);
	margin-bottom: 1.75rem;
	padding: 1.1rem 1.35rem;
	font-size: .96rem;
	color: var(--ink-muted);
}
.form-message strong { color: var(--navy); }
.form-message ul { margin: .5rem 0 0; padding-left: 1.15rem; }
.form-message li + li { margin-top: .3rem; }

.form-success {
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	max-width: 42rem;
}
.form-success__mark {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 50%;
	background-color: var(--cream);
	border: 1px solid var(--tan);
	margin-bottom: 1.1rem;
}
.form-success__mark svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   18. Referral callout
   -------------------------------------------------------------------------- */
.callout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem 2.5rem;
	align-items: center;
	background-color: var(--white);
	border: 1px solid var(--gray-tan);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.1rem);
}
.callout h2 {
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1.2;
	color: var(--navy);
	margin-bottom: .5rem;
}
.callout p { color: var(--ink-muted); font-size: .98rem; max-width: 62ch; }
.callout p:last-of-type { margin-bottom: 0; }
@media (max-width: 720px) { .callout { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background-color: var(--navy);
	color: rgba(224, 215, 194, .78);
	font-size: .93rem;
	padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
}
.site-footer__grid {
	display: grid;
	/* The contact column is max-content so the email address always gets a
	   single line. An equal 1fr share left it about 7px short and broke the
	   address in two. */
	grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) max-content;
	gap: clamp(1.75rem, 4vw, 3rem);
}
/* Sized by width so it can shrink on a narrow phone instead of overflowing
   the gutter. 270px is about 93px tall at the logo's 782x270 ratio. */
.site-footer__brand img { width: min(270px, 100%); height: auto; margin-bottom: 1.1rem; }
.site-footer__brand p { max-width: 34ch; line-height: 1.65; }
.site-footer__area { color: var(--tan); margin-top: .9rem; }

.site-footer__heading {
	font-family: var(--font-body);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 1rem;
}
.site-footer__list { list-style: none; display: grid; gap: .55rem; }
.site-footer__list a {
	text-decoration: none;
	color: rgba(224, 215, 194, .78);
	transition: color .2s var(--ease);
}
.site-footer__list a:hover { color: var(--tan); }
.site-footer__list--contact a { color: var(--tan-soft); }

.site-footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.site-footer__social a {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 1px solid rgba(205, 192, 155, .32);
	border-radius: 50%;
	color: var(--tan-soft);
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.site-footer__social a:hover { background-color: var(--tan); border-color: var(--tan); color: var(--navy); }
.site-footer__social svg { width: 17px; height: 17px; fill: currentColor; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .6rem 2rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.4rem;
	border-top: 1px solid rgba(205, 192, 155, .18);
	font-size: .82rem;
	color: rgba(224, 215, 194, .6);
}
.site-footer__bottom p { margin: 0; }
.site-footer__referral a { color: var(--tan); text-decoration: none; border-bottom: 1px solid rgba(205, 192, 155, .4); }
.site-footer__referral a:hover { border-bottom-color: var(--tan); }

@media (max-width: 900px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. Carousel base (Siema)
   -------------------------------------------------------------------------- */
.siema { overflow: hidden; }
.img-wrapper { overflow: hidden; }
