/* ── SITE PRELOADER ─────────────────────────────── */

html.is-loading,
body.is-loading {
  overflow: hidden;
  height: 100%;
}

.site-preloader-wrap {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: #04040f;
  background-image: radial-gradient(circle at 50% 30%, rgba(0, 255, 209, 0.08), transparent 50%);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-preloader-wrap.fade-out {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader-wrap {
    transition: opacity 200ms ease;
  }
}

.card {
  --bg-color: #050707;
  --teal: #00e5e5;
  --teal-soft: rgba(0, 229, 229, 0.18);
  --white-soft: rgba(255, 255, 255, 0.72);

  position: relative;
  width: fit-content;
  min-width: 420px;
  padding: 1.15rem 1.45rem 1.25rem;
  border-radius: 1.25rem;
  overflow: hidden;

  background:
    radial-gradient(circle at 12% 0%, rgba(0, 229, 229, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--bg-color);

  border: 1px solid rgba(0, 229, 229, 0.22);

  box-shadow:
    inset 0 0 28px rgba(0, 229, 229, 0.055),
    0 0 40px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(0, 229, 229, 0.07);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 229, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
  opacity: 0.45;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 40%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 229, 0.08),
    transparent
  );
  transform: skewX(-18deg);
  animation: card-scan 3.8s ease-in-out infinite;
}

.loader {
  position: relative;
  z-index: 2;
  font-family: "Poppins", sans-serif;
}

.loader-text {
  display: flex;
  align-items: center;
  height: 42px;
  overflow: hidden;
}

.loader p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.loader p::after {
  content: "...";
  color: rgba(0, 229, 229, 0.9);
  animation: dots-pulse 1.2s infinite;
}

.words {
  position: relative;
  height: 42px;
  overflow: hidden;
  margin-left: 8px;
}

.words::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(
    var(--bg-color) 0%,
    transparent 28%,
    transparent 72%,
    var(--bg-color) 100%
  );
}

.word {
  display: block;
  height: 42px;
  line-height: 42px;
  color: var(--teal);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
  padding-left: 2px;

  text-shadow:
    0 0 10px rgba(0, 229, 229, 0.45),
    0 0 24px rgba(0, 229, 229, 0.22);

  animation: word-switch 5s infinite;
}

.loader-bar {
  position: relative;
  width: 100%;
  height: 4px;
  margin-top: 0.8rem;
  overflow: hidden;
  border-radius: 999px;

  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(0, 229, 229, 0.11), rgba(255, 255, 255, 0.03));

  box-shadow:
    inset 0 0 12px rgba(0, 229, 229, 0.12),
    0 0 20px rgba(0, 229, 229, 0.08);
}

.loader-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 16px
  );
  opacity: 0.22;
}

.loader-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  border-radius: inherit;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 229, 0.55),
    rgba(255, 255, 255, 0.95),
    rgba(0, 229, 229, 0.55),
    transparent
  );

  box-shadow:
    0 0 10px rgba(0, 229, 229, 0.75),
    0 0 28px rgba(0, 229, 229, 0.35);

  animation: bar-move 1.45s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes word-switch {
  0%,
  14% {
    transform: translateY(0);
  }

  20%,
  34% {
    transform: translateY(-42px);
  }

  40%,
  54% {
    transform: translateY(-84px);
  }

  60%,
  74% {
    transform: translateY(-126px);
  }

  80%,
  94% {
    transform: translateY(-168px);
  }

  100% {
    transform: translateY(-168px);
  }
}

@keyframes bar-move {
  0% {
    transform: translateX(-120%);
  }

  60% {
    transform: translateX(130%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes card-scan {
  0%,
  22% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  80%,
  100% {
    transform: translateX(420%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes dots-pulse {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .card {
    min-width: unset;
    width: 100%;
    padding: 1rem 1.15rem 1.15rem;
  }

  .loader p,
  .word {
    font-size: 19px;
  }

  .loader-text,
  .words,
  .word {
    height: 34px;
    line-height: 34px;
  }

  @keyframes word-switch {
    0%,
    14% {
      transform: translateY(0);
    }

    20%,
    34% {
      transform: translateY(-34px);
    }

    40%,
    54% {
      transform: translateY(-68px);
    }

    60%,
    74% {
      transform: translateY(-102px);
    }

    80%,
    94% {
      transform: translateY(-136px);
    }

    100% {
      transform: translateY(-136px);
    }
  }
}

/* ── SVG BACKGROUND ─────────────────────────────── */

.bg-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}

/* soft radial orbs */
.bg-orb {
  fill: none;
  filter: blur(60px);
  opacity: 0.07;
}
.bg-orb-1 {
  fill: #00ffd1;
  animation: orb-drift-1 18s ease-in-out infinite alternate;
}
.bg-orb-2 {
  fill: #ff00c8;
  animation: orb-drift-2 24s ease-in-out infinite alternate;
}
.bg-orb-3 {
  fill: #ffd166;
  animation: orb-drift-3 20s ease-in-out infinite alternate;
  opacity: 0.045;
}

/* faint grid lines */
.bg-line {
  stroke: rgba(0, 255, 209, 0.055);
  stroke-width: 1;
  animation: line-fade 12s ease-in-out infinite alternate;
}
.bg-line-v {
  animation-delay: 3s;
}

/* corner marks */
.bg-corner line {
  stroke: rgba(0, 255, 209, 0.22);
  stroke-width: 1.2;
  stroke-linecap: square;
  animation: corner-pulse 6s ease-in-out infinite alternate;
}

/* scanning line */
.bg-scan {
  stroke: rgba(0, 255, 209, 0.18);
  stroke-width: 1;
  animation: scan-down 10s linear infinite;
  filter: drop-shadow(0 0 4px rgba(0, 255, 209, 0.4));
}

/* floating data dots */
.bg-dot {
  fill: var(--cyan);
  opacity: 0;
  animation: dot-blink 4s ease-in-out infinite;
}
.d1 { animation-delay: 0s; }
.d2 { animation-delay: 1.4s; }
.d3 { animation-delay: 2.6s; }
.d4 { animation-delay: 0.8s; fill: var(--magenta); }
.d5 { animation-delay: 3.2s; fill: var(--gold); }

@keyframes orb-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4%, 6%) scale(1.12); }
}
@keyframes orb-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-5%, 4%) scale(0.9); }
}
@keyframes orb-drift-3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(3%, -5%) scale(1.08); }
}
@keyframes line-fade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}
@keyframes corner-pulse {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}
@keyframes scan-down {
  0%   { transform: translateY(-2%); opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(100vh); opacity: 0; }
}
@keyframes dot-blink {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  40%, 60%  { opacity: 0.7; transform: scale(1); }
}

/* ── BILAL STUDIO V2 CINEMATIC HERO ────────────── */
:root {
  --z-bg: -5;
  --z-overlays: -2;
  --z-glow: -1;
  --z-nav: 70;
  --z-content: 3;
  --z-holo: 5;
  --z-rail: 6;
  --hero-teal: #04d9df;
  --hero-teal-bright: #16f6ff;
  --hero-black: #020406;
  --hero-glass: rgba(2, 7, 9, 0.62);
  --hero-line: rgba(4, 217, 223, 0.36);
  --hero-dim-line: rgba(255, 255, 255, 0.12);
  --font-hero: "Barlow Condensed", "Syne", sans-serif;
}

.hero-nav {
  z-index: var(--z-nav);
  min-height: 6.85rem;
  padding: 2rem 2.85rem 1rem;
  background: transparent;
  border-bottom: 0;
}

.hero-nav.scrolled {
  background: linear-gradient(180deg, rgba(2, 4, 6, 0.88), rgba(2, 4, 6, 0.58));
  border-bottom-color: rgba(4, 217, 223, 0.12);
  backdrop-filter: blur(18px);
}

.hero-nav .brand {
  width: 12.1rem;
  min-height: 3.35rem;
}

.hero-nav .brand img {
  width: 10.65rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(4, 217, 223, 0.14));
}

.hero-nav .nav-links {
  position: absolute;
  top: 3.05rem;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.55rem, 3vw, 3.45rem);
  transform: translateX(-50%);
}

.hero-nav .nav-links a,
.nav-project,
.nav-spark {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.81rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}

