:root {
  color-scheme: dark;
  --bg: #060a14;
  --bg-2: #0a1020;
  --surface: rgba(10, 18, 36, 0.68);
  --surface-strong: rgba(14, 24, 48, 0.84);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(177, 207, 255, 0.15);
  --line-strong: rgba(177, 207, 255, 0.28);
  --text: #f5f8ff;
  --muted: #a8b5d1;
  --muted-2: #6f7d9c;
  --cyan: #5bd7ff;
  --cyan-soft: rgba(91, 215, 255, 0.16);
  --violet: #9c6bff;
  --pink: #ff5fd7;
  --mint: #7dffcb;
  --amber: #ffd47a;
  --blue: #7aa7ff;
  --danger: #ff6c8f;
  --ok: #7dffcb;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --container: min(1180px, calc(100vw - 48px));
  --header-h: 78px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --glow: 0 0 48px rgba(91, 215, 255, 0.18), 0 0 120px rgba(156, 107, 255, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(91, 215, 255, 0.18), transparent 36rem),
    radial-gradient(circle at 88% 4%, rgba(255, 95, 215, 0.15), transparent 34rem),
    radial-gradient(circle at 48% 48%, rgba(42, 81, 180, 0.12), transparent 48rem),
    linear-gradient(180deg, #050713 0%, #080d1a 42%, #050814 100%);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 72%);
}

body::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.54) 100%);
  z-index: 30;
  opacity: 0.3;
}

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

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

button {
  border: 0;
}

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

::selection {
  color: #04101f;
  background: var(--cyan);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #06101e;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0,0,0,0.34);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(91, 215, 255, 0.72);
  outline-offset: 3px;
}

.noscript-notice {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 14px 18px;
  border: 1px solid rgba(91, 215, 255, 0.28);
  border-radius: 18px;
  color: var(--text);
  background: rgba(6, 10, 20, 0.92);
  box-shadow: 0 18px 54px rgba(0,0,0,0.36);
  backdrop-filter: blur(18px);
  font-size: 14px;
  font-weight: 700;
}

.starfield,
.aurora,
.noise,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.starfield {
  z-index: -4;
  opacity: 0.78;
}

.aurora {
  z-index: -3;
  background:
    radial-gradient(circle at 16% 28%, rgba(91, 215, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 36%, rgba(156, 107, 255, 0.16), transparent 34%),
    radial-gradient(circle at 50% 80%, rgba(255, 95, 215, 0.08), transparent 35%);
  filter: blur(16px);
  animation: auroraFloat 16s ease-in-out infinite alternate;
}

.noise {
  z-index: 35;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.38'/%3E%3C/svg%3E");
}

.cursor-glow {
  z-index: 20;
  width: 460px;
  height: 460px;
  inset: auto;
  left: calc(var(--px, -1000px) - 230px);
  top: calc(var(--py, -1000px) - 230px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 215, 255, 0.14), rgba(156, 107, 255, 0.07) 36%, transparent 68%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 180ms ease;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 50%;
  width: var(--container);
  min-height: var(--header-h);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.62);
  box-shadow: 0 18px 60px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(22px) saturate(150%);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, min-height 240ms ease;
}

.topbar.is-condensed {
  min-height: 66px;
  background: rgba(6, 10, 22, 0.86);
  border-color: rgba(177, 207, 255, 0.22);
  transform: translateX(-50%) translateY(-6px);
}

.brand,
.nav-cta,
.main-nav {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 14px;
  justify-self: start;
  min-width: 0;
}

.brand-logo {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(91, 215, 255, 0.24), rgba(91, 215, 255, 0.08) 44%, transparent 70%);
  filter: blur(9px);
}

.brand-logo img {
  position: relative;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(17%) saturate(1623%) hue-rotate(167deg) brightness(103%) contrast(103%) drop-shadow(0 0 16px rgba(91, 215, 255, 0.26));
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  justify-self: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
}

.main-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(235, 242, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: rgba(91, 215, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(91, 215, 255, 0.18);
}

.nav-cta {
  justify-self: end;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(91, 215, 255, 0.24);
  background: linear-gradient(135deg, rgba(91, 215, 255, 0.14), rgba(156, 107, 255, 0.14));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 38px rgba(91, 215, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 215, 255, 0.42);
  background: linear-gradient(135deg, rgba(91, 215, 255, 0.2), rgba(156, 107, 255, 0.2));
}

.nav-cta i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 18px var(--ok);
}

.section {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  padding: 118px 0;
  scroll-margin-top: calc(var(--header-h) + 40px);
}

.about-section,
.projects-section,
.status-section,
.contact-section {
  isolation: isolate;
}

.about-section,
.status-section {
  --pointer-x: 50%;
  --pointer-y: 50%;
  --pointer-shift-x: 0px;
  --pointer-shift-y: 0px;
}

.about-section::after,
.status-section::after,
.projects-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.about-section::after,
.status-section::after {
  z-index: -2;
  background:
    radial-gradient(circle at 16% 14%, rgba(91, 215, 255, 0.12), transparent 22%),
    radial-gradient(circle at 86% 18%, rgba(156, 107, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 13, 27, 0.9), rgba(7, 12, 24, 0.76));
}

.projects-section::after,
.contact-section::after {
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    radial-gradient(circle at 10% 18%, rgba(255, 95, 215, 0.11), transparent 22%),
    radial-gradient(circle at 92% 82%, rgba(91, 215, 255, 0.14), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(156,107,255,0.08), transparent 44%),
    linear-gradient(135deg, rgba(19, 11, 35, 0.94), rgba(10, 16, 32, 0.9) 42%, rgba(21, 12, 40, 0.94) 100%);
  background-size: 32px 32px, 32px 32px, cover, cover, cover, cover;
}

.section-stars {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.section-stars::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(91, 215, 255, 0.16), transparent 62%);
  opacity: 0.7;
}

.section-stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255,255,255,0.12), transparent 2px),
    radial-gradient(circle at 76% 34%, rgba(255,255,255,0.1), transparent 2px),
    radial-gradient(circle at 56% 74%, rgba(255,255,255,0.08), transparent 2px);
  opacity: 0.35;
}

.section-stars span {
  position: absolute;
  left: calc(var(--x, 50) * 1%);
  top: calc(var(--y, 50) * 1%);
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.98), rgba(91,215,255,0.92) 42%, rgba(91,215,255,0) 74%);
  opacity: var(--alpha, 0.78);
  box-shadow: 0 0 10px rgba(255,255,255,0.28), 0 0 18px rgba(91,215,255,0.18);
  transform: translate3d(calc(var(--pointer-shift-x, 0px) * var(--parallax, 0.1)), calc(var(--pointer-shift-y, 0px) * var(--parallax, 0.1)), 0);
  animation: starFlicker var(--dur, 3.4s) ease-in-out infinite, starDrift var(--floatdur, 10s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.about-section > :not(.section-stars),
.status-section > :not(.section-stars),
.projects-section > *,
.contact-section > * {
  position: relative;
  z-index: 1;
}

.hero-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5,8,18,0.90) 0%, rgba(5,8,18,0.62) 42%, rgba(5,8,18,0.24) 100%),
    linear-gradient(180deg, rgba(5,8,18,0.24) 0%, rgba(5,8,18,0.76) 100%),
    url("assets/hero-universe-bg.jpg") 50% 50% / cover no-repeat;
  transform: scale(1.02);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(6,10,20,0) 100%);
}

