/* ============================================================
   Souffront Marine — Main stylesheet
   Ported from the static design's design system.
   ============================================================ */

:root{
	--abyss:      oklch(0.16 0.025 240);
	--abyss-2:    oklch(0.22 0.03 235);
	--tide:       oklch(0.42 0.07 220);
	--cyan:       oklch(0.78 0.14 200);
	--cyan-deep:  oklch(0.58 0.13 220);
	--bone:       oklch(0.97 0.008 80);
	--bone-2:     oklch(0.93 0.012 80);
	--sand:       oklch(0.82 0.09 80);
	--ink:        oklch(0.18 0.02 240);
	--ink-soft:   oklch(0.35 0.02 240);
	--muted:      oklch(0.55 0.015 240);
	--line:       color-mix(in oklch, var(--ink) 12%, transparent);
	--line-dark:  color-mix(in oklch, var(--bone) 14%, transparent);

	--serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
	--sans:  "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

	--r: 14px;
	--r-lg: 22px;
	--maxw: 1320px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; background: var(--bone); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
body{ overflow-x: hidden; }
img{ max-width: 100%; height: auto; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; cursor: pointer; background:none; border:0; }

.skip-link{ position: absolute; left: -9999px; }
.skip-link:focus{ left: 16px; top: 16px; padding: 12px 16px; background: var(--ink); color: var(--bone); z-index: 999; border-radius: 8px; }

/* Type */
.display{ font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 0.95; font-style: normal; }
.display em{ font-style: italic; color: var(--cyan-deep); }
.section-dark .display em{ color: var(--cyan); }
.mono{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }

/* Layout */
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section{ padding: 140px 0; position: relative; }
.section-dark{ background: var(--abyss); color: var(--bone); }
.section-dark .eyebrow,
.section-dark .section-num{ color: color-mix(in oklch, var(--bone) 70%, transparent); }
.site-content{ display: block; min-height: 100vh; }

/* Buttons */
.btn{
	display: inline-flex; align-items: center; gap: 10px;
	padding: 16px 24px; border-radius: 999px;
	font-family: var(--sans); font-weight: 500; font-size: 14px;
	letter-spacing: 0.02em;
	transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
	white-space: nowrap;
}
.btn-primary{
	background: linear-gradient(180deg, oklch(0.28 0.03 240), var(--abyss));
	color: var(--bone);
	box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 12px 28px -10px rgba(0,0,0,.5);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 18px 38px -12px rgba(0,0,0,.55); }
.btn-ghost{ border: 1px solid var(--line); color: var(--ink); }
.btn-ghost-dark{ border: 1px solid var(--line-dark); color: var(--bone); }
.btn-ghost:hover, .btn-ghost-dark:hover{ background: color-mix(in oklch, currentColor 6%, transparent); }
.btn .arr{ width: 14px; height: 14px; }

/* Header */
.header{
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	background: color-mix(in oklch, var(--bone) 92%, transparent);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	transition: background .35s ease, border-color .35s ease;
}
.header.scrolled{ background: color-mix(in oklch, var(--bone) 88%, transparent); }
.header.hero-mode{
	background: transparent;
	border-bottom-color: color-mix(in oklch, var(--bone) 14%, transparent);
	color: var(--bone);
}
.header.hero-mode.scrolled{
	background: color-mix(in oklch, var(--abyss) 70%, transparent);
}
.header.hero-mode .nav-link, .header.hero-mode .phone-link{ color: var(--bone); }
.header.hero-mode .btn-ghost{ color: var(--bone); border-color: var(--line-dark); }

.header-inner{
	max-width: var(--maxw); margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 32px; gap: 24px;
}
.logo{ display: flex; align-items: center; }
.logo img, .logo-img{ height: 64px; width: auto; display: block; max-width: 220px; object-fit: contain; }
.custom-logo{ height: 64px !important; width: auto !important; }
/* When the header sits over the dark homepage hero video, tint the logo
 * white (same trick as the footer logo) so the brand reads clearly against
 * the dark background. On inner pages the header has a cream background,
 * so the logo keeps its original colors there. */
.header.hero-mode .logo img,
.header.hero-mode .logo-img,
.header.hero-mode .custom-logo{
	filter: brightness(0) invert(1);
}
@media (max-width: 900px){ .logo img, .logo-img{ height: 48px; } }

.nav{ display: flex; gap: 4px; align-items: center; }
.nav-list{ display: flex; gap: 4px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-list li{ position: relative; }
/* Top-level nav links only — scoped with > so styles don't bleed into the
 * mega-menu. Without this scope, the hero-mode dim rule below would make
 * mega-menu link text nearly invisible on the homepage. */
.nav-list > li > a, .nav-link{
	font-size: 13px; color: var(--ink-soft); transition: color .2s, background .2s;
	padding: 10px 14px; border-radius: 999px;
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--sans); font-weight: 400; letter-spacing: 0.01em;
}
.nav-list > li > a:hover, .nav-list .current-menu-item > a, .nav-list .current_page_item > a{
	color: var(--ink); background: color-mix(in oklch, var(--ink) 6%, transparent);
}
.header.hero-mode .nav-list > li > a{ color: color-mix(in oklch, var(--bone) 78%, transparent); }
.header.hero-mode .nav-list > li > a:hover{ color: var(--bone); background: color-mix(in oklch, var(--bone) 10%, transparent); }

/* Sub-menus */
.nav-list .sub-menu{
	position: absolute; top: 100%; left: 0; min-width: 240px;
	list-style: none; padding: 8px; margin: 8px 0 0;
	background: var(--bone); color: var(--ink);
	border: 1px solid var(--line); border-radius: 12px;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .2s ease, transform .25s ease, visibility .2s;
	z-index: 20;
}
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu{
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-list .sub-menu a{
	display: block; padding: 10px 12px; border-radius: 8px;
	font-family: var(--serif); font-size: 16px; line-height: 1.2; color: var(--ink);
}
.nav-list .sub-menu a:hover{ background: var(--bone-2); }

.header-right{ display: flex; gap: 14px; align-items: center; }
.phone-link{ font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.phone-dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px color-mix(in oklch, var(--cyan) 30%, transparent); animation: souffront-pulse 2s infinite; }
@keyframes souffront-pulse{ 0%,100%{ opacity: 1; } 50%{ opacity: .4; } }
.header-cta{ font-size: 13px; padding: 12px 18px; }

/* Burger + Mobile sheet */
.burger{
	display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
	border-radius: 8px; color: inherit;
}
.burger span{ width: 18px; height: 1.5px; background: currentColor; transition: transform .25s; border-radius: 2px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

.mobile-sheet{
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	background: var(--abyss); color: var(--bone);
	transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s;
	z-index: -1; opacity: 0;
	padding-top: 80px; overflow-y: auto;
}
.mobile-sheet.open{ transform: translateY(0); opacity: 1; z-index: 90; }
.mobile-inner{ padding: 32px 32px 64px; display: flex; flex-direction: column; gap: 4px; }
.mobile-list{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.mobile-list a, .mobile-link{
	display: block; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.2;
	padding: 14px 0; border-bottom: 1px solid color-mix(in oklch, var(--bone) 12%, transparent);
	color: var(--bone);
}
.mobile-list .sub-menu{ list-style: none; padding: 0 0 8px 16px; margin: 0; }
.mobile-list .sub-menu a{ font-size: 22px; padding: 8px 0; border-bottom: 0; color: color-mix(in oklch, var(--bone) 75%, transparent); }
.mobile-foot{ margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* Hero */
.hero{
	position: relative; min-height: 88vh;
	background: var(--abyss); color: var(--bone);
	overflow: hidden; padding-top: 80px;
}
.hero-bg{
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 70% 20%, oklch(0.45 0.12 210) 0%, transparent 55%),
		radial-gradient(ellipse at 20% 80%, oklch(0.28 0.08 235) 0%, transparent 60%),
		linear-gradient(180deg, oklch(0.2 0.03 240) 0%, oklch(0.12 0.025 240) 100%);
}
.hero-waterline{
	position: absolute; left: 0; right: 0; top: 62%;
	height: 1px; background: linear-gradient(90deg, transparent, color-mix(in oklch, var(--cyan) 50%, transparent), transparent);
}
.hero-inner{
	position: relative; z-index: 2;
	max-width: var(--maxw); margin: 0 auto;
	padding: 40px 32px 80px;
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
	min-height: calc(88vh - 80px);
}
.hero h1, .hero .display{
	font-family: var(--serif); font-size: clamp(40px, 5.2vw, 80px);
	line-height: 1; letter-spacing: -0.02em; margin: 0; font-weight: 400;
}
.hero h1 em, .hero .display em{ font-style: italic; color: var(--cyan); font-weight: 400; }
.hero-sub{ font-size: 17px; line-height: 1.55; color: color-mix(in oklch, var(--bone) 78%, transparent); max-width: 520px; margin-top: 28px; }
.hero-ctas{ display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta{
	display: flex; gap: 28px; margin-top: 56px; padding-top: 28px;
	border-top: 1px solid color-mix(in oklch, var(--bone) 14%, transparent);
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: color-mix(in oklch, var(--bone) 60%, transparent);
	flex-wrap: wrap;
}
.hero-meta strong{ display: block; color: var(--bone); font-family: var(--serif); font-size: 22px; letter-spacing: 0; margin-bottom: 4px; font-weight: 400; }

.hero-visual{ position: relative; height: 560px; }
.hero-scene{ position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid color-mix(in oklch, var(--bone) 10%, transparent); }
.hero-photo,
.hero-video{
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	/* Tint toward the brand abyss so the media matches the hero gradient. */
	filter: brightness(0.82) saturate(1.05);
}
/* Reduced-motion: hide the looping video, the poster is left in place
 * via the <video poster="..."> attribute so the still still renders. */
@media (prefers-reduced-motion: reduce){
	.hero-video{ display: none; }
}
.hero-scene::after{
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(135deg, color-mix(in oklch, var(--abyss) 35%, transparent), transparent 55%, color-mix(in oklch, var(--abyss) 25%, transparent));
	pointer-events: none;
	z-index: 1;
}
.float-card{
	position: absolute; border-radius: var(--r);
	border: 1px solid color-mix(in oklch, var(--bone) 14%, transparent);
	background: color-mix(in oklch, oklch(0.22 0.03 235) 80%, transparent);
	backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
	padding: 18px;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.fc-report{ top: 20px; right: 40px; width: 300px; z-index: 3; }
.fc-stat{ bottom: 10px; right: 10px; width: 200px; z-index: 4; }

/* Placeholder pattern */
.ph{
	position: relative;
	background:
		repeating-linear-gradient(135deg, color-mix(in oklch, var(--ink) 3%, transparent) 0 10px, color-mix(in oklch, var(--ink) 6%, transparent) 10px 20px),
		var(--bone-2);
	color: var(--ink-soft);
	display: grid; place-items: center;
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
	text-align: center; padding: 18px;
}
.ph.dark{
	background:
		repeating-linear-gradient(135deg, color-mix(in oklch, var(--bone) 6%, transparent) 0 10px, color-mix(in oklch, var(--bone) 10%, transparent) 10px 20px),
		oklch(0.24 0.03 235);
	color: color-mix(in oklch, var(--bone) 60%, transparent);
}
.ph-label{ max-width: 70%; line-height: 1.6; }
.ph-tag{
	position: absolute; top: 10px; left: 10px;
	font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em;
	background: color-mix(in oklch, currentColor 12%, transparent);
	border: 1px solid color-mix(in oklch, currentColor 25%, transparent);
	padding: 4px 8px; border-radius: 4px;
}

/* Trust strip */
.trust{ background: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-inner{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; align-items: center; }
.trust-item{ display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.trust-dot{
	width: 28px; height: 28px; border-radius: 50%;
	background: linear-gradient(135deg, var(--bone-2), var(--bone));
	border: 1px solid var(--line);
	display: grid; place-items: center; flex-shrink: 0;
}
.trust-dot svg{ width: 14px; height: 14px; color: var(--cyan-deep); }

/* Section heads */
.section-head{ display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; margin-bottom: 72px; align-items: end; }
.section-head h2, .section-head .display{ font-family: var(--serif); font-size: clamp(44px, 5vw, 80px); line-height: 1; letter-spacing: -0.02em; margin: 0; font-weight: 400; }
.section-head .lead{ font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 540px; }
.section-num{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 14px; display: block; }

/* Service cards */
.services-grid{
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: var(--line); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
}
.svc{
	background: var(--bone);
	padding: 36px 30px 30px;
	transition: background .35s ease;
	min-height: 480px;
	display: flex; flex-direction: column;
	color: var(--ink);
}
.svc:hover{ background: var(--bone-2); }
.svc-head{ display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.svc-num{ font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.svc-cat{ font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-deep); }
.svc-title{ font-family: var(--serif); font-size: 32px; line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 16px; font-weight: 400; }
.svc-img{ aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 20px; overflow: hidden; position: relative; }
/* Bias the crop toward the top of the photo so faces / heads don't get
 * clipped off when the source image is taller than the card's 4:3 slot. */
.svc-img img{ width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.svc:hover .svc-img img{ transform: scale(1.04); }
.svc-img-bundled{ width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.svc-desc{ font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.svc-cta{
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px;
	align-self: flex-start;
	transition: color .25s, border-color .25s;
}
.svc:hover .svc-cta{ color: var(--cyan-deep); border-color: var(--cyan-deep); }

/* Process timeline */
.process-track{
	position: relative; margin-top: 80px;
	display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px;
}
.process-rail{ position: absolute; left: 5%; right: 5%; top: 26px; height: 1px; background: color-mix(in oklch, var(--bone) 20%, transparent); }
.step-dot{
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--abyss-2); border: 1px solid color-mix(in oklch, var(--bone) 20%, transparent);
	display: grid; place-items: center;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
	color: color-mix(in oklch, var(--bone) 70%, transparent);
	margin-bottom: 24px; position: relative; z-index: 2;
}
.step-title{ font-family: var(--serif); font-size: 20px; line-height: 1.1; margin-bottom: 8px; font-weight: 400; }
.step-desc{ font-size: 12px; line-height: 1.55; color: color-mix(in oklch, var(--bone) 60%, transparent); }
.step-dur{ font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--cyan); margin-top: 12px; display: block; }

/* Service Areas grid */
.areas-list{
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1px; background: var(--line); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
}
.area-cell{
	background: var(--bone);
	display: flex; align-items: center; justify-content: space-between;
	padding: 28px 24px; transition: background .25s, color .25s;
	color: var(--ink);
}
.area-cell:hover{ background: var(--bone-2); color: var(--cyan-deep); }
.area-name{ font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.1; }
.area-zip{ font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--cyan-deep); }

/* Form section */
.form-section{ padding: 140px 0; background: var(--bone); }
.form-grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.form-copy .mono{ display: block; margin-bottom: 14px; color: var(--cyan-deep); }
.form-copy h2, .form-copy .display{ font-family: var(--serif); font-size: clamp(40px, 4.5vw, 72px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 24px; font-weight: 400; }
.form-copy p{ font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 440px; }
.form-promises{ list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 0; }
.form-promises li{
	display: flex; gap: 18px; align-items: flex-start;
	padding: 18px 0; border-top: 1px solid var(--line);
}
.form-promises li:last-child{ border-bottom: 1px solid var(--line); }
.form-promises li::before{
	content: "→"; flex-shrink: 0; width: 28px; height: 28px;
	display: grid; place-items: center; border-radius: 50%;
	background: var(--abyss); color: var(--cyan); font-size: 12px;
}
.form-promise-t{ display: block; font-family: var(--serif); font-size: 18px; line-height: 1.2; margin-bottom: 4px; }
.form-promise-d{ display: block; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

.form-card{
	background: var(--bone); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0,0,0,.18);
}
.form-card-head{
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--abyss); color: var(--bone);
}
.form-card-head .mono{ color: var(--cyan); }
.form-card-head-status{ font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: oklch(0.78 0.13 145); display: flex; align-items: center; gap: 8px; }
.form-card-head-status::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.78 0.13 145); animation: souffront-pulse 2s infinite; }
.form-embed{ width: 100%; border: 0; display: block; background: var(--bone); }
.form-foot{
	display: flex; justify-content: space-between; align-items: center;
	padding: 14px 20px; border-top: 1px solid var(--line);
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted);
	background: var(--bone-2);
}

/* FAQ */
.faq-grid{ display: grid; grid-template-columns: 1fr 1.5fr; gap: 96px; align-items: start; }
.faq-grid-head{ position: sticky; top: 110px; }
.faq-grid-head .section-num{ display: block; margin-bottom: 24px; }
.faq-grid-head .display{ font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; margin: 0 0 32px; }
.faq-grid-head .lead{ font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 38ch; }
.faq-grid-head .lead a{ color: var(--cyan-deep); border-bottom: 1px solid currentColor; }
.faq-grid-list .faq-list{ max-width: none; margin: 0; }
.faq-grid-list .faq-q{ font-size: 19px; padding: 22px 0; }
.faq-grid-list .faq-item.open .faq-a{ padding: 0 0 22px; }
.faq-list{ display: flex; flex-direction: column; gap: 0; max-width: 920px; margin: 0 auto; border-top: 1px solid var(--line); }
.section-dark .faq-list{ border-top-color: color-mix(in oklch, var(--bone) 14%, transparent); }
.faq-item{ border-bottom: 1px solid var(--line); }
.section-dark .faq-item{ border-bottom-color: color-mix(in oklch, var(--bone) 14%, transparent); }
.faq-q{
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 28px 0; cursor: pointer;
	font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 400; letter-spacing: -0.005em;
}
.faq-toggle{
	width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--bone-2); color: var(--ink);
	font-size: 18px; font-family: var(--sans); flex-shrink: 0;
	transition: background .25s, transform .3s;
}
.section-dark .faq-toggle{ background: var(--abyss-2); color: var(--bone); }
.faq-item.open .faq-toggle{ background: var(--cyan-deep); color: var(--bone); transform: rotate(45deg); }
.faq-a{
	max-height: 0; overflow: hidden;
	transition: max-height .35s ease, padding .35s ease;
	font-size: 15px; line-height: 1.65; color: var(--ink-soft);
	padding: 0;
}
.section-dark .faq-a{ color: color-mix(in oklch, var(--bone) 75%, transparent); }
.faq-item.open .faq-a{ max-height: 1000px; padding: 0 0 28px; }
.faq-a p{ margin: 0 0 12px; }

/* Page hero (interior pages) — DARK variant (default) */
.page-hero{
	position: relative; background: var(--abyss); color: var(--bone);
	padding: 180px 0 100px; overflow: hidden;
}
.page-hero-bg{
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 80% 20%, oklch(0.4 0.1 210) 0%, transparent 55%),
		linear-gradient(180deg, oklch(0.2 0.03 240) 0%, oklch(0.14 0.025 240) 100%);
}
.page-hero-inner{ position: relative; z-index: 2; }
.page-h1{ font-size: clamp(48px, 6vw, 96px); line-height: 0.95; margin: 16px 0 0; max-width: 18ch; }
.page-h1 em{ font-style: italic; color: var(--cyan); }
.page-lede{ font-size: 18px; line-height: 1.55; color: color-mix(in oklch, var(--bone) 78%, transparent); max-width: 620px; margin-top: 24px; }
.breadcrumbs{ font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: color-mix(in oklch, var(--bone) 60%, transparent); display: flex; gap: 10px; align-items: center; margin-bottom: 24px; }
.breadcrumbs a{ color: color-mix(in oklch, var(--bone) 78%, transparent); }
.breadcrumbs a:hover{ color: var(--cyan); }

/* Page hero — LIGHT variant (single-service, single-location) */
.page-hero-light{
	background: var(--bone); color: var(--ink);
	padding: 120px 0 80px;
	border-bottom: 1px solid var(--line);
	position: relative;
	overflow: hidden;
}
/* When a hero photo is present, sit it as a faded background panel on the
 * right half of the hero — keeps the cream feel and the typography wins. */
.page-hero-photo{
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 50%;
	pointer-events: none;
	z-index: 0;
}
.page-hero-photo img{
	width: 100%; height: 100%;
	object-fit: cover;
	/* Bias the crop slightly above center so faces/heads at the top of the
	 * source photo aren't clipped by wide hero banners (e.g. the diver photo
	 * on the seawall-inspection service hero). */
	object-position: center 25%;
	display: block;
}
.page-hero-photo::after{
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--bone) 0%, color-mix(in oklch, var(--bone) 60%, transparent) 35%, transparent 100%);
}
.page-hero-with-image .page-hero-inner{ position: relative; z-index: 1; }
.page-hero-with-image .page-h1-light,
.page-hero-with-image .page-lede-light{ max-width: 32ch; }

@media (max-width: 900px){
	.page-hero-photo{ display: none; }
}
.page-h1-light{
	color: var(--ink);
	max-width: 22ch;
	font-weight: 400;
}
.page-h1-light em{ color: var(--cyan-deep); }
.page-h1-tail{ font-style: italic; color: var(--cyan-deep); font-weight: 400; }
.page-h1-tail em{ font-style: italic; }
.page-lede-light{
	color: var(--ink-soft);
	max-width: 720px;
	font-size: 17px;
	line-height: 1.65;
}
.mono-eyebrow{
	color: var(--cyan-deep);
	display: inline-block;
}
.breadcrumbs-light{ color: var(--ink-soft); }
.breadcrumbs-light a{ color: var(--ink-soft); }
.breadcrumbs-light a:hover{ color: var(--cyan-deep); }

.hero-ctas-light{ margin-top: 40px; }
.hero-ctas-light .btn-ghost{
	background: transparent;
	color: var(--ink);
	border: 1px solid color-mix(in oklch, var(--ink) 18%, transparent);
}
.hero-ctas-light .btn-ghost:hover{
	background: color-mix(in oklch, var(--ink) 5%, transparent);
}

.page-zip{
	font-family: var(--mono);
	font-size: 11px; letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 24px 0 0;
}

/* Hero pills — capsule rows under the lede */
.hero-pills{
	display: flex; flex-wrap: wrap;
	gap: 10px;
	margin: 32px 0 0;
}
.hero-pill{
	display: inline-flex; align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid color-mix(in oklch, var(--ink) 14%, transparent);
	border-radius: 999px;
	background: color-mix(in oklch, var(--bone) 60%, transparent);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.hero-pill strong{
	color: var(--ink);
	font-weight: 600;
	letter-spacing: 0.16em;
}
.hero-pill-sep{ color: color-mix(in oklch, var(--ink) 25%, transparent); }
.hero-pill-value{ color: var(--ink-soft); font-weight: 400; }

/* Service / location body — sticky TOC sidebar + prose */
.service-body{ padding: 80px 0 100px; }
.service-body-grid{
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}
.service-toc{
	position: sticky;
	top: 100px;
	align-self: start;
}
.service-toc-eyebrow{
	display: block;
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 0 0 16px;
}
.service-toc-list{
	list-style: none; padding: 0; margin: 0;
	border-left: 1px solid var(--line);
}
.service-toc-list li{ margin: 0; }
.service-toc-list a{
	display: block;
	padding: 8px 0 8px 18px;
	margin-left: -1px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ink-soft);
	border-left: 2px solid transparent;
	transition: color .15s, border-color .15s;
}
.service-toc-list a:hover,
.service-toc-list a.is-active{
	color: var(--ink);
	border-left-color: var(--cyan-deep);
	text-decoration: none;
}

.service-prose-wrap{ min-width: 0; }
.service-prose{
	max-width: 760px;
}
.service-prose h2{
	scroll-margin-top: 100px; /* offset for sticky header on anchor jumps */
}
.service-section{
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
	max-width: 760px;
}
.service-section h2{
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.1; letter-spacing: -0.01em;
	margin: 0 0 16px;
	scroll-margin-top: 100px;
}
.service-section-lede{ color: var(--ink-soft); margin: 0 0 24px; }
.service-section-faq{ margin-top: 56px; }

.service-areas-pills{
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 8px;
}
.service-areas-pills li a{
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	color: var(--ink-soft);
	transition: border-color .15s, color .15s, background .15s;
}
.service-areas-pills li a:hover{
	border-color: var(--cyan-deep);
	color: var(--ink);
	background: var(--bone-2);
	text-decoration: none;
}

.services-grid-compact{ gap: 20px; }
.services-grid-compact .svc{ padding: 24px; }

/* Responsive — collapse sidebar on tablet, then mobile */
@media (max-width: 900px){
	.service-body-grid{
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.service-toc{
		position: static;
		padding: 16px 18px;
		background: var(--bone-2);
		border-radius: 12px;
	}
	.service-toc-list{ border-left: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
	.service-toc-list a{ padding: 6px 8px; border-left: 0; }
	.page-hero-light{ padding: 100px 0 64px; }
	.page-h1{ font-size: clamp(36px, 5vw, 56px); }
}
@media (max-width: 600px){
	.service-toc-list{ grid-template-columns: 1fr; }
	.hero-pills{ gap: 8px; }
	.hero-pill{ padding: 8px 14px; font-size: 10px; }
}

.archive-hero{
	background: var(--abyss); color: var(--bone);
	padding: 180px 0 100px;
}
.archive-hero .display{ font-size: clamp(48px, 6vw, 96px); line-height: 0.95; margin: 16px 0 0; }
.archive-hero .page-lede{ color: color-mix(in oklch, var(--bone) 78%, transparent); margin-top: 24px; max-width: 620px; }

/* Prose (rich content) */
.prose-wrap{ display: grid; grid-template-columns: minmax(0, 1fr); justify-content: center; }
.prose{ max-width: 740px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose > * + *{ margin-top: 1em; }
.prose h2{ font-family: var(--serif); font-size: clamp(32px, 3.5vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 1.6em 0 0.4em; font-weight: 400; }
.prose h3{ font-family: var(--serif); font-size: 28px; line-height: 1.15; margin: 1.4em 0 0.4em; font-weight: 400; }
.prose h4{ font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin: 1.4em 0 0.4em; }
.prose p{ margin: 0 0 1em; }
.prose a{ color: var(--cyan-deep); border-bottom: 1px solid currentColor; }
.prose ul, .prose ol{ padding-left: 1.4em; }
.prose li{ margin-bottom: 0.4em; }
.prose blockquote{
	border-left: 3px solid var(--cyan-deep);
	padding: 8px 0 8px 24px;
	font-family: var(--serif); font-size: 24px; line-height: 1.4; font-style: italic;
	color: var(--ink); margin: 32px 0;
}
.prose code{ font-family: var(--mono); font-size: 0.85em; background: var(--bone-2); padding: 2px 6px; border-radius: 4px; }
.prose img, .prose figure{ border-radius: var(--r); overflow: hidden; }

/* Blog listing */
.post-grid{
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.post-card{
	background: var(--bone); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
	display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.post-card:hover{ transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.18); }
.post-card-img{ display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card-img img{ width: 100%; height: 100%; object-fit: cover; }
.post-card-body{ padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card-meta{ color: var(--muted); }
.post-card-title{ font-family: var(--serif); font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; margin: 0; font-weight: 400; }
.post-card-title a{ color: var(--ink); }
.post-card-title a:hover{ color: var(--cyan-deep); }
.post-card-excerpt{ font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; flex: 1; }

.pagination{ margin-top: 64px; display: flex; justify-content: center; }
.pagination .page-numbers{
	display: inline-flex; padding: 10px 14px; margin: 0 4px; border-radius: 999px;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
	border: 1px solid var(--line); color: var(--ink-soft);
}
.pagination .page-numbers.current{ background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* Footer */
.site-footer{
	background: var(--abyss); color: var(--bone);
	padding: 100px 0 40px;
}
.site-footer-inner{
	max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px;
}
.site-footer h4{
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
	color: color-mix(in oklch, var(--bone) 50%, transparent);
	margin: 0 0 20px;
}
.site-footer ul{ list-style: none; padding: 0; margin: 0; }
.site-footer li{ padding: 6px 0; font-size: 14px; }
.site-footer li a{ color: color-mix(in oklch, var(--bone) 80%, transparent); transition: color .2s; }
.site-footer li a:hover{ color: var(--cyan); }
.site-footer .footer-brand p{ font-size: 14px; line-height: 1.6; color: color-mix(in oklch, var(--bone) 70%, transparent); max-width: 320px; }
.footer-logo{ display: inline-block; margin: 0 0 22px; }
.footer-logo img{ display: block; max-width: 220px; height: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer-bottom{
	max-width: var(--maxw); margin: 64px auto 0; padding: 32px 32px 0;
	border-top: 1px solid color-mix(in oklch, var(--bone) 14%, transparent);
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
	font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
	color: color-mix(in oklch, var(--bone) 50%, transparent);
}

/* Responsive */
@media (max-width: 1100px){
	.services-grid{ grid-template-columns: repeat(2, 1fr); }
	.process-track{ grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
	.areas-list{ grid-template-columns: repeat(3, 1fr); }
	.trust-inner{ grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
	.section-head{ grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
	.form-grid{ grid-template-columns: 1fr; gap: 56px; }
	.site-footer-inner{ grid-template-columns: 1fr 1fr; gap: 40px; }
	.post-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
	.section{ padding: 90px 0; }
	.form-section{ padding: 90px 0; }
	.nav-desktop, .header-cta, .header .phone-link{ display: none; }
	.burger{ display: inline-flex; }
	.hero{ padding-top: 80px; }
	.hero-inner{
		grid-template-columns: 1fr; gap: 48px;
		padding: 60px 24px 80px; align-items: start;
	}
	.hero-visual{ height: 420px; }
	.fc-report{ width: 240px; right: 20px; }
	.fc-stat{ width: 160px; }
	.hero-meta{ gap: 18px; margin-top: 32px; padding-top: 20px; }
	.container{ padding: 0 24px; }
	.archive-hero, .page-hero{ padding: 130px 0 70px; }
}

@media (max-width: 720px){
	.services-grid{ grid-template-columns: 1fr; }
	.process-track{ grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.process-rail{ display: none; }
	.areas-list{ grid-template-columns: repeat(2, 1fr); }
	.trust-inner{ grid-template-columns: repeat(2, 1fr); }
	.svc{ min-height: auto; }
	.svc-title{ font-size: 28px; }
	.faq-grid{ grid-template-columns: 1fr; gap: 40px; }
	.faq-grid-head{ position: static; }
	.faq-grid-head .display{ margin-bottom: 20px; }
	.faq-q{ font-size: 20px; padding: 22px 0; }
	.post-grid{ grid-template-columns: 1fr; }
	.site-footer-inner{ grid-template-columns: 1fr; gap: 32px; }
	.mobile-list a, .mobile-link{ font-size: 28px; }
}

@media (max-width: 520px){
	.areas-list, .trust-inner{ grid-template-columns: 1fr; }
	.btn{ padding: 14px 20px; font-size: 13px; }
	.hero-meta{ flex-direction: column; gap: 12px; align-items: flex-start; }
	.hero-meta strong{ font-size: 18px; }
}

/* Print */
@media print{
	.header, .site-footer, .mobile-sheet, .form-card, .burger{ display: none !important; }
	.hero, .page-hero, .archive-hero, .section-dark{ background: white !important; color: black !important; }
	.section{ padding: 24px 0; page-break-inside: avoid; }
}

/* WordPress core alignments */
.alignleft{ float: left; margin: 0 24px 16px 0; }
.alignright{ float: right; margin: 0 0 16px 24px; }
.aligncenter{ display: block; margin: 0 auto 16px; }
.alignwide{ max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull{ width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption{ max-width: 100%; }
.wp-caption-text{ font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.screen-reader-text{ position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Gutenberg block defaults */
.wp-block-button__link{ background: var(--ink); color: var(--bone); padding: 16px 24px; border-radius: 999px; }
.wp-block-quote{ border-left: 3px solid var(--cyan-deep); padding-left: 24px; font-family: var(--serif); font-style: italic; }

/* ============================================================
   Footer + Final-CTA fix patch
   The Claude Design markup uses .fcta and .footer / .footer-inner
   / .footer-top / .footer-bottom — but the original CSS only had
   .site-footer rules and zero .fcta rules, leaving the bottom of
   every page unstyled. This block fills in the missing rules.
   ============================================================ */

/* Final CTA band — sits above the footer */
.fcta{
	position: relative;
	background: var(--abyss);
	color: var(--bone);
	padding: 140px 0 120px;
	text-align: center;
	overflow: hidden;
}
.fcta-bg{
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 50% 0%, color-mix(in oklch, var(--tide) 55%, transparent), transparent 65%),
		radial-gradient(ellipse at 50% 110%, color-mix(in oklch, var(--cyan-deep) 32%, transparent), transparent 60%);
	pointer-events: none;
}
.fcta-inner{
	position: relative; z-index: 1;
	max-width: 920px; margin: 0 auto; padding: 0 32px;
}
.fcta .mono{
	color: var(--cyan);
	display: inline-block;
	margin-bottom: 28px;
}
.fcta h2{
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(48px, 6vw, 96px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	margin: 0 0 48px;
	color: var(--bone);
}
.fcta h2 em{ font-style: italic; color: var(--cyan); }
.fcta-ctas{
	display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
	margin-bottom: 48px;
}
.fcta-meta{
	display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: color-mix(in oklch, var(--bone) 60%, transparent);
}

/* Footer — alias rules so the actual PHP markup
   (.footer / .footer-inner / .footer-top / .footer-bottom)
   gets the styling that the original .site-footer rules were
   meant to deliver. */
.footer{
	background: var(--abyss);
	color: var(--bone);
	padding: 100px 0 40px;
	border-top: 1px solid color-mix(in oklch, var(--bone) 8%, transparent);
}
.footer-inner{
	max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
}
.footer-top{
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px;
}
.footer h3{
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 400;
	margin: 0 0 16px;
	color: var(--bone);
	letter-spacing: -0.01em;
}
.footer h4{
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: color-mix(in oklch, var(--bone) 50%, transparent);
	margin: 0 0 20px;
}
.footer ul{ list-style: none; padding: 0; margin: 0; }
.footer li{ padding: 6px 0; font-size: 14px; }
.footer a{ color: color-mix(in oklch, var(--bone) 80%, transparent); transition: color .2s; }
.footer a:hover{ color: var(--cyan); }
.footer-brand p{
	font-size: 14px;
	line-height: 1.6;
	color: color-mix(in oklch, var(--bone) 70%, transparent);
	max-width: 320px;
}
.footer-brand a{ color: var(--cyan); }
.footer-bottom{
	max-width: var(--maxw); margin: 64px auto 0; padding: 32px 32px 0;
	border-top: 1px solid color-mix(in oklch, var(--bone) 14%, transparent);
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	color: color-mix(in oklch, var(--bone) 50%, transparent);
}

/* Responsive */
@media (max-width: 1100px){
	.footer-top{ grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px){
	.footer-top{ grid-template-columns: 1fr; gap: 32px; }
	.fcta{ padding: 100px 0 90px; }
	.fcta-meta{ gap: 16px; font-size: 10px; }
	.fcta-ctas{ flex-direction: column; align-items: stretch; }
	.fcta-ctas .btn{ justify-content: center; }
	.footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* Print — hide the actual footer/CTA classes too */
@media print{
	.footer, .fcta{ display: none !important; }
}

/* ============================================================
   Mega-menu (Services) + Service Areas dropdown
   Rendered by inc/menus.php souffront_render_megamenu_services()
   and souffront_render_dropdown_areas(). The trigger <li> is
   .nav-item.has-megamenu — set position:static so the panel can
   stretch the full header width.
   ============================================================ */
.nav-list .nav-item{ position: static; }
.nav-list .nav-item .nav-link{
	display: inline-flex; align-items: center; gap: 6px;
}
.nav-caret{
	width: 10px; height: 8px; opacity: 0.6; transition: transform .2s, opacity .2s;
}
.has-megamenu:hover .nav-caret,
.has-megamenu:focus-within .nav-caret{ transform: rotate(180deg); opacity: 1; }

.megamenu{
	position: absolute;
	left: 0; right: 0; top: 100%;
	background: var(--bone);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 30px 60px -20px rgba(8, 22, 40, .18);
	padding: 56px 0 64px;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-megamenu:hover > .megamenu,
.has-megamenu:focus-within > .megamenu{
	opacity: 1; visibility: visible; transform: translateY(0);
}

/* When the page is in hero-mode (front page, dark header overlay),
   keep the megamenu light so the content remains readable. */
.header.hero-mode .megamenu{ color: var(--ink); }

.megamenu-inner{
	max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
	display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr;
	gap: 48px;
}
.megamenu-intro{ max-width: 320px; }
.megamenu-eyebrow{
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--ink-soft);
}
.megamenu-title{
	font-family: var(--serif); font-weight: 400;
	font-size: 30px; line-height: 1.1; letter-spacing: -0.01em;
	color: var(--ink);
	margin: 14px 0 18px;
}
.megamenu-lede{
	font-size: 14px; line-height: 1.65; color: var(--ink-soft);
	margin: 0 0 24px;
}
.megamenu-link{
	display: inline-block;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--ink);
	padding-bottom: 4px;
	border-bottom: 1px solid var(--ink);
	transition: color .18s, border-color .18s;
}
.megamenu-link:hover{ color: var(--cyan-deep); border-color: var(--cyan-deep); }

.megamenu-col-title{
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--ink-soft);
	margin: 4px 0 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.megamenu-list{ list-style: none; padding: 0; margin: 0; }
.megamenu-list li{ padding: 10px 0; }
.megamenu-list li + li{ border-top: 1px dashed color-mix(in oklch, var(--ink) 8%, transparent); }
.megamenu .megamenu-list a{
	display: flex; flex-direction: column; gap: 2px;
	color: var(--ink); transition: color .15s;
	padding: 0; background: transparent; border-radius: 0;
}
.megamenu .megamenu-list a strong{
	font-family: var(--serif); font-weight: 400;
	font-size: 18px; line-height: 1.25;
	letter-spacing: -0.005em;
	color: var(--ink);
}
.megamenu .megamenu-list a span{
	font-size: 12px; color: var(--ink-soft); line-height: 1.45;
}
.megamenu .megamenu-list a:hover strong{ color: var(--cyan-deep); }
.megamenu .megamenu-list a:hover span{ color: var(--ink); }

/* Service Areas dropdown — narrower, 2-column list */
.megamenu-inner-areas{ grid-template-columns: 1fr 1.5fr; }
.megamenu-list-areas{
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px;
}
.megamenu-list-areas li{ border-top: 0; padding: 8px 0; }

/* Mobile sheet — sub-section headers */
.mobile-section{ margin-top: 28px; padding-top: 20px; border-top: 1px solid color-mix(in oklch, var(--bone) 14%, transparent); }
.mobile-section h4{
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
	text-transform: uppercase; color: color-mix(in oklch, var(--bone) 55%, transparent);
	margin: 0 0 12px;
}
.mobile-sub{ list-style: none; padding: 0; margin: 0; }
.mobile-sub li{ margin: 0; }
.mobile-sub a{
	display: block; padding: 8px 0;
	font-size: 18px; color: color-mix(in oklch, var(--bone) 78%, transparent);
}
.mobile-sub a:hover{ color: var(--cyan); }

/* Hide mega-menu on small screens (mobile sheet handles it) */
@media (max-width: 1100px){
	.megamenu{ display: none !important; }
	.nav-caret{ display: none; }
}

/* ============================================================
   What's Included section — 9-row deliverables list + seawall
   cross-section diagram. Sits between Process and Service Areas.
   ============================================================ */
.section-included{ padding: 120px 0; }
.section-included .display em{ color: var(--cyan); }

.included-grid{
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 56px;
	align-items: start;
	margin-top: 32px;
}

.included-list{
	list-style: none;
	margin: 0; padding: 0;
}
.included-row{
	display: grid;
	grid-template-columns: 32px 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 22px 0;
	border-bottom: 1px solid color-mix(in oklch, var(--bone) 12%, transparent);
}
.included-row:last-child{ border-bottom: 0; }
.included-num{
	font-family: var(--mono);
	font-size: 11px; letter-spacing: 0.18em;
	color: color-mix(in oklch, var(--bone) 50%, transparent);
}
.included-text{
	font-family: var(--serif);
	font-size: 22px; line-height: 1.3;
	font-weight: 400;
	color: var(--bone);
}
.included-tag{
	font-family: var(--mono);
	font-size: 10px; letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cyan);
	white-space: nowrap;
	padding-left: 16px;
}

/* ---------- Seawall cross-section figure ----------
 *
 * The diagram is an inline SVG inside .included-figure. The SVG is a true
 * side-section: open water on the left, backfilled upland soil on the right,
 * separated by a vertical concrete panel + cap. Tieback rod runs from the
 * upper panel back to a deadman anchor buried in the upland. Toe-scour zone
 * is highlighted at the base of the wall on the water side. All depth +
 * label typography lives in the SVG so it scales cleanly with the figure.
 */
.included-figure{
	position: relative;
	aspect-ratio: 5 / 7;
	border-radius: var(--r-lg);
	overflow: hidden;
	margin: 0;
	min-height: 600px;
	border: 1px solid color-mix(in oklch, var(--bone) 12%, transparent);
	background: var(--abyss);
}
.cs-svg{
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	display: block;
}

/* Responsive — collapse to single column on tablet, stack figure under list */
@media (max-width: 1000px){
	.included-grid{
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.included-figure{ max-width: 480px; margin: 0 auto; min-height: 540px; }
}
@media (max-width: 600px){
	.included-row{ grid-template-columns: 28px 1fr; row-gap: 4px; }
	.included-tag{ grid-column: 2; padding-left: 0; }
	.included-text{ font-size: 18px; }
}

/* ============================================================
   Service Areas section — coordinate map + ZIP table
   ============================================================ */
.section-areas .display em{ color: var(--cyan); }

.areas-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
}

/* ---- Coordinate map ---- */
.areas-map{
	position: relative;
	background:
		linear-gradient(180deg, color-mix(in oklch, var(--abyss) 92%, transparent), color-mix(in oklch, var(--abyss) 96%, transparent)),
		repeating-linear-gradient(0deg,   color-mix(in oklch, var(--bone) 7%, transparent) 0 1px, transparent 1px 60px),
		repeating-linear-gradient(90deg,  color-mix(in oklch, var(--bone) 7%, transparent) 0 1px, transparent 1px 60px);
	border: 1px solid color-mix(in oklch, var(--bone) 12%, transparent);
	border-radius: var(--r-lg);
	min-height: 720px;
	padding: 28px 24px;
	overflow: hidden;
}
/* Faint vertical "coastline" guide running down the middle */
.areas-map::before{
	content: "";
	position: absolute;
	top: 60px; bottom: 28px;
	left: 50%;
	width: 1px;
	background: color-mix(in oklch, var(--cyan) 35%, transparent);
	pointer-events: none;
}

.areas-map-label{
	position: absolute;
	top: 22px;
	font-family: var(--mono);
	font-size: 9px; letter-spacing: 0.22em;
	text-transform: uppercase;
	color: color-mix(in oklch, var(--bone) 55%, transparent);
}
.areas-map-label-left{ left: 28px; }
.areas-map-label-right{ right: 28px; }

.areas-map-pin{
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--serif);
	font-size: 17px; letter-spacing: -0.005em;
	line-height: 1;
	font-weight: 400;
	text-transform: none;
	color: color-mix(in oklch, var(--bone) 94%, transparent);
	white-space: nowrap;
	transition: color .2s, transform .2s;
	transform: translateY(-50%);
}
.areas-map-pin.pin-left{ left: 10%; flex-direction: row-reverse; }
.areas-map-pin.pin-right{ right: 10%; }
.areas-map-pin:hover{ color: var(--cyan); transform: translateY(-50%) scale(1.04); text-decoration: none; }

.areas-map-dot{
	display: inline-block;
	width: 8px; height: 8px;
	background: var(--cyan);
	border-radius: 50%;
	box-shadow: 0 0 0 3px color-mix(in oklch, var(--cyan) 18%, transparent),
	            0 0 12px color-mix(in oklch, var(--cyan) 60%, transparent);
	flex-shrink: 0;
}

/* ---- ZIP table ---- */
.areas-table{
	border: 1px solid color-mix(in oklch, var(--bone) 12%, transparent);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex; flex-direction: column;
}
.areas-table-row{
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.areas-table-row + .areas-table-row{
	border-top: 1px solid color-mix(in oklch, var(--bone) 10%, transparent);
}
.areas-table-cell{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 28px;
	color: color-mix(in oklch, var(--bone) 92%, transparent);
	transition: background .2s, color .2s;
	min-height: 72px;
}
.areas-table-cell + .areas-table-cell{
	border-left: 1px solid color-mix(in oklch, var(--bone) 10%, transparent);
}
.areas-table-cell:hover{
	background: color-mix(in oklch, var(--bone) 6%, transparent);
	color: var(--bone);
	text-decoration: none;
}
.areas-table-cell-empty{ padding: 24px 28px; min-height: 72px; }
.areas-table-name{
	font-family: var(--serif);
	font-size: 22px;
	letter-spacing: -0.005em;
	font-weight: 400;
}
.areas-table-zip{
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	color: color-mix(in oklch, var(--bone) 50%, transparent);
}
.areas-table-cell:hover .areas-table-zip{ color: var(--cyan); }

/* Responsive — stack map above table on tablets, hide map on phones */
@media (max-width: 900px){
	.areas-grid{ grid-template-columns: 1fr; }
	.areas-map{ min-height: 560px; }
	.areas-map-pin{ font-size: 14px; }
}
@media (max-width: 600px){
	.areas-map{ display: none; }
	.areas-table-cell{ padding: 18px 20px; }
	.areas-table-name{ font-size: 18px; }
}

/* ===========================================================================
 * Marina Pro Software product page (page-marinapro.php).
 * Ports the design bundle's .mp-* / .sp-* utility classes onto the WP theme.
 * The page uses the service-detail shell (page-hero-light, service-body-grid,
 * service-toc, service-prose) so it inherits sticky-TOC + brand styling.
 * ======================================================================== */

/* --- Marina Pro tag --------------------------------------------------------- */
.mp-tag{
	display: inline-block;
	font-family: var(--mono);
	font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--cyan-deep);
	border: 1px solid color-mix(in oklch, currentColor 35%, transparent);
	padding: 5px 12px; border-radius: 999px;
	margin: 0 0 16px;
}

/* --- 8-module grid --------------------------------------------------------- */
.mp-modules{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: color-mix(in oklch, var(--ink) 12%, transparent);
	border: 1px solid color-mix(in oklch, var(--ink) 12%, transparent);
	border-radius: 14px;
	overflow: hidden;
	margin: 28px 0 12px;
}
.mp-mod{
	background: var(--bone);
	padding: 24px 24px 26px;
	display: flex; flex-direction: column; gap: 8px;
}
.mp-mod-num{
	font-family: var(--mono);
	font-size: 10px; letter-spacing: 0.22em;
	color: color-mix(in oklch, var(--ink) 55%, transparent);
	text-transform: uppercase;
}
.mp-mod-t{
	font-family: var(--serif);
	font-size: 22px; line-height: 1.15;
	font-weight: 400; letter-spacing: -0.005em;
	color: var(--ink);
}
.mp-mod-d{
	font-size: 14.5px; line-height: 1.55;
	color: color-mix(in oklch, var(--ink) 72%, transparent);
}

/* --- 12-trade tile grid ---------------------------------------------------- */
.mp-trades{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 20px 0 10px;
}
.mp-trade{
	background: color-mix(in oklch, var(--bone) 96%, white);
	border: 1px solid color-mix(in oklch, var(--ink) 10%, transparent);
	border-radius: 10px;
	padding: 14px 16px 12px;
	font-family: var(--serif);
	font-size: 18px; line-height: 1.15;
	color: var(--ink);
}
.mp-trade span{
	display: block;
	font-family: var(--mono);
	font-size: 9px; letter-spacing: 0.2em;
	color: color-mix(in oklch, var(--ink) 50%, transparent);
	margin-top: 6px;
	text-transform: uppercase;
}

/* --- Spec / fact box (.sp-spec) -------------------------------------------- */
.sp-spec{
	background: color-mix(in oklch, var(--bone) 92%, white);
	border: 1px solid color-mix(in oklch, var(--ink) 10%, transparent);
	border-radius: 14px;
	padding: 28px 32px;
	margin: 32px 0;
}
.sp-spec-label{
	font-family: var(--mono);
	font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
	color: color-mix(in oklch, var(--ink) 55%, transparent);
	margin: 0 0 16px;
}
.sp-spec dl{
	margin: 0;
	display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px;
}
.sp-spec dt{
	font-family: var(--mono);
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	color: color-mix(in oklch, var(--ink) 55%, transparent);
	align-self: baseline;
}
.sp-spec dd{ margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }

/* --- Pricing / compare table (.sp-table) ----------------------------------- */
.sp-table{
	width: 100%; border-collapse: collapse;
	margin: 28px 0;
	font-size: 15px;
}
.sp-table th, .sp-table td{
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid color-mix(in oklch, var(--ink) 10%, transparent);
	vertical-align: top;
}
.sp-table th{
	font-family: var(--mono);
	font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
	color: color-mix(in oklch, var(--ink) 55%, transparent);
	font-weight: 500;
	border-bottom: 1px solid var(--ink);
}
.sp-table tr:last-child td{ border-bottom: 0; }

/* --- Inline CTA card inside prose (.sp-cta) -------------------------------- */
.sp-cta{
	background: var(--abyss, oklch(0.16 0.025 240));
	color: var(--bone);
	border-radius: 18px;
	padding: 40px 36px;
	margin: 48px 0 28px;
}
.sp-cta h3{
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(26px, 2.6vw, 32px);
	line-height: 1.15; letter-spacing: -0.01em;
	margin: 0 0 12px; color: var(--bone);
}
.sp-cta p{
	color: color-mix(in oklch, var(--bone) 78%, transparent);
	margin: 0 0 20px;
	max-width: 56ch;
}
.sp-cta-row{ display: flex; flex-wrap: wrap; gap: 12px; }
.sp-cta .btn{ display: inline-flex; align-items: center; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 980px){
	.mp-modules{ grid-template-columns: 1fr; }
	.mp-trades{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
	.sp-cta{ padding: 32px 24px; }
	.sp-spec{ padding: 22px 24px; }
	.sp-spec dl{ grid-template-columns: 1fr; gap: 6px 0; }
	.sp-table th, .sp-table td{ padding: 10px 8px; font-size: 13.5px; }
}

/* --- Mega-menu — 5-col layout responsive override -------------------------- */
@media (max-width: 1280px){
	.megamenu-inner{ grid-template-columns: 1.05fr 1fr 1fr 1fr 1fr; gap: 36px; }
	.megamenu-intro{ max-width: 280px; }
}
@media (max-width: 1100px){
	.megamenu-inner{ grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

/* ===========================================================================
 * Header "Client Login" link — sits between the phone number and the
 * Schedule Inspection button. Single source: souffront_login_url().
 * ======================================================================== */
.header-login{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
	padding: 8px 12px;
	border: 1px solid color-mix(in oklch, var(--ink) 14%, transparent);
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}
.header-login:hover{
	background: var(--ink);
	color: var(--bone);
	border-color: var(--ink);
}
.header-login-arrow{ display: inline-block; }

/* On the hero (front page), the header is transparent over the dark hero
 * video; flip the login chip to bone-on-ink-overlay for legibility. */
.header.hero-mode .header-login{
	color: var(--bone);
	border-color: color-mix(in oklch, var(--bone) 28%, transparent);
}
.header.hero-mode .header-login:hover{
	background: var(--bone);
	color: var(--ink);
	border-color: var(--bone);
}

/* ---- Login dropdown (consolidates Marina Pro + Inspection Pro) ----
 * The header used to carry two side-by-side chips for the two auth
 * targets. That crowded the right-hand cluster once the phone number,
 * "Schedule Inspection" CTA, and both chips were all present at once.
 * To preserve the original single-chip silhouette and keep both logins
 * reachable, the trigger is a `.header-login`-styled button, and the
 * panel below it lists the two destinations. Visible on hover/focus
 * (desktop) and on tap (see /assets/js/main.js login-group handler). */
.header-login-group{
	position: relative;
	display: inline-flex;
	align-items: center;
}
button.header-login,
.header-login-trigger{
	background: transparent;
	cursor: pointer;
	font: inherit;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
	padding: 8px 12px;
	border: 1px solid color-mix(in oklch, var(--ink) 14%, transparent);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.header-login-caret{
	display: inline-block;
	font-size: 9px;
	line-height: 1;
	transform: translateY(1px);
	transition: transform 0.18s ease;
}
.header-login-group.is-open .header-login-caret,
.header-login-group:hover .header-login-caret{
	transform: translateY(1px) rotate(180deg);
}

/* The panel — small floating card under the trigger. Hidden by default;
 * appears on group hover, on focus-within (keyboard), or when the
 * trigger has aria-expanded=true (the tap-toggle path on touch). */
.header-login-panel{
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 280px;
	background: var(--bone, #f6f1e6);
	color: var(--ink);
	border: 1px solid color-mix(in oklch, var(--ink) 12%, transparent);
	border-radius: 14px;
	box-shadow: 0 18px 48px -20px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.08);
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 60;
}
.header-login-group:hover .header-login-panel,
.header-login-group:focus-within .header-login-panel,
.header-login-group.is-open .header-login-panel{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
/* Bridge the 10px gap between trigger and panel so the hover-out
 * doesn't fire when the cursor moves from chip to panel. */
.header-login-panel::before{
	content: "";
	position: absolute;
	top: -10px; left: 0; right: 0;
	height: 10px;
}

.header-login-item{
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--ink);
	transition: background 0.12s ease, color 0.12s ease;
}
.header-login-item:hover,
.header-login-item:focus{
	background: color-mix(in oklch, var(--ink) 8%, transparent);
	outline: none;
}
.header-login-item-label{
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: inherit;
}
.header-login-item-sub{
	font-family: var(--text-serif, var(--serif, Georgia, serif));
	font-size: 12.5px;
	letter-spacing: 0;
	text-transform: none;
	color: color-mix(in oklch, var(--ink) 60%, transparent);
	font-style: italic;
}

/* Hero-mode parity — the trigger sits on the dark video so it needs
 * the bone-on-dark treatment, but the dropdown panel itself stays a
 * solid cream card regardless of header background. */
.header.hero-mode .header-login-trigger{
	color: var(--bone);
	border-color: color-mix(in oklch, var(--bone) 28%, transparent);
}
.header.hero-mode .header-login-trigger:hover,
.header.hero-mode .header-login-group:hover .header-login-trigger,
.header.hero-mode .header-login-group.is-open .header-login-trigger{
	background: var(--bone);
	color: var(--ink);
	border-color: var(--bone);
}
.header-login-trigger:hover,
.header-login-group:hover .header-login-trigger,
.header-login-group.is-open .header-login-trigger{
	background: var(--ink);
	color: var(--bone);
	border-color: var(--ink);
}

/* Hide the login chip on the smallest screens to keep the header from
 * wrapping — both auth options still appear in the mobile burger menu. */
@media (max-width: 900px){
	.header-login,
	.header-login-group{ display: none; }
}

/* ===========================================================================
 * Marina Pro preview block — sits between the hero and the modules grid.
 * Frames a polished SVG mockup of the app dashboard inside a fake browser
 * chrome (traffic-light dots + URL bar) so it reads as "this is the actual
 * software", not a generic illustration.
 * ======================================================================== */
.mp-preview-section{
	padding-top: 80px;
	padding-bottom: 40px;
	background: color-mix(in oklch, var(--bone) 96%, white);
}
.section-head-tight{ margin-bottom: 40px; }

.mp-preview{
	max-width: 640px;   /* half the prior 1280 — sized to feel like a desktop screenshot */
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.06),
		0 8px 24px rgba(15, 23, 42, 0.10),
		0 30px 60px -20px rgba(15, 23, 42, 0.18);
	background: #0a2540;
	border: 1px solid color-mix(in oklch, var(--ink) 12%, transparent);
}

/* Fake browser chrome bar */
.mp-preview-chrome{
	display: flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mp-preview-dot{
	display: inline-block;
	width: 11px; height: 11px;
	border-radius: 50%;
	background: color-mix(in oklch, var(--ink) 60%, white);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.mp-preview-dot-r{ background: #ff5f57; }
.mp-preview-dot-y{ background: #febc2e; }
.mp-preview-dot-g{ background: #28c840; }
.mp-preview-url{
	margin-left: 14px;
	padding: 4px 14px;
	background: rgba(255,255,255,0.06);
	border-radius: 999px;
	font-family: var(--mono, ui-monospace, SF Mono, Menlo, monospace);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.78);
	max-width: 60%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* The dashboard SVG itself — fills the frame */
.mp-preview-img{
	display: block;
	width: 100%;
	height: auto;
	background: #f8fafc;
}

/* Caption below, styled as a quiet footnote */
.mp-preview-cap{
	padding: 14px 22px 18px;
	background: #0a2540;
	color: color-mix(in oklch, var(--bone) 70%, transparent);
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
	border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 900px){
	.mp-preview-section{ padding-top: 60px; padding-bottom: 30px; }
	.mp-preview-chrome{ height: 34px; }
	.mp-preview-url{ font-size: 10px; max-width: 50%; }
	.mp-preview-cap{ padding: 12px 16px 16px; font-size: 12px; }
}

/* ===========================================================================
 * Marina Pro · Feature Spotlights — Apple-style alternating image+text blocks.
 *
 * Structure per block:
 *   <section.mp-spot.mp-spot-{light|dark}[.mp-spot-reverse]>
 *     <div.container.mp-spot-inner>
 *       <div.mp-spot-copy>  eyebrow + h2 + paragraph + bullets
 *       <figure.mp-spot-shot>  big screenshot
 *
 * Pattern alternates: light section → dark section → light → dark.
 * On screens < 1000px the image stacks ABOVE the copy regardless of
 * .mp-spot-reverse so the visual leads the message on mobile.
 * ======================================================================== */
.mp-spot{
	padding: 120px 0;
	overflow: hidden;
}
.mp-spot-light{
	background: var(--bone);
	color: var(--ink);
}
.mp-spot-dark{
	background: var(--abyss, oklch(0.16 0.025 240));
	color: var(--bone);
}
.mp-spot-inner{
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 80px;
	align-items: center;
	max-width: var(--maxw);
	margin: 0 auto;
}
.mp-spot-reverse .mp-spot-inner{
	grid-template-columns: 1.15fr 1fr;
}
.mp-spot-reverse .mp-spot-copy{ order: 2; }
.mp-spot-reverse .mp-spot-shot{ order: 1; }

.mp-spot-eyebrow{
	display: inline-block;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cyan-deep);
	margin-bottom: 22px;
	padding: 4px 12px;
	border: 1px solid color-mix(in oklch, currentColor 28%, transparent);
	border-radius: 999px;
}
.mp-spot-dark .mp-spot-eyebrow{
	color: var(--cyan);
}

.mp-spot-h{
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(40px, 4.6vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.018em;
	margin: 0 0 28px;
	color: currentColor;
}
.mp-spot-h em{
	font-style: italic;
	color: var(--cyan-deep);
	font-family: var(--serif);
}
.mp-spot-dark .mp-spot-h em{
	color: var(--cyan);
}
.mp-spot-h br{ display: block; }

.mp-spot-p{
	font-size: clamp(16px, 1.3vw, 18.5px);
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 52ch;
	color: color-mix(in oklch, currentColor 78%, transparent);
}
.mp-spot-list{
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid color-mix(in oklch, currentColor 14%, transparent);
}
.mp-spot-list li{
	padding: 14px 0 14px 24px;
	border-bottom: 1px solid color-mix(in oklch, currentColor 14%, transparent);
	position: relative;
	font-size: 14.5px;
	line-height: 1.5;
	color: color-mix(in oklch, currentColor 88%, transparent);
}
.mp-spot-list li::before{
	content: "";
	position: absolute;
	left: 0; top: 22px;
	width: 12px; height: 1px;
	background: var(--cyan-deep);
}
.mp-spot-dark .mp-spot-list li::before{
	background: var(--cyan);
}

/* The screenshot itself — soft floating panel with realistic shadow */
.mp-spot-shot{
	margin: 0;
	position: relative;
}
.mp-spot-shot img{
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	overflow: hidden;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.08),
		0 12px 32px rgba(15, 23, 42, 0.16),
		0 40px 80px -24px rgba(15, 23, 42, 0.28);
	border: 1px solid color-mix(in oklch, var(--ink) 14%, transparent);
}
.mp-spot-dark .mp-spot-shot img{
	border-color: rgba(255,255,255,0.08);
	box-shadow:
		0 1px 2px rgba(0,0,0,0.4),
		0 12px 32px rgba(0,0,0,0.45),
		0 40px 80px -24px rgba(0,0,0,0.6);
}

/* Mobile: stack image first, copy below, on every block */
@media (max-width: 1000px){
	.mp-spot{ padding: 80px 0; }
	.mp-spot-inner,
	.mp-spot-reverse .mp-spot-inner{
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.mp-spot-copy,
	.mp-spot-reverse .mp-spot-copy{ order: 2; }
	.mp-spot-shot,
	.mp-spot-reverse .mp-spot-shot{ order: 1; }
	.mp-spot-h{ font-size: clamp(34px, 7vw, 48px); }
}

/* ===========================================================================
 * Marina Pro · "Inside" strip — small thumbnail gallery of additional views.
 * Proof of depth without taking another full spotlight slot.
 * ======================================================================== */
.mp-strip{
	padding: 100px 0 120px;
	background: color-mix(in oklch, var(--bone) 95%, white);
}
.mp-strip-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 48px;
}
.mp-strip-card{
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: var(--bone);
	border: 1px solid color-mix(in oklch, var(--ink) 10%, transparent);
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.mp-strip-card:hover{
	transform: translateY(-4px);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.08),
		0 16px 40px rgba(15, 23, 42, 0.16);
}
.mp-strip-card img{
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top left;
	border-bottom: 1px solid color-mix(in oklch, var(--ink) 10%, transparent);
}
.mp-strip-card figcaption{
	padding: 14px 16px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	color: color-mix(in oklch, var(--ink) 60%, transparent);
	text-transform: uppercase;
}

@media (max-width: 900px){
	.mp-strip{ padding: 70px 0 80px; }
	.mp-strip-grid{ grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 520px){
	.mp-strip-grid{ grid-template-columns: 1fr; }
}

/* ===========================================================================
 * Service page · Underwater video block (currently fires for seawall-inspection
 * only; controlled by $video_slugs in single-service.php). Same hero.mp4 file
 * used on the homepage. Plays autoplay-muted-looped-playsinline; respects
 * prefers-reduced-motion by hiding entirely on those devices.
 * ======================================================================== */
.svc-video-section{
	padding: 24px 0 64px;
	background: var(--bone);
}
.svc-video-wrap{
	position: relative;
	aspect-ratio: 16 / 9;
	/* Half-size — was filling the container (~1180px wide); now caps at 640px
	 * and centers in the column. Stays full-width on phones via the media
	 * query below. */
	max-width: 640px;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.08),
		0 12px 32px rgba(15, 23, 42, 0.16),
		0 40px 80px -24px rgba(15, 23, 42, 0.28);
	background: var(--abyss);
}
.svc-video{
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.svc-video-overlay{
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 32px 36px 28px;
	background: linear-gradient(180deg, transparent 0%, rgba(13,26,38,0.72) 60%, rgba(13,26,38,0.92) 100%);
	color: var(--bone);
	pointer-events: none;
}
.svc-video-eyebrow{
	display: inline-block;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 12px;
}
.svc-video-h{
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(24px, 2.6vw, 36px);
	line-height: 1.15;
	letter-spacing: -0.005em;
	margin: 0;
	color: var(--bone);
	max-width: 38ch;
}

@media (max-width: 720px){
	.svc-video-section{ padding: 16px 0 40px; }
	.svc-video-overlay{ padding: 22px 22px 20px; }
	.svc-video-h{ font-size: 20px; }
}

@media (prefers-reduced-motion: reduce){
	/* Static poster image fallback would be ideal; for now, hide the looping
	 * video entirely so reduced-motion users aren't subjected to it. */
	.svc-video{ display: none; }
	.svc-video-wrap{ background: var(--abyss) url("../images/marinapro/preview.png") center/cover no-repeat; }
}
