:root {
  --bg-deep: #071018;
  --bg: #0a1628;
  --bg-elevated: #102038;
  --ink: #e7eef8;
  --ink-muted: #9aafc4;
  --accent: #3dbeb0;
  --accent-strong: #2aa89a;
  --line: rgba(231, 238, 248, 0.12);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-deep);
  position: relative;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7be0d4;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(61, 190, 176, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(42, 98, 140, 0.28), transparent 50%),
    linear-gradient(165deg, #071018 0%, #0a1628 45%, #0d1c30 100%);
}

.atmosphere__glow {
  position: absolute;
  inset: 10% 5% auto auto;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 190, 176, 0.22), transparent 70%);
  filter: blur(8px);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 238, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 238, 248, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--space);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.brand--nav {
  font-size: 1.05rem;
}

.brand--hero {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 8vw, 4.75rem);
  line-height: 0.95;
  animation: rise 0.9s ease-out both;
}

.brand--footer {
  font-size: 1rem;
}

.header-contact {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-contact:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) var(--space) clamp(3rem, 10vh, 6rem);
  min-height: calc(100vh - 4.5rem);
  display: grid;
  align-content: center;
  position: relative;
}

.hero__headline {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  animation: rise 0.9s ease-out 0.12s both;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  animation: rise 0.9s ease-out 0.22s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  animation: rise 0.9s ease-out 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 0.35rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #04201c;
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: #58d0c3;
  color: #04201c;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: rgba(61, 190, 176, 0.55);
  color: var(--ink);
}

.hero__visual {
  position: absolute;
  right: var(--space);
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 20rem);
  aspect-ratio: 1;
  opacity: 0.9;
  animation: fade-in 1.2s ease 0.4s both;
  pointer-events: none;
}

.orbit {
  position: relative;
  width: 100%;
  height: 100%;
}

.orbit__ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(61, 190, 176, 0.35);
}

.orbit__ring--a {
  animation: spin 28s linear infinite;
  border-top-color: var(--accent);
  border-right-color: transparent;
}

.orbit__ring--b {
  inset: 24%;
  border-color: rgba(154, 175, 196, 0.25);
  border-bottom-color: rgba(61, 190, 176, 0.55);
  animation: spin 18s linear infinite reverse;
}

.orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18%;
  height: 18%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9af0e4, var(--accent-strong) 55%, #0a1628 100%);
  box-shadow: 0 0 40px rgba(61, 190, 176, 0.35);
}

.capabilities,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) var(--space);
}

.capabilities {
  border-top: 1px solid var(--line);
}

.capabilities h2,
.contact h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ink-muted);
}

.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.capability-list li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.capability-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.capability-list p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-muted);
}

.contact {
  border-top: 1px solid var(--line);
  padding-bottom: clamp(4rem, 10vh, 6rem);
}

.contact-email {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-email:hover {
  color: var(--accent);
  border-color: #7be0d4;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--space) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.footer-meta {
  opacity: 0.85;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 0.9; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-4%, 6%); }
}

@media (max-width: 860px) {
  .hero__visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(58vw, 14rem);
    margin: 2.5rem 0 0;
    opacity: 0.75;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand--hero,
  .hero__headline,
  .hero__lede,
  .hero__actions,
  .hero__visual,
  .orbit__ring--a,
  .orbit__ring--b,
  .atmosphere__glow {
    animation: none !important;
  }
}