.hero-backdrop,
.hero-project-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop {
  z-index: -2;
  overflow: hidden;
}

.cosmic-cloud {
  position: absolute;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.34;
}

.cloud-one {
  right: 4%;
  top: 8%;
  background: rgba(91, 215, 255, 0.18);
}

.cloud-two {
  right: 22%;
  bottom: 2%;
  background: rgba(255, 95, 215, 0.14);
}

.hero-light-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-light-stars span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 999px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 0 10px rgba(255,255,255,0.72), 0 0 18px rgba(145, 232, 255, 0.56);
  opacity: var(--alpha, 0.86);
  animation: heroLightFlicker var(--dur, 3.8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero-light-stars span:nth-child(1) { --x: 62%; --y: 18%; --size: 3px; --alpha: 0.86; --dur: 4.4s; --delay: -1.1s; }
.hero-light-stars span:nth-child(2) { --x: 72%; --y: 32%; --size: 2px; --alpha: 0.95; --dur: 3.6s; --delay: -2.4s; }
.hero-light-stars span:nth-child(3) { --x: 88%; --y: 15%; --size: 3px; --alpha: 0.8; --dur: 5.2s; --delay: -0.6s; }
.hero-light-stars span:nth-child(4) { --x: 81%; --y: 54%; --size: 2px; --alpha: 0.88; --dur: 4.8s; --delay: -3.2s; }
.hero-light-stars span:nth-child(5) { --x: 55%; --y: 48%; --size: 2px; --alpha: 0.78; --dur: 4s; --delay: -1.8s; }
.hero-light-stars span:nth-child(6) { --x: 93%; --y: 42%; --size: 3px; --alpha: 0.82; --dur: 5.8s; --delay: -4.4s; }
.hero-light-stars span:nth-child(7) { --x: 66%; --y: 70%; --size: 2px; --alpha: 0.9; --dur: 3.9s; --delay: -0.9s; }
.hero-light-stars span:nth-child(8) { --x: 77%; --y: 74%; --size: 3px; --alpha: 0.76; --dur: 5s; --delay: -2.1s; }

.portal-system {
  position: absolute;
  right: 18%;
  top: 26%;
  width: 34vw;
  max-width: 520px;
  aspect-ratio: 1;
  opacity: 0.34;
  filter: drop-shadow(0 0 40px rgba(91, 215, 255, 0.14));
}

.portal-core,
.portal-ring,
.portal-flare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.portal-core {
  inset: 38%;
  background: radial-gradient(circle, rgba(255,255,255,0.88), rgba(91, 215, 255,0.30) 38%, transparent 72%);
}

.portal-ring {
  border: 1px solid rgba(91, 215, 255, 0.2);
  animation: spin 24s linear infinite;
}

.ring-two {
  inset: 13%;
  animation-duration: 34s;
  animation-direction: reverse;
}

.ring-three {
  inset: 25%;
  border-color: rgba(255, 95, 215, 0.17);
  animation-duration: 18s;
}

.portal-flare {
  inset: 22%;
  background: conic-gradient(from 60deg, transparent, rgba(91, 215, 255, 0.18), transparent, rgba(156, 107, 255, 0.14), transparent);
  filter: blur(5px);
}

.alien-horizon,
.hero-mountains,
.explorer-silhouette,
.hero-hud-lines {
  position: absolute;
  opacity: 0.34;
}

.alien-horizon {
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(5, 9, 20, 0.75));
}

.hero-mountains {
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  background: linear-gradient(145deg, transparent 0 42%, rgba(3,7,16,0.82) 43% 100%);
  clip-path: polygon(0 64%, 10% 45%, 20% 68%, 31% 34%, 42% 66%, 55% 42%, 67% 70%, 82% 38%, 100% 72%, 100% 100%, 0 100%);
}

.mountain-front {
  height: 15%;
  opacity: 0.58;
  filter: blur(1px);
}

.explorer-silhouette {
  right: 33%;
  bottom: 14%;
  width: 36px;
  height: 80px;
  display: none;
}

.hero-hud-lines {
  right: 8%;
  top: 18%;
  width: 360px;
  height: 280px;
  border: 1px solid rgba(91, 215, 255, 0.08);
  border-radius: 40px;
  background: linear-gradient(90deg, rgba(91, 215, 255, 0.08) 1px, transparent 1px), linear-gradient(rgba(91, 215, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: var(--container);
  margin: 0 auto;
  padding-top: 118px;
}

.eyebrow,
.section-kicker,
.panel-kicker,
.card-label {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(235, 242, 255, 0.74);
}

.hero-eyebrow span {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.hero-content h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--text);
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 0.94;
  text-shadow: 0 24px 80px rgba(0,0,0,0.65), 0 0 46px rgba(91,215,255,0.12);
}

.hero-content h1 span {
  color: transparent;
  background: linear-gradient(96deg, #ff5fd7 0%, #9c6bff 42%, #5bd7ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(91, 215, 255, 0.28));
}

.title-rule {
  width: min(420px, 76vw);
  height: 1px;
  margin: 28px 0 22px;
  background: linear-gradient(90deg, rgba(91,215,255,0.65), rgba(156,107,255,0.2), transparent);
}

.hero-subtitle {
  margin: 0;
  max-width: 560px;
  color: rgba(232, 239, 255, 0.78);
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.12), transparent 34%, rgba(255,255,255,0.08));
  opacity: 0.7;
}

.button span,
.button b {
  position: relative;
  z-index: 1;
}

.button b {
  font-size: 18px;
  font-weight: 500;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.button:disabled:hover {
  transform: none;
}

.button-primary {
  color: #06101e;
  background: linear-gradient(135deg, #ffffff, #92e9ff 42%, #9c6bff);
  box-shadow: 0 20px 56px rgba(91, 215, 255, 0.2);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}

.hero-availability {
  position: relative;
  width: min(520px, 100%);
  margin-top: 40px;
  padding: 18px 20px 18px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(10,18,36,0.72), rgba(10,18,36,0.34));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
}

.hero-availability::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 22px var(--ok);
  transform: translateY(-50%);
}

.hero-availability strong,
.hero-availability small {
  display: block;
}

.hero-availability strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.hero-availability small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-project-orbit {
  z-index: 2;
  perspective: 1200px;
}

.hero-orbit-line {
  position: absolute;
  right: -10%;
  top: 50%;
  width: 58vw;
  aspect-ratio: 1.55;
  border: 1px solid rgba(91, 215, 255, 0.12);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-12deg);
  opacity: 0.7;
}

