/* Patio Plus — site styles
   Authentic blue wordmark, navy structure, cool neutral surfaces and blue actions. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* Color */
  --navy: #24366f;        /* structure: header text, dark bands, headings */
  --navy-2: #344b9b;      /* authentic logo blue, links */
  --navy-deep: #142044;   /* footer */
  --paper: #f8f8f5;       /* page ground, a cool off-white */
  --stone: #e7ecf7;       /* quiet bands, chips */
  --line: #cbd4e8;        /* hairlines and borders */
  --ink: #17223b;         /* body text */
  --ink-2: #4b5873;       /* secondary text (7:1 on paper) */
  --action: #344b9b;         /* the action color */
  --action-hover: #293d83;
  --action-ink: #ffffff;     /* white text on blue actions */
  --accent: #bed3ff;      /* readable highlights on navy */
  --white: #ffffff;
  --on-dark: #edf2ff;
  --on-dark-2: #c0cce8;

  /* Type */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --step-5: clamp(2.75rem, 1.5rem + 5.2vw, 5.6rem);

  /* Space and shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 7vw, 104px);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 90px;
  --shadow: 0 1px 2px rgba(20, 32, 68, 0.06), 0 12px 32px -12px rgba(20, 32, 68, 0.22);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #7199ed; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  font-weight: 720;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--action); color: var(--action-ink); padding: 12px 18px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sun { background: var(--action); color: var(--action-ink); }
.btn-sun:hover { background: var(--action-hover); color: var(--action-ink); }
.btn-glass { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); color: var(--white); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-pine { background: var(--navy); color: var(--white); }
.btn-pine:hover { background: var(--navy-2); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: translateY(1px); } }

.text-link { font-weight: 700; color: var(--navy-2); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(248, 248, 245, .96);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.site-header.is-overlay {
  position: fixed; left: 0; right: 0; top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent; border-bottom-color: transparent; color: var(--white);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.site-header.is-overlay.is-solid {
  background: rgba(248, 248, 245, .97); color: var(--navy); border-bottom-color: var(--line);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand {
  display: inline-flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 8px 0; background: transparent;
  text-decoration: none; color: var(--navy-2); flex: none;
}
.brand:hover { color: var(--navy-2); }
.brand-logo { width: 208px; height: auto; aspect-ratio: 2115 / 405; object-fit: contain; flex: none; transition: filter .25s ease; }
.brand-since { display: flex; align-items: center; gap: 7px; font-size: .55rem; letter-spacing: .16em; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.brand-since::before, .brand-since::after { content: ""; width: 12px; height: 1px; background: currentColor; opacity: .65; }
.site-header.is-overlay:not(.is-solid) .brand, .mobile-menu .brand, .footer-brand .brand { color: var(--accent); }
.site-header.is-overlay:not(.is-solid) .brand-logo, .mobile-menu .brand-logo, .footer-brand .brand-logo { filter: brightness(0) invert(1); }
.footer-brand .brand { align-self: flex-start; }
@media (max-width: 640px) {
  .brand { gap: 6px; }
  .brand-logo { width: 170px; }
  .brand-since { font-size: .48rem; letter-spacing: .09em; gap: 5px; }
  .brand-since::before, .brand-since::after { width: 8px; }
}
@media (max-width: 360px) {
  .brand-logo { width: 146px; }
  .brand-since { font-size: .43rem; letter-spacing: .05em; }
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  color: inherit; text-decoration: none; font-weight: 600; font-size: .98rem;
  background: none; border: 0; cursor: pointer; border-radius: 999px;
}
.nav > a:hover, .nav-drop > button:hover { background: rgba(110,130,175,.16); color: inherit; }
.nav > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-42%);
  width: min(720px, 90vw); background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.mega a { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--stone); color: var(--ink); }
.mega img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; width: 100%; }
.mega strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.mega span { font-size: .88rem; color: var(--ink-2); line-height: 1.35; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: inherit; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone:hover { color: inherit; }
.header-phone svg { width: 18px; height: 18px; }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid currentColor;
  background: transparent; color: inherit; align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy); color: var(--white);
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  overflow-y: auto; display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 650;
  font-size: 1.7rem; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.mobile-menu nav a.sub { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; padding: 9px 0 9px 16px; color: var(--on-dark); }
.mobile-menu .btn { width: 100%; }
.mobile-menu-contact { color: var(--on-dark-2); font-size: .95rem; display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 1200px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .btn, .header-phone span { display: none; }
  .header-phone { width: 48px; justify-content: center; border-radius: 999px; border: 1.5px solid currentColor; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: min(92svh, 900px); display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(24px, 4vw, 40px);
  background: var(--navy-deep);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 16, 36, .55) 0%, rgba(8, 16, 36, 0) 22%),
    linear-gradient(90deg, rgba(8, 16, 36, .86) 0%, rgba(8, 16, 36, .65) 40%, rgba(8, 16, 36, .08) 80%),
    linear-gradient(0deg, rgba(8, 16, 36, .85) 0%, transparent 50%);
}
.hero-content { display: flex; flex-direction: column; gap: 26px; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: var(--step-5); font-weight: 780; letter-spacing: -0.04em; line-height: .95; max-width: 13ch; }
.hero-lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 40ch; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-bar {
  margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius);
  background: rgba(14, 24, 50, .38); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.proof-bar > * { padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proof-bar > * + * { border-left: 1px solid rgba(255,255,255,.18); }
.proof-bar strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 720; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.proof-bar span { font-size: .88rem; color: rgba(255,255,255,.78); }
.proof-bar a { color: inherit; text-decoration: none; }
.proof-bar a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.stars { color: var(--navy-2); letter-spacing: 1px; font-size: .95em; }
@media (max-width: 900px) {
  .proof-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-bar > *:nth-child(3) { border-left: 0; }
  .proof-bar > *:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 420px) { .proof-bar > * { padding: 14px 14px; } .proof-bar strong { font-size: 1.15rem; } }

/* ---------- Towns ticker ---------- */
.towns-strip { background: var(--navy); color: var(--on-dark); overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); }
.towns-track { display: flex; gap: 40px; padding-block: 16px; width: max-content; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.towns-track span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.towns-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .towns-track { animation: ticker 48s linear infinite; }
  .towns-strip:hover .towns-track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-stone { background: var(--stone); }
.section-pine { background: var(--navy); color: var(--on-dark); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-2); }
.section-pine .kicker { color: var(--accent); }
h2.title { font-size: var(--step-4); color: var(--navy); }
.section-pine h2.title { color: var(--white); }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 58ch; line-height: 1.5; }
.section-pine .lede { color: var(--on-dark-2); }

