/*
  Déposez ici vos fichiers de police locaux CY Grotesk Key si vous les avez :
  - assets/fonts/CyGroteskKey-Regular.woff2
  - assets/fonts/CyGroteskKey-Medium.woff2
  - assets/fonts/CyGroteskKey-Bold.woff2
*/
@font-face {
  font-family: "CY Grotesk Key";
  src: url("assets/fonts/CyGroteskKey-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CY Grotesk Key";
  src: url("assets/fonts/CyGroteskKey-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CY Grotesk Key";
  src: url("assets/fonts/CyGroteskKey-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050816;
  --bg-soft: #0b1124;
  --panel: rgba(10, 16, 33, 0.62);
  --panel-strong: rgba(13, 18, 34, 0.86);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --muted: #95a4bf;
  --accent: #6cf2ff;
  --accent-alt: #ff6b4a;
  --glow: 0 0 60px rgba(108, 242, 255, 0.18);
  --radius: 26px;
  --radius-lg: 38px;
  --container: min(1180px, calc(100vw - 48px));
  --header-height: 86px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --transition: 260ms ease;
  --font-display: "CY Grotesk Key", "Space Grotesk", sans-serif;
  --font-body: "CY Grotesk Key", "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 119, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 96, 72, 0.14), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(120, 58, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #040611 0%, #050816 40%, #070d1b 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 18%, rgba(108, 242, 255, 0.05) 29%, transparent 40%),
    linear-gradient(68deg, transparent 35%, rgba(255, 107, 74, 0.035) 48%, transparent 59%);
  opacity: 0.7;
  transform: translate3d(0, 0, 0) rotate(0.001deg);
  animation: galaxyDrift 24s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 12%, black 0%, transparent 62%);
  opacity: 0.38;
  animation: gridFloat 18s linear infinite;
}

#starfield-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.page-shell {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0, transparent 48%),
    radial-gradient(circle at 50% 120%, rgba(74, 144, 255, 0.08), transparent 36%);
  pointer-events: none;
}

.cosmic-rift,
.stellar-dust {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cosmic-rift {
  background:
    conic-gradient(from 235deg at 50% 46%, transparent 0 15%, rgba(72, 129, 255, 0.08) 24%, transparent 35% 59%, rgba(255, 110, 88, 0.06) 70%, transparent 84%),
    radial-gradient(ellipse at 50% 50%, rgba(108, 242, 255, 0.08), transparent 42%);
  filter: blur(18px);
  opacity: 0.66;
  mix-blend-mode: screen;
  animation: riftBreath 16s ease-in-out infinite alternate;
}

.stellar-dust {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(108, 242, 255, 0.36) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 124, 96, 0.22) 0 1px, transparent 1.6px);
  background-size: 190px 190px, 260px 260px, 340px 340px;
  background-position: 14px 22px, 90px 140px, 160px 40px;
  opacity: 0.26;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  animation: dustFall 34s linear infinite;
}

.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle, rgba(108, 242, 255, 0.18), rgba(96, 121, 255, 0.08) 36%, transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 220ms ease, width 260ms ease, height 260ms ease;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  height: var(--header-height);
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  z-index: 20;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), top var(--transition);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 22%, rgba(108, 242, 255, 0.1) 44%, transparent 62%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity var(--transition);
  pointer-events: none;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(8, 12, 25, 0.74);
  backdrop-filter: blur(22px);
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled::before,
.site-header.is-open::before {
  opacity: 1;
  animation: headerSheen 7s ease-in-out infinite;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 118px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(108, 242, 255, 0.18));
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(108, 242, 255, 0.18));
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.footer-nav a,
.footer-meta a {
  position: relative;
  color: var(--muted);
  transition: color var(--transition), transform var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity var(--transition), transform var(--transition);
}

.site-nav a:hover,
.footer-nav a:hover,
.footer-meta a:hover,
.contact-card a:hover,
.social-links a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--text);
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), top var(--transition), opacity var(--transition);
}

.menu-toggle span:first-child {
  top: 18px;
  transform: translateX(-50%);
}

.menu-toggle span:last-child {
  top: 26px;
  transform: translateX(-50%);
}

.site-header.is-open .menu-toggle span:first-child {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

.section {
  width: var(--container);
  margin: 0 auto;
  scroll-margin-top: calc(var(--header-height) + 38px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 26px;
  padding-top: clamp(126px, 16vh, 180px);
  padding-bottom: 100px;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 12% 10% 10%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 36px;
  transform: perspective(1200px) rotateY(-10deg) rotateX(8deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.6;
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  top: 12%;
  right: -10%;
  background: radial-gradient(circle, rgba(108, 242, 255, 0.18), transparent 64%);
  animation: drift 14s ease-in-out infinite, nebulaPulse 9s ease-in-out infinite;
}

.hero-orb-b {
  width: 340px;
  height: 340px;
  bottom: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.16), transparent 64%);
  animation: drift 18s ease-in-out infinite reverse, nebulaPulse 11s ease-in-out infinite reverse;
}

.hero-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.booking-copy,
.booking-form {
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-align: center;
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  margin-top: -72px;
}

.hero-copy::before {
  content: "";
  display: block;
  width: min(360px, 62vw);
  height: 1px;
  margin: 0 auto 26px;
  background: linear-gradient(90deg, transparent, rgba(108, 242, 255, 0.66), rgba(255, 107, 74, 0.42), transparent);
  box-shadow: 0 0 18px rgba(108, 242, 255, 0.34);
  transform-origin: center;
  animation: lightBar 4.6s ease-in-out infinite;
}

.hero-entrance-copy {
  animation: heroCopyIn 860ms ease both;
}

.hero-entrance-visual {
  animation: heroVisualIn 980ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-shadow: 0 0 18px rgba(108, 242, 255, 0.28);
}

.hero-visual > .eyebrow {
  position: relative;
  top: 100px;
  z-index: 7;
  margin-bottom: -228px;
}

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

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
  margin-bottom: 24px;
  max-width: 11ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 18px;
  max-width: 14ch;
}

.hero-text,
.section-heading p,
.booking-copy p,
.contact-card p,
.review-card p,
.project-stage-copy p,
.project-mobile-card p,
.portfolio-card p,
.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  text-wrap: balance;
}

.hero-actions,
.hero-metrics,
.footer-nav,
.footer-meta,
.social-links,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-note {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.hero-metrics {
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

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

.hero-visual {
  display: grid;
  gap: 16px;
  justify-items: center;
  order: -1;
  width: 100%;
  margin-top: -42px;
  overflow: visible;
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(255, 255, 255, 0.07) 42%, transparent 58%),
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(108, 242, 255, 0.11), transparent 34%);
  opacity: 0.52;
  transform: translateX(-18%);
  pointer-events: none;
  transition: opacity var(--transition), transform 700ms ease;
}

.glass-panel:hover::before {
  opacity: 0.82;
  transform: translateX(0);
}

.logo-stage {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
  transform: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.logo-stage::before {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(105, 223, 255, 0.2), rgba(88, 122, 255, 0.1) 38%, transparent 70%);
  filter: blur(8px);
  animation: stageHalo 6.8s ease-in-out infinite;
}

.logo-stage::after {
  width: 540px;
  height: 540px;
  border: 1px solid rgba(180, 221, 255, 0.1);
  opacity: 0.75;
  animation: outerRingPulse 8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 6;
  width: min(420px, 76vw);
  object-fit: contain;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  will-change: transform, filter;
  filter: brightness(0) invert(1) contrast(1.08) drop-shadow(0 20px 40px rgba(105, 223, 255, 0.44));
  animation: logoLevitate 7.2s cubic-bezier(0.37, 0, 0.2, 1) infinite;
}

.hero-logo.logo-glitch {
  animation: logoLevitate 7.2s cubic-bezier(0.37, 0, 0.2, 1) infinite, logoGlitch 420ms steps(2, end);
}

.hero-typewriter {
  display: block;
  margin: -94px auto 0;
  min-height: 2.2em;
  width: min(100%, 1200px);
  max-width: 92vw;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
  animation: heroHeadlineFade 12s ease-in-out infinite;
  text-shadow:
    0 0 20px rgba(108, 242, 255, 0.2),
    0 20px 52px rgba(0, 0, 0, 0.46);
}


.logo-reflection {
  position: absolute;
  bottom: -8%;
  left: 16%;
  width: 68%;
  height: 30%;
  background: radial-gradient(circle, rgba(180, 239, 255, 0.24), rgba(96, 136, 255, 0.12) 46%, transparent 76%);
  filter: blur(24px);
  z-index: 5;
  animation: reflectionPulse 6.2s ease-in-out infinite;
}

.logo-vortex {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(
      from 20deg,
      rgba(101, 216, 255, 0.34),
      rgba(118, 130, 255, 0.05) 16%,
      rgba(255, 255, 255, 0.03) 31%,
      rgba(255, 120, 145, 0.08) 48%,
      rgba(85, 164, 255, 0.32) 66%,
      rgba(255, 255, 255, 0.02) 83%,
      rgba(101, 216, 255, 0.34)
    );
  mask-image: radial-gradient(circle, transparent 38%, black 43%, black 57%, transparent 64%);
  filter: blur(6px);
  opacity: 0.8;
  z-index: 2;
  animation: vortexSpin 11s linear infinite;
}

.logo-aura,
.logo-vortex-inner,
.logo-energy-ring,
.logo-spark-field {
  position: absolute;
  inset: 0;
  margin: auto;
  pointer-events: none;
}

.logo-aura {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14), transparent 18%),
    conic-gradient(from 90deg, rgba(108, 242, 255, 0), rgba(108, 242, 255, 0.26), rgba(255, 107, 74, 0.08), rgba(108, 242, 255, 0));
  filter: blur(16px);
  opacity: 0.58;
  z-index: 1;
  animation: auraSpin 16s linear infinite;
}

.logo-vortex-inner {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(206, 246, 255, 0.18);
  box-shadow:
    inset 0 0 28px rgba(108, 242, 255, 0.1),
    0 0 42px rgba(108, 242, 255, 0.12);
  z-index: 2;
  animation: innerOrbit 9s ease-in-out infinite;
}

.logo-energy-ring {
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(148, 225, 255, 0.18);
  z-index: 3;
  opacity: 0.68;
  transform-style: preserve-3d;
}

.logo-energy-ring-a {
  transform: rotateX(68deg) rotateZ(14deg);
  animation: orbitRingA 8s linear infinite;
}

.logo-energy-ring-b {
  width: 76%;
  border-color: rgba(255, 146, 116, 0.16);
  transform: rotateX(72deg) rotateY(48deg);
  animation: orbitRingB 10s linear infinite reverse;
}

.logo-energy-ring-c {
  width: 64%;
  border-color: rgba(225, 245, 255, 0.14);
  transform: rotateX(58deg) rotateY(-38deg);
  animation: orbitRingC 11.5s linear infinite;
}

.logo-spark-field {
  z-index: 7;
}

.logo-spark-field span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(233, 252, 255, 0.92);
  box-shadow: 0 0 18px rgba(108, 242, 255, 0.88);
  opacity: 0;
  animation: logoSpark 4.8s ease-in-out infinite;
}

.logo-spark-field span:nth-child(1) {
  top: 18%;
  left: 32%;
}

.logo-spark-field span:nth-child(2) {
  top: 26%;
  right: 21%;
  animation-delay: -1.1s;
}

.logo-spark-field span:nth-child(3) {
  right: 18%;
  bottom: 34%;
  animation-delay: -2.3s;
}

.logo-spark-field span:nth-child(4) {
  left: 24%;
  bottom: 27%;
  animation-delay: -3.2s;
}