.orbit-line-b {
  right: -2%;
  width: 46vw;
  transform: translateY(-50%) rotate(18deg);
  border-color: rgba(156, 107, 255, 0.12);
}

.orbit-line-c {
  right: 8%;
  width: 34vw;
  transform: translateY(-48%) rotate(42deg);
  border-color: rgba(255, 95, 215, 0.09);
}

.hero-project-card {
  --card-w: var(--w, 250px);
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--card-w);
  min-height: 94px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(11,20,42,0.78), rgba(11,20,42,0.46));
  box-shadow: 0 22px 70px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(var(--scale, 1));
  opacity: calc(0.48 + (var(--depth, 0.6) * 0.52));
  animation: heroCardDrift var(--float, 9s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(91, 215, 255, 0.2), transparent 36%), radial-gradient(circle at 86% 84%, rgba(255, 95, 215, 0.13), transparent 36%);
  opacity: 0.92;
  transform: translate3d(var(--pan-x), var(--pan-y), 0) scale(1.02);
  pointer-events: none;
}

.mini-preview,
.mini-copy {
  position: relative;
  z-index: 1;
}

.mini-preview {
  height: 64px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(91,215,255,0.18), rgba(156,107,255,0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.mini-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.preview-signrush::before { background-image: url("assets/preview-signrush.jpg"); }
.preview-gperformance::before { background-image: url("assets/preview-gperformance.jpg"); }
.preview-chocolate::before { background-image: url("assets/preview-mementomori.jpg"); }
.preview-levelx::before {
  background-image: url("assets/preview-levelx.jpg");
  background-position: center top;
}
.preview-bryanm::before { background-image: url("assets/preview-bryanm-20260531.jpg"); }
.preview-memento::before { background-image: url("assets/preview-mementomori-20260531.jpg"); }

.mini-copy {
  min-width: 0;
}

.mini-copy small,
.mini-copy em,
.mini-copy strong {
  display: block;
}

.mini-copy small,
.mini-copy em {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-copy strong {
  margin: 4px 0;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 900px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
}

.section-heading p:last-child {
  margin: 20px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-heading {
  width: 100%;
  max-width: none;
}

.about-heading h2 {
  width: 100%;
  max-width: none;
}

.about-intro {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.about-intro p,
.section-heading .about-intro p:last-child {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.glass-card,
.project-panel,
.contact-console,
.capability-card,
.universe-map {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(12,21,42,0.76), rgba(12,21,42,0.44));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(22px) saturate(140%);
}

.about-section::before,
.projects-section::before,
.status-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 215, 255, 0.09), transparent 68%);
  filter: blur(10px);
}

.about-section::before { right: -170px; top: 80px; }
.projects-section::before { left: -220px; top: 260px; background: radial-gradient(circle, rgba(156, 107, 255, 0.1), transparent 68%); }
.status-section::before { right: -200px; top: 160px; }
.contact-section::before { left: 8%; bottom: 10%; background: radial-gradient(circle, rgba(255, 95, 215, 0.08), transparent 68%); }

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.profile-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 215, 255, 0.22), transparent 68%);
}

.profile-img-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(91, 215, 255, 0.18), rgba(12, 20, 40, 0.94) 70%);
  border: 1px solid rgba(91, 215, 255, 0.42);
  box-shadow: 0 0 72px rgba(91, 215, 255, 0.16), inset 0 -28px 40px rgba(0,0,0,0.42);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-logo {
  width: 72%;
  height: 72%;
  object-fit: contain;
  padding: 6px;
  filter: brightness(0) saturate(100%) invert(82%) sepia(17%) saturate(1623%) hue-rotate(167deg) brightness(103%) contrast(103%) drop-shadow(0 0 18px rgba(91,215,255,0.26));
}


.profile-copy {
  width: 100%;
}

.profile-card .card-label,
.profile-card h3,
.profile-card p {
  text-align: center;
}

.profile-card .card-label {
  justify-content: center;
}
.profile-card h3,
.capability-card h3,
.contact-console h3,
.project-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.profile-card h3 {
  font-size: 30px;
}

.profile-card p:not(.card-label),
.capability-card p,
.contact-console li,
.project-description {
  color: var(--muted);
  line-height: 1.75;
}

.profile-card p:not(.card-label) {
  margin: 14px auto 0;
  max-width: 34ch;
}

.capability-stack {
  display: grid;
  gap: 16px;
}

.capability-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.capability-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91,215,255,0.08), transparent 40%, rgba(156,107,255,0.08));
  opacity: 0;
  transition: opacity 220ms ease;
}

.capability-card:hover::after {
  opacity: 1;
}

.capability-card span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--cyan);
  background: rgba(91, 215, 255, 0.1);
  border: 1px solid rgba(91, 215, 255, 0.16);
  font-weight: 900;
}

.capability-card h3,
.capability-card p {
  position: relative;
  z-index: 1;
}

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

.capability-card p {
  margin: 0;
}

.mission-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.mobile-project-guide {
  display: none;
}

.universe-map {
  --signal-width: 0px;
  --signal-angle: 0deg;
  --focus-x: 50%;
  --focus-y: 50%;
  --signal-color: rgba(91, 215, 255, 0.82);
  --pan-x: 0px;
  --pan-y: 0px;
  --ring-pan-x: 0px;
  --ring-pan-y: 0px;
  --core-pan-x: 0px;
  --core-pan-y: 0px;
  --node-pan-x: 0px;
  --node-pan-y: 0px;
  --signal-pan-x: 0px;
  --signal-pan-y: 0px;
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(177, 207, 255, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(91,215,255,0.09), transparent 34%),
    linear-gradient(180deg, rgba(6, 10, 22, 0.975), rgba(6, 10, 22, 0.74));
  box-shadow: 0 38px 120px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.08), inset 0 0 100px rgba(91,215,255,0.045);
  isolation: isolate;
  transition: box-shadow 240ms ease, border-color 240ms ease;
}

.universe-map:hover {
  border-color: rgba(91,215,255,0.24);
  box-shadow: 0 42px 128px rgba(0,0,0,0.5), 0 0 0 1px rgba(91,215,255,0.08), inset 0 1px 0 rgba(255,255,255,0.08), inset 0 0 110px rgba(91,215,255,0.06);
}

.universe-map::before,
.universe-map::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.universe-map::before {
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    inset 0 0 0 1px rgba(91,215,255,0.04),
    inset 0 0 0 14px rgba(255,255,255,0.008);
}

.universe-map::after {
  z-index: 6;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), transparent 9%, transparent 91%, rgba(255,255,255,0.04)),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 4px),
    radial-gradient(circle at var(--focus-x) var(--focus-y), rgba(255,255,255,0.06), transparent 18%);
  opacity: 0.24;
  mix-blend-mode: screen;
}

