:focus-visible {
  outline: 2px solid var(--iris-bright);
  outline-offset: 3px;
}

:root {
  --navy: #071525;
  --navy-2: #0c2340;
  --navy-3: #16345a;
  --ink: #122033;
  --iris: #1f6eae;
  --iris-bright: #4c9adf;
  --ice: #e7f2fb;
  --paper: #f4f7fb;
  --white: #ffffff;
  --muted: #5b7084;
  --line: rgba(18, 32, 51, 0.12);
  --line-light: rgba(231, 242, 251, 0.16);
  --danger: #8e2430;
  --ok: #0c6b45;
  --shadow: 0 22px 50px rgba(7, 21, 37, 0.16);
  --display: "Sora", "Segoe UI", sans-serif;
  --font: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --header: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

a { color: var(--iris); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  font-weight: 600;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus { top: 0.7rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 21, 37, 0.9);
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(7, 21, 37, 0.94);
  border-bottom-color: var(--line-light);
}

.header-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ice);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  height: 46px;
  width: auto;
  background: #fff;
  border-radius: 3px;
  flex: none;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--iris-bright);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ice);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--iris-bright);
}

.site-nav a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--ice);
  cursor: pointer;
}

.nav-toggle > span,
.nav-toggle > span::before,
.nav-toggle > span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle > span { position: relative; }
.nav-toggle > span::before,
.nav-toggle > span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle > span::before { top: -6px; }
.nav-toggle > span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn-primary { background: var(--iris); color: var(--white); }
.btn-primary:hover { background: #18598d; color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(231, 242, 251, 0.35);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.btn-line {
  background: transparent;
  color: var(--navy-2);
  border-color: rgba(12, 35, 64, 0.28);
}
.btn-line:hover { border-color: var(--navy-2); color: var(--navy); }

.hero,
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 80% 20%, rgba(76, 154, 223, 0.18), transparent 60%),
    var(--navy);
  color: var(--ice);
  overflow: hidden;
}

.hero { padding: calc(var(--header) + 3.5rem) 0 5.5rem; }
.page-hero { padding: calc(var(--header) + 2.4rem) 0 3.4rem; }

.crumbs { margin: 0 0 0.85rem; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crumbs a { color: var(--iris-bright); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 0.45rem;
  color: #8ea3b8;
}
.crumbs [aria-current="page"] { color: var(--ice); }

.hero-grid,
.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 154, 223, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 154, 223, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iris-bright);
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dcca0;
  box-shadow: 0 0 0 0 rgba(61, 204, 160, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(61, 204, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 204, 160, 0); }
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4.6vw, 4.15rem);
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); max-width: 16ch; }

.lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: #c5d6e8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.7rem 0 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.hero-facts div {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-light);
}

.hero-facts dt {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--white);
}

.hero-facts dd {
  margin: 0.15rem 0 0;
  color: #9eb2c6;
  font-size: 0.92rem;
}

.monitor {
  position: relative;
  min-height: 440px;
  border: 1px solid rgba(231, 242, 251, 0.2);
  background:
    linear-gradient(180deg, rgba(76, 154, 223, 0.12), transparent 28%),
    rgba(5, 14, 26, 0.55);
  padding: 1rem 1rem 0.85rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.monitor::before,
.monitor::after,
.form-card::before,
.form-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--iris-bright);
  pointer-events: none;
}

.monitor::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.monitor::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }

.monitor-bar,
.monitor-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9eb4c9;
}

.monitor-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  margin: 0.8rem 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(76, 154, 223, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 154, 223, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.monitor-stage img {
  width: min(240px, 70%);
  color: var(--ice);
}

.scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(94, 196, 232, 0.85), transparent);
  animation: scan 7.5s linear infinite;
}

@keyframes scan {
  from { top: 8%; }
  to { top: 90%; }
}

.section { padding: 4.5rem 0; }
.section-follow { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2,
.band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }

.eyebrow {
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--iris);
}

.service-grid,
.reason-grid,
.feature-grid,
.feed-grid,
.steps,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.reason-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feed-grid { grid-template-columns: repeat(3, 1fr); }
.steps { grid-template-columns: repeat(4, 1fr); }

.service-card,
.reason-grid article,
.feature-grid article,
.feed-grid figure,
.steps li,
.form-card,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.service-card > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 1.25rem 1.15rem;
}

.service-card .credit { padding: 0 1.25rem 1rem; }

.card-photo {
  width: 100%;
  max-width: none;
  height: 168px;
  margin: 0 0 1.1rem;
  object-fit: cover;
}

.service-card:hover {
  border-color: var(--iris);
  transform: translateY(-2px);
}

.idx {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--iris);
}

.service-grid h2,
.feature-grid h3,
.reason-grid h3 { font-size: 1.25rem; margin: 0.7rem 0 0.45rem; }

