
:root {
  --bg: #05070d;
  --bg-soft: #090d17;
  --surface: rgba(14, 20, 34, 0.68);
  --line: rgba(125, 159, 255, 0.16);
  --line-strong: rgba(133, 175, 255, 0.34);
  --text: #f6f8ff;
  --muted: #9da8bc;
  --blue: #4d7cff;
  --blue-bright: #71b8ff;
  --blue-pale: #b8d9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 20%, rgba(50, 97, 255, 0.10), transparent 30%),
    radial-gradient(circle at 18% 74%, rgba(62, 142, 255, 0.08), transparent 26%),
    var(--bg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

::selection {
  background: var(--blue);
  color: white;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .8;
}

.ambient {
  position: fixed;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -2;
  opacity: .13;
}

.ambient-one {
  top: 12%;
  right: -15%;
  background: #246cff;
}

.ambient-two {
  bottom: 4%;
  left: -20%;
  background: #249eff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 13, .72);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 86px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: invert(1) brightness(1.3);
  opacity: .96;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  color: #cbd3e2;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: white;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.02);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: white;
  transition: transform .25s ease;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  padding: 150px 0 90px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 72px;
}

.kicker,
.section-label {
  margin: 0;
  color: var(--blue-bright);
  font-family: "Space Grotesk", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 7.4vw, 7.4rem);
  line-height: .94;
  letter-spacing: -.07em;
}

.hero h1 span,
.statement h2 span,
.contact h2 span {
  color: var(--blue-pale);
  text-shadow: 0 0 30px rgba(76, 134, 255, .30);
}

.hero-text {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button {
  min-height: 54px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
  font-size: .88rem;
  transform: translateZ(0);
  transition:
    transform .28s cubic-bezier(.2,.75,.25,1),
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.045);
}

.button:active {
  transform: translateY(-1px) scale(1.015);
}

.button-primary:hover {
  box-shadow: 0 18px 52px rgba(44, 112, 255, .28);
  filter: brightness(1.08);
}

.button-ghost:hover {
  background: rgba(113, 184, 255, .055);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #2858ff, #1a9cff);
  border-color: transparent;
  box-shadow: 0 14px 46px rgba(44, 102, 255, .18);
}

.button-ghost {
  background: rgba(255,255,255,.025);
}

.button-ghost:hover {
  border-color: var(--line-strong);
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 46px;
  color: #8390a6;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px var(--blue-bright);
}

.sigil-wrap {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.sigil-card {
  width: min(460px, 82vw);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 170, 255, .18);
  border-radius: 38%;
  background:
    radial-gradient(circle at 50% 42%, rgba(67, 124, 255, .13), transparent 40%),
    rgba(255,255,255,.018);
  transform: rotate(45deg);
  box-shadow:
    inset 0 0 90px rgba(42, 98, 255, .04),
    0 0 80px rgba(24, 77, 255, .05);
}

.sigil-card::before,
.sigil-card::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(116, 164, 255, .12);
  border-radius: 50%;
}

.sigil-card::after {
  inset: 23%;
  border-style: dashed;
  animation: spin 22s linear infinite;
}

.sigil-glow {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2266ff;
  filter: blur(70px);
  opacity: .20;
}

.hero-logo {
  width: 72%;
  position: relative;
  z-index: 2;
  transform: rotate(-45deg);
  filter: invert(1) brightness(1.28);
  opacity: .96;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}

.sigil-card:hover .hero-logo {
  transform: rotate(-45deg) scale(1.035);
  filter: invert(1) brightness(1.45) drop-shadow(0 0 16px rgba(104, 175, 255, .22));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(100, 156, 255, .14);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-a {
  width: 86%;
  aspect-ratio: 1;
  animation: spin 38s linear infinite;
}

.orbit-b {
  width: 64%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: spinReverse 28s linear infinite;
}

.rune {
  position: absolute;
  color: #8ec7ff;
  font-size: 1.2rem;
  text-shadow: 0 0 22px #5d9cff;
  transform: rotate(-45deg);
}

.rune-one { top: 10%; left: 45%; }
.rune-two { right: 12%; bottom: 20%; }
.rune-three { left: 12%; bottom: 34%; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 1px;
  height: 42px;
  background: rgba(255,255,255,.10);
  overflow: hidden;
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 14px;
  background: var(--blue-bright);
  animation: scrollLine 2s ease-in-out infinite;
}

.statement,
.capabilities,
.contact {
  padding: 140px 0;
}

.statement-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 70px;
}