.map-vignette,
.map-noise,
.map-nebula,
.map-flare,
.map-grid,
.map-stars,
.map-comets,
.map-sweep,
.orbit-ring,
.selected-trajectory,
.selected-signal,
.map-hud,
.galaxy-core {
  position: absolute;
}

.map-vignette,
.map-noise,
.map-nebula,
.map-flare,
.map-grid,
.map-stars,
.map-comets,
.map-sweep,
.map-hud {
  transform: translate3d(var(--pan-x), var(--pan-y), 0);
  transition: transform 180ms ease;
}

.map-vignette {
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 36%, rgba(4, 8, 18, 0.13) 62%, rgba(4, 8, 18, 0.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18), transparent 22%, transparent 78%, rgba(0,0,0,0.2));
}

.map-noise {
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    radial-gradient(rgba(255,255,255,0.8) 0.5px, transparent 0.6px),
    radial-gradient(rgba(255,255,255,0.5) 0.5px, transparent 0.6px);
  background-size: 6px 6px, 9px 9px;
  background-position: 0 0, 3px 3px;
  mix-blend-mode: soft-light;
}

.map-flare {
  border-radius: 50%;
  filter: blur(20px);
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: flareBreath 9s ease-in-out infinite alternate;
}

.flare-a {
  left: -8%;
  top: -14%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(91,215,255,0.34), rgba(91,215,255,0.08) 42%, transparent 68%);
}

.flare-b {
  right: -10%;
  bottom: -18%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,102,214,0.18), rgba(156,107,255,0.12) 38%, transparent 68%);
  animation-duration: 11s;
  animation-direction: alternate-reverse;
}

.map-nebula {
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.74;
  mix-blend-mode: screen;
  animation: nebulaDrift 18s ease-in-out infinite alternate;
}

.nebula-a {
  inset: auto auto 8% -12%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(91,215,255,0.22), rgba(91,215,255,0.04) 48%, transparent 72%);
}

.nebula-b {
  right: -8%;
  top: 6%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(156,107,255,0.22), rgba(255,95,215,0.08) 44%, transparent 74%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.map-grid {
  inset: 0;
  background:
    linear-gradient(rgba(91,215,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,215,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(91,215,255,0.14), transparent 36%);
  background-size: 42px 42px, 42px 42px, cover;
  opacity: 0.92;
  mask-image: radial-gradient(circle, black, transparent 80%);
  transform: translate3d(var(--pan-x), var(--pan-y), 0) scale(1.02);
}

.map-stars {
  inset: 0;
  pointer-events: none;
}

.map-stars span {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: var(--size, 2px);
  height: var(--size, 2px);
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 14px rgba(255,255,255,0.42), 0 0 28px rgba(91,215,255,0.24);
  opacity: var(--alpha, 0.72);
  animation:
    starFlicker var(--dur, 3s) ease-in-out infinite,
    mapStarDrift var(--floatdur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.map-comets {
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.comet {
  position: absolute;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(91,215,255,0.12));
  box-shadow: 0 0 16px rgba(255,255,255,0.18), 0 0 28px rgba(91,215,255,0.14);
  opacity: 0;
  transform: rotate(-24deg);
}

.comet::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 0 20px rgba(255,255,255,0.52), 0 0 26px rgba(91,215,255,0.26);
  transform: translateY(-50%);
}

.comet-a { left: 12%; top: 16%; animation: cometFlyA 9s linear infinite; }
.comet-b { right: 18%; top: 38%; width: 86px; animation: cometFlyB 11s linear infinite 2.1s; }
.comet-c { left: 38%; bottom: 22%; width: 104px; animation: cometFlyC 10s linear infinite 4.2s; }

.map-sweep {
  inset: -10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 296deg, rgba(91,215,255,0.12) 322deg, rgba(91,215,255,0.02) 344deg, transparent 360deg);
  opacity: 0.72;
  transform-origin: 50% 50%;
  animation: spin 28s linear infinite;
  mask-image: radial-gradient(circle, transparent 0 22%, black 42%, transparent 74%);
}

.orbit-ring {
  left: 50%;
  top: 50%;
  border: 1px solid rgba(177, 207, 255, 0.15);
  border-radius: 50%;
  transform: translate(calc(-50% + var(--ring-pan-x)), calc(-50% + var(--ring-pan-y))) rotate(-12deg);
  box-shadow: inset 0 0 20px rgba(91,215,255,0.04), 0 0 24px rgba(91,215,255,0.04);
  transition: transform 180ms ease;
}

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

.orbit-ring::before {
  inset: 8px;
  border: 1px dashed rgba(255,255,255,0.04);
}

.orbit-ring::after {
  top: 50%;
  left: calc(100% - 4px);
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 16px rgba(91,215,255,0.35);
  transform: translate(-50%, -50%);
}

.ring-a { width: 48%; aspect-ratio: 1; animation: orbitSpinA 22s linear infinite; }
.ring-b { width: 68%; aspect-ratio: 1.15; border-color: rgba(91, 215, 255, 0.12); animation: orbitSpinB 28s linear infinite reverse; }
.ring-c { width: 86%; aspect-ratio: 1.28; border-color: rgba(156, 107, 255, 0.12); animation: orbitSpinC 34s linear infinite; }

.selected-trajectory {
  top: calc(50% + var(--signal-pan-y));
  left: calc(50% + var(--signal-pan-x));
  width: var(--signal-width);
  height: 2px;
  transform-origin: left center;
  transform: translateY(-50%) rotate(var(--signal-angle));
  background: linear-gradient(90deg, rgba(255,255,255,0.96), var(--signal-color));
  box-shadow: 0 0 18px var(--signal-color), 0 0 34px color-mix(in srgb, var(--signal-color) 60%, transparent);
  opacity: 0.94;
  z-index: 2;
  transition: top 180ms ease, left 180ms ease;
}

.selected-trajectory::before,
.selected-trajectory::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.selected-trajectory::before {
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--signal-color) 28%, white 14%), transparent);
  filter: blur(10px);
  opacity: 0.54;
}

.selected-trajectory::after {
  right: 18px;
  width: 52px;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.46), transparent);
  filter: blur(4px);
  animation: signalStream 1.8s linear infinite;
}

.selected-signal {
  left: calc(var(--focus-x) + var(--node-pan-x));
  top: calc(var(--focus-y) + var(--node-pan-y));
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.58);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 22px var(--signal-color), inset 0 0 12px rgba(255,255,255,0.2);
  animation: selectedPulse 2.2s ease-in-out infinite;
  z-index: 3;
  background: radial-gradient(circle, rgba(255,255,255,0.32), transparent 72%);
}

.selected-signal::before,
.selected-signal::after {
  content: "";
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--signal-color) 70%, white 16%);
  transform: translate(-50%, -50%);
}

.selected-signal::before { width: 40px; height: 40px; opacity: 0.4; }
.selected-signal::after { width: 64px; height: 64px; opacity: 0.16; box-shadow: 0 0 0 18px rgba(255,255,255,0.03); }