/* ---------- Service bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 14px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white);
  text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; background: var(--navy);
}
.tile:hover { color: var(--white); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,16,36,.86) 0%, rgba(8,16,36,.25) 50%, rgba(8,16,36,0) 72%); }
.tile-body { padding: clamp(18px, 2.4vw, 28px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; width: 100%; }
.tile h3 { font-size: var(--step-2); font-weight: 720; }
.tile p { font-size: .98rem; color: rgba(255,255,255,.84); margin-top: 6px; max-width: 34ch; line-height: 1.45; }
.tile-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--action); color: var(--action-ink); display: grid; place-items: center; transition: transform .3s ease; }
.tile-arrow svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .tile:hover img { transform: scale(1.05); }
  .tile:hover .tile-arrow { transform: translateX(4px); }
}
.t-screen { grid-column: span 7; grid-row: span 2; }
.t-sun { grid-column: span 5; }
.t-cover { grid-column: span 5; }
.t-pergola, .t-carport, .t-windows { grid-column: span 4; }
.t-screen h3 { font-size: var(--step-3); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .t-screen { grid-column: span 2; grid-row: span 1; }
  .t-sun, .t-cover, .t-pergola, .t-carport, .t-windows { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
  .t-screen, .t-sun, .t-cover, .t-pergola, .t-carport, .t-windows { grid-column: span 1; }
}

/* ---------- Three ways (tabs) ---------- */
.ways { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.ways-tabs { display: flex; flex-direction: column; gap: 10px; }
.way-tab {
  text-align: left; background: transparent; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; color: var(--ink);
  transition: background-color .25s ease, border-color .25s ease;
}
.way-tab:hover { border-color: var(--navy-2); }
.way-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.way-tab .way-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 720; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 12px; }
.way-tab .way-step { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); }
.way-tab[aria-selected="true"] .way-step { color: var(--accent); }
.way-tab .way-sum { font-size: .98rem; color: var(--ink-2); }
.way-tab[aria-selected="true"] .way-sum { color: var(--on-dark-2); }
.ways-stage { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 480px; background: var(--navy); }
.way-panel { position: absolute; inset: 0; display: flex; align-items: flex-end; color: var(--white); }
.way-panel[hidden] { display: none !important; }
.way-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.way-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,16,36,.9), rgba(8,16,36,.1) 60%); }
.way-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; width: 100%; background: rgba(255,255,255,.14); }
.way-facts div { background: rgba(14, 24, 50, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.way-facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--on-dark-2); }
.way-facts dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.way-facts dd.yes::before { content: "✓ "; color: var(--accent); }
.way-facts dd.no { color: var(--on-dark-2); }
@media (prefers-reduced-motion: no-preference) { .way-panel { animation: fadein .45s ease; } }
@keyframes fadein { from { opacity: .3; } to { opacity: 1; } }
@media (max-width: 900px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .ways-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .way-tab { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
  .ways-stage { min-height: 420px; }
}

/* ---------- Numbers band ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.numbers > div { padding: 8px clamp(16px, 2.5vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.numbers > div + div { border-left: 1px solid rgba(255,255,255,.16); }
.numbers b { font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); font-weight: 780; letter-spacing: -0.045em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.numbers span { color: var(--on-dark); font-size: 1rem; line-height: 1.45; max-width: 24ch; }
@media (max-width: 820px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .numbers > div:nth-child(3) { border-left: 0; }
}

/* ---------- Galleries ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink); font-weight: 650; cursor: pointer; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--navy-2); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip .count { font-size: .8rem; opacity: .7; font-variant-numeric: tabular-nums; }
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry > figure { break-inside: avoid; margin: 0 0 14px; }
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in; background: var(--stone);
}
.shot img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: no-preference) { .shot:hover img { transform: scale(1.04); } }
.shot-tag {
  position: absolute; left: 12px; bottom: 12px; background: rgba(245,247,252,.94); color: var(--navy);
  font-size: .8rem; font-weight: 750; padding: 6px 12px; border-radius: 999px;
}

/* Lightbox */
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(8, 16, 36, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(8, 16, 36, .9); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: calc(env(safe-area-inset-top,0px) + 64px) 16px calc(env(safe-area-inset-bottom,0px) + 16px); gap: 12px; }
.lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 8px; min-height: 0; }
.lightbox figcaption { text-align: center; color: var(--on-dark); font-size: .95rem; max-width: 70ch; margin-inline: auto; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: calc(env(safe-area-inset-top,0px) + 10px); right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: calc(env(safe-area-inset-bottom,0px) + 56px); transform: none; } }