.logo-spark-field span:nth-child(5) {
  top: 49%;
  left: 12%;
  animation-delay: -1.8s;
}

.logo-spark-field span:nth-child(6) {
  right: 34%;
  bottom: 14%;
  animation-delay: -3.8s;
}

.logo-radar {
  position: absolute;
  inset: 7%;
  margin: auto;
  aspect-ratio: 1;
  z-index: 3;
}

.logo-radar span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(146, 210, 255, 0.16);
  border-radius: 50%;
  animation: radarPulse 7.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.logo-radar span:nth-child(2) {
  inset: 8%;
  border-color: rgba(255, 255, 255, 0.14);
  animation-duration: 8.4s;
  animation-delay: -2s;
}

.logo-radar span:nth-child(3) {
  inset: 18%;
  border-color: rgba(99, 212, 255, 0.28);
  animation-duration: 6.8s;
  animation-delay: -1.2s;
}

.logo-radar span:nth-child(4) {
  inset: 29%;
  border-color: rgba(137, 211, 255, 0.32);
  animation-duration: 5.9s;
  animation-delay: -0.8s;
}

.logo-scanline {
  position: absolute;
  inset: 7% 14%;
  margin: auto;
  aspect-ratio: 1;
  z-index: 4;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 8%, rgba(158, 230, 255, 0.24) 42%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.52;
  animation: scanSweep 5.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.logo-ghost {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(420px, 76vw);
  aspect-ratio: 3.2 / 1;
  z-index: 4;
  background-image: url("assets/logo tryhard.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate3d(0, 0, 0);
  opacity: 0;
  pointer-events: none;
  display: none;
}

.logo-ghost-a {
  filter: brightness(0) invert(1) hue-rotate(155deg) saturate(1.8) blur(0.7px);
  animation: ghostTrailA 4.8s ease-in-out infinite;
}

.logo-ghost-b {
  filter: brightness(0) invert(1) hue-rotate(330deg) saturate(1.4) blur(0.8px);
  animation: ghostTrailB 5.4s ease-in-out infinite;
}

.hero-card {
  width: min(100%, 320px);
  padding: 18px 20px;
  transform: translateX(-30px);
}

.hero-card.accent {
  width: min(100%, 360px);
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.24), rgba(95, 42, 244, 0.22));
}

.hero-card p,
.hero-card span {
  margin: 0;
}

.hero-card p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

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

.intro-band {
  margin-top: -34px;
  margin-bottom: 70px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(16px);
}

.intro-band p {
  margin: 0;
  max-width: 80ch;
  font-size: 1.12rem;
}

.section + .section {
  padding-top: 120px;
}

.section-heading {
  margin-bottom: 34px;
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 116px;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 107, 74, 0.6), transparent);
  box-shadow: 0 0 18px rgba(108, 242, 255, 0.25);
  transform-origin: left;
  animation: sectionLinePulse 5.5s ease-in-out infinite;
}

.section-projects {
  position: relative;
  padding-top: 18px;
}

.section-projects::before {
  content: "";
  position: absolute;
  inset: 48px -8% auto;
  height: 560px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.12), transparent 20%),
    radial-gradient(circle at 10% 80%, rgba(58, 115, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 70%, rgba(255, 120, 74, 0.12), transparent 28%);
  filter: blur(18px);
  pointer-events: none;
}

.project-stack {
  display: grid;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.projects-galaxy {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 22px;
  align-items: stretch;
}

.galaxy-map {
  position: relative;
  min-height: 650px;
  border-radius: 34px;
  border: 1px solid rgba(180, 221, 255, 0.16);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.18), transparent 6%),
    radial-gradient(ellipse at 48% 48%, rgba(108, 242, 255, 0.18), transparent 18%),
    radial-gradient(ellipse at 55% 54%, rgba(255, 107, 74, 0.12), transparent 22%),
    radial-gradient(circle at 18% 18%, rgba(108, 242, 255, 0.1), transparent 20%),
    radial-gradient(circle at 82% 72%, rgba(255, 93, 224, 0.09), transparent 22%),
    rgba(7, 12, 27, 0.68);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 90px rgba(108, 242, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}

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

.galaxy-map::before {
  background:
    conic-gradient(from 18deg at 50% 50%, transparent 0 9%, rgba(108, 242, 255, 0.18) 13%, transparent 21%, rgba(255, 107, 74, 0.12) 30%, transparent 39%, rgba(155, 125, 255, 0.16) 48%, transparent 62%, rgba(255, 255, 255, 0.08) 72%, transparent 84%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.18), transparent 9%, rgba(108, 242, 255, 0.05) 28%, transparent 52%);
  filter: blur(10px);
  opacity: 0.8;
  animation: galaxyDiskSpin 34s linear infinite;
}

.galaxy-map::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(108, 242, 255, 0.46) 0 1px, transparent 1.3px),
    linear-gradient(90deg, transparent, rgba(108, 242, 255, 0.12), transparent);
  background-size: 86px 86px, 132px 132px, 100% 1px;
  background-position: 12px 24px, 58px 96px, 0 50%;
  opacity: 0.38;
  mix-blend-mode: screen;
  animation: galaxyNoiseDrift 22s linear infinite;
}

.galaxy-grid {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(180, 221, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 221, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  opacity: 0.58;
}

.galaxy-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  border: 1px solid rgba(180, 221, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  box-shadow: 0 0 28px rgba(108, 242, 255, 0.05);
  pointer-events: none;
}

.galaxy-orbit-a {
  width: min(74%, 620px);
  aspect-ratio: 1.3 / 0.72;
  animation: orbitTrace 12s ease-in-out infinite;
}

.galaxy-orbit-b {
  width: min(88%, 760px);
  aspect-ratio: 1.42 / 0.78;
  transform: translate(-50%, -50%) rotate(18deg);
  border-color: rgba(255, 107, 74, 0.12);
  animation: orbitTrace 15s ease-in-out infinite reverse;
}

.galaxy-orbit-c {
  width: min(58%, 500px);
  aspect-ratio: 1.2 / 0.64;
  transform: translate(-50%, -50%) rotate(54deg);
  border-color: rgba(155, 125, 255, 0.14);
  animation: orbitTrace 10s ease-in-out infinite;
}

.galaxy-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.95), rgba(108, 242, 255, 0.48) 19%, rgba(96, 121, 255, 0.22) 42%, rgba(5, 8, 22, 0.06) 70%);
  box-shadow:
    0 0 42px rgba(108, 242, 255, 0.5),
    0 0 120px rgba(96, 121, 255, 0.28);
}

.galaxy-core::before {
  content: "";
  position: absolute;
  inset: -72%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(108, 242, 255, 0.24), transparent 30%, rgba(255, 107, 74, 0.16), transparent 62%);
  filter: blur(16px);
  animation: galaxyDiskSpin 18s linear infinite reverse;
}

.galaxy-core-pulse {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(218, 250, 255, 0.28);
  border-radius: 50%;
  animation: corePulse 2.8s ease-in-out infinite;
}

.galaxy-core-label {
  position: relative;
  z-index: 1;
  color: #04101f;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.planet-node {
  position: absolute;
  left: var(--planet-x);
  top: var(--planet-y);
  z-index: 6;
  width: var(--planet-size);
  height: var(--planet-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--text);
  transform: translate(-50%, -50%);
  overflow: visible;
}

.planet-node::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid color-mix(in srgb, var(--planet-color), transparent 62%);
  border-radius: 50%;
  opacity: 0.24;
  transform: scale(0.74);
  transition: opacity var(--transition), transform var(--transition);
}

.planet-node::after {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--planet-glow), transparent 66%);
  opacity: 0.18;
  filter: blur(10px);
  transition: opacity var(--transition), transform var(--transition);
}

.planet-body {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.18) 13%, transparent 23%),
    radial-gradient(circle at 68% 78%, rgba(0, 0, 0, 0.46), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    var(--planet-color);
  box-shadow:
    inset -18px -20px 26px rgba(0, 0, 0, 0.48),
    inset 9px 9px 20px rgba(255, 255, 255, 0.16),
    0 0 28px var(--planet-glow),
    0 12px 26px rgba(0, 0, 0, 0.34);
  animation: planetFloat 5.8s ease-in-out infinite;
  animation-delay: var(--delay);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.planet-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.62), transparent 13%),
    radial-gradient(circle at 68% 70%, rgba(0, 0, 0, 0.62), transparent 48%),
    linear-gradient(112deg, transparent 0 46%, rgba(0, 0, 0, 0.42) 78%, rgba(0, 0, 0, 0.64));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.planet-body::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 5;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.18),
    inset -8px -10px 18px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.planet-surface,
.planet-clouds {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.planet-surface {
  z-index: 1;
  background: var(--planet-texture);
  opacity: 0.88;
  mix-blend-mode: screen;
  animation: planetSurfaceDrift 12s linear infinite;
  animation-delay: var(--delay);
}

.planet-clouds {
  z-index: 3;
  background: var(--planet-clouds);
  opacity: var(--cloud-opacity, 0.28);
  mix-blend-mode: screen;
  filter: blur(0.4px);
  animation: planetCloudDrift 18s linear infinite reverse;
  animation-delay: var(--delay);
}

.planet-ring {
  position: absolute;
  z-index: 1;
  width: 162%;
  height: 48%;
  border-radius: 50%;
  border-top: 3px solid color-mix(in srgb, var(--planet-color), white 24%);
  border-bottom: 2px solid color-mix(in srgb, var(--planet-color), transparent 54%);
  box-shadow: 0 0 18px var(--planet-glow);
  opacity: 0;
  transform: rotate(var(--ring-tilt, -16deg)) scale(0.92);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.planet-1 {
  --planet-texture:
    radial-gradient(circle at 22% 34%, rgba(255, 255, 255, 0.38) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 42%, rgba(18, 72, 130, 0.42) 0 7px, transparent 8px),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 9px);
  --planet-clouds:
    repeating-linear-gradient(8deg, transparent 0 7px, rgba(220, 248, 255, 0.34) 8px 11px, transparent 12px 20px);
}

.planet-2 {
  --planet-texture:
    radial-gradient(circle at 42% 60%, rgba(80, 16, 12, 0.34) 0 9px, transparent 10px),
    radial-gradient(circle at 70% 28%, rgba(255, 214, 170, 0.34) 0 5px, transparent 6px),
    repeating-linear-gradient(12deg, rgba(255, 221, 188, 0.26) 0 3px, rgba(91, 22, 24, 0.18) 4px 8px, transparent 9px 16px);
  --planet-clouds:
    radial-gradient(ellipse at 50% 52%, rgba(255, 238, 210, 0.28), transparent 54%);
  --cloud-opacity: 0.18;
  --ring-tilt: 15deg;
}

.planet-2 .planet-ring,
.planet-5 .planet-ring,
.planet-8 .planet-ring {
  opacity: 0.58;
}

.planet-3 {
  --planet-texture:
    radial-gradient(circle at 28% 68%, rgba(229, 216, 255, 0.22) 0 8px, transparent 9px),
    radial-gradient(circle at 68% 36%, rgba(42, 18, 92, 0.34) 0 10px, transparent 11px),
    conic-gradient(from 120deg, transparent, rgba(255, 255, 255, 0.22), transparent 36%, rgba(85, 54, 165, 0.32), transparent 72%);
  --planet-clouds:
    repeating-linear-gradient(-24deg, transparent 0 10px, rgba(244, 238, 255, 0.22) 11px 14px, transparent 15px 24px);
}

.planet-4 {
  --planet-texture:
    radial-gradient(circle at 34% 36%, rgba(220, 255, 235, 0.32) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 62%, rgba(11, 74, 56, 0.36) 0 8px, transparent 9px),
    repeating-linear-gradient(36deg, rgba(196, 255, 219, 0.18) 0 2px, transparent 3px 11px);
  --planet-clouds:
    radial-gradient(ellipse at 42% 45%, rgba(234, 255, 242, 0.22), transparent 48%);
}

.planet-5 {
  --planet-texture:
    repeating-linear-gradient(0deg, rgba(255, 242, 201, 0.32) 0 5px, rgba(160, 77, 22, 0.2) 6px 11px, rgba(255, 183, 85, 0.2) 12px 18px),
    radial-gradient(ellipse at 70% 58%, rgba(90, 40, 8, 0.28), transparent 30%);
  --planet-clouds:
    repeating-linear-gradient(-8deg, transparent 0 12px, rgba(255, 247, 219, 0.24) 13px 16px, transparent 17px 27px);
  --ring-tilt: -20deg;
}

.planet-6 {
  --planet-texture:
    radial-gradient(circle at 58% 34%, rgba(230, 255, 255, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 34% 64%, rgba(4, 82, 98, 0.36) 0 9px, transparent 10px),
    repeating-linear-gradient(22deg, rgba(207, 255, 255, 0.2) 0 2px, transparent 3px 10px);
  --planet-clouds:
    conic-gradient(from 25deg, transparent, rgba(219, 254, 255, 0.24), transparent 24%, rgba(92, 240, 255, 0.22), transparent 62%);
}

.planet-7 {
  --planet-texture:
    radial-gradient(circle at 30% 34%, rgba(255, 226, 251, 0.34) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 68%, rgba(90, 16, 84, 0.38) 0 11px, transparent 12px),
    conic-gradient(from 210deg, rgba(255, 255, 255, 0.24), transparent 18%, rgba(255, 93, 224, 0.28), transparent 52%, rgba(102, 64, 255, 0.28), transparent 82%);
  --planet-clouds:
    repeating-linear-gradient(18deg, transparent 0 8px, rgba(255, 224, 250, 0.24) 9px 12px, transparent 13px 22px);
}

.planet-8 {
  --planet-texture:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.36) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 64%, rgba(5, 80, 102, 0.38) 0 10px, transparent 11px),
    repeating-linear-gradient(-34deg, rgba(108, 242, 255, 0.22) 0 2px, transparent 3px 10px),
    conic-gradient(from 48deg, rgba(255, 159, 67, 0.3), transparent 20%, rgba(108, 242, 255, 0.26), transparent 58%);
  --planet-clouds:
    repeating-linear-gradient(28deg, transparent 0 9px, rgba(225, 252, 255, 0.28) 10px 13px, transparent 14px 25px);
  --ring-tilt: 8deg;
}

