/* ------------------------------------------------------------------
   Midrilco — design system
   1. Tokens
   2. Base
   3. Type
   4. Buttons
   5. Header
   6. Hero
   7. Sections & cards
   8. Services
   9. Contact
   10. Footer
   11. Motion & responsive
------------------------------------------------------------------- */

/* 1. Tokens ------------------------------------------------------- */
:root {
	--ink: #0b1114;
	--ink-soft: #131d22;
	--ink-line: rgba(243, 238, 229, 0.14);
	--ink-line-soft: rgba(243, 238, 229, 0.07);
	--sand: #f3eee5;
	--sand-2: #e8e0d2;
	--line: rgba(11, 17, 20, 0.14);
	--copper: #c4693c;
	--copper-deep: #a8542c;
	--water: #2e6e8e;
	--steel: #7d8d95;
	--muted: #5c686d;

	--display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--serif: "Instrument Serif", Georgia, serif;
	--body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 44px);
	--section-y: clamp(64px, 9vw, 128px);
	--radius: 2px;
}

/* 2. Base --------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--sand);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1.1em;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: 16px;
	z-index: 999;
	background: var(--ink);
	color: var(--sand);
	padding: 10px 16px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
}

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

/* 3. Type --------------------------------------------------------- */
h1,
h2,
h3,
h4 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.028em;
	margin: 0 0 0.5em;
}

.eyebrow,
.section-number {
	font-family: var(--body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--copper-deep);
	margin: 0 0 22px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.eyebrow .rule {
	display: inline-block;
	width: 42px;
	height: 1px;
	background: currentColor;
}

.display {
	font-size: clamp(2rem, 3.9vw, 3.35rem);
	letter-spacing: -0.03em;
}

.section-title {
	font-size: clamp(1.85rem, 3.3vw, 2.9rem);
	max-width: 22ch;
}

.section-lede {
	max-width: 56ch;
	color: var(--muted);
	font-size: 1.02rem;
}

/* 4. Buttons ------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-solid {
	background: var(--copper);
	color: #fff;
}

.btn-solid:hover {
	background: var(--copper-deep);
}

.btn-ghost {
	border-color: var(--ink-line);
	color: var(--sand);
}

.btn-ghost:hover {
	border-color: var(--copper);
	color: #fff;
}

.btn-outline {
	border-color: var(--ink);
	color: var(--ink);
}

.btn-outline:hover {
	background: var(--ink);
	color: var(--sand);
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 6px;
}

.arrow-link::after {
	content: "→";
	transition: transform 0.2s ease;
}

.arrow-link:hover::after {
	transform: translateX(6px);
}

/* 5. Header ------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 50;
	background: var(--sand);
	border-bottom: 1px solid var(--line);
}

.topbar {
	background: var(--ink);
	color: var(--sand);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 44px;
}

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

.topbar-list a {
	color: var(--sand);
	opacity: 0.85;
}

.topbar-list a:hover {
	opacity: 1;
	color: var(--copper);
}

.topbar-address {
	color: rgba(243, 238, 229, 0.6);
}

.topbar-tag {
	color: var(--copper);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 10px;
}

.masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 92px;
}

.brand-plate {
	display: inline-flex;
	align-items: center;
	background: #fff;
	padding: 10px 14px;
	border: 1px solid var(--line);
}

.brand-plate img {
	width: 168px;
	height: auto;
}

.primary-nav {
	margin-left: auto;
}

.nav-list,
.mobile-list {
	display: flex;
	gap: 34px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a,
.mobile-list a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 4px;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--copper);
	transition: right 0.25s ease;
}

.nav-list a:hover::after,
.nav-list .is-current a::after,
.nav-list .current-menu-item a::after {
	right: 0;
}

.header-cta {
	padding: 12px 20px;
	font-size: 11px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
	display: none;
	border-top: 1px solid var(--line);
	padding: 22px var(--gutter) 30px;
	background: var(--sand);
}

.mobile-nav .mobile-list {
	flex-direction: column;
	gap: 18px;
	margin-bottom: 24px;
}

/* 6. Hero --------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--ink);
	color: var(--sand);
	overflow: hidden;
	padding: clamp(56px, 8vw, 104px) 0 0;
}

.hero-strata {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		to bottom,
		rgba(243, 238, 229, 0.055) 0px,
		rgba(243, 238, 229, 0.055) 1px,
		transparent 1px,
		transparent 46px
	);
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: end;
	padding-bottom: clamp(48px, 6vw, 72px);
}

.hero .eyebrow {
	color: var(--copper);
}

.hero-title {
	font-size: clamp(2.5rem, 5.6vw, 4.9rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
	max-width: 15ch;
	margin-bottom: 26px;
}

.hero-lede {
	max-width: 46ch;
	color: rgba(243, 238, 229, 0.74);
	font-size: 1.06rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero-core {
	margin: 0;
	border: 1px solid var(--ink-line);
	padding: 18px;
	background: rgba(19, 29, 34, 0.55);
}

.hero-core figcaption {
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 14px;
}

.core {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 300px;
	border: 1px solid var(--ink-line);
}

.core-band {
	flex: 1;
}

.core-band.b1 { background: #4a3b2c; }
.core-band.b2 { background: #6b5236; }
.core-band.b3 { background: #8a6f45; }
.core-band.b4 { background: #37505c; }
.core-band.b5 { background: var(--water); }

.core-marker {
	position: absolute;
	left: 10px;
	font-size: 10px;
	letter-spacing: 0.16em;
	color: rgba(243, 238, 229, 0.72);
	padding-left: 8px;
	border-left: 1px solid rgba(243, 238, 229, 0.4);
}

.core-marker.m1 { top: 6px; }
.core-marker.m2 { top: 25%; }
.core-marker.m3 { top: 50%; }
.core-marker.m4 { bottom: 6px; color: var(--sand); }

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	border-top: 1px solid var(--ink-line);
}

.stats > div {
	padding: 26px 22px 30px;
	border-left: 1px solid var(--ink-line-soft);
}

.stats > div:first-child {
	border-left: 0;
	padding-left: 0;
}

.stats dt {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 8px;
}

.stats dd {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.stats dd span {
	font-size: 0.5em;
	color: var(--copper);
	margin-left: 4px;
	vertical-align: super;
}

/* 7. Sections & cards -------------------------------------------- */
.section {
	padding: var(--section-y) 0;
}

.section-sand {
	background: var(--sand);
}

.section-ink {
	background: var(--ink);
	color: var(--sand);
}

.section-ink .section-number {
	color: var(--copper);
}

.section-ink .section-lede,
.section-ink p {
	color: rgba(243, 238, 229, 0.72);
}

.section-head {
	margin-bottom: clamp(36px, 5vw, 58px);
}

.section-foot {
	margin-top: 42px;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
}

.card {
	position: relative;
	padding: 34px 30px 36px;
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	transition: background-color 0.22s ease;
}

.card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--copper);
	transition: width 0.3s ease;
}