/* ---------- Reviews ---------- */
.reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.reviews-row > * { scroll-snap-align: start; }
.review-summary { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.review-summary .big { font-family: var(--font-display); font-size: 5rem; font-weight: 780; line-height: .85; letter-spacing: -0.05em; }
.review-summary .stars { font-size: 1.4rem; }
.review-summary p { color: var(--on-dark-2); }
.review-summary .links { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.review-summary a { color: var(--white); font-weight: 700; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px; margin: 0;
}
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 560; line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: .92rem; color: var(--ink-2); }
.review figcaption strong { color: var(--ink); font-size: 1rem; }
.review .src { font-size: .82rem; }
.row-controls { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--navy); color: var(--white); }
.icon-btn svg { width: 20px; height: 20px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--action); color: var(--action-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.steps h3 { font-size: 1.35rem; color: var(--navy); }
.steps p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Heritage ---------- */
.heritage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.heritage-media { position: relative; padding-bottom: 18%; }
.heritage-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.heritage-media img + img { position: absolute; width: 52%; right: -4%; bottom: 0; border: 8px solid var(--paper); border-radius: calc(var(--radius) + 4px); }
.heritage-copy { display: flex; flex-direction: column; gap: 20px; }
.heritage-copy p { color: var(--ink-2); max-width: 56ch; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.cred { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.cred b { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); letter-spacing: -0.01em; }
.cred span { font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.cred a { font-size: .9rem; font-weight: 700; }
@media (max-width: 900px) { .heritage { grid-template-columns: minmax(0, 1fr); } .heritage-media img + img { right: 0; } }
@media (max-width: 480px) { .creds { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Area + hours ---------- */
.area { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.town-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 650; }
.visit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.visit-card h3 { font-size: 1.5rem; color: var(--navy); }
.visit-card address { font-style: normal; line-height: 1.5; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.closed td { color: var(--ink-2); }
@media (max-width: 860px) { .area { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Estimate / forms ---------- */
.cta-band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: -1; pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-copy { display: flex; flex-direction: column; gap: 18px; }
.cta-copy h2 { font-size: var(--step-4); color: var(--white); }
.cta-copy p { color: var(--on-dark); font-size: var(--step-1); max-width: 40ch; line-height: 1.5; }
.cta-phone { font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 750; letter-spacing: -0.03em; color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta-phone:hover { color: var(--white); }
.cta-meta { color: var(--on-dark-2) !important; font-size: 1rem !important; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

.form-card { background: var(--white); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.form-card .form-sub { color: var(--ink-2); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid #acbad8; background: var(--paper); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(52, 75, 155, .45); }
.field input[type="file"] { padding: 12px; border-style: dashed; cursor: pointer; }
.field .hint { font-size: .85rem; color: var(--ink-2); }
.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.form-actions .btn { width: 100%; min-height: 58px; font-size: 1.05rem; }
.form-note { font-size: .85rem; color: var(--ink-2); }
.form-status { font-weight: 650; border-radius: var(--radius-sm); padding: 14px 16px; }
.form-status.ok { background: #e3f1e6; color: #12492d; }
.form-status.err { background: #fbe8e1; color: #7a2410; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.page-hero h1 { font-size: var(--step-5); color: var(--navy); font-weight: 780; letter-spacing: -0.04em; line-height: .95; }
.page-hero .lede { color: var(--ink-2); }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: calc(var(--radius) + 6px); }
.page-hero-simple { max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
.crumbs { font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Service detail */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 65ch; }
.prose h2 { font-size: var(--step-3); color: var(--navy); margin-top: 8px; }
.prose p { color: var(--ink-2); font-size: 1.08rem; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px; background: var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checks b { color: var(--ink); display: block; }
.checks span { color: var(--ink-2); }
.aside-stack { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-2); font-size: .95rem; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.quote-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; margin: 0; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 560; }
.quote-card figcaption { color: var(--on-dark-2); font-size: .9rem; }
@media (max-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr); } .aside-stack { position: static; } }

.more-services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.more-services a { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding: 16px; isolation: isolate; }
.more-services a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.more-services a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,16,36,.8), rgba(8,16,36,0) 60%); }
@media (max-width: 960px) { .more-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 880px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--navy-2); transition: transform .25s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); max-width: 70ch; }

/* Simple prose pages */
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.doc h2 { font-size: 1.6rem; color: var(--navy); margin-top: 16px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-2); padding-top: clamp(56px, 7vw, 96px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { color: var(--white); display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { color: var(--on-dark-2); max-width: 36ch; }
.site-footer h3 { color: var(--white); font-size: .78rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .88rem; }
.footer-bottom ul { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 10px);
    background: rgba(245, 247, 252, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .action-bar .btn { min-height: 50px; padding: 0 12px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Small additions */
.way-link { position: absolute; top: 18px; right: 18px; z-index: 1; }
.form-status:empty { display: none; }
.review-summary .kicker { color: var(--accent); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.timeline li { border-top: 3px solid var(--action); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.timeline b { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 780; letter-spacing: -0.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.timeline span { color: var(--ink-2); }
.history-section { background: var(--navy-deep, #142044); color: white; position: relative; overflow: hidden; }
.history-section::before { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(190, 211, 255, .12); border-radius: 50%; top: -260px; right: -100px; pointer-events: none; }
.history-section .wrap { position: relative; }
.history-head { display: grid; grid-template-columns: minmax(160px, .7fr) 2fr; gap: clamp(28px, 5vw, 76px); align-items: center; margin-bottom: 48px; }
.history-number { font-family: var(--font-display); font-size: clamp(5rem, 10vw, 9rem); font-weight: 780; letter-spacing: -.08em; line-height: .9; color: #bed3ff; border-right: 1px solid rgba(190, 211, 255, .25); padding: 10px 32px 10px 0; }
.section-head.history-head > .history-number { display: block; white-space: nowrap; }
.history-number > span { font-size: .48em; vertical-align: top; line-height: 1.1; margin-left: .12em; }
.history-number small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; margin-top: 20px; }
.history-heading .kicker { color: #bed3ff; }
.history-heading .title { color: white; font-size: clamp(2rem, 3.8vw, 3.7rem); line-height: 1.08; letter-spacing: -.045em; margin-top: 12px; }
.history-heading .title > span { color: #bed3ff; }
.history-heading .title::after { content: ""; display: block; width: 76px; height: 3px; background: #bed3ff; border-radius: 2px; margin-top: 24px; }
.history-heading > p { color: #d4ddf2; margin-top: 18px; max-width: 42ch; }
.history-section .timeline { gap: 18px; }
.history-section .timeline li { padding: 24px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(190, 211, 255, .19); border-top: 3px solid #bed3ff; border-radius: 0 0 12px 12px; }
.history-section .timeline b { color: #bed3ff; }
.history-section .timeline span { color: #e0e6f4; font-size: .95rem; line-height: 1.6; }
@media (max-width: 640px) {
  .history-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .history-number { font-size: 5.2rem; border-right: 0; border-bottom: 1px solid rgba(190, 211, 255, .25); padding: 0 0 24px; }
  .history-number small { margin-top: 12px; }
  .history-heading .title { font-size: clamp(1.8rem, 6.8vw, 2.7rem); }
}
@media (max-width: 860px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 480px) { .timeline { grid-template-columns: minmax(0, 1fr); } }
.page-hero-copy .hero-actions .btn-line { background: transparent; }
.reviews-row:focus-visible { outline-offset: 6px; }

/* 404 / thanks */
.center-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 760px; }
.center-page h1 { font-size: var(--step-5); color: var(--navy); letter-spacing: -0.04em; line-height: .95; }
.center-page .lede { color: var(--ink-2); }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.cta-band .kicker { color: var(--accent); }
@media (max-width: 560px) { .more-services a:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 2 / 1; } }

.hero .stars, .review-summary .stars, .quote-card .stars { color: var(--accent); }

/* Motion stays brief and uses opacity/transforms instead of layout animation. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-item { transition: opacity .6s ease var(--reveal-delay, 0ms), translate .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
  .reveal-pending { opacity: 0; translate: 0 22px; }
  .hero .eyebrow { animation: rise-in .55s ease both; }
  .hero h1 { animation: rise-in .7s cubic-bezier(.2,.7,.2,1) .07s both; }
  .hero-lede { animation: rise-in .6s ease .14s both; }
  .hero-actions { animation: rise-in .6s ease .2s both; }
  .proof-bar { animation: rise-in .6s ease .26s both; }
  .page-hero-copy { animation: rise-in .6s ease both; }
  .btn { transition: background-color .2s, color .2s, border-color .2s, transform .22s, box-shadow .22s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -12px rgba(20,32,68,.45); }
  .btn:active { transform: translateY(0); }
  .chip, .way-tab { transition: background-color .22s, color .22s, border-color .22s, box-shadow .22s; }
  .way-tab:hover { box-shadow: 0 8px 20px -15px rgba(20,32,68,.35); }
  .way-panel:not([hidden]) { animation: panel-in .35s ease; }
  .mega:not([hidden]) { animation: dropdown-in .2s ease-out; }
  .mobile-menu:not([hidden]) { animation: menu-in .25s cubic-bezier(.2,.7,.2,1); }
  .mobile-menu:not([hidden]) nav { animation: rise-in .35s ease .06s both; }
  .lightbox[open] { animation: fadein .18s ease; }
  .cookie-dialog[open] { animation: panel-in .22s ease; }
  .faq details[open] .answer { animation: rise-in .24s ease; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dropdown-in { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .reveal-pending { opacity: 1; translate: none; } }

/* Quiet privacy controls, with an always-available footer entry point. */
.footer-bottom .footer-control { padding: 0; border: 0; background: transparent; font: inherit; color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-bottom .footer-control:hover { color: var(--white); }
.cookie-notice {
  position: fixed; left: 20px; bottom: 20px; z-index: 65; max-width: 430px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow);
}
.cookie-notice p { font-size: .9rem; line-height: 1.5; }
.cookie-notice strong { display: block; font-family: var(--font-display); margin-bottom: 3px; }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.cookie-details { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--navy-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 30px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.cookie-dialog::backdrop { background: rgba(8,16,36,.6); }
.cookie-dialog h2 { font-size: 1.8rem; color: var(--navy); padding-right: 24px; margin-bottom: 14px; }
.cookie-dialog p { font-size: .98rem; line-height: 1.6; margin-top: 12px; }
.cookie-dialog .cookie-setting { padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.cookie-dialog .cookie-setting strong { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.cookie-dialog .cookie-setting span { color: var(--navy-2); }
.cookie-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; font-size: 1.65rem; }
.cookie-close:hover { background: var(--stone); }
@media (max-width: 640px) {
  .cookie-notice { left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); max-width: none; padding: 14px 16px; }
  .cookie-dialog { padding: 24px; }
}


/* ---------- Hometown finish ---------- */
.faith-note { border-left: 3px solid var(--navy-2); padding-left: 22px; color: var(--navy); }
.lede a[href^="tel:"] { white-space: nowrap; }
.contact-grid { grid-template-areas: "intro form" "visit form"; align-items: start; row-gap: 28px; }
.contact-grid > .page-hero-copy { grid-area: intro; }
.contact-grid > .form-card { grid-area: form; }
.contact-grid > .visit-card { grid-area: visit; }
@media (max-width: 900px) { .contact-grid { grid-template-areas: "intro" "form" "visit"; } }
.hero-content { gap: 36px; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 { font-size: clamp(2.7rem, 5.7vw, 5.5rem); line-height: 1.02; max-width: none; letter-spacing: -.055em; }
.hero h1 span { color: #d1dfff; }
.hero-lede { max-width: 43ch; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; }
.hero-note { color: #d6dff1; font-size: .88rem; }
.hero .btn-sun { background: white; color: var(--navy); }
.hero .btn-sun:hover { background: #e5ecff; }
.hero-project { display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid rgba(255,255,255,.4); border-radius: 16px; color: white; text-decoration: none; background: rgba(8,16,36,.53); backdrop-filter: blur(12px); transition: background .25s ease, border-color .25s ease; }
.hero-project:hover { color: white; border-color: white; background: rgba(8,16,36,.7); }
.hero-project .eyebrow { font-size: .65rem; letter-spacing: .12em; }
.hero-project strong { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.12; }
.hero-project-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; font-weight: 650; }
.hero-project-link svg { width: 20px; height: 20px; }
.proof-bar { margin-top: 0; }
.local-strip { background: var(--navy-deep); color: #e0e8fa; border-top: 1px solid rgba(255,255,255,.15); }
.local-strip-inner { min-height: 68px; display: flex; align-items: center; gap: 24px; font-size: .9rem; padding-block: 18px; }
.local-strip-inner > span { color: white; font-weight: 750; }
.local-strip-inner p { color: #c0cce8; }
.local-strip-inner a { color: white; display: inline-flex; align-items: center; gap: 10px; margin-left: auto; text-underline-offset: 5px; white-space: nowrap; }
.local-strip-inner svg { width: 16px; height: 16px; }
.review-summary .kicker, .review-summary .stars { color: var(--accent); }
.tile { box-shadow: 0 4px 18px rgba(20,32,68,.06); }
.tile:focus-visible { outline-offset: 5px; }
.page-hero-media { position: relative; }
.page-hero-media::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 18px; pointer-events: none; }
.form-card { box-shadow: 0 18px 50px -30px rgba(20,32,68,.38); }
.mobile-menu nav .sub { border-left: 2px solid rgba(190,211,255,.4); }
@media (prefers-reduced-motion: no-preference) {
  .hero-project { animation: rise-in .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .28s; }
  .tile:focus-visible img { transform: scale(1.035); }
}
@media (max-width: 1000px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr); }
  .hero-project { display: none; }
  .hero h1 { font-size: clamp(2.7rem, 7.7vw, 5.2rem); }
  .local-strip-inner { flex-wrap: wrap; gap: 8px 20px; }
}
@media (max-width: 640px) {
  :root { --header-h: 80px; }
  .hero { padding-top: 126px; min-height: auto; padding-bottom: 28px; }
  .hero-copy { gap: 22px; }
  .hero .eyebrow { max-width: 32ch; line-height: 1.7; font-size: .68rem; }
  .hero h1 { font-size: clamp(2.45rem, 9.8vw, 3.75rem); }
  .hero-media img { object-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, rgba(8,16,36,.85), rgba(8,16,36,.46)), linear-gradient(0deg, rgba(8,16,36,.9), transparent); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 180px; }
  .hero-note { font-size: .8rem; max-width: 32ch; }
  .local-strip-inner { gap: 8px; }
  .local-strip-inner > span, .local-strip-inner p { width: 100%; }
  .local-strip-inner a { margin-left: 0; margin-top: 4px; }
}
