:root {
  --bg: #060d14;
  --bg-soft: #0b151f;
  --panel: rgba(10, 18, 28, 0.86);
  --panel-strong: rgba(8, 18, 29, 0.96);
  --line: rgba(77, 188, 255, 0.18);
  --line-strong: rgba(77, 188, 255, 0.42);
  --text: #eef9ff;
  --muted: #8ba5ba;
  --accent: #4fb8ff;
  --accent-bright: #8fdcff;
  --signal: #00a651;
  --signal-soft: rgba(0, 166, 81, 0.15);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --font-display: "Orbitron", sans-serif;
  --font-head: "DM Sans", sans-serif;
  --font-mono: "Fragment Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-head);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 184, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(0, 166, 81, 0.08), transparent 18%),
    linear-gradient(180deg, #07111a 0%, #060d14 48%, #04090e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(79, 184, 255, 0.04), transparent 18%, transparent 82%, rgba(0, 122, 33, 0.04));
  mix-blend-mode: screen;
}

main {
  position: relative;
  z-index: 1;
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.uplink-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 0;
  padding: 7px 14px;
  border-top: 1px solid rgba(79, 184, 255, 0.3);
  border-bottom: 1px solid rgba(79, 184, 255, 0.22);
  background: rgba(79, 184, 255, 0.04);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 18px 0 0;
  height: 74px;
  box-sizing: border-box;
  position: sticky;
  top: 16px;
  z-index: 10;
  border: 1px solid var(--line-strong);
  border-radius: 0 999px 999px 0;
  background: rgba(6, 16, 26, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(0, 122, 33, 0.12), 0 14px 42px rgba(0, 0, 0, 0.34);
}

/* Mobile menu overlay */
.site-nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: -1;
}

@media (max-width: 980px) {
  .site-nav.active::before {
    opacity: 1;
    pointer-events: auto;
  }
}

.site-header::before {
  content: "";
  position: absolute;
  left: 72px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 184, 255, 0.8), transparent);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 72px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 184, 255, 0.4), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: -1px;
  padding-left: 0;
  height: 100%;
  align-self: stretch;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.brand-mark {
  width: 72px;
  height: 100%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-left: -1px;
  background:
    linear-gradient(180deg, rgba(43, 140, 214, 0.16), rgba(43, 140, 214, 0.04)),
    linear-gradient(135deg, rgba(0, 122, 33, 0.12), transparent 55%);
  box-shadow: inset 0 0 24px rgba(79, 184, 255, 0.08);
  align-self: stretch;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  position: relative;
  z-index: 2;
}

