:root {
  --bg: #070809;
  --bg-2: #0c0f12;
  --surface: rgba(15, 19, 24, 0.74);
  --surface-strong: rgba(20, 25, 32, 0.9);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.72);
  --soft: rgba(245, 247, 250, 0.52);
  --accent: #d3a25a;
  --accent-soft: rgba(211, 162, 90, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(211, 162, 90, 0.14), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #090b0d 0%, #060708 100%);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.02), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(211, 162, 90, 0.05), transparent 28%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ambient-a {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  left: -7rem;
  background: radial-gradient(circle, rgba(211, 162, 90, 0.28), transparent 68%);
  animation: floatA 18s ease-in-out infinite;
}

.ambient-b {
  width: 24rem;
  height: 24rem;
  right: -7rem;
  top: 12vh;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
  animation: floatB 22s ease-in-out infinite;
}

.ambient-c {
  width: 18rem;
  height: 18rem;
  bottom: -4rem;
  left: 36%;
  background: radial-gradient(circle, rgba(211, 162, 90, 0.14), transparent 70%);
  animation: floatC 26s ease-in-out infinite;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.28;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px clamp(20px, 3vw, 40px) 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(10, 12, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.brand-name,
.brand-sub,
.status-pill,
.eyebrow,
.footer p,
.spec-label {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
}

.brand-sub {
  margin-top: 2px;
  color: var(--soft);
  font-size: 0.69rem;
}

.status-pill {
  padding: 0.82rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 220px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  display: grid;
  gap: 0.08em;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(4rem, 10vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  width: fit-content;
  background: linear-gradient(180deg, #ffffff 0%, #cfd6de 60%, #8d97a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
  color: var(--muted);
}

.service-rail {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-rail span,
.spec-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
}

.service-rail span {
  border-radius: 999px;
  padding: 0.84rem 1rem;
  font-size: 0.78rem;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: chipFloat 10s ease-in-out infinite;
}

.service-rail span:nth-child(2) {
  animation-delay: 0.9s;
}

.service-rail span:nth-child(3) {
  animation-delay: 1.8s;
}

.contact-link {
  margin-top: 18px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(77, 211, 122, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(10, 12, 15, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 211, 122, 0.32);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(77, 211, 122, 0.12);
  border: 1px solid rgba(77, 211, 122, 0.16);
  color: #79f29b;
  flex: 0 0 auto;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-copy {
  display: grid;
  gap: 4px;
}

.contact-copy strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 20%, rgba(211, 162, 90, 0.2), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(18, 22, 29, 0.88), rgba(8, 9, 11, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual::before {
  background:
    linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.05) 50%, transparent 90%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.025));
  transform: translateX(-28%);
  animation: sweep 14s linear infinite;
  opacity: 0.7;
}

.hero-visual::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 18%, transparent 75%);
  opacity: 0.28;
}

.orbital {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 22px rgba(211, 162, 90, 0.06);
}

.orbital-1 {
  width: 320px;
  height: 320px;
  top: 64px;
  left: 54px;
  animation: orbit 18s linear infinite;
}

.orbital-2 {
  width: 220px;
  height: 220px;
  right: 50px;
  bottom: 88px;
  animation: orbitReverse 22s linear infinite;
}

.orbital-3 {
  width: 140px;
  height: 140px;
  top: 180px;
  right: 120px;
  border-color: rgba(211, 162, 90, 0.14);
  animation: pulseRing 7s ease-in-out infinite;
}

.spec-card {
  position: absolute;
  padding: 18px 18px 16px;
  min-width: 180px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  animation: drift 11s ease-in-out infinite;
}

.spec-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
}

.spec-label {
  color: var(--soft);
  font-size: 0.66rem;
  font-weight: 700;
}

.spec-card-a {
  top: 56px;
  right: 46px;
}

.spec-card-b {
  bottom: 118px;
  left: 36px;
  animation-delay: 0.8s;
}

.spec-card-c {
  right: 116px;
  bottom: 36px;
  animation-delay: 1.5s;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.footer p:first-child {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.footer p:last-child {
  font-size: 0.8rem;
  color: var(--soft);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 150ms;
}

.delay-3 {
  transition-delay: 240ms;
}

.delay-4 {
  transition-delay: 330ms;
}

@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, 24px, 0) scale(1.06); }
}

@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-20px, 12px, 0) scale(1.04); }
}

@keyframes floatC {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10px, -16px, 0) scale(1.08); }
}

@keyframes sweep {
  0% { transform: translateX(-35%); }
  100% { transform: translateX(35%); }
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

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

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

@media (max-width: 680px) {
  .page-shell {
    padding-top: 20px;
    gap: 26px;
  }

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

  .hero-title {
    font-size: clamp(3.3rem, 17vw, 5.8rem);
  }

  .hero-subtitle {
    line-height: 1.7;
    margin-top: 18px;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 26px;
  }

  .orbital-1 {
    width: 250px;
    height: 250px;
    top: 52px;
    left: 34px;
  }

  .orbital-2 {
    width: 176px;
    height: 176px;
    right: 34px;
    bottom: 56px;
  }

  .orbital-3 {
    width: 112px;
    height: 112px;
    top: 126px;
    right: 84px;
  }

  .spec-card {
    min-width: 150px;
    padding: 14px 14px 13px;
  }

  .spec-card-a {
    top: 28px;
    right: 18px;
  }

  .spec-card-b {
    left: 18px;
    bottom: 92px;
  }

  .spec-card-c {
    right: 22px;
    bottom: 22px;
  }

  .contact-link {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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