.card:hover {
	background: rgba(255, 255, 255, 0.55);
}

.card:hover::before {
	width: 100%;
}

.card-index {
	font-family: var(--display);
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--copper-deep);
	margin-bottom: 26px;
}

.card h3 {
	font-size: 1.32rem;
	margin-bottom: 12px;
}

.card p {
	font-size: 0.95rem;
	color: var(--muted);
	margin-bottom: 20px;
}

.card-link {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--copper);
	padding-bottom: 4px;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.split-side p {
	max-width: 52ch;
}

.reason-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(28px, 4vw, 64px);
}

.reason-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.reason-list li {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding: 24px 4px;
	border-bottom: 1px solid var(--line);
	font-family: var(--display);
	font-size: clamp(1.1rem, 1.7vw, 1.42rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.reason-list li:hover {
	color: var(--copper-deep);
	padding-left: 10px;
}

.reason-list span {
	font-family: var(--body);
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--steel);
}

.reason-panel {
	background: #fff;
	border: 1px solid var(--line);
	padding: 32px;
}

.reason-kicker {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--copper-deep);
	margin-bottom: 14px;
}

.reason-phone {
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 22px 0 0;
}

.section-quotes {
	background: var(--sand-2);
}

.quotes {
	position: relative;
	max-width: 74ch;
}

.quote {
	display: none;
	margin: 0;
}

.quote.is-active {
	display: block;
	animation: fade-in 0.45s ease both;
}

.quote p {
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.35;
	letter-spacing: -0.01em;
	margin-bottom: 22px;
}