.hero-nav .nav-links a:hover {
  color: var(--hero-teal-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-project {
  min-width: 12rem;
  padding: 1rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: rgba(0, 20, 22, 0.42);
  border: 1px solid rgba(4, 217, 223, 0.86);
  box-shadow: inset 0 0 24px rgba(4, 217, 223, 0.08), 0 0 24px rgba(4, 217, 223, 0.06);
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}

.nav-project:hover,
.nav-spark:hover {
  border-color: var(--hero-teal-bright);
  color: white;
  box-shadow: inset 0 0 30px rgba(4, 217, 223, 0.16), 0 0 30px rgba(4, 217, 223, 0.2);
}

.nav-spark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(2, 4, 6, 0.32);
  clip-path: polygon(28% 0, 72% 0, 100% 28%, 100% 72%, 72% 100%, 28% 100%, 0 72%, 0 28%);
}

.studio-hero {
  --hero-left: clamp(1.35rem, 4.9vw, 5.25rem);
  min-height: 100svh;
  aspect-ratio: auto;
  padding: 0;
  background: #020406;
  position: relative;
}

.studio-hero .hero-bg {
  z-index: var(--z-bg);
  opacity: 1;
  filter: saturate(1.08) contrast(1.08) brightness(0.58);
  object-position: 52% center;
}

.studio-hero .hero-overlay {
  z-index: var(--z-overlays);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 30%, rgba(0, 0, 0, 0.18) 61%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 23%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.08) 74%, rgba(0, 0, 0, 0.38) 100%),
    radial-gradient(circle at 26% 44%, rgba(255, 255, 255, 0.07), transparent 17rem),
    radial-gradient(circle at 82% 40%, rgba(4, 217, 223, 0.16), transparent 22rem);
}

.studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-overlays);
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.studio-hero.scanlines::after {
  z-index: var(--z-glow);
  opacity: 0.12;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(4, 217, 223, 0.15) 6px),
    linear-gradient(90deg, transparent, rgba(4, 217, 223, 0.05), transparent);
}

.hero-glow {
  position: absolute;
  z-index: var(--z-glow);
  pointer-events: none;
  border-radius: 999px;
  filter: blur(36px);
}

.hero-glow-left {
  left: 2rem;
  top: 51%;
  width: 32rem;
  height: 13rem;
  background: rgba(4, 217, 223, 0.08);
}

.hero-glow-right {
  right: 8.5rem;
  top: 33%;
  width: 23rem;
  height: 17rem;
  background: rgba(4, 217, 223, 0.12);
}

.hero-stage {
  position: relative;
  z-index: var(--z-content);
  min-height: 100svh;
  padding: clamp(7rem, 12vh, 11.4rem) var(--hero-left) clamp(5rem, 12vh, 8rem);
}

.studio-hero .hero-copy {
  position: relative;
  z-index: var(--z-content);
  width: min(51vw, 54rem);
  max-width: none;
  padding-top: clamp(2.8rem, 7.7vh, 5.4rem);
}

.hero-eyebrow {
  position: relative;
  width: fit-content;
  margin: 0 0 1.05rem;
  padding: 0.78rem 1.55rem 0.82rem;
  color: var(--hero-teal-bright);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 0.95vw, 1.05rem);
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  position: absolute;
  width: 0.42rem;
  height: 0.42rem;
  border-color: var(--hero-teal);
  border-style: solid;
}

.hero-eyebrow::before {
  left: 0;
  top: 0;
  border-width: 1px 0 0 1px;
}

.hero-eyebrow::after {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.studio-hero h1 {
  display: block;
  max-width: 54rem;
  color: #f6f8f8;
  font-family: var(--font-hero);
  font-size: clamp(5.2rem, 8.7vw, 9.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.74);
}

.studio-hero h1 span {
  display: block;
}

.studio-hero h1 em {
  color: var(--hero-teal);
  font-family: inherit;
  font-style: normal;
  text-shadow: 0 0 25px rgba(4, 217, 223, 0.25);
}

.hero-subtitle {
  max-width: 40rem;
  margin-top: 1.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 1.26vw, 1.28rem);
  font-weight: 400;
  line-height: 1.42;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.86);
}

.feature-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.05rem;
  width: min(55rem, 66vw);
  margin-top: 2.55rem;
}

.feature-chip {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  padding-right: 1.05rem;
}

.feature-chip + .feature-chip {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 1rem;
}

.chip-icon,
.rail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-teal);
  border: 1px solid rgba(4, 217, 223, 0.22);
  background: rgba(0, 0, 0, 0.28);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  box-shadow: inset 0 0 18px rgba(4, 217, 223, 0.08);
}

.chip-icon {
  width: 2.3rem;
  height: 2.3rem;
  font-size: 1.35rem;
}

.feature-chip strong,
.feature-chip small,
.systems-rail h2,
.systems-rail p,
.rail-lead strong,
.rail-visitors strong {
  text-transform: uppercase;
}

.feature-chip strong {
  display: block;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
}

.feature-chip small {
  display: block;
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.53);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 2.3rem;
  margin-top: 2.4rem;
}

.cyber-button {
  min-width: 16rem;
  min-height: 3.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.88rem 0.98rem 0.88rem 2.05rem;
  color: white;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(4, 217, 223, 0.38), rgba(1, 65, 69, 0.72));
  border: 1px solid rgba(22, 246, 255, 0.88);
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  box-shadow: inset 0 0 30px rgba(22, 246, 255, 0.16), 0 0 30px rgba(4, 217, 223, 0.22);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cyber-button:hover {
  transform: translateY(-2px);
  border-color: white;
  box-shadow: inset 0 0 34px rgba(22, 246, 255, 0.24), 0 0 44px rgba(4, 217, 223, 0.36);
}

.cyber-button:active {
  transform: translateY(0) scale(0.985);
}

.cyber-arrow {
  width: 2.05rem;
  height: 2.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-teal-bright);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 0.35rem;
  font-size: 1.25rem;
}

.text-button {
  position: relative;
  color: rgba(255, 255, 255, 0.91);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-button span {
  color: var(--hero-teal-bright);
  margin-left: 0.5rem;
}

.text-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--hero-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-button:hover::after {
  transform: scaleX(1);
}

.lumi-holo {
  position: absolute;
  z-index: var(--z-holo);
  top: 32.2%;
  right: 4.8%;
  width: min(22vw, 25rem);
  min-width: 18rem;
  padding: 1.55rem 1.7rem 1.15rem;
  color: white;
  background:
    linear-gradient(135deg, rgba(4, 217, 223, 0.08), transparent 36%),
    rgba(0, 8, 11, 0.34);
  border: 1px solid rgba(4, 217, 223, 0.48);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: inset 0 0 44px rgba(4, 217, 223, 0.06), 0 0 34px rgba(4, 217, 223, 0.12);
  transform: perspective(900px) rotateY(-6deg) rotateZ(-1deg);
  backdrop-filter: blur(5px);
}

.lumi-holo::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  pointer-events: none;
  border: 1px solid rgba(4, 217, 223, 0.1);
}

.lumi-holo p {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  line-height: 1;
}