.planet-9 {
  --planet-texture:
    radial-gradient(circle at 26% 30%, rgba(255, 244, 222, 0.36) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 62%, rgba(104, 57, 4, 0.38) 0 11px, transparent 12px),
    repeating-linear-gradient(18deg, rgba(255, 176, 38, 0.24) 0 3px, transparent 4px 12px),
    conic-gradient(from 130deg, rgba(108, 242, 255, 0.22), transparent 20%, rgba(255, 152, 0, 0.32), transparent 62%);
  --planet-clouds:
    repeating-linear-gradient(-18deg, transparent 0 10px, rgba(255, 236, 195, 0.26) 11px 14px, transparent 15px 24px);
}

.planet-signal {
  position: absolute;
  inset: -28px;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid var(--planet-glow);
  opacity: 0;
  transform: scale(0.68);
  transition: opacity var(--transition), transform var(--transition);
}

.planet-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 3;
  min-width: 112px;
  padding: 7px 10px;
  border: 1px solid rgba(180, 221, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.72);
  color: rgba(244, 247, 251, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, 8px);
  opacity: 0;
  backdrop-filter: blur(14px);
  transition: opacity var(--transition), transform var(--transition), border-color var(--transition);
}

.planet-node:hover,
.planet-node:focus-visible,
.planet-node.is-active {
  z-index: 9;
}

.planet-node:hover::before,
.planet-node:focus-visible::before,
.planet-node.is-active::before {
  opacity: 0.74;
  transform: scale(1.1);
}

.planet-node:hover::after,
.planet-node:focus-visible::after,
.planet-node.is-active::after {
  opacity: 0.48;
  transform: scale(1.18);
}

.planet-node:hover .planet-body,
.planet-node:focus-visible .planet-body,
.planet-node.is-active .planet-body {
  animation: none;
  transform: scale(1.12);
  filter: saturate(1.12) brightness(1.06);
  box-shadow:
    inset -12px -16px 24px rgba(0, 0, 0, 0.3),
    inset 8px 8px 22px rgba(255, 255, 255, 0.18),
    0 0 44px var(--planet-glow),
    0 0 92px color-mix(in srgb, var(--planet-color), transparent 56%);
}

.planet-node:hover .planet-ring,
.planet-node:focus-visible .planet-ring,
.planet-node.is-active .planet-ring {
  opacity: 0.84;
  transform: rotate(var(--ring-tilt, -16deg)) scale(1.08);
}

.planet-node:hover .planet-signal,
.planet-node:focus-visible .planet-signal,
.planet-node.is-active .planet-signal {
  opacity: 0.88;
  transform: scale(1);
  animation: signalPing 1.8s ease-out infinite;
}

.planet-node:hover .planet-label,
.planet-node:focus-visible .planet-label,
.planet-node.is-active .planet-label {
  opacity: 1;
  transform: translate(-50%, 0);
  border-color: color-mix(in srgb, var(--planet-color), transparent 48%);
}

.project-hud {
  min-height: 650px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(8, 14, 30, 0.82), rgba(5, 8, 22, 0.64)),
    radial-gradient(circle at 50% 0%, var(--planet-glow), transparent 40%);
  border-color: color-mix(in srgb, var(--planet-color), transparent 72%);
}

.project-hud::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(180, 221, 255, 0.12);
  border-radius: 26px;
  clip-path: polygon(0 0, 42% 0, 42% 1px, 58% 1px, 58% 0, 100% 0, 100% 100%, 62% 100%, 62% calc(100% - 1px), 38% calc(100% - 1px), 38% 100%, 0 100%);
  pointer-events: none;
}

.hud-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 42%, rgba(108, 242, 255, 0.12), transparent 56%);
  opacity: 0.52;
  mix-blend-mode: screen;
  animation: hudScan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hud-header,
.hud-title-row,
.hud-metrics,
.hud-tags {
  position: relative;
  z-index: 1;
}

.hud-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hud-index {
  color: color-mix(in srgb, var(--planet-color), white 18%);
}

.hud-title-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hud-beacon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--planet-color);
  box-shadow: 0 0 18px var(--planet-glow), 0 0 42px var(--planet-glow);
  animation: beaconBlink 1.6s ease-in-out infinite;
}

.project-hud h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.project-hud p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.hud-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.hud-metrics span {
  padding: 14px;
  border: 1px solid rgba(180, 221, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--planet-color), transparent 82%), transparent 68%);
}

.hud-metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hud-metrics strong {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.2;
}

.hud-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.hud-tags span {
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--planet-color), transparent 62%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--planet-color), transparent 90%);
  color: rgba(244, 247, 251, 0.9);
  font-size: 0.8rem;
}

.project-hud-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--planet-color), transparent 52%);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--planet-color), transparent 76%), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 26px color-mix(in srgb, var(--planet-color), transparent 82%);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.project-hud-action:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--planet-color), white 10%);
  box-shadow: 0 0 36px color-mix(in srgb, var(--planet-color), transparent 70%);
}

.project-planet-list {
  display: none;
  gap: 10px;
}

.planet-chip {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(180, 221, 255, 0.12);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.planet-chip span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--planet-color);
  box-shadow: 0 0 18px var(--planet-glow);
}

.planet-chip strong,
.planet-chip small {
  display: block;
}

.planet-chip strong {
  font-size: 0.95rem;
}

.planet-chip small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.planet-chip.is-active {
  border-color: color-mix(in srgb, var(--planet-color), transparent 46%);
  background: color-mix(in srgb, var(--planet-color), transparent 88%);
}

.section-system-analysis {
  position: relative;
  padding-top: 110px;
}

.section-system-analysis::before {
  content: "";
  position: absolute;
  inset: 38px -8% auto;
  height: 420px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 22% 48%, rgba(108, 242, 255, 0.12), transparent 30%),
    radial-gradient(circle at 74% 42%, rgba(255, 107, 74, 0.12), transparent 28%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  filter: blur(20px);
  pointer-events: none;
}

.analysis-console {
  position: relative;
  z-index: 1;
  --reactor-primary: #6cf2ff;
  --reactor-secondary: #6079ff;
  --reactor-warm: #ff6b4a;
  --reactor-speed: 1;
  --reactor-stability: 1;
  overflow: hidden;
  border: 1px solid rgba(180, 221, 255, 0.18);
  border-radius: 34px;
  padding: clamp(20px, 3.4vw, 34px);
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 242, 255, 0.12), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(255, 107, 74, 0.1), transparent 34%),
    rgba(6, 11, 26, 0.78);
  backdrop-filter: blur(22px);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 80px rgba(108, 242, 255, 0.05);
}

.analysis-console[data-objective="visibility"] {
  --reactor-primary: #6cf2ff;
  --reactor-secondary: #7ef7d8;
  --reactor-warm: #ffe66f;
}

.analysis-console[data-objective="conversion"] {
  --reactor-primary: #ff6b4a;
  --reactor-secondary: #ffcf5a;
  --reactor-warm: #ff3b7a;
}

.analysis-console[data-objective="premium"] {
  --reactor-primary: #f3f7ff;
  --reactor-secondary: #9b7dff;
  --reactor-warm: #6cf2ff;
}

.analysis-console[data-objective="launch"] {
  --reactor-primary: #7ef7d8;
  --reactor-secondary: #6cf2ff;
  --reactor-warm: #ff6b4a;
}

.analysis-console[data-need="ads"] {
  --reactor-primary: #6cf2ff;
  --reactor-secondary: #ff9f43;
  --reactor-warm: #ff5de0;
}

.analysis-console[data-need="solutions"] {
  --reactor-primary: #ffb02e;
  --reactor-secondary: #6cf2ff;
  --reactor-warm: #ff6b4a;
}

.analysis-console[data-urgency="fast"] {
  --reactor-speed: 0.72;
}

.analysis-console[data-urgency="rush"] {
  --reactor-speed: 0.48;
}

.analysis-console[data-presence="none"] {
  --reactor-stability: 0.72;
}

.analysis-console[data-presence="rework"] {
  --reactor-stability: 0.54;
}

.analysis-console::before,
.analysis-console::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.analysis-console::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 221, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 221, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, black, transparent 76%);
  opacity: 0.58;
  animation: analysisGridMove 18s linear infinite;
}

.analysis-console::after {
  inset: -60% -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(108, 242, 255, 0.16), transparent 56%);
  opacity: 0.18;
  transform: translateX(-50%) rotate(8deg);
  animation: analysisSheen 7s ease-in-out infinite;
}

.analysis-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.analysis-header h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.analysis-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(108, 242, 255, 0.28);
  border-radius: 999px;
  color: rgba(229, 252, 255, 0.94);
  background: rgba(108, 242, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(108, 242, 255, 0.12);
}

.analysis-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6cf2ff;
  box-shadow: 0 0 16px rgba(108, 242, 255, 0.9);
  animation: analysisBlink 1.4s ease-in-out infinite;
}

.analysis-status strong {
  font-size: inherit;
  font-weight: 700;
}

