/* ==========================================================================
   Premier Home Inspection Services — v2
   Direction: luxury real-estate editorial × established inspection firm
   Palette: deep navy, warm white, charcoal, muted gray, Premier green (brand)
   Type: Newsreader (editorial serif) + Hanken Grotesk (sans)
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --navy-950: #08172A;
  --navy-900: #0E2138;
  --navy-800: #17304F;
  --navy-700: #24456B;
  --ivory: #F8F6F1;
  --white: #FFFFFF;
  --stone: #EFEBE3;
  --line: #E2DCD1;
  --line-dark: rgba(255, 255, 255, .14);
  --charcoal: #23262B;
  --muted: #5F656E;
  --on-navy: #E8ECF1;
  --on-navy-muted: #A9B4C2;
  --accent: #5BBE45;        /* Premier green: buttons (navy text, 6.9:1) and accents on dark */
  --accent-ink: #2A7A2E;    /* green for text/icons on light backgrounds (5.3:1 on ivory) */
  --accent-light: #7ED35F;  /* lighter green: hover fills and small text on navy */
  --star: #E3B341;
  --error: #A8322A;
  --focus: var(--accent-ink);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.9rem, 1.5rem + 5.6vw, 6.4rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  --fs-h2: clamp(2.15rem, 1.45rem + 2.8vw, 3.75rem);
  --fs-h3: clamp(1.4rem, 1.25rem + .6vw, 1.75rem);
  --fs-lead: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --section: clamp(5rem, 10vw, 9rem);
  --header-h: 84px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}