.lumi-holo p strong {
  display: block;
  color: var(--hero-teal);
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lumi-holo p span {
  display: block;
  margin-top: 0.14rem;
  color: white;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lumi-holo dl {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.lumi-holo dl div {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  align-items: center;
  gap: 0.7rem;
}

.lumi-holo dt {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.lumi-holo dd {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.lumi-holo dd span {
  width: 1rem;
  color: var(--hero-teal);
  font-size: 1rem;
}

.holo-wave {
  position: relative;
  z-index: 1;
  height: 3.15rem;
  margin-top: 1rem;
  opacity: 0.95;
  background:
    radial-gradient(circle at 10% 72%, var(--hero-teal) 0 1px, transparent 1.8px),
    radial-gradient(circle at 24% 44%, var(--hero-teal) 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 70%, var(--hero-teal) 0 1px, transparent 1.8px),
    radial-gradient(circle at 52% 36%, var(--hero-teal) 0 1px, transparent 1.8px),
    radial-gradient(circle at 66% 58%, var(--hero-teal) 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 31%, var(--hero-teal) 0 1px, transparent 1.8px),
    linear-gradient(170deg, transparent 34%, rgba(4, 217, 223, 0.72) 35%, transparent 38%, transparent 49%, rgba(4, 217, 223, 0.62) 50%, transparent 53%);
  background-size: 22px 18px, 22px 18px, 22px 18px, 22px 18px, 22px 18px, 22px 18px, 100% 100%;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, no-repeat;
  mask-image: linear-gradient(to top, black, transparent 88%);
}

.systems-rail {
  position: absolute;
  z-index: var(--z-rail);
  left: var(--hero-left);
  right: var(--hero-left);
  bottom: clamp(5rem, 12vh, 8rem);
  display: grid;
  grid-template-columns: minmax(12rem, 1.22fr) repeat(4, minmax(8.2rem, 0.92fr)) minmax(13rem, 1.08fr);
  align-items: stretch;
  min-height: 7.1rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.26));
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 -18px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(9px);
}

.systems-rail::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 61%;
  width: 4.2rem;
  height: 2px;
  background: var(--hero-teal);
  box-shadow: 0 0 18px rgba(4, 217, 223, 0.52);
}

.systems-rail > * {
  min-width: 0;
  padding: 1.28rem 1.5rem;
}

.systems-rail > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.rail-lead p,
.rail-visitors p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.25;
}

.rail-lead strong {
  display: block;
  margin-top: 0.45rem;
  color: white;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.rail-lead span {
  color: var(--hero-teal);
}

.rail-lead i {
  display: block;
  width: 2.85rem;
  height: 0.28rem;
  margin-top: 0.95rem;
  background: repeating-linear-gradient(115deg, var(--hero-teal), var(--hero-teal) 2px, transparent 3px, transparent 6px);
}

.systems-rail article {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
}

.rail-icon {
  width: 2.1rem;
  height: 2.1rem;
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

.systems-rail h2 {
  margin: 0 0 0.3rem;
  color: white;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.systems-rail article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.25;
}

.rail-visitors {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.rail-visitors div {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.35rem);
  color: white;
}

.rail-visitors span,
.rail-visitors strong {
  color: white;
  font-size: 1.55rem;
  line-height: 1;
}

.rail-visitors strong {
  font-weight: 900;
  letter-spacing: 0.04em;
}

@media (min-width: 1280px) and (max-height: 850px) {
  .hero-stage {
    padding-top: 6.35rem;
  }

  .studio-hero .hero-copy {
    padding-top: 4.5rem;
  }

  .studio-hero h1 {
    font-size: clamp(5.8rem, 8.1vw, 8.7rem);
  }

  .feature-chips {
    margin-top: 2.25rem;
  }

  .hero-cta-row {
    margin-top: 2rem;
  }
}

@media (max-width: 1180px) {
  .hero-nav {
    padding-inline: 1.5rem;
  }

  .hero-nav .nav-links {
    gap: 1.15rem;
  }

  .nav-project {
    min-width: 10rem;
  }

  .studio-hero .hero-copy {
    width: min(62vw, 45rem);
  }

  .feature-chips {
    width: min(62rem, 83vw);
    flex-wrap: wrap;
  }

  .feature-chip + .feature-chip {
    border-left: 0;
    padding-left: 0;
  }

  .feature-chip {
    width: calc(50% - 0.55rem);
  }

  .lumi-holo {
    right: 2rem;
    width: 19rem;
  }

  .systems-rail {
    grid-template-columns: repeat(4, minmax(11rem, 1fr));
    overflow-x: auto;
  }

  .rail-lead,
  .rail-visitors {
    min-width: 16rem;
  }

  .systems-rail article {
    min-width: 15rem;
  }
}

@media (max-width: 920px) {
  .hero-nav {
    min-height: 5rem;
    padding: 1.1rem 1rem;
  }

  .hero-nav .brand {
    width: auto;
  }

  .hero-nav .brand img {
    width: 8.4rem;
  }

  .hero-nav .nav-links {
    display: none;
  }

  .nav-project {
    min-width: 0;
    padding: 0.82rem 1rem;
    font-size: 0.7rem;
  }

  .nav-spark {
    width: 2.6rem;
    height: 2.6rem;
  }

  .studio-hero {
    min-height: auto;
  }

  .studio-hero .hero-bg {
    object-position: 59% top;
  }

  .studio-hero .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.46) 34%, rgba(0, 0, 0, 0.88) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.62));
  }

  .hero-stage {
    min-height: 100svh;
    padding: 7.2rem 1rem 1.2rem;
  }

  .studio-hero .hero-copy {
    width: min(100%, 43rem);
    padding-top: 0;
  }

  .studio-hero h1 {
    font-size: clamp(2.65rem, 11.8vw, 3.55rem);
  }

  .feature-chips {
    width: 100%;
    margin-top: 1.8rem;
  }

  .lumi-holo {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 24rem);
    min-width: 0;
    max-width: 100%;
    margin-top: 2.2rem;
    transform: none;
  }

  .systems-rail {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    margin-top: 1.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .systems-rail > * {
    flex: 0 0 16.5rem;
    scroll-snap-align: start;
  }

  .systems-rail > * + * {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 620px) {
  .hero-nav {
    align-items: flex-start;
  }

  .hero-nav .brand img {
    width: 7rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-project {
    width: 7.6rem;
    min-height: 2.55rem;
    padding: 0.66rem 0.72rem;
    font-size: 0.62rem;
  }

  .nav-spark {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 0.78rem;
  }

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

  .hero-eyebrow {
    padding: 0.66rem 1rem;
    font-size: 0.62rem;
  }

  .studio-hero h1 {
    font-size: clamp(2.4rem, 10.5vw, 2.65rem);
    line-height: 0.9;
  }

  .hero-subtitle {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .feature-chip {
    width: 100%;
    grid-template-columns: 2.05rem minmax(0, 1fr);
  }

  .chip-icon {
    width: 2.05rem;
    height: 2.05rem;
  }

  .hero-cta-row {
    align-items: stretch;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.6rem;
  }

  .cyber-button {
    min-width: 0;
    width: min(100%, 18rem);
    min-height: 3.45rem;
  }

  .text-button {
    width: fit-content;
  }

  .lumi-holo {
    padding: 1.25rem;
  }

  .systems-rail {
    clip-path: none;
  }
}

/* ── COOKIE BANNER ──────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 5rem;
  left: 1rem;
  right: 1rem;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: rgba(8, 8, 22, 0.94);
  backdrop-filter: blur(20px);
  transition: opacity 280ms ease;
  max-width: 52rem;
}
@media (min-width: 600px) {
  .cookie-banner { bottom: 1.5rem; left: auto; right: 1.5rem; width: 480px; }
}
.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.cookie-banner a { color: var(--cyan); }
.cookie-actions { flex: 0 0 auto; }
.cookie-accept {
  padding: 0.5rem 1.2rem;
  background: var(--cyan);
  color: #04040f;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 180ms ease;
}
.cookie-accept:hover { background: var(--cyan-mid); }

/* ── SKIP LINK ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--cyan);
  color: #04040f;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0.5rem;
  transition: top 180ms ease;
}
.skip-link:focus { top: 0; }

/* ── FOCUS INDICATORS ───────────────────────────── */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}
/* remove default focus ring for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* ── ROOT ───────────────────────────────────────── */
:root {
  --bg: #04040f;
  --bg-alt: #080816;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --quiet: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --card: rgba(255, 255, 255, 0.045);
  --cyan: #00ffd1;
  --cyan-mid: #00c8c0;
  --magenta: #ff00c8;
  --gold: #ffd166;
  --red: #ff3b36;
  --max: 1320px;
  --pad: 1.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "Space Mono", monospace;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 15% 5%, rgba(0, 255, 209, 0.1), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(255, 0, 200, 0.08), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.75rem;
  padding: 0.9rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-nav.scrolled {
  background: rgba(4, 4, 15, 0.76);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-links {
  display: none;
}

.nav-links a,
.availability,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-links a,
.availability {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.availability:hover {
  color: var(--cyan);
}

.availability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  max-width: 9.8rem;
  padding: 0.7rem 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.pulse-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 255, 209, 0.72);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 6.4rem 0 3.8rem;
  isolation: isolate;
}

#hero-canvas,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

#hero-canvas {
  z-index: -4;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-bg {
  display: block;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.06);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(4, 4, 15, 0.64), rgba(4, 4, 15, 0.12) 42%, #04040f 94%),
    linear-gradient(90deg, rgba(4, 4, 15, 0.98), rgba(4, 4, 15, 0.62) 48%, rgba(4, 4, 15, 0.2));
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(255, 255, 255, 0.025) 40px
  );
}

.hero-inner,
.section-inner,
.footer-inner,
.footer-bar {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.hero-inner {
  display: flex;
  min-height: calc(100svh - 10.2rem);
  flex-direction: column;
  justify-content: center;
}

.hero-live {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.95rem;
  max-width: 42rem;
  margin-bottom: 1.8rem;
  color: var(--cyan);
}

.hero-live span {
  position: relative;
}

.hero-live span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.56rem;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  opacity: 0.45;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.hero-copy {
  max-width: 58rem;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hero h1 {
  display: grid;
  gap: 0.06em;
  font-size: 1rem;
  line-height: 0.94;
}

.hero h1 span {
  display: block;
}

.gradient-italic {
  background: linear-gradient(92deg, var(--cyan), var(--magenta) 52%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.hero-copy p {
  max-width: 38rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.68;
}

.hero-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 43rem;
  margin-top: 1.35rem;
}

.trust-chips span {
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.72rem;
  background: rgba(0, 255, 209, 0.045);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 34px rgba(0, 255, 209, 0.25);
}

.btn-primary:hover {
  background: var(--cyan-mid);
  box-shadow: 0 0 52px rgba(0, 255, 209, 0.38);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(0, 255, 209, 0.5);
  color: var(--cyan);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.orb-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 24rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 80px rgba(0, 255, 209, 0.08), 0 0 70px rgba(0, 255, 209, 0.12);
}

.orb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.15) contrast(1.08);
}

.orb-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 15, 0.82), transparent 56%);
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 209, 0.46);
  box-shadow: 0 0 70px rgba(0, 255, 209, 0.38), inset 0 0 42px rgba(255, 0, 200, 0.16);
  transform: translate(-50%, -50%);
  animation: breathe 4.2s ease-in-out infinite;
}

