:root {
	--paper: #f8f3ea;
	--light: #fffcf7;
	--ink: #2d231c;
	--muted: #635549;
	--coffee: #492c20;
	--accent: #8b492d;
	--line: #dfd2c3;
	--serif: Georgia, 'Times New Roman', serif;
	--gutter: clamp(20px, 5vw, 76px);
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 1rem/1.6 system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #a45931; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2 {
	font-family: var(--serif);
	font-weight: 400;
	letter-spacing: -.052em;
	line-height: 1.04;
}
h2 { font-size: clamp(2.45rem, 4.55vw, 4.55rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.38rem); font-weight: 680; line-height: 1.24; letter-spacing: -.025em; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(58px, 7.7vw, 112px); }

.skip-link {
	position: fixed;
	z-index: 5;
	top: 10px;
	left: 10px;
	transform: translateY(-160%);
	background: var(--light);
	padding: 10px 15px;
}
.skip-link:focus { transform: none; }
.site-header {
	position: sticky;
	top: 0;
	z-index: 3;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.site-nav nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 45px); }
.site-nav nav a { padding-block: 10px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-nav nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--coffee); text-decoration: none; }
.brand span { font-size: .88rem; font-weight: 750; line-height: 1.17; letter-spacing: -.015em; }
.brand img { object-fit: contain; }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 23px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 49px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 6px;
	font: inherit;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s;
}
.button span, .text-link span { transition: transform .18s; }
.button:hover span, .text-link:hover span { transform: translate(2px, -2px); }
.button-primary { background: var(--coffee); color: var(--light); }
.button-primary:hover { background: #653b29; color: white; }
.button-outline { border-color: #ad9481; color: var(--coffee); background: transparent; }
.button-outline:hover { background: #efe2d2; color: var(--coffee); border-color: var(--accent); }
.header-contact { min-height: 42px; padding-block: 8px; }
.text-link {
	display: inline-flex;
	gap: 7px;
	align-items: baseline;
	width: fit-content;
	min-height: 44px;
	padding-block: 10px;
	color: var(--accent);
	font-size: .91rem;
	font-weight: 700;
	text-underline-offset: .3em;
}
.text-link:hover { color: var(--coffee); }
.text-link span { text-decoration: none; display: inline-block; }

.hero { display: grid; grid-template-columns: 53fr 47fr; min-height: clamp(530px, 46vw, 660px); border-bottom: 1px solid var(--line); }
.hero-content {
	align-self: center;
	padding: clamp(44px, 6.7vw, 95px) clamp(24px, 3.6vw, 55px) clamp(44px, 6.7vw, 95px) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero h1 { font-size: clamp(2.55rem, 5.05vw, 5.35rem); text-wrap: initial; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--accent); font-weight: inherit; }
.hero p { max-width: 44ch; color: var(--muted); }
.hero .hero-lead { margin-top: 23px; font-size: clamp(1.11rem, 1.7vw, 1.36rem); color: var(--ink); line-height: 1.45; }
.hero p + p { margin-top: 13px; }
.hero .actions { margin-top: 26px; }
.hero-media { position: relative; min-width: 0; overflow: hidden; background: #d9ccc0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

.section-heading {
	display: grid;
	grid-template-columns: 1.45fr 1fr;
	gap: 18px 40px;
	align-items: end;
	margin-bottom: clamp(25px, 3.8vw, 52px);
}
.section-heading p, .about-layout > div p { max-width: 48ch; color: var(--muted); }
.about-layout h2 { font-size: clamp(2.4rem, 4.15vw, 3.75rem); }
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3.2vw, 46px); }
.solutions article { display: flex; align-items: flex-start; flex-direction: column; border-top: 2px solid #b7825f; padding-top: 20px; }
.solutions p { margin: 10px 0 9px; color: var(--muted); }
.solutions .text-link { margin-top: auto; }
.service-band { background: var(--coffee); color: var(--light); }
.service-band :focus-visible, .site-footer :focus-visible { outline-color: #ffc899; }
.service-layout, .about-layout, .contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(28px, 7vw, 100px);
	align-items: start;
}
.service-layout > div > p, .about-layout > div p { margin-top: 21px; }
.service-band p, .service-steps dd { color: #f2ddcb; }
.button-light { margin-top: 24px; background: var(--light); color: var(--coffee); }
.button-light:hover { background: #f4ddc8; color: var(--coffee); }
.service-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 22px; }
.service-steps > div { border-top: 1px solid #936e5d; padding-top: 12px; }
.service-steps dt { font-weight: 700; }
.service-steps dd { font-size: .93rem; margin-top: 3px; }
.payments { padding: 13px 16px; background: #57392a; border-left: 2px solid #d9a588; font-size: .93rem; }
.payments strong { color: var(--light); }

.photo-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.photo-grid figure { position: relative; overflow: hidden; border-radius: 8px; background: #ded0c2; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 1.43; object-fit: cover; object-position: center 54%; }
.photo-grid figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 23px 18px 12px;
	background: linear-gradient(transparent, rgba(27, 19, 13, .9));
	color: white;
	font-size: .93rem;
	font-weight: 650;
}
.references { background: white; }
.logo-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px 0;
	margin: 0;
	border-block: 1px solid var(--line);
	list-style: none;
}
.logo-list li { display: grid; flex: 0 0 14.25%; min-width: 0; min-height: 108px; place-items: center; padding: 14px 15px; }
.logo-list img { width: min(100%, 136px); height: 68px; object-fit: contain; }

.partner {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 18px;
	padding: 22px;
	background: var(--light);
	border: 1px solid var(--line);
	border-radius: 8px;
}
.partner-logo { display: grid; place-items: center; padding: 7px; border-radius: 4px; background: white; }
.partner-logo img { width: 104px; height: 96px; object-fit: contain; }
.partner p, .brochure p { margin-top: 8px; color: var(--muted); }
.brochure {
	display: grid;
	grid-template-columns: minmax(150px, 290px) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 46px);
	align-items: center;
	margin-top: clamp(36px, 6.7vw, 88px);
	padding-top: clamp(26px, 3.2vw, 42px);
	border-top: 1px solid var(--line);
}
.brochure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.brochure h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 400; }
.brochure .actions { margin-top: 12px; }

.contact { background: #efe4d6; }
.contact-layout { grid-template-columns: 1fr 1.45fr; }
.contact-intro p { margin-top: 16px; max-width: 34ch; }
address { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 27px; font-style: normal; }
address span { margin-top: 6px; color: var(--muted); }
address a { color: var(--accent); text-underline-offset: .19em; }
.phone { font-size: clamp(1.18rem, 2vw, 1.55rem); font-weight: 720; }
.contact-form {
	display: grid;
	gap: 18px;
	padding: clamp(18px, 3.3vw, 38px);
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--light);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label, .contact-form legend { font-size: .91rem; font-weight: 650; }
.form-grid label { display: block; }
.contact-form input:not([type="checkbox"]), .contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 5px;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #ac9785;
	border-radius: 5px;
	background: white;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.contact-form legend { padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.options label { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 10px; border: 1px solid #c9b7a6; border-radius: 5px; cursor: pointer; }
.options label:has(:checked) { background: #f0e1d2; border-color: var(--accent); }
.options input { margin: 0; accent-color: var(--coffee); width: 17px; height: 17px; }
.form-hint { color: var(--muted); font-size: .82rem; }
.form-hint a { text-underline-offset: .16em; }
.contact-form button { justify-self: start; }
.contact-form button:disabled { cursor: wait; opacity: .72; }
.form-status { padding: 12px; color: #254534; background: #e8f0e9; border-left: 3px solid #4f775e; }
.form-status[data-error] { color: #762c20; background: #faeee7; border-color: #a14733; }

.site-footer { padding-block: 27px; background: var(--coffee); color: var(--light); font-size: .9rem; }
.footer-layout, .footer-layout nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { text-underline-offset: .22em; }
.site-footer a:hover { color: #ffc899; }
.secondary-page { min-height: calc(100svh - 80px); }
.secondary-content { max-width: 840px; }
.secondary-content h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.secondary-content h2 { font-size: clamp(1.6rem, 3.3vw, 2.25rem); }
.secondary-content p { margin-top: 12px; }
.secondary-content .card { border-top: 1px solid var(--line); margin-top: 29px; padding-top: 22px; }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
	.hero-content { animation: appear .55s ease-out both; }
	@keyframes appear {
		from { opacity: 0; transform: translateY(8px); }
		to { opacity: 1; transform: none; }
	}
}

@media (max-width: 950px) {
	.logo-list li { flex-basis: 20%; }
	.service-layout, .about-layout, .contact-layout { gap: 35px; }
}

@media (max-width: 760px) {
	html { scroll-padding-top: 116px; }
	.site-nav { flex-wrap: wrap; padding-top: 8px; gap: 2px 12px; }
	.site-nav nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
	.site-nav nav a { padding-block: 10px; }
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero-content { padding: 39px var(--gutter) 34px; }
	.hero h1 { font-size: clamp(2.15rem, 10.7vw, 4.2rem); }
	.hero .hero-lead { margin-top: 16px; }
	.hero .actions { margin-top: 20px; }
	.hero-media { min-height: clamp(270px, 77vw, 460px); }
	.hero-media img { object-position: center 40%; }
	.section-heading, .service-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
	.section-heading { align-items: start; gap: 12px; }
	.solutions { grid-template-columns: 1fr; gap: 17px; }
	.solutions article { padding-top: 15px; }
	.solutions p { margin-bottom: 0; }
	.logo-list li { min-height: 82px; padding: 10px; }
	.logo-list img { height: 52px; }
	.contact-intro h2 br { display: none; }
}

@media (max-width: 500px) {
	.hero .actions { gap: 6px 15px; }
	.hero .text-link { padding-block: 8px; }
	.photo-grid { gap: 12px; grid-template-columns: 1fr; }
	.logo-list li { flex-basis: 33.33%; padding-inline: 11px; }
	.brochure { grid-template-columns: 1fr; }
	.brochure img { max-width: 330px; }
	.form-grid { grid-template-columns: 1fr; gap: 12px; }
	.partner { padding: 13px; gap: 13px; }
	.partner-logo img { width: 75px; height: 76px; }
	.footer-layout nav { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.button, .button span, .text-link span { transition: none; }
}
