/* ============================================================
   ONE LINE ELECTRIC — design system
   Style: Flat Design + Trust & Authority (ui-ux-pro-max #55)
   Palette: Trust Blue + Safety Orange/Amber + Professional Grey
   Type: Space Grotesk (headings) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Archivo:wght@500;600;700;800;900&family=Fraunces:ital,opsz,wght@1,9..144,500;1,9..144,600&display=swap');

:root {
  --navy-950: #081120;
  --navy-900: #0B1A30;
  --navy-850: #0E2038;
  --navy-800: #122344;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-100: #DBE7FB;
  --amber-300: #FFC95C;
  --amber-400: #FFB424;
  --amber-500: #F59E0B;
  --orange-600: #EA580C;
  --orange-700: #C2410C;
  --grey-50:  #F6F8FB;
  --grey-100: #EDF1F7;
  --grey-200: #E3E9F1;
  --grey-500: #5B6B7F;
  --ink:      #101B2C;
  --green-600:#16A34A;
  --white:    #FFFFFF;

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");

  --container: 1180px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(8, 17, 32, .06), 0 4px 12px rgba(8, 17, 32, .06);
  --shadow-2: 0 6px 16px rgba(8, 17, 32, .10), 0 16px 40px rgba(8, 17, 32, .12);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }
.fx, .hero h1 .accent {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  letter-spacing: -0.01em; color: #D97706;
}
.hero .fx, .page-hero .fx, .section-dark .fx, .bento-section .fx,
.cta-band .fx, .hero h1 .accent { color: var(--amber-300); }
::selection { background: var(--amber-400); color: var(--navy-900); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .bento-section :focus-visible, .cta-band :focus-visible,
.mobile-bar :focus-visible { outline-color: var(--amber-400); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber-400); color: var(--navy-900);
  padding: 10px 18px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
.section { padding-block: clamp(64px, 9vw, 108px); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.section-grey { background: var(--grey-50); }
.section-dark { background: var(--navy-900); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--grey-500); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.muted { color: var(--grey-500); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber-400); border-radius: 2px; }
.eyebrow .no { font-weight: 700; opacity: .5; margin-right: 4px; }
.section-dark .eyebrow { color: var(--amber-300); }
.grid-2 { display: grid; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; gap: 20px; }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  border: 1.5px solid transparent; text-decoration: none !important; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out),
              background-color .18s, border-color .18s, color .18s;
}
.btn::before {
  content: ""; position: absolute; top: -4px; bottom: -4px; width: 42%; left: -70%;
  background: linear-gradient(105deg, transparent 8%, rgba(255,255,255,.6) 50%, transparent 92%);
  transform: skewX(-18deg); pointer-events: none; z-index: 1;
}
.btn-amber::before { animation: btnshine 4.6s ease-in-out infinite; }
.btn:hover::before { animation: btnshine .9s var(--ease-out); }
@keyframes btnshine { 0% { left: -70%; } 55%, 100% { left: 135%; } }
.btn-outline::before, .btn-outline-light::before { background: linear-gradient(105deg, transparent 8%, rgba(255,255,255,.22) 50%, transparent 92%); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-amber { background: var(--amber-400); color: var(--navy-900); }
.btn-amber:hover { background: var(--amber-300); box-shadow: 0 8px 20px rgba(245, 158, 11, .35); transform: translateY(-1px); }
.btn-blue { background: var(--blue-700); color: var(--white); }
.btn-blue:hover { background: var(--blue-600); box-shadow: 0 8px 20px rgba(37, 99, 235, .30); transform: translateY(-1px); }
.btn-outline { border-color: var(--grey-200); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.28); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--amber-400); color: var(--amber-300); transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .92rem; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.88);
}
.chip svg { width: 15px; height: 15px; color: var(--amber-300); flex: none; }
.chip-light { background: var(--white); border: 1px solid var(--grey-200); color: var(--ink); }
.chip-light svg { color: var(--green-600); }
.badge-note {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--blue-100); color: var(--blue-700);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-950); color: rgba(255,255,255,.66);
  font-size: .82rem; padding: 7px 0;
}
@media (max-width: 639px) { .topbar { display: none; } }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(8, 17, 32, .35); }
.navbar { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; color: var(--white); line-height: 1.05; letter-spacing: -.01em; }
.brand-name small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .22em; color: var(--amber-300); text-transform: uppercase; }
.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a.nav-item, .nav-links button.nav-item {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); background: none; border: 0;
  padding: 10px 13px; border-radius: 10px; font-weight: 500; font-size: .97rem;
  text-decoration: none !important; transition: background .15s, color .15s;
  white-space: nowrap;
}
@media (min-width: 1024px) and (max-width: 1260px) {
  .navbar { gap: 14px; }
  .nav-links a.nav-item, .nav-links button.nav-item { padding: 9px 8px; font-size: .9rem; }
  .header-phone { font-size: .92rem; }
  .header-cta .btn { padding: 10px 14px; min-height: 44px; font-size: .92rem; }
}
.nav-links a.nav-item:hover, .nav-links button.nav-item:hover,
.nav-links li.open > .nav-item { background: rgba(255,255,255,.08); color: var(--white); }
.nav-links a.nav-item[aria-current="page"] { color: var(--amber-300); }
.nav-item .caret { width: 14px; height: 14px; transition: transform .2s; }
li.open .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 262px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-2);
  border: 1px solid var(--grey-200); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
li.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 1px; padding: 10px 12px;
  border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem;
  text-decoration: none !important;
}
.dropdown a span { font-weight: 400; font-size: .8rem; color: var(--grey-500); }
.dropdown a:hover { background: var(--grey-50); color: var(--blue-700); }
.dropdown .dd-all { border-top: 1px solid var(--grey-100); margin-top: 6px; color: var(--blue-700); }
.header-cta { display: none; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none !important; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--amber-300); }
.header-phone:hover { color: var(--amber-300); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 12px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
}
.drawer::before {
  content: ""; position: absolute; inset: 0; background: rgba(8, 17, 32, .55);
  opacity: 0; transition: opacity .25s;
}
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
  background: var(--navy-900); padding: 22px 24px 120px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease-out);
  border-left: 1px solid rgba(255,255,255,.08);
}
.drawer.open { pointer-events: auto; }
.drawer.open::before { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: var(--white); font-size: 1.3rem; line-height: 1;
}
.drawer nav > a, .drawer-group > button {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: none; border: 0; text-align: left;
  color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none !important;
}
.drawer-group ul { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease-out); }
.drawer-group.open ul { max-height: 500px; }
.drawer-group ul a {
  display: block; padding: 11px 6px 11px 18px; color: rgba(255,255,255,.75);
  font-size: .98rem; text-decoration: none !important; border-bottom: 1px solid rgba(255,255,255,.05);
}
.drawer-group ul a:hover { color: var(--amber-300); }
.drawer-group .caret { width: 16px; height: 16px; color: var(--amber-300); transition: transform .25s; }
.drawer-group.open .caret { transform: rotate(180deg); }
.drawer-ctas { display: grid; gap: 10px; margin-top: 22px; }
.drawer-ctas .btn { white-space: normal; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; background: var(--navy-900); color: rgba(255,255,255,.85);
  overflow: hidden;
}
.hero::before {
  /* blueprint grid */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(37, 99, 235, .28), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); padding-block: clamp(56px, 8vw, 96px); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; } }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 .accent { color: var(--amber-300); white-space: nowrap; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: rgba(255,255,255,.74); max-width: 56ch; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pulse-line { display: block; width: min(430px, 82%); height: 34px; margin-top: 8px; }
.pulse-line path {
  fill: none; stroke: var(--amber-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 620; stroke-dashoffset: 620;
  animation: drawline 1.3s .35s var(--ease-out) forwards;
  filter: drop-shadow(0 0 6px rgba(255, 180, 36, .55));
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

/* Hero route card */
.route-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: clamp(22px, 3vw, 30px);
  backdrop-filter: blur(6px); position: relative;
}
.route-card::before, .route-card::after {
  content: ""; position: absolute; width: 15px; height: 15px;
  border: 1.5px solid rgba(255, 180, 36, .45);
}
.route-card::before { top: 11px; left: 11px; border-right: none; border-bottom: none; }
.route-card::after { bottom: 11px; right: 11px; border-left: none; border-top: none; }
.route-card h2 { font-size: 1.22rem; color: var(--white); margin-bottom: 6px; }
.route-card > p { font-size: .93rem; color: rgba(255,255,255,.62); margin-bottom: 16px; }
.route-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.route-pills a {
  display: flex; align-items: center; gap: 9px; padding: 12px 13px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 12px;
  color: var(--white); font-weight: 500; font-size: .92rem; text-decoration: none !important;
  transition: border-color .18s, background .18s, transform .18s var(--ease-out);
}
.route-pills a:hover { border-color: var(--amber-400); background: rgba(255, 180, 36, .09); transform: translateY(-2px); }
.route-pills svg { width: 20px; height: 20px; color: var(--amber-300); flex: none; }
.route-call { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.route-note { margin: 14px 0 0; font-size: .8rem; color: rgba(255,255,255,.5); text-align: center; }

/* ---------- Emergency strip ---------- */
.emergency {
  background-color: var(--orange-600);
  background-image: var(--grain), linear-gradient(92deg, var(--orange-700), var(--orange-600) 55%, #F97316);
  color: var(--white);
}
.emergency .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding-block: 16px;
}
.emergency-icon { width: 40px; height: 40px; flex: none; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.emergency p { margin: 0; font-weight: 500; flex: 1 1 320px; }
.emergency strong { font-family: var(--font-display); }
.emergency .btn { margin-left: auto; background: var(--white); color: var(--orange-700); }
.emergency .btn:hover { background: #FFF7ED; }
@media (max-width: 700px) { .emergency .btn { margin-left: 0; width: 100%; } }

/* ---------- Bento services ---------- */
.bento-section { background: var(--navy-950); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 42px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(196px, auto); }
  .b-2x2 { grid-column: span 2; grid-row: span 2; }
  .b-2x1 { grid-column: span 2; }
  .b-3x1 { grid-column: span 3; }
  .b-2x1 .tile-visual { min-height: 52px; margin-bottom: 10px; }
  .b-2x1 .viz-bulb { width: 52px; height: 58px; }
  .b-2x1 .viz-breakers span { width: 38px; height: 46px; }
  .b-2x1 .viz-breakers span::after { top: 9px; height: 15px; width: 10px; }
}
.tile {
  position: relative; display: flex; flex-direction: column;
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 24px; overflow: hidden;
  color: rgba(255,255,255,.72); text-decoration: none !important; min-height: 210px;
  transition: border-color .22s, transform .22s var(--ease-out), box-shadow .22s;
}
.tile::before, .tile::after {
  content: ""; position: absolute; width: 13px; height: 13px; z-index: 1;
  border: 1.5px solid rgba(255,255,255,.14); transition: border-color .25s;
}
.tile::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.tile::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.tile:hover::before, .tile:hover::after { border-color: rgba(255, 180, 36, .65); }
.tile:hover { border-color: rgba(255, 180, 36, .55); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.tile-visual { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 74px; margin-bottom: 14px; }
.tile h3 { color: var(--white); font-size: 1.18rem; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.tile h3 svg { width: 20px; height: 20px; color: var(--amber-300); flex: none; }
.tile p { font-size: .9rem; margin: 0; color: rgba(255,255,255,.6); }
.tile-go {
  margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  color: var(--amber-300); display: inline-flex; align-items: center; gap: 6px;
  transition: gap .18s var(--ease-out);
}
.tile:hover .tile-go { gap: 11px; }
.tile-go svg { width: 15px; height: 15px; }

/* Tile mini-animations */
.viz-wave { width: 100%; max-width: 300px; height: 84px; }
.viz-wave path {
  fill: none; stroke: var(--amber-400); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 12 340; stroke-dashoffset: 352;
  animation: waveflow 3.2s linear infinite;
  filter: drop-shadow(0 0 5px rgba(255, 180, 36, .6));
}
.viz-wave .wave-base { stroke: rgba(255,255,255,.16); stroke-dasharray: none; animation: none; filter: none; }
@keyframes waveflow { to { stroke-dashoffset: 0; } }
.viz-rings { position: relative; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.viz-rings svg.core { width: 44px; height: 44px; color: var(--amber-300); position: relative; z-index: 1; }
.viz-rings i {
  position: absolute; inset: 0; border: 2px solid rgba(255, 180, 36, .45); border-radius: 50%;
  animation: ringpulse 2.6s ease-out infinite;
}
.viz-rings i:nth-child(2) { animation-delay: .85s; }
.viz-rings i:nth-child(3) { animation-delay: 1.7s; }
@keyframes ringpulse { 0% { transform: scale(.42); opacity: 1; } 100% { transform: scale(1.28); opacity: 0; } }
.viz-breakers { display: flex; gap: 10px; }
.viz-breakers span {
  width: 46px; height: 60px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05); position: relative;
  animation: breakerOn 3.6s ease-in-out infinite;
}
.viz-breakers span::after {
  content: ""; position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  width: 12px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.22);
  transition: background .2s;
}
.viz-breakers span:nth-child(2) { animation-delay: .6s; }
.viz-breakers span:nth-child(3) { animation-delay: 1.2s; }
@keyframes breakerOn {
  0%, 18% { background: rgba(255,255,255,.05); box-shadow: none; }
  28%, 78% { background: rgba(255, 180, 36, .16); box-shadow: 0 0 14px rgba(255, 180, 36, .25) inset; }
  90%, 100% { background: rgba(255,255,255,.05); }
}
.viz-bulb { position: relative; width: 74px; height: 84px; }
.viz-bulb svg { width: 100%; height: 100%; color: rgba(255,255,255,.85); }
.viz-bulb::before {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 92, .5), transparent 65%);
  animation: glow 2.8s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.viz-temp { display: flex; align-items: center; gap: 18px; }
.viz-temp .dial-wrap { position: relative; width: 92px; height: 92px; flex: none; }
.viz-temp .dial {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--blue-600) 0 100deg, var(--amber-400) 100deg 205deg, rgba(255,255,255,.14) 205deg 320deg, transparent 320deg 360deg);
  mask: radial-gradient(circle, transparent 57%, #000 58%);
  -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%);
  animation: dialbreathe 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 180, 36, .28));
}
@keyframes dialbreathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.viz-temp .dial-core {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--white);
  letter-spacing: -0.02em;
}
.viz-temp .dial-core small {
  font-size: .58rem; font-weight: 700; letter-spacing: .22em; color: var(--amber-300);
}
.viz-temp .temp-labels b {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .18em; color: rgba(255,255,255,.85);
}
.viz-temp .temp-labels span {
  display: block; margin-top: 4px; font-size: .66rem; letter-spacing: .14em; color: rgba(255,255,255,.45);
}
.viz-duo { display: flex; gap: 12px; align-items: flex-end; }
.viz-duo svg { color: rgba(255,255,255,.8); }
.viz-duo .d-home { width: 64px; height: 64px; }
.viz-duo .d-bldg { width: 78px; height: 78px; color: var(--amber-300); }

