/* =========================================================
   Knights Custom Finishes: site styles
   Brand colors pulled from the official logo.
   ========================================================= */

:root {
  /* Brand */
  --navy-950: #0a1726;
  --navy-900: #0f2236;
  --navy-800: #172f4a;
  --navy-700: #22405f;
  --blue-700: #1f3f8f;   /* knight plume */
  --blue-600: #2a52b3;
  --red-500: #e2402a;    /* roller red (accents, large shapes) */
  --red-600: #c8321e;    /* button red: white text passes AA */
  --red-700: #a92816;
  --steel-500: #6b7480;
  --steel-300: #b9c0c8;
  --steel-200: #dde2e7;
  --steel-100: #eef1f4;
  --paper: #f6f5f1;
  --white: #ffffff;

  /* Semantic */
  --text: #0f1b2a;
  --text-muted: #4a5666;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c3cdd9;
  --surface: var(--white);
  --surface-alt: var(--paper);
  --focus: #ffb703;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 23, 38, .08), 0 2px 6px rgba(10, 23, 38, .06);
  --shadow: 0 6px 18px rgba(10, 23, 38, .12), 0 2px 6px rgba(10, 23, 38, .08);
  --shadow-lg: 0 18px 40px rgba(10, 23, 38, .22);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 150ms;
  --dur: 260ms;

  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.icon {
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--navy-900); color: var(--white); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.section { padding-block: var(--s-8); }
@media (min-width: 960px) { .section { padding-block: var(--s-9); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ff8a73; }
.hero .eyebrow::before { display: none; }

.section-title { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-title-sm { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 60ch; }

.section-head { margin-bottom: var(--s-7); }
.section-head-center { text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-split { display: grid; gap: var(--s-4); align-items: end; }
@media (min-width: 900px) { .section-head-split { grid-template-columns: 1fr 1fr; } }
.section-intro { color: var(--text-on-dark-muted); font-size: 1.0625rem; max-width: 46ch; }
@media (min-width: 900px) { .section-intro { justify-self: end; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 var(--s-6); font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-red { background: var(--red-600); color: var(--white); box-shadow: 0 4px 14px rgba(200, 50, 30, .35); }
.btn-red:hover { background: var(--red-700); }
.btn-blue { background: var(--blue-700); color: var(--white); }
.btn-blue:hover { background: var(--navy-800); }
.btn-white { background: var(--white); color: var(--red-700); }
.btn-white:hover { background: var(--paper); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
  min-height: 44px;
}
.text-link .icon { transition: transform var(--dur-fast) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--steel-200); }
.header-inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }

.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: .02em;
  text-transform: uppercase; color: var(--navy-900);
  font-variation-settings: "wdth" 85;
}
.brand-sub {
  font-family: var(--font-display); font-weight: 700; font-size: .6875rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red-600); margin-top: 3px;
}

.primary-nav ul { display: flex; gap: var(--s-1); }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--navy-900);
  border-radius: var(--radius-sm); position: relative;
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 2px;
  background: var(--red-500); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.header-phone-label { font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.header-phone-number { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--navy-900); }
.header-phone-number .icon { color: var(--blue-700); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius-sm);
  border: 0; background: var(--blue-700); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1099px) { .header-phone { display: none; } }
@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .brand img { width: 44px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .625rem; }
  .header-cta { min-height: 44px; padding: 0 var(--s-4); font-size: .9375rem; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--white); border-top: 1px solid var(--steel-200);
    box-shadow: var(--shadow-lg);
    padding: var(--s-4) var(--s-4) var(--s-5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { width: 100%; min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--steel-100); border-radius: 0; padding: 0 var(--s-2); }
  .primary-nav ul a::after { display: none; }
  .nav-mobile-cta { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
}
@media (max-width: 420px) {
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--navy-950);
  color: var(--text-on-dark);
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: var(--s-8);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,23,38,.94) 0%, rgba(10,23,38,.82) 45%, rgba(10,23,38,.45) 100%),
    linear-gradient(0deg, rgba(10,23,38,.85) 0%, rgba(10,23,38,0) 45%);
}
.hero-content { max-width: var(--container); }
.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 4rem);
  font-weight: 900;
  max-width: 17ch;
  font-variation-settings: "wdth" 92;
}
.hero-tagline { margin-top: var(--s-5); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text-on-dark-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (max-width: 519px) { .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; } }

.hero-cards {
  display: grid; gap: var(--s-4);
  margin-top: clamp(48px, 7vw, 88px);
}
@media (min-width: 820px) { .hero-cards { grid-template-columns: repeat(3, 1fr); } }