.corner {
  position: absolute;
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border-color: rgba(0, 255, 209, 0.42);
  border-style: solid;
}

.corner.tl {
  top: 1rem;
  left: 1rem;
  border-width: 1px 0 0 1px;
}

.corner.tr {
  top: 1rem;
  right: 1rem;
  border-width: 1px 1px 0 0;
}

.corner.bl {
  bottom: 1rem;
  left: 1rem;
  border-width: 0 0 1px 1px;
}

.corner.br {
  right: 1rem;
  bottom: 1rem;
  border-width: 0 1px 1px 0;
}

.hero-stack-card {
  position: relative;
  z-index: 4;
  width: min(100%, 22rem);
  margin: -5rem auto 0;
  border: 1px solid rgba(0, 255, 209, 0.24);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(4, 4, 15, 0.78);
  box-shadow: 0 0 46px rgba(0, 255, 209, 0.11);
  backdrop-filter: blur(18px);
}

.hero-stack-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-stack-card li {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.2;
}

.marquee {
  overflow: hidden;
  padding: 2rem 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0.6rem;
  padding-inline: 0.3rem;
  animation: marquee 22s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

.marquee span:nth-child(odd):not(.marquee-dot) {
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
}

.marquee-dot {
  border: none !important;
  background: none !important;
  padding-inline: 0.2rem !important;
  color: var(--cyan) !important;
  -webkit-text-stroke: 0 !important;
  opacity: 0.45;
}

.section {
  padding-block: 5rem;
  position: relative;
}

.section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(8, 8, 22, 0), rgba(8, 8, 22, 0.5), rgba(8, 8, 22, 0));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 1.35rem;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.hero-live::before,
.cta .eyebrow::before {
  content: none;
}

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

.section-heading h2,
.about-copy h2 {
  max-width: 58rem;
  font-size: 1.6rem;
  line-height: 0.98;
}

.section-heading p,
.about-copy p,
.cta p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.split > p,
.split .text-link {
  max-width: 24rem;
}

.text-link {
  align-self: end;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.problem-grid,
.proof-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.metric-card,
.bento-card,
.step,
.proof-stat,
.testimonial {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--card);
  backdrop-filter: blur(14px);
}

.metric-card,
.bento-card,
.step,
.testimonial {
  padding: 1.35rem;
}

.metric-card {
  display: grid;
  min-height: 17rem;
  align-content: space-between;
  gap: 1.5rem;
}

.metric-card::before,
.bento-card::before,
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 78%) var(--my, 18%), rgba(0, 255, 209, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 3;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 15, 0.95) 0%, rgba(4, 4, 15, 0.6) 45%, rgba(4, 4, 15, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.metric-card:hover::before,
.bento-card:hover::before,
.testimonial:hover::before {
  opacity: 1;
}

.card-top,
.card-index,
.step small,
.proof-stat span,
.testimonial cite,
.cta-meta,
.footer h2,
.footer-bar {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.metric-card strong {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.metric-card strong.magenta {
  color: var(--magenta);
}

.metric-card strong.white {
  color: var(--ink);
}

.metric-card p,
.bento-card p,
.step p,
.testimonial p,
.footer p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
}

.bento {
  display: grid;
  gap: 1rem;
}

.bento-card {
  min-height: 17rem;
  padding: 0;
}

.bento-card.large {
  min-height: 28rem;
}

.bento-card .card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.75;
  transition: transform 500ms ease, opacity 300ms ease;
}

.bento-card:hover .card-bg {
  transform: scale(1.04);
  opacity: 0.9;
}

.card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.35rem;
  z-index: 2;
}

.bento-card h3,
.step h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bento-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.bento-card.large h3 {
  font-size: 2.8rem;
}

.ring-system {
  position: absolute;
  top: 3.4rem;
  right: 1.15rem;
  width: 14rem;
  max-width: 58%;
  aspect-ratio: 1;
  z-index: 2;
}

.ring-system span {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 50%;
}

.ring-system span:nth-child(1) {
  border-top-color: var(--cyan);
  border-right-color: rgba(0, 255, 209, 0.24);
  animation: spin 13s linear infinite;
}

.ring-system span:nth-child(2) {
  inset: 1.3rem;
  border-bottom-color: var(--magenta);
  border-left-color: rgba(255, 0, 200, 0.26);
  animation: spin 18s linear infinite reverse;
}

.ring-system span:nth-child(3) {
  inset: 4rem;
  border: 0;
  background: radial-gradient(circle, var(--cyan), rgba(0, 255, 209, 0.12) 62%, transparent);
  filter: blur(8px);
}

.tags,
.market-list,
.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tags {
  margin-top: 1.4rem;
}

.tags span,
.market-list span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-section,
.axo-section,
.packages-section {
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.lumi-section,
.docs-section {
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line);
}

.system-section::before,
.lumi-section::before,
.axo-section::before,
.docs-section::before,
.packages-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.system-section::before {
  background:
    radial-gradient(circle at 14% 16%, rgba(0, 255, 209, 0.11), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%);
}

.lumi-section::before {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 0, 200, 0.12), transparent 30rem),
    radial-gradient(circle at 82% 58%, rgba(0, 255, 209, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(8, 8, 22, 0.2), rgba(4, 4, 15, 0.82));
}

.axo-section::before {
  background:
    linear-gradient(rgba(0, 255, 209, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 209, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 72% 12%, rgba(0, 255, 209, 0.1), transparent 24rem);
  background-size: 48px 48px, 48px 48px, auto;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 82%, transparent);
}

.docs-section::before {
  background:
    radial-gradient(circle at 10% 70%, rgba(255, 209, 102, 0.07), transparent 24rem),
    radial-gradient(circle at 90% 22%, rgba(0, 255, 209, 0.09), transparent 26rem);
}

.packages-section::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 209, 0.1), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.system-grid,
.package-grid,
.lumi-features {
  display: grid;
  gap: 0.9rem;
}

.system-card,
.package-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(4, 4, 15, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.system-card {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem;
}

.system-card::before,
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mx, 78%) var(--my, 18%), rgba(0, 255, 209, 0.16), transparent 48%),
    linear-gradient(135deg, rgba(0, 255, 209, 0.045), rgba(255, 0, 200, 0.03));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.system-card::after,
.package-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 209, 0.55), transparent);
  opacity: 0.52;
}

.system-card:hover::before,
.package-card:hover::before {
  opacity: 1;
}

.system-card:hover,
.package-card:hover {
  border-color: rgba(0, 255, 209, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.024)),
    rgba(4, 4, 15, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 58px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.system-card h3,
.package-card h3,
.lumi-copy h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.system-card h3 {
  font-size: 1.34rem;
}

.system-card p,
.package-card p,
.lumi-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
}

.system-card.compact {
  min-height: 0;
  gap: 1rem;
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(0, 255, 209, 0.075), rgba(255, 0, 200, 0.035)),
    rgba(4, 4, 15, 0.68);
}

.system-card.compact h3 {
  font-size: 1.08rem;
}

.system-section .system-card:nth-child(3),
.system-section .system-card:nth-child(4) {
  border-color: rgba(0, 255, 209, 0.17);
}

.lumi-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 209, 0.22);
  border-radius: 1.15rem;
  padding-block: 2.2rem;
  background:
    linear-gradient(135deg, rgba(0, 255, 209, 0.08), transparent 34%),
    radial-gradient(circle at 18% 15%, rgba(255, 0, 200, 0.13), transparent 25rem),
    radial-gradient(circle at 88% 70%, rgba(0, 255, 209, 0.14), transparent 24rem),
    rgba(4, 4, 15, 0.76);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.lumi-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(0, 255, 209, 0.13), transparent),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.026) 55px 56px);
  opacity: 0.46;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.lumi-panel::after {
  content: "";
  position: absolute;
  right: -6rem;
  top: -7rem;
  width: 22rem;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 209, 0.12), transparent 64%);
  filter: blur(1px);
  opacity: 0.78;
  pointer-events: none;
}

.lumi-copy,
.lumi-features {
  position: relative;
  z-index: 1;
}

.lumi-copy {
  padding-inline: var(--pad);
}

.lumi-copy h2 {
  max-width: 54rem;
  font-size: 2rem;
}

.lumi-copy p:not(.eyebrow) {
  max-width: 52rem;
  margin-top: 1.2rem;
}

.lumi-copy .hero-actions {
  margin-top: 2rem;
}

.lumi-copy .btn-primary {
  box-shadow: 0 0 42px rgba(0, 255, 209, 0.22), 0 12px 34px rgba(0, 0, 0, 0.18);
}

.lumi-features {
  padding-inline: var(--pad);
}

.axo-section .section-heading {
  margin-bottom: 2.2rem;
}