.quote footer {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.quote-dots {
	display: flex;
	gap: 10px;
	margin-top: 34px;
}

.quote-dots button {
	width: 34px;
	height: 3px;
	border: 0;
	background: rgba(11, 17, 20, 0.2);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.quote-dots button.is-active,
.quote-dots button:hover {
	background: var(--copper);
}

.section-clients {
	background: var(--sand);
	padding-block: clamp(44px, 6vw, 72px);
}

.clients-title {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 30px;
}

.client-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(24px, 5vw, 64px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.client-logos img {
	width: 132px;
	opacity: 0.55;
	filter: grayscale(1);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.client-logos img:hover {
	opacity: 1;
	filter: none;
}

.cta-band {
	background: var(--copper);
	color: #fff;
	padding: clamp(52px, 7vw, 92px) 0;
}

.cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.cta-band .section-number {
	color: rgba(255, 255, 255, 0.75);
}

.cta-band .display {
	color: #fff;
	max-width: 20ch;
	margin: 0;
}

.cta-band .btn-solid {
	background: var(--ink);
	color: var(--sand);
}

.cta-band .btn-solid:hover {
	background: #000;
}

.cta-phone {
	margin: 16px 0 0;
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 600;
}

/* Page heads */
.page-head {
	background: var(--ink);
	color: var(--sand);
	padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 72px);
}

.page-head .eyebrow {
	color: var(--copper);
}

.page-title {
	font-size: clamp(2.2rem, 4.6vw, 3.9rem);
	max-width: 20ch;
	margin-bottom: 20px;
}

.page-lede {
	max-width: 60ch;
	color: rgba(243, 238, 229, 0.72);
	margin: 0;
}

/* 8. Services ----------------------------------------------------- */
.service-stack {
	padding-block: clamp(20px, 4vw, 40px) var(--section-y);
}

.service {
	display: grid;
	grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	padding-block: clamp(36px, 5vw, 64px);
	border-top: 1px solid var(--line);
	scroll-margin-top: 24px;
}

.service-head {
	position: sticky;
	top: 24px;
	align-self: start;
}

.service-index {
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--copper-deep);
	margin-bottom: 14px;
}

.service-head h2 {
	font-size: clamp(1.5rem, 2.4vw, 2.1rem);
	margin: 0;
}

.service-body p {
	max-width: 62ch;
	color: var(--muted);
}

.service-lede {
	color: var(--ink) !important;
	font-size: 1.04rem;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.tag-list li {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid var(--line);
	padding: 7px 12px;
}

.steps {
	list-style: none;
	counter-reset: step;
	margin: 24px 0 0;
	padding: 0;
}

.steps li {
	counter-increment: step;
	position: relative;
	padding: 12px 0 12px 44px;
	border-bottom: 1px solid var(--line);
	font-size: 0.96rem;
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	color: var(--copper-deep);
	font-size: 11px;
	letter-spacing: 0.16em;
	top: 15px;
}

.feature-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.feature-list li {
	padding: 14px 0 14px 22px;
	border-bottom: 1px solid var(--line);
	position: relative;
	font-size: 0.96rem;
	color: var(--muted);
}

.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 10px;
	height: 1px;
	background: var(--copper);
}

.feature-list strong {
	color: var(--ink);
}

.values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
	border-top: 1px solid var(--ink-line);
}

.values li {
	padding: 26px 20px;
	border-bottom: 1px solid var(--ink-line);
	border-right: 1px solid var(--ink-line-soft);
	font-family: var(--display);
	font-size: 1.18rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.values span {
	display: block;
	font-family: var(--body);
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--copper);
	margin-bottom: 12px;
}

.statement {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
	max-width: 1000px;
}

/* 9. Contact ------------------------------------------------------ */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(32px, 5vw, 72px);
	padding-block: clamp(44px, 6vw, 80px) var(--section-y);
	align-items: start;
}

.contact-form {
	background: #fff;
	border: 1px solid var(--line);
	padding: clamp(24px, 3.4vw, 44px);
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.field {
	margin-bottom: 22px;
}

.field label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	padding: 10px 2px;
	font-family: var(--body);
	font-size: 1rem;
	color: var(--ink);
	border-radius: 0;
	transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-bottom-color: var(--copper);
}

.field textarea {
	resize: vertical;
	min-height: 130px;
}

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-status {
	padding: 14px 16px;
	font-size: 0.94rem;
	margin-bottom: 24px;
	border-left: 3px solid;
}