.service-grid p,
.feature-grid p,
.reason-grid p { color: var(--muted); margin-bottom: 0; }

.more {
  margin-top: auto;
  padding-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-2);
}

.band {
  background:
    linear-gradient(180deg, rgba(76, 154, 223, 0.08), transparent 30%),
    var(--navy-2);
  color: var(--ice);
}

.band .eyebrow { color: var(--iris-bright); }
.band .lede,
.reason-grid p,
.band .closing { color: #c5d6e8; }

.band .reason-grid article {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-light);
  padding: 1.15rem 1.1rem;
}

.band .reason-grid h3 { color: var(--white); font-size: 1.05rem; }
.band a:not(.btn) { color: var(--ice); }
.page-hero a { color: var(--iris-bright); }
.site-nav .btn-primary,
.site-nav .btn-primary:hover { color: var(--white); }

.prose { max-width: 42rem; }
.prose p { color: #314556; }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.lockup {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem;
}

.lockup img { width: 100%; height: auto; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { padding: 1.15rem; background: var(--white); border: 1px solid var(--line); }
.steps strong { display: block; font-family: var(--display); margin-bottom: 0.35rem; }
.steps span { color: var(--muted); }

.feed-grid figure { margin: 0; }
.feed-frame {
  background: var(--navy);
  min-height: 210px;
}
.feed-frame img,
.service-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-lead {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.service-photo { border: 1px solid var(--line); }

.photo-cctv { object-position: 18% center; }
.photo-alarm { object-position: center 32%; }
.photo-access { object-position: center; }

.credit {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.credit a { color: inherit; }
.feed-grid figcaption {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.95rem;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.jump a {
  color: var(--ice);
  text-decoration: none;
  border: 1px solid var(--line-light);
  padding: 0.4rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jump a:hover { border-color: var(--iris-bright); }

.service-block,
#why { scroll-margin-top: calc(var(--header) + 1rem); }
.service-block { padding-top: 0.5rem; }
.service-block + .service-block { margin-top: 3rem; }
.service-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.35rem 0 0.7rem; }

.feature-grid article { padding: 1rem 1.05rem 1.05rem; }
.feature-grid h3 { font-size: 1.02rem; margin: 0 0 0.3rem; }

.detail-grid { grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-panel { padding: 1.4rem 1.3rem; }
.contact-panel h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.contact-panel p { color: var(--muted); }
.contact-panel a { font-weight: 600; text-decoration: none; }
.contact-panel a:hover { text-decoration: underline; }

.quote-anchor,
#quote { scroll-margin-top: calc(var(--header) + 1rem); }

.form-card {
  position: relative;
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: var(--shadow);
}

.form-card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.form-card::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.field-wide { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.req { color: var(--iris); }

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c5d3e0;
  background: #f8fbfe;
  color: var(--ink);
  border-radius: 2px;
  padding: 0.72rem 0.75rem;
  font: inherit;
}

textarea { min-height: 120px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--iris);
  outline-offset: 1px;
  border-color: var(--iris);
}

.is-invalid input,
.is-invalid select,
.is-invalid textarea { border-color: var(--danger); }

.field-error {
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.86rem;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-actions { margin-top: 1rem; }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.banner {
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: var(--ice);
}

.banner strong { display: block; font-family: var(--display); }
.banner-ok { border-color: #b7e2cf; background: #f1fbf6; }
.banner-bad { border-color: #f0c9ce; background: #fff6f7; }

.error-list { margin: 0.4rem 0 0; padding-left: 1.1rem; }

.site-footer {
  background: var(--navy);
  color: #c5d6e8;
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 2rem;
}

.site-footer .brand-name { color: var(--white); }
.site-footer p { margin-bottom: 0.4rem; }
.site-footer a { color: var(--ice); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 0.35rem; }
.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.88rem;
  color: #8ea3b8;
}

.closing { font-size: 1.15rem; max-width: 40rem; }

@media (max-width: 900px) {
  .hero-layout,
  .split,
  .detail-grid,
  .contact-layout,
  .footer-grid,
  .service-grid,
  .reason-grid,
  .feed-grid,
  .steps { grid-template-columns: 1fr; }

  .feature-grid,
  .service-lead { grid-template-columns: 1fr; }
  .monitor { min-height: 360px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    position: fixed;
    z-index: 40;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 1.2rem 1.2rem 2rem;
    background: #071525;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    transform: translateY(-110%);
    visibility: hidden;
  }

  body.nav-open .site-nav {
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.25rem;
    padding: 0.55rem 0;
  }

  .site-nav .btn { margin-top: 0.8rem; width: 100%; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .hero-facts,
  .form-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 0.72rem; letter-spacing: 0.06em; }
  .brand-sub { letter-spacing: 0.22em; }
  h1 { font-size: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live,
  .scan { animation: none; }
  .scan { top: 46%; opacity: 0.5; }
  .service-card { transition: none; }
}