/* ---------- Video section ---------- */
.video-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--navy-900); box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame .poster-fallback[hidden] { display: none; }
.video-frame .poster-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; color: rgba(255,255,255,.75);
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, .35), transparent 55%),
    var(--navy-900);
  text-align: center; padding: 24px;
}
.video-note { font-size: .82rem; color: var(--grey-500); margin-top: 12px; }

/* ---------- Stats / certifications ---------- */
.stats { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 10px; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem); color: var(--navy-900); line-height: 1;
  white-space: nowrap;
}
.stat b .unit { display: inline; font-size: .6em; margin: 0; color: var(--amber-500); }
.stat b .unit { color: var(--amber-500); }
.stat > span { display: block; margin-top: 8px; color: var(--grey-500); font-size: .92rem; }
.cert-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 18px; margin-top: 42px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 26px;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--amber-500);
  line-height: 1; margin-bottom: 12px; display: block;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--grey-500); font-size: .95rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 26px; transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #CBD8EA; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-900) 10%, var(--blue-700) 115%);
  color: var(--white); margin-bottom: 16px; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 14px rgba(11, 26, 48, .22);
}
.card-icon::after {
  content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px;
  border-radius: 3px; background: var(--amber-400); box-shadow: 0 0 0 2px var(--white);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon svg, a.card:hover .card-icon svg { animation: iconpop .55s var(--ease-out); }
@keyframes iconpop {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.18) rotate(-6deg); }
  70% { transform: scale(.96) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--grey-500); font-size: .95rem; }