.analysis-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.analysis-screen {
  position: relative;
  height: 100%;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(180, 221, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--reactor-primary) 11%, transparent), transparent 31%),
    radial-gradient(ellipse at 50% 92%, color-mix(in srgb, var(--reactor-secondary) 12%, transparent), transparent 46%),
    linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--reactor-primary) 5%, transparent) 100%),
    linear-gradient(145deg, #050912 0%, #070b17 50%, #04070e 100%);
  isolation: isolate;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.58);
  transition: border-color 700ms, box-shadow 700ms;
}

.analysis-screen::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--reactor-primary) 16%, transparent);
  clip-path: polygon(0 0, 52px 0, 52px 2px, 2px 2px, 2px 52px, 0 52px, 0 0, 100% 0, 100% 52px, calc(100% - 2px) 52px, calc(100% - 2px) 2px, calc(100% - 52px) 2px, calc(100% - 52px) 0, 100% 0, 100% 100%, calc(100% - 52px) 100%, calc(100% - 52px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(100% - 52px), 100% calc(100% - 52px), 100% 100%, 0 100%, 0 calc(100% - 52px), 2px calc(100% - 52px), 2px calc(100% - 2px), 52px calc(100% - 2px), 52px 100%, 0 100%);
  opacity: 0.72;
  pointer-events: none;
}

.analysis-screen::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(180, 221, 255, 0.018) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 28px, color-mix(in srgb, var(--reactor-primary) 4%, transparent) 28px 29px, transparent 29px 64px),
    linear-gradient(180deg, transparent 0 60%, color-mix(in srgb, var(--reactor-primary) 4%, transparent) 78%, transparent 100%),
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(2, 4, 10, 0.08) 62%, rgba(2, 4, 10, 0.66) 100%);
  pointer-events: none;
}

.intelligence-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--reactor-primary) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--reactor-primary) 5%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--reactor-primary) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--reactor-primary) 9%, transparent) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
  opacity: calc(0.4 + var(--reactor-stability) * 0.22);
  transform: perspective(620px) rotateX(62deg) scale(1.5) translateY(22%);
  transform-origin: 50% 70%;
}

.intelligence-scan {
  position: absolute;
  z-index: 3;
  left: 7%;
  right: 7%;
  top: -18%;
  height: 18%;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--reactor-primary) 18%, transparent), transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--reactor-primary) 62%, transparent);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--reactor-primary) 34%, transparent));
  opacity: 0.56;
  animation: intelligenceScan calc(5.8s * var(--reactor-speed)) linear infinite;
  pointer-events: none;
}

#analysis-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.intelligence-stage {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(70%, 390px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: filter 800ms, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.intelligence-orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid color-mix(in srgb, var(--reactor-primary) 34%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--reactor-primary) 4%, transparent);
  transition: border-color 650ms, opacity 650ms;
}

.intelligence-orbit::before,
.intelligence-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.intelligence-orbit::before {
  inset: -3px;
  border: 3px solid transparent;
  border-top-color: var(--reactor-primary);
  border-right-color: color-mix(in srgb, var(--reactor-secondary) 64%, transparent);
  opacity: 0.74;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--reactor-primary) 48%, transparent));
}

.intelligence-orbit::after {
  inset: 8%;
  border: 1px dashed color-mix(in srgb, var(--reactor-secondary) 28%, transparent);
}

.intelligence-orbit i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--reactor-primary);
  box-shadow: 0 0 12px var(--reactor-primary), 0 0 24px var(--reactor-secondary);
}

.intelligence-orbit i:nth-child(1) { top: -3px; transform: translateX(-50%); }
.intelligence-orbit i:nth-child(2) { top: 50%; right: -3px; left: auto; transform: translateY(-50%); }
.intelligence-orbit i:nth-child(3) { top: auto; bottom: -3px; transform: translateX(-50%); }
.intelligence-orbit i:nth-child(4) { top: 50%; left: -3px; transform: translateY(-50%); }

.intelligence-orbit-a {
  width: 72%;
  height: 72%;
  margin: -36%;
  animation: intelligenceOrbitA calc(13s * var(--reactor-speed)) linear infinite;
}

.intelligence-orbit-b {
  width: 88%;
  height: 88%;
  margin: -44%;
  border-style: dashed;
  transform: rotateX(66deg) rotateZ(18deg);
  animation: intelligenceOrbitB calc(9s * var(--reactor-speed)) linear infinite reverse;
}

.intelligence-orbit-c {
  width: 53%;
  height: 53%;
  margin: -26.5%;
  border-color: color-mix(in srgb, var(--reactor-warm) 38%, transparent);
  transform: rotateY(62deg) rotateZ(-28deg);
  animation: intelligenceOrbitC calc(7s * var(--reactor-speed)) linear infinite;
}

.intelligence-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--reactor-primary) 46%, transparent), transparent);
  transform-origin: center;
  opacity: 0.42;
}

.intelligence-axis-x {
  width: 112%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-11deg);
}

.intelligence-axis-y {
  width: 112%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(79deg);
}

.intelligence-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 32%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--reactor-primary) 64%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.76), transparent 7%),
    radial-gradient(circle, color-mix(in srgb, var(--reactor-primary) 28%, #07101b) 0 22%, rgba(3, 7, 16, 0.94) 58%, transparent 60%),
    conic-gradient(from 90deg, transparent, color-mix(in srgb, var(--reactor-primary) 32%, transparent), transparent 30%, color-mix(in srgb, var(--reactor-secondary) 28%, transparent), transparent 72%);
  box-shadow:
    0 0 22px color-mix(in srgb, var(--reactor-primary) 38%, transparent),
    0 0 88px color-mix(in srgb, var(--reactor-secondary) 24%, transparent),
    inset 0 0 38px color-mix(in srgb, var(--reactor-primary) 22%, transparent);
  transform: translate(-50%, -50%);
  animation: intelligenceCore calc(4.2s * var(--reactor-speed)) ease-in-out infinite;
}

.core-halo,
.core-shell {
  position: absolute;
  border-radius: 50%;
}

.core-halo {
  inset: -27%;
  border: 1px solid color-mix(in srgb, var(--reactor-primary) 22%, transparent);
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--reactor-primary) 62%, transparent) 0 0.7deg, transparent 0.7deg 8deg);
  mask-image: radial-gradient(circle, transparent 0 67%, black 68% 72%, transparent 73%);
  animation: intelligenceHalo calc(18s * var(--reactor-speed)) linear infinite;
}

.core-shell {
  inset: 12%;
  border: 1px dashed color-mix(in srgb, var(--reactor-secondary) 64%, transparent);
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--reactor-primary) 32%, transparent);
  animation: intelligenceHalo calc(8s * var(--reactor-speed)) linear infinite reverse;
}

.core-mark {
  color: #f6fcff;
  font: 600 22px/1 "Courier New", monospace;
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px var(--reactor-primary);
}

.core-level {
  position: absolute;
  top: calc(50% + 25px);
  color: color-mix(in srgb, var(--reactor-primary) 88%, white);
  font: 10px/1 "Courier New", monospace;
  font-variant-numeric: tabular-nums;
}

.intelligence-wave {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0.68;
}

.intelligence-wave::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--reactor-primary) 28%, transparent), transparent);
}

.intelligence-wave i {
  width: 2px;
  height: calc(5px + (var(--bar, 1) * 8px));
  background: var(--reactor-primary);
  box-shadow: 0 0 8px var(--reactor-primary);
  transform-origin: center;
  animation: intelligenceWave calc((1.1s + var(--bar, 1) * 0.16s) * var(--reactor-speed)) ease-in-out infinite alternate;
}

.intelligence-wave i:nth-child(3n + 1) { --bar: 1.8; animation-delay: -0.4s; }
.intelligence-wave i:nth-child(3n + 2) { --bar: 0.8; animation-delay: -0.8s; }
.intelligence-wave i:nth-child(4n) { --bar: 2.4; animation-delay: -0.2s; }

.intelligence-identity {
  position: absolute;
  z-index: 5;
  top: 80px;
  left: 24px;
  right: 24px;
  display: grid;
  gap: 7px;
  pointer-events: none;
}

.intelligence-kicker {
  color: #98b9c4;
  font: 11px/1.5 "Courier New", monospace;
  letter-spacing: 0;
}

.intelligence-identity strong {
  color: #f2f6f8;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

.intelligence-identity [data-reactor-code] {
  color: #9de9e6;
  font: 12px/1.5 "Courier New", monospace;
  letter-spacing: 0;
}

.intelligence-countdown {
  position: absolute;
  z-index: 8;
  inset: 37% 0 auto;
  text-align: center;
  color: white;
  font: 500 76px/1.2 "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 40px #000, 0 0 60px var(--reactor-primary);
  pointer-events: none;
}

.intelligence-countdown[hidden] {
  display: none;
}

.intelligence-outcome {
  position: absolute;
  z-index: 8;
  inset: 44% 20px auto;
  display: grid;
  gap: 8px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 700ms, transform 700ms;
}

.intelligence-outcome span {
  color: #9de9e6;
  font: 12px/1.5 "Courier New", monospace;
  letter-spacing: 0;
}

.intelligence-outcome strong {
  color: #f1f6f9;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.analysis-console[data-analysis-phase="complete"] .intelligence-outcome {
  opacity: 1;
  transform: translateY(0);
}

.intelligence-message {
  position: absolute;
  z-index: 8;
  bottom: 78px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: #e7f6fa;
  font: 12px/1.5 "Courier New", monospace;
  text-align: center;
  text-shadow: 0 1px 8px #000;
}

.intelligence-status-light {
  flex: 0 0 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--reactor-primary);
  box-shadow: 0 0 12px var(--reactor-primary);
  animation: analysisBlink calc(1.4s * var(--reactor-speed)) ease-in-out infinite;
}

.analysis-console[data-prepared="1"] .intelligence-stage { transform: translate(-50%, -50%) scale(1.02); }
.analysis-console[data-prepared="2"] .intelligence-stage { transform: translate(-50%, -50%) scale(1.05); }
.analysis-console[data-prepared="3"] .intelligence-stage,
.analysis-console[data-prepared="4"] .intelligence-stage { transform: translate(-50%, -50%) scale(1.08); }

.analysis-console[data-need="site"] .intelligence-grid { opacity: 0.78; }
.analysis-console[data-need="video"] .intelligence-wave { opacity: 1; transform: scaleY(1.28); }
.analysis-console[data-need="brand"] .intelligence-orbit-c { border-style: double; }
.analysis-console[data-need="capture"] .intelligence-scan { height: 28%; opacity: 0.8; }
.analysis-console[data-need="ads"] .intelligence-grid {
  opacity: 0.9;
  background-size: 30px 30px;
}

.analysis-console[data-need="ads"] .intelligence-orbit-a,
.analysis-console[data-need="ads"] .intelligence-orbit-b {
  border-color: rgba(255, 159, 67, 0.34);
  box-shadow: 0 0 32px rgba(255, 159, 67, 0.18), inset 0 0 28px rgba(108, 242, 255, 0.1);
}

.analysis-console[data-need="ads"] .intelligence-wave {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 159, 67, 0.36));
}

.analysis-console[data-need="solutions"] .intelligence-orbit-c {
  border-color: rgba(255, 176, 46, 0.38);
  border-style: dashed;
}

.analysis-console[data-need="solutions"] .intelligence-core {
  box-shadow:
    0 0 40px rgba(255, 176, 46, 0.34),
    0 0 88px rgba(108, 242, 255, 0.16);
}

.analysis-console[data-analysis-phase="countdown"] .intelligence-stage {
  filter: brightness(1.45) saturate(1.25);
  transform: translate(-50%, -50%) scale(1.12);
}

