/* Layout: sticky navy header, alternating paper and navy bands, a horizontal "screen line" motif from the shield logo, spec data plates in mono. */
:root {
  --navy: #14284a;
  --navy-deep: #0c1a31;
  --sun: #fecd21;
  --sky: #8ec5e8;
  --paper: #f5f7fa;
  --surface: #ffffff;
  --ink: #13233f;
  --muted: #55627a;
  --line: #d8dfe9;
  --on-navy: #f2f5fa;
  --on-navy-muted: #a9b7cd;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1424; --surface: #111f37; --ink: #e8edf5; --muted: #9eabc0;
    --line: #233452; --navy: #102341; --navy-deep: #070f1d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a1424; --surface: #111f37; --ink: #e8edf5; --muted: #9eabc0;
  --line: #233452; --navy: #102341; --navy-deep: #070f1d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.02;
  text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0; max-width: 62ch; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.band-navy .eyebrow, .hero .eyebrow { color: var(--sky); }
.lede { font-size: 1.2rem; color: var(--muted); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy .lede, .band-navy p.muted { color: var(--on-navy-muted); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--navy-deep); color: var(--on-navy);
  border-bottom: 1px solid rgba(142, 197, 232, 0.18);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 8px 12px; border-radius: var(--radius); color: var(--on-navy-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-navy); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(242,245,250,.3); color: var(--on-navy); font: 600 0.9rem var(--font-body); padding: 8px 14px; border-radius: var(--radius); cursor: pointer; }
.dropdown { position: relative; }
.dropdown > button { background: none; border: 0; font: 500 0.98rem var(--font-body); color: var(--on-navy-muted); padding: 8px 12px; cursor: pointer; }
.dropdown > button:hover, .dropdown.is-current > button { color: var(--on-navy); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--navy-deep); border: 1px solid rgba(142,197,232,.2); padding: 8px; display: flex; flex-direction: column; }
.dropdown-menu a { padding: 10px 12px; }
@media (min-width: 961px) {
  .dropdown-menu { visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { visibility: visible; opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-deep); flex-direction: column; align-items: stretch; padding: 8px 20px 20px; border-bottom: 1px solid rgba(142,197,232,.2); }
  .nav.open { display: flex; }
  .nav a, .dropdown > button { padding: 12px 0; text-align: left; }
  .dropdown-menu { position: static; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .dropdown > button { display: none; }
  .nav .btn { margin: 12px 0 0; text-align: center; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--sun); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; padding: 13px 24px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.btn-sun { background: var(--sun); color: #13233f; }
.nav a.btn-sun { color: #13233f; padding: 9px 18px; font-size: 1.05rem; }
.btn-sun:hover { background: #ffd84d; transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Screen-line photo slots (swap for real photos) */
.ph {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(160deg, #1d3a66 0%, #0c1a31 100%); border-radius: var(--radius);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(142,197,232,.16) 0 2px, transparent 2px 14px);
}
.ph::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-navy-muted);
}
.ph.tall { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* Hero */
.hero { background: var(--navy-deep); color: var(--on-navy); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: var(--on-navy); }
.hero h1 .sun { color: var(--sun); display: block; }
.hero p.lede { color: var(--on-navy-muted); }
.hero > .wrap > * { min-width: 0; }
.hero .ph { aspect-ratio: 4 / 5; }
.hero .ph::before { animation: lower 1.6s cubic-bezier(.2,.7,.2,1) both; transform-origin: top; }
@keyframes lower { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .ph { aspect-ratio: 16 / 10; }
}

/* Data plate */
.plate { background: var(--navy); color: var(--on-navy); border-top: 3px solid var(--sun); }
.plate .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.plate-item { padding: 22px 20px; border-left: 1px solid rgba(142,197,232,.18); display: flex; flex-direction: column; gap: 4px; }
.plate-item:first-child { border-left: 0; padding-left: 0; }
.plate-val { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.plate-val .unit { font-size: 1rem; color: var(--sun); margin-left: 4px; letter-spacing: .06em; }
.plate-key { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-muted); }
@media (max-width: 760px) {
  .plate .wrap { grid-template-columns: 1fr 1fr; }
  .plate-item { padding: 18px 14px; }
  .plate-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .plate-item:nth-child(n+3) { border-top: 1px solid rgba(142,197,232,.18); }
}

/* Products */
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); }
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.product { display: flex; flex-direction: column; gap: 14px; text-decoration: none; min-width: 0; }
.product .ph { aspect-ratio: 16 / 10; transition: transform .2s ease; }
.product:hover .ph { transform: translateY(-3px); }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product-brand { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.product p { color: var(--muted); }
.more { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; border-bottom: 2px solid var(--sun); align-self: flex-start; }
@media (max-width: 720px) { .products { grid-template-columns: 1fr; } }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(142,197,232,.25); }
.problem { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.problem + .problem { padding-left: 24px; border-left: 1px solid rgba(142,197,232,.25); }
.problem h3 { color: var(--sun); }
.problem p { color: var(--on-navy-muted); }
@media (max-width: 900px) {
  .problems { grid-template-columns: 1fr 1fr; }
  .problem:nth-child(3) { padding-left: 0; border-left: 0; }
  .problem:nth-child(n+3) { border-top: 1px solid rgba(142,197,232,.25); }
}
@media (max-width: 520px) {
  .problems { grid-template-columns: 1fr; }
  .problem, .problem + .problem { padding-left: 0; border-left: 0; }
  .problem + .problem { border-top: 1px solid rgba(142,197,232,.25); }
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split.flip > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { padding-left: 30px; position: relative; max-width: 60ch; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px; border-left: 3px solid var(--sun); border-bottom: 3px solid var(--sun); transform: rotate(-45deg); }
.checks strong { font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step-num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted); }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--sun); color: #13233f; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { max-width: 18ch; }
.cta-band .btn-navy { background: #13233f; color: #fff; }
.cta-band .btn-navy:hover { transform: translateY(-1px); }
.cta-band .phone { font-family: var(--font-mono); font-size: .95rem; letter-spacing: .04em; }

/* Page hero (inner pages) */
.page-hero { background: var(--navy-deep); color: var(--on-navy); }
.page-hero .wrap { padding-block: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.page-hero .wrap > * { min-width: 0; }
.page-hero p.lede { color: var(--on-navy-muted); }
.page-hero.solo .wrap { grid-template-columns: 1fr; }
@media (max-width: 820px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* Spec table */
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); width: 38%; padding-right: 16px; }

/* Cross links */
.cross { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cross a { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; min-width: 0; }
.cross a:hover { border-color: var(--ink); }
.cross span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; }
.cross span:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .cross { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .ph:nth-child(5n+1) { grid-column: span 2; aspect-ratio: auto; min-height: 100%; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .ph:nth-child(5n+1) { aspect-ratio: 16/9; min-height: 0; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } .gallery .ph:nth-child(5n+1) { grid-column: auto; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { display: flex; flex-direction: column; gap: 2px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.contact-line .big { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.embed-slot { background: var(--surface); border: 2px dashed var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 360px; justify-content: center; }
.embed-slot .eyebrow { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 28px; }
.site-footer .wrap > * { min-width: 0; }
.site-footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin: 0 0 12px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-navy); }
.site-footer .brand { color: var(--on-navy); margin-bottom: 14px; }
.footer-base { border-top: 1px solid rgba(142,197,232,.15); }
.footer-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; grid-template-columns: none; font-size: .85rem; }
@media (max-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.muted { color: var(--muted); }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.note { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Comparison table */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; border-bottom: 3px solid var(--ink); }
.compare thead th span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: .7rem; letter-spacing: .1em; color: var(--muted); margin-top: 4px; }
.compare tbody th { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 20%; }
.compare td { color: var(--muted); width: 26.6%; }
.compare .win { background: color-mix(in srgb, var(--sun) 16%, transparent); color: var(--ink); }
.compare thead .win { background: var(--sun); color: #13233f; border-bottom-color: #13233f; }
.compare thead .win span { color: #13233f; }
.band-navy .compare th, .band-navy .compare td { border-color: rgba(142,197,232,.25); }

/* Proof band */
.proof { background: var(--sun); color: #13233f; }
.proof .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); padding-block: clamp(48px, 7vw, 88px); align-items: start; }
.proof .wrap > * { min-width: 0; }
.proof .eyebrow { color: #13233f; opacity: .75; }
.proof .btn-sun { background: #13233f; color: #fff; }
.proof .btn-sun:hover { background: #1e3560; }
@media (max-width: 820px) { .proof .wrap { grid-template-columns: 1fr; } }

/* Seasons */
.seasons .problem h3 { color: var(--on-navy); }
.seasons .problem .eyebrow { color: var(--sun); }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.facts > div { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--sun); padding-top: 16px; min-width: 0; }
.facts .plate-val { font-size: 2.2rem; }
.facts p { color: var(--muted); }
.band-navy .facts p { color: var(--on-navy-muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* Diagram */
.diagram { margin: 0; background: var(--navy-deep); border: 1px solid rgba(142,197,232,.2); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.diagram svg { width: 100%; min-width: 560px; height: auto; display: block; }
.diagram figcaption { font-family: var(--font-mono); font-size: .75rem; color: var(--on-navy-muted); margin-top: 10px; }
.d-post { fill: #a9b7cd; }
.d-track { fill: none; stroke: #a9b7cd; stroke-width: 3; }
.d-screen { fill: none; stroke: #f2f5fa; stroke-width: 3; stroke-linecap: round; }
.d-mag-a { fill: #fecd21; }
.d-mag-b { fill: #8ec5e8; }
.d-gap { fill: none; stroke: #fecd21; stroke-width: 1.5; stroke-dasharray: 4 4; }
.d-pull { fill: none; stroke: #fecd21; stroke-width: 2; }
.d-arrow { stroke: #fecd21; stroke-width: 4; fill: none; }
.d-arrowhead { fill: #fecd21; }
.d-h { fill: #f2f5fa; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.d-t { fill: #a9b7cd; font-family: var(--font-body); font-size: 15px; }

/* Lutron series */
.series { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.series-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(142,197,232,.25); border-top: 3px solid var(--sun); min-width: 0; }
.series-card p { color: var(--on-navy-muted); }
.series-card .checks li { color: var(--on-navy-muted); }
.series-card .checks strong { color: var(--on-navy); }
@media (max-width: 820px) { .series { grid-template-columns: 1fr; } }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 30px); }
.video { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.video .play { position: absolute; left: 50%; top: 0; transform: translate(-50%, 0); margin-top: calc((100% * 9 / 16) / 2 - 32px); width: 64px; height: 64px; border-radius: 50%; background: var(--sun); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.video .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #13233f; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-meta { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 680px) { .videos { grid-template-columns: 1fr; } }
.d-house { fill: rgba(142,197,232,.08); stroke: #a9b7cd; stroke-width: 2; }
.d-wall, .d-lip { fill: #a9b7cd; }
.d-insert { fill: #1f3a66; stroke: #8ec5e8; stroke-width: 1.5; }
.d-bead { fill: #f2f5fa; }
.diagram svg { min-width: 620px; }

/* Real photos, logo, video, prose */
.brand-mark { height: 46px; width: auto; flex: none; }
.ph.has-img::before, .ph.has-img::after { content: none; }
.ph.has-img { background: var(--navy-deep); margin: 0; }
.hero .ph.has-img { aspect-ratio: 5 / 4; }
.hero .ph.has-img img { object-position: 50% 45%; }
@media (max-width: 860px) { .hero .ph.has-img { aspect-ratio: 16 / 10; } }
.gallery figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px 14px 12px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #f2f5fa; background: linear-gradient(transparent, rgba(7,15,29,.8)); }
.video { margin: 0; }
.video video { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; background: #070f1d; border-radius: var(--radius); display: block; object-fit: cover; }
.quote-form { min-width: 0; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 1.7rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p { max-width: 70ch; }
.ph img[src*="happy-customers"] { object-position: 50% 20%; }

/* Full-width video hero */
.hero-video { position: relative; isolation: isolate; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: flex-end; }
.hero-video .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: #0c1a31; }
.hero-video .hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,15,29,.88) 0%, rgba(7,15,29,.62) 42%, rgba(7,15,29,.12) 75%),
              linear-gradient(0deg, rgba(7,15,29,.75) 0%, rgba(7,15,29,0) 45%); }
.hero-video .wrap { display: block; width: 100%; padding-block: clamp(56px, 9vw, 112px); }
.hero-video .wrap > .stack { max-width: 640px; }
.hero-video h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-video p.lede { color: #dbe4f0; }
@media (max-width: 860px) {
  .hero-video { min-height: 560px; }
  .hero-video .hero-shade { background: linear-gradient(0deg, rgba(7,15,29,.92) 0%, rgba(7,15,29,.7) 55%, rgba(7,15,29,.25) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-video .hero-bg { display: none; } .hero-video { background: #0c1a31 url("videos/hero-poster.jpg") center / cover no-repeat; } }

/* Facebook links */
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy-muted); text-decoration: none; padding: 8px 10px; }
.social-link:hover { color: var(--on-navy); }
.social-link svg { flex: none; }
.social-label { display: none; }
@media (max-width: 960px) { .social-label { display: inline; } .social-link { padding: 12px 0; } }
.follow-fb { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border: 1px solid rgba(142,197,232,.35); border-radius: var(--radius); color: var(--on-navy); text-decoration: none; font-weight: 600; }
.follow-fb:hover { border-color: var(--sun); color: var(--sun); }
.follow-fb-light { margin-top: 4px; color: var(--ink); border-color: var(--line); align-self: flex-start; }
.follow-fb-light:hover { border-color: var(--ink); color: var(--ink); }
.ph img[src*="owner-family"] { object-position: 50% 30%; }
.owner-fig { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.owner-fig figcaption { color: var(--on-navy-muted); font-size: 1rem; padding-left: 14px; border-left: 3px solid var(--sun); }