.system-section .section-heading h2,
.axo-section .section-heading h2,
.docs-section .section-heading h2,
.packages-section .section-heading h2 {
  font-size: clamp(1.7rem, 6vw, 4rem);
  line-height: 1.02;
  text-transform: none;
  overflow-wrap: normal;
}

@media (min-width: 700px) {
  .system-section .section-heading h2,
  .axo-section .section-heading h2,
  .docs-section .section-heading h2,
  .packages-section .section-heading h2 {
    text-transform: uppercase;
    overflow-wrap: break-word;
    line-height: 0.98;
  }
}

.axo-section .section-heading > div p {
  max-width: 44rem;
  margin-top: 1.2rem;
}

.axo-section .system-card {
  min-height: 18rem;
}

.axo-section .system-card h3,
.docs-section .system-card h3 {
  color: var(--cyan);
}

.docs-section .system-card {
  min-height: 14rem;
}

.package-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.45rem;
}

.package-card.featured {
  border-color: rgba(0, 255, 209, 0.38);
  background:
    linear-gradient(145deg, rgba(0, 255, 209, 0.095), rgba(255, 0, 200, 0.035)),
    rgba(4, 4, 15, 0.76);
  box-shadow: 0 0 58px rgba(0, 255, 209, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.package-card:first-child {
  border-color: rgba(255, 209, 102, 0.2);
}

.package-card:first-child li::before {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

.package-card h3 {
  margin-top: 0.8rem;
  font-size: 1.62rem;
}

.package-card p {
  margin-top: 0.8rem;
}

.package-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.package-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 255, 209, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .lumi-panel::after {
    animation: lumi-drift 9s ease-in-out infinite alternate;
  }
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 15, 0.9), transparent 58%);
  pointer-events: none;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.step {
  min-height: 18rem;
}

.step-num-wrap {
  display: block;
  position: relative;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 0.85;
  user-select: none;
}

.step-num-ghost {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}

.step-num-fill {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(0, 255, 209, 0.5);
  transition: clip-path 0.1s linear;
  will-change: clip-path;
}

.step h3 {
  margin-bottom: 1rem;
}

.step small {
  display: inline-flex;
  margin-top: 1.25rem;
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--cyan);
  background: rgba(0, 255, 209, 0.035);
}

.promise {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  margin-top: 3.2rem;
  text-align: center;
}

.promise strong {
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.promise span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-tab {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(4rem, 4.6rem) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 8.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 220ms ease, padding 220ms ease, border-color 220ms ease;
}

.work-tab::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 255, 209, 0.08), transparent 54%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.work-tab:hover {
  border-color: rgba(0, 255, 209, 0.28);
  color: var(--cyan);
}

.work-tab:hover::before {
  opacity: 1;
}

.work-index {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.work-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
  border-radius: 0.8rem;
  background: var(--card);
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 15, 0.44), transparent 62%);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15);
  transition: transform 420ms ease;
}

.work-tab:hover .work-thumb img {
  transform: scale(1.045);
}

.work-name {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.work-copy {
  grid-column: 3;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
}

.work-tags {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.work-tags span {
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.48rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.work-meta,
.work-arrow {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.work-meta {
  grid-column: 3;
}

.work-arrow {
  display: none;
}

.work-cursor-card {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1995;
  display: none;
  width: min(24vw, 22rem);
  min-width: 17rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 209, 0.34);
  border-radius: 1.1rem;
  background: var(--bg-alt);
  box-shadow: 0 0 70px rgba(0, 255, 209, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.94) rotate(-1deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.work-cursor-card.visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(-1deg);
}

.work-cursor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.06);
}

.work-cursor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 15, 0.82), transparent 58%);
}

.work-cursor-card span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.proof {
  border-block: 1px solid var(--line);
}

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

.proof-stat {
  display: grid;
  min-height: 11rem;
  align-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
}

.proof-stat strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 0.9;
}

.proof-stat:nth-child(even) strong {
  color: var(--cyan);
}

.testimonial-grid {
  margin-top: 1rem;
}

.testimonial {
  display: grid;
  gap: 1.5rem;
}

.testimonial p {
  color: var(--ink);
  font-family: "Instrument Serif", serif;
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.35;
}

.testimonial cite {
  color: var(--cyan);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  min-height: 30rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--card);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 52% center;
  opacity: 0.84;
}

.about-image span {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: rgba(4, 4, 15, 0.68);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.about-copy h2 {
  margin-bottom: 1.35rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.market-list {
  margin-top: 1.7rem;
}

/* ── CONTACT GRID ───────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
  text-align: left;
}

/* BRIEF FORM */
.brief-wrap {
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  padding: 1.8rem;
}

.brief-row {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.brief-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.brief-field label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.brief-field input,
.brief-field textarea,
.brief-field select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  -webkit-appearance: none;
  width: 100%;
}

.brief-field select option { background: #0d0d20; }

.brief-field input:focus,
.brief-field textarea:focus,
.brief-field select:focus {
  border-color: rgba(0, 255, 209, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 255, 209, 0.07);
}

.brief-field textarea {
  resize: vertical;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.brief-field { margin-bottom: 0.8rem; }
.brief-row .brief-field { margin-bottom: 0; }

.brief-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.brief-error {
  color: #ff3b36;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.brief-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 12rem;
  text-align: center;
}

.brief-success svg {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--cyan);
  stroke-width: 2;
}

.brief-success strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brief-success span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* DIRECT CONTACT CARDS */
.direct-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card > svg:first-child {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
}

.contact-card div {
  flex: 1;
  min-width: 0;
}

.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.contact-card .arrow {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  opacity: 0.5;
  transition: opacity 180ms ease, transform 180ms ease;
}

.contact-card:hover .arrow {
  opacity: 1;
  transform: translateX(3px);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease;
}

.contact-card:hover::before { opacity: 1; }

.contact-wa {
  border-color: rgba(37, 211, 102, 0.3);
}
.contact-wa > svg:first-child { color: #25d366; }
.contact-wa::before {
  background: radial-gradient(circle at 10% 50%, rgba(37, 211, 102, 0.1), transparent 50%);
}
.contact-wa:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 0 28px rgba(37, 211, 102, 0.12);
}

.contact-ig {
  border-color: rgba(225, 48, 108, 0.3);
}
.contact-ig > svg:first-child {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  border-radius: 0.35rem;
  padding: 0.22rem;
  color: #fff;
  width: 1.8rem;
  height: 1.8rem;
}
.contact-ig::before {
  background: radial-gradient(circle at 10% 50%, rgba(225, 48, 108, 0.1), transparent 50%);
}
.contact-ig:hover {
  border-color: rgba(225, 48, 108, 0.55);
  box-shadow: 0 0 28px rgba(225, 48, 108, 0.12);
}

/* ── CTA SECTION ────────────────────────────────── */
/* ── Open-source / scroll-craft section ── */

.nav-oss {
  color: var(--cyan) !important;
  border: 1px solid rgba(0,255,209,0.25);
  border-radius: 99px;
  padding: 4px 10px;
  transition: background 180ms ease, border-color 180ms ease !important;
}
.nav-oss:hover {
  background: rgba(0,255,209,0.08);
  border-color: rgba(0,255,209,0.5);
  color: var(--cyan) !important;
}

.oss-section {
  border-top: 1px solid var(--line);
}

.oss-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,255,209,0.04), rgba(255,0,200,0.03));
  border: 1px solid rgba(0,255,209,0.12);
  border-radius: 20px;
  padding: 48px;
}

.oss-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 20px;
  margin-top: 12px;
}
.oss-title em { font-style: normal; color: var(--cyan); }

.oss-desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.oss-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.oss-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.oss-code {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 2;
  color: #a0a0b8;
}
.oss-kw  { color: var(--magenta); }
.oss-fn  { color: var(--cyan); }
.oss-str { color: var(--gold); }
.oss-cm  { color: #444460; }

.oss-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.oss-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 99px;
  padding: 4px 12px;
}

@media (max-width: 860px) {
  .oss-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
    gap: 32px;
  }
  .oss-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
}

/* ── */

.cta {
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 255, 209, 0.16), transparent 31rem),
    radial-gradient(circle at 70% 66%, rgba(255, 0, 200, 0.11), transparent 28rem);
}

.cta .section-inner {
  position: relative;
}

.cta .eyebrow {
  justify-content: center;
  color: var(--ink);
}

.cta h2 {
  max-width: 62rem;
  margin-inline: auto;
  font-size: 1.85rem;
  line-height: 0.96;
}