.map-hud {
  z-index: 5;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7, 12, 24, 0.72), rgba(7, 12, 24, 0.34));
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(91,215,255,0.04);
}

.map-hud span,
.map-hud strong {
  display: block;
}

.map-hud span {
  color: rgba(168,181,209,0.76);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-hud strong {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 850;
}

.hud-top { top: 18px; left: 18px; }
.hud-bottom { right: 18px; bottom: 18px; text-align: right; }
.hud-side { left: 18px; top: 82px; right: auto; transform: translate3d(var(--pan-x), var(--pan-y), 0); text-align: left; }

.hud-top::before,
.hud-bottom::before,
.hud-side::before,
.hud-top::after,
.hud-bottom::after,
.hud-side::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(91,215,255,0.34);
}

.hud-top::before { left: -7px; top: -7px; border-left: 1px solid; border-top: 1px solid; }
.hud-top::after { right: -7px; top: -7px; border-right: 1px solid; border-top: 1px solid; }
.hud-side::before { left: -7px; top: -7px; border-left: 1px solid; border-top: 1px solid; }
.hud-side::after { right: -7px; top: -7px; border-right: 1px solid; border-top: 1px solid; }
.hud-bottom::before { left: -7px; bottom: -7px; border-left: 1px solid; border-bottom: 1px solid; }
.hud-bottom::after { right: -7px; bottom: -7px; border-right: 1px solid; border-bottom: 1px solid; }

.galaxy-core {
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translate(calc(-50% + var(--core-pan-x)), calc(-50% + var(--core-pan-y)));
  transition: transform 180ms ease;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.26), rgba(91,215,255,0.1) 32%, transparent 64%);
  filter: blur(1px);
  z-index: 2;
}

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

.galaxy-core::before {
  inset: 32%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(91,215,255,0.56) 36%, transparent 72%);
  box-shadow: 0 0 24px rgba(91,215,255,0.34);
  animation: corePulse 4.4s ease-in-out infinite;
}

.galaxy-core::after {
  inset: 4%;
  background: radial-gradient(circle, rgba(91,215,255,0.16), transparent 56%);
  filter: blur(8px);
  opacity: 0.9;
}

.galaxy-core span {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(91, 215, 255, 0.14);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.galaxy-core span:nth-child(2) { inset: 30%; animation-duration: 26s; animation-direction: reverse; }
.galaxy-core span:nth-child(3) { inset: 42%; animation-duration: 12s; }

.project-node {
  --node-color: var(--cyan);
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  padding: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(calc(-50% + var(--node-pan-x)), calc(-50% + var(--node-pan-y)));
  cursor: pointer;
  color: #fff;
  transition: transform 180ms ease;
  will-change: transform, margin-left, margin-top;
}

.project-node::before,
.project-node::after {
  content: "";
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.project-node::before {
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  border: 1px solid rgba(var(--node-rgb, 91,215,255), 0.26);
  opacity: 0.32;
}

.project-node::after {
  width: calc(100% + 34px);
  height: calc(100% + 34px);
  border: 1px dashed rgba(var(--node-rgb, 91,215,255), 0.18);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-node.orbiting-node {
  animation: planetOrbitDrift calc(var(--drift-speed, 8s) + 5s) linear infinite;
  animation-delay: var(--drift-delay, 0s);
}

.project-node.orbiting-node::after {
  opacity: 0.32;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.95) 0 2px, transparent 2.5px),
    radial-gradient(circle at 50% 100%, rgba(var(--node-rgb, 91,215,255), 0.7) 0 1.5px, transparent 2px);
  animation: planetSatellite 6.8s linear infinite;
  animation-delay: calc(var(--drift-delay, 0s) * -0.35);
}

.planet {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 32% 26%, #fff, var(--node-color) 28%, var(--node-dark, #0e1730) 100%);
  box-shadow: inset -12px -10px 20px rgba(0,0,0,0.52), 0 0 28px rgba(var(--node-rgb, 91, 215, 255), 0.38);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.planet::before,
.planet::after {
  content: "";
  position: absolute;
}

.planet::before {
  left: 22%;
  top: 18%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.92), rgba(255,255,255,0) 72%);
  opacity: 0.9;
}

.planet::after {
  inset: 10% 40% 10% 10%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent);
  filter: blur(3px);
  opacity: 0.6;
  transform: rotate(-18deg);
}

.project-node:hover .planet,
.project-node.is-selected .planet {
  transform: scale(1.12);
  filter: brightness(1.12);
  box-shadow: inset -12px -10px 20px rgba(0,0,0,0.5), 0 0 42px rgba(var(--node-rgb, 91, 215, 255), 0.6);
}

.project-node:hover::after,
.project-node.is-selected::after {
  opacity: 1;
  animation: nodeHaloPulse 2.6s ease-in-out infinite;
}

.project-node.is-selected::before {
  box-shadow: 0 0 0 1px rgba(var(--node-rgb, 91,215,255), 0.18), 0 0 24px rgba(var(--node-rgb, 91,215,255), 0.34);
}

.node-core::before {
  width: calc(100% + 26px);
  height: calc(100% + 26px);
  border-color: rgba(243,248,255,0.3);
}

.node-white { --node-color: #f3f8ff; --node-dark: #33425f; --node-rgb: 243, 248, 255; }
.node-cyan {
  --node-color: var(--cyan);
  --node-dark: #123047;
  --node-rgb: 91, 215, 255;
  --orbit-x-a: -10px;
  --orbit-y-a: -12px;
  --orbit-x-b: 18px;
  --orbit-y-b: -2px;
  --orbit-x-c: 8px;
  --orbit-y-c: 13px;
  --orbit-x-d: -17px;
  --orbit-y-d: 5px;
}
.node-violet {
  --node-color: var(--violet);
  --node-dark: #26184d;
  --node-rgb: 156, 107, 255;
  --orbit-x-a: 12px;
  --orbit-y-a: -16px;
  --orbit-x-b: 22px;
  --orbit-y-b: 8px;
  --orbit-x-c: -6px;
  --orbit-y-c: 15px;
  --orbit-x-d: -20px;
  --orbit-y-d: -5px;
}
.node-amber {
  --node-color: var(--amber);
  --node-dark: #50351a;
  --node-rgb: 255, 212, 122;
  --orbit-x-a: -12px;
  --orbit-y-a: 10px;
  --orbit-x-b: -4px;
  --orbit-y-b: -14px;
  --orbit-x-c: 17px;
  --orbit-y-c: -5px;
  --orbit-x-d: 7px;
  --orbit-y-d: 14px;
}
.node-blue {
  --node-color: var(--blue);
  --node-dark: #172a58;
  --node-rgb: 122, 167, 255;
  --orbit-x-a: 10px;
  --orbit-y-a: 14px;
  --orbit-x-b: -18px;
  --orbit-y-b: 8px;
  --orbit-x-c: -9px;
  --orbit-y-c: -13px;
  --orbit-x-d: 19px;
  --orbit-y-d: -4px;
}
.node-mint {
  --node-color: var(--mint);
  --node-dark: #153d37;
  --node-rgb: 125, 255, 203;
  --orbit-x-a: 0px;
  --orbit-y-a: 16px;
  --orbit-x-b: -18px;
  --orbit-y-b: -2px;
  --orbit-x-c: 0px;
  --orbit-y-c: -15px;
  --orbit-x-d: 18px;
  --orbit-y-d: 2px;
}

.node-label {
  position: absolute;
  left: calc(100% + 16px);
  top: 50%;
  min-width: 154px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 14, 29, 0.9), rgba(8, 14, 29, 0.58));
  box-shadow: 0 12px 32px rgba(0,0,0,0.26);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.project-node.label-left .node-label {
  left: auto;
  right: calc(100% + 16px);
  text-align: right;
}

