:root {
  --background: #06101c;
  --background-deep: #030912;
  --surface: rgba(10, 27, 45, 0.76);
  --surface-strong: #0b1d30;
  --border: rgba(138, 190, 238, 0.16);
  --border-bright: rgba(80, 201, 255, 0.32);
  --accent: #43d5ff;
  --accent-blue: #4a91ff;
  --accent-soft: #9ae9ff;
  --text: #f4f8fc;
  --muted: #9aafc2;
  --muted-strong: #c7d4df;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(30, 124, 201, 0.18), transparent 32rem),
    radial-gradient(circle at 84% 20%, rgba(24, 176, 215, 0.08), transparent 28rem),
    linear-gradient(150deg, var(--background) 0%, #071521 48%, var(--background-deep) 100%);
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(118, 190, 235, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 190, 235, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 0.35rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--text);
  color: var(--background);
  font-weight: 750;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.cover-banner {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.cover-image {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 12, 21, 0.72);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(67, 213, 255, 0.19), rgba(74, 145, 255, 0.06));
  box-shadow: inset 0 0 1.2rem rgba(67, 213, 255, 0.08);
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

nav a {
  position: relative;
  color: var(--muted-strong);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 180ms ease;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-link {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-link:hover {
  border-color: var(--accent);
  background: rgba(67, 213, 255, 0.08);
}

.hero {
  min-height: auto;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  animation: rise-in 700ms ease-out both;
}

.eyebrow,
.section-kicker {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}

.eyebrow span {
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

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

h1 {
  max-width: 17ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 6.2vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-role {
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.intro {
  max-width: 690px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 48px;
  padding: 0.86rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #58a8ff);
  box-shadow: 0 12px 34px rgba(43, 174, 236, 0.2);
  color: #03111c;
}

.button-primary:hover {
  box-shadow: 0 16px 42px rgba(43, 174, 236, 0.3);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
}

.button-secondary:hover {
  border-color: var(--border-bright);
  background: rgba(67, 213, 255, 0.055);
}

.systems-panel {
  position: relative;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: linear-gradient(150deg, rgba(13, 36, 58, 0.8), rgba(6, 18, 31, 0.74));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.03);
  animation: rise-in 700ms 120ms ease-out both;
}

.systems-panel::after {
  position: absolute;
  right: -30%;
  bottom: -45%;
  width: 19rem;
  aspect-ratio: 1;
  border: 1px solid rgba(67, 213, 255, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 5rem rgba(67, 213, 255, 0.04);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #9eecc1;
}

.live-status i {
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #58d994;
  box-shadow: 0 0 0 0.24rem rgba(88, 217, 148, 0.1);
}

.system-map {
  position: relative;
  height: 260px;
  margin-block: 1.2rem;
  border: 1px solid rgba(120, 195, 240, 0.08);
  border-radius: 0.8rem;
  background:
    linear-gradient(rgba(83, 178, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 178, 230, 0.045) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(67, 213, 255, 0.09), transparent 62%);
  background-size: 32px 32px, 32px 32px, auto;
}

.system-map::before,
.system-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 57%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(67, 213, 255, 0.8), transparent);
  transform-origin: center;
}

.system-map::before {
  transform: translate(-50%, -50%) rotate(35deg);
}

.system-map::after {
  transform: translate(-50%, -50%) rotate(-35deg);
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 3.4rem;
  min-height: 3.4rem;
  padding: 0.6rem;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 0.75rem;
  background: rgba(5, 18, 31, 0.9);
  box-shadow: 0 0 2rem rgba(67, 213, 255, 0.08);
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.node-core {
  top: 50%;
  left: 50%;
  min-width: 4.7rem;
  min-height: 4.7rem;
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(14, 65, 91, 0.95), rgba(5, 18, 31, 0.95));
  transform: translate(-50%, -50%);
}

.node-cloud {
  top: 14%;
  left: 12%;
}

.node-platform {
  top: 13%;
  right: 11%;
}

.node-security {
  right: 15%;
  bottom: 10%;
}

.focus-list {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  padding: 0.75rem 0.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--border);
}

.focus-list span,
.focus-list small {
  color: var(--muted);
  font-size: 0.65rem;
}

.focus-list strong {
  font-size: 0.78rem;
}

.about,
.expertise,
.projects,
.impact,
.contact {
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--border);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 9vw, 8rem);
}

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

h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.about-copy {
  padding-top: 2rem;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 1.5rem;
}

.section-heading-row {
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading-row > p {
  max-width: 26ch;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.expertise-card {
  position: relative;
  min-height: 330px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(12, 34, 55, 0.72), rgba(7, 20, 34, 0.72));
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.expertise-card::after {
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 12rem;
  aspect-ratio: 1;
  border: 1px solid rgba(67, 213, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.expertise-card:hover {
  border-color: var(--border-bright);
  background: linear-gradient(145deg, rgba(15, 42, 67, 0.82), rgba(7, 20, 34, 0.76));
  transform: translateY(-4px);
}

.card-number {
  margin-bottom: 3.2rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
}

.expertise-card p {
  max-width: 54ch;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

.tag-list {
  z-index: 2;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.tag-list li {
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(132, 191, 231, 0.13);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  font-size: 0.67rem;
  font-weight: 650;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 350px;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(67, 213, 255, 0.12), transparent 14rem),
    linear-gradient(150deg, rgba(12, 34, 55, 0.82), rgba(5, 16, 29, 0.86));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.project-card::after {
  position: absolute;
  right: -4.5rem;
  bottom: -4.5rem;
  width: 10rem;
  aspect-ratio: 1;
  border: 1px solid rgba(67, 213, 255, 0.08);
  border-radius: 1.8rem;
  content: "";
  transform: rotate(28deg);
}

.project-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.035);
  transform: translateY(-5px);
}

.project-card-topline {
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-number {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.project-status {
  padding: 0.42rem 0.62rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(154, 233, 255, 0.15);
  border-radius: 999px;
  background: rgba(67, 213, 255, 0.045);
  color: var(--accent-soft);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.project-status i {
  width: 0.38rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(67, 213, 255, 0.09);
}

.project-card h3 {
  max-width: 12ch;
}

.project-card p {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.project-card .tag-list {
  margin-top: auto;
}

.projects-cta {
  margin-top: 1rem;
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.018);
}

.projects-cta p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
  line-height: 1.55;
}

.impact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.metrics article {
  padding: 2rem 1.3rem;
  border-bottom: 1px solid var(--border);
}

.metrics article + article {
  border-left: 1px solid var(--border);
}

.metrics strong {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.metrics p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-actions {
  display: grid;
  align-content: center;
}

.contact-row {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 0.55fr 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 180ms ease, padding 180ms ease;
}

.contact-row:first-child {
  border-top: 1px solid var(--border);
}

.contact-row:hover {
  padding-inline: 0.6rem;
  border-color: var(--border-bright);
}

.contact-row span {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-row strong {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.contact-row i {
  color: var(--accent);
  font-style: normal;
}

.site-footer {
  padding-block: 1.8rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer a {
  color: var(--muted-strong);
  text-underline-offset: 0.25rem;
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one {
  top: 8%;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(67, 213, 255, 0.08);
  box-shadow: inset 0 0 8rem rgba(67, 213, 255, 0.035);
}

.ambient-two {
  bottom: -16rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  background: rgba(28, 104, 172, 0.05);
  filter: blur(2px);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero,
  .about,
  .impact,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .systems-panel {
    width: min(560px, 100%);
  }

  .about-copy {
    padding-top: 0;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 310px;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 30px, 1160px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .cover-banner {
    padding-top: 1rem;
  }

  .cover-image {
    border-radius: 0.8rem;
  }

  .brand-copy small {
    display: none;
  }

  .header-link {
    padding: 0.58rem 0.75rem;
  }

  .hero {
    padding-block: 4.5rem 5rem;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .systems-panel {
    padding: 0.9rem;
  }

  .system-map {
    height: 220px;
  }

  .node {
    min-width: 3rem;
    min-height: 3rem;
    font-size: 0.6rem;
  }

  .node-core {
    min-width: 4.1rem;
    min-height: 4.1rem;
  }

  .focus-list li {
    grid-template-columns: auto 1fr;
  }

  .focus-list small {
    display: none;
  }

  .expertise-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 300px;
  }

  .metrics article {
    padding-inline: 0;
  }

  .metrics article + article {
    border-left: 0;
  }

  .contact-row {
    grid-template-columns: 1fr auto;
  }

  .contact-row span {
    grid-column: 1 / -1;
  }

  .projects-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
