/* Super Attic Solutions — site styles (hand-edited; build.py writes the pages).
   Design language: white space, navy blueprint panels, red roof-peak accents from the logo,
   expanded Archivo display type and Space Mono labels (the wordmark's typeface). */

:root {
  --navy-950: #031228;
  --navy-900: #051B3A;
  --navy: #082A58;
  --blue: #0E3E7F;
  --blue-600: #1650A0;
  --sky: #C7DFFF;
  --sky-50: #EEF5FF;
  --red: #D7261E;
  --red-700: #B01B14;
  --red-50: #FDECEA;
  --ink: #0B1B33;
  --text: #24334A;
  --muted: #56667D;
  --line: #DCE2EA;
  --line-strong: #C3CDDA;
  --paper: #F4F6F9;
  --white: #fff;
  --grid: rgba(199, 223, 255, .085);
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-h1: clamp(2.35rem, 1.2rem + 4.6vw, 4.6rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.4vw, 2.9rem);
  --fs-h3: clamp(1.12rem, 1rem + .5vw, 1.35rem);
  --fs-lede: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  --radius: 6px;
  --radius-lg: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --peak: clamp(26px, 4vw, 56px);
  --shadow: 0 1px 2px rgba(5, 27, 58, .06), 0 12px 32px -12px rgba(5, 27, 58, .22);
  --shadow-lg: 0 2px 4px rgba(5, 27, 58, .08), 0 30px 60px -20px rgba(5, 27, 58, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); margin: 0; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); font-weight: 800; font-stretch: 116%; line-height: .98; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); font-weight: 800; font-stretch: 112%; line-height: 1.04; }
h3 { font-size: var(--fs-h3); font-weight: 700; font-stretch: 106%; line-height: 1.2; }
h1 .hl, h2 .hl { color: var(--red); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(32px, 4vw, 56px) 0; position: relative; }
.section.tight { padding: clamp(24px, 3vw, 40px) 0; }
.section.paper { background: var(--paper); }
.section + .section.paper, .section.paper + .section:not(.paper):not(.navy) { border-top: 0; }