@media (max-width: 767px) { :root { --header-h: 68px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; color: var(--navy-900); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-light); color: var(--navy-950); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.dark { --focus: var(--accent-light); color: var(--on-navy); }
.dark h1, .dark h2, .dark h3 { color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 200; background: var(--white); color: var(--navy-900); padding: .8rem 1.1rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 980px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type helpers ---------- */
.kicker { display: block; font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; color: var(--accent-ink); margin-bottom: 1.25rem; letter-spacing: .01em; }
.dark .kicker { color: var(--accent-light); }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.dark .lead { color: var(--on-navy-muted); }
.rule { display: block; width: 56px; height: 1px; background: var(--accent); margin: 1.75rem 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 56px; padding: 0 1.9rem; border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-weight: 600; font-size: .975rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .2s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--navy-950); }
.btn--accent::before { background: var(--accent-light); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy::before { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--navy-950); border-color: #fff; }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline::before { background: var(--navy-900); }
.btn--outline:hover { color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }

.link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; color: var(--navy-900);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.dark .link { color: #fff; }
.link--accent { color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(255,255,255,.12); transition: opacity .4s; }
.site-header.is-solid { background: rgba(8, 23, 42, .96); box-shadow: 0 10px 30px rgba(8,23,42,.18); }
@supports (backdrop-filter: blur(1px)) { .site-header.is-solid { background: rgba(8, 23, 42, .88); backdrop-filter: blur(14px) saturate(1.2); } }
.site-header.is-solid::after { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; margin-right: auto; }
.brand__logo { width: auto; height: 54px; flex: none; }
/* navy fade so the logo and menu stay readable over photos and video */
.site-header::before { content: ""; position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8,23,42,.92) 0%, rgba(8,23,42,.74) 55%, rgba(8,23,42,0) 100%); transition: opacity .4s; }
.site-header.is-solid::before, .menu-open .site-header::before { opacity: 0; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav ul { display: flex; gap: 2rem; list-style: none; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.82);
  padding: .5rem 0; transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-light);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { display: inline-flex; align-items: center; gap: .5rem; }
.nav .btn { min-height: 48px; padding: 0 1.4rem; font-size: .925rem; }

.menu-toggle {
  display: none; position: relative; z-index: 120; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; color: #fff; cursor: pointer;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5.5px) rotate(-45deg); }

.menu-open .site-header { background: var(--navy-950); box-shadow: none; backdrop-filter: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; /* below the header so the close button stays visible */ background: var(--navy-950); color: #fff;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.mobile-menu ul { list-style: none; display: grid; gap: .25rem; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: .2s; }
.mobile-menu a:not(.btn) { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1.25; padding: .35rem 0; text-decoration: none; color: #fff; }
.mobile-menu a[aria-current="page"] { color: var(--accent-light); }
.mobile-menu__foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: .875rem; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot p { color: var(--on-navy-muted); font-size: var(--fs-small); margin: .5rem 0 0; }
.menu-open { overflow: hidden; }

.brand { flex-shrink: 0; }
@media (max-width: 1279px) { .nav { gap: 1.5rem; } .nav ul { gap: 1.4rem; } }
@media (max-width: 1099px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 767px) {
  .brand__logo { height: 46px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--navy-950); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover; object-position: 50% 60%;
  transform: scale(1.08); animation: hero-settle 2.6s var(--ease) forwards;
  will-change: transform;
}
@keyframes hero-settle { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,23,42,.55) 0%, rgba(8,23,42,.15) 30%, rgba(8,23,42,.35) 55%, rgba(8,23,42,.92) 100%),
    linear-gradient(90deg, rgba(8,23,42,.55) 0%, rgba(8,23,42,0) 65%);
}
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero h1 {
  color: #fff; font-size: var(--fs-display); line-height: .98; letter-spacing: -.025em; max-width: 13ch;
  font-variation-settings: "opsz" 72;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: line-up 1.3s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes line-up { to { transform: none; } }
.hero__lede { max-width: 50ch; font-size: var(--fs-lead); color: rgba(255,255,255,.86); margin: 1.75rem 0 2.25rem; }
.hero .fade-in { opacity: 0; transform: translateY(14px); animation: fade-up 1.1s var(--ease) forwards; animation-delay: var(--delay, .5s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.hero__trust {
  list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  margin-top: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid rgba(255,255,255,.18);
}
.hero__trust li { display: flex; align-items: center; gap: .85rem; padding: 1.4rem 2.5rem 0 0; margin-right: 2.5rem; border-right: 1px solid rgba(255,255,255,.18); font-size: var(--fs-small); color: rgba(255,255,255,.8); line-height: 1.35; }
.hero__trust li:last-child { border-right: 0; margin-right: 0; }
.hero__trust strong { display: block; color: #fff; font-weight: 600; }
.hero__trust .icon { width: 28px; height: 28px; color: var(--accent-light); stroke-width: 1.25; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
@media (max-width: 899px) {
  .hero__trust { grid-template-columns: 1fr; }
  .hero__trust li { border-right: 0; margin-right: 0; padding: 1rem 0 0; }
  .hero__trust li:nth-child(n+3) { display: none; }
}
@media (max-width: 599px) {
  .hero__content { padding-top: calc(var(--header-h) + 2rem); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__trust { margin-top: 2rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--navy-950); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 115%; object-fit: cover; transform: scale(1.06); animation: hero-settle 2.4s var(--ease) forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,23,42,.6) 0%, rgba(8,23,42,.3) 40%, rgba(8,23,42,.9) 100%); }
.page-hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero h1 { color: #fff; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -.02em; max-width: 16ch; }
.page-hero p { max-width: 54ch; font-size: var(--fs-lead); color: rgba(255,255,255,.85); margin: 1.5rem 0 0; }
.page-hero .fade-in { opacity: 0; transform: translateY(14px); animation: fade-up 1.1s var(--ease) forwards; animation-delay: var(--delay, .2s); }
.page-hero--short { min-height: min(56vh, 560px); }

/* ---------- Credentials bar ---------- */
.creds { background: var(--white); border-bottom: 1px solid var(--line); }
.creds__list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); }
.creds__item { padding: 2rem 1.25rem; border-left: 1px solid var(--line); }
.creds__item:first-child { border-left: 0; padding-left: 0; }
.creds__item strong { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; line-height: 1.25; color: var(--navy-900); }
.creds__item span { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: .35rem; }
@media (max-width: 1099px) {
  .creds__list { grid-template-columns: repeat(3, 1fr); }
  .creds__item:nth-child(4) { border-left: 0; padding-left: 0; }
  .creds__item:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .creds__list { grid-template-columns: 1fr 1fr; }
  .creds__item { padding: 1.4rem 1rem 1.4rem 0; border-left: 0; }
  .creds__item:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .creds__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--white { background: var(--white); }
.section--stone { background: var(--stone); }
.section--navy { background: var(--navy-900); }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .lead { margin: 1.5rem 0 0; max-width: 60ch; }
.section-head--split { max-width: none; display: grid; gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } .section-head--split .lead { margin: 0; } }

/* ---------- Intro ---------- */
.intro { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 960px) { .intro { grid-template-columns: 1fr 1fr; } }
.intro__statement { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.75rem); line-height: 1.18; color: var(--navy-900); letter-spacing: -.01em; margin-bottom: 2rem; }
.intro__text p { color: var(--muted); max-width: 58ch; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border-top: 1px solid var(--line); }
.facts li { padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); line-height: 1; color: var(--navy-900); margin-bottom: .55rem; }
.facts span { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; display: block; }

@media (max-width: 374px) { .facts li { padding-right: .75rem; } .facts li:nth-child(even) { padding-left: .75rem; padding-right: 0; } .facts b { font-size: 1.45rem; } }

/* ---------- Image frames & reveal ---------- */
.frame { position: relative; overflow: hidden; background: var(--stone); margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--square { aspect-ratio: 1; }
.frame figcaption { position: absolute; left: 1.25rem; bottom: 1rem; color: #fff; font-size: var(--fs-xs); text-shadow: 0 1px 8px rgba(0,0,0,.4); }

/* The clip goes on the children: IntersectionObserver ignores a fully clipped target */
.js [data-reveal="image"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="image"] img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js [data-reveal="image"].is-in > * { clip-path: inset(0 0 0 0); }
.js [data-reveal="image"].is-in img { transform: scale(1); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--stagger, 0ms); }
.js [data-reveal="up"].is-in { opacity: 1; transform: none; }
.js [data-reveal="line"] { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.js [data-reveal="line"].is-in { transform: none; }

/* ---------- Featured services (home) ---------- */
.feature-grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; }
  .feature-grid > :first-child { grid-row: span 2; }
  .feature-grid > :last-child { grid-column: span 2; }
}
.tile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy-900); min-height: 340px; }
.tile .frame { position: absolute; inset: 0; }
.tile .frame img { transition: transform 1.4s var(--ease); }
.tile:hover .frame img { transform: scale(1.05); }
.js .tile[data-reveal="image"].is-in:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,23,42,0) 25%, rgba(8,23,42,.88) 100%); transition: background-color .6s var(--ease); }
.tile:hover::after { background-color: rgba(8,23,42,.15); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.5rem, 3vw, 2.25rem); }
.tile h3 { color: #fff; font-size: var(--fs-h3); line-height: 1.15; margin-bottom: .6rem; }
.tile p { color: rgba(255,255,255,.82); font-size: var(--fs-small); max-width: 46ch; margin: 0 0 1rem; }
.tile__more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--fs-small); color: var(--accent-light); }
.tile__more .icon { transition: transform .5s var(--ease); }
.tile:hover .tile__more .icon { transform: translateX(4px); }
.tile--lg { min-height: clamp(460px, 60vw, 720px); }
.tile__tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin: 0 0 1.1rem; }
.tile__tags li { font-size: var(--fs-xs); padding: .3rem .7rem; border: 1px solid rgba(255,255,255,.35); color: #fff; }

/* ---------- Why choose (navy) ---------- */
.why { display: grid; gap: clamp(3rem, 6vw, 6rem); }
@media (min-width: 1000px) { .why { grid-template-columns: .9fr 1.1fr; align-items: start; } .why__intro { position: sticky; top: calc(var(--header-h) + 3rem); } }
.why__list { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; } .why__list li:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line-dark); } .why__list li:nth-child(odd) { padding-right: 2rem; } }
.why__list li { padding-block: 2rem; border-bottom: 1px solid var(--line-dark); }
.why__list .icon { width: 30px; height: 30px; color: var(--accent-light); stroke-width: 1.2; margin-bottom: 1.25rem; }
.why__list h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.why__list p { color: var(--on-navy-muted); margin: 0; font-size: var(--fs-small); }
.why__intro .frame { margin-top: 3rem; }

