/* NazSecurity — brand styles (from NazSecurity invoice branding) */
:root {
  --navy-950: #070E1A;
  --navy-900: #0B1424;
  --navy-800: #111E33;
  --navy-700: #1A2943;
  --slate: #2A3A55;
  --blue: #0081C5;
  --blue-bright: #1A9BE0;
  --blue-light: #4BA3DD;
  --ice: #EEF5FB;
  --white: #FFFFFF;
  --ink: #0F1A2B;
  --muted: #56677D;
  --line: #D6E2EE;
  --rec: #FF4D4F;
  --ok: #33D17A;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  padding-bottom: 72px;
}
@media (min-width: 760px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); color: var(--ink); padding: 8px 12px; z-index: 99; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 54ch; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.dark .kicker { color: var(--blue-light); }

/* Dark surfaces */
.dark { background: var(--navy-900); color: #C9D6E5; }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark a:not(.btn) { color: var(--blue-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 20, 36, 0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(75, 163, 221, 0.14);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; color: var(--white); text-decoration: none; }
.brand svg { height: 44px; width: auto; }
.nav { display: none; gap: 26px; }
.nav a { color: #DCE6F2; text-decoration: none; font-weight: 600; font-size: 0.92rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--blue-bright); transform: scaleX(0); transform-origin: left; transition: transform 200ms;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--white); }
.header-call {
  display: none; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--blue); color: var(--white);
  font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--blue-bright); }