.cta h2 em {
  background: linear-gradient(92deg, var(--cyan), var(--magenta) 52%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.cta p {
  max-width: 38rem;
  margin: 1.35rem auto 0;
}

.cta-button {
  width: 100%;
  margin-top: 2rem;
}

.cta-meta {
  justify-content: center;
  margin-top: 1.6rem;
}

.cta-meta span {
  color: var(--quiet);
}

.footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  gap: 2.2rem;
  padding-block: 4.4rem 3rem;
}

.footer p {
  max-width: 24rem;
  margin-top: 1rem;
}

.footer h2 {
  margin: 0 0 1rem;
  color: var(--cyan);
}

.footer a:not(.brand) {
  display: flex;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer a:not(.brand):hover {
  border-color: rgba(0, 255, 209, 0.45);
  color: var(--cyan);
}

.footer-mark {
  width: 100%;
  padding-inline: var(--pad);
  color: transparent;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
}

/* ── MOBILE BOTTOM BAR ──────────────────────────── */

.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 4, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  transition: opacity 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bar-btn:active { opacity: 0.82; }

.mobile-bar-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.mobile-bar-wa {
  background: #25d366;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-bar-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* add bottom padding to body so content isn't hidden behind the bar */
body { padding-bottom: env(safe-area-inset-bottom); }

/* ── DESKTOP SIDE DOCK ──────────────────────────── */

.side-dock {
  display: none; /* hidden on mobile, shown via media query */
}

/* ── CURSOR ─────────────────────────────────────── */
.cursor,
.cursor-ring {
  display: none;
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@keyframes breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes lumi-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-1.2rem, 1.4rem, 0) scale(1.04);
  }
}

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

@media (min-width: 480px) {
  :root {
    --pad: 1.65rem;
  }

  .brief-row { grid-template-columns: 1fr 1fr; }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .cta h2 {
    font-size: 2.75rem;
  }

  .btn {
    width: auto;
    padding-inline: 1.75rem;
  }

  .cta-button {
    width: auto;
    padding-inline: 2.4rem;
  }
}

@media (max-width: 420px) {
  .hero h1 span {
    overflow-wrap: anywhere;
  }

  .availability {
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
  }

  .availability span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 699px) {
  .system-section,
  .lumi-section,
  .axo-section,
  .docs-section,
  .packages-section {
    padding-block: 4.6rem;
  }

  .system-section .section-heading,
  .lumi-section .section-heading,
  .axo-section .section-heading,
  .docs-section .section-heading,
  .packages-section .section-heading {
    margin-bottom: 1.8rem;
  }

  .system-grid,
  .package-grid,
  .lumi-features {
    gap: 0.8rem;
  }

  .system-card,
  .package-card {
    border-radius: 0.9rem;
  }

  .system-card {
    min-height: 0;
    gap: 1.15rem;
    padding: 1.1rem;
  }

  .system-card h3 {
    font-size: 1.2rem;
  }

  .system-card p,
  .package-card p,
  .lumi-copy p {
    font-size: 0.94rem;
  }

  .lumi-panel {
    border-radius: 1rem;
    padding-block: 1.45rem;
  }

  .lumi-panel::after {
    top: -5rem;
    right: -8rem;
    width: 18rem;
    opacity: 0.42;
  }

  .lumi-copy h2 {
    font-size: 1.8rem;
  }

  .lumi-copy .hero-actions {
    margin-top: 1.45rem;
  }

  .package-card {
    padding: 1.2rem;
  }

  .package-card h3 {
    font-size: 1.42rem;
  }
}

@media (min-width: 700px) {
  :root {
    --pad: 2.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr minmax(260px, 0.65fr);
    align-items: start;
    text-align: left;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .marquee-track {
    gap: 1rem;
  }

  .marquee span {
    padding: 0.75rem 1.1rem;
    font-size: 1.35rem;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 3.5rem;
  }

  .cta h2 {
    font-size: 4.5rem;
  }

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

  .cards-4,
  .cards-6,
  .lumi-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-grid,
  .package-grid,
  .lumi-features {
    gap: 1rem;
  }

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

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

  .bento-card.large {
    grid-column: span 2;
  }

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

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

  .about-grid,
  .split,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split {
    align-items: end;
  }

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

  .footer-mark {
    font-size: 5.8rem;
  }
}

@media (min-width: 920px) {
  :root {
    --pad: 3.2rem;
  }

  /* hide mobile bar, show side dock */
  .mobile-bar { display: none; }

  .side-dock {
    position: fixed;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .side-dock-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    border: none;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
  }

  .side-dock-btn svg {
    width: 1.35rem;
    height: 1.35rem;
    color: #fff;
  }

  .side-dock-wa {
    background: #25d366;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  }
  .side-dock-wa:hover {
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.55);
    transform: scale(1.1);
  }

  .side-dock-ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 18px rgba(188, 24, 136, 0.35);
  }
  .side-dock-ig svg {
    background: none;
    border-radius: 0;
    padding: 0;
  }
  .side-dock-ig:hover {
    box-shadow: 0 6px 26px rgba(188, 24, 136, 0.55);
    transform: scale(1.1);
  }

  .nav-links {
    position: absolute;
    left: 50%;
    display: flex;
    gap: 2.2rem;
    transform: translateX(-50%);
  }

  .availability {
    max-width: none;
    padding-inline: 1.1rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 0.78fr);
    gap: 3rem;
  }

  .hero-stack-card {
    position: absolute;
    right: -0.8rem;
    bottom: 1.2rem;
    width: min(72%, 22rem);
    margin: 0;
  }

  .hero h1 {
    font-size: 3.2rem;
    overflow-wrap: normal;
  }

  .hero-copy p {
    font-size: 1.1rem;
  }

  .hero-visual {
    display: block;
  }

  .section {
    padding-block: 7rem;
  }

  .system-section,
  .axo-section,
  .docs-section,
  .packages-section {
    padding-block: 7.6rem;
  }

  .lumi-section {
    padding-block: 8.4rem;
  }

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

  .section-heading h2,
  .about-copy h2 {
    font-size: 4.5rem;
  }

  .problem .section-heading {
    display: block;
  }

  .problem .section-heading h2 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    overflow-wrap: normal;
    word-break: keep-all;
    max-width: none;
    margin-bottom: 1.2rem;
  }

  .problem .section-heading p {
    max-width: 34rem;
    margin-left: auto;
  }

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

  .metric-card,
  .bento-card,
  .step,
  .testimonial {
    padding: 1.85rem;
  }

  .metric-card strong {
    font-size: 3.8rem;
  }

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

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

  .system-grid,
  .package-grid,
  .lumi-features {
    gap: 1.15rem;
  }

  .system-section .system-card:nth-child(3) {
    transform: translateY(-0.85rem);
  }

  .system-section .system-card:nth-child(3):hover {
    transform: translateY(-1.1rem);
  }

  .lumi-panel {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
    align-items: center;
    min-height: 38rem;
    padding: 3.4rem 0;
  }

  .lumi-copy h2 {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
  }

  .lumi-features {
    padding-left: 0;
    padding-right: 2.2rem;
  }

  .axo-section .section-heading {
    align-items: start;
  }

  .docs-section .section-heading {
    align-items: center;
  }

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

  .process .step {
    min-height: 20rem;
  }

  .process .step-num-wrap {
    font-size: 3.6rem;
  }

  .work-tab {
    grid-template-columns: 4rem 8.5rem minmax(0, 1fr) minmax(14rem, 0.34fr) 4rem;
    gap: 1.35rem;
    min-height: 13rem;
    padding: 1.4rem 0;
  }

  .work-tab:hover {
    padding-left: 1rem;
  }

  .work-name {
    font-size: clamp(3rem, 5vw, 5.8rem);
  }

  .work-copy,
  .work-tags {
    grid-column: 3;
  }

  .work-meta {
    grid-column: auto;
    justify-self: end;
    text-align: right;
  }

  .work-arrow {
    display: block;
    justify-self: end;
    color: var(--cyan);
  }

  .work-cursor-card {
    display: block;
  }

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

  .bento-card {
    grid-column: span 2;
  }

  .bento-card.large {
    grid-column: span 3;
    grid-row: span 2;
  }

  .bento-card:nth-child(2) {
    grid-column: span 3;
  }


  .cta h2 {
    font-size: clamp(3.8rem, 8vw, 5.5rem);
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .footer-mark {
    font-size: 8.8rem;
  }

  .cursor,
  .cursor-ring {
    position: fixed;
    z-index: 2000;
    display: block;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .cursor {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    mix-blend-mode: difference;
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 255, 209, 0.7);
    border-radius: 50%;
    transition: width 160ms ease, height 160ms ease, border-color 160ms ease;
  }

  .cursor.hover {
    background: var(--magenta);
  }

  .cursor.previewing {
    background: var(--gold);
    mix-blend-mode: normal;
  }

  .cursor-ring.hover {
    width: 58px;
    height: 58px;
    border-color: rgba(255, 0, 200, 0.76);
  }

  .cursor-ring.previewing {
    border-color: rgba(255, 209, 102, 0.86);
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: 3.45rem;
  }

  .hero-grid {
    gap: 4.5rem;
  }

  .orb-frame {
    min-height: 34rem;
  }
}