.statement h2,
.section-head h2,
.contact h2,
.vision h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.statement h2,
.contact h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.statement-copy > p {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.capabilities {
  position: relative;
  background: rgba(7, 10, 18, .72);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 70px;
}

.section-head h2 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.capability-card {
  min-height: 330px;
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent),
    var(--surface);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.capability-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: #2b70ff;
  filter: blur(60px);
  opacity: 0;
  transition: opacity .3s ease;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.capability-card:hover::before {
  opacity: .18;
}

.card-index {
  color: #67758c;
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
}

.capability-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  letter-spacing: -.03em;
}

.capability-card p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.card-star {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #7bb6ff;
  text-shadow: 0 0 20px #317eff;
}

.vision {
  padding: 175px 0;
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(90, 151, 255, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(50, 113, 255, .025),
    0 0 0 180px rgba(50, 113, 255, .018);
}

.vision-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.vision-mark {
  color: #8dc5ff;
  font-size: 2rem;
  text-shadow: 0 0 24px #397cff;
}

.vision p {
  margin: 12px 0 24px;
  color: #7890b5;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .25em;
}

.vision h2 {
  max-width: 930px;
  margin-inline: auto;
  font-size: clamp(3rem, 6vw, 6rem);
}

.contact {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(38, 82, 255, .035), transparent);
}

.contact-panel {
  align-self: end;
  max-width: 680px;
}

.contact-panel > p:first-child {
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 35px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  transition: color .2s ease;
}

.contact-link:hover {
  color: var(--blue-bright);
}

.contact-note {
  margin-top: 14px !important;
  color: #667389 !important;
  font-size: .75rem !important;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  width: 150px;
}

footer p,
footer a {
  color: #67748a;
  font-size: .73rem;
}

footer a:hover {
  color: white;
}

.reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, 34px, 0);
  transition:
    opacity .85s cubic-bezier(.16,.8,.25,1),
    transform .85s cubic-bezier(.16,.8,.25,1),
    filter .85s cubic-bezier(.16,.8,.25,1);
  will-change: opacity, transform, filter;
}

.reveal-left {
  transform: translate3d(-38px, 12px, 0);
}

.reveal-right {
  transform: translate3d(38px, 12px, 0);
}

.reveal-scale {
  transform: scale(.955) translate3d(0, 20px, 0);
}

.reveal-up {
  transform: translate3d(0, 42px, 0);
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* Small interactive zooms keep the site feeling responsive without becoming playful. */
.capability-card h3,
.contact-link,
.nav-links a,
.brand {
  transition:
    transform .25s cubic-bezier(.2,.75,.25,1),
    color .2s ease,
    opacity .2s ease;
}

.nav-links a:hover {
  transform: scale(1.045);
}

.contact-link:hover {
  transform: translateX(4px) scale(1.008);
}

.brand:hover {
  transform: scale(1.025);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes scrollLine {
  0% { transform: translateY(-18px); }
  50%, 100% { transform: translateY(46px); }
}

@media (max-width: 920px) {
  .hero-grid,
  .statement-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero {
    padding-top: 125px;
  }

  .sigil-wrap {
    min-height: 420px;
  }

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

  .capability-card {
    min-height: 230px;
  }

  .statement-grid,
  .contact-grid,
  .section-head {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    width: 152px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 3;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    padding: 120px 28px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    background: rgba(5, 7, 13, .98);
    transform: translateY(-105%);
    transition: transform .35s ease;
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero-text {
    font-size: .98rem;
  }

  .hero-meta {
    gap: 12px 18px;
  }

  .sigil-wrap {
    min-height: 340px;
  }

  .sigil-card {
    width: min(320px, 76vw);
  }

  .statement,
  .capabilities,
  .contact {
    padding: 95px 0;
  }

  .vision {
    padding: 120px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    width: 140px;
  }
}

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

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


@media (min-width: 921px) {
  .sigil-wrap.visible {
    transform: translate3d(0, var(--scroll-y, 0px), 0);
  }
}


/* Header centered, without logo */
.site-header .shell.nav {
  justify-content: center;
}

.nav-links {
  justify-content: center;
}

@media (max-width: 700px) {
  .nav {
    justify-content: center;
  }

  .menu-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-button:hover {
    transform: translateY(-50%) scale(1.05);
  }
}
