:root {
  --bg: #eef4fb;
  --bg-deep: #dfe8f6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(27, 83, 155, 0.14);
  --text: #14233b;
  --muted: #5c6f88;
  --blue: #1d5dab;
  --blue-deep: #0d3f7e;
  --blue-soft: #4c86cb;
  --graphite: #7e8288;
  --shadow: 0 24px 80px rgba(24, 66, 122, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(76, 134, 203, 0.25), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(126, 130, 136, 0.22), transparent 22%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 42%, #f7fbff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 93, 171, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 93, 171, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  pointer-events: none;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 252, 255, 0.75);
  border: 1px solid rgba(29, 93, 171, 0.06);
  border-radius: 0 0 24px 24px;
  z-index: -1;
}

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

.brand img {
  width: clamp(85px, 11vw, 120px);
  display: block;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.38rem, 2.1vw, 1.83rem);
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.15;
}

.brand-tagline {
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  color: var(--graphite);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.site-nav a,
.contact-card,
.button {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    color 180ms ease, border-color 180ms ease;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue-deep);
  margin: 6px 0;
  border-radius: 999px;
}

.section {
  padding: 5.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 104px);
}

.eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.94;
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  max-width: 16ch;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.lead,
.story-body p,
.service-card p,
.industry-card p,
.timeline p,
.cta-panel p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.button {
  text-decoration: none;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button:hover,
.button:focus-visible,
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(16, 60, 116, 0.16);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.button-secondary {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(29, 93, 171, 0.14);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(76, 134, 203, 0.16), transparent 36%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(221, 233, 248, 0.85));
  border: 1px solid rgba(29, 93, 171, 0.12);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
}

.hero-visual::before {
  width: 420px;
  height: 420px;
  top: 90px;
  left: 70px;
  border: 1px solid rgba(29, 93, 171, 0.14);
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.36),
    0 0 0 68px rgba(29, 93, 171, 0.04);
}

.hero-visual::after {
  width: 16px;
  height: 16px;
  top: 290px;
  left: 274px;
  background: var(--blue);
  box-shadow:
    -110px -74px 0 0 rgba(29, 93, 171, 0.9),
    114px -78px 0 0 rgba(29, 93, 171, 0.7),
    -78px 132px 0 0 rgba(29, 93, 171, 0.72),
    128px 116px 0 0 rgba(29, 93, 171, 0.82),
    0 -156px 0 0 rgba(29, 93, 171, 0.55),
    0 162px 0 0 rgba(29, 93, 171, 0.55);
  animation: pulse 6s ease-in-out infinite;
}

.orbital {
  position: absolute;
  border-radius: 50%;
  border: 18px solid transparent;
}

.orbital-large {
  width: 520px;
  height: 260px;
  top: 180px;
  left: 30px;
  border-top-color: var(--blue);
  border-bottom-color: var(--blue-soft);
  transform: rotate(-18deg);
}

.orbital-small {
  width: 360px;
  height: 180px;
  top: 118px;
  left: 136px;
  border-top-color: rgba(126, 130, 136, 0.95);
  border-bottom-color: rgba(29, 93, 171, 0.82);
  transform: rotate(28deg);
}

.orbital-ring {
  width: 292px;
  height: 292px;
  top: 154px;
  left: 126px;
  border: 2px solid rgba(29, 93, 171, 0.26);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 60px rgba(29, 93, 171, 0.08);
}

.signal-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 93, 171, 0.14);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.signal-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.signal-card strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--blue-deep);
}

.signal-card-top {
  top: 96px;
  right: 22px;
}

.signal-card-bottom {
  bottom: 42px;
  left: 28px;
}

.signal-card-middle {
  top: 252px;
  right: 30px;
}

.quantum-grid {
  position: absolute;
  inset: 0;
}

.quantum-grid span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(29, 93, 171, 0.72);
  border-radius: 50%;
}

.quantum-grid span:nth-child(1) {
  top: 132px;
  left: 226px;
}

.quantum-grid span:nth-child(2) {
  top: 208px;
  left: 146px;
}

.quantum-grid span:nth-child(3) {
  top: 202px;
  left: 322px;
}

.quantum-grid span:nth-child(4) {
  top: 334px;
  left: 162px;
}

.quantum-grid span:nth-child(5) {
  top: 324px;
  left: 370px;
}

.quantum-grid span:nth-child(6) {
  top: 268px;
  left: 270px;
}

.quantum-grid span:nth-child(7) {
  top: 412px;
  left: 258px;
}

.quantum-grid span:nth-child(8) {
  top: 154px;
  left: 420px;
}

.section-split,
.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: start;
}

.section-heading {
  margin-bottom: 2rem;
}

.card-grid,
.industry-grid,
.timeline,
.contact-cards {
  display: grid;
  gap: 1.25rem;
}

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

.service-card,
.industry-card,
.timeline article,
.cta-panel,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-card,
.industry-card,
.timeline article {
  padding: 1.6rem;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(29, 93, 171, 0.14), rgba(126, 130, 136, 0.15));
  color: var(--blue-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: var(--text);
}

.service-card li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

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

.industry-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 93, 171, 0.18), transparent 70%);
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  position: relative;
}

.timeline span {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(29, 93, 171, 0.1);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-panel {
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(12, 41, 80, 0.94), rgba(29, 93, 171, 0.94)),
    linear-gradient(180deg, #fff, #fff);
}

.cta-panel::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 62%);
}

.cta-panel .eyebrow,
.cta-panel h2,
.cta-panel p {
  color: #f7fbff;
  position: relative;
  z-index: 1;
}

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

.contact-card {
  text-decoration: none;
  color: inherit;
  padding: 1.6rem;
}

.contact-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.contact-card strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--blue-deep);
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(29, 93, 171, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

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

@media (max-width: 1050px) {
  .hero,
  .section-split,
  .contact-layout,
  .card-grid,
  .industry-grid,
  .timeline,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .site-header {
    padding: 0.9rem 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand {
    gap: 0.65rem;
    max-width: calc(100% - 60px);
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0 0.25rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .section {
    padding: 4.2rem 0;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual::before {
    width: 260px;
    height: 260px;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow:
      0 0 0 18px rgba(255, 255, 255, 0.36),
      0 0 0 42px rgba(29, 93, 171, 0.04);
  }

  .hero-visual::after {
    top: 210px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow:
      -72px -48px 0 0 rgba(29, 93, 171, 0.9),
      72px -48px 0 0 rgba(29, 93, 171, 0.7),
      -52px 88px 0 0 rgba(29, 93, 171, 0.72),
      82px 76px 0 0 rgba(29, 93, 171, 0.82),
      0 -108px 0 0 rgba(29, 93, 171, 0.55),
      0 112px 0 0 rgba(29, 93, 171, 0.55);
  }

  .orbital-large {
    width: 320px;
    height: 160px;
    top: 160px;
    left: 50%;
    transform: translateX(-50%) rotate(-18deg);
    border-width: 12px;
  }

  .orbital-small {
    width: 220px;
    height: 108px;
    top: 120px;
    left: 50%;
    transform: translateX(-50%) rotate(28deg);
    border-width: 10px;
  }

  .orbital-ring {
    width: 188px;
    height: 188px;
    top: 138px;
    left: 50%;
    transform: translateX(-50%);
  }

  .signal-card {
    position: static;
    margin: 1rem;
  }

  .signal-card-top {
    margin-top: 1.2rem;
  }

  .quantum-grid {
    display: none;
  }

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