/* Final cascade for the rebuilt Bilal Studio hero. Kept at the end so it
   cleanly overrides the older homepage hero rules without touching lower sections. */
.hero-nav {
  z-index: var(--z-nav);
  min-height: 6.85rem;
  padding: 2rem 2.85rem 1rem;
  background: transparent;
  border-bottom: 0;
}

.hero-nav .brand {
  position: relative;
  width: 12.1rem;
  min-height: 3.35rem;
  height: 3.35rem;
  overflow: hidden;
}

.hero-nav .brand img {
  width: 12.1rem;
  height: auto;
  object-fit: contain;
  transform: translateY(-3.78rem);
}

.hero-nav .brand > span:not(.brand-lockup),
.availability {
  display: none;
}

.hero-nav .brand-lockup {
  position: absolute;
  left: 1.95rem;
  top: 0.2rem;
  display: grid;
  gap: 0.08rem;
  color: white;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-nav .brand-lockup::before {
  content: "B/S";
  position: absolute;
  left: -1.85rem;
  top: -0.08rem;
  color: var(--hero-teal);
  font-family: var(--font-mono);
  font-size: 1.38rem;
  letter-spacing: -0.08em;
  text-shadow: 0 0 14px rgba(4, 217, 223, 0.42);
}

.hero-nav .brand-lockup b,
.hero-nav .brand-lockup i {
  display: block;
  font-style: normal;
}

.hero-nav .brand-lockup i {
  color: var(--hero-teal);
}

.hero-nav .nav-links {
  position: absolute;
  top: 3.05rem;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.55rem, 3vw, 3.45rem);
  transform: translateX(-50%);
}

.hero-nav .nav-links a,
.nav-project,
.nav-spark {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.81rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-nav.scrolled {
  background: linear-gradient(180deg, rgba(2, 4, 6, 0.88), rgba(2, 4, 6, 0.58));
  border-bottom-color: rgba(4, 217, 223, 0.12);
}

.studio-hero {
  --hero-left: clamp(1.35rem, 4.9vw, 5.25rem);
  min-height: 100vh;
  padding: 0;
  isolation: isolate;
}

.studio-hero .hero-bg {
  z-index: var(--z-bg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  opacity: 1;
  filter: saturate(1.08) contrast(1.08) brightness(0.58);
}

.studio-hero .hero-overlay {
  z-index: var(--z-overlays);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 30%, rgba(0, 0, 0, 0.18) 61%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 23%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.08) 74%, rgba(0, 0, 0, 0.38) 100%),
    radial-gradient(circle at 26% 44%, rgba(255, 255, 255, 0.07), transparent 17rem),
    radial-gradient(circle at 82% 40%, rgba(4, 217, 223, 0.16), transparent 22rem);
}

.studio-hero.scanlines::after {
  z-index: var(--z-glow);
  opacity: 0.12;
}

.studio-hero .hero-copy {
  position: relative;
  z-index: var(--z-content);
  width: min(51vw, 54rem);
  max-width: none;
  padding-top: clamp(2.8rem, 7.7vh, 5.4rem);
}

.studio-hero h1 {
  display: block;
  max-width: 60rem;
  color: #f6f8f8;
  font-family: var(--font-hero);
  font-size: clamp(4.7rem, 6.75vw, 7.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.91;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.74);
}

.studio-hero h1 span:first-child {
  white-space: nowrap;
}

.studio-hero h1 em {
  color: var(--hero-teal);
  font-family: inherit;
  font-style: normal;
}

.studio-hero .hero-copy p.hero-subtitle {
  max-width: 40rem;
  margin-top: 1.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 1.26vw, 1.28rem);
  font-weight: 400;
  line-height: 1.42;
}

.studio-hero .hero-stage {
  position: relative;
  z-index: var(--z-content);
  min-height: 100vh;
  padding: clamp(7rem, 12vh, 11.4rem) var(--hero-left) clamp(1.4rem, 2.4vh, 2.1rem);
}

.studio-hero .feature-chips {
  margin-top: 2rem;
}

.studio-hero .hero-cta-row {
  margin-top: 1.35rem;
}

.studio-hero .cyber-button {
  min-height: 3.55rem;
}

@media (min-width: 1280px) and (max-height: 850px) {
  .studio-hero .hero-stage {
    padding-top: 6.35rem;
  }

  .studio-hero .hero-copy {
    padding-top: 3.15rem;
  }

  .studio-hero h1 {
    font-size: clamp(5rem, 6.7vw, 7.35rem);
  }
}

@media (max-width: 1180px) {
  .hero-nav {
    padding-inline: 1.5rem;
  }

  .hero-nav .nav-links {
    gap: 1.15rem;
  }

  .studio-hero .hero-copy {
    width: min(62vw, 45rem);
  }
}

@media (max-width: 920px) {
  .hero-nav {
    min-height: 5rem;
    padding: 1.1rem 1rem;
  }

  .hero-nav .brand img {
    width: 8.8rem;
    transform: translateY(-3.3rem);
  }

  .hero-nav .nav-links {
    display: none;
  }

  .studio-hero {
    min-height: auto;
  }

  .studio-hero .hero-bg {
    object-position: 59% top;
  }

  .studio-hero .hero-stage {
    min-height: 100svh;
    padding: 7.2rem 1rem 1.2rem;
  }

  .studio-hero .hero-copy {
    width: min(100%, 43rem);
    padding-top: 0;
  }

  .studio-hero h1 {
    font-size: clamp(2.65rem, 11.8vw, 3.55rem);
  }
}

@media (max-width: 620px) {
  .hero-nav .brand img {
    width: 7.4rem;
    transform: translateY(-2.78rem);
  }

  .studio-hero .hero-stage {
    padding-top: 6.25rem;
  }

  .studio-hero h1 {
    font-size: clamp(2.4rem, 10.5vw, 2.65rem);
    line-height: 0.9;
  }

  .studio-hero h1 span:first-child {
    white-space: normal;
  }

  .feature-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .feature-chip {
    width: auto;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.52rem;
  }

  .feature-chip strong {
    font-size: 0.62rem;
  }

  .feature-chip small {
    font-size: 0.48rem;
  }

  .chip-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
  }

  .hero-cta-row {
    margin-top: 1.25rem;
  }
}

/* Second-pass visual match: stronger scale, brighter scene, real uploaded logo,
   deeper hologram, and a more premium bottom rail. */
.hero-nav {
  min-height: 6.55rem;
  padding: 1.9rem 2.9rem 0.75rem;
}

.hero-nav .brand {
  width: 13.1rem;
  height: 4.35rem;
  min-height: 4.35rem;
  overflow: visible;
}

.hero-nav .brand img {
  width: 13.1rem;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 0 18px rgba(4, 217, 223, 0.2));
}

.hero-nav .brand-lockup {
  display: none;
}

.hero-nav .nav-links {
  top: 3.05rem;
  gap: clamp(2rem, 3.25vw, 3.75rem);
}

.hero-nav .nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.nav-project {
  min-width: 12.9rem;
  min-height: 3.05rem;
  padding: 1rem 1.42rem;
  background: linear-gradient(180deg, rgba(0, 18, 22, 0.58), rgba(0, 10, 12, 0.42));
  border-color: rgba(22, 246, 255, 0.92);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.nav-spark {
  width: 3.1rem;
  height: 3.1rem;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(3, 12, 15, 0.38);
  backdrop-filter: blur(10px);
}

.studio-hero {
  --hero-left: clamp(2.5rem, 4.9vw, 5.25rem);
  min-height: 100vh;
}

.studio-hero .hero-bg {
  object-position: 54% center;
  filter: saturate(1.18) contrast(1.14) brightness(0.78);
}

.studio-hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.04) 30%, rgba(0, 0, 0, 0.08) 61%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 23%, rgba(0, 0, 0, 0.42) 47%, rgba(0, 0, 0, 0.03) 75%, rgba(0, 0, 0, 0.16) 100%),
    radial-gradient(circle at 63% 46%, rgba(18, 246, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 84% 42%, rgba(4, 217, 223, 0.2), transparent 24rem),
    radial-gradient(ellipse at 48% 100%, rgba(0, 0, 0, 0.92), transparent 28rem);
}

.hero-glow-left {
  left: 2.5rem;
  top: 49%;
  width: 38rem;
  height: 15rem;
  background: rgba(4, 217, 223, 0.1);
}

.hero-glow-right {
  right: 5.5rem;
  top: 28%;
  width: 34rem;
  height: 23rem;
  background: rgba(4, 217, 223, 0.18);
  filter: blur(44px);
}

.studio-hero .hero-stage {
  min-height: 100vh;
  padding-top: clamp(7.15rem, 10.4vh, 9rem);
  padding-bottom: clamp(1.2rem, 2vh, 1.7rem);
}

.studio-hero .hero-copy {
  width: min(56vw, 59rem);
  padding-top: clamp(2.7rem, 5.2vh, 4.1rem);
  z-index: 8;
}

