@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #08104f;
  --navy: #0e1f84;
  --blue: #0086ca;
  --blue-light: #38aeea;
  --white: #f5f6f8;
  --grey: #aeb8d8;
  --paper: #f5f5f7;
  --ink: #0e1f84;
  --ink-soft: #4d5578;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(14, 31, 132, 0.16);
  --gutter: clamp(20px, 5vw, 64px);
  --wide: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 17px/1.5 "Inter", -apple-system, "SF Pro Text", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }

/* Navigation */
/* Solid, so light sections cannot wash the navy out as they scroll underneath. */
.nav { position: sticky; top: 0; z-index: 10; background: linear-gradient(#12268f, #0a1560); border-bottom: 1px solid rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 28px rgba(8, 16, 79, 0.28); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mark img { width: auto; height: 60px; }
.nav ul { display: flex; gap: 34px; font-size: 13px; color: #c9cdd6; }
.nav li a { transition: color 0.2s; }
.nav li a:hover { color: #fff; }

/* Shared type */
h1, h2 { font-weight: 680; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(38px, 6vw, 72px); }
.kicker { margin-bottom: 14px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.01em; color: var(--blue-light); }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; letter-spacing: -0.012em; color: var(--grey); }
.light { background: var(--paper); color: var(--ink); }
.light .lede { color: var(--ink-soft); }
.light .kicker { color: var(--blue); }
section { padding-block: clamp(84px, 12vw, 168px); }

.btn { display: inline-block; padding: 14px 26px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; border: 0; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.btn:hover { background: #0b97df; }
.btn:disabled { opacity: 0.55; cursor: default; }
.link { color: var(--blue-light); font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.01em; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link::after { content: " \203A"; }
.light .link { color: var(--blue); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0 0; text-align: center;
  background:
    radial-gradient(60% 55% at 18% 8%, rgba(0, 134, 202, 0.34), transparent 70%),
    radial-gradient(55% 60% at 86% 22%, rgba(20, 42, 168, 0.95), transparent 72%),
    var(--black); }
.hero h1 { font-size: clamp(50px, 8.6vw, 112px); line-height: 1; }
.hero h1 span { color: var(--blue-light); }
.hero .lede { max-width: 640px; margin: 26px auto 0; color: #c6cfe8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; margin-top: 34px; }
.hero small { display: block; margin-top: 18px; font-size: 14px; color: var(--grey); }
.hero { padding-bottom: clamp(40px, 6vw, 84px); }
.lineup { position: relative; container-type: inline-size; width: min(1080px, calc(100% - 32px)); aspect-ratio: 100 / 45; margin: clamp(36px, 5vw, 64px) auto 0; text-align: left; }
.lineup::after { content: ""; position: absolute; z-index: 0; left: 6%; right: 6%; bottom: -5%; height: 16%; background: radial-gradient(50% 50% at 50% 50%, rgba(56, 174, 234, 0.42), transparent 100%); filter: blur(14px); }
.laptop { position: absolute; z-index: 1; left: 12cqw; right: 12cqw; bottom: 0; }
.laptop-lid { width: 62cqw; margin: 0 auto; padding: 1cqw 1cqw 1.3cqw; background: #05071a; border-radius: 1.5cqw 1.5cqw 0 0; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.2); }
.laptop-lid img { display: block; width: 100%; height: auto; border-radius: 0.3cqw; }
.laptop-base { position: relative; height: 1.7cqw; background: linear-gradient(#dfe3ec, #9299ad 62%, #5d6478); border-radius: 0.2cqw 0.2cqw 1.3cqw 1.3cqw; box-shadow: 0 2.6cqw 4.5cqw rgba(1, 4, 34, 0.7); }
.laptop-base::after { content: ""; position: absolute; top: 0; left: 50%; width: 11cqw; height: 0.55cqw; margin-left: -5.5cqw; background: #80879b; border-radius: 0 0 0.7cqw 0.7cqw; }
.keypad { position: absolute; z-index: 2; left: 2cqw; bottom: 0; width: 20cqw; padding: 1.4cqw; background: linear-gradient(155deg, #262e52, #0b1030 72%); border-radius: 1.5cqw; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.2), 0 2.4cqw 4.5cqw rgba(1, 4, 34, 0.75); }
.keypad-screen { display: flex; flex-direction: column; gap: 0.4cqw; padding: 1.1cqw 1.2cqw; background: #03102f; border-radius: 0.6cqw; box-shadow: inset 0 0 1.6cqw rgba(56, 174, 234, 0.3); color: var(--blue-light); }
.keypad-screen b { font-size: 1.5cqw; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--white); }
.keypad-screen i { font-size: 1.15cqw; font-style: normal; font-weight: 600; line-height: 1.2; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65cqw; margin-top: 1.1cqw; }
.keys span { padding: 0.6cqw 0; font-size: 1.5cqw; font-weight: 600; line-height: 1.2; text-align: center; color: var(--white); background: linear-gradient(#3a4470, #222a52); border-radius: 0.55cqw; box-shadow: inset 0 0.08cqw 0 rgba(255, 255, 255, 0.24); }
.phone { position: absolute; z-index: 2; right: 3.5cqw; bottom: 0; width: 17cqw; padding: 0.7cqw; background: #05071a; border-radius: 2.7cqw; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.26), 0 2.4cqw 4.5cqw rgba(1, 4, 34, 0.75); }
.phone-screen { overflow: hidden; height: 33cqw; background: #f4f6fb; border-radius: 2.1cqw; }
.phone-screen p { padding: 3cqw 1.3cqw 1cqw; font-size: 2cqw; font-weight: 650; letter-spacing: -0.02em; color: var(--white); background: var(--navy); }
.phone-screen ul { margin: 0; padding: 0.7cqw; list-style: none; }
.phone-screen li { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25cqw; margin-bottom: 0.55cqw; padding: 0.65cqw 0.85cqw; background: var(--white); border-radius: 0.65cqw; }
.phone-screen b { font-size: 1.22cqw; font-weight: 600; line-height: 1.2; color: var(--ink); }
.phone-screen i { font-size: 1cqw; font-style: normal; font-weight: 600; line-height: 1.2; color: var(--blue); }
.phone-screen i.ok { color: #12825a; }
.phone-screen i.off { color: #737b92; }

/* Statement */
.statement p { max-width: 1020px; font-size: clamp(30px, 4.5vw, 56px); font-weight: 620; line-height: 1.14; letter-spacing: -0.03em; }
.statement em { font-style: normal; color: #7f8ab5; }

/* CCTV */
.cctv { overflow: hidden; background: radial-gradient(70% 70% at 88% 30%, rgba(20, 42, 168, 0.8), transparent 75%), var(--black); }
.cctv-head { max-width: 760px; }
.cctv .lede { margin-top: 24px; }
.cctv-photo { width: min(920px, 100%); margin: clamp(32px, 5vw, 64px) 0 0 auto; -webkit-mask-image: linear-gradient(#000 76%, transparent 97%); mask-image: linear-gradient(#000 76%, transparent 97%); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 64px); }
.specs div { padding-top: 20px; border-top: 1px solid var(--line-dark); }
.specs dt { font-size: 19px; font-weight: 620; letter-spacing: -0.015em; }
.specs dd { margin-top: 6px; color: var(--grey); }

/* Alarms */
.alarms h2 { max-width: 900px; }
.alarm-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 104px); margin-top: clamp(48px, 7vw, 96px); }
.alarm-columns > div { padding-top: 24px; border-top: 1px solid var(--line-light); }
.alarm-columns h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 660; letter-spacing: -0.03em; }
.alarm-columns p { margin: 14px 0 20px; font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-soft); }

/* Site plan */
.plan { background: #0a1560; }
.plan-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 6vw, 88px); align-items: end; }
.plan-drawing { margin-top: clamp(40px, 6vw, 80px); overflow: hidden; border: 1px solid var(--line-dark); border-radius: 18px; background: #0c1a70; }
.plan-drawing svg { width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 20px; font-size: 14px; color: var(--grey); }
.legend li { display: flex; align-items: center; gap: 9px; }
.legend svg { flex: none; width: 16px; height: 16px; }
.legend .note { margin-left: auto; }

/* IT */
.it { position: relative; padding-block: 0; }
.it-photo { position: relative; min-height: clamp(460px, 62vw, 760px); display: flex; align-items: flex-end; background: url("/img/site/engineer.webp") center 30% / cover no-repeat; }
.it-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(8, 16, 79, 0.96)); }
.it-photo .wrap { position: relative; z-index: 1; padding-bottom: clamp(36px, 5vw, 64px); }
.it-photo .lede { max-width: 620px; margin-top: 18px; color: #c5c9d3; }
.it-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); padding-block: clamp(32px, 4vw, 52px) clamp(84px, 10vw, 136px); }
.it-list li { padding-block: 15px; border-bottom: 1px solid var(--line-dark); font-size: 19px; letter-spacing: -0.012em; }

/* Quotes */
.quotes-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 7vw, 104px); }
.quotes-grid blockquote p { letter-spacing: -0.018em; }
.quote-main p { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; line-height: 1.16; letter-spacing: -0.028em; }
.quote-side { display: grid; gap: 44px; align-content: start; }
.quote-side p { font-size: 21px; line-height: 1.34; font-weight: 500; }
.quotes-grid footer { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }

/* Contact */
.contact { background: radial-gradient(60% 70% at 8% 90%, rgba(0, 134, 202, 0.26), transparent 72%), radial-gradient(55% 70% at 92% 8%, rgba(20, 42, 168, 0.85), transparent 72%), var(--black); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 120px); }
.contact .lede { margin-top: 22px; }
.contact-direct { margin-top: 40px; }
.contact-direct a { display: block; width: fit-content; }
.contact-direct .tel { font-size: clamp(32px, 4vw, 46px); font-weight: 650; letter-spacing: -0.03em; }
.contact-direct .mail { margin-top: 6px; font-size: 19px; color: var(--blue-light); }
.form label { display: block; margin-bottom: 22px; font-size: 14px; color: var(--grey); }
.form input, .form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0; background: transparent; color: #fff; font: 400 19px/1.4 inherit; font-family: inherit; letter-spacing: -0.01em; resize: vertical; transition: border-color 0.2s; }
.form input:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--blue-light); }
.form .cf-turnstile { min-height: 65px; margin-bottom: 20px; }
.form-status { min-height: 24px; margin-top: 14px; font-size: 15px; color: #cfd3dc; }
.form-status.is-error { color: #ff9a8f; }

/* Footer */
.foot { padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 13px; color: var(--grey); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.foot img { width: auto; height: 46px; }

/* 404 */
.missing { display: grid; place-content: center; min-height: 70vh; padding: 40px var(--gutter); text-align: center; }
.missing p { margin: 18px 0 26px; }

/* Reveal on scroll, only when scripting is available */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 820px) {
  .nav li:not(:last-child) { display: none; }
  .specs, .alarm-columns, .plan-head, .quotes-grid, .contact-grid, .it-list { grid-template-columns: 1fr; }
  .specs div { padding-block: 18px; }
  .plan-drawing svg { width: 165%; max-width: none; margin-left: -32%; }
  .legend .note { margin-left: 0; width: 100%; }
}

/* Websites, apps, domains */
.websites { background: radial-gradient(60% 50% at 12% 12%, rgba(0, 134, 202, 0.2), transparent 72%), var(--black); }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); margin-top: clamp(40px, 6vw, 80px); }
.work-item { display: block; }
.work-item img { width: 100%; border: 1px solid var(--line-dark); border-radius: 14px; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work-item:hover img { transform: translateY(-4px); }
.work-cap { display: block; margin-top: 14px; font-size: 15px; color: var(--grey); }
.work-cap strong { margin-right: 6px; font-weight: 600; color: var(--white); }
.apps-lede { max-width: 680px; margin-top: 22px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 56px); margin-top: clamp(44px, 6vw, 80px); }
.trio > div { padding-top: 22px; border-top: 1px solid var(--line-light); }
.trio h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; letter-spacing: -0.025em; }
.trio p { margin-top: 10px; font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-soft); }
.apps-link { margin-top: 36px; }
.move { background: #0a1560; }
.move-link { margin-top: 20px; }
.support { margin-top: clamp(32px, 4vw, 56px); }
.support > div { border-top-color: var(--line-dark); }
.support p { color: var(--grey); }

@media (max-width: 820px) {
  .work, .trio { grid-template-columns: 1fr; }
}
.trio a.inline { color: var(--blue); }
.trio a.inline:hover { text-decoration: underline; text-underline-offset: 3px; }