.analysis-console[data-analysis-phase="synthesis"] .intelligence-stage {
  animation: intelligenceSynthesis 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.analysis-console[data-analysis-phase="synthesis"] .analysis-screen {
  border-color: color-mix(in srgb, var(--reactor-primary) 58%, transparent);
  box-shadow: inset 0 0 120px color-mix(in srgb, var(--reactor-primary) 16%, transparent);
}

.analysis-console[data-analysis-phase="complete"] .intelligence-stage {
  opacity: 0.22;
  filter: blur(1px) brightness(1.15);
  transform: translate(-50%, -50%) scale(1.18);
}

@keyframes intelligenceScan {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 0.58; }
  88% { opacity: 0.58; }
  100% { transform: translateY(760px); opacity: 0; }
}

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

@keyframes intelligenceOrbitB {
  from { transform: rotateX(66deg) rotateZ(18deg); }
  to { transform: rotateX(66deg) rotateZ(378deg); }
}

@keyframes intelligenceOrbitC {
  from { transform: rotateY(62deg) rotateZ(-28deg); }
  to { transform: rotateY(62deg) rotateZ(332deg); }
}

@keyframes intelligenceCore {
  0%, 100% { transform: translate(-50%, -50%) scale(0.96); filter: brightness(0.92); }
  50% { transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.2); }
}

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

@keyframes intelligenceWave {
  from { transform: scaleY(0.36); opacity: 0.42; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes intelligenceSynthesis {
  0% { transform: translate(-50%, -50%) scale(1.08); filter: brightness(1); }
  36% { transform: translate(-50%, -50%) scale(0.92); filter: brightness(1.7) saturate(1.4); }
  58% { transform: translate(-50%, -50%) scale(1.2); filter: brightness(2.1) saturate(1.5); }
  100% { transform: translate(-50%, -50%) scale(1.08); filter: brightness(1.16); }
}

@media (prefers-reduced-motion: reduce) {
  .intelligence-scan,
  .intelligence-orbit,
  .intelligence-core,
  .core-halo,
  .core-shell,
  .intelligence-wave i,
  .analysis-console[data-analysis-phase] .intelligence-stage {
    animation: none;
    transition: none;
  }
}

.orbital-progress {
  position: absolute;
  z-index: 4;
  inset: auto 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  pointer-events: none;
  padding: 8px 0;
  background: linear-gradient(0deg, #060a10e6, #060a1099);
}

.orbital-progress span {
  padding-top: 10px;
  border-top: 1px solid #293942;
  color: #a0adb4;
  font-size: 12px;
  letter-spacing: 0;
  text-align: center;
  transition: color 700ms, border-color 700ms;
}

.orbital-progress .is-set {
  color: #e6f5f4;
  border-color: var(--reactor-primary);
}

.analysis-screen .analysis-readout {
  top: 24px;
  bottom: auto;
  width: auto;
  max-width: calc(50% - 30px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

.analysis-screen .analysis-readout-a {
  left: 24px;
}

.analysis-screen .analysis-readout-b {
  right: 24px;
  text-align: right;
}

.analysis-screen .analysis-readout span {
  font: 12px/1.4 "Courier New", monospace;
  letter-spacing: 0;
  text-transform: none;
  color: #a4b6c0;
}

.analysis-screen .analysis-readout strong {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.analysis-readout {
  position: absolute;
  z-index: 5;
  width: min(210px, 42%);
  padding: 14px 16px;
  border: 1px solid rgba(180, 221, 255, 0.16);
  border-radius: 18px;
  background: rgba(5, 8, 22, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.analysis-readout-a {
  top: 28px;
  left: 28px;
}

.analysis-readout-b {
  right: 28px;
  bottom: 28px;
}

.analysis-readout span,
.analysis-alert span,
.analysis-metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.analysis-readout strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 0.92;
  text-shadow: 0 0 22px rgba(108, 242, 255, 0.28);
}

.analysis-panel {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
}

.analysis-output {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px;
  margin-top: 20px;
  align-items: stretch;
}

.analysis-console:not(.has-result) .analysis-output {
  grid-template-columns: 1fr;
}

.analysis-console:not(.has-result) .analysis-result-slot {
  display: none;
}

.analysis-result-slot {
  min-height: 100%;
}

.analysis-telemetry {
  display: grid;
  gap: 14px;
}

.analysis-bottom-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1.28fr);
  gap: 14px;
}

.analysis-alert,
.analysis-metrics,
.analysis-pulse-stack,
.analysis-log {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(180, 221, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(5, 8, 22, 0.48);
}

.analysis-alert {
  padding: 18px;
  border-color: rgba(255, 107, 74, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 107, 74, 0.18), transparent 52%),
    rgba(5, 8, 22, 0.56);
  animation: analysisAlertPulse 2.4s ease-in-out infinite;
}

.analysis-alert strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 1.1rem;
}

.diagnostic-form {
  display: grid;
  gap: 12px;
}

.diagnostic-step {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(180, 221, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(5, 8, 22, 0.42);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.diagnostic-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(108, 242, 255, 0.12), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.diagnostic-step.is-complete {
  border-color: rgba(108, 242, 255, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(108, 242, 255, 0.1), transparent 44%),
    rgba(5, 8, 22, 0.48);
  box-shadow: 0 0 24px rgba(108, 242, 255, 0.06);
}

.diagnostic-step.is-complete::before {
  opacity: 1;
}

.diagnostic-step > span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagnostic-options {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diagnostic-options button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(180, 221, 255, 0.12);
  border-radius: 999px;
  color: rgba(244, 247, 251, 0.86);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8rem;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.diagnostic-options button:hover,
.diagnostic-options button.is-active {
  transform: translateY(-2px);
  border-color: rgba(108, 242, 255, 0.46);
  color: var(--text);
  background: linear-gradient(135deg, rgba(108, 242, 255, 0.18), rgba(96, 121, 255, 0.08));
  box-shadow: 0 0 20px rgba(108, 242, 255, 0.1);
}

.analysis-runner {
  width: 100%;
  margin-top: 2px;
}

.analysis-runner:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.analysis-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.analysis-metrics div {
  display: grid;
  gap: 8px;
}

.analysis-metrics strong {
  color: var(--text);
  font-size: 1rem;
}

.analysis-metrics div > span {
  display: block;
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.analysis-metrics div > span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(108, 242, 255, 0.95), rgba(255, 107, 74, 0.82));
  box-shadow: 0 0 16px rgba(108, 242, 255, 0.24);
  animation: analysisMeter 2.8s ease-in-out infinite;
}

.diagnostic-result {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(108, 242, 255, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(108, 242, 255, 0.16), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(255, 107, 74, 0.12), transparent 48%),
    rgba(5, 8, 22, 0.62);
  box-shadow: 0 0 34px rgba(108, 242, 255, 0.1);
  animation: resultReveal 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.diagnostic-result[hidden] {
  display: none;
}

.diagnostic-result > span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagnostic-result h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.diagnostic-result p {
  margin: 0 0 14px;
  color: rgba(244, 247, 251, 0.84);
  line-height: 1.55;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.result-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(180, 221, 255, 0.14);
  border-radius: 999px;
  color: rgba(244, 247, 251, 0.88);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.76rem;
}

.analysis-console.is-answering .analysis-screen {
  border-color: var(--reactor-primary);
}

.analysis-console.is-analyzing .analysis-status,
.analysis-console.has-result .analysis-status {
  border-color: rgba(108, 242, 255, 0.52);
  background: rgba(108, 242, 255, 0.13);
}

.analysis-console.is-analyzing .analysis-screen {
  border-color: var(--reactor-primary);
}



.analysis-console.has-result .analysis-alert {
  border-color: rgba(108, 242, 255, 0.42);
  animation: resultGlow 2.8s ease-in-out infinite;
}

.analysis-pulse-stack {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
}

.analysis-pulse-stack span {
  flex: 1;
  min-width: 8px;
  height: calc(22% + var(--i) * 7%);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(108, 242, 255, 0.95), rgba(96, 121, 255, 0.22));
  box-shadow: 0 0 18px rgba(108, 242, 255, 0.18);
  transform-origin: bottom;
  animation: analysisBars 1.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -120ms);
}

.analysis-log {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
}

.analysis-log p {
  margin: 0;
  color: rgba(229, 252, 255, 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-editorial {
  display: block;
  min-height: 560px;
}

.project-deck {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 560px;
  padding: 16px 14px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 16, 33, 0.58);
  backdrop-filter: blur(16px);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-deck-card {
  position: relative;
  width: 94px;
  margin-right: -24px;
  border-radius: 34px;
  border: 2px solid rgba(232, 239, 255, 0.88);
  background: var(--card-gradient, linear-gradient(180deg, #1c2741, #0a1123));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.98);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  transition: width 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
  will-change: width, transform;
}

.project-deck-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 26%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.project-deck-card::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  opacity: 0;
  transform: translateX(-18%) rotate(8deg);
  pointer-events: none;
  transition: opacity 320ms ease;
}

.project-deck-card:hover,
.project-deck-card:focus-visible,
.project-deck-card.is-active {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.96);
  filter: saturate(1.08) brightness(1.05);
}

.project-deck-card:hover::after,
.project-deck-card.is-active::after {
  opacity: 0.44;
  animation: cardShimmer 2.6s ease-in-out infinite;
}

.project-deck-card:focus-visible {
  outline: none;
}

.project-deck-card.is-active {
  width: min(56vw, 760px);
}

.project-card-vertical,
.project-card-body,
.project-card-visual {
  position: relative;
  z-index: 1;
}

.project-card-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 22px 10px 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.project-card-body {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}

.project-deck-card.is-active .project-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  width: min(42%, 360px);
  padding: 28px 16px 28px 12px;
  text-align: left;
  opacity: 1;
  transform: none;
  transition: opacity 360ms ease 120ms, transform 480ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.project-card-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-stage-count {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card-title {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 0.92;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.project-card-desc {
  color: var(--muted);
  line-height: 1.6;
}

.project-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
}

.project-tag,
.portfolio-tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-card-visual {
  display: none;
  opacity: 0;
  transform: scale(0.97);
}

.project-deck-card.is-active .project-card-visual {
  display: block;
  width: 58%;
  padding: 14px 14px 14px 0;
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease 140ms, transform 520ms cubic-bezier(0.22, 1, 0.36, 1) 140ms;
}

.project-deck-card .project-image {
  min-height: 500px;
  border-radius: 28px;
}

.project-deck-card .project-image.is-fallback {
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
}

.projects-mobile {
  display: none;
}

.project-mobile-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  display: grid;
  gap: 18px;
  scroll-snap-align: center;
}

.project-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-mobile-card .project-image {
  min-height: 260px;
}

.project-mobile-card h3 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin-bottom: 10px;
}

.hero-card,
.intro-band,
.project-stage-tags,
.project-stage-notes,
.project-stage-actions,
.project-stage-top,
.project-stage-copy,
.project-stage,
.project-stage-panel,
.project-stage-media,
.project-stage-visual,
.project-content,
.project-meta,
.project-index {
  display: none;
}

.project-image,
.portfolio-image {
  width: 100%;
  border-radius: 26px;
  min-height: 280px;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 26px;
}

.visual-frame::before,
.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.visual-frame::before {
  background:
    linear-gradient(120deg, transparent 0 20%, rgba(255, 255, 255, 0.14) 34%, transparent 48%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 18%);
  opacity: 0.36;
  transform: translateX(-60%);
  animation: imageSweep 7s ease-in-out infinite;
}

.visual-frame::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: screen;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, transparent, black 20%, transparent 86%);
}

.visual-frame .project-image,
.visual-frame .portfolio-image {
  position: relative;
  z-index: 1;
}

.visual-frame img.project-image,
.visual-frame img.portfolio-image {
  display: none;
}

.visual-frame.has-image img.project-image,
.visual-frame.has-image img.portfolio-image {
  display: block;
}

.visual-frame.has-image .is-fallback {
  display: none;
}

.project-image.is-fallback,
.portfolio-image.is-fallback {
  display: grid;
  place-items: end start;
  padding: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  background-image:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.2), transparent 20%),
    var(--card-gradient, linear-gradient(135deg, #1b253b, #10182a));
}

.services-grid,
.contact-grid,
.portfolio-grid {
  display: grid;
  gap: 20px;
}

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

.service-card,
.review-card,
.portfolio-card,
.contact-card {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), opacity 220ms ease;
  overflow: hidden;
}

.service-card:hover,
.portfolio-card:hover,
.contact-card:hover,
.review-card:hover {
  transform: translateY(-8px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24), 0 0 34px rgba(108, 242, 255, 0.08);
}

.service-card::before,
.review-card::before,
.portfolio-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(108, 242, 255, 0.12), transparent 32%),
    linear-gradient(125deg, transparent 12%, rgba(255, 255, 255, 0.055), transparent 48%);
  opacity: 0.42;
  pointer-events: none;
  transition: opacity var(--transition);
}

.service-card::after,
.review-card::after,
.portfolio-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 242, 255, 0.72), rgba(255, 107, 74, 0.38), transparent);
  opacity: 0.42;
  transform: scaleX(0.44);
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:hover::before,
.review-card:hover::before,
.portfolio-card:hover::before,
.contact-card:hover::before {
  opacity: 0.88;
}

