:root {
  --void: #02050a;
  --deep: #050b14;
  --panel: rgba(7, 17, 30, 0.7);
  --blue: #35a9ff;
  --cyan: #65dcff;
  --ice: #dff7ff;
  --white: #f5fbff;
  --muted: #8ba4b7;
  --line: rgba(101, 220, 255, 0.24);
  --line-strong: rgba(101, 220, 255, 0.62);
  --edge: clamp(10px, 1.5vw, 22px);
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier New", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--void);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background: var(--void);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}

.billboard {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(27px, 4vw, 60px) clamp(30px, 5vw, 78px) clamp(25px, 3vw, 46px);
  background:
    radial-gradient(circle at 70% 42%, rgba(24, 129, 219, 0.12), transparent 34%),
    linear-gradient(118deg, rgba(2, 5, 10, 0.97) 0%, rgba(2, 6, 12, 0.86) 53%, rgba(3, 11, 20, 0.93) 100%);
}

.billboard::before,
.billboard::after {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  content: "";
}

.billboard::before {
  inset: var(--edge);
  border: 1px solid rgba(101, 220, 255, 0.46);
  box-shadow: inset 0 0 34px rgba(53, 169, 255, 0.035), 0 0 22px rgba(53, 169, 255, 0.05);
}

.billboard::after {
  top: var(--edge);
  left: 10%;
  width: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: edge-scan 7s ease-in-out infinite;
}

#network-canvas,
.scanlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#network-canvas { z-index: -2; opacity: 0.92; }

.scanlines {
  z-index: 7;
  opacity: 0.13;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(139, 220, 255, 0.08) 3px 4px);
  mix-blend-mode: screen;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(28px, 5vh, 58px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 17px;
  box-shadow: 0 0 18px rgba(53, 169, 255, 0.25), inset 0 0 12px rgba(53, 169, 255, 0.12);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border: solid var(--white);
  content: "";
}

.brand-mark::before { top: -3px; left: -3px; border-width: 1px 0 0 1px; }
.brand-mark::after { right: -3px; bottom: -3px; border-width: 0 1px 1px 0; }

.brand-copy { display: grid; gap: 2px; }

.brand-copy strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
}

.brand-copy small,
.system-status {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.system-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--muted);
}

.status-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.status-divider { color: var(--blue); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(38px, 6vw, 100px);
}

.hero-copy { min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(17px, 2.4vh, 28px);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.27em;
}

.eyebrow-line {
  position: relative;
  width: clamp(34px, 4vw, 64px);
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--blue);
}

.eyebrow-line::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px var(--cyan);
  content: "";
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 7rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.067em;
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(176, 229, 255, 0.09);
}

h1 span { display: block; white-space: nowrap; }

h1 em {
  color: var(--ice);
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.075em;
  -webkit-text-stroke: 1px rgba(101, 220, 255, 0.65);
  text-shadow: 0 0 18px rgba(53, 169, 255, 0.48), 0 0 46px rgba(53, 169, 255, 0.2);
}

.intro {
  max-width: 610px;
  margin: clamp(22px, 3.2vh, 38px) 0 0;
  color: #c7dbe8;
  font-size: clamp(0.98rem, 1.25vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
}

.service-meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: clamp(16px, 2vh, 24px); }

.service-meta p {
  margin: 0;
  color: #7892a4;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.55;
  text-transform: uppercase;
}

.service-meta p:first-child,
.service-meta span { color: var(--cyan); }
.service-meta span { margin-inline: 5px; }

.phone-cta {
  position: relative;
  display: inline-grid;
  min-width: min(100%, 390px);
  gap: 4px;
  margin-top: clamp(26px, 4vh, 44px);
  padding: 13px 48px 14px 17px;
  border: 1px solid rgba(101, 220, 255, 0.34);
  background: rgba(4, 14, 26, 0.46);
  box-shadow: inset 3px 0 0 var(--cyan), 0 0 0 transparent;
  backdrop-filter: blur(6px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.phone-kicker {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.phone-number { font-size: clamp(1.55rem, 2.8vw, 3rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.04; }
.phone-number b { font-weight: 800; }

.cta-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 18px;
  transform: translateY(-50%);
}

.phone-cta:hover {
  border-color: var(--cyan);
  background: rgba(8, 27, 45, 0.72);
  box-shadow: inset 3px 0 0 var(--white), 0 0 34px rgba(53, 169, 255, 0.16);
  transform: translateX(5px);
}

.card-wrap { position: relative; z-index: 1; width: min(100%, 545px); margin: 0; justify-self: end; }

.card-wrap::before,
.card-wrap::after { position: absolute; pointer-events: none; content: ""; }

.card-wrap::before {
  z-index: -1;
  inset: 13% -8% -15% 14%;
  border: 1px solid rgba(53, 169, 255, 0.24);
  background: rgba(4, 13, 23, 0.35);
  transform: translate3d(var(--card-x, 0), var(--card-y, 0), 0);
  transition: transform 250ms ease-out;
}

.card-wrap::after {
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
}

.visual-header,
.card-wrap figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.visual-header { margin: 0 0 10px 2px; }
.visual-header span:last-child { color: var(--cyan); }

.card-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(101, 220, 255, 0.4);
  background: #03070b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), 0 0 52px rgba(53, 169, 255, 0.12);
  transform: perspective(900px) rotateY(-2deg) rotateX(1deg);
}

.card-frame::before,
.card-frame::after { position: absolute; z-index: 2; inset: 0; pointer-events: none; content: ""; }

.card-frame::before {
  background: linear-gradient(110deg, rgba(0, 33, 59, 0.18), rgba(73, 197, 255, 0.11), rgba(1, 9, 16, 0.36));
  mix-blend-mode: color;
}

.card-frame::after {
  z-index: 3;
  background: linear-gradient(105deg, transparent 26%, rgba(199, 239, 255, 0.18) 48%, transparent 67%);
  transform: translateX(-110%);
  animation: card-scan 6.5s ease-in-out 1.2s infinite;
}

.card-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) sepia(0.15) hue-rotate(155deg) saturate(2.7) contrast(1.15) brightness(0.82);
}