.form-status.is-success {
	background: rgba(46, 110, 142, 0.08);
	border-color: var(--water);
}

.form-status.is-error {
	background: rgba(196, 105, 60, 0.1);
	border-color: var(--copper);
}

.contact-aside {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.contact-block {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.contact-block h2 {
	font-size: 1rem;
	letter-spacing: 0;
	margin-bottom: 6px;
}

.contact-block p {
	margin: 0;
	color: var(--muted);
}

.contact-block a:hover {
	color: var(--copper-deep);
}

.contact-map {
	margin: 26px 0 0;
	border: 1px solid var(--line);
	line-height: 0;
}

.contact-map iframe {
	width: 100%;
	height: 260px;
	border: 0;
	filter: grayscale(0.4);
}

/* 10. Footer ------------------------------------------------------ */
.site-footer {
	background: var(--ink);
	color: var(--sand);
	padding-top: clamp(56px, 7vw, 88px);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-wordmark {
	font-family: var(--display);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	margin-bottom: 10px;
}

.footer-claim {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--copper);
	margin-bottom: 18px;
}

.footer-note {
	color: rgba(243, 238, 229, 0.6);
	font-size: 0.94rem;
	max-width: 38ch;
}

.footer-col h3 {
	font-family: var(--body);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 18px;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 0.94rem;
}

.footer-col li {
	color: rgba(243, 238, 229, 0.72);
}

.footer-col a:hover {
	color: var(--copper);
}

.footer-cta .btn-outline {
	border-color: rgba(243, 238, 229, 0.3);
	color: var(--sand);
	margin-top: 8px;
}

.footer-cta .btn-outline:hover {
	background: var(--sand);
	color: var(--ink);
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 22px 26px;
	border-top: 1px solid var(--ink-line);
	font-size: 12px;
	color: rgba(243, 238, 229, 0.55);
}

.footer-legal p {
	margin: 0;
}

.footer-credit a {
	color: var(--sand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-credit a:hover {
	color: var(--copper);
}

/* 11. Motion & responsive ---------------------------------------- */
@keyframes fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1080px) {
	.nav-list { gap: 22px; }
	.header-cta { display: none; }
}

@media (max-width: 900px) {
	.hero-grid,
	.split,
	.reason-grid,
	.contact-grid,
	.service {
		grid-template-columns: 1fr;
	}
	.hero-core { max-width: 420px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.service-head { position: static; }
}

@media (max-width: 780px) {
	.primary-nav { display: none; }
	.nav-toggle { display: flex; }
	.mobile-nav { display: block; }
	.mobile-nav[hidden] { display: none; }
	.masthead { min-height: 74px; }
	.brand-plate img { width: 132px; }
	.topbar-address, .topbar-tag { display: none; }
	.card { border-right: 0; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats > div { padding: 20px 14px 22px; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-inner { align-items: flex-start; }
}

/* ============================================================
   Engagement band
   ============================================================ */
.band {
	background: #ece5d8;
	border-top: 1px solid rgba(11, 17, 20, 0.14);
	border-bottom: 1px solid rgba(11, 17, 20, 0.14);
	padding: clamp(38px, 5.5vw, 68px) 0;
}
.band-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(26px, 4vw, 64px);
	flex-wrap: wrap;
}
.band-title {
	font-family: 'Archivo', 'Helvetica Neue', sans-serif;
	font-weight: 600;
	font-size: clamp(1.45rem, 2.6vw, 2.25rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #0b1114;
	max-width: 26ch;
	margin: 0 0 10px;
}
.band-tag {
	margin: 0;
	font-size: 0.68rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #8f4a26;
	font-weight: 600;
}
.band-side {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 34px);
	flex-wrap: wrap;
}
.band-phone {
	font-family: 'Archivo', 'Helvetica Neue', sans-serif;
	font-size: 1.2rem;
	color: #0b1114;
	text-decoration: none;
	border-bottom: 1px solid #c4693c;
	padding-bottom: 2px;
	transition: color 0.2s ease;
}
.band-phone:hover { color: #8f4a26; }

.clients-heading {
	font-family: 'Archivo', 'Helvetica Neue', sans-serif;
	font-weight: 600;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	letter-spacing: -0.01em;
	color: #0b1114;
	margin: 0 0 6px;
}

@media (max-width: 780px) {
	.band-side { width: 100%; }
	.band-phone { font-size: 1.05rem; }
}

/* ============================================================
   Field strip — photography band under the hero
   ============================================================ */
.field {
	background: #f3eee5;
	border-top: 1px solid rgba(11, 17, 20, 0.12);
	border-bottom: 1px solid rgba(11, 17, 20, 0.12);
}
.field-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}
.field-grid figure {
	margin: 0;
	position: relative;
	overflow: hidden;
	background: #0b1114;
}
.field-grid img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.field-grid figure:hover img { transform: scale(1.03); }
.field-grid figcaption {
	padding: 14px 20px 16px;
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	color: #5b6167;
	background: #f3eee5;
}
@media (max-width: 780px) {
	.field-grid { grid-template-columns: 1fr; }
	.field-grid img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   Page photography — wide plate under the page header
   ============================================================ */
.page-photo {
	margin: 0 0 clamp(38px, 5vw, 64px);
	position: relative;
	overflow: hidden;
	background: #0b1114;
}
.page-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
}
.page-photo figcaption {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px 16px;
	background: rgba(11, 17, 20, 0.72);
	color: #f3eee5;
	font-size: 0.66rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	backdrop-filter: blur(2px);
}
.page-intro .page-photo { margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 780px) {
	.page-photo img { aspect-ratio: 16 / 10; }
}

/* ============================================================
   Header on white — logo and menu sit on a plain white plate
   ============================================================ */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--line);
}
/* The contact strip above the masthead keeps its original dark treatment. */
.masthead {
	background: #fff;
}
.brand-plate {
	background: transparent;
	border-color: transparent;
	padding: 0;
}
.nav-list a,
.mobile-list a {
	color: var(--ink);
}
.nav-list a:hover,
.nav-list .is-current a,
.nav-list .current-menu-item a {
	color: var(--ink);
}
.mobile-nav {
	background: #fff;
}
@media (max-width: 780px) {
	.brand-plate img { width: 140px; }
}

/* ============================================================
   Interaction layer — entry motion, reveals, scroll states
   ============================================================ */
html {
	scroll-padding-top: 96px;
}

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

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--copper), #8f4a26);
	pointer-events: none;
}

.site-header { transition: box-shadow 0.3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(11, 17, 20, 0.09); }

@keyframes rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

.hero-copy > *,
.hero-core {
	animation: rise 0.85s cubic-bezier(0.22, 0.8, 0.28, 1) both;
}
.hero-copy .eyebrow { animation-delay: 0.06s; }
.hero-title { animation-delay: 0.14s; }
.hero-lede { animation-delay: 0.24s; }
.hero-actions { animation-delay: 0.34s; }
.hero-core { animation-delay: 0.28s; }

[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s cubic-bezier(0.22, 0.8, 0.28, 1),
		transform 0.7s cubic-bezier(0.22, 0.8, 0.28, 1);
	transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.card {
	transition: background-color 0.25s ease,
		transform 0.35s cubic-bezier(0.22, 0.8, 0.28, 1),
		box-shadow 0.35s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 44px rgba(11, 17, 20, 0.09);
}

.reason-list li {
	transition: transform 0.3s ease, color 0.3s ease;
}
.reason-list li:hover { transform: translateX(6px); }
.reason-list li span { transition: color 0.3s ease; }
.reason-list li:hover span { color: var(--copper); }

.btn {
	transition: transform 0.2s ease, background-color 0.2s ease,
		color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.field-grid img { transform: translateY(var(--py, 0px)) scale(1.02); }
.field-grid figure:hover img { transform: translateY(var(--py, 0px)) scale(1.06); }
.page-photo img { transform: translateY(var(--py, 0px)) scale(1.03); }

.mobile-nav {
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-nav.is-open {
	opacity: 1;
	transform: none;
}

.quote-dots button {
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.quote-dots button:hover { transform: scale(1.2); }

@media (prefers-reduced-motion: reduce) {
	[data-reveal],
	[data-reveal].is-visible { opacity: 1; transform: none; }
	.hero-copy > *,
	.hero-core { animation: none; }
	.field-grid img,
	.page-photo img { transform: none; }
	.scroll-progress { display: none; }
	.card:hover,
	.reason-list li:hover { transform: none; }
}

/* Drill-rig plate keeps its full frame instead of being letterboxed to 21:9 */
.page-photo--rig img {
	aspect-ratio: auto;
	height: auto;
}