.project-node:hover .node-label,
.project-node.is-selected .node-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.project-node.is-selected .node-label {
  border-color: rgba(var(--node-rgb, 91,215,255), 0.3);
  box-shadow: 0 14px 38px rgba(0,0,0,0.32), 0 0 24px rgba(var(--node-rgb, 91,215,255), 0.12);
}

.node-label strong,
.node-label small {
  display: block;
}

.node-label strong {
  font-size: 13px;
  font-weight: 900;
}

.node-label small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.project-panel {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(177,207,255,0.13);
  background: linear-gradient(180deg, rgba(9,14,28,0.82), rgba(7,12,24,0.6));
  box-shadow: 0 28px 82px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06);
}

.project-panel::before,
.contact-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(91, 215, 255, 0.18), transparent 40%), radial-gradient(circle at 100% 100%, rgba(156, 107, 255, 0.15), transparent 44%);
  pointer-events: none;
}

.project-panel > *,
.contact-console > * {
  position: relative;
  z-index: 1;
}

.panel-header,
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-panel h3 {
  font-size: 34px;
}

.panel-kicker {
  margin-bottom: 8px;
  color: rgba(91, 215, 255, 0.8);
}

.panel-close {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
}

.panel-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.panel-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.project-panel.is-minimized .panel-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.project-panel.is-minimized .preview-frame,
.project-panel.is-minimized .project-description,
.project-panel.is-minimized .project-tags,
.project-panel.is-minimized .tech-block,
.project-panel.is-minimized .project-link {
  display: none;
}

.preview-frame {
  position: relative;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(6,10,22,0.92), rgba(6,10,22,0.74));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 16px 44px rgba(0,0,0,0.24);
}

.preview-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 18%, var(--theme-glow, rgba(91,215,255,0.24)), transparent 45%);
  opacity: 0.26;
  pointer-events: none;
}

.preview-browser-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(4, 8, 18, 0.54);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.preview-browser-bar strong {
  margin-right: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.preview-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1904 / 963;
  min-height: 0;
  flex: 0 0 auto;
  background-image:
    linear-gradient(180deg, rgba(6,10,22,0.02), rgba(6,10,22,0.04)),
    var(--preview-image, url("assets/preview-bryanm-20260531.jpg"));
  background-position: center, var(--preview-position, center top);
  background-size: cover, calc(100% + 30px) auto;
  background-repeat: no-repeat, no-repeat;
}

.preview-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 26%, transparent 100%);
  pointer-events: none;
}

.theme-signrush { --theme-glow: rgba(156,107,255,0.35); --preview-image: url("assets/preview-signrush.jpg"); --preview-position: center top; }
.theme-gperformance { --theme-glow: rgba(91,215,255,0.3); --preview-image: url("assets/preview-gperformance.jpg"); --preview-position: center top; }
.theme-chocolate { --theme-glow: rgba(255,212,122,0.28); --preview-image: url("assets/preview-mementomori.jpg"); --preview-position: center top; }
.theme-levelx { --theme-glow: rgba(122,167,255,0.3); --preview-image: url("assets/preview-levelx.jpg"); --preview-position: center top; }
.theme-memento { --theme-glow: rgba(125,255,203,0.25); --preview-image: url("assets/preview-mementomori-20260531.jpg"); --preview-position: center top; }
.theme-bryanm { --theme-glow: rgba(91,215,255,0.28); --preview-image: url("assets/preview-bryanm-20260531.jpg"); --preview-position: center top; }

.project-description {
  margin: 20px 0 0;
}

.project-tags,
.tech-block ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-tags li,
.tech-block li {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(235,242,255,0.78);
  font-size: 12px;
  font-weight: 800;
}

.tech-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.tech-block p {
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  padding: 15px 17px;
  border-radius: 18px;
  border: 1px solid rgba(91, 215, 255, 0.22);
  background: linear-gradient(135deg, rgba(91, 215, 255, 0.13), rgba(156, 107, 255, 0.12));
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-link:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 215, 255, 0.4);
  background: linear-gradient(135deg, rgba(91, 215, 255, 0.18), rgba(156, 107, 255, 0.18));
}

.status-dashboard,
.contact-form,
.contact-console {
  border-radius: var(--radius-xl);
}

.status-dashboard {
  padding: 24px;
}

.dashboard-header {
  margin-bottom: 18px;
}

.dashboard-header > div {
  min-width: 0;
}

.dashboard-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dashboard-header strong {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0;
}

.status-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.status-refresh:disabled {
  cursor: wait;
  opacity: 0.58;
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 84px 92px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.status-row > div {
  min-width: 0;
}

.status-row strong,
.status-row span,
.status-value,
.response-value,
.uptime-value {
  margin: 0;
}

.status-row strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.status-row span,
.response-value {
  color: var(--muted);
  font-size: 12px;
}

.uptime-value {
  display: grid;
  gap: 2px;
  justify-items: end;
  min-width: 82px;
}

.uptime-value span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.uptime-value strong {
  color: var(--ok);
  font-size: 13px;
  font-weight: 900;
}

.uptime-value.is-new strong {
  color: var(--muted);
}

.uptime-value.is-warning strong {
  color: var(--amber);
}

.uptime-value.is-down strong {
  color: var(--danger);
}

.status-value {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: var(--ok);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.status-value::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.status-value.is-checking {
  color: var(--amber);
}

.status-value.is-offline {
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 0%, rgba(91, 215, 255, 0.16), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(255, 95, 215, 0.1), transparent 38%);
}

.contact-form > * {
  position: relative;
  z-index: 1;
}

.contact-form .full,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-intro {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.form-intro span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.form-intro h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.form-intro p {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label span {
  color: rgba(235,242,255,0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(4, 8, 18, 0.38);
  color: #fff;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 160px;
  padding: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(91, 215, 255, 0.48);
  background: rgba(255,255,255,0.085);
  box-shadow: 0 0 0 4px rgba(91, 215, 255, 0.08);
}

.contact-form option {
  color: #0a1020;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--ok);
  font-size: 13px;
  font-weight: 850;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--ok);
}

.contact-console {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  overflow: hidden;
}

.contact-console::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(91, 215, 255, 0.16);
  background:
    radial-gradient(circle, rgba(91, 215, 255, 0.14), transparent 58%),
    conic-gradient(from 40deg, transparent, rgba(156, 107, 255, 0.22), transparent, rgba(91, 215, 255, 0.22), transparent);
  opacity: 0.76;
  pointer-events: none;
}

.contact-console-head,
.contact-availability,
.contact-facts,
.contact-steps,
.contact-console .project-link {
  position: relative;
  z-index: 1;
}

.contact-console h3 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 0.95;
}

.contact-console-head > p:not(.panel-kicker) {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(125, 255, 203, 0.18);
  border-radius: 18px;
  background: rgba(125, 255, 203, 0.055);
  color: rgba(235,242,255,0.86);
  font-size: 13px;
  font-weight: 900;
}

.contact-availability span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 18px var(--ok);
}

