:root {
  color-scheme: dark;
  --ink: #030406;
  --carbon: #0b0f13;
  --charcoal: #121820;
  --steel: #a8b2bf;
  --mist: #eef6ff;
  --cyan: #00e5ff;
  --amber: #ffb000;
  --signal: #ff3d7f;
  --lime: #9dff57;
  --line: rgba(238, 246, 255, 0.13);
  --panel: rgba(12, 18, 24, 0.78);
  --font-head: "Space Grotesk", "Arial Black", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 16%, rgba(0, 229, 255, 0.13), transparent 26rem),
    radial-gradient(circle at 16% 72%, rgba(255, 176, 0, 0.12), transparent 30rem),
    linear-gradient(120deg, var(--ink), #08090b 50%, #0c0f12);
  color: var(--mist);
  font-family: var(--font-body);
}

body.is-loading {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 86%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
  opacity: 0.18;
  mix-blend-mode: difference;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.74;
}

.cursor,
.cursor-ring {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.cursor {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.7);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 229, 255, 0.64);
  mix-blend-mode: screen;
}

.glitch-layer {
  position: fixed;
  inset: 0;
  z-index: 180;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background:
    linear-gradient(to bottom, transparent 0 34%, rgba(238, 246, 255, 0.075) 40%, rgba(0, 229, 255, 0.1) 45%, rgba(255, 176, 0, 0.045) 49%, transparent 58%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  background-size: 100% 220%, 100% 4px;
  mix-blend-mode: screen;
  animation: crt-roll-cycle 12s linear infinite, crt-flicker 1.45s steps(5, end) infinite;
}

.glitch-layer span {
  position: absolute;
  left: -6vw;
  width: 112vw;
  height: 18vh;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.16), rgba(255, 61, 127, 0.1), transparent);
  filter: blur(0.4px);
  transform: translate3d(0, 120vh, 0) skewX(-2deg);
  animation: crt-band-cycle 12s linear infinite;
}

.glitch-layer span:nth-child(1) {
  top: auto;
  height: 14vh;
}

.glitch-layer span:nth-child(2) {
  top: auto;
  height: 24vh;
  animation-delay: 110ms;
}

.glitch-layer span:nth-child(3) {
  top: auto;
  height: 9vh;
  animation-delay: 210ms;
}

.glitch-layer span:nth-child(4) {
  top: auto;
  height: 18vh;
  animation-delay: 320ms;
}

.glitch-layer span:nth-child(5) {
  top: auto;
  height: 12vh;
  animation-delay: 440ms;
}

.glitch-layer span:nth-child(6) {
  top: auto;
  height: 22vh;
  animation-delay: 570ms;
}

body.is-glitching .glitch-layer,
body.is-glitching-soft .glitch-layer {
  opacity: 1;
}

body.is-glitching .glitch-layer span {
  animation: crt-band-burst 620ms linear;
}

body.is-glitching-soft .glitch-layer span {
  animation: crt-band-burst 460ms linear;
}

body.is-glitching .glitch-layer span:nth-child(2),
body.is-glitching-soft .glitch-layer span:nth-child(2) {
  animation-delay: 35ms;
}

body.is-glitching .glitch-layer span:nth-child(3),
body.is-glitching-soft .glitch-layer span:nth-child(3) {
  animation-delay: 70ms;
}

body.is-glitching .glitch-layer span:nth-child(4),
body.is-glitching-soft .glitch-layer span:nth-child(4) {
  animation-delay: 105ms;
}

body.is-glitching .glitch-layer span:nth-child(5),
body.is-glitching-soft .glitch-layer span:nth-child(5) {
  animation-delay: 50ms;
}

body.is-glitching .glitch-layer span:nth-child(6),
body.is-glitching-soft .glitch-layer span:nth-child(6) {
  animation-delay: 125ms;
}

body.is-glitching .site-header,
body.is-glitching .hero__title,
body.is-glitching .section-title,
body.is-glitching .email-link,
body.is-glitching .service-card,
body.is-glitching .hero__panel,
body.is-glitching .copy-stack {
  animation: crt-distort 620ms steps(5, end);
}

body.is-glitching .hero__title,
body.is-glitching .section-title,
body.is-glitching .email-link {
  text-shadow:
    4px 0 rgba(0, 229, 255, 0.82),
    -4px 0 rgba(255, 61, 127, 0.68),
    0 0 22px rgba(0, 229, 255, 0.34);
}

