/*
Theme Name: A-List Video Solutions
Theme URI: https://a-listvideosolutions.com
Author: David Walker Designs
Author URI: https://davidwalkerdesigns.com
Description: Custom theme for A-List Video Solutions. Built on wp-starter-theme; content edited via Site Content + Videos (no page builder).
Version: 1.0.0
Requires PHP: 8.0
Text Domain: alist
*/

/* ==========================================================================
   Tokens
   Brand: black / white / red, from the existing logo (red sampled: #c02232).
   ========================================================================== */
:root {
	--ink: #0f0e0d;
	--ink-2: #171513;
	--ink-3: #24211d;
	--paper: #f2eee6;
	--paper-2: #e6e0d4;
	--on-dark: #f2eee6;
	--on-dark-muted: #aaa398;
	--on-light: #16140f;
	--on-light-muted: #5d584f;
	--red: #c02232;
	--red-hi: #d9303f;
	--line-dark: rgba(242, 238, 230, 0.14);
	--line-light: rgba(22, 20, 15, 0.16);

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--section: clamp(72px, 10vw, 136px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--ink);
	color: var(--on-dark);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	font-variation-settings: "wdth" 100;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--red); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ==========================================================================
   Type
   ========================================================================== */
.display, .display-2, .h2 {
	font-variation-settings: "wdth" 78;
	letter-spacing: -0.015em;
	line-height: 0.94;
	text-wrap: balance;
}
.display   { font-size: clamp(48px, 9vw, 124px); font-weight: 850; }
.display-2 { font-size: clamp(40px, 6.4vw, 88px); font-weight: 850; }
.h2        { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; line-height: 1; }
.h3        { font-size: 24px; font-variation-settings: "wdth" 85; line-height: 1.15; }

.eyebrow, .label, .mono {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.4;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--on-dark-muted); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.eyebrow:has(.rec)::before { display: none; }
.label { color: var(--on-dark-muted); margin: 0 0 8px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--on-dark-muted); max-width: 40ch; margin: 28px 0 0; }

.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--red-hi); flex: none; animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }

.prose p { color: var(--on-dark-muted); max-width: 60ch; }
.prose-page { max-width: 720px; }
.muted { color: var(--on-dark-muted); }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 24px;
	border: 1px solid transparent; border-radius: 2px;
	font-size: 15px; font-weight: 650; letter-spacing: 0.01em; line-height: 1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn .icon-arrow { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hi); }
.btn-line { border-color: currentColor; color: var(--on-dark); background: transparent; }
.btn-line:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.text-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 4px;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(15, 14, 13, 0.94);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom-color: var(--line-dark);
}
/* No backdrop-filter while the menu is open: it makes the header the containing
   block for the position:fixed mobile nav, which then collapses to header height. */
.menu-open .site-header {
	background: var(--ink);
	-webkit-backdrop-filter: none; backdrop-filter: none;
	border-bottom-color: var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 116px; flex: none; }