/* ---------- Meet the inspector ---------- */
.inspector { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 960px) { .inspector { grid-template-columns: 1fr 1fr; } }
.inspector__visual { position: relative; padding-bottom: 12%; padding-right: 10%; }
.inspector__portrait {
  position: absolute; right: 0; bottom: 0; width: 46%; max-width: 280px; aspect-ratio: 1;
  border: 10px solid var(--ivory); box-shadow: 0 30px 60px -20px rgba(8,23,42,.35); background: var(--stone);
}
.section--white .inspector__portrait { border-color: var(--white); }
.inspector__portrait img { width: 100%; height: 100%; object-fit: cover; }
.inspector__portrait figcaption { position: absolute; left: 0; right: 0; top: 100%; padding-top: .75rem; font-size: var(--fs-xs); color: var(--muted); text-align: left; }
.inspector h2 { margin-bottom: .4rem; }
.inspector__title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent-ink); margin-bottom: 1.75rem; }
.inspector p { color: var(--muted); max-width: 58ch; }
.cred-list { list-style: none; display: grid; gap: 0; margin: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.cred-list li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.cred-list li span:first-child { color: var(--navy-900); font-weight: 600; }
.cred-list li span:last-child { color: var(--muted); text-align: right; white-space: nowrap; }
@media (max-width: 479px) { .cred-list li { flex-direction: column; gap: .15rem; } .cred-list li span:last-child { text-align: left; } }

/* ---------- Testimonials ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.reviews-head .section-head { margin: 0; }
.carousel-controls { display: flex; gap: .75rem; }
.carousel-btn {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--navy-900); background: transparent; color: var(--navy-900); cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), opacity .3s;
}
.carousel-btn:hover { background: var(--navy-900); color: #fff; }
.carousel-btn[disabled] { opacity: .3; cursor: default; background: transparent; color: var(--navy-900); }
.carousel {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 3rem) / 3));
  gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }
@media (max-width: 999px) { .carousel { grid-auto-columns: minmax(280px, 72%); } }
@media (max-width: 599px) { .carousel { grid-auto-columns: 88%; gap: 1rem; } }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.5rem; height: 100%;
  background: var(--white); border: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: border-color .5s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.review:hover { border-color: var(--accent); box-shadow: 0 24px 48px -28px rgba(8,23,42,.28); transform: translateY(-3px); }
.review .stars svg { width: 17px; height: 17px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.28rem; line-height: 1.5; color: var(--navy-900); flex: 1; }
.review footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.review cite { font-style: normal; font-weight: 600; color: var(--navy-900); }
.review footer span { color: var(--muted); font-size: var(--fs-xs); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; color: var(--muted); font-size: var(--fs-small); }
.reviews-foot .stars svg { width: 16px; height: 16px; }

/* ---------- Service area ---------- */
.area { display: grid; gap: clamp(3rem, 6vw, 6rem); }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.counties { list-style: none; border-top: 1px solid var(--line); }
.counties li { display: flex; align-items: baseline; justify-content: space-between; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.counties b { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); line-height: 1; color: var(--navy-900); }
.counties span { font-size: var(--fs-small); color: var(--muted); }
.towns-title { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; color: var(--navy-900); margin-bottom: 1.25rem; }
.towns { list-style: none; columns: 2; column-gap: 2rem; }
@media (min-width: 600px) { .towns { columns: 3; } }
.towns li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--charcoal); }
.area__note { margin-top: 2rem; color: var(--muted); font-size: var(--fs-small); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: clamp(3rem, 6vw, 6rem); }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; } .faq__intro { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; } }
.faq__intro p { color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.3; color: var(--navy-900);
  transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--accent-ink); }