body.is-glitching-soft .service-card,
body.is-glitching-soft .hero__panel,
body.is-glitching-soft .hero__title,
body.is-glitching-soft .section-title {
  animation: crt-distort 460ms steps(4, end);
}

body.is-glitching .signal-canvas,
body.is-glitching-soft .signal-canvas {
  filter: hue-rotate(18deg) contrast(1.35);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #020304;
}

.loader__mark {
  position: relative;
  width: min(52vw, 420px);
}

.loader__mark svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2px;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.7));
  font-family: var(--font-head);
  font-size: 84px;
  font-weight: 700;
}

.loader__mark img {
  width: 100%;
  opacity: 0;
  filter: brightness(0) invert(1) drop-shadow(0 0 28px rgba(255, 255, 255, 0.18));
}

.loader__rail {
  position: absolute;
  bottom: 17vh;
  width: min(46vw, 360px);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.loader__rail span {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--signal));
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1rem clamp(1rem, 3vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 6, 0.66);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 132px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2.5rem);
  color: rgba(238, 246, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  transition: transform 0.28s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cyan);
  color: #020304;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 229, 255, 0.22);
}

.section {
  position: relative;
  min-height: 100vh;
  padding: clamp(7rem, 14vw, 12rem) clamp(1.1rem, 5vw, 5.5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.72fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding-top: clamp(8rem, 16vw, 13rem);
}

.hero__eyebrow,
.section-kicker {
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__eyebrow {
  position: absolute;
  top: 8rem;
  left: clamp(1.1rem, 5vw, 5.5rem);
}

.hero__content {
  max-width: 980px;
}

.hero__title,
.section-title,
.finale h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero__title {
  max-width: 980px;
  font-size: 7.2rem;
}

.hero__copy {
  max-width: 710px;
  margin: 2rem 0 0;
  color: rgba(238, 246, 255, 0.76);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.button {
  position: relative;
  display: inline-grid;
  min-height: 54px;
  place-items: center;
  overflow: hidden;
  padding: 0.95rem 1.28rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mist);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button::before,
.email-link::before {
  position: absolute;
  inset: var(--y, 50%) auto auto var(--x, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.24);
  transition: width 0.42s ease, height 0.42s ease;
}

.button:hover::before,
.email-link:hover::before {
  width: 420px;
  height: 420px;
}

.button span {
  position: relative;
  z-index: 1;
}

.button--primary {
  border-color: transparent;
  background: var(--cyan);
  color: #020304;
  box-shadow: 0 14px 42px rgba(0, 229, 255, 0.24);
}

.contact-form .button--primary {
  color: #000;
}

.contact-form .button--primary span {
  color: #000;
}

.button--primary:hover {
  background: var(--amber);
  box-shadow: 0 14px 42px rgba(255, 176, 0, 0.22);
}

.button--ghost:hover {
  border-color: rgba(255, 176, 0, 0.7);
}

.hero__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 24, 31, 0.92), rgba(4, 7, 10, 0.84));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.hero__panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent, rgba(0, 229, 255, 0.14), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
  opacity: 0.58;
}

.stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat-grid div {
  min-height: 160px;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.stat-grid div:last-child {
  border-right: 0;
}

.stat-grid span {
  display: block;
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 4.2rem;
  line-height: 0.9;
}

.stat-grid p {
  margin: 0.8rem 0 0;
  color: rgba(238, 246, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.terminal {
  position: relative;
  z-index: 1;
  padding: 1.3rem;
  color: rgba(157, 255, 87, 0.9);
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.65;
}

.terminal p {
  margin: 0;
}

.terminal span {
  color: var(--amber);
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  width: 1px;
  height: 74px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--cyan);
  animation: cue 1.6s infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

@keyframes crt-band-burst {
  0% {
    opacity: 0;
    transform: translate3d(-1.4vw, 112vh, 0) skewX(-2deg);
  }

  22% {
    opacity: 0.55;
    transform: translate3d(1vw, 66vh, 0) skewX(1.5deg);
  }

  54% {
    opacity: 0.34;
    transform: translate3d(-0.8vw, 22vh, 0) skewX(-1deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(0.6vw, -30vh, 0) skewX(0.8deg);
  }
}

@keyframes crt-roll-cycle {
  0%,
  7%,
  100% {
    opacity: 0;
    background-position: 0 125%, 0 0;
  }

  12%,
  88% {
    opacity: 0.32;
  }

  92% {
    opacity: 0;
    background-position: 0 -35%, 0 0;
  }
}

@keyframes crt-band-cycle {
  0%,
  7%,
  100% {
    opacity: 0;
    transform: translate3d(-1vw, 115vh, 0) skewX(-1.5deg);
  }

  12% {
    opacity: 0.18;
    transform: translate3d(0.8vw, 95vh, 0) skewX(1deg);
  }

  50% {
    opacity: 0.14;
    transform: translate3d(-0.5vw, 32vh, 0) skewX(-0.7deg);
  }

  88% {
    opacity: 0.09;
    transform: translate3d(0.4vw, -24vh, 0) skewX(0.5deg);
  }

  92% {
    opacity: 0;
    transform: translate3d(0.4vw, -34vh, 0) skewX(0.5deg);
  }
}

@keyframes crt-flicker {
  0%,
  100% {
    filter: brightness(1);
  }

  18% {
    filter: brightness(0.86);
  }

  37% {
    filter: brightness(1.18);
  }

  52% {
    filter: brightness(0.93);
  }

  74% {
    filter: brightness(1.1);
  }
}

@keyframes crt-distort {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    filter: none;
  }

  18% {
    transform: translate3d(1px, -1px, 0) skewX(0.18deg);
    filter: blur(0.2px) hue-rotate(8deg) saturate(1.12);
  }

  42% {
    transform: translate3d(-2px, 1px, 0) skewX(-0.26deg);
    filter: blur(0.35px) hue-rotate(-10deg) saturate(1.14);
  }

  68% {
    transform: translate3d(1px, 0, 0) skewX(0.12deg);
    filter: contrast(1.12) saturate(1.08);
  }
}

.section-kicker {
  margin-bottom: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
}

.split-layout--reverse {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.9fr);
}

.split-layout--reverse .section-title {
  grid-column: 2;
  grid-row: 1;
}

.split-layout--reverse .copy-stack {
  grid-column: 1;
  grid-row: 1;
}

.section-title {
  font-size: 6.8rem;
}

.copy-stack p,
.security__header p {
  margin: 0;
  color: rgba(238, 246, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.85;
}

.timeline {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.timeline__item span {
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.timeline__item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.services {
  min-height: auto;
}

.services .section-title {
  max-width: 960px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.service-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  transform-style: preserve-3d;
}

.service-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transform: scale(1.04);
  transition: opacity 0.38s ease, transform 0.7s ease, filter 0.38s ease;
  filter: saturate(1.12) contrast(1.08);
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 4, 6, 0.82), rgba(3, 4, 6, 0.18) 44%, rgba(3, 4, 6, 0.9)),
    linear-gradient(90deg, rgba(3, 4, 6, 0.78), transparent 58%),
    linear-gradient(145deg, rgba(0, 229, 255, 0.14), transparent 44%),
    linear-gradient(315deg, rgba(255, 61, 127, 0.13), transparent 46%);
  opacity: 0.96;
  transition: opacity 0.3s ease;
}

.service-card canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.service-card span,
.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card span {
  display: inline-block;
  color: var(--amber);
  font-family: var(--font-head);
}

.service-card h3 {
  max-width: 8ch;
  margin: 11rem 0 1rem;
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card p {
  max-width: 28rem;
  margin: 0;
  color: rgba(238, 246, 255, 0.75);
  line-height: 1.7;
}

.service-card:hover::before {
  opacity: 0.84;
}

.service-card:hover .service-card__image {
  opacity: 0.94;
  transform: scale(1.1);
  filter: saturate(1.28) contrast(1.16);
}

.human {
  overflow: hidden;
}

.human__orbital {
  position: absolute;
  inset: 9% auto auto 50%;
  width: min(46vw, 570px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  opacity: 0.42;
}

.human__orbital span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 50%;
  animation: orbit 12s linear infinite;
}

.human__orbital span:nth-child(2) {
  transform: rotate(62deg) scale(0.72);
  border-color: rgba(255, 176, 0, 0.3);
  animation-duration: 17s;
}

.human__orbital span:nth-child(3) {
  transform: rotate(-36deg) scale(0.46);
  border-color: rgba(255, 61, 127, 0.22);
  animation-duration: 9s;
}

@keyframes orbit {
  to {
    rotate: 360deg;
  }
}

.quote-panel {
  margin-top: 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.1), transparent);
}

.quote-panel p {
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 2.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.quote-panel span {
  display: block;
  margin-top: 1rem;
  color: rgba(238, 246, 255, 0.66);
  line-height: 1.6;
}

.security {
  min-height: auto;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.security__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.52fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--line);
}

.security-grid article {
  min-height: 260px;
  padding: clamp(1rem, 2vw, 1.55rem);
  background: rgba(3, 4, 6, 0.72);
}

.security-grid span {
  color: var(--lime);
  font-family: var(--font-head);
  font-size: 0.9rem;
}

.security-grid h3 {
  margin: 5.3rem 0 0.8rem;
  font-family: var(--font-head);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.security-grid p {
  margin: 0;
  color: rgba(238, 246, 255, 0.68);
  line-height: 1.65;
}

.finale {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(5.5rem, 9vw, 8rem) clamp(1.1rem, 5vw, 5.5rem);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(255, 176, 0, 0.16), transparent 38%),
    #020304;
}

.finale__inner {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.finale h2 {
  max-width: 1280px;
  font-size: 6.4rem;
}

.email-link {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: clamp(1.5rem, 4vw, 3rem) 0;
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 7rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.email-link::after {
  display: block;
  width: 100%;
  height: clamp(4px, 0.6vw, 9px);
  margin-top: 0.2rem;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--signal));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(300px, 0.34fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  color: rgba(238, 246, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--mist);
  padding: 1rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.08);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

.footer-proof {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.4rem;
}

.footer-proof p {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: rgba(238, 246, 255, 0.72);
  line-height: 1.6;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.thank-you-card {
  position: relative;
  width: min(980px, 100%);
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 229, 255, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(255, 176, 0, 0.12), transparent 46%),
    rgba(3, 4, 6, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
}

.thank-you-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(130deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.thank-you-card > * {
  position: relative;
  z-index: 1;
}

.thank-you-card img {
  width: 142px;
  margin-bottom: 3rem;
  filter: brightness(0) invert(1);
}

.thank-you-card h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-head);
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thank-you-card p {
  max-width: 620px;
  margin: 1.5rem 0 2rem;
  color: rgba(238, 246, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.line-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.line-wrap > span {
  display: inline-block;
  transform: translateY(112%);
}

.reveal-line {
  opacity: 0;
  transform: translateY(18px);
}

@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: smooth !important;
  }

  .glitch-layer {
    animation: crt-roll-cycle 12s linear infinite, crt-flicker 1.45s steps(5, end) infinite !important;
  }

  .glitch-layer span {
    animation: crt-band-cycle 12s linear infinite !important;
  }
}

@media (max-width: 1120px) {
  .hero,
  .split-layout,
  .split-layout--reverse,
  .security__header,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-layout--reverse .section-title,
  .split-layout--reverse .copy-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .hero__panel {
    max-width: 720px;
  }

  .hero__title {
    font-size: 5.6rem;
  }

  .section-title {
    font-size: 4.8rem;
  }

  .finale h2 {
    font-size: 4.8rem;
  }

  .email-link {
    font-size: 5.2rem;
  }

  .service-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0.85rem 1rem;
  }

  .brand img {
    width: 112px;
  }

  .nav {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 120;
    justify-content: space-around;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(3, 4, 6, 0.86);
    backdrop-filter: blur(18px);
    font-size: 0.66rem;
  }

  .nav-cta {
    display: none;
  }

  .section {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 6rem;
  }

  .hero {
    min-height: 100vh;
    padding-top: 8rem;
  }

  .hero__eyebrow {
    position: static;
    grid-column: 1;
  }

  .hero__title {
    font-size: 3.35rem;
  }

  .section-title,
  .finale h2 {
    font-size: 3.15rem;
  }

  .thank-you-card h1 {
    font-size: 3.1rem;
  }

  .hero__copy,
  .copy-stack p,
  .security__header p {
    font-size: 1rem;
  }

  .stat-grid span {
    font-size: 3.2rem;
  }

  .service-card h3 {
    font-size: 2.4rem;
  }

  .quote-panel p {
    font-size: 2rem;
  }

  .security-grid h3 {
    font-size: 1.55rem;
  }

  .stat-grid,
  .service-grid,
  .security-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stat-grid div {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-grid div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 390px;
  }

  .service-card h3 {
    margin-top: 8rem;
  }

  .security-grid article {
    min-height: 220px;
  }

  .contact-form button {
    width: 100%;
  }

  .email-link {
    font-size: 2.35rem;
  }
}
