:root {
  --bg: #06111d;
  --bg-deep: #02060c;
  --panel: rgba(9, 20, 38, 0.78);
  --text: #f6f8fb;
  --muted: #9fb1c9;
  --line: rgba(180, 208, 255, 0.16);
  --cyan: #2fc2dd;
  --cyan-soft: rgba(47, 194, 221, 0.18);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(32, 87, 161, 0.3), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(47, 194, 221, 0.14), transparent 18%),
    linear-gradient(135deg, #081220 0%, #050b14 52%, #02060c 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at center, black 34%, transparent 100%);
}

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

.site-noise,
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-noise {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 48%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  opacity: 0.05;
}

.ambient-grid {
  background:
    radial-gradient(circle at 26% 54%, rgba(47, 194, 221, 0.08), transparent 28%),
    radial-gradient(circle at 76% 52%, rgba(104, 147, 255, 0.08), transparent 24%);
  animation: ambientPulse 10s ease-in-out infinite;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(20, 55, 100, 0.35), transparent 34%),
    linear-gradient(180deg, #07111d 0%, #030811 100%);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(64vw, 380px);
  aspect-ratio: 1;
}

.loader-word {
  position: relative;
  z-index: 1;
  font-family: "Bahnschrift", "Aptos", sans-serif;
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  letter-spacing: 0.2em;
  color: #ffffff;
  text-transform: uppercase;
  animation: loaderPulse 1s ease-in-out infinite alternate;
}

.loader-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(47, 194, 221, 0.34);
  animation: slowRotate 6s linear infinite;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.1rem, 2.4vw, 2.6rem);
  background: linear-gradient(180deg, rgba(3, 9, 18, 0.9), rgba(3, 9, 18, 0));
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wordmark-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark,
.kicker,
h1,
.header-link,
.button,
.stage-center span,
.service-pill {
  font-family: "Bahnschrift", "Aptos", sans-serif;
}

.wordmark {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  letter-spacing: 0.14em;
  line-height: 0.92;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #2fc2dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 22px rgba(47, 194, 221, 0.22);
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(47, 194, 221, 0.68);
  box-shadow: 0 0 0 6px rgba(47, 194, 221, 0.08);
}