.accordion .plus { position: relative; width: 18px; height: 18px; flex: none; }
.accordion .plus::before, .accordion .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.accordion .plus::after { transform: rotate(90deg); }
.accordion details[open] .plus::after { transform: rotate(0deg); }
.accordion__body { overflow: hidden; }
.accordion__body > div { padding: 0 3rem 1.75rem 0; color: var(--muted); }
.accordion__body p:last-child { margin: 0; }

/* ---------- Contact / booking ---------- */
.booking { position: relative; background: var(--navy-950); color: var(--on-navy); overflow: hidden; }
.booking__bg { position: absolute; inset: 0; opacity: .22; }
.booking__bg img { width: 100%; height: 120%; object-fit: cover; }
.booking::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,23,42,.98) 0%, rgba(8,23,42,.85) 50%, rgba(8,23,42,.75) 100%); }
.booking__inner { position: relative; z-index: 2; display: grid; gap: clamp(3rem, 6vw, 6rem); padding-block: var(--section); }
@media (min-width: 1000px) { .booking__inner { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.booking h2 { margin-bottom: 1.5rem; }
.contact-lines { list-style: none; margin: 2.5rem 0; border-top: 1px solid var(--line-dark); }
.contact-lines li { border-bottom: 1px solid var(--line-dark); }
.contact-lines a, .contact-lines div { display: flex; align-items: center; gap: 1.1rem; padding: 1.35rem 0; text-decoration: none; }
.contact-lines .icon { width: 24px; height: 24px; color: var(--accent-light); }
.contact-lines small { display: block; font-size: var(--fs-xs); color: var(--on-navy-muted); }
.contact-lines strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); color: #fff; overflow-wrap: anywhere; line-height: 1.25; }
.contact-lines a strong { transition: color .3s; }
.contact-lines a:hover strong { color: var(--accent-light); }
.perks { list-style: none; display: grid; gap: .75rem; font-size: var(--fs-small); color: var(--on-navy-muted); }
.perks li { display: flex; gap: .75rem; align-items: flex-start; }
.perks .icon { color: var(--accent-light); margin-top: .2em; width: 1.05em; height: 1.05em; }

/* Form */
.form { background: var(--ivory); color: var(--charcoal); padding: clamp(1.75rem, 4vw, 3.25rem); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form h3 { font-size: 2rem; color: var(--navy-900); margin-bottom: .4rem; }
.form > p { color: var(--muted); font-size: var(--fs-small); }
.field { display: grid; gap: .45rem; margin-bottom: 1.35rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
.field label, .fieldset legend { font-size: var(--fs-small); font-weight: 600; color: var(--navy-900); }
.req { color: var(--error); margin-left: .15rem; }
.hint { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.input {
  width: 100%; min-height: 54px; padding: .85rem 1rem; font-size: 1rem; border-radius: 0;
  background: var(--white); border: 1px solid #CFC8BB; color: var(--charcoal);
  transition: border-color .3s, box-shadow .3s;
}
.input:hover { border-color: #A99F8E; }
.input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(168,131,82,.28); }
textarea.input { min-height: 116px; resize: vertical; }
.field.has-error .input { border-color: var(--error); background: #FFF8F7; }
.error-msg { display: none; align-items: center; gap: .4rem; margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--error); }
.field.has-error .error-msg { display: flex; }
.fieldset { border: 0; padding: 0; margin: 0 0 1.35rem; }
.fieldset legend { padding: 0; margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem 1rem;
  border: 1px solid #CFC8BB; background: var(--white); font-size: var(--fs-small); transition: all .3s var(--ease);
}
.chip span::before { content: ""; width: 14px; height: 14px; border: 1px solid #A99F8E; transition: all .3s var(--ease); flex: none; }
.chip:hover span { border-color: var(--navy-900); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:checked + span::before { background: var(--accent-light); border-color: var(--accent-light); box-shadow: inset 0 0 0 3px var(--navy-900); }
.chip input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.chips--radio .chip span::before { border-radius: 50%; }
.error-summary { border: 1px solid var(--error); background: #FFF8F7; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.error-summary h4 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 700; color: var(--error); margin-bottom: .4rem; }
.error-summary ul { padding-left: 1.1rem; font-size: var(--fs-small); }
.error-summary a { color: var(--error); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-actions .btn { min-width: 220px; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { text-align: left; }
.form-done .icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 1rem; }

/* Contact page variant: light background */
.booking-page { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
@media (min-width: 1000px) { .booking-page { grid-template-columns: .8fr 1.2fr; } .booking-page__aside { position: sticky; top: calc(var(--header-h) + 3rem); } }
.contact-lines--light { margin-top: 0; border-top-color: var(--line); }
.contact-lines--light li { border-bottom-color: var(--line); }
.contact-lines--light .icon { color: var(--accent); }
.contact-lines--light small { color: var(--muted); }
.contact-lines--light strong { color: var(--navy-900); }
.contact-lines--light a:hover strong { color: var(--accent-ink); }
.perks--light { color: var(--muted); }
.perks--light .icon { color: var(--accent-ink); }
.form--flat { background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(8,23,42,.25); }
.form__title { font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); color: var(--navy-900); margin-bottom: .5rem; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--navy-950); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 120%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8,23,42,.72); }
.cta__inner { position: relative; z-index: 2; padding-block: clamp(5rem, 11vw, 9rem); text-align: center; display: grid; justify-items: center; }
.cta h2 { max-width: 18ch; margin-bottom: 1.25rem; }
.cta p { max-width: 52ch; color: rgba(255,255,255,.82); font-size: var(--fs-lead); margin-bottom: 2.25rem; }
.cta .btn-row { justify-content: center; }

/* ---------- Services page ---------- */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { position: relative; display: block; padding: 1.1rem 0; font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--muted); transition: color .35s var(--ease); }
.subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.subnav a:hover, .subnav a.is-active { color: var(--navy-900); }
.subnav a.is-active::after { transform: scaleX(1); }

.svc-group-head { display: grid; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) { .svc-group-head { grid-template-columns: 1fr 1fr; } }
.svc-group-head p { color: var(--muted); margin: 0; max-width: 56ch; }

.svc-row { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1.05fr .95fr; }
  .svc-row:nth-of-type(even) .frame { order: 2; }
}
.svc-row h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); line-height: 1.08; margin-bottom: 1.25rem; letter-spacing: -.01em; }
.svc-row p { color: var(--muted); max-width: 56ch; }
.svc-row .value { display: flex; gap: 1rem; padding: 1.25rem 0; margin: 1.75rem 0 2rem; border-block: 1px solid var(--line); color: var(--charcoal); font-size: var(--fs-small); max-width: 56ch; }
.svc-row .value b { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--accent-ink); white-space: nowrap; }
.price-tag { display: inline-block; font-size: var(--fs-small); color: var(--accent-ink); font-weight: 600; margin-bottom: 1rem; }

.systems { list-style: none; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 640px) { .systems { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .systems { grid-template-columns: repeat(3, 1fr); } }
.systems li { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line-dark); }
.systems h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.systems p { color: var(--on-navy-muted); font-size: var(--fs-small); margin: 0; max-width: 40ch; }

/* ---------- About page ---------- */
.bio { display: grid; gap: clamp(3rem, 6vw, 6rem); }
@media (min-width: 960px) { .bio { grid-template-columns: .85fr 1.15fr; align-items: start; } .bio__aside { position: sticky; top: calc(var(--header-h) + 3rem); } }
.bio__portrait { width: min(100%, 380px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.bio__name { font-size: 1.9rem; margin-top: 1.5rem; }
.bio__role { font-family: var(--serif); font-style: italic; color: var(--accent-ink); font-size: 1.2rem; }
.bio__text p { color: var(--muted); max-width: 62ch; }
.bio__text .intro__statement { margin-bottom: 2rem; }
.lic-table { width: 100%; border-collapse: collapse; margin-top: 2.5rem; font-size: var(--fs-small); }
.lic-table th, .lic-table td { text-align: left; padding: 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lic-table th { font-weight: 600; color: var(--navy-900); padding-right: 1.5rem; }
.lic-table td { color: var(--muted); white-space: nowrap; }
.lic-table tr:first-child th, .lic-table tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 559px) { .lic-table tr { display: grid; border-bottom: 1px solid var(--line); padding: .9rem 0; } .lic-table th, .lic-table td { border: 0 !important; padding: 0; } }

.report-grid { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .report-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .report-grid { grid-template-columns: repeat(3, 1fr); } }
.report-grid li { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.report-grid .icon { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.2; margin-bottom: 1rem; }
.report-grid h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.report-grid p { color: var(--muted); font-size: var(--fs-small); margin: 0; }

.agents { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 960px) { .agents { grid-template-columns: 1fr 1fr; } }
.agents ul { list-style: none; display: grid; gap: 1.25rem; margin: 2rem 0 2.5rem; }
.agents li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; color: var(--on-navy-muted); }
.agents li .icon { color: var(--accent-light); margin-top: .25em; }
.agents li strong { color: #fff; font-weight: 600; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); font-size: var(--fs-small); }
.footer-top { display: grid; gap: 3rem; padding-block: clamp(4rem, 8vw, 6rem) 3rem; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-top .brand { margin-bottom: 1.5rem; }
.footer-top .brand__logo { height: 60px; }
.footer-top h2 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; color: #fff; margin-bottom: 1.25rem; }
.footer-top ul { list-style: none; display: grid; gap: .7rem; }
.footer-top a { text-decoration: none; transition: color .3s; }
.footer-top a:hover { color: #fff; }
.footer-blurb { max-width: 36ch; }
.footer-phone { display: block; font-family: var(--serif); font-size: 1.75rem; color: #fff; text-decoration: none; margin-bottom: .35rem; }
.footer-creds { border-top: 1px solid var(--line-dark); padding-block: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-size: var(--fs-xs); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: var(--fs-xs); }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; inset: auto 0 0 0; z-index: 90;
    background: var(--navy-950); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -10px 30px rgba(8,23,42,.25);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 52px; padding: 0 1rem; }
  .menu-open .action-bar { transform: translateY(110%); }
}

/* ---------- Background video (hero + film band) ---------- */
.hero__media video, .film__media video, .hero__media .poster, .film__media .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media { overflow: hidden; }
.hero__media .poster { transform: scale(1.08); animation: hero-settle 2.6s var(--ease) forwards; }
.hero__media video, .film__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-ready, .film__media video.is-ready { opacity: 1; }
.media-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(1.25rem, 3vw, 2rem);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(8,23,42,.35); color: #fff; cursor: pointer;
  backdrop-filter: blur(6px); transition: background-color .3s, border-color .3s; opacity: 0; pointer-events: none;
}
.media-toggle.is-shown { opacity: 1; pointer-events: auto; }
.media-toggle:hover { background: rgba(8,23,42,.7); border-color: #fff; }
.media-toggle .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.media-toggle .i-play { display: none; }
.media-toggle[aria-pressed="true"] .i-pause { display: none; }
.media-toggle[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 899px) { .hero .media-toggle { top: auto; bottom: 1.25rem; } }

/* Film band */
.film { position: relative; min-height: clamp(460px, 72vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950); color: #fff; }
.film__media { position: absolute; inset: 0; }
.film::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,23,42,.1) 30%, rgba(8,23,42,.85) 100%); }
.film__content { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 6vw, 5rem); display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 900px) { .film__content { grid-template-columns: 1.2fr .8fr; } }
.film h2 { color: #fff; max-width: 16ch; }
.film p { color: rgba(255,255,255,.85); font-size: var(--fs-lead); margin: 0; max-width: 46ch; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 2; column-gap: clamp(.6rem, 1.5vw, 1.25rem); }
@media (min-width: 900px) { .gallery-grid { columns: 3; } }
.gallery-item {
  position: relative; display: block; width: 100%; margin: 0 0 clamp(.75rem, 1.5vw, 1.25rem); padding: 0; border: 0;
  background: var(--stone); cursor: zoom-in; overflow: hidden; break-inside: avoid; text-align: left;
}
.gallery-item img, .gallery-item video { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.gallery-item video { aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,23,42,.7)); opacity: 0; transition: opacity .5s var(--ease); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item__cap { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; color: #fff; font-size: var(--fs-small); font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gallery-item:hover .gallery-item__cap, .gallery-item:focus-visible .gallery-item__cap { opacity: 1; transform: none; }
.gallery-item__play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; display: grid; place-items: center; background: rgba(8,23,42,.55); border: 1px solid rgba(255,255,255,.6); color: #fff;
  backdrop-filter: blur(6px); transition: transform .5s var(--ease), background-color .3s;
}
.gallery-item__play svg { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 3px; }
.gallery-item:hover .gallery-item__play { transform: scale(1.08); background: var(--accent); }
@media (hover: none) and (min-width: 600px) { .gallery-item__cap { opacity: 1; transform: none; } .gallery-item::after { opacity: .8; } }
@media (max-width: 599px) { .gallery-item__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; } }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(5,13,24,.96); color: #fff; }
.lightbox::backdrop { background: rgba(5,13,24,.96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); font-size: var(--fs-small); color: var(--on-navy-muted); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(.5rem, 6vw, 5.5rem); min-height: 0; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__cap { padding: .75rem var(--gutter) 1.5rem; text-align: center; color: rgba(255,255,255,.85); font-size: var(--fs-small); }
.lb-btn {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); color: #fff; transition: background-color .3s, border-color .3s;
}
.lb-btn:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -26px; z-index: 2; }
.lb-prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lb-next { right: clamp(.5rem, 2vw, 1.5rem); }
.lb-media { display: contents; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__media img, .page-hero__media img { transform: none; }
  .js [data-reveal], .js [data-reveal] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] img { transform: none !important; }
  @view-transition { navigation: none; }
}