.service-card:hover::after,
.review-card:hover::after,
.portfolio-card:hover::after,
.contact-card:hover::after {
  opacity: 0.86;
  transform: scaleX(1);
}

.service-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(108, 242, 255, 0.2), rgba(255, 107, 74, 0.2));
  font-size: 1.3rem;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.08), 0 0 24px rgba(108, 242, 255, 0.12);
  animation: iconPulse 4.8s ease-in-out infinite;
}

.service-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0 24px;
}

.service-list li:nth-child(n + 4) {
  display: none;
}

.service-card {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 410px;
  padding: 32px;
  background: #05070c;
}

.service-card > .service-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(110deg, transparent 12%, #000 68%);
  mask-image: linear-gradient(110deg, transparent 12%, #000 68%);
}

.service-art img {
  position: absolute;
  top: -17%;
  right: -27%;
  width: 120%;
  height: 146%;
  max-width: none;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.86;
  filter: saturate(0.8);
  transform: scale(1);
  transition: transform 800ms ease, opacity 600ms ease;
}

.service-art img[src$="service-design.png"] {
  filter: saturate(0.7) brightness(0.65);
}

.service-art img[src$="service-camera.png"] {
  right: -37%;
  object-position: 36% center;
}

.service-art img[src$="service-ads.png"] {
  top: -8%;
  right: -36%;
  width: 138%;
  height: 122%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.78;
  filter: saturate(0.82) brightness(0.72) contrast(1.04);
}

.service-art img[src$="service-solutions.png"] {
  top: -10%;
  right: -34%;
  width: 138%;
  height: 122%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.78;
  filter: saturate(0.82) brightness(0.72) contrast(1.05);
}

.service-card::before,
.service-card:hover::before {
  z-index: 1;
  background: linear-gradient(105deg, #05070c 8%, rgba(5, 7, 12, 0.97) 29%, rgba(5, 7, 12, 0.76) 54%, rgba(5, 7, 12, 0.2) 100%);
  opacity: 1;
}

.service-card > :not(.service-art) {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  max-width: 100%;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-card p {
  max-width: 42ch;
  color: #d6dce6;
  text-shadow: 0 1px 6px #05070c;
}

.service-card .service-list {
  width: auto;
  max-width: 100%;
  color: #e1e6ee;
  text-shadow: 0 1px 6px #05070c;
}

.service-card .btn {
  margin-top: auto;
  background: rgba(35, 40, 49, 0.94);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover .service-art img {
    transform: scale(1.035);
    opacity: 0.95;
  }
}

@media (max-width: 560px) {
  .service-card {
    min-height: 390px;
  }

  .service-card h3 {
    font-size: 24px;
  }

  .service-art img {
    right: -40%;
    width: 145%;
    opacity: 0.74;
  }

  .service-art img[src$="service-camera.png"] {
    right: -48%;
  }

  .service-card::before,
  .service-card:hover::before {
    background: linear-gradient(105deg, #05070c 5%, rgba(5, 7, 12, 0.94) 34%, rgba(5, 7, 12, 0.55) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-art img {
    transition: none;
  }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -60% -90%;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.52), transparent 58%);
  opacity: 0;
  transform: translateX(-35%) rotate(8deg);
  pointer-events: none;
}

.btn:hover::before {
  opacity: 0.5;
  animation: buttonShine 950ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(108, 242, 255, 0.95), rgba(96, 121, 255, 0.95));
  color: #04101f;
  box-shadow: 0 12px 30px rgba(96, 121, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.filter-bar {
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

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

.portfolio-card {
  display: grid;
  gap: 16px;
}

.portfolio-card[data-hidden="true"] {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
}

.portfolio-card .portfolio-image {
  min-height: 220px;
}

.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-reviews {
  padding-bottom: 20px;
}

.reviews-shell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-color: rgba(180, 221, 255, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 242, 255, 0.12), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(255, 107, 74, 0.1), transparent 34%),
    rgba(10, 16, 33, 0.78);
}

.reviews-viewport {
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
}

.reviews-track {
  display: flex;
  min-width: 0;
  overflow: visible;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 320px;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  border-color: rgba(180, 221, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 12% 12%, rgba(108, 242, 255, 0.14), transparent 28%),
    rgba(8, 14, 30, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 54px rgba(0, 0, 0, 0.26);
  opacity: 0.36;
  transform: scale(0.96);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1), border-color var(--transition), box-shadow var(--transition);
}

.review-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(108, 242, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 0 46px rgba(108, 242, 255, 0.1);
}

.review-card-top {
  position: relative;
}

.review-card-top::before {
  content: "“";
  position: absolute;
  top: -34px;
  left: -6px;
  color: rgba(108, 242, 255, 0.18);
  font-family: Georgia, serif;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
  pointer-events: none;
}

.review-card p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: rgba(244, 247, 251, 0.94);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.55;
  text-wrap: balance;
}

.review-stars {
  position: relative;
  z-index: 1;
  letter-spacing: 0.22em;
  color: #ffd56b;
  margin-bottom: 22px;
  text-shadow: 0 0 18px rgba(255, 213, 107, 0.28);
}

.review-author {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(180, 221, 255, 0.13);
}

.review-author h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.review-role {
  color: var(--muted);
  font-size: 0.95rem;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid rgba(180, 221, 255, 0.16);
  background:
    radial-gradient(circle at 50% 20%, rgba(108, 242, 255, 0.14), transparent 58%),
    rgba(255, 255, 255, 0.055);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.carousel-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(108, 242, 255, 0.42);
  background: rgba(108, 242, 255, 0.1);
  box-shadow: 0 0 26px rgba(108, 242, 255, 0.12);
}

.reviews-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 4px;
}

.review-dot {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(180, 221, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition: width var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.review-dot.is-active {
  width: 52px;
  border-color: rgba(108, 242, 255, 0.52);
  background: linear-gradient(90deg, rgba(108, 242, 255, 0.95), rgba(96, 121, 255, 0.78));
  box-shadow: 0 0 18px rgba(108, 242, 255, 0.28);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.booking-form {
  padding: 28px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.booking-form span {
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 16px 18px;
  outline: none;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.booking-form select {
  color-scheme: dark;
}

.booking-form select option {
  background: #0b1124;
  color: #f4f7fb;
}

.booking-form select option:checked,
.booking-form select option:hover {
  background: #123a7b;
  color: #ffffff;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  border-color: rgba(108, 242, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(108, 242, 255, 0.07);
}

.form-feedback {
  min-height: 1.5rem;
  margin: 16px 0 0;
  color: var(--accent);
}

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

.contact-card {
  min-height: 220px;
}

.social-links {
  gap: 14px;
  margin-top: 14px;
}

.section-contact {
  position: relative;
}

.section-contact::before {
  content: "";
  position: absolute;
  inset: 80px -10% auto;
  height: 520px;
  border-radius: 52px;
  background:
    radial-gradient(circle at 20% 30%, rgba(108, 242, 255, 0.14), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(255, 107, 74, 0.12), transparent 24%),
    radial-gradient(circle at 58% 90%, rgba(155, 125, 255, 0.1), transparent 32%);
  filter: blur(24px);
  pointer-events: none;
}

.contact-transmission {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.contact-primary {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 34px;
  border-color: rgba(180, 221, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 0% 0%, rgba(108, 242, 255, 0.15), transparent 38%),
    rgba(7, 12, 27, 0.76);
}

.contact-primary-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}

.contact-status,
.contact-priority {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(180, 221, 255, 0.14);
  color: rgba(229, 252, 255, 0.9);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-status {
  gap: 10px;
  border-color: rgba(108, 242, 255, 0.28);
  background: rgba(108, 242, 255, 0.08);
}

.contact-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(108, 242, 255, 0.9);
  animation: contactBeacon 1.5s ease-in-out infinite;
}

.contact-primary h3 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.contact-primary p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-direct a,
.contact-channel-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 16px 18px;
  border: 1px solid rgba(180, 221, 255, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 242, 255, 0.08), transparent 62%),
    rgba(255, 255, 255, 0.035);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-direct a:first-child {
  grid-column: 1 / -1;
  min-height: 88px;
  padding: 18px 20px;
}

.contact-direct a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.08), transparent 52%);
  opacity: 0;
  transform: translateX(-45%);
  transition: opacity var(--transition), transform 700ms ease;
}

.contact-direct a:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 242, 255, 0.32);
  background: rgba(108, 242, 255, 0.07);
  box-shadow: 0 0 28px rgba(108, 242, 255, 0.08);
}

.contact-direct a:hover::before {
  opacity: 1;
  transform: translateX(45%);
}

.contact-channel-placeholder {
  border-style: dashed;
  color: rgba(229, 252, 255, 0.74);
}

.contact-direct small,
.frequency-channel span,
.contact-zone span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-direct strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-direct a:first-child strong {
  white-space: nowrap;
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
}

.contact-orbital {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(180, 221, 255, 0.16);
  border-radius: 34px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(108, 242, 255, 0.14), transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(255, 107, 74, 0.1), transparent 28%),
    rgba(5, 8, 22, 0.58);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.contact-orbital::before {
  background-image:
    linear-gradient(rgba(180, 221, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 221, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 78%);
  opacity: 0.52;
  animation: contactGridMove 20s linear infinite;
}

.contact-orbital::after {
  background: linear-gradient(180deg, transparent 0 44%, rgba(108, 242, 255, 0.12), transparent 56%);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: contactScan 5.8s ease-in-out infinite;
}

.transmission-orb {
  position: relative;
  z-index: 1;
  min-height: 270px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.transmission-core {
  position: relative;
  z-index: 3;
  width: 94px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.96), rgba(108, 242, 255, 0.48) 22%, rgba(96, 121, 255, 0.2) 54%, transparent 74%);
  box-shadow:
    0 0 42px rgba(108, 242, 255, 0.58),
    0 0 110px rgba(96, 121, 255, 0.22);
  animation: transmissionCore 4.8s ease-in-out infinite;
}