.brand img { width: 100%; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 32px; }
.nav-list a {
	display: block; padding: 8px 0; text-decoration: none; font-size: 15px; font-weight: 550;
	position: relative;
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:hover::after, .nav-list .current-menu-item a::after { transform: scaleX(1); }
.nav-phone {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 2px;
	font-family: var(--mono); font-size: 14px; text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.nav-phone .icon { width: 16px; height: 16px; color: var(--red-hi); }
.nav-phone:hover { border-color: var(--on-dark); }

/* Desktop: links sit in a solid bar so they hold up over the hero video.
   (backdrop-filter is safe here: on desktop the nav has no position:fixed children.) */
@media (min-width: 861px) {
	.site-nav {
		gap: 6px; padding: 5px;
		background: rgba(15, 14, 13, 0.78);
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border: 1px solid var(--line-dark); border-radius: 3px;
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	}
	.nav-list { gap: 2px; }
	.nav-list a {
		padding: 10px 16px; border-radius: 2px; font-size: 15px; font-weight: 600;
		transition: background-color .2s var(--ease), color .2s var(--ease);
	}
	.nav-list a::after { left: 16px; right: 16px; bottom: 5px; }
	.nav-list a:hover { background: var(--ink-3); }
	.nav-list .current-menu-item a { background: rgba(242, 238, 230, 0.08); }
	.nav-phone {
		margin-left: 6px; padding: 10px 16px; border: 0;
		background: var(--red); color: #fff;
	}
	.nav-phone .icon { color: #fff; }
	.nav-phone:hover { background: var(--red-hi); }
	.site-header.is-scrolled .site-nav { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.menu-toggle { display: none; }

@media (max-width: 860px) {
	:root { --header-h: 64px; }
	.brand { width: 96px; }
	.menu-toggle {
		display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
		background: none; border: 0; cursor: pointer;
	}
	.menu-toggle-bars { display: grid; gap: 7px; width: 24px; }
	.menu-toggle-bars span { display: block; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
	.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(4.5px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
		padding: 24px var(--gutter) 40px; background: var(--ink);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
	}
	.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
	.menu-open { overflow: hidden; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a {
		padding: 18px 0; border-bottom: 1px solid var(--line-dark);
		font-size: 30px; font-weight: 800; font-variation-settings: "wdth" 80;
	}
	.nav-list a::after { display: none; }
	.nav-phone { margin-top: 32px; justify-content: center; min-height: 52px; font-size: 16px; }
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
	position: relative; isolation: isolate;
	min-height: min(100svh, 920px);
	display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 60px) 0 clamp(56px, 9vw, 112px);
	overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--ink-2) url("assets/img/hero-poster.jpg") center/cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to top, var(--ink) 0%, rgba(15,14,13,0.72) 32%, rgba(15,14,13,0.28) 70%, rgba(15,14,13,0.55) 100%),
		linear-gradient(to right, rgba(15,14,13,0.6) 0%, rgba(15,14,13,0) 65%);
}
.hero-inner { position: relative; }
.hero .display { max-width: 11ch; }
.hero-text { max-width: 46ch; margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(242,238,230,0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-caption {
	position: absolute; right: var(--gutter); bottom: 28px; margin: 0;
	color: rgba(242,238,230,0.7); display: flex; gap: 10px; align-items: center;
}
.hero-caption span { color: var(--red-hi); }
@media (max-width: 860px) { .hero-caption { display: none; } }
@media (max-width: 520px) {
	.hero-actions .btn { flex: 1 1 100%; }
}
/* Phones: video becomes a 3:4 panel on top (portrait cut hero-mobile.mp4, framed
   per shot on the subject) with the copy below it, so the text never covers the bride. */
@media (max-width: 760px) {
	.hero { display: block; min-height: 0; padding: 0 0 56px; }
	.hero-media {
		position: relative; inset: auto; z-index: 0;
		width: 100%; aspect-ratio: 3 / 4; max-height: 74svh;
		background-image: url("assets/img/hero-poster-mobile.jpg");
	}
	.hero-media::after {
		background: linear-gradient(to bottom, rgba(15,14,13,0.55) 0%, rgba(15,14,13,0) 22%, rgba(15,14,13,0) 62%, var(--ink) 100%);
	}
	.hero-inner { margin-top: -72px; z-index: 1; }
}

/* ==========================================================================
   Film strip details
   ========================================================================== */
.sprockets {
	height: 30px;
	background-color: #0a0908;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='30'%3E%3Crect x='11' y='8' width='14' height='14' rx='3' fill='%23f2eee6' fill-opacity='.85'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: center;
}

/* ==========================================================================
   Film transfer band (home)
   ========================================================================== */
.film-band { background: var(--ink-3); }
.film-band-inner {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center;
	padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px);
}
.film-band .lede { max-width: 44ch; }
.format-list { border-top: 1px solid var(--line-dark); counter-reset: f; }
.format-list li {
	display: flex; align-items: baseline; gap: 20px;
	padding: 12px 0; border-bottom: 1px solid var(--line-dark);
	font-size: clamp(22px, 2.4vw, 32px); font-weight: 750; font-variation-settings: "wdth" 82; line-height: 1.15;
	transition: color .2s, padding-left .25s var(--ease);
}
.format-list li .mono { color: var(--red-hi); font-size: 12px; width: 22px; flex: none; }
@media (hover: hover) { .format-list li:hover { padding-left: 8px; } }
@media (max-width: 860px) {
	.film-band-inner { grid-template-columns: 1fr; }
	.format-list { columns: 2; column-gap: 24px; border-top: 0; }
	.format-list li { break-inside: avoid; font-size: 21px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section-tight { padding-top: clamp(40px, 5vw, 64px); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Light section: services */
.services { background: var(--paper); color: var(--on-light); }
.services .eyebrow, .services .service p { color: var(--on-light-muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--on-light); }
.service { padding: 28px 28px 8px 0; border-right: 1px solid var(--line-light); }
.service + .service { padding-left: 28px; }
.service:last-child { border-right: 0; }
.service-num { display: block; color: var(--red); margin-bottom: 40px; }
.service h3 { font-size: clamp(24px, 2.2vw, 30px); font-variation-settings: "wdth" 82; line-height: 1.05; margin-bottom: 14px; }
.service p { font-size: 16px; }
@media (max-width: 980px) {
	.service-grid { grid-template-columns: 1fr 1fr; }
	.service, .service + .service { padding: 28px 24px 16px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
	.service:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-light); }
	.service-num { margin-bottom: 20px; }
}
@media (max-width: 560px) {
	.service-grid { grid-template-columns: 1fr; }
	.service:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   Video grid + cards
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.video-grid-feature .video-card:first-child { grid-column: span 2; grid-row: span 2; }
.video-grid-feature .video-card:first-child .video-card-title { font-size: clamp(22px, 2.2vw, 30px); }
.video-card[hidden] { display: none; }
.video-card-link { display: block; text-decoration: none; height: 100%; }
.video-card-media { position: relative; display: block; overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 9; }
.video-grid-feature .video-card:first-child .video-card-media { aspect-ratio: auto; height: calc(100% - 78px); min-height: 220px; }
.video-card-media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s var(--ease), filter .4s var(--ease);
	filter: saturate(0.9);
}
.video-card-play {
	position: absolute; left: 16px; bottom: 16px;
	width: 48px; height: 48px; display: grid; place-items: center;
	background: var(--red); color: #fff; border-radius: 50%;
	transition: transform .3s var(--ease);
}
.video-card-play .icon { width: 18px; height: 18px; margin-left: 2px; }
.video-card-link:hover img, .video-card-link:focus-visible img { transform: scale(1.04); filter: saturate(1.05); }
.video-card-link:hover .video-card-play { transform: scale(1.1); }
.video-card-meta { display: block; padding-top: 14px; }
.video-card-meta .label { display: block; color: var(--red-hi); margin-bottom: 4px; }
.video-card-title { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; font-variation-settings: "wdth" 90; }
@media (max-width: 980px) {
	.video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.video-grid { grid-template-columns: 1fr; }
	.video-grid-feature .video-card:first-child { grid-column: auto; grid-row: auto; }
	.video-grid-feature .video-card:first-child .video-card-media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip {
	min-height: 40px; padding: 0 16px; border-radius: 2px;
	background: transparent; border: 1px solid var(--line-dark); cursor: pointer;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--on-dark); }
.chip.is-active { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* Video modal */
.video-modal {
	width: min(1120px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0;
	background: #000; color: #fff; overflow: visible;
}
.video-modal::backdrop { background: rgba(6, 6, 5, 0.92); }
.video-modal-frame { aspect-ratio: 16 / 9; }
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-close {
	position: absolute; right: 0; top: -52px; width: 44px; height: 44px;
	display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #fff;
}
.video-modal-close .icon { width: 26px; height: 26px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--red); color: #fff; }
.cta-band-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px);
}
.cta-band .h2 { max-width: 18ch; font-size: clamp(32px, 4vw, 52px); }
.cta-band p { margin: 14px 0 0; color: rgba(255,255,255,0.86); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { background: var(--ink); }
.cta-band .btn-red:hover { background: #000; }
.cta-band .btn-line { color: #fff; }
.cta-band .btn-line:hover { background: #fff; color: var(--red); border-color: #fff; }
@media (max-width: 520px) { .cta-band-actions .btn { flex: 1 1 100%; } }

/* ==========================================================================
   Inner page heroes
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.page-hero-short .lede { max-width: 52ch; }
.page-hero-film { padding: var(--header-h) 0 0; background: var(--ink-3); border-bottom: 0; }
.page-hero-film > .wrap { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero-film .display { max-width: 12ch; }
.format-ticker {
	display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: clamp(48px, 6vw, 80px);
	font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted);
}
.format-ticker li:not(:last-child)::after { content: "/"; color: var(--red-hi); margin: 0 14px; }

/* ==========================================================================
   Transfers page blocks
   ========================================================================== */
.transfer-block + .transfer-block { border-top: 1px solid var(--line-dark); }
.transfer-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.is-flipped .transfer-figure { order: 2; }
.transfer-figure { position: relative; margin: 0; }
.transfer-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: contrast(1.05) saturate(0.85); }
.transfer-figure::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); pointer-events: none; }
.transfer-figure figcaption {
	position: absolute; left: 0; top: 0; padding: 8px 12px; background: var(--red); color: #fff;
}
.transfer-copy .h2 { margin-bottom: 28px; }
.checklist { margin-top: 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.checklist .icon { color: var(--red-hi); flex: none; margin-top: 3px; }
@media (max-width: 860px) {
	.transfer-grid { grid-template-columns: 1fr; }
	.is-flipped .transfer-figure { order: 0; }
}

.steps-section { background: var(--paper); color: var(--on-light); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.steps li { border-top: 2px solid var(--on-light); padding-top: 24px; }
.step-num { display: block; font-size: 44px; font-weight: 500; letter-spacing: 0; color: var(--red); margin-bottom: 20px; line-height: 1; }
.steps p { font-size: 18px; color: var(--on-light-muted); max-width: 32ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-direct .label { margin-top: 32px; }
.contact-direct .label:first-child { margin-top: 0; }
.contact-phone {
	display: block; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; font-variation-settings: "wdth" 80;
	text-decoration: none; line-height: 1.05; margin-bottom: 20px;
}
.contact-direct-actions { display: flex; gap: 10px; }
.contact-direct-actions .btn { flex: 1; }
.contact-form-wrap { background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(24px, 4vw, 48px); }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: var(--ink); color: var(--on-dark); border: 1px solid rgba(242, 238, 230, 0.24); border-radius: 2px;
	font: inherit; font-size: 16px;
	transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aaa398' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-hi); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 14px; color: var(--on-dark-muted); }
.form-errors { border-left: 3px solid var(--red-hi); padding: 4px 0 4px 16px; margin-bottom: 24px; }
.form-errors p { margin: 4px 0; }
.form-success .h3 { margin-bottom: 12px; }
@media (max-width: 860px) {
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.field-row { grid-template-columns: 1fr; }
	.contact-form .btn { justify-self: stretch; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark-muted); }
.footer-col h2 { margin-bottom: 16px; }
.footer-phone { font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 82; margin: 0; }
.footer-phone a { text-decoration: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: var(--on-dark-muted); }
.footer-links a:hover { color: var(--on-dark); }
.footer-social { margin-top: 20px; }
.footer-base {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; padding-bottom: 32px;
	border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-muted);
}
.footer-base p { margin: 0; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--on-dark); }
@media (max-width: 760px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Mobile call/text bar
   ========================================================================== */
.mobile-cta { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 64px; }
	.mobile-cta {
		display: grid; grid-template-columns: 1fr 1fr;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--ink); border-top: 1px solid var(--line-dark);
	}
	.mobile-cta a {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 60px; text-decoration: none; font-weight: 650;
	}
	.mobile-cta a:first-child { background: var(--red); color: #fff; }
	.mobile-cta .icon { width: 18px; height: 18px; }
}

/* ==========================================================================
   Reveal on scroll (below-the-fold content only; JS adds .js-reveal to <html>)
   ========================================================================== */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}