.promo {
  border-radius: var(--radius);
  padding: var(--s-5);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.promo h2 { font-size: 1.375rem; }
.promo p { font-size: .9688rem; }
.promo-icon { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--s-2); }
.promo-red { background: var(--red-600); color: var(--white); }
.promo-blue { background: var(--blue-700); color: var(--white); }
.promo-white { background: var(--white); color: var(--text); }
.promo-white p { color: var(--text-muted); }
.promo-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); }
.promo-actions .btn { flex: 1 1 auto; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.why-collage {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr 1.15fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "stat tall" "small tall";
}
.stat-card {
  grid-area: stat;
  background: var(--blue-700); color: var(--white);
  border-radius: var(--radius); padding: var(--s-5);
  box-shadow: var(--shadow);
}
.stat-row { display: flex; align-items: center; gap: var(--s-3); }
.stat-number { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.75rem, 6vw, 3.75rem); line-height: 1; }
.stat-label { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.stat-card p { margin-top: var(--s-3); font-size: .875rem; color: #d6def0; }

.collage-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.collage-photo img { width: 100%; height: 100%; object-fit: cover; }
.collage-photo-small { grid-area: small; aspect-ratio: 4 / 4.2; }
.collage-photo-tall { grid-area: tall; background: var(--red-500); padding: 10px; }
.collage-photo-tall img { border-radius: calc(var(--radius) - 4px); aspect-ratio: 3 / 4.6; }
.collage-photo figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  text-align: center;
  background: rgba(10,23,38,.82); color: var(--white);
  font-size: .8125rem; font-weight: 600; padding: 6px 10px; border-radius: var(--radius-sm);
}

.why-copy .lead { margin-top: var(--s-4); }
.check-list { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
@media (min-width: 600px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: var(--s-3); }
.check-badge {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fde8e4; color: var(--red-600);
}
.check-badge .icon { width: 18px; height: 18px; stroke-width: 3; }
.check-list h3 { font-size: 1.125rem; margin-bottom: 2px; }
.check-list p { font-size: .9375rem; color: var(--text-muted); }

/* ---------- Services ---------- */
.services { background: var(--navy-900); color: var(--text-on-dark); position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 100% 0%, rgba(42,82,179,.28), transparent 70%);
}
.services .container { position: relative; }

.service-feature-grid { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .service-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-feature-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease-out);
}
.service-card:hover { transform: translateY(-4px); }
.service-media { aspect-ratio: 16 / 11; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.service-body h3 { font-size: 1.375rem; }
.service-body p { font-size: .9688rem; }
.service-body .text-link { margin-top: auto; }
.service-icon { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.service-body-red { background: var(--red-600); color: var(--white); }
.service-body-blue { background: var(--blue-700); color: var(--white); }
.service-body-white { background: var(--white); color: var(--text); }
.service-body-white p { color: var(--text-muted); }
.service-body-white .service-icon, .service-body-white .text-link { color: var(--red-600); }

/* Second row: four smaller photo cards */
.service-feature-grid-4 { margin-top: var(--s-5); }
@media (min-width: 1024px) {
  .service-feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .service-feature-grid-4 .service-media { aspect-ratio: 4 / 3.4; }
  .service-feature-grid-4 .service-body h3 { font-size: 1.25rem; }
}

/* ---------- Projects carousel ---------- */
.projects { background: var(--surface-alt); }
.projects-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.projects-head .section-title { font-weight: 700; font-variation-settings: "wdth" 88; }

.carousel-controls { display: flex; align-items: center; gap: var(--s-3); }
.carousel-count { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.carousel-progress { width: 96px; height: 3px; background: var(--steel-200); border-radius: 2px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 100%; background: var(--navy-900); transform-origin: left; transform: scaleX(.14); transition: transform var(--dur) var(--ease-out); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--navy-900); background: transparent; color: var(--navy-900);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.round-btn:hover:not(:disabled) { background: var(--navy-900); color: var(--white); }
.round-btn:disabled { opacity: .35; cursor: not-allowed; }
.round-btn .icon { width: 22px; height: 22px; }

.carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78vw, 340px);
  gap: var(--s-5);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: max(var(--s-4), calc((100vw - var(--container)) / 2 + var(--s-4)));
  scroll-padding-inline: max(var(--s-4), calc((100vw - var(--container)) / 2 + var(--s-4)));
  padding-bottom: var(--s-4);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .carousel-track {
    grid-auto-columns: 360px;
    padding-inline: max(var(--s-6), calc((100vw - var(--container)) / 2 + var(--s-6)));
    scroll-padding-inline: max(var(--s-6), calc((100vw - var(--container)) / 2 + var(--s-6)));
  }
}
.carousel-track:focus-visible { outline-offset: -3px; }
.project-card { scroll-snap-align: start; }
.project-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  background: var(--steel-200);
}
.project-card h3 { font-size: 1.1875rem; font-weight: 700; margin-top: var(--s-4); }
.project-card p { font-size: .875rem; color: var(--text-muted); margin-top: 2px; }

/* ---------- Before / After ---------- */
.ba-head { margin-top: var(--s-8); margin-bottom: var(--s-5); }
.ba-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 960px) { .ba-grid { grid-template-columns: 1.6fr 1fr; } }

.ba-slider figcaption, .ba-pair figcaption { margin-top: var(--s-3); font-size: .9375rem; color: var(--text-muted); }
.ba-slider figcaption strong, .ba-pair figcaption strong { color: var(--text); }

