/* Pierce Creek Electric — site styles */
@import url('/fonts/fonts.css');

:root {
  --ink: #0a1622;
  --navy: #10243a;
  --navy-2: #173350;
  --steel: #3e5c76;
  --steel-2: #7d97ae;
  --volt: #ffc229;
  --volt-2: #ffdb70;
  --copper: #d9783a;
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --white: #ffffff;
  --text: #1b2733;
  --muted: #5a6875;
  --line: #dcd7cc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -20px rgba(10, 22, 34, .45);
  --shadow-sm: 0 6px 20px -10px rgba(10, 22, 34, .35);
  --max: 1200px;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: .005em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); text-transform: uppercase; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--volt); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.dark { background: var(--navy); color: #d7e1ea; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark a:not(.btn) { color: var(--volt-2); }
.ink { background: var(--ink); color: #c9d5df; }
.ink h2, .ink h3 { color: #fff; }
.paper2 { background: var(--paper-2); }
.white { background: #fff; }
.center { text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.dark .lead, .ink .lead { color: #b9c8d6; }
.center .lead { margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; color: var(--copper); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.dark .eyebrow, .ink .eyebrow, .hero .eyebrow { color: var(--volt); }
.hl { color: var(--volt); position: relative; white-space: nowrap; }
.hl-dark { color: var(--copper); }

/* Buttons */
.btn { --bg: var(--volt); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--bg); cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; line-height: 1; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(255, 194, 41, .65); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.ghost:hover { border-color: #fff; box-shadow: none; background: rgba(255, 255, 255, .08); }
.btn.navy { --bg: var(--navy); --fg: #fff; }
.btn.navy:hover { box-shadow: var(--shadow-sm); }
.btn.outline { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn.sm { padding: 11px 18px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }
.textlink { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--steel); }
.textlink::after { content: '→'; transition: transform .2s; }
.textlink:hover::after { transform: translateX(4px); }

/* Top bar + header */
.topbar { background: var(--ink); color: #9fb2c3; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar li { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--volt); }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 860px) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(16, 36, 58, .97); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 184px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button { color: #e6edf3; text-decoration: none; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1.06rem; padding: 10px 14px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"], .nav .dd.on > button { color: var(--volt); }
.dd { position: relative; }
.dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -10px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; min-width: 290px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd:hover > button svg, .dd.open > button svg { transform: rotate(180deg); }
.dd-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.dd-menu a:hover { background: var(--paper); color: var(--navy); }
.dd-menu a svg { width: 20px; height: 20px; color: var(--copper); flex: none; }
.dd-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.head-cta { display: flex; align-items: center; gap: 14px; }
.head-phone { color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; display: inline-flex; align-items: center; gap: 8px; }
.head-phone svg { width: 20px; height: 20px; color: var(--volt); }
.head-phone:hover { color: var(--volt); }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 30px; height: 30px; }
@media (max-width: 1080px) { .head-phone span { display: none; } }
@media (max-width: 960px) {
  .nav, .head-cta .btn { display: none; }
  .menu-btn { display: block; }
  .head-phone span { display: inline; }
  .brand img { width: 160px; }
}
@media (max-width: 420px) { .head-phone span { display: none; } }

.mnav { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: #fff; padding: 22px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
.mnav.open { transform: none; visibility: visible; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mnav-top img { width: 160px; }
.mnav a { display: block; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav a.sub { font-size: 1.2rem; color: #b9c8d6; padding-left: 16px; }
.mnav .btn { display: flex; margin-top: 22px; font-size: 1.2rem; border-bottom: 0; color: var(--ink); }
.mnav .btn.ghost { color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 22, 34, .96) 0%, rgba(10, 22, 34, .86) 42%, rgba(10, 22, 34, .35) 75%, rgba(10, 22, 34, .2) 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero .wrap { padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 12vw, 150px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero .lead { color: #c7d4df; max-width: 54ch; margin-bottom: 32px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .97rem; color: #e8eef3; }
.hero-chips svg { width: 22px; height: 22px; color: var(--volt); flex: none; }
.wire { position: absolute; right: -40px; bottom: 40px; width: 55%; max-width: 760px; z-index: -1; opacity: .9; pointer-events: none; }
.wire path { fill: none; stroke-width: 2.5; }
.wire .base { stroke: rgba(255, 255, 255, .12); }
.wire .live { stroke: var(--volt); stroke-dasharray: 90 1400; animation: current 5.5s linear infinite; filter: drop-shadow(0 0 6px rgba(255, 194, 41, .9)); }
@keyframes current { from { stroke-dashoffset: 1490; } to { stroke-dashoffset: 0; } }

.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.page-hero .wrap { padding: clamp(60px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); }
.page-hero .hero-bg img { object-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 22, 34, .95) 10%, rgba(10, 22, 34, .75) 55%, rgba(10, 22, 34, .45)); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); max-width: 18ch; }
.page-hero .lead { color: #c7d4df; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: #9fb2c3; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #5f7487; }
.crumbs a { color: #d7e1ea; text-decoration: none; }
.crumbs a:hover { color: var(--volt); }

/* Trust strip */
.trust { background: var(--volt); color: var(--ink); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.12rem; line-height: 1.15; }
.trust li + li { border-left: 1px solid rgba(10, 22, 34, .15); }
.trust svg { width: 34px; height: 34px; flex: none; }
.trust small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .85rem; opacity: .8; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li:nth-child(3) { border-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid rgba(10, 22, 34, .15); } }
@media (max-width: 480px) { .trust li { padding: 16px 10px; font-size: 1rem; gap: 10px; } .trust svg { width: 26px; height: 26px; } }

/* Grids & cards */
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.center.sec-head, .sec-head.center { margin-inline: auto; }

.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card .ph { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .ph img { transform: scale(1.05); }
.svc-card .tag { position: absolute; left: 16px; top: 16px; background: var(--ink); color: var(--volt); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.svc-card .tag svg { width: 16px; height: 16px; }
.svc-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .98rem; }
.svc-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 7px; font-size: .95rem; }
.svc-card li { display: flex; gap: 9px; align-items: flex-start; }
.svc-card li svg { width: 18px; height: 18px; color: var(--copper); flex: none; margin-top: 4px; }
.svc-card .textlink { margin-top: auto; }
.svc-card a.cover { position: absolute; inset: 0; z-index: 1; }
.svc-card a.cover:focus-visible { outline-offset: -4px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); padding: 11px 18px; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; transition: .2s; }
.chip svg { width: 18px; height: 18px; color: var(--copper); }
.chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip:hover svg { color: var(--volt); }

.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; }
.icard .ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--volt); margin-bottom: 20px; }
.icard .ic svg { width: 30px; height: 30px; }
.icard h3 { margin-bottom: 8px; }
.icard p { color: var(--muted); margin: 0; font-size: .98rem; }
.dark .icard { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.dark .icard p { color: #b0c0ce; }
.dark .icard .ic { background: var(--volt); color: var(--ink); }
.icard .num { position: absolute; right: 18px; top: 8px; font-family: var(--display); font-weight: 800; font-size: 4.4rem; color: rgba(62, 92, 118, .1); line-height: 1; }
.dark .icard .num { color: rgba(255, 255, 255, .06); }

/* Values */
.values { counter-reset: v; }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.value:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.value .ic { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--volt); color: var(--volt); display: grid; place-items: center; }
.value .ic svg { width: 28px; height: 28px; }
.value h3 { color: #fff; margin: 4px 0 6px; }
.value p { margin: 0; color: #b0c0ce; }

/* Photo frames */
.frame { position: relative; }
.frame img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.frame::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--volt); border-radius: var(--radius); z-index: -1; }
.frame .badge { position: absolute; left: -18px; bottom: 28px; background: var(--ink); color: #fff; padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow); font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; line-height: 1; }
.frame .badge b { display: block; font-size: 2.8rem; color: var(--volt); font-weight: 800; }
.frame .badge span { font-weight: 700; font-size: 1rem; }
@media (max-width: 900px) { .frame { margin: 0 24px 24px 0; } .frame .badge { left: 12px; } }
.stack { position: relative; isolation: isolate; }

.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--copper); flex: none; margin-top: 3px; }
.dark .checks svg { color: var(--volt); }
.checks.cols { grid-template-columns: 1fr 1fr; gap: 10px 26px; }
@media (max-width: 600px) { .checks.cols { grid-template-columns: 1fr; } }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ba-grid.all { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .ba-grid.all { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .ba-grid, .ba-grid.all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ba-grid, .ba-grid.all { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.ba { margin: 0; }
.ba-box { --pos: 50%; position: relative; aspect-ratio: 1 / 2; max-height: 720px; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; user-select: none; touch-action: pan-y; }
@media (max-width: 560px) { .ba-box { aspect-ratio: 3 / 5; } }
.ba-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-box .after { clip-path: inset(0 0 0 var(--pos)); }
.ba-box .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--volt); box-shadow: 0 0 14px rgba(255, 194, 41, .9); pointer-events: none; }
.ba-box .knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--volt); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .45); pointer-events: none; }
.ba-box .knob svg { width: 26px; height: 26px; }
.ba-box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-box input:focus-visible ~ .knob { outline: 3px solid #fff; outline-offset: 3px; }
.ba-box .lbl { position: absolute; top: 14px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; padding: 6px 11px; border-radius: 6px; pointer-events: none; z-index: 2; }
.ba-box .lbl.b { left: 14px; background: rgba(10, 22, 34, .85); color: #fff; }
.ba-box .lbl.a { right: 14px; background: var(--volt); color: var(--ink); }
.ba figcaption { margin-top: 14px; font-weight: 600; color: #e1e9f0; font-size: .98rem; }
.ba figcaption small { display: block; font-weight: 400; color: #9fb2c3; }
.white .ba figcaption, .paper2 .ba figcaption { color: var(--ink); }
.white .ba figcaption small, .paper2 .ba figcaption small { color: var(--muted); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filters button { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--volt); border-color: var(--navy); }
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; position: relative; border-radius: 12px; overflow: hidden; background: var(--navy); }
.gallery button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery img { width: 100%; transition: transform .5s ease, opacity .3s; }
.gallery figure:hover img { transform: scale(1.04); opacity: .85; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(10, 22, 34, .9)); color: #fff; font-size: .9rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .25s; pointer-events: none; }
.gallery figure:hover figcaption, .gallery button:focus-visible + figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }
.gallery figure[hidden] { display: none; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.strip a { display: block; aspect-ratio: 1; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; filter: saturate(.85); }
.strip a:hover img { transform: scale(1.08); filter: none; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }

dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(6, 14, 22, .92); }
dialog.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; border-radius: 10px; margin: 0 auto; }
dialog.lightbox p { color: #e3eaf0; text-align: center; margin: 12px 0 0; font-weight: 600; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: var(--volt); color: var(--ink); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close { top: 34px; right: 16px; transform: none; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 33px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--volt) 0 14px, transparent 14px 24px); opacity: .6; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .n { width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: var(--volt); border: 3px solid var(--volt); margin: 0 auto 18px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.8rem; position: relative; }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Facts box (AEO/GEO) */
.facts { background: #fff; border-left: 5px solid var(--volt); border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 28px; box-shadow: var(--shadow-sm); }
.facts h2, .facts h3 { font-size: 1.5rem; margin-bottom: 14px; }
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; font-size: .97rem; }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } }
.answer { background: var(--paper-2); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 30px; border: 1px solid var(--line); }
.answer strong:first-child { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--copper); font-size: .95rem; margin-bottom: 6px; }
.answer p:last-child { margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 1.06rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 1.3rem; color: var(--navy); transition: .2s; line-height: 1; }
.faq details[open] summary::after { content: '–'; background: var(--volt); }
.faq .a { padding: 0 24px 22px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }
.faq h2.cat { font-size: 1.7rem; margin: 40px 0 16px; }

/* Content pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 6px; }
.side-card { background: var(--navy); color: #d0dce6; border-radius: var(--radius); padding: 30px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.side-card h3 { color: #fff; }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-card a.ph { color: #fff; font-family: var(--display); font-weight: 800; font-size: 2rem; text-decoration: none; display: block; margin: 6px 0 4px; }
.side-card small { color: #9fb2c3; }
.layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .side-card { position: static; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.related img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 600px) { .related { grid-template-columns: 1fr 1fr; } }

/* CTA band */
.cta-band { background: var(--volt); color: var(--ink); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(10, 22, 34, .05) 0 18px, transparent 18px 36px); }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(44px, 6vw, 70px) 0; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { margin: 0; font-weight: 500; }
.cta-band .btn.navy:hover { box-shadow: 0 10px 28px -8px rgba(10, 22, 34, .6); }

/* Contact & form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.cinfo li { display: flex; gap: 16px; align-items: flex-start; }
.cinfo .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--volt); color: var(--ink); display: grid; place-items: center; flex: none; }
.cinfo .ic svg { width: 24px; height: 24px; }
.cinfo b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; color: var(--volt-2); }
.cinfo a, .cinfo span { color: #fff; font-weight: 600; font-size: 1.08rem; text-decoration: none; word-break: break-word; }
.cinfo a:hover { color: var(--volt); }
.cinfo small { display: block; color: #9fb2c3; font-size: .88rem; }
.form-card { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.form-card h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 4px; }
.form-card > p { color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field label .req, .field legend .req { color: var(--copper); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfaf7; color: var(--text); transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(62, 92, 118, .15); background: #fff; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .93rem; background: #fbfaf7; }
.seg span svg { width: 18px; height: 18px; color: var(--steel); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:checked + span svg { color: var(--volt); }
.seg input:focus-visible + span { outline: 3px solid var(--volt); outline-offset: 2px; }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: .93rem; cursor: pointer; background: #fbfaf7; transition: .2s; display: block; }
.drop:hover, .drop.over { border-color: var(--steel); background: #fff; }
.drop svg { width: 28px; height: 28px; color: var(--steel); margin: 0 auto 6px; display: block; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.files { list-style: none; padding: 0; margin: 10px 0 0; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px; }
.files li { background: var(--paper-2); padding: 4px 10px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e7f6ec; color: #135c2f; }
.form-status.err { display: block; background: #fdecea; color: #8a1c12; }
.form-card .btn { width: 100%; margin-top: 18px; font-size: 1.25rem; padding: 18px; }
.form-card .btn[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.footer { background: var(--ink); color: #9fb2c3; font-size: .95rem; padding-top: clamp(56px, 7vw, 90px); }
.fgrid-foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .fgrid-foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid-foot { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #c9d5df; text-decoration: none; }
.footer a:hover { color: var(--volt); }
.footer .brand img { width: 200px; margin-bottom: 18px; }
.ccb { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid rgba(255, 194, 41, .5); border-radius: 12px; padding: 12px 16px; margin-top: 18px; color: #fff; text-decoration: none; }
.ccb svg { width: 30px; height: 30px; color: var(--volt); }
.ccb b { font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; display: block; line-height: 1; }
.ccb small { font-size: .78rem; color: #9fb2c3; }
.foot-bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
@media (max-width: 760px) { .footer { padding-bottom: 76px; } }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; text-decoration: none; }
  .mbar a svg { width: 20px; height: 20px; }
  .mbar .call { background: var(--navy); color: #fff; }
  .mbar .quote { background: var(--volt); color: var(--ink); }
}

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* Misc */
.area-list { columns: 3 160px; list-style: none; padding: 0; margin: 0; }
.area-list li { padding: 4px 0; display: flex; gap: 8px; align-items: center; }
.area-list svg { width: 16px; height: 16px; color: var(--copper); }
.dark .area-list svg { color: var(--volt); }
.note { font-size: .88rem; color: var(--muted); }
.kicker-stat { display: flex; gap: 40px; flex-wrap: wrap; margin: 30px 0; }
.kicker-stat div b { display: block; font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--copper); line-height: 1; }
.kicker-stat div span { font-size: .9rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.quote-block { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.2; color: #fff; margin: 0; padding-left: 26px; border-left: 5px solid var(--volt); }
.quote-block cite { display: block; font-family: var(--body); font-size: 1rem; font-style: normal; font-weight: 600; color: var(--volt-2); margin-top: 16px; }
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.footer a.btn { color: var(--ink); }
.dark .form-card a:not(.btn) { color: var(--steel); }
.kicker-stat { gap: 28px 40px; }
.side-card a:not(.btn):not(.ph) { color: #d7e1ea; text-decoration: none; } .side-card a:not(.btn):not(.ph):hover { color: var(--volt); }
.form-card h3 { color: var(--ink); }