.tagline {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  color: rgba(146, 203, 221, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.header-link,
.button,
.service-list span,
.service-pill {
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.header-link {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 18, 34, 0.72);
  color: #dbe6f7;
}

.header-link:hover,
.header-link:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.landing-shell {
  padding: 6.4rem clamp(1.1rem, 2.4vw, 2.6rem) 2rem;
  display: grid;
  gap: 1.4rem;
}

.hero {
  min-height: calc(100svh - 8.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  justify-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(1.4rem, 2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(8, 18, 33, 0.9), rgba(4, 10, 18, 0.68)),
    radial-gradient(circle at 72% 42%, rgba(47, 194, 221, 0.14), transparent 22%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  max-width: 34rem;
  width: 100%;
  animation: heroRise 0.9s ease both;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7fdded;
}

h1 {
  margin: 0;
  max-width: 7ch;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 31ch;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
}

.button-primary {
  color: #02121c;
  background: linear-gradient(135deg, #ffffff 0%, #5ed8e8 100%);
  box-shadow: 0 16px 38px rgba(47, 194, 221, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.service-list {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-list span,
.service-pill {
  border: 1px solid rgba(180, 208, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6f7;
}

.service-list span {
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
}

.service-list span:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 194, 221, 0.4);
}

.hero-stage {
  position: relative;
  min-height: min(72vh, 760px);
  display: grid;
  place-items: center;
  animation: heroRise 1.1s ease 0.08s both;
}

.stage-glow,
.stage-ring,
.hero-photo,
.stage-center,
.service-pill,
.stage-pill-group {
  position: absolute;
}

.stage-glow {
  border-radius: 50%;
  filter: blur(10px);
}

.stage-glow-large {
  width: min(36vw, 430px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(47, 194, 221, 0.16), transparent 68%);
  animation: breathe 7s ease-in-out infinite;
}

.stage-glow-small {
  width: min(20vw, 220px);
  aspect-ratio: 1;
  right: 18%;
  top: 18%;
  background: radial-gradient(circle, rgba(122, 168, 255, 0.22), transparent 70%);
  animation: floatY 8s ease-in-out infinite reverse;
}

.stage-frame {
  position: relative;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.stage-ring {
  inset: 0;
  border-radius: 50%;
}

.stage-ring-outer {
  border: 1px solid rgba(160, 197, 245, 0.16);
  box-shadow: inset 0 0 0 22px rgba(255, 255, 255, 0.012), var(--shadow);
}

.stage-ring-middle {
  inset: 12%;
  border: 1px solid rgba(47, 194, 221, 0.18);
  animation: slowRotate 18s linear infinite;
}

.hero-photo {
  inset: 16%;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  animation: floatY 8s ease-in-out infinite;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-center {
  left: 50%;
  bottom: 2%;
  width: min(72%, 320px);
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(180, 208, 255, 0.14);
  border-radius: 22px;
  background: rgba(7, 20, 38, 0.82);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.stage-center span {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-center small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.service-pill {
  padding: 0.9rem 1.05rem;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(7, 20, 38, 0.76);
  animation: pillPulse 6.4s ease-in-out infinite;
}

.pill-top-left {
  left: 7%;
  top: 17%;
}

.pill-top-right {
  right: 5%;
  top: 20%;
  animation-delay: 1.1s;
}

.pill-bottom-left {
  left: 10%;
  bottom: 23%;
  animation-delay: 2.2s;
}

.pill-bottom-right {
  right: 8%;
  bottom: 22%;
  animation-delay: 3.3s;
}

.approach-section,
.contact-section {
  display: grid;
  justify-items: center;
}

.approach-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.section-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(8, 18, 33, 0.88), rgba(4, 10, 18, 0.72)),
    radial-gradient(circle at 80% 20%, rgba(47, 194, 221, 0.1), transparent 22%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-copy,
.contact-card {
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
}

h2 {
  margin: 0;
  max-width: 10ch;
  font-family: "Bahnschrift", "Aptos", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.section-text {
  max-width: 34ch;
  margin: 1.2rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  color: var(--muted);
}

.capability-grid {
  padding: clamp(1rem, 1.8vw, 1.4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.capability-item {
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(180, 208, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transform: translateZ(0);
}

.capability-item strong {
  display: block;
  font-family: "Bahnschrift", "Aptos", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-item p {
  margin: 0.8rem 0 0;
  line-height: 1.6;
  color: var(--muted);
}

.contact-card {
  max-width: 780px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.contact-card h2,
.contact-card .section-text {
  max-width: none;
}

.contact-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 1.6rem;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #eef5ff;
  transition: transform 220ms ease, border-color 220ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 194, 221, 0.4);
}

.site-copyright {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(159, 177, 201, 0.78);
}

.stage-pill-group {
  inset: 0;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes ambientPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

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

@keyframes pillPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    border-color: rgba(180, 208, 255, 0.14);
  }
  50% {
    transform: translate3d(0, -6px, 0);
    border-color: rgba(47, 194, 221, 0.42);
  }
}

@keyframes loaderPulse {
  from {
    opacity: 0.72;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@media (max-width: 1180px) {
  .landing-shell {
    padding-bottom: 1.2rem;
  }

  .hero,
  .approach-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 1.8rem;
    padding: 1.6rem;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .hero-text,
  .section-text {
    max-width: 42ch;
  }

  .hero-actions,
  .service-list {
    justify-content: center;
  }

  .hero-stage {
    min-height: 520px;
    width: 100%;
  }

  .stage-frame {
    width: min(64vw, 520px);
  }

  .stage-glow-large {
    width: min(52vw, 420px);
  }

  .stage-glow-small {
    right: 14%;
    top: 12%;
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 1rem 1.1rem;
  }

  .landing-shell {
    padding: 5.9rem 1rem 1.2rem;
    gap: 1rem;
  }

  .hero,
  .section-card {
    border-radius: 26px;
  }

  .hero {
    padding: 1.15rem;
  }

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

  .stage-glow {
    display: none;
  }

  .stage-frame {
    width: min(100%, 420px);
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .stage-ring-outer,
  .stage-ring-middle,
  .hero-photo {
    position: relative;
    inset: auto;
  }

  .stage-ring-outer,
  .stage-ring-middle {
    grid-area: 1 / 1;
    width: min(100%, 320px);
    aspect-ratio: 1;
    margin: 0 auto;
  }

  .hero-photo {
    grid-area: 1 / 1;
    width: min(100%, 220px);
    aspect-ratio: 1;
    margin: 50px auto 0;
  }

  .stage-center {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 320px);
    margin-top: -36px;
    transform: none;
  }

  .stage-pill-group {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: min(100%, 360px);
    margin-top: 0.75rem;
  }

  .service-pill {
    position: static;
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    padding: 0.8rem 0.75rem;
    animation-duration: 5.8s;
  }

  .capability-grid {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem;
  }

  .header-link {
    display: none;
  }

  .landing-shell {
    padding: 5.8rem 1rem 1rem;
  }

  .hero {
    padding: 1.15rem;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2.8rem, 16vw, 4.8rem);
  }

  .hero-text {
    max-width: none;
  }

  .service-list {
    gap: 0.7rem;
  }

  .service-list span {
    padding: 0.75rem 0.9rem;
    font-size: 0.86rem;
  }

  .hero-stage {
    padding-top: 0.25rem;
  }

  .stage-frame {
    width: 100%;
  }

  .stage-center {
    width: 100%;
    margin-top: -28px;
  }

  .stage-pill-group {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .section-copy,
  .contact-card,
  .capability-grid {
    padding: 1.15rem;
  }

  .capability-item {
    padding: 1.05rem;
    border-radius: 20px;
  }

  .contact-link {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }

  .site-copyright {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 420px) {
  .tagline {
    letter-spacing: 0.22em;
    font-size: 0.65rem;
  }

  .button {
    width: 100%;
  }

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