.transmission-ring {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(180, 221, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(108, 242, 255, 0.06);
}

.transmission-ring-a {
  width: min(78%, 320px);
  aspect-ratio: 1.45 / 0.56;
  transform: rotate(-16deg);
  animation: transmissionRingA 9s linear infinite;
}

.transmission-ring-b {
  width: min(66%, 270px);
  aspect-ratio: 1.2 / 0.72;
  border-color: rgba(255, 107, 74, 0.16);
  transform: rotate(42deg);
  animation: transmissionRingB 11s linear infinite reverse;
}

.transmission-ring-c {
  width: min(88%, 370px);
  aspect-ratio: 1 / 1;
  border-color: rgba(108, 242, 255, 0.1);
  animation: transmissionPulse 2.6s ease-out infinite;
}

.transmission-beam {
  position: absolute;
  z-index: 1;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(108, 242, 255, 0.86), rgba(255, 107, 74, 0.48), transparent);
  box-shadow: 0 0 18px rgba(108, 242, 255, 0.42);
  transform: rotate(-22deg);
  animation: transmissionBeam 3.6s ease-in-out infinite;
}

.contact-frequency-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.contact-orbital-info {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: stretch;
}

.contact-frequency-panel,
.contact-zone {
  min-height: 100%;
  border: 1px solid rgba(180, 221, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-frequency-panel {
  padding: 16px;
}

.contact-frequency-panel > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.frequency-channel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid rgba(180, 221, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.frequency-channel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(108, 242, 255, 0.18), transparent 38%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.frequency-channel:hover {
  transform: translateX(6px);
  border-color: rgba(108, 242, 255, 0.32);
  background: rgba(108, 242, 255, 0.06);
  box-shadow: 0 0 24px rgba(108, 242, 255, 0.08);
}

.frequency-channel:hover::after {
  opacity: 1;
}

.frequency-channel strong {
  color: var(--text);
  font-size: 1.05rem;
}

.frequency-channel small,
.contact-zone small {
  color: var(--muted);
}

.contact-zone {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-color: rgba(255, 107, 74, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.18), rgba(5, 8, 22, 0.58)),
    radial-gradient(circle at 50% 24%, rgba(108, 242, 255, 0.12), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(255, 107, 74, 0.13), transparent 48%),
    rgba(255, 255, 255, 0.035);
}

.contact-zone strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.contact-zone small {
  max-width: 24ch;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .contact-orbital-info {
    grid-template-columns: 1fr;
  }

  .contact-zone {
    min-height: 190px;
  }
}

.legal-page .site-header {
  background: rgba(8, 12, 25, 0.74);
  backdrop-filter: blur(22px);
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.legal-main {
  width: var(--container);
  margin: 0 auto;
  padding: 170px 0 20px;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(180, 221, 255, 0.15);
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(5, 8, 22, 0.96) 0 38%, rgba(5, 8, 22, 0.58) 72%, rgba(108, 242, 255, 0.08)),
    radial-gradient(circle at 82% 18%, rgba(108, 242, 255, 0.24), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(255, 107, 74, 0.15), transparent 32%),
    rgba(7, 12, 27, 0.82);
  box-shadow: var(--shadow);
}

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

.legal-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 221, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 221, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black 44%, transparent);
  opacity: 0.42;
}

.legal-hero::after {
  width: 260px;
  aspect-ratio: 1;
  right: 7%;
  top: 50%;
  border: 1px solid rgba(108, 242, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 46px rgba(108, 242, 255, 0.12),
    inset 0 0 34px rgba(108, 242, 255, 0.06);
  transform: translateY(-50%) rotate(-18deg);
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.legal-hero p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.legal-panel {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(180, 221, 255, 0.13);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(7, 12, 27, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.2);
}

.legal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(108, 242, 255, 0.12), transparent 38%);
  opacity: 0.72;
  pointer-events: none;
}

.legal-panel > * {
  position: relative;
  z-index: 1;
}

.legal-panel > span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.legal-panel h2 {
  max-width: 18ch;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}

.legal-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-panel p + p {
  margin-top: 14px;
}

.legal-panel strong,
.legal-panel a {
  color: var(--text);
}

.legal-panel a {
  text-decoration: underline;
  text-decoration-color: rgba(108, 242, 255, 0.34);
  text-underline-offset: 4px;
}

.site-footer {
  width: var(--container);
  margin: 100px auto 32px;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.site-footer.legal-footer {
  grid-template-columns: 1.2fr 1fr;
}

.footer-brand p,
.footer-copy {
  margin-bottom: 6px;
}

.footer-brand span,
.footer-copy {
  color: var(--muted);
}

.footer-nav,
.footer-meta {
  gap: 14px;
  align-content: start;
}

.footer-meta {
  display: grid;
  gap: 12px;
}

.footer-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

.footer-socials {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity 720ms ease, transform 720ms ease, filter 720ms ease;
}

.reveal[data-reveal="zoom"] {
  transform: scale(0.92);
}

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

.service-card > *,
.review-card > *,
.portfolio-card > *,
.contact-card > *,
.glass-panel > * {
  position: relative;
  z-index: 1;
}

.services-grid .reveal:nth-child(2),
.contact-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.services-grid .reveal:nth-child(3),
.contact-grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.services-grid .reveal:nth-child(4),
.contact-grid .reveal:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes galaxyDrift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-1deg);
  }
  to {
    transform: translate3d(2%, 1%, 0) rotate(1.5deg);
  }
}

@keyframes gridFloat {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 88px 176px, 176px 88px;
  }
}

@keyframes riftBreath {
  0% {
    transform: scale(1) rotate(-2deg);
    opacity: 0.46;
  }
  100% {
    transform: scale(1.08) rotate(2deg);
    opacity: 0.76;
  }
}

@keyframes dustFall {
  from {
    background-position: 14px 22px, 90px 140px, 160px 40px;
  }
  to {
    background-position: 14px 612px, 90px 660px, 160px 720px;
  }
}

@keyframes headerSheen {
  0%,
  35% {
    transform: translateX(-120%);
  }
  58%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes nebulaPulse {
  0%,
  100% {
    opacity: 0.38;
    filter: blur(9px);
  }
  50% {
    opacity: 0.72;
    filter: blur(14px);
  }
}

@keyframes lightBar {
  0%,
  100% {
    transform: scaleX(0.72);
    opacity: 0.42;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

@keyframes stageHalo {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

@keyframes outerRingPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.94);
    opacity: 0.34;
  }
  45% {
    transform: translate(-50%, -50%) scale(1.03);
    opacity: 0.88;
  }
}

@keyframes logoGlitch {
  0%,
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) scale(1);
  }
  22% {
    clip-path: inset(12% 0 64% 0);
    transform: translate3d(-5px, 1px, 0) scale(1.018);
  }
  48% {
    clip-path: inset(58% 0 18% 0);
    transform: translate3d(5px, -1px, 0) scale(0.992);
  }
  74% {
    clip-path: inset(24% 0 42% 0);
    transform: translate3d(-2px, 2px, 0) scale(1.008);
  }
}

@keyframes auraSpin {
  from {
    transform: rotate(0deg) scale(0.96);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes innerOrbit {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.34;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.72;
  }
}

@keyframes orbitRingA {
  from {
    transform: rotateX(68deg) rotateZ(14deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(374deg);
  }
}

@keyframes orbitRingB {
  from {
    transform: rotateX(72deg) rotateY(48deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(72deg) rotateY(48deg) rotateZ(360deg);
  }
}

@keyframes orbitRingC {
  from {
    transform: rotateX(58deg) rotateY(-38deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(58deg) rotateY(-38deg) rotateZ(360deg);
  }
}

@keyframes logoSpark {
  0%,
  100% {
    transform: translate3d(0, 8px, 0) scale(0.4);
    opacity: 0;
  }
  38% {
    opacity: 0.92;
  }
  70% {
    transform: translate3d(0, -20px, 0) scale(1);
    opacity: 0;
  }
}

@keyframes sectionLinePulse {
  0%,
  100% {
    transform: scaleX(0.72);
    opacity: 0.54;
  }
  50% {
    transform: scaleX(1.08);
    opacity: 0.9;
  }
}

@keyframes cardShimmer {
  0%,
  35% {
    transform: translateX(-18%) rotate(8deg);
  }
  70%,
  100% {
    transform: translateX(18%) rotate(8deg);
  }
}

@keyframes imageSweep {
  0%,
  38% {
    transform: translateX(-70%);
    opacity: 0.08;
  }
  58% {
    opacity: 0.42;
  }
  82%,
  100% {
    transform: translateX(92%);
    opacity: 0;
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-3px);
    filter: brightness(1.18);
  }
}

@keyframes buttonShine {
  from {
    transform: translateX(-35%) rotate(8deg);
  }
  to {
    transform: translateX(35%) rotate(8deg);
  }
}

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

@keyframes galaxyDiskSpin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.03);
  }
}

@keyframes galaxyNoiseDrift {
  from {
    background-position: 12px 24px, 58px 96px, 0 50%;
  }
  to {
    background-position: 98px 196px, 190px 228px, 100% 50%;
  }
}

@keyframes orbitTrace {
  0%,
  100% {
    opacity: 0.22;
    filter: drop-shadow(0 0 0 rgba(108, 242, 255, 0));
  }
  50% {
    opacity: 0.62;
    filter: drop-shadow(0 0 12px rgba(108, 242, 255, 0.16));
  }
}

@keyframes corePulse {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.2;
  }
  55% {
    transform: scale(1.16);
    opacity: 0.72;
  }
}

@keyframes planetFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(7deg);
  }
}

@keyframes planetSurfaceDrift {
  from {
    transform: translateX(-8%) rotate(0deg) scale(1.08);
  }
  to {
    transform: translateX(8%) rotate(12deg) scale(1.08);
  }
}

@keyframes planetCloudDrift {
  from {
    transform: translateX(10%) rotate(0deg) scale(1.12);
  }
  to {
    transform: translateX(-10%) rotate(-10deg) scale(1.12);
  }
}