.header-call svg { width: 16px; height: 16px; }
@media (min-width: 1000px) { .nav { display: flex; } .header-call { display: inline-flex; } }
.mobile-nav { display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--gutter) 12px; scrollbar-width: none; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a { color: #DCE6F2; font-weight: 600; font-size: 0.9rem; white-space: nowrap; text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--blue-light); }
@media (min-width: 1000px) { .mobile-nav { display: none; } }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: background 160ms, color 160ms, border-color 160ms;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 30px -10px rgba(0, 129, 197, 0.7); }
.btn-primary:hover { background: var(--blue-bright); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(75, 163, 221, 0.22) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero .orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero .orb-1 { width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(0,129,197,0.35), transparent 65%); }
.hero .orb-2 { width: 380px; height: 380px; left: -140px; bottom: -180px; background: radial-gradient(circle, rgba(42,58,85,0.9), transparent 70%); }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1fr 1.05fr; } }
.hero h1 { max-width: 15ch; }
.hero .lede { color: #B7C7DA; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: #DCE6F2; }
.trust svg { width: 18px; height: 18px; color: var(--blue-light); }

/* Hero scene */
.scene {
  position: relative; margin: 0;
  border-radius: 20px; background: linear-gradient(160deg, #0E1A2E, #08111F);
  border: 1px solid rgba(75, 163, 221, 0.25);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255,255,255,0.02);
  padding: 14px;
}
.scene svg { width: 100%; height: auto; }
.scene .hud { position: absolute; left: 26px; right: 26px; top: 22px; display: flex; justify-content: space-between; pointer-events: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: #9FC3E3; }
.scene .hud .live { display: inline-flex; align-items: center; gap: 8px; }
.scene .hud .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.2s steps(2) infinite; }
.scene figcaption { position: absolute; left: 26px; bottom: 20px; font-size: 0.75rem; color: #7F97B3; letter-spacing: 0.04em; }
.s-grid { stroke: rgba(75, 163, 221, 0.07); }
.s-wall { fill: none; stroke: #6FB4E6; stroke-width: 3.5; stroke-linecap: square; opacity: 0.85; }
.s-room { fill: #6E8AAA; font: 600 10px var(--font); letter-spacing: 0.18em; }
.s-cone { fill: rgba(26, 155, 224, 0.17); stroke: rgba(111, 180, 230, 0.45); stroke-width: 1; }
.s-cam { fill: var(--white); }
.s-cam-ring { fill: none; stroke: var(--blue-bright); stroke-width: 2; }
.s-cable { fill: none; stroke: rgba(26, 155, 224, 0.45); stroke-width: 1.5; stroke-dasharray: 4 5; }
.s-packet { fill: #8FD3FF; }
.s-nvr { fill: #13233B; stroke: #6FB4E6; stroke-width: 1.5; }
.s-led { fill: var(--ok); }
.s-sweep { fill: url(#sweepGrad); }
.s-intruder { fill: #FFB4A9; }
.s-box { fill: none; stroke: var(--rec); stroke-width: 2; }
.s-tag { fill: var(--rec); font: 700 8px var(--font); letter-spacing: 0.12em; }
.pan { transform-box: view-box; animation: pan 7s ease-in-out infinite alternate; }
.pan-b { animation-duration: 9s; animation-delay: -3s; }
.pan-c { animation-duration: 8s; animation-delay: -5s; }
.sweep { transform-box: view-box; transform-origin: 300px 250px; animation: spin 7s linear infinite; }
.blink-led { animation: blink 1.6s steps(2) infinite; }
@keyframes pan { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0.15; } }

/* ---------- Trust strip ---------- */
.promises { background: var(--ice); border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0; padding: 26px 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .promises ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .promises ul { grid-template-columns: repeat(4, 1fr); } }
.promises li { display: flex; gap: 14px; align-items: flex-start; }
.promises svg { width: 34px; height: 34px; flex: none; color: var(--blue); }
.promises strong { display: block; font-size: 0.98rem; }
.promises span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); }
.dark .section-head p { color: #A9BBD0; }
.light-alt { background: #F6F9FC; }

/* ---------- Camera wall ---------- */
.wall-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .wall-grid { grid-template-columns: 1fr 1fr; } }
.feed {
  position: relative; border-radius: 12px; overflow: hidden; background: #050A12;
  border: 1px solid rgba(75, 163, 221, 0.22); aspect-ratio: 16 / 9; margin: 0;
}
.feed svg.scn { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed::before { /* scanlines */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px);
}
.feed::after { /* vignette */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}
.feed .noise { position: absolute; inset: -20%; z-index: 2; opacity: 0.07; pointer-events: none; animation: noise 0.6s steps(3) infinite; }
@keyframes noise { 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } }
.feed .osd { position: absolute; inset: 12px 14px; z-index: 3; display: flex; flex-direction: column; justify-content: space-between;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #E6F1FF; text-shadow: 0 1px 2px #000; pointer-events: none; }
.feed .osd .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.feed .rec { display: inline-flex; align-items: center; gap: 6px; color: var(--rec); }
.feed .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
.feed .badge { border: 1px solid rgba(230,241,255,0.6); padding: 1px 6px; border-radius: 4px; }
.feed figcaption { font-weight: 700; }
.wall-foot { display: grid; gap: 28px; margin-top: 44px; }
@media (min-width: 900px) { .wall-foot { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 9px 0 9px 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ---------- Services bento ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.35fr 1fr; grid-template-areas: "cctv alarms" "cctv access" "net net"; }
  .tile-cctv { grid-area: cctv; } .tile-alarms { grid-area: alarms; } .tile-access { grid-area: access; } .tile-network { grid-area: net; }
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms;
}
.tile:hover { transform: translateY(-3px); border-color: var(--blue-light); box-shadow: 0 24px 50px -28px rgba(0, 60, 110, 0.45); }
.tile p { color: var(--muted); margin: 0; }
.tile .go { margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--blue); }
.tile .ico { width: 84px; height: 84px; margin-bottom: 14px; }
.tile-cctv { background: var(--navy-900); border-color: var(--navy-700); color: var(--white); min-height: 420px; }
.tile-cctv p { color: #A9BBD0; }
.tile-cctv .go { color: var(--blue-light); }
.tile-cctv .ico { width: 100%; max-width: 560px; height: auto; margin: 0 0 18px; }
.tile-cctv h3 { font-size: 1.7rem; }
@media (min-width: 900px) { .tile-network { flex-direction: row; align-items: center; gap: 28px; } .tile-network .ico { margin: 0; flex: none; } .tile-network .go { margin: 0 0 0 auto; padding: 0; white-space: nowrap; } }

/* animated service icons */
.i-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.i-ring.r2 { animation-delay: 0.8s; } .i-ring.r3 { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(0.4); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }
.i-led { animation: led 3s steps(1) infinite; }
@keyframes led { 0%, 60% { fill: #FF4D4F; } 61%, 100% { fill: #33D17A; } }
.i-door { transform-box: fill-box; transform-origin: left center; animation: door 3s ease-in-out infinite; }
@keyframes door { 0%, 60% { transform: scaleX(1); } 75%, 90% { transform: scaleX(0.35); } 100% { transform: scaleX(1); } }
.i-pkt { animation: pkt 1.8s linear infinite; }
.i-pkt.p2 { animation-delay: 0.6s; } .i-pkt.p3 { animation-delay: 1.2s; }
@keyframes pkt { from { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; position: relative; counter-reset: s; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process::before, .process::after { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: var(--line); }
  .process::after { background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1600ms cubic-bezier(.2,.7,.2,1); }
  .process.in::after { transform: scaleX(1); }
}
.process li { position: relative; z-index: 1; counter-increment: s; }
.process li::before {
  content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px;
}
.process p { color: var(--muted); margin: 0; }

/* ---------- Coverage ---------- */
.coverage .grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .coverage .grid { grid-template-columns: 1fr 1fr; } }
.radar { max-width: 520px; width: 100%; margin: 0 auto; }
.r-ring { fill: none; stroke: rgba(75, 163, 221, 0.25); }
.r-axis { stroke: rgba(75, 163, 221, 0.12); }
.r-sweep { fill: url(#radarGrad); transform-box: view-box; transform-origin: 200px 200px; animation: spin 5s linear infinite; }
.r-dot { fill: var(--blue-light); }
.r-lbl { fill: #A9BBD0; font: 600 11px var(--font); }
.r-home { fill: var(--white); }
.r-pulse { fill: none; stroke: var(--blue-bright); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(75, 163, 221, 0.3); color: #DCE6F2; font-size: 0.9rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%230081C5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
  transition: transform 200ms;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; }
.contact .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.contact .b1 { width: 460px; height: 460px; left: -200px; bottom: -240px; background: var(--slate); }
.contact .b2 { width: 90px; height: 90px; left: 150px; bottom: 120px; background: var(--blue); }
.contact .b3 { width: 22px; height: 22px; left: 270px; bottom: 230px; background: var(--blue-light); }
.contact .b4 { width: 300px; height: 300px; right: -120px; top: -150px; background: radial-gradient(circle, rgba(0,129,197,0.4), transparent 70%); }
.contact .grid { position: relative; display: grid; gap: 44px; }
@media (min-width: 980px) { .contact .grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.big-phone {
  display: inline-block; color: var(--white) !important; text-decoration: none;
  font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.1;
  background: linear-gradient(90deg, var(--blue-bright), var(--blue-light)) left bottom / 100% 4px no-repeat; padding-bottom: 6px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(75, 163, 221, 0.22);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px);
}
.contact-card dl { margin: 0; display: grid; gap: 16px; }
.contact-card dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-light); }
.contact-card dd { margin: 4px 0 0; color: var(--white); font-weight: 600; }
.contact-card dd a { color: var(--white) !important; }
.contact .note { font-size: 0.9rem; color: #8FA4BC; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8094AC; font-size: 0.88rem; padding: 44px 0 40px; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 640px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } } @media (min-width: 1000px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.2fr; } }
.site-footer svg.logo { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer a { color: #CFDBE8; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 32px; padding-top: 20px; font-size: 0.8rem; }

/* ---------- Mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 8px calc(16px + env(safe-area-inset-bottom)); font-weight: 700; text-decoration: none;
  background: var(--blue); color: var(--white);
}
.callbar a + a { background: var(--navy-900); }
.callbar svg { width: 19px; height: 19px; }
@media (min-width: 760px) { .callbar { display: none; } }

/* ---------- Service pages ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0; }
.page-head .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .page-head .wrap { grid-template-columns: 1.3fr 1fr; } }
.page-head .lede { color: #B7C7DA; }
.page-head .art { max-width: 340px; width: 100%; justify-self: center; }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.list-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.other { display: flex; flex-wrap: wrap; gap: 12px; }
.other a { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; }
.other a:hover { background: var(--ink); color: var(--white); }

/* ---------- Entrance (hero only, one orchestrated moment) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .intro > * { opacity: 0; transform: translateY(14px); animation: rise 700ms cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .intro > *:nth-child(2) { animation-delay: 90ms; }
  .hero .intro > *:nth-child(3) { animation-delay: 180ms; }
  .hero .intro > *:nth-child(4) { animation-delay: 270ms; }
  .hero .intro > *:nth-child(5) { animation-delay: 360ms; }
  .scene { opacity: 0; transform: scale(0.97); animation: rise 900ms 200ms cubic-bezier(.2,.7,.2,1) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Reduced motion: stop everything ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .process::after { transform: scaleX(1); }
}

/* =====================================================================
   v3: photographic, realistic CCTV treatment (overrides earlier rules)
   ===================================================================== */
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--navy-900); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent;
  filter: saturate(0.55) contrast(1.08) brightness(0.62); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,20,36,0.97) 0%, rgba(11,20,36,0.88) 34%, rgba(11,20,36,0.35) 66%, rgba(11,20,36,0.55) 100%),
              linear-gradient(0deg, rgba(11,20,36,0.9) 0%, transparent 30%); }
@media (max-width: 979px) { .hero-media::after { background: linear-gradient(180deg, rgba(11,20,36,0.7), rgba(11,20,36,0.94) 55%); } }
.hero { min-height: min(86vh, 780px); display: flex; align-items: center; }
.hero::before, .hero .orb { display: none; }
.hero .wrap { display: block; z-index: 2; }
.hero .intro { max-width: 640px; }
.page-head.hero { min-height: 0; padding: clamp(64px, 9vw, 120px) 0; }
.page-head .wrap { display: block; }

/* camera viewfinder overlay */
.vf { position: absolute; z-index: 1; inset: 12% 5% 14% 55%; pointer-events: none; color: #E6F1FF;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-shadow: 0 1px 2px rgba(0,0,0,0.7); }
@media (max-width: 979px) { .vf { inset: 18px 16px auto 16px; height: 120px; } .vf .xhair, .vf .vf-bot, .vf .c.bl, .vf .c.br { display: none; } }
.vf .c { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(230,241,255,0.85); }
.vf .tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf .tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf .bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf .br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf .xhair { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  background: linear-gradient(rgba(230,241,255,0.7), rgba(230,241,255,0.7)) center/1.5px 100% no-repeat,
              linear-gradient(rgba(230,241,255,0.7), rgba(230,241,255,0.7)) center/100% 1.5px no-repeat; opacity: 0.55; }
.vf .xhair::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(230,241,255,0.7); border-radius: 50%; }
.vf-top, .vf-bot { position: absolute; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 12px; }
.vf-top { top: 14px; } .vf-bot { bottom: 14px; color: #B9CDE3; }
.vf .rec, .feed .rec { display: inline-flex; align-items: center; gap: 7px; color: #FF6B6D; }
.vf .rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.2s steps(2) infinite; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(143,211,255,0.55), transparent);
  box-shadow: 0 0 14px rgba(143,211,255,0.5); animation: scan 7s linear infinite; }
@keyframes scan { from { top: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { top: 100%; opacity: 0; } }

/* slow PTZ-style camera drift on photos */
.ptz { animation: ptz 26s ease-in-out infinite alternate; transform-origin: 70% 40%; }
.ptz-slow { animation: ptz 34s ease-in-out infinite alternate; }
@keyframes ptz { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, 1%); } }

/* camera wall with real footage stills */
.feed { background: #050A12; }
.feed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.feed.day img { filter: saturate(0.7) contrast(1.08) brightness(0.86); }
.feed.ir img { filter: grayscale(1) contrast(1.3) brightness(0.95); }
.feed .zone { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.feed .zone polygon { fill: rgba(255, 197, 61, 0.1); stroke: #FFC53D; stroke-width: 0.6; stroke-dasharray: 2 1.5; vector-effect: non-scaling-stroke; }
.feed .zone-tag { position: absolute; z-index: 3; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1B1300; background: #FFC53D; padding: 2px 6px; border-radius: 3px; }
.feed .noise { display: none; }

/* service tiles with photography */
.tile { min-height: 300px; padding: 0; border: 0; background: var(--navy-900); color: var(--white); justify-content: flex-end; isolation: isolate; }
.tile-cctv { min-height: 560px; }
.tile-network { min-height: 300px; flex-direction: column !important; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; color: transparent;
  filter: saturate(0.7) brightness(0.8); transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.tile:hover .tile-img { transform: scale(1.05); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,14,26,0.95) 0%, rgba(7,14,26,0.55) 45%, rgba(7,14,26,0.1) 100%); }
.tile-body { padding: 30px; }
.tile h3 { color: var(--white); font-size: 1.45rem; }
.tile-cctv h3 { font-size: 2rem; }
.tile p { color: #C9D6E5; }
.tile .go { color: var(--blue-light); padding-top: 14px; display: inline-block; }
.tile:hover { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 40, 80, 0.7); }

/* ---------- v4: commercial projects ---------- */
.trusted { background: var(--navy-950); border-top: 1px solid rgba(75,163,221,0.12); }
.trusted .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding-top: 22px; padding-bottom: 22px; }
.trusted span { color: #7F97B3; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.trusted ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.trusted li { color: #E6EEF7; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.88; }

.proj-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
.proj { display: flex; flex-direction: column; gap: 18px; }
.proj .feed { aspect-ratio: 4 / 3; }
.proj-sector { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.proj h3 { font-size: 1.5rem; margin-bottom: 8px; }
.proj p { color: var(--muted); margin: 0; }
.feed .osd figcaption { max-width: 85%; }

.cases { display: grid; gap: clamp(56px, 8vw, 96px); }
.case { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .case { grid-template-columns: 1.15fr 1fr; gap: 56px; } .case.flip .case-media { order: 2; } }
.case-media { display: grid; gap: 14px; }
.case-media .feed { aspect-ratio: 16 / 10; }
.case-media .proj-extra { aspect-ratio: 16 / 7; }
.case-where { color: var(--muted); font-weight: 600; margin-top: -6px; }
.case-body p { color: var(--muted); }
.case-body h2 { margin-bottom: 10px; }
.chips a { color: inherit; text-decoration: none; }
.chips li:has(a) { border-color: rgba(75,163,221,0.65); }
.chips li:has(a):hover { background: rgba(0,129,197,0.18); }