/* mono label with the logo's four-pane window as its bullet */
.tag { display: inline-flex; align-items: center; gap: 10px; font: 700 .75rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
.tag::before { content: ""; width: 12px; height: 12px; flex: none; background:
  linear-gradient(var(--blue), var(--blue)) 0 0 / 5px 5px no-repeat, linear-gradient(var(--blue), var(--blue)) 7px 0 / 5px 5px no-repeat,
  linear-gradient(var(--red), var(--red)) 0 7px / 5px 5px no-repeat, linear-gradient(var(--red), var(--red)) 7px 7px / 5px 5px no-repeat; }
.navy .tag, .hero-dark .tag { color: #FF8A80; }
.navy .tag::before { background:
  linear-gradient(var(--sky), var(--sky)) 0 0 / 5px 5px no-repeat, linear-gradient(var(--sky), var(--sky)) 7px 0 / 5px 5px no-repeat,
  linear-gradient(#FF6A5F, #FF6A5F) 0 7px / 5px 5px no-repeat, linear-gradient(#FF6A5F, #FF6A5F) 7px 7px / 5px 5px no-repeat; }
.mono { font-family: var(--mono); }
.head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .tag { justify-content: center; }
.head p { color: var(--muted); font-size: var(--fs-lede); margin: 18px 0 0; }
.lede { font-size: var(--fs-lede); color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn { --b: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border: 2px solid var(--b); border-radius: var(--radius); background: var(--b); color: #fff; font: 700 1rem/1 var(--display); font-stretch: 108%;
  letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s; white-space: nowrap; }
.btn:hover { --b: var(--red-700); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.navy { --b: var(--navy); }
.btn.navy:hover { --b: var(--blue); }
.btn.line { background: transparent; color: var(--navy); --b: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.light { --b: #fff; color: var(--navy); }
.btn.light:hover { --b: var(--sky); color: var(--navy); }
.btn.ghost { background: transparent; --b: rgba(255,255,255,.45); color: #fff; }
.btn.ghost:hover { --b: #fff; background: #fff; color: var(--navy); }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1.2 var(--display); font-stretch: 108%; color: var(--navy); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.util { background: var(--navy-900); color: #C8D6EA; font: 400 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 36px; }
.util ul { display: flex; gap: 22px; list-style: none; }
.util li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.util li::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.util a { color: #fff; text-decoration: none; }
.util .stars { color: #FFC24D; letter-spacing: .1em; }
.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 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo svg.mark { width: 64px; height: auto; }
.logo .word { font: 700 1.02rem/1.02 var(--mono); letter-spacing: .02em; color: var(--navy); white-space: nowrap; }
.logo .word b { color: var(--red); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav > .dd > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; border-radius: var(--radius);
  font: 600 .95rem/1 var(--body); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav > a:hover, .nav > .dd > button:hover, .nav > a[aria-current] { color: var(--red); }
.nav .dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav .dd.open > button svg { transform: rotate(180deg); }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-phone { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1.1; }
.head-phone small { font: 700 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.head-phone strong { font: 800 1.12rem/1.2 var(--display); font-stretch: 110%; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
.dd.open .mega { display: block; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 28px 32px; padding-top: 32px; padding-bottom: 36px; min-height: 0; align-items: start; }
.mega h3 { font: 700 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.mega h3 a { color: inherit; text-decoration: none; }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega li a { display: block; padding: 5px 0; font-size: .93rem; color: var(--ink); text-decoration: none; }
.mega li a:hover { color: var(--red); }
.mega .col + .col { }
.mega .promo { background: var(--navy); color: #DCE7F7; border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; }
.mega .promo h4 { color: #fff; font-size: 1.25rem; font-stretch: 112%; margin: 0 0 8px; }
.mega .promo p { font-size: .92rem; margin-bottom: 16px; }
.mega .stack { display: grid; gap: 22px; }

/* mobile menu */
.drawer { display: none; }
@media (max-width: 1180px) {
  .nav, .head-cta .btn, .head-phone { display: none; }
  .menu-btn { display: grid; }
  .site-header .wrap { min-height: 66px; }
  .logo svg.mark { width: 52px; }
  .logo .word { font-size: .9rem; }
  .util ul li:nth-child(n+3) { display: none; }
  .drawer { display: block; position: fixed; inset: 0; z-index: 200; background: var(--navy-900); color: #fff; overflow-y: auto; transform: translateX(100%);
    transition: transform .28s ease; visibility: hidden; }
  .drawer.open { transform: none; visibility: visible; }
  .drawer .top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.1); }
  .drawer .top .word { color: #fff; }
  .drawer .close { width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; }
  .drawer .close svg { width: 22px; margin: auto; }
  .drawer nav { padding: 12px var(--gutter) 120px; }
  .drawer details { border-bottom: 1px solid rgba(255,255,255,.1); }
  .drawer summary, .drawer .solo { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 700 1.15rem/1.2 var(--display); font-stretch: 110%; color: #fff; text-decoration: none; list-style: none; cursor: pointer; }
  .drawer .solo { border-bottom: 1px solid rgba(255,255,255,.1); }
  .drawer summary::-webkit-details-marker { display: none; }
  .drawer summary svg { width: 18px; transition: transform .2s; }
  .drawer details[open] summary svg { transform: rotate(180deg); }
  .drawer details ul { list-style: none; padding: 0 0 14px 12px; display: grid; gap: 2px; }
  .drawer details a { color: #C8D6EA; text-decoration: none; display: block; padding: 7px 0; }
  .drawer .btns { margin-top: 24px; }
  .drawer .btns .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- breadcrumb */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; font: 400 .74rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--navy); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 0; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, #fff;
  background-blend-mode: normal; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.96) 60%, #fff); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero .crumbs { margin-bottom: clamp(20px, 3vw, 36px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { padding-bottom: clamp(36px, 5vw, 64px); }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { max-width: 640px; margin-bottom: 26px; }
.hero-points { list-style: none; display: grid; gap: 10px; margin: 0 0 30px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.hero-points svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 1px; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.proof .item { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); line-height: 1.25; }
.proof .item strong { display: block; color: var(--ink); font-size: .95rem; }
.proof .stars { color: #F2A300; letter-spacing: .06em; font-size: .95rem; }
.proof img.badge { height: 40px; width: auto; }
.proof svg.ic { width: 30px; height: 30px; color: var(--blue); flex: none; }
.yelp { width: 30px; height: 30px; flex: none; }

/* the wide photo under the hero copy; the form card overlaps its top edge */
.hero-media { position: relative; margin-top: 0; }
.hero-media .frame { position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 21 / 8; background: var(--navy); }
.hero-media .frame img, .hero-media .frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,27,58,0) 55%, rgba(5,27,58,.35)); pointer-events: none; }
.hero-media .cap { position: absolute; left: clamp(16px, 2.5vw, 28px); bottom: 18px; z-index: 2; color: #fff; font: 400 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.hero-media .cap::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.hero.has-card .hero-media .frame { margin-right: 0; }

/* estimate card (desktop: in the hero's right column, running down over the photo) */
.quote-card { position: relative; z-index: 5; background: var(--navy); color: #DCE7F7; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin-bottom: clamp(-260px, -16vw, -140px); }
.quote-card::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px; pointer-events: none; }
.quote-card .roof { display: block; height: 10px; background: linear-gradient(90deg, var(--red) 0 62%, var(--blue-600) 62% 100%); }
.quote-card .inner { position: relative; padding: 26px 26px 24px; }
.quote-card .kicker { font: 700 .7rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FF8A80; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.quote-card .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BD16F; box-shadow: 0 0 0 4px rgba(59,209,111,.18); }
.quote-card h2 { color: #fff; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.8rem); font-stretch: 112%; margin-bottom: 6px; }
.quote-card .sub { font-size: .92rem; color: #B9C9E0; margin: 0 0 18px; }
.quote-card .foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font: 400 .7rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #9FB3D1; }
.quote-card .foot span::before { content: "✓ "; color: #3BD16F; }
.quote-card .or-call { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(199,223,255,.22); font-size: .9rem; color: #B9C9E0; }
.quote-card .or-call a { color: #fff; font-weight: 700; text-decoration: none; }

/* lead embed + fallback form (inside the navy card) */
.lead-embed { min-height: 0; }
.lead-embed.is-live { background: #fff; border-radius: 10px; padding: 18px 16px 10px; color: var(--text); }
.lead-embed:not(.is-live):not(.is-fallback):empty { min-height: 0; }
.lead-embed.is-live ~ .fallback, .lead-embed.is-live ~ .lead-launch { display: none; }
.lead-launch { display: none; gap: 10px; }
html.lead-popup .lead-launch { display: grid; }
html.lead-popup .fallback { display: none; }
.lead-launch .btn { width: 100%; }
.fallback { display: grid; gap: 12px; }
.fallback .chips { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0 0 4px; }
.fallback legend, .fallback label > span { font: 700 .68rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #C8D6EA; margin-bottom: 8px; display: block; }
.fallback .chips label { position: relative; }
.fallback .chips input { position: absolute; opacity: 0; inset: 0; }
.fallback .chips span { display: inline-block; padding: 7px 11px; border: 1px solid rgba(199,223,255,.3); border-radius: 999px; font: 500 .82rem/1.2 var(--body); color: #E6EEF9; cursor: pointer; text-transform: none; letter-spacing: 0; margin: 0; }
.fallback .chips input:checked + span { background: #fff; color: var(--navy); border-color: #fff; }
.fallback .chips input:focus-visible + span { outline: 2px solid #FF8A80; outline-offset: 2px; }
.fallback .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fallback input[type=text], .fallback input[type=tel], .fallback input[type=email] { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1px solid rgba(199,223,255,.35); background: rgba(255,255,255,.06); color: #fff; font: 400 1rem var(--body); }
.fallback input::placeholder { color: #8EA3C3; }
.fallback input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.1); }
.fallback .btn { width: 100%; margin-top: 4px; }
.fallback .hp { position: absolute; left: -9999px; }
.fallback .note { font-size: .78rem; color: #9FB3D1; margin: 0; }
.fallback .msg { font-size: .9rem; color: #FFD3CF; margin: 0; }
.fallback .msg:empty { display: none; }
.preview-note { display: none; }
html.is-preview .lead-embed.is-fallback ~ .fallback .preview-note { display: block; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .quote-card { margin: 0 0 28px; }
  .hero-media .frame { aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  html.lead-popup .quote-card .inner { padding: 20px; }
  html.lead-popup .quote-card .sub, html.lead-popup .quote-card .foot { display: none; }
}
@media (max-width: 560px) {
  .fallback .row { grid-template-columns: 1fr; }
  .hero-media .frame { aspect-ratio: 5 / 4; }
}

/* ---------------------------------------------------------------- trust bar (navy band under the hero photo) */
.trustbar { background: var(--navy); color: #DCE7F7; position: relative; }
.trustbar ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar li { display: flex; gap: 14px; align-items: center; padding: 22px 20px; border-left: 1px solid rgba(199,223,255,.14); }
.trustbar li:first-child { border-left: 0; padding-left: 0; }
.trustbar svg { width: 30px; height: 30px; color: #FF8A80; flex: none; }
.trustbar strong { display: block; color: #fff; font: 700 .98rem/1.2 var(--display); font-stretch: 108%; }
.trustbar span { font-size: .82rem; color: #A9BCD8; line-height: 1.3; display: block; }
@media (max-width: 900px) { .trustbar ul { grid-template-columns: 1fr 1fr; } .trustbar li { padding: 16px 12px; } .trustbar li:nth-child(odd) { border-left: 0; padding-left: 0; } .trustbar li:nth-child(n+3) { border-top: 1px solid rgba(199,223,255,.14); } }

/* ---------------------------------------------------------------- navy blueprint sections + roof peak edge */
.navy { background: var(--navy); color: #C9D7EB; }
.navy::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px; pointer-events: none; }
.navy > .wrap { position: relative; }
.navy h2, .navy h3 { color: #fff; }
.navy .head p { color: #B5C6DE; }
.navy a:not(.btn) { color: #fff; }
.peak { clip-path: polygon(0 var(--peak), 50% 0, 100% var(--peak), 100% 100%, 0 100%); padding-top: calc(clamp(32px, 4vw, 56px) + var(--peak)); margin-top: calc(var(--peak) * -1); }
.peak-red { position: relative; }
.peak-red::after { content: ""; position: absolute; left: 50%; top: 0; width: 0; height: 0; }

/* ---------------------------------------------------------------- split (copy + figure) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 22px; }
.split .copy p { font-size: 1.05rem; }
.fig { margin: 0; position: relative; }
.fig .ph { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; }
.fig .ph img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { display: flex; gap: 10px; margin-top: 12px; font: 400 .74rem/1.45 var(--mono); letter-spacing: .03em; color: var(--muted); }
.fig figcaption b { color: var(--red); font-weight: 700; white-space: nowrap; }
.fig .corner { position: absolute; top: -10px; left: -10px; width: 64px; height: 64px; border-top: 3px solid var(--red); border-left: 3px solid var(--red); border-radius: 4px 0 0 0; pointer-events: none; }
.navy .fig figcaption { color: #9FB3D1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* ---------------------------------------------------------------- service index (home) */
.index { list-style: none; border-top: 2px solid var(--navy); counter-reset: idx; }
.index li { border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 74px minmax(0, 1.1fr) minmax(0, 1fr) 160px 40px; gap: 24px; align-items: center; padding: 22px 0; text-decoration: none; color: var(--text); position: relative; }
.index .n { font: 700 .9rem/1 var(--mono); color: var(--red); }
.index h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-stretch: 114%; font-weight: 800; transition: color .18s; }
.index p { margin: 0; color: var(--muted); font-size: .97rem; }
.index .thumb { width: 160px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--paper); }
.index .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.index .go { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: all .18s; }
.index .go svg { width: 16px; height: 16px; }
.index a:hover h3 { color: var(--red); }
.index a:hover .go { background: var(--red); border-color: var(--red); color: #fff; }
.index a:hover .thumb img { transform: scale(1.06); }
@media (max-width: 900px) {
  .index a { grid-template-columns: 44px 1fr 96px; gap: 6px 16px; padding: 18px 0; }
  .index .n { grid-row: 1 / span 2; align-self: start; padding-top: 6px; }
  .index p { grid-column: 2; grid-row: 2; font-size: .92rem; }
  .index .thumb { grid-column: 3; grid-row: 1 / span 2; width: 96px; }
  .index .go { display: none; }
}

/* ---------------------------------------------------------------- group tiles (services hub) */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.group { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.group:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.group .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.group .ph img { width: 100%; height: 100%; object-fit: cover; }
.group .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.group h3 { font-size: 1.3rem; font-stretch: 112%; margin-bottom: 6px; }
.group h3 a { color: inherit; text-decoration: none; }
.group h3 a::after { content: ""; position: absolute; inset: 0; }
.group p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.group ul { list-style: none; display: grid; gap: 4px; margin-top: auto; position: relative; z-index: 2; }
.group ul a { font-size: .9rem; text-decoration: none; color: var(--blue); }
.group ul a:hover { color: var(--red); }
@media (max-width: 1000px) { .groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .groups { grid-template-columns: 1fr; } }

/* service cards (related) */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ph { aspect-ratio: 3 / 2; background: var(--paper); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .k { font: 700 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.card h3 { font-size: 1.08rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; font-size: .9rem; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 6px; font: 700 .85rem var(--display); color: var(--navy); }
.navy .card { border-color: transparent; }
@media (max-width: 1000px) { .cards { --cols: 2 !important; } }
@media (max-width: 560px) { .cards { --cols: 1 !important; } }

/* ---------------------------------------------------------------- signs grid */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.signs li { list-style: none; padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: #fff; }
.signs .n { font: 700 .74rem/1 var(--mono); color: var(--red); letter-spacing: .08em; display: block; margin-bottom: 18px; }
.signs h3 { margin-bottom: 8px; font-size: 1.12rem; }
.signs p { margin: 0; color: var(--muted); font-size: .95rem; }
.signs li:hover { background: var(--sky-50); }
@media (max-width: 900px) { .signs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .signs { grid-template-columns: 1fr; } .signs li { padding: 22px 18px; } }

/* ---------------------------------------------------------------- process (navy) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 0 22px 0 0; }
.steps li + li { padding-left: 22px; border-left: 1px dashed rgba(199,223,255,.25); }
.steps .num { display: block; font: 800 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px #FF6A5F; margin-bottom: 18px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 10px; }
.steps p { margin: 0; font-size: .95rem; color: #B5C6DE; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; } .steps li:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 0; } .steps li, .steps li + li, .steps li:nth-child(odd) { padding: 22px 0 22px 64px; border-left: 0; border-top: 1px dashed rgba(199,223,255,.22); } .steps .num { position: absolute; left: 0; top: 22px; font-size: 2.2rem; } }

/* ---------------------------------------------------------------- spec sheet */
.spec-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec caption { text-align: left; font: 700 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); }
.spec th { width: 38%; padding-right: 18px; font: 700 .76rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.spec td { color: var(--ink); }
.navy .spec caption { color: #9FB3D1; border-color: #FF6A5F; }
.navy .spec th { color: var(--sky); }
.navy .spec td { color: #fff; }
.navy .spec th, .navy .spec td { border-color: rgba(199,223,255,.2); }
@media (max-width: 900px) { .spec-wrap { grid-template-columns: 1fr; } }

/* infographic figure */
.info { margin: 0; }
.info .ph { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); border: 1px solid rgba(199,223,255,.18); }
.info .ph img { width: 100%; height: auto; }
.info figcaption { margin-top: 16px; }
.info .legend { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 18px; font: 400 .8rem/1.4 var(--mono); letter-spacing: .03em; }
.info .legend li { display: flex; gap: 10px; align-items: baseline; }
.info .legend b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; flex: none; }
.info h3 { font: 700 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; color: var(--sky); }
.section:not(.navy) .info h3 { color: var(--navy); }

/* ---------------------------------------------------------------- before / after slider */
.ba-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 24px; }
.ba { margin: 0; }
.ba .stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .stage .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .stage .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(5,27,58,.2); pointer-events: none; }
.ba .stage .knob { position: absolute; top: 50%; left: var(--pos); width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); pointer-events: none; }
.ba .stage .knob svg { width: 26px; height: 26px; }
.ba .stage input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .stage .lbl { position: absolute; top: 14px; padding: 6px 10px; font: 700 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(5,27,58,.78); border-radius: 4px; pointer-events: none; }
.ba .stage .lbl.b { left: 14px; }
.ba .stage .lbl.a { right: 14px; background: var(--red); }
.ba figcaption { margin-top: 12px; font: 400 .78rem/1.45 var(--mono); color: var(--muted); }
.ba figcaption b { color: var(--ink); }
.navy .ba figcaption { color: #9FB3D1; }
.navy .ba figcaption b { color: #fff; }
@media (max-width: 800px) { .ba-grid { --cols: 1 !important; } }

/* ---------------------------------------------------------------- series filmstrip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip .ph { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--paper); position: relative; }
.strip .ph img { width: 100%; height: 100%; object-fit: cover; }
.strip .step { position: absolute; left: 10px; top: 10px; font: 700 .68rem/1 var(--mono); letter-spacing: .1em; background: #fff; color: var(--navy); padding: 6px 8px; border-radius: 4px; }
.strip figcaption { margin-top: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; display: flex; gap: 10px; }
.strip figcaption::before { content: ""; width: 16px; height: 2px; background: var(--red); margin-top: .7em; flex: none; }
.navy .strip figcaption { color: #fff; }
.series + .series { margin-top: 40px; }
.series h3 { margin-bottom: 16px; }

/* ---------------------------------------------------------------- compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: .97rem; background: #fff; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font: 700 .9rem/1.2 var(--display); font-stretch: 108%; }
.compare thead th:first-child { font: 700 .7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.compare tbody th { font: 700 .74rem/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--navy); width: 26%; background: var(--paper); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); }
  .compare td { border: 0; padding: 6px 18px; }
  .compare td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--navy); }
  .compare tbody th { border: 0; }
  .compare tr td:last-child { padding-bottom: 16px; }
}

/* ---------------------------------------------------------------- cost factors */
.factors { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 18px; list-style: none; }
.factors li { border-top: 3px solid var(--navy); padding-top: 18px; }
.factors h3 { font-size: 1.05rem; margin-bottom: 8px; }
.factors p { margin: 0; color: var(--muted); font-size: .94rem; }
.factors .n { font: 700 .7rem/1 var(--mono); color: var(--red); letter-spacing: .1em; display: block; margin-bottom: 10px; }
@media (max-width: 900px) { .factors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .factors { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reviews */
.quote { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.quote .mark { font: 900 clamp(5rem, 4rem + 4vw, 9rem)/.7 var(--display); font-stretch: 125%; color: var(--red); }
.quote blockquote { margin: 0; font: 600 clamp(1.3rem, 1rem + 1.2vw, 2rem)/1.3 var(--display); font-stretch: 104%; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: 20px; display: flex; gap: 14px; align-items: center; font: 400 .8rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote .stars { color: #F2A300; letter-spacing: .1em; font-size: 1rem; }
.navy .quote blockquote { color: #fff; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review .top { display: flex; justify-content: space-between; align-items: center; }
.review .stars { color: #F2A300; letter-spacing: .1em; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.review figcaption { margin-top: auto; font: 700 .76rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.review figcaption span { color: var(--muted); font-weight: 400; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .quote { grid-template-columns: 1fr; } .quote .mark { line-height: .5; } }

/* ---------------------------------------------------------------- FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-wrap .head { position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--navy); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 700 1.08rem/1.35 var(--display); font-stretch: 104%; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; transition: all .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); transition: transform .2s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--red); border-color: var(--red); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover { color: var(--red); }
.faq .a { padding: 0 54px 24px 0; color: var(--text); }
.faq .a p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } .faq .a { padding-right: 0; } }

/* ---------------------------------------------------------------- local / area */
.area-list { columns: 4 200px; column-gap: 28px; list-style: none; }
.area-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; display: flex; justify-content: space-between; gap: 10px; }
.area-list li a { text-decoration: none; font-weight: 600; }
.area-list li small { font: 400 .68rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.region h3 { font: 700 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.region ul { list-style: none; display: grid; gap: 2px; }
.region li { font-size: .97rem; padding: 4px 0; }
.region li a { font-weight: 700; text-decoration: none; }
.navy .region h3 { border-color: rgba(199,223,255,.35); color: #FF8A80; }
.navy .region li { color: #DCE7F7; }
.chips-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; text-decoration: none; color: var(--navy); background: #fff; }
.chips-links a:hover { border-color: var(--red); color: var(--red); }
.navy .chips-links a { background: transparent; color: #fff; border-color: rgba(199,223,255,.35); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fact { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: #fff; }
.fact h3 { font: 700 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.fact h3 svg { width: 22px; height: 22px; color: var(--navy); }
.fact p { margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }

/* checklist */
.checks { list-style: none; display: grid; gap: 12px; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }
@media (max-width: 700px) { .checks.two { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- stat band / values */
.values { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 0; border-top: 2px solid var(--navy); }
.values > div { padding: 30px 28px 0 0; }
.values > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.values .n { font: 700 .72rem/1 var(--mono); color: var(--red); letter-spacing: .1em; }
.values h3 { margin: 14px 0 10px; font-size: 1.35rem; font-stretch: 114%; }
.values p { margin: 0; color: var(--muted); }
.navy .values { border-color: #FF6A5F; }
.navy .values > div + div { border-color: rgba(199,223,255,.18); }
.navy .values p { color: #B5C6DE; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } .values > div, .values > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -40px; width: 520px; height: 300px; background: rgba(255,255,255,.06); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); }
.cta-band p { margin: 10px 0 0; color: #FFE1DE; font-size: 1.08rem; max-width: 620px; }
.cta-band .btn.light { color: var(--red-700); }
.cta-band .btn.ghost:hover { color: var(--red-700); }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- video band (home) */
.film { position: relative; background: var(--navy-950); }
.film video, .film img { width: 100%; height: clamp(320px, 52vw, 720px); object-fit: cover; opacity: .92; }
.film .over { position: absolute; inset: auto 0 0 0; padding: 0 0 clamp(28px, 4vw, 56px); background: linear-gradient(180deg, transparent, rgba(3,18,40,.85)); }
.film .over .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.film .over p { margin: 0; color: #fff; font: 800 clamp(1.4rem, 1rem + 2vw, 2.6rem)/1.08 var(--display); font-stretch: 116%; max-width: 760px; }
.film .play { display: inline-flex; gap: 10px; align-items: center; color: #fff; font: 700 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 12px 16px; cursor: pointer; }
.film .play svg { width: 16px; height: 16px; }

/* home hero (bigger type, no breadcrumb) */
.hero.home h1 { font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.4rem); }
.hero.home .hero-media .frame { aspect-ratio: 21 / 9; }

/* ---------------------------------------------------------------- gallery */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; }
.masonry .ph { border-radius: 10px; overflow: hidden; background: var(--paper); }
.masonry img { width: 100%; height: auto; }
.masonry figcaption { margin-top: 8px; font: 400 .76rem/1.4 var(--mono); color: var(--muted); }
.masonry figcaption a { color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 9px 16px; font: 600 .9rem var(--body); color: var(--navy); cursor: pointer; }
.filters button[aria-pressed=true] { background: var(--navy); color: #fff; border-color: var(--navy); }
.masonry figure[hidden] { display: none; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line-strong); }
.contact-list .k { font: 700 .74rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.contact-list .v { color: var(--ink); font-weight: 600; }
.contact-list .v a { color: var(--ink); text-decoration: none; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.map-card iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: #A9BCD8; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(rgba(199,223,255,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(199,223,255,.05) 1px, transparent 1px) 0 0 / 32px 32px; pointer-events: none; }
.site-footer > * { position: relative; }
.f-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding: 44px 0 40px; }
.f-brand .logo .word { color: #fff; font-size: 1.2rem; }
.f-brand .logo .word b { color: #FF6A5F; }
.f-brand p { margin: 20px 0; font-size: .95rem; max-width: 360px; }
.site-footer h2 { font: 700 .72rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FF8A80; margin: 0 0 16px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #DCE7F7; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-phone { font: 800 1.6rem/1.1 var(--display) !important; font-stretch: 112% !important; color: #fff !important; display: inline-block; margin-bottom: 14px; }
.f-contact p { margin: 0 0 12px; font-size: .95rem; }
.f-contact .mono { font-size: .76rem; letter-spacing: .05em; }
.f-bottom { border-top: 1px solid rgba(199,223,255,.12); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font: 400 .72rem/1.5 var(--mono); letter-spacing: .04em; }
.f-bottom a { font-size: .72rem; }
.f-big { font: 800 clamp(3rem, 1rem + 9vw, 10rem)/0.85 var(--display); font-stretch: 125%; color: rgba(199,223,255,.06); letter-spacing: -.03em; white-space: nowrap; padding-bottom: 8px; user-select: none; }
@media (max-width: 1000px) { .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .f-top { grid-template-columns: 1fr; gap: 32px; } }

/* sticky phone bar */
.mbar { display: none; }
@media (max-width: 980px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(5,27,58,.12); transition: transform .25s; }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar .btn { min-height: 50px; padding: 0 12px; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* reveal on scroll */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rv { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* small helpers */
.mt-0 { margin-top: 0; } .mt-l { margin-top: clamp(32px, 4vw, 56px); }
.center { text-align: center; }
.note-small { font: 400 .74rem/1.5 var(--mono); color: var(--muted); }
.kbd { font-family: var(--mono); }
.badge-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.badge-row img { height: 56px; width: auto; }
.pill { display: inline-block; font: 700 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; background: var(--red-50); color: var(--red-700); }

/* phones: the utility strip keeps license + city only */
@media (max-width: 700px) {
  .util .wrap > a { display: none; }
  .util ul { gap: 16px; }
  .proof { gap: 14px 20px; }
}
.f-bottom a { text-decoration: underline; }

/* ---------------------------------------------------------------- confirmation dialog (after a Leads submit) */
.thanks { width: min(470px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: var(--radius-lg); padding: 0 30px 26px; box-shadow: var(--shadow-lg); color: var(--text); text-align: center; }
.thanks::backdrop { background: rgba(3, 18, 40, .7); }
.thanks[open] { animation: thanks-in .25s ease-out; }
@keyframes thanks-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.thanks .roof { display: block; height: 8px; margin: 0 -30px 30px; background: linear-gradient(90deg, var(--red) 0 62%, var(--blue-600) 62% 100%); }
.thanks-x { position: absolute; top: 20px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer; display: grid; place-items: center; padding: 0; }
.thanks-x svg { width: 18px; height: 18px; }
.thanks-mark { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.thanks-mark svg { width: 30px; height: 30px; stroke-width: 3; }
.thanks .tag { justify-content: center; margin-bottom: 10px; }
.thanks h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 10px; }
.thanks-lede { color: var(--muted); margin: 0 0 20px; }
.thanks-steps { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; border-top: 2px solid var(--navy); }
.thanks-steps li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); font-size: .97rem; }
.thanks-steps b { flex: none; font: 700 .76rem/1 var(--mono); color: var(--red); letter-spacing: .06em; }
.thanks-done { width: 100%; }
.thanks-call { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.thanks-call a { color: var(--navy); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .thanks[open] { animation: none; } }
.thanks h2 { text-wrap: balance; }

/* ---------------------------------------------------------------- review profiles */
.g-ic, .tt-ic, .bbb-ic { width: 30px; height: 30px; flex: none; }
.proof .rlink { display: inline; font-size: .82rem; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.proof .rlink:hover { color: var(--red); }
.util .stars { margin-right: 2px; }
.ratings { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rs-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s, border-color .2s; }
.rs-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-strong); color: var(--text); }
.rs-top { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.rs-top svg { width: 32px; height: 32px; }
.rs-top b { display: block; color: var(--ink); font-family: var(--display); font-stretch: 108%; line-height: 1.1; }
.rs-top small { display: block; color: var(--muted); font-size: .8rem; }
.rs-score { font: 800 2.1rem/1 var(--display); font-stretch: 112%; color: var(--ink); }
.rs-score.rs-none { font-size: 1.1rem; color: #F2A300; letter-spacing: .08em; padding: 10px 0 4px; }
.rs-card .stars { color: #F2A300; letter-spacing: .08em; font-size: .9rem; }
.rs-count { font-size: .88rem; color: var(--muted); }
.rs-go { margin-top: auto; padding-top: 8px; font: 700 .72rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.rs-card:hover .rs-go { color: var(--red); }
.review .top svg { width: 26px; height: 26px; }
.review figcaption a.rlink { color: var(--muted); font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
.quote figcaption a.rlink { color: var(--muted); text-decoration: underline; }
@media (max-width: 1100px) { .ratings { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ratings { grid-template-columns: 1fr 1fr; } .ratings li:last-child:nth-child(odd) { grid-column: span 2; } .rs-card { padding: 14px; } .rs-score { font-size: 1.7rem; } }

/* ---------------------------------------------------------------- photo band */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pb-fig { margin: 0; }
.pb-fig .ph { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); aspect-ratio: 3 / 2; }
.pb-fig .ph img { width: 100%; height: 100%; object-fit: cover; }
.pb-wide { grid-column: span 2; grid-row: span 2; }
.pb-wide .ph { aspect-ratio: auto; height: calc(100% - 34px); min-height: 320px; }
.pb-fig figcaption { margin-top: 10px; font: 400 .76rem/1.45 var(--mono); color: var(--muted); }
.pb-fig .rep { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; }
.paper .pb-fig .rep { background: #fff; }
@media (max-width: 900px) { .photo-band { grid-template-columns: 1fr 1fr; } .pb-wide { grid-row: auto; } .pb-wide .ph { aspect-ratio: 3 / 2; height: auto; min-height: 0; } }
@media (max-width: 560px) { .photo-band { grid-template-columns: 1fr; } .pb-wide { grid-column: auto; } }
/* 5 photos: one large + a 2x2 block; 4 or 2: an even row, no large photo */
@media (min-width: 901px) {
  .photo-band[data-n="5"] { grid-template-columns: repeat(4, 1fr); }
  .photo-band[data-n="4"] { grid-template-columns: repeat(4, 1fr); }
  .photo-band[data-n="2"] { grid-template-columns: 1fr 1fr; }
  .photo-band[data-n="4"] .pb-wide, .photo-band[data-n="2"] .pb-wide { grid-column: auto; grid-row: auto; }
  .photo-band[data-n="4"] .pb-wide .ph, .photo-band[data-n="2"] .pb-wide .ph { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}
@media (max-width: 900px) { .photo-band[data-n="2"] .pb-wide, .photo-band[data-n="4"] .pb-wide { grid-column: auto; } }

/* location after a caption: small, muted, never replaces the caption */
.loc { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; color: var(--muted); font: 400 .72rem/1.3 var(--mono); letter-spacing: .02em; }
.loc svg { width: 11px; height: 11px; flex: none; stroke-width: 2.2; color: var(--red); }
.navy .loc { color: #9FB3D1; }
.series h3 .loc { margin-left: 8px; vertical-align: middle; }
.series-loc { margin: 0 0 10px; }

/* Hero: the live Leads form is much taller than the fallback, so the card only dips a fixed ~90px into the
   photo (it used to overlap 230px and cover the people). The copy column keeps the photo from rising. */
@media (min-width: 981px) {
  .quote-card { margin-bottom: -90px; }
  .hero-grid { align-items: start; }
  .hero-copy { padding-bottom: 130px; }
  .proof { gap: 12px 22px; }
  .proof img.badge { height: 34px; }
}

/* Hero with the estimate card: photo in the left column, card on the right; nothing overlaps. */
.hero.has-card .quote-card { margin-bottom: clamp(36px, 5vw, 64px); }
.hero.has-card .hero-copy { padding-bottom: clamp(36px, 5vw, 64px); }
.hero-media-inline { margin-top: 32px; }
.hero-media-inline .frame { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.hero.home .hero-media-inline .frame { aspect-ratio: 16 / 10; }
@media (max-width: 980px) {
  .hero-media-inline { margin: 28px calc(var(--gutter) * -1) 0; }
  .hero-media-inline .frame { border-radius: 0; aspect-ratio: 4 / 3; }
  .hero.has-card .hero-copy { padding-bottom: 0; }
  .hero.has-card .quote-card { margin-top: 24px; }
}

/* Home: the brand film loops in the hero's video frame; "Watch our story" opens it with sound */
.hero.home .hero-media-inline .frame { aspect-ratio: 1440 / 598; }
.story-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 0; border: 0; background: none; color: var(--navy); font: 700 1rem/1 var(--body, inherit); cursor: pointer; }
.story-link svg { width: 44px; height: 44px; padding: 13px 12px 13px 14px; box-sizing: border-box; border-radius: 50%; background: var(--red); color: #fff; fill: currentColor; box-shadow: 0 0 0 6px var(--red-50); transition: background .18s, box-shadow .18s; }
.story-link small { font: 400 .74rem/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.story-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.story-link:hover svg { background: var(--red-700); box-shadow: 0 0 0 8px var(--red-50); }
.film-sound { position: absolute; right: clamp(12px, 2vw, 20px); bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--navy); font: 700 .82rem/1 var(--body, inherit); cursor: pointer; box-shadow: 0 6px 18px rgba(3,18,40,.25); }
.film-sound svg { width: 22px; height: 22px; padding: 6px 5px 6px 7px; box-sizing: border-box; border-radius: 50%; background: var(--red); color: #fff; fill: currentColor; }
.film-sound:hover { background: #fff; }
.story { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; }
.story::backdrop { background: rgba(3,18,40,.86); }
.story video { display: block; width: 100%; aspect-ratio: 1440 / 598; border-radius: 14px; background: #000; }
.story-x { position: absolute; right: 0; top: -48px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.story-x svg { width: 20px; height: 20px; }
.story-x:hover { background: #fff; color: var(--navy); }
.story-inline video { display: block; width: 100%; aspect-ratio: 1440 / 598; border-radius: var(--radius-lg); background: #000; box-shadow: var(--shadow-lg); }
@media (max-width: 980px) { .hero.home .hero-media-inline .frame { aspect-ratio: 1440 / 598; } }
