:root {
  --ink: #071420;
  --ink-2: #0b1c2b;
  --panel: #10283a;
  --blue: #2ed4ff;
  --blue-2: #0ba8d4;
  --amber: #ffb253;
  --white: #f7fbfd;
  --muted: #a8bac6;
  --line: rgba(255, 255, 255, .13);
  --paper: #eef4f6;
  --paper-ink: #112635;
  --shell: min(1180px, calc(100% - 44px));
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; color: var(--ink); background: var(--blue);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 20, 32, .91);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 90px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 500; letter-spacing: .05em; font-size: .95rem; }
.brand-logo-link {
  padding: 5px 9px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 5px;
  box-shadow: 0 10px 35px rgba(0,0,0,.2);
}
.brand-logo { width: 154px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .875rem; font-weight: 600; }
.nav-links > a:not(.nav-cta) { color: #dce8ed; transition: color .2s ease; }
.nav-links > a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; transition: background .2s ease, color .2s ease; }
.nav-cta:hover { color: var(--ink); background: var(--white); }
.nav-toggle { display: none; }

.hero {
  min-height: 820px; height: 100svh; position: relative; isolation: isolate;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(46,212,255,.18) 0, rgba(46,212,255,.05) 21%, transparent 42%),
    radial-gradient(circle at 86% 22%, rgba(255,178,83,.12) 0, transparent 23%),
    linear-gradient(135deg, #030b12 0%, #0a2232 57%, #071420 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(46,212,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,212,255,.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 5%, rgba(0,0,0,.18) 42%, #000 100%);
}
.hero::after {
  content: "";
  position: absolute; z-index: -2; width: min(58vw, 720px); aspect-ratio: 1; right: -9vw; top: 8%;
  border: 1px solid rgba(46,212,255,.26); border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(46,212,255,.035),
    0 0 0 140px rgba(46,212,255,.025),
    0 0 110px rgba(46,212,255,.08);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,11,18,.74) 0%, rgba(3,11,18,.46) 46%, rgba(3,11,18,.04) 78%, rgba(3,11,18,.14) 100%),
    linear-gradient(0deg, rgba(3,11,18,.92) 0%, transparent 38%);
}
.fiber-lines { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .8; }
.fiber-lines span { position: absolute; left: -7%; width: 52%; height: 1px; background: linear-gradient(90deg, transparent, rgba(46,212,255,.8), transparent); transform: rotate(-7deg); }
.fiber-lines span::after { content: ""; position: absolute; right: 15%; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 20px var(--amber); }
.fiber-lines span:nth-child(1) { top: 27%; }
.fiber-lines span:nth-child(2) { top: 31%; left: -12%; opacity: .38; }
.fiber-lines span:nth-child(3) { top: 35%; left: -18%; opacity: .2; }
.hero-content { padding-top: 54px; }
.eyebrow, .kicker {
  margin: 0 0 22px; color: var(--blue); text-transform: uppercase;
  letter-spacing: .17em; font-weight: 800; font-size: .77rem;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: #d8e7ed; }
.eyebrow > span { width: 30px; height: 1px; background: var(--blue); }
.hero h1, .section h2 {
  margin: 0; font-family: var(--display); letter-spacing: -.045em; line-height: 1.02;
}
.hero h1 { max-width: 780px; font-size: clamp(3.35rem, 7.4vw, 6.9rem); font-weight: 600; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 610px; margin: 28px 0 34px; color: #c9d8df; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px; padding: 13px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  border: 1px solid transparent; border-radius: 4px; font-size: .88rem; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--blue); }
.button-primary:hover { background: #77e5ff; }
.button-ghost { border-color: rgba(255,255,255,.38); background: rgba(7,20,32,.28); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.hero-rail { position: absolute; inset: auto 0 0; background: rgba(4,15,24,.72); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.rail-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail-grid > div { min-height: 94px; padding: 20px 22px; display: flex; align-items: center; gap: 15px; border-right: 1px solid var(--line); }
.rail-grid > div:first-child { border-left: 1px solid var(--line); }
.rail-grid strong { color: var(--blue); font-family: var(--display); font-size: .8rem; }
.rail-grid span { color: #e1ebef; font-weight: 600; font-size: .86rem; }

.section { padding: 120px 0; }
.intro { color: var(--paper-ink); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.5fr .8fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section h2 { font-size: clamp(2.45rem, 4.7vw, 4.45rem); font-weight: 600; }
.section-heading > p { margin: 0 0 7px; color: #526875; font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #c8d5da; background: #c8d5da; gap: 1px; }
.service-card { position: relative; min-height: 300px; padding: 32px 30px; background: #f7fbfc; overflow: hidden; }
.service-card.featured { color: var(--white); background: var(--ink-2); }
.service-no { display: inline-block; margin-bottom: 58px; color: #5d7784; font-family: var(--display); font-size: .78rem; font-weight: 700; }
.featured .service-no { color: var(--blue); }
.service-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: 1.45rem; letter-spacing: -.025em; }
.service-card p { position: relative; z-index: 1; margin: 0; color: #58707c; font-size: .9rem; line-height: 1.7; }
.featured p { color: #b8cad3; }
.service-link { position: relative; z-index: 2; display: inline-flex; gap: 9px; margin-top: 20px; color: #087fa3; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.featured .service-link { color: var(--blue); }
.signal { position: absolute; right: -35px; bottom: -12px; width: 180px; height: 180px; opacity: .45; }
.signal i { position: absolute; right: 0; bottom: 0; border: 1px solid var(--blue); border-radius: 50%; }
.signal i:nth-child(1) { width: 50px; height: 50px; }
.signal i:nth-child(2) { width: 90px; height: 90px; }
.signal i:nth-child(3) { width: 130px; height: 130px; }
.signal i:nth-child(4) { width: 170px; height: 170px; }

.capabilities { background: #0a1a27; }
.capability-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.cap-copy > p:not(.kicker) { max-width: 570px; margin: 28px 0; color: var(--muted); }
.network-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.network-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; color: #d6e2e7; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.cap-panel { border-top: 1px solid rgba(46,212,255,.55); background: rgba(255,255,255,.025); }
.panel-label { margin: 0; padding: 18px 22px; color: var(--blue); border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 800; }
.cap-list { list-style: none; padding: 0; margin: 0; }
.cap-list li { min-height: 76px; padding: 18px 22px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.cap-list span { color: #668090; font-family: var(--display); font-size: .75rem; }
.cap-list strong { font-family: var(--display); font-size: 1rem; }
.cap-list i { color: #78909c; font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

.field-work { background: #06131e; }
.gallery-heading { display: grid; grid-template-columns: 1.45fr .75fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.gallery-heading h2 { max-width: 800px; }
.gallery-heading > p { margin: 0 0 7px; color: var(--muted); }
.work-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 12px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--panel); isolation: isolate; }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; z-index: 0; background: linear-gradient(transparent, rgba(3,11,18,.88)); pointer-events: none; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; color: #fff; font-family: var(--display); font-size: .88rem; font-weight: 600; letter-spacing: -.01em; }

.process { color: var(--paper-ink); background: #fff; }
.process-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 60px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #b9c8ce; }
.steps article { min-height: 260px; padding: 28px 28px 10px 0; border-right: 1px solid #d5e0e4; }
.steps article + article { padding-left: 28px; }
.steps article:last-child { border-right: 0; }
.steps span { display: block; margin-bottom: 55px; color: var(--blue-2); font-family: var(--display); font-weight: 700; font-size: .78rem; }
.steps h3 { margin: 0 0 12px; font-family: var(--display); font-size: 1.35rem; }
.steps p { margin: 0; color: #607480; font-size: .88rem; }

.emergency { padding-top: 0; color: var(--ink); background: #fff; }
.emergency-card { min-height: 340px; padding: 54px 60px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 28px; background: var(--blue); position: relative; overflow: hidden; }
.emergency-card::after { content: ""; position: absolute; width: 460px; height: 460px; right: -180px; top: -240px; border: 1px solid rgba(7,20,32,.18); border-radius: 50%; }
.emergency-card .kicker { color: var(--ink); }
.emergency-card h2 { max-width: 730px; font-size: clamp(2.1rem, 4.2vw, 4rem); }
.emergency-card p:not(.kicker) { max-width: 730px; margin: 18px 0 0; color: #17384a; }
.contact-details { margin-top: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.contact-details p { margin: 0 !important; display: flex; flex-direction: column; line-height: 1.25; }
.contact-details p strong { font-family: var(--display); font-size: 1rem; }
.contact-details p span { margin-top: 4px; color: #28546a; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-details a { color: var(--ink); font-size: .95rem; font-weight: 800; border-bottom: 1px solid rgba(7,20,32,.35); }
.contact-details a:hover { border-color: var(--ink); }
.contact-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.pulse-mark { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(7,20,32,.28); border-radius: 50%; }
.pulse-mark span { width: 11px; height: 11px; background: var(--ink); border-radius: 50%; box-shadow: 0 0 0 9px rgba(7,20,32,.11), 0 0 0 20px rgba(7,20,32,.06); }
.button-light { position: relative; z-index: 1; color: var(--white); background: var(--ink); white-space: nowrap; }
.button-light:hover { background: #17384a; }
.button-outline-dark { color: var(--ink); border-color: rgba(7,20,32,.45); background: transparent; white-space: nowrap; }
.button-outline-dark:hover { background: rgba(7,20,32,.08); border-color: var(--ink); }

.site-footer { padding: 72px 0 22px; background: #06111b; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .55fr .55fr; gap: 50px; padding-bottom: 60px; }
.footer-brand { width: fit-content; margin-bottom: 24px; box-shadow: none; }
.footer-logo { width: 184px; }
.footer-grid > div:first-child > p { max-width: 490px; color: var(--muted); font-size: .88rem; }
.footer-label { margin: 0 0 12px !important; color: #66808e !important; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem !important; font-weight: 800; }
.footer-grid p { margin: 0; font-size: .88rem; }
.footer-grid p span { color: var(--muted); }
.footer-grid a:not(.brand) { color: var(--blue); font-size: .9rem; font-weight: 700; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #6e8591; font-size: .72rem; letter-spacing: .04em; }
.footer-bottom p { margin: 0; }

.subpage-main { background: var(--paper); color: var(--paper-ink); }
.subpage-hero { position: relative; overflow: hidden; padding: 190px 0 100px; color: var(--white); background: linear-gradient(135deg, #030b12, #0a2638); }
.subpage-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: 30px; border: 1px solid rgba(46,212,255,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(46,212,255,.035); }
.subpage-hero .shell { position: relative; z-index: 1; }
.subpage-hero h1 { max-width: 900px; margin: 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -.05em; }
.subpage-hero .lead { max-width: 720px; margin: 26px 0 0; color: #c7d7df; font-size: 1.08rem; }
.content-section { padding: 90px 0; }
.content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }
.content-copy h2, .related-services h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
.content-copy h3 { margin: 34px 0 10px; font-family: var(--display); font-size: 1.3rem; }
.content-copy p { color: #49616e; }
.detail-panel { padding: 30px; color: var(--white); background: var(--ink-2); border-top: 2px solid var(--blue); }
.detail-panel h2 { margin: 0 0 20px; font-family: var(--display); font-size: 1.4rem; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #c3d2da; }
.detail-list li::before { content: "→"; margin-right: 10px; color: var(--blue); }
.page-cta { margin-top: 28px; }
.related-services { padding: 0 0 90px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a { min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: #0a1a27; font-family: var(--display); font-size: 1.05rem; }
.related-grid a span { color: var(--blue); }

@media (max-width: 980px) {
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-layout { grid-template-columns: 1fr; gap: 55px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 24px; }
  .work-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps article:nth-child(2) { border-right: 0; }
  .steps article:nth-child(3), .steps article:nth-child(4) { border-top: 1px solid #d5e0e4; }
  .steps article:nth-child(3) { padding-left: 0; }
  .emergency-card { grid-template-columns: 70px 1fr; }
  .emergency-card .button { grid-column: 2; justify-self: start; }
  .contact-actions { grid-column: 2; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .nav-wrap { height: 74px; }
  .brand-logo-link { padding: 4px 7px; }
  .brand-logo { width: 126px; }
  .footer-logo { width: 170px; }
  .nav-toggle {
    display: block; width: 42px; height: 42px; position: relative; z-index: 2;
    background: transparent; border: 1px solid var(--line); border-radius: 4px; color: white;
  }
  .nav-toggle > span:not(.sr-only) { position: absolute; left: 11px; width: 18px; height: 1px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .nav-toggle > span:first-child { top: 16px; }
  .nav-toggle > span:nth-child(2) { top: 24px; }
  .nav-toggle[aria-expanded="true"] > span:first-child { top: 20px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
  .nav-links {
    position: absolute; inset: 0 0 auto; padding: 92px 22px 26px; display: none;
    align-items: stretch; flex-direction: column; gap: 6px; background: rgba(7,20,32,.98); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; }
  .nav-cta { padding: 12px 14px !important; margin-top: 8px; text-align: center; }
  .hero { min-height: 790px; height: 100svh; align-items: flex-start; }
  .hero::before { background-size: 48px 48px; }
  .hero::after { width: 115vw; right: -58vw; top: 13%; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,11,18,.82), rgba(3,11,18,.36)), linear-gradient(0deg, rgba(3,11,18,.96), transparent 55%); }
  .hero-content { padding-top: 165px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-copy { max-width: 92%; font-size: 1rem; line-height: 1.6; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .hero-actions .button { justify-content: space-between; }
  .hero-rail { display: none; }
  .section { padding: 85px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .service-no { margin-bottom: 38px; }
  .work-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 10px; }
  .gallery-item, .gallery-item.gallery-wide, .gallery-item.gallery-tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery-item:first-child { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid #d5e0e4; }
  .steps article:nth-child(3), .steps article:nth-child(4) { border-top: 0; }
  .steps span { margin-bottom: 30px; }
  .emergency-card { width: 100%; padding: 42px 28px; grid-template-columns: 1fr; }
  .pulse-mark { width: 60px; height: 60px; }
  .emergency-card .button { grid-column: 1; }
  .contact-details { align-items: flex-start; flex-direction: column; }
  .contact-actions { grid-column: 1; width: 100%; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .subpage-hero { padding: 145px 0 75px; }
  .content-grid { grid-template-columns: 1fr; gap: 45px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-bottom { gap: 20px; flex-direction: column; }
}

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