.ba-frame {
  --pos: 50%;
  position: relative; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--steel-200);
  user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--navy-900);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: box-shadow var(--dur-fast) ease;
}
.ba-knob .icon { width: 22px; height: 22px; stroke-width: 2.5; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.ba-range:focus-visible + .ba-knob,
.ba-frame:has(.ba-range:focus-visible) .ba-knob { box-shadow: 0 0 0 4px var(--focus), var(--shadow); }

.ba-tag {
  position: absolute; top: var(--s-3);
  font-family: var(--font-display); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--radius-sm); pointer-events: none;
}
.ba-tag-before { left: var(--s-3); background: rgba(10,23,38,.85); color: var(--white); }
.ba-tag-after { right: var(--s-3); background: var(--red-600); color: var(--white); }

.ba-pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.ba-pair-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-pair-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- Videos ---------- */
.video-block {
  display: grid; gap: var(--s-6); align-items: center;
  margin-top: var(--s-8);
  background: var(--navy-900); color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-5);
}
@media (min-width: 900px) { .video-block { grid-template-columns: 1fr 1.4fr; padding: var(--s-7); } }
.video-copy p:last-child { color: var(--text-on-dark-muted); margin-top: var(--s-3); max-width: 40ch; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); width: 100%; max-width: 560px; justify-self: center; }
@media (min-width: 900px) { .video-grid { justify-self: end; } }
.video-card video {
  width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius); background: var(--navy-950);
}
.video-card figcaption { margin-top: var(--s-3); font-size: .875rem; color: var(--text-on-dark-muted); }
.video-card figcaption strong { color: var(--white); display: block; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: var(--s-6) var(--s-5) var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.review-card::before {
  content: ""; position: absolute; top: 0; left: var(--s-5); right: var(--s-5); height: 4px;
  background: linear-gradient(90deg, var(--red-500) 0 33%, var(--blue-700) 33% 66%, var(--navy-900) 66%);
  border-radius: 0 0 4px 4px;
}
.stars { display: flex; gap: 2px; color: #f2a516; }
.stars svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.review-card blockquote { font-size: 1.0313rem; line-height: 1.6; }
.review-card figcaption { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid var(--steel-100); padding-top: var(--s-3); }
.review-name { font-family: var(--font-display); font-weight: 800; }
.review-meta { font-size: .875rem; color: var(--text-muted); }

/* Remove these flags once real reviews are in place */
.sample-flag {
  align-self: flex-start;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #7a4b00; background: #fff1cc; border: 1px dashed #d9a400;
  padding: 2px 8px; border-radius: 999px;
}

.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); margin-top: var(--s-7); text-align: center; }
.reviews-cta p { color: var(--text-muted); font-weight: 500; }

/* ---------- Service area ---------- */
.area { background: var(--blue-700); color: var(--text-on-dark); position: relative; overflow: hidden; }
.area::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,.05); pointer-events: none;
}
.area .eyebrow-light { color: #ffd0c6; }
.area-grid { display: grid; gap: var(--s-7); align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .area-grid { grid-template-columns: 1fr 1.1fr; } }
.area .lead { color: #dbe3f5; margin-top: var(--s-4); }
.area .lead strong { color: var(--white); }
.area-note { margin-top: var(--s-4); font-weight: 600; }

.town-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.town {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px var(--s-4); border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-weight: 600; font-size: .9375rem;
}
.town-home { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.town-home .icon { color: var(--red-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red-600); color: var(--white); padding-block: var(--s-7); }
.cta-inner { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 900; }
.cta-band p { margin-top: var(--s-2); color: #ffe3dd; font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--text-on-dark-muted); padding-top: var(--s-8); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: var(--s-4); }
.footer-logo { width: 88px; height: 88px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.footer-logo img { width: 66px; }
.footer-name { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: var(--white); }
.footer-tag { font-size: .9375rem; margin-top: 2px; }
.footer-heading { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s-4); font-weight: 800; }
.footer-list { display: grid; gap: var(--s-1); }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 36px; text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-list .icon { color: #ff8a73; }
.footer-list-plain li { padding-block: 4px; }
.socials { display: flex; gap: var(--s-3); }
.social-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white);
  transition: background-color var(--dur-fast) ease;
}
.social-btn:hover { background: var(--red-600); }
.social-btn .icon { width: 22px; height: 22px; }
.footer-badges { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-4); font-weight: 600; color: var(--white); font-size: .9375rem; }
.footer-badges + .footer-badges { margin-top: var(--s-2); }
.footer-badges .icon { color: #ff8a73; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: var(--s-7); padding-block: var(--s-5);
  font-size: .875rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--white); box-shadow: 0 -4px 16px rgba(10,23,38,.14);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar-btn {
    display: flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 48px; border-radius: var(--radius-sm);
    font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; text-decoration: none;
  }
  .mobile-bar-call { background: var(--red-600); color: var(--white); }
  .mobile-bar-text { background: var(--blue-700); color: var(--white); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