.card-wrap figcaption { margin-top: 13px; color: #7892a4; text-align: right; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(330px, 1.2fr) auto;
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(32px, 5vh, 60px);
  padding-top: 17px;
  border-top: 1px solid rgba(101, 220, 255, 0.22);
}

.footer-label {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.email-links { display: flex; flex-wrap: wrap; gap: 5px 18px; }

.email-links a,
.website-link {
  position: relative;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.email-links a::after,
.website-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.email-links a:hover,
.website-link:hover { color: var(--ice); text-shadow: 0 0 10px rgba(101, 220, 255, 0.65); }
.email-links a:hover::after,
.website-link:hover::after { transform: scaleX(1); }

.seo-copy {
  max-width: 680px;
  margin: 0;
  color: #718797;
  font-size: clamp(0.67rem, 0.72vw, 0.77rem);
  line-height: 1.55;
}

.website-link { justify-self: end; color: var(--cyan); font-weight: 700; letter-spacing: 0.13em; white-space: nowrap; }
.website-link span { margin-left: 8px; font-size: 16px; line-height: 0; }

.reveal { opacity: 0; animation: reveal-in 720ms cubic-bezier(0.16, 0.8, 0.3, 1) forwards; }
.reveal--one { animation-delay: 60ms; }
.reveal--two { animation-delay: 150ms; }
.reveal--three { animation-delay: 230ms; }
.reveal--four { animation-delay: 340ms; }
.reveal--five { animation-delay: 450ms; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes card-scan {
  0%, 67% { transform: translateX(-110%); }
  88%, 100% { transform: translateX(110%); }
}

@keyframes edge-scan {
  0% { transform: translateX(-180%); opacity: 0; }
  18% { opacity: 1; }
  72% { opacity: 0.8; }
  100% { transform: translateX(330%); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 1120px) {
  .billboard { padding-inline: clamp(38px, 5.5vw, 62px); }
  .hero { grid-template-columns: minmax(0, 1.18fr) minmax(270px, 0.82fr); gap: 42px; }
  h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); }
  .site-footer { grid-template-columns: 1fr 1.4fr; }
  .website-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 780px) {
  .billboard { display: block; min-height: 100svh; padding: 34px 34px 38px; }
  .site-header { align-items: flex-start; padding-bottom: 49px; }
  .system-status { max-width: 170px; flex-wrap: wrap; gap: 6px; text-align: right; }
  .hero { display: block; }
  h1 { font-size: clamp(2.65rem, 11.1vw, 5.5rem); line-height: 0.89; }
  h1 span { white-space: normal; }
  .card-wrap { width: min(87%, 510px); margin-top: 58px; justify-self: auto; }
  .site-footer { grid-template-columns: 1fr; align-items: start; margin-top: 70px; }
  .website-link { grid-column: auto; justify-self: start; }
}

@media (max-width: 520px) {
  :root { --edge: 8px; }
  .billboard { padding: 28px 24px 34px; }
  .site-header { padding-bottom: 42px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 6px; }
  .system-status { display: none; }
  .eyebrow { align-items: flex-start; font-size: 7px; line-height: 1.5; }
  h1 { font-size: clamp(2.62rem, 13.2vw, 4.25rem); line-height: 0.91; }
  .intro { font-size: 0.97rem; }
  .service-meta { display: grid; }
  .phone-cta { width: 100%; min-width: 0; }
  .phone-number { font-size: clamp(1.5rem, 7.3vw, 2.1rem); }
  .card-wrap { width: 94%; margin-top: 50px; }
  .visual-header,
  .card-wrap figcaption { font-size: 6px; }
  .card-wrap figcaption span:last-child { display: none; }
  .site-footer { gap: 30px; margin-top: 60px; }
  .email-links { display: grid; gap: 9px; }
}

@media (max-height: 790px) and (min-width: 781px) {
  .billboard { padding-block: 32px 28px; }
  .site-header { padding-bottom: 20px; }
  .hero { align-items: start; }
  h1 { font-size: clamp(3rem, 5.15vw, 5.6rem); }
  .intro { margin-top: 19px; }
  .phone-cta { margin-top: 23px; }
  .site-footer { margin-top: 24px; }
}

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

  .reveal { opacity: 1; filter: none; }
}