.card .go { font-family: var(--font-display); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.card .go svg { width: 15px; height: 15px; transition: transform .18s var(--ease-out); }
.card:hover .go svg { transform: translateX(4px); }
a.card { display: block; color: inherit; text-decoration: none !important; }

/* Project cards */
.project {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200);
  background: var(--white); transition: transform .2s var(--ease-out), box-shadow .2s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.project-scene { aspect-ratio: 4 / 2.6; position: relative; display:flex; align-items:center; justify-content:center; overflow: hidden; }
.project-scene > svg.scene-art { width: min(72%, 210px); height: auto; color: rgba(255,255,255,.94); position: relative; z-index: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.project-scene .amber { stroke: var(--amber-300); }
.project-scene .amber-fill { fill: var(--amber-300); stroke: none; }
.project-scene .dim { opacity: .55; }
.job-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: .62rem; letter-spacing: .16em;
  color: rgba(255,255,255,.92); text-transform: uppercase;
  background: rgba(8, 17, 32, .5); border: 1px solid rgba(255,255,255,.28);
  padding: 5px 9px; border-radius: 6px; backdrop-filter: blur(4px);
}
.stamp {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; transform: rotate(-6deg);
  font-family: var(--font-display); font-weight: 800; font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white); text-align: center; line-height: 1.5;
  border: 2px solid rgba(255,255,255,.85); border-radius: 7px; padding: 5px 9px;
  box-shadow: inset 0 0 0 2.5px transparent, 0 4px 10px rgba(0,0,0,.25);
  background: rgba(8, 17, 32, .25);
}
.project-scene .tk { position: absolute; width: 15px; height: 15px; z-index: 2; border: 1.5px solid rgba(255,255,255,.45); }
.project-scene .tk.t1 { top: 11px; right: 11px; border-left: none; border-bottom: none; }
.project-scene .tk.t2 { bottom: 11px; left: 11px; border-right: none; border-top: none; }
.proj-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--grey-500);
  margin-bottom: 10px;
}
.proj-meta span { display: inline-flex; align-items: center; gap: 5px; }
.proj-meta svg { width: 13px; height: 13px; color: var(--blue-700); flex: none; }
.proj-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--grey-200);
}
.proj-ok { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--green-600); }
.proj-ok svg { width: 15px; height: 15px; }
.scene-a { background: linear-gradient(135deg, #12325E, #1D4ED8 90%); }
.scene-b { background: linear-gradient(135deg, #7C2D12, #EA580C 92%); }
.scene-c { background: linear-gradient(135deg, #0B1A30, #2563EB 130%); }
.scene-d { background: linear-gradient(135deg, #92400E, #F59E0B 96%); }
.scene-e { background: linear-gradient(135deg, #123B34, #16A34A 110%); }
.scene-f { background: linear-gradient(135deg, #1E1B4B, #6366F1 105%); }
.project-scene::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.project-body { padding: 20px 22px; }
.project-body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--grey-100); color: var(--grey-500); border-radius: 999px; padding: 4px 10px;
}
.tag-amber { background: #FEF3D8; color: #92400E; }
.project-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.project-body p { font-size: .9rem; color: var(--grey-500); margin: 0; }

/* ---------- Reviews marquee (ported: 21st.dev #822) ---------- */
.marquee { position: relative; overflow: hidden; margin-top: 42px; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 12vw, 180px); z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--fade, var(--grey-50)), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--fade, var(--grey-50)), transparent); }
.marquee-track {
  display: flex; gap: 18px; width: max-content; padding-block: 6px;
  animation: marquee 52s linear infinite;
}
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.review {
  width: 330px; flex: none; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.review .stars { display: flex; gap: 3px; color: var(--amber-500); }
.review .stars svg { width: 16px; height: 16px; }
.review q { font-size: .95rem; color: var(--ink); quotes: "\201C" "\201D"; }
.review footer { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--white);
}
.review footer b { font-size: .9rem; display: block; line-height: 1.2; }
.review footer span { font-size: .78rem; color: var(--grey-500); }

/* ---------- Service areas ---------- */
.areas { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 42px; }
@media (min-width: 700px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.area {
  display: flex; align-items: center; gap: 10px; padding: 15px 18px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  font-weight: 600; font-family: var(--font-display); color: var(--ink);
  text-decoration: none !important; font-size: .97rem;
  transition: border-color .18s, transform .18s var(--ease-out), box-shadow .18s;
}
.area:hover { border-color: var(--blue-600); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.area svg { width: 17px; height: 17px; color: var(--amber-500); flex: none; }
.area.area-hq svg { color: var(--blue-700); }
.area .zip { margin-left: auto; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: var(--grey-500); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 20px;
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-1);
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; font-family: var(--font-display); }
.field label .opt { color: var(--grey-500); font-weight: 400; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--white);
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
}
.field.error input, .field.error select, .field.error textarea { border-color: #DC2626; }
.field .err { display: none; color: #B91C1C; font-size: .82rem; margin-top: 6px; }
.field.error .err { display: block; }
.pill-group { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.pill-group label {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; margin: 0;
  border: 1.5px solid var(--grey-200); border-radius: 999px; cursor: pointer;
  font-size: .9rem; font-weight: 500; font-family: var(--font-body);
  transition: border-color .15s, background .15s, color .15s;
}
.pill-group label:hover { border-color: var(--blue-600); }
.pill-group input:checked + label { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.pill-group input:focus-visible + label { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.pill-group.urgent input:checked + label { background: var(--orange-600); border-color: var(--orange-600); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--grey-500); max-width: 46ch; margin: 0; }
.form-success {
  display: none; text-align: center; padding: 34px 20px;
}
.form-success.show { display: block; }
.form-success .tick {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: #DCFCE7; color: var(--green-600); display: flex; align-items: center; justify-content: center;
}
.form-success .tick svg { width: 30px; height: 30px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 42px auto 0; display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  padding: 0 20px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--blue-600); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: 17px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 20px; height: 20px; color: var(--blue-700); flex: none; transition: transform .25s var(--ease-out); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--grey-500); font-size: .95rem; padding-bottom: 17px; margin: 0; }

/* ---------- Content blocks ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; }
.checklist svg { width: 20px; height: 20px; color: var(--green-600); flex: none; margin-top: 2px; }
.section-dark .checklist svg { color: var(--amber-300); }
.callout {
  border-left: 4px solid var(--amber-400); background: #FFFBEB;
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .93rem; color: #713F12;
}
.callout.blue { border-color: var(--blue-600); background: #EFF6FF; color: #1E3A8A; }
.split-visual {
  border-radius: 20px; min-height: 320px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-800) 55%, #1D3A6B);
  border: 1px solid var(--grey-200);
}
.split-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.split-visual svg { width: 120px; height: 120px; color: var(--amber-300); position: relative; filter: drop-shadow(0 10px 28px rgba(0,0,0,.4)); }
.price-note {
  display: flex; gap: 14px; align-items: flex-start; background: var(--white);
  border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 20px 22px;
}
.price-note svg { width: 26px; height: 26px; color: var(--blue-700); flex: none; margin-top: 2px; }
.price-note p { margin: 0; font-size: .93rem; color: var(--grey-500); }
.price-note b { color: var(--ink); display: block; font-family: var(--font-display); margin-bottom: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(37, 99, 235, .3), transparent 55%);
}
.cta-inner { position: relative; text-align: center; padding-block: clamp(64px, 8vw, 96px); }
.cta-inner h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.72); max-width: 54ch; margin: 0 auto 28px; }
.cta-inner .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-pulse { width: min(320px, 70%); height: 30px; margin: 0 auto 22px; }
.cta-pulse path {
  fill: none; stroke: var(--amber-400); stroke-width: 3; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 180, 36, .5));
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.62); font-size: .93rem; }
.footer-grid {
  display: grid; gap: 36px; padding-block: clamp(48px, 7vw, 76px);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--amber-300); text-decoration: none; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.75);
  transition: border-color .18s, color .18s, transform .18s var(--ease-out);
}
.socials a:hover { border-color: var(--amber-400); color: var(--amber-300); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--amber-300); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding-block: 22px; font-size: .8rem; color: rgba(255,255,255,.42); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-legal { max-width: 72ch; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: rgba(8, 17, 32, .92); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.mobile-bar .btn { min-height: 46px; font-size: .9rem; padding: 8px 10px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 899px) { body { padding-bottom: 78px; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-900); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 90% at 30% 10%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 10%, #000 25%, transparent 70%);
}
.page-hero .container { position: relative; padding-block: clamp(48px, 6vw, 76px); }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.72); }
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: .84rem; margin-bottom: 18px; color: rgba(255,255,255,.55); }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--amber-300); }
.crumbs svg { width: 13px; height: 13px; opacity: .6; }
.page-hero .hero-ctas { margin-top: 24px; margin-bottom: 0; }
.page-hero .hero-chips { margin-top: 22px; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); }
.rv.in { opacity: 1; transform: none; transition: opacity .65s var(--ease-out) var(--d, 0ms), transform .65s var(--ease-out) var(--d, 0ms); }

/* ---------- Demo ribbon ---------- */
.demo-note {
  background: var(--blue-100); color: #1E3A8A; font-size: .8rem;
  text-align: center; padding: 7px 14px;
}
.demo-note b { font-weight: 700; }

/* ---------- Premium texture & detail layer ---------- */
.hero, .page-hero, .bento-section, .cta-band, .site-footer {
  background-image: var(--grain);
}
.ghost {
  position: relative;
}
.ghost-word {
  position: absolute; left: 0; right: 0; top: -14px; z-index: 0;
  text-align: center; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 11vw, 150px); line-height: 1; letter-spacing: .03em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07);
}
.ghost-word.on-light { -webkit-text-stroke: 1px rgba(16, 27, 44, .07); }
.ghost > .container, .ghost > .marquee { position: relative; z-index: 1; }

.ticker { background: var(--navy-950); border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 13px 0; background-image: var(--grain); }
.ticker-track { display: flex; width: max-content; animation: tickerloop 38s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; gap: 16px; padding-inline: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); white-space: nowrap;
}
.ticker svg { width: 12px; height: 12px; color: var(--amber-400); flex: none; }
@keyframes tickerloop { to { transform: translateX(-50%); } }

.footer-watermark {
  text-align: center; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(52px, 9.5vw, 132px); line-height: .95; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.055);
  padding-top: 10px; margin-bottom: -8px;
}
.review .avatar { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--grey-200); }

/* ---------- Photo layer ---------- */
.photo-panel {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 360px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-2); background: var(--navy-900);
}
.photo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 17, 32, .48) 100%);
}
.photo-panel .tk, .photo-panel .job-tag { z-index: 2; }
.photo-panel .tk { position: absolute; width: 15px; height: 15px; border: 1.5px solid rgba(255,255,255,.55); }
.photo-panel .tk.t1 { top: 11px; right: 11px; border-left: none; border-bottom: none; }
.photo-panel .tk.t2 { bottom: 11px; left: 11px; border-right: none; border-top: none; }
.jt-b { top: auto !important; bottom: 12px !important; }
.project-scene .scene-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-scene.has-photo::after {
  background: linear-gradient(180deg, rgba(8, 17, 32, .04) 40%, rgba(8, 17, 32, .55) 100%);
}
.filmstrip { overflow: hidden; position: relative; padding-block: 8px; }
.strip-track { display: flex; gap: 18px; width: max-content; animation: tickerloop 46s linear infinite; }
.filmstrip:hover .strip-track, .filmstrip:focus-within .strip-track { animation-play-state: paused; }
.shot {
  position: relative; width: 242px; height: 312px; flex: none; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-1);
  transform: rotate(-1.2deg); background: var(--navy-900);
}
.strip-track .shot:nth-child(even) { transform: rotate(1.2deg); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .6rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.92); text-align: center;
  background: rgba(8, 17, 32, .55); backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 7px; padding: 5px 8px;
}

/* ---------- Coverage map ---------- */
.map-panel {
  position: relative; border-radius: 20px; overflow: hidden;
  background: var(--navy-900); background-image: var(--grain);
  border: 1px solid rgba(255,255,255,.1); padding: clamp(14px, 2vw, 22px);
  box-shadow: var(--shadow-2);
}
.map-panel svg { width: 100%; height: auto; display: block; }
.map-panel .mp { transform-box: fill-box; transform-origin: center; animation: ringpulse 2.8s ease-out infinite; }
.map-panel .mp2 { animation-delay: 1.4s; }
.areas.compact { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.map-embed { border-radius: 16px; overflow: hidden; border: 1px solid var(--grey-200); box-shadow: var(--shadow-1); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; filter: saturate(.85); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track, .ticker-track, .strip-track { animation: none; }
  .marquee, .ticker, .filmstrip { overflow-x: auto; }
  .rv { opacity: 1; transform: none; }
  .pulse-line path { stroke-dashoffset: 0; animation: none; }
  .btn::before { display: none; }
}