@keyframes signalPing {
  0% {
    opacity: 0.75;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@keyframes hudScan {
  0%,
  100% {
    transform: translateY(-42%);
    opacity: 0.08;
  }
  45% {
    opacity: 0.46;
  }
  68% {
    transform: translateY(42%);
    opacity: 0.14;
  }
}

@keyframes beaconBlink {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.42;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes analysisGridMove {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 84px 42px, 42px 84px;
  }
}

@keyframes analysisSheen {
  0%,
  34% {
    transform: translateX(-58%) rotate(8deg);
    opacity: 0;
  }
  56% {
    opacity: 0.2;
  }
  84%,
  100% {
    transform: translateX(58%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes analysisBlink {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.42;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes analysisScanDown {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  38% {
    opacity: 0.58;
  }
  72% {
    transform: translateY(340%);
    opacity: 0.12;
  }
}

@keyframes analysisCrosshair {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes analysisCorePulse {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.16;
  }
  52% {
    transform: scale(1.18);
    opacity: 0.74;
  }
}








@keyframes analysisAlertPulse {
  0%,
  100% {
    border-color: rgba(255, 107, 74, 0.24);
    box-shadow: 0 0 0 rgba(255, 107, 74, 0);
  }
  50% {
    border-color: rgba(255, 107, 74, 0.58);
    box-shadow: 0 0 30px rgba(255, 107, 74, 0.12);
  }
}

@keyframes analysisMeter {
  0%,
  100% {
    filter: brightness(1);
    transform: scaleX(0.94);
  }
  50% {
    filter: brightness(1.24);
    transform: scaleX(1);
  }
}

@keyframes analysisBars {
  0%,
  100% {
    transform: scaleY(0.58);
    opacity: 0.42;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.95;
  }
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes analysisScreenBoost {
  0%,
  100% {
    border-color: rgba(180, 221, 255, 0.16);
    filter: brightness(1);
  }
  50% {
    border-color: rgba(108, 242, 255, 0.48);
    filter: brightness(1.16);
  }
}

@keyframes resultGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(108, 242, 255, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(108, 242, 255, 0.14);
  }
}

@keyframes contactBeacon {
  0%,
  100% {
    transform: scale(0.75);
    opacity: 0.42;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes contactGridMove {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 88px 44px, 44px 88px;
  }
}

@keyframes contactScan {
  0%,
  100% {
    transform: translateY(-56%);
    opacity: 0;
  }
  48% {
    opacity: 0.48;
  }
  76% {
    transform: translateY(56%);
    opacity: 0.1;
  }
}

@keyframes transmissionCore {
  0%,
  100% {
    transform: scale(0.94);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.18);
  }
}

@keyframes transmissionRingA {
  from {
    transform: rotate(-16deg);
  }
  to {
    transform: rotate(344deg);
  }
}

@keyframes transmissionRingB {
  from {
    transform: rotate(42deg);
  }
  to {
    transform: rotate(402deg);
  }
}

@keyframes transmissionPulse {
  0% {
    transform: scale(0.68);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

@keyframes transmissionBeam {
  0%,
  100% {
    opacity: 0.22;
    transform: rotate(-22deg) scaleX(0.7);
  }
  50% {
    opacity: 0.82;
    transform: rotate(-22deg) scaleX(1.08);
  }
}

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

@keyframes heroCopyIn {
  from {
    opacity: 0.94;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0.94;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes logoLevitate {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: brightness(0) invert(1) contrast(1.08) drop-shadow(0 20px 40px rgba(105, 223, 255, 0.4));
  }
  35% {
    transform: translate3d(0, -6px, 0) scale(1.028);
    filter: brightness(0) invert(1) contrast(1.12) drop-shadow(0 24px 56px rgba(120, 231, 255, 0.54));
  }
  62% {
    transform: translate3d(0, 3px, 0) scale(0.992);
    filter: brightness(0) invert(1) contrast(1.06) drop-shadow(0 18px 32px rgba(96, 136, 255, 0.36));
  }
}

@keyframes reflectionPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.86;
  }
}

@keyframes vortexSpin {
  from {
    transform: rotate(0deg) scale(0.96);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes radarPulse {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }
  34% {
    opacity: 0.62;
  }
  74% {
    opacity: 0.22;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

@keyframes scanSweep {
  0%,
  100% {
    transform: translateY(-34%) scaleY(0.7);
    opacity: 0.08;
  }
  46% {
    transform: translateY(8%) scaleY(1.1);
    opacity: 0.54;
  }
  72% {
    transform: translateY(24%) scaleY(0.9);
    opacity: 0.18;
  }
}

@keyframes ghostTrailA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  18% {
    transform: translate3d(-4px, -1px, 0) scale(1.01);
    opacity: 0.2;
  }
  24% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
}

@keyframes ghostTrailB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  32% {
    transform: translate3d(5px, 1px, 0) scale(1.012);
    opacity: 0.14;
  }
  40% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
}

@keyframes heroHeadlineFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(1.4px);
  }
  12% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
  84% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
  96% {
    opacity: 0;
    transform: translateY(-8px);
    filter: blur(1.2px);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
    filter: blur(1.2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .cosmic-rift,
  .stellar-dust,
  .site-header::before,
  .hero-entrance-copy,
  .hero-entrance-visual,
  .hero-typewriter,
  .hero-logo,
  .hero-copy::before,
  .hero-orb,
  .logo-aura,
  .logo-vortex,
  .logo-vortex-inner,
  .logo-energy-ring,
  .logo-spark-field span,
  .logo-radar span,
  .logo-scanline,
  .logo-ghost,
  .logo-reflection,
  .section-heading::after,
  .visual-frame::before,
  .service-icon,
  .review-card,
  .galaxy-map::before,
  .galaxy-map::after,
  .galaxy-orbit,
  .galaxy-core::before,
  .galaxy-core-pulse,
  .planet-body,
  .planet-surface,
  .planet-clouds,
  .planet-signal,
  .hud-scanline,
  .hud-beacon,
  .analysis-console::before,
  .analysis-console::after,
  .analysis-status span,
  .analysis-screen::after,
  .analysis-alert,
  .analysis-metrics div > span::before,
  .analysis-pulse-stack span,
  .diagnostic-result,
  .analysis-console.is-analyzing .analysis-screen,
  .analysis-console.has-result .analysis-alert,
  .contact-status span,
  .contact-orbital::before,
  .contact-orbital::after,
  .transmission-core,
  .transmission-ring,
  .transmission-beam {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .services-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 122px;
    gap: 26px;
  }

  .hero-visual {
    margin-top: -26px;
    justify-items: center;
    order: -1;
  }

  .hero-card {
    transform: none;
  }

  .logo-stage {
    width: min(100%, 460px);
    min-height: 320px;
    padding: 34px;
  }

  .hero-copy {
    text-align: center;
    margin-top: -50px;
  }

  .hero-visual > .eyebrow {
    top: 64px;
    margin-bottom: -148px;
  }

  h1 {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
    margin-bottom: 16px;
  }

  .hero-typewriter {
    font-size: clamp(1.72rem, 6.8vw, 3rem);
    max-width: 94vw;
    margin-top: -44px;
  }

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

  .hero-note {
    margin-top: 8px;
  }

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

  .projects-galaxy {
    grid-template-columns: 1fr;
  }

  .galaxy-map,
  .project-hud {
    min-height: 560px;
  }

  .project-hud {
    justify-content: flex-start;
  }

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

  .analysis-screen {
    min-height: 360px;
  }

  .analysis-output {
    grid-template-columns: 1fr;
  }

  .analysis-result-slot {
    min-height: auto;
  }

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

  .contact-transmission {
    grid-template-columns: 1fr;
  }

  .contact-primary,
  .contact-orbital {
    min-height: auto;
  }

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

  .project-deck-card {
    width: 82px;
    margin-right: -18px;
  }

  .project-deck-card.is-active {
    width: min(64vw, 620px);
  }

  .project-deck-card .project-image {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 28px, 1000px);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header {
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-height);
    padding: 16px 18px;
    border-radius: 32px;
  }

  .brand-logo {
    width: 100px;
    height: 50px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 4px;
  }

  .site-header.is-open .header-cta {
    margin-top: 4px;
  }

  .section + .section {
    padding-top: 92px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12.5vw, 3.6rem);
  }

  .hero {
    padding-bottom: 52px;
  }

  .hero-visual {
    margin-top: -18px;
    margin-bottom: 6px;
  }

  .hero-visual > .eyebrow {
    top: 50px;
    margin-bottom: -122px;
  }

  .logo-stage {
    min-height: 270px;
    border-radius: 30px;
  }

  .hero-logo {
    width: min(380px, 82vw);
  }

  .hero-typewriter {
    min-height: 2.6em;
    max-width: 96vw;
    font-size: clamp(1.52rem, 8.8vw, 2.2rem);
    margin-top: -34px;
  }

  .logo-rings {
    inset: 18%;
  }

  .hero-note {
    margin-top: 2px;
    font-size: 0.95rem;
  }

  .hero-copy {
    margin-top: -34px;
  }

  .projects-editorial {
    display: none;
  }

  .projects-mobile {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(86%, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .projects-mobile::-webkit-scrollbar {
    height: 8px;
  }

  .projects-mobile::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
  }

  .projects-galaxy {
    gap: 14px;
  }

  .galaxy-map {
    min-height: 520px;
    border-radius: 28px;
  }

  .project-hud {
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
  }

  .section-system-analysis {
    padding-top: 84px;
  }

  .analysis-header {
    display: grid;
  }

  .analysis-screen {
    min-height: 420px;
  }



  .analysis-readout {
    width: min(188px, 48%);
    padding: 12px;
  }

  .analysis-readout-a {
    top: 18px;
    left: 18px;
  }

  .analysis-readout-b {
    right: 18px;
    bottom: 18px;
  }

  .analysis-pulse-stack {
    min-height: 92px;
  }

  .diagnostic-options button {
    flex: 1 1 calc(50% - 8px);
  }

  .contact-primary h3 {
    max-width: 14ch;
  }

  .contact-direct {
    grid-template-columns: 1fr;
  }

  .transmission-orb {
    min-height: 230px;
  }

  .project-planet-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planet-node {
    width: calc(var(--planet-size) * 0.78);
    height: calc(var(--planet-size) * 0.78);
  }

  .planet-label {
    min-width: 94px;
    font-size: 0.68rem;
  }

  .hud-metrics {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .contact-grid,
  .services-grid,
  .legal-grid,
  .field-row,
  .booking-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .legal-main {
    padding-top: 140px;
  }

  .legal-hero {
    min-height: 310px;
  }

  .legal-hero h1 {
    max-width: 100%;
  }

  .reviews-shell {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    grid-auto-columns: 100%;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 18px;
  }

  .logo-stage {
    min-height: 236px;
    padding: 24px;
  }

  .galaxy-map {
    min-height: 430px;
  }

  .galaxy-core {
    width: 96px;
  }

  .galaxy-core-label {
    font-size: 0.62rem;
  }

  .planet-node {
    width: calc(var(--planet-size) * 0.58);
    height: calc(var(--planet-size) * 0.58);
  }

  .planet-label {
    display: none;
  }

  .project-planet-list {
    grid-template-columns: 1fr;
  }

  .project-hud h3 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .analysis-console {
    border-radius: 26px;
    padding: 16px;
  }

  .analysis-screen {
    min-height: 440px;
  }

  .intelligence-identity strong {
    font-size: 18px;
  }

  .intelligence-kicker {
    max-width: 200px;
    font-size: 10px;
  }

  .intelligence-identity {
    top: 94px;
    left: 16px;
    gap: 4px;
  }

  .intelligence-stage {
    top: 53%;
    width: min(80%, 300px);
  }

  .intelligence-countdown {
    font-size: 64px;
  }

  .orbital-progress {
    left: 14px;
    right: 14px;
    gap: 6px;
  }

  .orbital-progress span {
    font-size: 12px;
  }

  .analysis-screen .analysis-readout-a {
    left: 16px;
  }

  .analysis-screen .analysis-readout-b {
    right: 16px;
  }








  .analysis-readout {
    width: calc(50% - 26px);
    padding: 10px;
    border-radius: 14px;
  }

  .analysis-readout span,
  .analysis-alert span,
  .analysis-metrics small {
    font-size: 0.64rem;
  }

  .analysis-readout strong {
    font-size: 1.25rem;
  }

  .analysis-panel {
    gap: 12px;
  }

  .analysis-output {
    margin-top: 14px;
  }

  .analysis-metrics,
  .analysis-bottom-grid {
    grid-template-columns: 1fr;
  }

  .analysis-pulse-stack {
    min-height: 86px;
  }

  .contact-primary,
  .contact-orbital {
    border-radius: 26px;
    padding: 20px;
  }

  .contact-primary h3 {
    font-size: clamp(2rem, 13vw, 3.2rem);
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-direct a,
  .contact-channel-placeholder {
    min-height: auto;
  }

  .contact-direct a:first-child strong {
    font-size: 0.82rem;
  }

  .transmission-core {
    width: 76px;
  }

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

  .diagnostic-step {
    padding: 12px;
  }

  .diagnostic-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .diagnostic-options button {
    width: 100%;
  }

  .hero-typewriter {
    min-height: 2.9em;
    margin-top: -24px;
  }

  .hero-visual > .eyebrow {
    top: 38px;
    margin-bottom: -98px;
  }

  .contact-card,
  .service-card,
  .portfolio-card,
  .review-card,
  .booking-form {
    padding: 20px;
  }

  .project-mobile-card {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-copy {
    margin-top: -24px;
  }
}