.contact-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
}

.contact-facts div + div {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-facts dt,
.contact-facts dd {
  margin: 0;
}

.contact-facts dt {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-facts dd {
  color: rgba(245,248,255,0.9);
  font-weight: 850;
}

.contact-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  align-items: start;
}

.contact-steps li span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(91, 215, 255, 0.09);
  border: 1px solid rgba(91, 215, 255, 0.18);
  font-size: 11px;
  font-weight: 950;
}

.contact-steps strong {
  color: rgba(245,248,255,0.94);
  font-size: 15px;
}

.contact-steps small {
  color: var(--muted);
  line-height: 1.55;
}

.contact-console .project-link {
  margin-top: auto;
}

body.has-open-modal {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.74);
  backdrop-filter: blur(18px);
}

.contact-modal-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(13, 20, 39, 0.96), rgba(6, 10, 22, 0.98));
  box-shadow: 0 32px 90px rgba(0,0,0,0.52), 0 0 0 1px rgba(91, 215, 255, 0.08) inset;
  animation: modalEnter 220ms ease both;
}

.contact-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(91, 215, 255, 0.12), transparent 42%, rgba(156, 107, 255, 0.12));
}

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

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(235,242,255,0.82);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.contact-modal-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border: 1px solid rgba(113, 255, 179, 0.28);
  border-radius: 20px;
  background: rgba(113, 255, 179, 0.09);
  box-shadow: 0 0 34px rgba(113, 255, 179, 0.16);
}

.contact-modal-icon::before {
  content: "";
  width: 22px;
  height: 12px;
  border-bottom: 3px solid var(--ok);
  border-left: 3px solid var(--ok);
  transform: translateY(-2px) rotate(-45deg);
}

.contact-modal-panel .section-kicker {
  margin-bottom: 10px;
}

.contact-modal-panel h2 {
  max-width: 420px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.96;
}

.contact-modal-panel p:not(.section-kicker) {
  max-width: 440px;
  margin: 16px auto 26px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-modal-action {
  width: 100%;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  text-align: center;
}

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.error-shell {
  width: min(620px, 100%);
  text-align: center;
}

.error-shell img {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(91, 215, 255, 0.32));
}

.error-shell h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 78px);
  line-height: 0.95;
}

.error-shell p:not(.section-kicker) {
  margin: 18px auto 28px;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.7;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease, transform 320ms ease;
  transition-delay: 0ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes auroraFloat {
  from { transform: translate3d(-1%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

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

@keyframes heroCardDrift {
  0%, 100% { translate: 0 0; }
  35% { translate: 12px -10px; }
  70% { translate: -8px 8px; }
}

@keyframes planetOrbitDrift {
  0%, 100% {
    margin-left: var(--orbit-x-a, 0px);
    margin-top: var(--orbit-y-a, -12px);
    filter: brightness(1.04);
  }
  25% {
    margin-left: var(--orbit-x-b, 18px);
    margin-top: var(--orbit-y-b, 0px);
    filter: brightness(1.12);
  }
  50% {
    margin-left: var(--orbit-x-c, 0px);
    margin-top: var(--orbit-y-c, 12px);
    filter: brightness(0.92);
  }
  75% {
    margin-left: var(--orbit-x-d, -18px);
    margin-top: var(--orbit-y-d, 0px);
    filter: brightness(1);
  }
}

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

@keyframes wave {
  from { transform: scaleY(0.72); opacity: 0.62; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes flareBreath {
  0% { opacity: 0.52; transform: translate3d(var(--pan-x), var(--pan-y), 0) scale(0.96); }
  100% { opacity: 0.88; transform: translate3d(var(--pan-x), var(--pan-y), 0) scale(1.08); }
}

@keyframes cometFlyA {
  0%, 68%, 100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-24deg); }
  8%, 18% { opacity: 1; }
  26% { opacity: 0; transform: translate3d(150px, 85px, 0) rotate(-24deg); }
}

@keyframes cometFlyB {
  0%, 72%, 100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-24deg); }
  12%, 20% { opacity: 0.9; }
  28% { opacity: 0; transform: translate3d(-120px, 70px, 0) rotate(-24deg); }
}

@keyframes cometFlyC {
  0%, 74%, 100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-24deg); }
  14%, 22% { opacity: 0.95; }
  30% { opacity: 0; transform: translate3d(132px, 62px, 0) rotate(-24deg); }
}

@keyframes cockpitFloat {
  0%, 100% { transform: perspective(1450px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0); }
  50% { transform: perspective(1450px) rotateX(calc(var(--tilt-x) + 0.2deg)) rotateY(calc(var(--tilt-y) - 0.2deg)) translateY(-2px); }
}

@keyframes nebulaDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(18px, -12px, 0) scale(1.08); }
}

@keyframes orbitSpinA {
  to { transform: translate(-50%, -50%) rotate(348deg); }
}

@keyframes orbitSpinB {
  to { transform: translate(-50%, -50%) rotate(348deg); }
}

@keyframes orbitSpinC {
  to { transform: translate(-50%, -50%) rotate(348deg); }
}

@keyframes signalStream {
  from { transform: translateY(-50%) translateX(-18px); opacity: 0; }
  30% { opacity: 1; }
  to { transform: translateY(-50%) translateX(18px); opacity: 0; }
}