.brand-lockup strong {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-lockup span,
.site-nav,
.eyebrow,
.card-index,
.panel-bar,
.signal-row span,
.detail-row span {
  font-family: var(--font-mono);
}

.brand-lockup span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a + a::before {
  content: " | ";
  color: var(--muted);
  margin: 0;
  opacity: 0.7;
}

.site-nav a {
  display: inline-block;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 10px rgba(79, 184, 255, 0.34);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 100;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  background: rgba(79, 184, 255, 0.08);
  border-color: var(--accent);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 26px;
  padding: 70px 0 36px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.signal-row,
.service-card,
.approach-card,
.detail-board,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-copy {
  padding: 42px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(79, 184, 255, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(0, 166, 81, 0.06), transparent 26%);
}

.hero-copy::after,
.hero-panel::after,
.service-card::after,
.approach-card::after,
.detail-board::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(120, 198, 255, 0.1);
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border-top: 1px solid rgba(79, 184, 255, 0.3);
  border-bottom: 1px solid rgba(79, 184, 255, 0.18);
  background: rgba(79, 184, 255, 0.05);
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.card-index,
.panel-bar,
.signal-row span,
.detail-row span {
  margin: 0 0 18px;
  color: #78c6ff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-family: var(--font-display);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(79, 184, 255, 0.12);
}

.hero-text {
  max-width: 100%;
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.75;
  font-size: 1.04rem;
}

.hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.hero-text.subdued,
.section-heading p,
.service-card p,
.approach-card p,
.detail-row,
.logo-notes p,
.contact-card p {
  color: var(--muted);
}

.hero-rule {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 30px;
}

.hero-rule span {
  height: 1px;
  background: var(--accent);
}

.hero-rule span:nth-child(1) {
  width: 72px;
}

.hero-rule span:nth-child(2) {
  width: 32px;
  opacity: 0.55;
}

.hero-rule span:nth-child(3) {
  width: 14px;
  opacity: 0.28;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #4aa9f0 0%, #0f6dad 100%);
  color: #eaf7ff;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(43, 140, 214, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
}

.panel-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.logo-chamber {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.logo-frame {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(79, 184, 255, 0.1), rgba(79, 184, 255, 0.02)),
    linear-gradient(135deg, rgba(0, 166, 81, 0.08), transparent 50%);
  overflow: hidden;
}

.logo-frame::before,
.logo-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(120, 198, 255, 0.16);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
}

.logo-frame::after {
  inset: auto 20px 20px auto;
  width: 64px;
  height: 64px;
  border: 0;
  border-right: 2px solid rgba(0, 166, 81, 0.55);
  border-bottom: 2px solid rgba(0, 166, 81, 0.55);
  clip-path: none;
}

.logo-frame img {
  width: min(100%, 280px);
  filter: drop-shadow(0 0 18px rgba(79, 184, 255, 0.18));
}

.logo-notes {
  display: grid;
  gap: 10px;
}

.logo-notes article {
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(86, 160, 214, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.logo-notes strong,
.signal-row strong,
.detail-row strong {
  display: block;
  margin-bottom: 6px;
}

.logo-notes p {
  color: var(--muted);
}

.panel-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.panel-stack {
  display: grid;
  gap: 18px;
}

.panel-group + .panel-group {
  padding-top: 18px;
  border-top: 1px solid rgba(79, 184, 255, 0.12);
}

.panel-label {
  margin: 0 0 12px;
  color: #78c6ff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(79, 184, 255, 0.24);
  border-radius: 999px;
  background: rgba(79, 184, 255, 0.06);
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 122, 33, 0.08), var(--shadow);
  clip-path: polygon(0 16px, 16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px));
}

.signal-row div {
  padding: 24px;
  border-right: 1px solid var(--line);
  position: relative;
}

.signal-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.signal-row div:last-child {
  border-right: 0;
}

.section {
  padding: 42px 0;
}

.inner-hero {
  padding: 54px 0 24px;
}

.inner-hero h1 {
  max-width: 100%;
  width: 100%;
}

.inner-hero .hero-text,
.inner-hero .wide-copy {
  max-width: none !important;
  width: 100% !important;
}

.wide-copy {
  max-width: none !important;
  width: 100% !important;
}


.wide-copy {
  max-width: none !important;
  width: 100% !important;
}

.hero-text {
  max-width: none !important;
  width: 100% !important;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 24px;
}

.section-heading.compact {
  max-width: 100%;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-family: var(--font-display);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.34rem;
  letter-spacing: -0.03em;
}

.service-grid,
.approach-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.approach-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.approach-card {
  padding: 28px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 14px, 14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px));
}

.card-topline {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(79, 184, 255, 0.22);
  background: rgba(79, 184, 255, 0.05);
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.inline-link {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(79, 184, 255, 0.4);
  text-underline-offset: 0.18em;
}

.obf-link {
  cursor: pointer;
}

.obf-email {
  cursor: default;
}
.inline-link:hover,
.inline-link:focus-visible {
  text-decoration-color: var(--accent-bright);
}

.service-card::before,
.approach-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(43, 140, 214, 0.08), transparent 35%);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.detail-board {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 16px, 16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px));
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}

.detail-row span {
  flex: 0 0 160px;
}

.detail-row strong {
  flex: 1 1 auto;
}

.detail-row:last-child {
  border-bottom: 0;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(79, 184, 255, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(0, 166, 81, 0.08), transparent 42%),
    var(--panel-strong);
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px));
}

.contact-actions .button {
  white-space: nowrap;
}
@media (max-width: 980px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .panel-group {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-top: 12px;
    background: var(--panel-strong);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms;
    z-index: 100;
  }

  .site-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    transition: background 180ms ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(79, 184, 255, 0.08);
  }

  .site-nav a + a::before {
    content: none;
  }

  .site-nav a:first-child {
    border-top: none;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .site-nav a:last-child {
    border-bottom: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .site-header {
    position: relative;
    border-radius: 0 28px 28px 0;
  }

  .site-header,
  .hero,
  .signal-row,
  .service-grid,
  .approach-grid,
  .contact-grid,
  .split-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-radius: 28px;
  }

  .site-header {
    align-items: center;
  }

  .signal-row div,
  .detail-row {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-row div:last-child,
  .detail-row:last-child {
    border-bottom: 0;
  }

  .detail-row,
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 12px;
  }

  .site-header {
    height: 64px;
    padding: 0 12px 0 0;
  }

  .brand {
    flex: 1;
  }

  .brand-mark {
    width: 56px;
  }

  .brand-lockup strong {
    font-size: 1.2rem;
  }

  .brand-lockup span {
    font-size: 0.65rem;
  }

  .uplink-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy,
  .hero-panel,
  .service-card,
  .approach-card,
  .contact-card {
    padding: 22px;
  }

  .detail-board {
    padding: 0;
  }

  h1 {
    font-size: 2.9rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .contact-actions,
  .section-actions {
    flex-direction: column;
    width: 100%;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .detail-row span {
    flex: none;
  }
}