.hero-eyebrow {
  margin-bottom: 1rem;
  padding: 0.82rem 1.7rem;
  color: var(--hero-teal-bright);
  font-size: clamp(0.82rem, 0.98vw, 1.06rem);
  letter-spacing: 0.17em;
  text-shadow: 0 0 14px rgba(22, 246, 255, 0.34);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  width: 0.5rem;
  height: 0.5rem;
  border-color: rgba(22, 246, 255, 0.86);
}

.studio-hero h1 {
  max-width: 63rem;
  font-size: clamp(6.4rem, 8.55vw, 9.25rem);
  line-height: 0.84;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.68);
  width: 124%;
  transform: scaleX(0.82);
  transform-origin: left center;
}

.studio-hero h1 em {
  color: #05d6df;
  text-shadow: 0 0 20px rgba(5, 214, 223, 0.38);
}

.studio-hero .hero-copy p.hero-subtitle {
  margin-top: 1.55rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.16rem, 1.3vw, 1.34rem);
  line-height: 1.38;
}

.studio-hero .feature-chips {
  width: min(62rem, 68vw);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.feature-chip {
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.85rem;
  padding-right: 1.25rem;
}

.feature-chip + .feature-chip {
  padding-left: 1.25rem;
  border-left-color: rgba(255, 255, 255, 0.2);
}

.chip-icon {
  width: 2.55rem;
  height: 2.55rem;
  font-size: 1.5rem;
  color: var(--hero-teal-bright);
  border-color: rgba(22, 246, 255, 0.34);
  box-shadow: inset 0 0 18px rgba(4, 217, 223, 0.12), 0 0 18px rgba(4, 217, 223, 0.12);
}

.feature-chip strong {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.feature-chip small {
  margin-top: 0.32rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.studio-hero .hero-cta-row {
  gap: 2.7rem;
  margin-top: 1.35rem;
}

.studio-hero .cyber-button {
  min-width: 17.5rem;
  min-height: 4.05rem;
  padding: 0.86rem 0.95rem 0.86rem 2.05rem;
  background: linear-gradient(135deg, rgba(4, 217, 223, 0.48), rgba(0, 55, 61, 0.76));
  border-width: 1.4px;
  clip-path: polygon(17px 0, calc(100% - 17px) 0, 100% 17px, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 17px);
  box-shadow: inset 0 0 34px rgba(22, 246, 255, 0.16), 0 0 34px rgba(4, 217, 223, 0.24);
}

.cyber-arrow {
  width: 2.4rem;
  height: 2.4rem;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 0.28rem;
  font-size: 1.35rem;
}

.text-button {
  font-size: 0.92rem;
}

@media (min-width: 921px) {
.lumi-holo {
  top: 30.5%;
  right: 3.9%;
  width: min(24vw, 26rem);
  min-width: 20.5rem;
  padding: 1.75rem 1.85rem 1.28rem;
  background:
    linear-gradient(135deg, rgba(4, 217, 223, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(0, 30, 34, 0.52), rgba(0, 7, 10, 0.28)),
    rgba(0, 8, 11, 0.38);
  border-color: rgba(22, 246, 255, 0.64);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: inset 0 0 54px rgba(4, 217, 223, 0.12), 0 0 40px rgba(4, 217, 223, 0.2), -18px 0 58px rgba(4, 217, 223, 0.08);
  transform: perspective(950px) rotateY(-7deg) rotateZ(-1deg) translateZ(0);
}
}

.lumi-holo::before {
  inset: 0.85rem;
  border-color: rgba(22, 246, 255, 0.16);
  background:
    linear-gradient(rgba(22, 246, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 246, 255, 0.07) 1px, transparent 1px);
  background-size: 42px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.lumi-holo p {
  margin-bottom: 1.45rem;
}

.lumi-holo p strong {
  font-size: clamp(2rem, 2.45vw, 2.75rem);
  color: var(--hero-teal-bright);
}

.lumi-holo p span {
  font-size: 1.08rem;
}

.lumi-holo dl {
  gap: 0.95rem;
}

.lumi-holo dl div {
  grid-template-columns: 2.65rem 1fr;
  gap: 0.82rem;
}

.lumi-holo dt {
  font-size: 1.82rem;
  font-weight: 600;
}

.lumi-holo dd {
  gap: 0.68rem;
  font-size: 0.74rem;
}

.lumi-holo dd span {
  color: var(--hero-teal-bright);
  font-size: 1.08rem;
}

.holo-wave {
  height: 3.55rem;
  margin-top: 1.2rem;
  filter: drop-shadow(0 0 10px rgba(4, 217, 223, 0.44));
}

.systems-rail {
  bottom: clamp(2.5rem, 5vh, 4.5rem);
  transform: none;
  min-height: 8.1rem;
  grid-template-columns: minmax(14.5rem, 1.35fr) repeat(4, minmax(9.6rem, 1fr)) minmax(15.5rem, 1.2fr);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(0, 15, 18, 0.58), rgba(0, 0, 0, 0.34)),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 -22px 72px rgba(0, 0, 0, 0.28), 0 0 32px rgba(4, 217, 223, 0.06);
  backdrop-filter: blur(14px);
}

.systems-rail::before {
  left: 61%;
  width: 4.7rem;
  height: 2px;
  background: var(--hero-teal-bright);
}

.systems-rail > * {
  padding: 1.45rem 1.55rem;
}

.systems-rail > * + * {
  border-left-color: rgba(255, 255, 255, 0.16);
}

.rail-lead p,
.rail-visitors p {
  font-size: 0.96rem;
}

.rail-lead strong {
  font-size: 1.13rem;
}

.systems-rail article {
  grid-template-columns: 2.45rem 1fr;
  gap: 1rem;
}

.rail-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-color: rgba(255, 255, 255, 0.26);
  font-size: 1.08rem;
  box-shadow: inset 0 0 16px rgba(4, 217, 223, 0.08);
}

.systems-rail h2 {
  font-size: 0.82rem;
}

.systems-rail article p {
  font-size: 0.84rem;
}

.rail-visitors {
  gap: 1.08rem;
}

.rail-visitors span,
.rail-visitors strong {
  font-size: 1.76rem;
}

@media (min-width: 920px) {
  .side-dock {
    top: 70%;
    left: 1rem;
    gap: 0.42rem;
    opacity: 0.72;
  }

  .side-dock-btn {
    width: 2.6rem;
    height: 2.6rem;
  }

  .side-dock-btn svg {
    width: 1.05rem;
    height: 1.05rem;
  }
}

@media (min-width: 1280px) and (max-height: 850px) {
  .studio-hero .hero-stage {
    padding-top: 6.2rem;
  }

  .studio-hero .hero-copy {
    padding-top: 3.65rem;
  }

  .studio-hero h1 {
    font-size: clamp(6.1rem, 8.25vw, 8.7rem);
  }

  .studio-hero .feature-chips {
    margin-top: 2rem;
  }

  .studio-hero .hero-cta-row {
    margin-top: 1.2rem;
  }

  .systems-rail {
    min-height: 7.55rem;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .hero-nav .brand,
  .hero-nav .brand img {
    width: 10.8rem;
  }

  .lumi-holo {
    width: 21rem;
    min-width: 0;
  }

  .studio-hero .feature-chips {
    width: min(62rem, 83vw);
  }
}

@media (max-width: 920px) {
  .hero-nav .brand,
  .hero-nav .brand img {
    width: 8.7rem;
    height: auto;
  }

  .studio-hero .hero-bg {
    filter: saturate(1.12) contrast(1.1) brightness(0.68);
    object-position: 60% top;
  }

  .studio-hero .hero-copy {
    width: min(100%, 44rem);
  }

  .studio-hero h1 {
    font-size: clamp(3.4rem, 13vw, 5.5rem);
  }
}

@media (max-width: 620px) {
  .hero-nav .brand,
  .hero-nav .brand img {
    width: 6.9rem;
  }

  .hero-nav {
    padding: 1rem 1rem 0.5rem;
  }

  .nav-project {
    width: 8.2rem;
    min-width: 0;
    min-height: 2.55rem;
    padding: 0.7rem 0.78rem;
    font-size: 0.66rem;
  }

  .nav-actions {
    display: none;
  }

  .nav-spark {
    display: none;
  }

  .studio-hero .hero-stage {
    padding-inline: 1rem;
  }

  .studio-hero h1 {
    font-size: clamp(2.52rem, 11.2vw, 2.86rem);
    transform: none;
    width: auto;
    max-width: 100%;
  }

  .studio-hero .hero-copy p.hero-subtitle {
    max-width: 22.5rem;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .studio-hero .feature-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.7rem;
  }

  .feature-chip {
    min-width: 0;
  }

  .feature-chip strong,
  .feature-chip small {
    overflow-wrap: anywhere;
  }

  .mobile-bar-btn {
    padding-block: 0.85rem;
  }
}