@keyframes selectedPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); }
  45% { transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes corePulse {
  0%, 100% { transform: scale(0.92); opacity: 0.82; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes nodeHaloPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.94); }
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes starFlicker {
  0%, 100% { opacity: calc(var(--alpha, 0.78) * 0.64); filter: brightness(0.92); }
  30% { opacity: calc(var(--alpha, 0.78) * 1); filter: brightness(1.18); }
  52% { opacity: calc(var(--alpha, 0.78) * 0.46); filter: brightness(0.8); }
  74% { opacity: calc(var(--alpha, 0.78) * 0.92); filter: brightness(1.08); }
}

@keyframes starDrift {
  0%, 100% { margin-left: 0; margin-top: 0; }
  40% { margin-left: 4px; margin-top: -3px; }
  70% { margin-left: -3px; margin-top: 3px; }
}

@keyframes heroLightFlicker {
  0%, 100% {
    opacity: calc(var(--alpha, 0.86) * 0.55);
    transform: scale(0.86);
  }
  38% {
    opacity: var(--alpha, 0.86);
    transform: scale(1.08);
  }
  62% {
    opacity: calc(var(--alpha, 0.86) * 0.36);
    transform: scale(0.8);
  }
}

@keyframes mapStarDrift {
  0%, 100% { translate: 0 0; }
  38% { translate: 5px -4px; }
  72% { translate: -4px 4px; }
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1500px) {
  :root { --container: min(1280px, calc(100vw - 80px)); }
  .hero-project-card { opacity: calc(0.58 + (var(--depth, 0.6) * 0.42)); }
}

@media (max-width: 1180px) {
  :root { --container: min(100% - 40px, 980px); }

  .topbar {
    width: var(--container);
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar { display: none; }

  .main-nav a { white-space: nowrap; }

  .nav-cta { grid-column: 2; }

  .hero-content { padding-top: 160px; }

  .hero-project-card { opacity: 0.42; }
  .hero-card-signrush { --x: 82% !important; --y: 32% !important; --scale: .72 !important; }
  .hero-card-bryanm { --x: 76% !important; --y: 48% !important; --scale: .66 !important; }
  .hero-card-gperformance { --x: 90% !important; --y: 48% !important; --scale: .62 !important; }
  .hero-card-levelx { display: none; }
  .hero-card-memento { --x: 82% !important; --y: 52% !important; --scale: .56 !important; }
  .hero-card-chocolate { display: none; }

  .about-layout,
  .mission-board,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .universe-map { min-height: 560px; }
  .map-hud { padding: 9px 12px; }
}

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

  .topbar {
    top: 10px;
    width: var(--container);
    padding: 10px;
    gap: 10px;
  }

  .brand-copy strong {
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-logo img {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    padding: 12px;
  }

  .nav-cta span {
    display: none;
  }

  .hero-content {
    padding-top: 166px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 10.8vw, 56px);
  }

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

  .hero-project-orbit {
    opacity: 0.52;
  }

  .hero-card-gperformance,
  .hero-card-memento {
    display: none;
  }

  .hero-card-signrush { --x: 83% !important; --y: 40% !important; --scale: .58 !important; }
  .hero-card-bryanm { --x: 79% !important; --y: 56% !important; --scale: .52 !important; }

  .section {
    padding: 88px 0;
  }

  .section-heading h2 {
    font-size: clamp(34px, 9vw, 56px);
  }

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

  .mobile-project-guide {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: -6px 0 4px;
    padding: 11px 14px;
    border: 1px solid rgba(91, 215, 255, 0.18);
    border-radius: 16px;
    color: rgba(235,242,255,0.82);
    background: rgba(91, 215, 255, 0.07);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
  }

  .mobile-project-guide::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
  }

  .dashboard-header {
    align-items: flex-start;
  }

  .status-list {
    gap: 12px;
  }

  .status-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "domain domain"
      "state response"
      "uptime uptime";
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
  }

  .status-row > div {
    grid-area: domain;
  }

  .status-value {
    grid-area: state;
  }

  .response-value {
    grid-area: response;
    align-self: center;
    justify-self: end;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    line-height: 1;
  }

  .uptime-value {
    grid-area: uptime;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

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

  .contact-console {
    padding: 24px;
  }

  .universe-map {
    min-height: 500px;
  }

  .map-hud {
    transform: scale(0.94);
    transform-origin: center;
  }

  .node-label {
    display: none;
  }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 22px, 100%); }

  .topbar {
    border-radius: 22px;
  }

  .main-nav a {
    flex: 1 1 auto;
    padding: 8px 8px;
    font-size: 11px;
    text-align: center;
  }

  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .title-rule {
    margin: 20px 0 16px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-project-orbit {
    display: none;
  }

  .map-hud,
  .hud-side {
    display: none;
  }

  .map-comets {
    display: none;
  }

  .hero-availability {
    display: none;
  }

  .profile-card,
  .status-dashboard,
  .contact-form,
  .contact-console,
  .project-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 16px;
  }

  .dashboard-header strong {
    font-size: clamp(23px, 7vw, 28px);
    line-height: 1.05;
  }

  .status-refresh {
    width: 100%;
    min-height: 44px;
  }

  .status-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "domain"
      "state"
      "response"
      "uptime";
    gap: 10px;
    padding: 14px;
  }

  .status-value {
    white-space: normal;
    line-height: 1.35;
  }

  .response-value {
    justify-self: start;
  }

  .contact-modal {
    padding: 14px;
  }

  .contact-modal-panel {
    padding: 28px 22px 22px;
    border-radius: 24px;
  }

  .contact-modal-close {
    top: 14px;
    right: 14px;
  }

  .form-intro h3,
  .contact-console h3 {
    font-size: 28px;
    line-height: 1.05;
  }

  .contact-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
  }

  .contact-steps li span {
    width: 36px;
    height: 36px;
  }

  .universe-map {
    min-height: 420px;
    border-radius: 24px;
  }

  .project-node {
    width: calc(var(--size) * .86);
    height: calc(var(--size) * .86);
  }

  .preview-stage {
    aspect-ratio: 1904 / 963;
  }
}

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

  .starfield {
    display: none;
  }

  .universe-map .project-node.orbiting-node {
    animation-duration: calc(var(--drift-speed, 8s) + 5s) !important;
    animation-iteration-count: infinite !important;
  }

  .universe-map .project-node.orbiting-node::after {
    animation-duration: 6.8s !important;
    animation-iteration-count: infinite !important;
  }

  .universe-map .map-stars span {
    animation-duration: var(--dur, 3s), var(--floatdur, 8s) !important;
    animation-iteration-count: infinite, infinite !important;
  }

  .universe-map .orbit-ring,
  .universe-map .galaxy-core span,
  .universe-map .map-sweep {
    animation-iteration-count: infinite !important;
  }

  .universe-map .ring-a {
    animation-duration: 22s !important;
  }

  .universe-map .ring-b {
    animation-duration: 28s !important;
  }

  .universe-map .ring-c {
    animation-duration: 34s !important;
  }

  .universe-map .galaxy-core span {
    animation-duration: 18s !important;
  }

  .universe-map .galaxy-core span:nth-child(2) {
    animation-duration: 26s !important;
  }

  .universe-map .galaxy-core span:nth-child(3) {
    animation-duration: 12s !important;
  }

  .universe-map .map-sweep {
    animation-duration: 28s !important;
  }

  .hero-light-stars span {
    animation-duration: var(--dur, 3.8s) !important;
    animation-iteration-count: infinite !important;
  }
}

/* v28: case panel is intentionally fixed open */
.panel-close { display: none !important; }
