/* ========================================
   Chenbo Zeng - Personal Portfolio
   Tech / Cyberpunk / Neon Style
   ======================================== */

:root {
  --color-bg: #050510;
  --color-cyan: #22d3ee;
  --color-purple: #a855f7;
  --color-pink: #ec4899;
  --color-surface: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.1);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-institutional: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --polyu-red: #a02337;
  --spotlight-x: 50%;
  --spotlight-y: 38%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: #e2e8f0;
  overflow-x: hidden;
  cursor: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(34, 211, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 68% 42%, rgba(0,0,0,0.95), transparent 72%);
}

body.loaded::after {
  background:
    linear-gradient(rgba(34, 211, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.025) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
}

/* Reset cursor on mobile */
@media (pointer: coarse) {
  body {
    cursor: auto;
  }
}

/* Custom Cursor */
#cursor {
  transform: translate(-50%, -50%);
  will-change: transform;
  display: none !important;
}

#cursor.hover {
  transform: translate(-50%, -50%) scale(2);
  background: rgba(34, 211, 238, 0.1);
}

#cursor-dot {
  transform: translate(-50%, -50%);
  will-change: transform;
  display: none !important;
}

/* Selection */
::selection {
  background: rgba(34, 211, 238, 0.3);
  color: #ecfeff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-cyan), var(--color-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #67e8f9, #c084fc);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.font-mono {
  font-family: var(--font-mono);
}

.tracking-tight {
  letter-spacing: 0 !important;
}

/* Particle Canvas */
#particle-canvas {
  opacity: 0.34;
}

#hero-field {
  display: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.render-map-layer {
  background-image:
    linear-gradient(90deg, rgba(5, 5, 16, 0.98) 0%, rgba(5, 5, 16, 0.86) 28%, rgba(5, 5, 16, 0.28) 58%, rgba(5, 5, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 5, 16, 0.2) 0%, rgba(5, 5, 16, 0.02) 44%, rgba(5, 5, 16, 0.78) 100%),
    url('../assets/hong-kong-ai-map-clean.webp');
  background-position: center center;
  background-size: cover;
  opacity: 0.82;
  filter: saturate(1.08) contrast(1.04);
  transform: translateZ(0);
  contain: paint;
}

.render-map-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(34, 211, 238, 0.09), transparent 34rem),
    radial-gradient(circle at 86% 34%, rgba(160, 35, 55, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(5, 5, 16, 0.22), transparent 45%, rgba(5, 5, 16, 0.86));
}

.geo-map-layer {
  opacity: 0.2;
  mix-blend-mode: screen;
  overflow: hidden;
  contain: layout paint size;
}

.geo-map-layer svg {
  width: 100%;
  height: 100%;
  transform: translateX(4%) scale(1.05);
}

.geo-outline {
  fill: rgba(34, 211, 238, 0.018);
  stroke: url(#geoLine);
  stroke-width: 1.25;
  stroke-dasharray: 8 10;
  vector-effect: non-scaling-stroke;
}

.geo-outline-main {
  fill: rgba(34, 211, 238, 0.035);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.22));
}

.geo-area {
  fill: rgba(168, 85, 247, 0.018);
  stroke: rgba(125, 211, 252, 0.38);
  stroke-width: 1.1;
}

.geo-route {
  fill: none;
  stroke: rgba(236, 72, 153, 0.55);
  stroke-width: 1.15;
  stroke-dasharray: 2 7;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.28));
}

.geo-points circle {
  fill: #22d3ee;
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 1;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.75));
}

.geo-labels text {
  fill: rgba(226, 232, 240, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Animations */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

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

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

.animate-blink {
  animation: blink 1s step-end infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

.animate-rotate-slow {
  animation: rotate-slow 20s linear infinite;
}

/* Hero Card Float */
.hero-card {
  animation: float 6s ease-in-out infinite;
}

/* 3D Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.tilt-card > * {
  transform: translateZ(20px);
}

.tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(168, 85, 247, 0.3), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

/* Glow effect on hover */
.exp-card:hover,
.pub-card:hover,
.contact-card:hover {
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.1);
}

/* Skill Tags */
.skill-tag {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Timeline */
.timeline-item {
  opacity: 1;
}

@media (min-width: 768px) {
  .timeline-item {
    min-height: 180px;
  }
}

/* Navigation */
#navbar {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-word {
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.22), 0 0 28px rgba(168, 85, 247, 0.18);
}

.brand-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.44rem;
  white-space: nowrap;
}

.brand-mark {
  color: #67e8f9;
  background: linear-gradient(135deg, #67e8f9, #a78bfa 56%, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.zeng-word {
  color: rgba(255, 255, 255, 0.96) !important;
  -webkit-text-stroke: 1px rgba(34, 211, 238, 0.18);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.7),
    0 0 28px rgba(34, 211, 238, 0.25),
    0 0 48px rgba(168, 85, 247, 0.22);
  position: relative;
}

.zeng-word::after {
  content: 'ZENG';
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 72, 153, 0.22);
  transform: translate(5px, 5px);
  z-index: -1;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 5, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

#language-switcher {
  top: 1rem;
  right: 1.5rem;
}

.lang-btn {
  min-width: 2.35rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  color: rgba(203, 213, 225, 0.75);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
  color: #ecfeff;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.18));
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.18), 0 0 18px rgba(34, 211, 238, 0.12);
}

/* Mobile Menu */
#mobile-menu.open {
  transform: scaleY(1);
}

/* Section Reveal Base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero elements */
.hero-tag,
.hero-title,
.hero-credentials,
.hero-subtitle,
.hero-desc,
.hero-cta,
.hero-stats {
  opacity: 0;
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 232, 240, 0.84);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.credential-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--color-cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.85);
  flex: none;
}

/* Counter numbers */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Buttons */
button, a {
  cursor: pointer;
}

@media (pointer: coarse) {
  button, a {
    cursor: pointer;
  }
}

/* Link underline animation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-cyan);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple), var(--color-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass card base */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9998;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #hero {
    align-items: flex-start;
    padding-top: 6.25rem;
  }

  body {
    cursor: auto;
  }
  
  #cursor, #cursor-dot {
    display: none !important;
  }
  
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    height: auto !important;
    min-height: 3.4rem;
  }

  #typewriter {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  
  .language-switcher {
    right: 4.75rem;
  }

  .lang-btn {
    min-width: 2rem;
    height: 1.8rem;
    font-size: 0.68rem;
  }

  .geo-map-layer {
    opacity: 0.32;
  }
  
  .geo-map-layer svg {
    transform: translateX(2%) scale(1.12);
  }
  
  .hero-card {
    width: 280px;
    height: 280px;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
}

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

/* Loading state */
.loading {
  overflow: hidden;
}

.loading::after {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Skill Flip Cards
   ======================================== */
.skills-grid {
  perspective: 1000px;
}

.skill-flip-card {
  aspect-ratio: 1;
  cursor: pointer;
  perspective: 1000px;
}

.skill-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 1rem;
}

.skill-flip-card:hover .skill-flip-inner,
.skill-flip-card.flipped .skill-flip-inner {
  transform: rotateY(180deg);
}

.skill-flip-front,
.skill-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  overflow: hidden;
}

.skill-flip-front {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.skill-flip-card:hover .skill-flip-front {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.skill-flip-back {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #fff;
  transform: rotateY(180deg);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* Wave flip animation */
@keyframes skill-wave {
  0%, 100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

.skill-flip-card.wave .skill-flip-inner {
  animation: skill-wave 1.2s ease-in-out;
}

/* Idle bounce animation */
@keyframes skill-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.skill-flip-card.bounce .skill-flip-inner {
  animation: skill-bounce 0.6s ease-in-out;
}

/* Category colors on back */
.skill-flip-card[data-category="lang"] .skill-flip-back {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.1));
  border-color: rgba(34, 211, 238, 0.4);
}

.skill-flip-card[data-category="framework"] .skill-flip-back {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.1));
  border-color: rgba(236, 72, 153, 0.4);
}

.skill-flip-card[data-category="ai"] .skill-flip-back {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(99, 102, 241, 0.1));
  border-color: rgba(168, 85, 247, 0.4);
}

.skill-flip-card[data-category="vision"] .skill-flip-back,
.skill-flip-card[data-category="audio"] .skill-flip-back {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(236, 72, 153, 0.15));
  border-color: rgba(236, 72, 153, 0.4);
}

.skill-flip-card[data-category="dev"] .skill-flip-back {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.1));
  border-color: rgba(99, 102, 241, 0.4);
}

.skill-flip-card[data-category="score"] .skill-flip-back {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(249, 115, 22, 0.15));
  border-color: rgba(250, 204, 21, 0.4);
  color: #fef08a;
}

/* Scan line effect on front */
.skill-flip-front::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.1), transparent);
  transition: top 0.5s ease;
}

.skill-flip-card:hover .skill-flip-front::after {
  top: 100%;
}

/* Responsive skill grid */
@media (max-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .skill-flip-back {
    font-size: 0.65rem;
  }
}

/* ========================================
   Hero Identity Card
   ======================================== */
.identity-card {
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.identity-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple), var(--color-pink), var(--color-cyan));
  background-size: 300% 300%;
  border-radius: 1.75rem;
  z-index: -1;
  animation: gradient-shift 4s ease infinite;
  opacity: 0.7;
}

.identity-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple), var(--color-pink), var(--color-cyan));
  background-size: 300% 300%;
  border-radius: 1.75rem;
  z-index: -1;
  animation: gradient-shift 4s ease infinite;
  filter: blur(20px);
  opacity: 0.4;
}

.card-chip {
  position: relative;
  overflow: hidden;
}

.identity-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(103, 232, 249, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(168, 85, 247, 0.16)),
    rgba(5, 5, 16, 0.72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 22px rgba(34, 211, 238, 0.16);
}

.identity-mark span {
  color: #ecfeff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.card-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: card-shine 3s ease-in-out infinite;
}

@keyframes card-shine {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

.card-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  box-shadow: 0 0 10px var(--color-cyan);
  animation: scan-down 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes scan-down {
  0%, 100% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.card-hologram {
  position: relative;
  background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(168,85,247,0.1), rgba(236,72,153,0.1));
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.card-hologram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(34, 211, 238, 0.05) 2px,
    rgba(34, 211, 238, 0.05) 4px
  );
  pointer-events: none;
}

/* ========================================
   Premium polish layer
   ======================================== */
#scroll-progress {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.95), rgba(168, 85, 247, 0.95), rgba(236, 72, 153, 0));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
  transform-origin: left center;
}

#hero {
  min-height: 100svh;
  padding-top: 5.6rem;
  padding-bottom: 3.2rem;
  overflow: hidden;
}

.hero-layout {
  min-height: calc(100svh - 8.8rem);
}

.hero-copy {
  align-self: center;
  max-width: 43rem;
}

.hero-tag {
  margin-bottom: 1.05rem !important;
}

.hero-title {
  font-size: clamp(4.6rem, 7.2vw, 7.25rem) !important;
  line-height: 0.88;
  margin-bottom: 1.15rem !important;
}

.hero-title > span {
  line-height: 0.9;
}

.hero-title .zeng-word {
  font-size: 0.84em;
  margin-bottom: 0.08em;
}

.hero-desc {
  max-width: 36rem;
}

.hero-desc {
  position: relative;
  max-width: 37.5rem;
  padding-left: 1.05rem;
  border-left: 2px solid rgba(160, 35, 55, 0.72);
  font-family: var(--font-institutional);
  font-size: clamp(1.38rem, 1.62vw, 1.72rem) !important;
  line-height: 1.45 !important;
  font-weight: 600;
  letter-spacing: 0.008em;
  color: rgba(226, 232, 240, 0.86) !important;
  text-wrap: pretty;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.08);
}

.hero-desc::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 2.35rem;
  background: linear-gradient(180deg, #d41f3a, rgba(160, 35, 55, 0));
  box-shadow: 0 0 18px rgba(212, 31, 58, 0.26);
}

body {
  background:
    radial-gradient(circle at 17% 18%, rgba(34, 211, 238, 0.12), transparent 26rem),
    radial-gradient(circle at 83% 12%, rgba(236, 72, 153, 0.09), transparent 25rem),
    radial-gradient(circle at 63% 72%, rgba(168, 85, 247, 0.12), transparent 30rem),
    linear-gradient(135deg, #03040c 0%, #050510 42%, #070714 100%);
}

body::before {
  opacity: 0.022;
}

#particle-canvas {
  opacity: 0.24;
}

.geo-map-layer {
  opacity: 0.16;
  filter: saturate(0.92);
}

.geo-outline {
  stroke-dasharray: 1 0;
  opacity: 0.72;
}

.geo-route {
  stroke-dasharray: 6 11;
  animation: none;
}

@keyframes geo-route-flow {
  to {
    stroke-dashoffset: -170;
  }
}

#navbar {
  padding: 0.75rem 1rem 0;
}

#navbar > .absolute {
  inset: 0 1rem auto 1rem;
  height: calc(100% - 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 16, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-shell {
  padding-top: 0.78rem !important;
  padding-bottom: 0.78rem !important;
}

@media (min-width: 768px) {
  .nav-shell {
    padding-right: 13rem !important;
  }

  .nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: clamp(1.7rem, 2.25vw, 2.25rem);
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
  }

  .nav-action {
    margin-left: auto;
  }
}

.nav-link,
.mobile-nav-link {
  letter-spacing: 0;
}

.nav-link {
  padding: 0.45rem 0.1rem;
  min-width: 4.25rem;
  text-align: center;
}

.nav-link.is-active {
  color: #ecfeff !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.36);
}

.nav-link.is-active::after {
  width: 100%;
}

.nav-contact,
.premium-primary,
.premium-secondary,
.language-switcher {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 40px rgba(0, 0, 0, 0.24);
}

.premium-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #0891b2, #6d28d9 56%, #be185d) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-cta .premium-primary,
.hero-cta .premium-secondary {
  min-height: 3.72rem;
  border-radius: 0.42rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.08vw, 1.24rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-cta .premium-primary {
  background:
    linear-gradient(90deg, var(--polyu-red) 0 0.34rem, transparent 0.34rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.72), rgba(109, 40, 217, 0.84) 58%, rgba(160, 35, 55, 0.95)) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.hero-cta .premium-secondary {
  background:
    linear-gradient(90deg, rgba(160, 35, 55, 0.78) 0 0.28rem, transparent 0.28rem),
    rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.hero-cta .premium-primary:hover,
.hero-cta .premium-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 31, 58, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 30px rgba(160, 35, 55, 0.14);
}

.premium-primary::after,
.premium-secondary::after {
  content: '';
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.premium-primary:hover::after,
.premium-secondary:hover::after {
  left: 112%;
}

.premium-secondary {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.edu-school-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.72rem;
  max-width: 100%;
  margin: 0.1rem 0 0.3rem;
  padding: 0.25rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.edu-school-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.12));
}

.edu-school-link-right {
  justify-content: flex-end;
}

.edu-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(8.8rem, 13vw, 12.5rem);
  height: clamp(4.2rem, 6.2vw, 5.9rem);
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.edu-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edu-school-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.edu-school-name {
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 1.08;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.96);
}

.edu-school-domain {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(125, 211, 252, 0.72);
}

#education .timeline-item p {
  font-size: 1.02rem;
}

#education .timeline-item p.text-sm {
  font-size: 0.98rem !important;
}

.hero-visual {
  position: relative;
  min-height: min(37rem, calc(100svh - 8rem));
  isolation: isolate;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: min(34rem, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 28%),
    conic-gradient(from 130deg, transparent, rgba(34, 211, 238, 0.2), transparent 38%, rgba(168, 85, 247, 0.2), transparent 70%);
  filter: blur(1px);
  opacity: 0.75;
}

.stage-grid {
  position: absolute;
  inset: 2.4rem 0.6rem 1.6rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 58% 54%, rgba(34, 211, 238, 0.13), transparent 28%),
    radial-gradient(circle at 78% 30%, rgba(236, 72, 153, 0.1), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  z-index: -1;
}

.stage-grid::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), transparent 34%, rgba(236, 72, 153, 0.14));
  opacity: 0.45;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-orbit {
  position: absolute;
  width: min(32rem, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: rotate-slow 36s linear infinite;
  opacity: 0.72;
}

.hero-orbit::before,
.hero-orbit::after {
  content: '';
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(34, 211, 238, 0.14);
  border-radius: inherit;
}

.hero-orbit::after {
  inset: 28%;
  border-color: rgba(236, 72, 153, 0.12);
}

.hero-orbit span {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ecfeff;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}

.hero-orbit span:nth-child(1) {
  top: 8%;
  left: 48%;
}

.hero-orbit span:nth-child(2) {
  right: 12%;
  top: 62%;
  background: #d8b4fe;
}

.hero-orbit span:nth-child(3) {
  left: 14%;
  bottom: 18%;
  background: #f9a8d4;
}

.system-halo {
  position: absolute;
  width: min(37rem, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: none;
}

.system-halo::before {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 22%),
    radial-gradient(circle at 68% 64%, rgba(236, 72, 153, 0.18), transparent 24%),
    conic-gradient(from 210deg, rgba(34, 211, 238, 0.24), transparent 18%, rgba(168, 85, 247, 0.22), transparent 48%, rgba(236, 72, 153, 0.2), transparent 72%, rgba(34, 211, 238, 0.24));
  filter: blur(8px);
  opacity: 0.68;
  animation: pulse-slow 7s ease-in-out infinite;
}

.system-halo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.system-halo path {
  fill: none;
  stroke: rgba(34, 211, 238, 0.22);
  stroke-width: 1;
  stroke-dasharray: 5 8;
  animation: geo-route-flow 12s linear infinite;
}

.system-halo path:nth-child(2) {
  stroke: rgba(168, 85, 247, 0.28);
  animation-duration: 9s;
}

.system-halo path:nth-child(3) {
  stroke: rgba(236, 72, 153, 0.22);
  animation-duration: 14s;
}

.system-core {
  position: absolute;
  inset: 39%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ecfeff 0 10%, rgba(34, 211, 238, 0.65) 11% 28%, rgba(34, 211, 238, 0.12) 29% 58%, transparent 59%);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.65), 0 0 88px rgba(168, 85, 247, 0.35);
  animation: neural-pulse 2.8s ease-in-out infinite;
}

@keyframes neural-pulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.system-halo span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 48%, transparent);
  background: rgba(5, 5, 16, 0.54);
  color: color-mix(in srgb, var(--c) 82%, white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.system-halo span::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
}

.signal-console {
  position: absolute;
  right: clamp(0.5rem, 2vw, 2rem);
  top: 63%;
  bottom: auto;
  width: 15.5rem;
  display: grid;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 4;
}

.signal-console div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.55rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 16, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.signal-console span,
.signal-console b {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.signal-console span {
  color: rgba(203, 213, 225, 0.58);
}

.signal-console b {
  color: #67e8f9;
}

.zeng-word {
  background: linear-gradient(180deg, #ffffff 0%, #e8fbff 42%, #9bd7e7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.credential-pill {
  border-radius: 0.55rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.14);
}

.hero-stats {
  position: relative;
  border-top: 0 !important;
  padding-top: 1.25rem !important;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.45), rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0));
}

.identity-card {
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.34));
  z-index: 3;
  margin-top: -1.3rem;
  margin-right: clamp(0rem, 2vw, 1.5rem);
}

.identity-card .tilt-card {
  border-radius: 1.15rem !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 42%),
    linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(7, 12, 26, 0.94)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.identity-card::before,
.identity-card::after {
  border-radius: 1.25rem;
}

.exp-card,
.pub-card,
.contact-card {
  position: relative;
  border-radius: 0.5rem !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.028)) !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.exp-card::after,
.pub-card::after,
.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.055) 36%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.exp-card:hover,
.pub-card:hover,
.contact-card:hover {
  border-color: rgba(34, 211, 238, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 70px rgba(0, 0, 0, 0.26), 0 0 36px rgba(34, 211, 238, 0.08);
}

.exp-card:hover::after,
.pub-card:hover::after,
.contact-card:hover::after {
  transform: translateX(120%);
}

.skill-flip-inner {
  border-radius: 0.65rem;
}

.skill-flip-front,
.skill-flip-back {
  border-radius: 0.65rem;
}

@media (max-width: 768px) {
  #navbar {
    padding: 0;
  }

  #navbar > .absolute {
    inset: 0;
    height: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .hero-visual {
    min-height: 18rem;
    overflow: hidden;
    margin-top: 1.5rem;
  }

  .hero-orbit {
    width: min(18rem, 78vw);
  }

  .system-halo {
    width: min(21rem, 88vw);
    opacity: 0.62;
    transform: translateY(0);
  }

  .system-halo span,
  .signal-console {
    display: none;
  }

  .ambient-glow {
    width: 34vw !important;
    height: 34vw !important;
    filter: blur(90px);
  }

  .ambient-glow-a {
    left: 0 !important;
  }

  .ambient-glow-b {
    right: 0 !important;
  }

  .credential-pill {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ========================================
   Hero architecture refinement
   ======================================== */
@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(36rem, 1.12fr) !important;
    column-gap: clamp(3rem, 5vw, 5.5rem) !important;
  }
}

.hero-copy {
  position: relative;
  padding-left: clamp(0rem, 1.35vw, 1.35rem);
}

.hero-copy::before {
  content: '';
  position: absolute;
  left: -0.65rem;
  top: 0.35rem;
  bottom: 1.25rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.48), rgba(168, 85, 247, 0.26), rgba(236, 72, 153, 0));
  opacity: 0.62;
}

.hero-copy::after {
  content: '';
  position: absolute;
  left: -0.82rem;
  top: 8.4rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.82);
}

.hero-tag {
  position: relative;
  border-radius: 0.58rem !important;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 16, 0.56) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.16);
}

.hero-tag::after {
  content: '';
  position: absolute;
  left: calc(100% + 0.85rem);
  top: 50%;
  width: min(10rem, 18vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.42), rgba(168, 85, 247, 0));
}

.hero-title {
  font-size: clamp(4.25rem, 6.55vw, 6.85rem) !important;
  max-width: 44rem;
}

.hero-title .zeng-word {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #e9fbff 35%, #9fdff0 76%, #7aa7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.18));
}

.hero-title .zeng-word::before {
  content: '';
  position: absolute;
  left: 0.09em;
  top: 0.2em;
  width: 0.42em;
  height: 0.055em;
  border-radius: 999px;
  background: linear-gradient(90deg, #67e8f9, #f0abfc);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.58);
  opacity: 0.82;
}

.hero-credentials {
  max-width: 41rem;
}

.hero-stats {
  max-width: 36rem;
  gap: 0 !important;
  margin-top: 2.15rem !important;
  padding-top: 1rem !important;
}

.hero-stats > div {
  position: relative;
  min-width: 0;
}

.hero-stats > div + div {
  padding-left: clamp(0.8rem, 2vw, 1.35rem);
}

.hero-stats > div + div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.2rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.hero-stats .counter {
  line-height: 1;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.16);
}

.hero-visual {
  align-items: flex-start;
  justify-content: center !important;
  min-height: min(39rem, calc(100svh - 7.4rem));
}

.hero-visual::before {
  left: 49%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: min(38rem, 92vw);
  z-index: 0;
}

.stage-grid {
  inset: 0.75rem 0 0.25rem 0;
  z-index: 0;
  opacity: 0.74;
  overflow: hidden;
  border-radius: 1.05rem;
  border-color: rgba(255, 255, 255, 0.105);
  mask-image: none;
  background:
    radial-gradient(circle at 54% 58%, rgba(34, 211, 238, 0.16), transparent 26%),
    radial-gradient(circle at 75% 28%, rgba(236, 72, 153, 0.105), transparent 23%),
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.014));
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

.stage-grid::before {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 3.55rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.38), rgba(168, 85, 247, 0.18), transparent);
  opacity: 0.78;
}

.stage-label,
.stage-readout,
.stage-pin {
  position: absolute;
  z-index: 6;
  font-family: var(--font-mono);
}

.stage-label {
  top: 1.05rem;
  left: 1.05rem;
  display: grid;
  gap: 0.12rem;
  width: 5.15rem;
  min-height: 1.75rem;
}

.stage-label span {
  color: rgba(103, 232, 249, 0.82);
  font-size: 0.68rem;
}

.stage-label strong {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.76rem;
  line-height: 1.08;
}

.stage-readout {
  right: 1.05rem;
  bottom: 1rem;
  display: grid;
  gap: 0.18rem;
  padding: 0.65rem 0.8rem;
  min-width: 8.6rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.55rem;
  background: rgba(5, 5, 16, 0.55);
  backdrop-filter: blur(14px);
}

.stage-readout span {
  color: rgba(148, 163, 184, 0.78);
  font-size: 0.62rem;
}

.stage-readout strong {
  color: #67e8f9;
  font-size: 0.74rem;
}

.stage-map {
  position: absolute;
  left: 14%;
  top: 5.2rem;
  width: 78%;
  height: calc(100% - 7.3rem);
  z-index: 1;
  overflow: visible;
  opacity: 0.62;
}

.stage-map-region,
.stage-map-area {
  fill: rgba(34, 211, 238, 0.026);
  stroke: rgba(125, 211, 252, 0.36);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.stage-hk-island {
  fill: rgba(236, 72, 153, 0.035);
  stroke: rgba(244, 114, 182, 0.36);
}

.stage-lantau {
  fill: rgba(168, 85, 247, 0.028);
  stroke: rgba(196, 181, 253, 0.28);
}

.stage-kowloon {
  fill: rgba(96, 165, 250, 0.032);
}

.stage-map-line {
  fill: none;
  stroke: rgba(34, 211, 238, 0.28);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.stage-map-line.dashed {
  stroke: rgba(236, 72, 153, 0.32);
  stroke-dasharray: 6 9;
  animation: geo-route-flow 11s linear infinite;
}

.stage-map-dot {
  fill: #67e8f9;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.7));
}

.stage-map-dot.primary {
  fill: #22d3ee;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.95));
}

.stage-map-dot.dot-cyberport {
  fill: #f0abfc;
  filter: drop-shadow(0 0 16px rgba(236, 72, 153, 0.9));
}

.stage-map text {
  fill: rgba(226, 232, 240, 0.42);
  font-family: var(--font-mono);
  font-size: 11px;
}

.stage-map text.primary {
  fill: rgba(236, 254, 255, 0.78);
  font-weight: 700;
}

.stage-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  background: rgba(5, 5, 16, 0.5);
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.62rem;
  backdrop-filter: blur(12px);
}

.stage-pin::before {
  content: '';
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.82);
}

.pin-luhk {
  left: 8%;
  top: 42%;
}

.pin-eduhk {
  right: 7%;
  top: 18%;
}

.pin-cyberport {
  left: 42%;
  bottom: 17%;
}

.pin-science {
  right: 8%;
  top: 32%;
}

@keyframes rotate-stage {
  from {
    transform: translate(-50%, -50%) rotate(-18deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(342deg);
  }
}

.hero-orbit {
  left: 50%;
  top: 55%;
  z-index: 1;
  animation: rotate-stage 38s linear infinite;
}

.system-halo {
  left: 49%;
  top: 57%;
  width: min(36rem, 90%);
  z-index: 2;
}

.signal-console {
  right: clamp(1.1rem, 4vw, 3.25rem);
  top: 65%;
  z-index: 5;
}

.identity-card {
  margin-top: 1.65rem;
  margin-right: clamp(0.25rem, 3vw, 2.4rem);
  z-index: 4;
}

.identity-card::before {
  opacity: 0.82;
}

.identity-card::after {
  opacity: 0.32;
  filter: blur(26px);
}

.identity-card .tilt-card {
  border-color: rgba(255, 255, 255, 0.13) !important;
}

@media (max-width: 1023px) {
  .hero-copy {
    padding-left: 0;
  }

  .hero-copy::before,
  .hero-copy::after,
  .hero-tag::after {
    display: none;
  }

  .hero-visual {
    min-height: 31rem;
  }

  .stage-grid {
    inset: 0.4rem 0 0;
  }

  .identity-card {
    margin: 1.35rem auto 0;
  }
}

@media (max-width: 768px) {
  #language-switcher.language-switcher {
    top: 0.9rem;
    left: clamp(12.4rem, 58vw, 14.5rem) !important;
    right: auto !important;
    padding: 0.18rem;
    gap: 0.1rem;
  }

  #language-switcher .lang-btn {
    min-width: 1.65rem;
    height: 1.55rem;
    font-size: 0.62rem;
  }

  .nav-shell {
    width: 100% !important;
    max-width: 24.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1.35rem !important;
    padding-right: 1.15rem !important;
  }

  #mobile-menu-btn {
    position: relative;
    z-index: 80;
  }

  .hero-layout {
    max-width: 21.5rem !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .hero-copy {
    width: 100%;
    max-width: 21.5rem;
    min-width: 0;
  }

  .hero-title {
    font-size: clamp(2.75rem, 12.2vw, 3.35rem) !important;
    max-width: 100%;
    margin-bottom: 1rem !important;
  }

  .hero-title .zeng-word {
    font-size: 0.92em;
  }

  .hero-credentials {
    width: 100%;
    max-width: 100%;
    gap: 0.55rem !important;
  }

  .credential-pill {
    min-width: 0;
    padding: 0.62rem 0.75rem;
    font-size: 0.72rem;
    line-height: 1.2;
    white-space: normal;
  }

  .hero-subtitle {
    margin-bottom: 1.05rem !important;
  }

  #typewriter {
    font-size: 1rem !important;
    line-height: 1.45;
  }

  .hero-desc {
    max-width: 100%;
    padding-left: 0.85rem;
    font-size: 1.14rem !important;
    line-height: 1.42 !important;
    margin-bottom: 1.45rem !important;
  }

  .hero-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.86fr);
    gap: 0.8rem !important;
    width: 100%;
    max-width: 21.5rem;
  }

  .hero-cta a {
    flex: none;
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    font-size: 1rem;
    white-space: nowrap;
  }

  .hero-stats {
    width: 100%;
    max-width: 21.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.75rem !important;
  }

  .hero-stats > div {
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
    text-align: center;
  }

  .hero-stats > div + div {
    padding-left: 0.2rem !important;
  }

  .hero-stats .text-sm {
    font-size: 0.62rem !important;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .stage-label,
  .stage-readout,
  .stage-pin {
    display: none;
  }

  .stage-map {
    left: 3%;
    top: 2.5rem;
    width: 94%;
    height: calc(100% - 3rem);
    opacity: 0.48;
  }

  .hero-card.identity-card {
    width: min(21rem, 88vw) !important;
    height: 13.5rem !important;
  }

  .system-halo {
    left: 50%;
    top: 56%;
    transform: translate(-50%, -50%) !important;
  }
}

/* Final polish for the generated Hong Kong render and larger readable typography */
.nav-link {
  font-size: 0.92rem !important;
}

.nav-contact {
  font-size: 0.92rem !important;
}

.hero-tag {
  font-size: 0.92rem !important;
}

.credential-pill {
  font-size: 0.84rem !important;
}

#typewriter {
  font-size: clamp(1.22rem, 1.55vw, 1.72rem) !important;
}

.hero-cta .premium-primary,
.hero-cta .premium-secondary {
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-cta .premium-primary span,
.hero-cta .premium-secondary {
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.13);
}

@media (max-width: 767px) {
  .render-map-layer {
    background-position: 62% top;
    opacity: 0.58;
  }

  .geo-map-layer {
    opacity: 0.09;
  }

  .hero-desc {
    font-size: 1.22rem !important;
    line-height: 1.44 !important;
  }

  .hero-cta a {
    min-height: 3.55rem;
    font-size: 0.92rem !important;
    letter-spacing: 0;
  }

  .edu-school-link,
  .edu-school-link-right {
    justify-content: flex-start;
    width: 100%;
    padding: 0.72rem;
  }

  .edu-school-link-right {
    flex-direction: row-reverse;
  }

  .edu-logo-frame {
    width: 4.15rem;
    height: 3rem;
  }

  .edu-school-name {
    font-size: 1.3rem;
  }

  #education .timeline-item p {
    font-size: 1rem;
  }
}

/* Final performance and composition pass */
#particle-canvas {
  display: none;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

.ambient-glow {
  animation: none !important;
}

#about {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 5, 16, 0) 0%, rgba(7, 7, 21, 0.94) 13%, rgba(7, 7, 21, 0.98) 100%);
}

#about::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -9rem;
  height: 12rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 16, 0), rgba(7, 7, 21, 0.94));
}

@media (min-width: 768px) {
  .nav-shell {
    display: grid !important;
    grid-template-columns: minmax(10rem, 16rem) minmax(28rem, 1fr) minmax(20rem, 24rem);
    align-items: center;
    gap: 1rem;
    padding-left: clamp(2rem, 4.8vw, 4.6rem) !important;
    padding-right: clamp(2rem, 4.8vw, 4.6rem) !important;
  }

  .brand-lockup {
    justify-self: start;
  }

  .nav-center {
    position: static !important;
    transform: none !important;
    justify-self: center;
    justify-content: center;
    width: 100%;
    gap: clamp(1.4rem, 2vw, 2.2rem);
  }

  .nav-action {
    justify-self: end;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    padding-right: 11.5rem;
  }

  #language-switcher {
    top: 1.35rem;
    right: clamp(2rem, 4.8vw, 4.6rem);
  }
}

.brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.16vw, 1.28rem);
  letter-spacing: 0.01em;
}

.brand-mark {
  background: linear-gradient(135deg, #38bdf8, #a78bfa 46%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-link {
  min-width: 5rem;
}

.edu-logo-frame {
  width: clamp(5rem, 7vw, 6.8rem);
  height: clamp(2.75rem, 4.4vw, 3.9rem);
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.edu-logo {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 14px rgba(34, 211, 238, 0.08));
}

.exp-card {
  position: relative;
  overflow: hidden;
}

.exp-card > * {
  position: relative;
  z-index: 1;
}

.exp-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.42rem;
  max-width: 11.5rem;
}

.exp-brand-logo {
  display: block;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.38));
}

.exp-brand-logo-wide {
  width: min(10.8rem, 28vw);
  max-height: 2.8rem;
}

.exp-brand-logo-square {
  width: 3.85rem;
  height: 3.85rem;
}

.company-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.company-link:hover {
  color: #67e8f9;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.22);
}

.showcase-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.55rem 0 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.showcase-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: showcase-flow 34s linear infinite;
  will-change: transform;
}

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

@keyframes showcase-flow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - 0.5rem), 0, 0);
  }
}

.showcase-card {
  width: clamp(17rem, 24vw, 23rem);
  min-height: 18rem;
  padding: 0.8rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(5, 5, 16, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 72px rgba(0, 0, 0, 0.26);
}

.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12.6rem;
  border-radius: 0.8rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.13));
}

.showcase-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
}

.showcase-visual > * {
  position: relative;
  z-index: 1;
}

.showcase-visual-cyan { background-color: rgba(8, 145, 178, 0.18); }
.showcase-visual-purple { background-color: rgba(109, 40, 217, 0.2); }
.showcase-visual-pink { background-color: rgba(190, 24, 93, 0.18); }
.showcase-visual-amber { background-color: rgba(245, 158, 11, 0.16); }
.showcase-visual-blue { background-color: rgba(37, 99, 235, 0.17); }
.showcase-visual-green { background-color: rgba(16, 185, 129, 0.14); }

.showcase-orca {
  width: 5.8rem;
  height: 5.8rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.32));
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 1rem 0.35rem 0.25rem;
}

.showcase-meta span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(125, 211, 252, 0.76);
}

.showcase-meta strong {
  font-size: 1.08rem;
  color: rgba(248, 250, 252, 0.95);
}

@keyframes skill-breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(34, 211, 238, 0));
  }
  50% {
    transform: translateY(-3px) scale(1.018);
    filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.16));
  }
}

.skills-grid-active .skill-flip-card {
  animation: skill-breathe 5.8s ease-in-out infinite;
  animation-delay: calc(var(--skill-index, 0) * -0.22s);
}

.skills-grid-active .skill-flip-card:nth-child(1) { --skill-index: 1; }
.skills-grid-active .skill-flip-card:nth-child(2) { --skill-index: 2; }
.skills-grid-active .skill-flip-card:nth-child(3) { --skill-index: 3; }
.skills-grid-active .skill-flip-card:nth-child(4) { --skill-index: 4; }
.skills-grid-active .skill-flip-card:nth-child(5) { --skill-index: 5; }
.skills-grid-active .skill-flip-card:nth-child(6) { --skill-index: 6; }
.skills-grid-active .skill-flip-card:nth-child(7) { --skill-index: 7; }
.skills-grid-active .skill-flip-card:nth-child(8) { --skill-index: 8; }
.skills-grid-active .skill-flip-card:nth-child(9) { --skill-index: 9; }
.skills-grid-active .skill-flip-card:nth-child(10) { --skill-index: 10; }
.skills-grid-active .skill-flip-card:nth-child(11) { --skill-index: 11; }
.skills-grid-active .skill-flip-card:nth-child(12) { --skill-index: 12; }
.skills-grid-active .skill-flip-card:nth-child(13) { --skill-index: 13; }
.skills-grid-active .skill-flip-card:nth-child(14) { --skill-index: 14; }
.skills-grid-active .skill-flip-card:nth-child(15) { --skill-index: 15; }
.skills-grid-active .skill-flip-card:nth-child(16) { --skill-index: 16; }
.skills-grid-active .skill-flip-card:nth-child(17) { --skill-index: 17; }
.skills-grid-active .skill-flip-card:nth-child(18) { --skill-index: 18; }
.skills-grid-active .skill-flip-card:nth-child(19) { --skill-index: 19; }
.skills-grid-active .skill-flip-card:nth-child(20) { --skill-index: 20; }

@media (max-width: 767px) {
  .exp-brand-logo-wide {
    width: 8rem;
  }

  .exp-brand-lockup {
    max-width: 8.5rem;
  }

  .edu-logo-frame {
    width: 8.6rem;
    height: 4.4rem;
  }
}

/* Education logo final placement: large logo above school copy */
#education .edu-school-link {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  padding: 0.15rem 0 0.55rem !important;
}

#education .edu-school-link-right {
  flex-direction: column !important;
}

#education .md\:text-right .edu-school-link {
  align-items: flex-end !important;
}

#education .md\:pl-12 .edu-school-link {
  align-items: flex-start !important;
}

#education .edu-logo-frame {
  width: clamp(10.5rem, 14vw, 14.5rem) !important;
  height: clamp(4.9rem, 7vw, 6.9rem) !important;
}

#education .edu-school-text {
  align-items: inherit;
}

#education .edu-logo {
  object-fit: contain;
  transform: translateZ(0);
}

@media (max-width: 767px) {
  #education .edu-school-link,
  #education .md\:text-right .edu-school-link,
  #education .md\:pl-12 .edu-school-link {
    align-items: flex-start !important;
  }

  #education .edu-logo-frame {
    width: min(13rem, 78vw) !important;
    height: 5.6rem !important;
  }
}

/* Continuous page surface and upgraded project showcase */
body {
  background-attachment: fixed;
}

section[id] {
  background: transparent !important;
}

#about,
#education,
#experience,
#showcase,
#publications,
#contact {
  background-color: transparent !important;
}

#about::before {
  display: none !important;
}

section[id]::selection {
  background: rgba(34, 211, 238, 0.28);
}

.showcase-marquee {
  padding: 0.9rem 0 1.35rem;
  mask-image: linear-gradient(90deg, transparent, #000 4.5%, #000 95.5%, transparent);
}

.showcase-marquee:hover .showcase-track,
.showcase-marquee:focus-within .showcase-track,
.showcase-marquee.is-paused .showcase-track {
  animation-play-state: paused;
}

.showcase-track {
  gap: 1.15rem;
  animation-duration: 32s;
}

.showcase-card {
  position: relative;
  width: clamp(20rem, 31vw, 31rem);
  min-height: 22.5rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 8%, rgba(34, 211, 238, 0.1), transparent 34%),
    radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 38%), rgba(34, 211, 238, 0.12), transparent 35%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(34, 211, 238, 0.38) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 86px rgba(0, 0, 0, 0.34), 0 0 34px rgba(34, 211, 238, 0.14);
  outline: none;
}

.showcase-card:hover::before,
.showcase-card:focus-visible::before {
  opacity: 1;
}

.showcase-visual {
  height: clamp(13.8rem, 18vw, 18.6rem);
  background:
    radial-gradient(circle at 25% 18%, rgba(34, 211, 238, 0.22), transparent 28%),
    radial-gradient(circle at 78% 72%, rgba(236, 72, 153, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(5, 5, 16, 0.78));
}

.showcase-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 78%, rgba(5, 5, 16, 0.36)),
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.24), transparent);
  mix-blend-mode: screen;
  opacity: 0.38;
  transform: translateX(-120%);
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.showcase-card:hover .showcase-visual::after,
.showcase-card:focus-visible .showcase-visual::after {
  transform: translateX(120%);
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: saturate(1.06) contrast(1.02);
}

.showcase-image-portrait {
  object-position: center 40%;
}

.showcase-card:hover .showcase-image,
.showcase-card:focus-visible .showcase-image {
  transform: scale(1.055);
  filter: saturate(1.15) contrast(1.06);
}

.showcase-meta {
  position: relative;
  z-index: 1;
}

.showcase-meta strong {
  line-height: 1.24;
}

.skills-grid-active .skill-flip-card {
  transform-origin: center;
}

.skills-grid-active .skill-flip-card:hover {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .showcase-track {
    gap: 0.85rem;
    animation-duration: 28s;
  }

  .showcase-card {
    width: min(82vw, 22rem);
    min-height: 19rem;
    padding: 0.68rem;
  }

  .showcase-visual {
    height: 12.8rem;
  }

  .showcase-meta strong {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-track {
    animation-play-state: paused;
  }
}

/* Premium showcase deck */
.showcase-section {
  position: relative;
  isolation: isolate;
}

.showcase-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 7.4rem;
  width: min(72rem, 92vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.52), rgba(168, 85, 247, 0.34), transparent);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.18);
  pointer-events: none;
}

.showcase-section::after {
  content: '';
  position: absolute;
  inset: 5rem 0 auto 0;
  height: 32rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(34, 211, 238, 0.15), transparent 24rem),
    radial-gradient(circle at 76% 32%, rgba(236, 72, 153, 0.11), transparent 23rem),
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.055), transparent);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

.showcase-header {
  position: relative;
  z-index: 2;
}

.showcase-command {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 0.72fr;
  gap: 1px;
  margin: -0.35rem 0 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.14), transparent 26%, transparent 74%, rgba(236, 72, 153, 0.1)),
    rgba(5, 5, 16, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.showcase-command::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.2;
  pointer-events: none;
}

.showcase-command div {
  position: relative;
  display: grid;
  gap: 0.16rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.showcase-command span,
.showcase-command strong {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.showcase-command span {
  font-size: 0.64rem;
  color: rgba(148, 163, 184, 0.78);
}

.showcase-command strong {
  font-size: 0.86rem;
  color: rgba(236, 254, 255, 0.96);
}

.showcase-marquee {
  overflow: visible;
  perspective: 1200px;
}

.showcase-marquee::before,
.showcase-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12vw;
  pointer-events: none;
  z-index: 4;
}

.showcase-marquee::before {
  left: -1px;
  background: linear-gradient(90deg, #050510, rgba(5, 5, 16, 0));
}

.showcase-marquee::after {
  right: -1px;
  background: linear-gradient(270deg, #050510, rgba(5, 5, 16, 0));
}

.showcase-track {
  align-items: stretch;
  transform-style: preserve-3d;
}

.showcase-card {
  border-radius: 0.5rem;
  min-height: 24rem;
  padding: 0.72rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.024) 42%, rgba(34, 211, 238, 0.04)),
    rgba(5, 5, 16, 0.68);
  clip-path: polygon(0 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 1.35rem 100%, 0 calc(100% - 1.35rem));
  transform: translateY(var(--deck-y, 0)) rotateX(0.001deg) rotateZ(var(--deck-r, 0deg));
}

.showcase-card:nth-child(4n + 1) {
  --deck-y: 0.7rem;
  --deck-r: -0.35deg;
}

.showcase-card:nth-child(4n + 2) {
  --deck-y: -0.2rem;
  --deck-r: 0.22deg;
}

.showcase-card:nth-child(4n + 3) {
  --deck-y: 0.45rem;
  --deck-r: -0.18deg;
}

.showcase-card:nth-child(4n) {
  --deck-y: -0.45rem;
  --deck-r: 0.36deg;
}

.showcase-card::after {
  content: attr(data-index);
  position: absolute;
  right: 0.86rem;
  top: 0.72rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1;
  color: rgba(236, 254, 255, 0.13);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
  pointer-events: none;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  transform: translateY(calc(var(--deck-y, 0) - 0.85rem)) rotateX(2.4deg) rotateZ(0deg) scale(1.018);
}

.showcase-visual {
  height: clamp(14.8rem, 19vw, 19.8rem);
  border-radius: 0.36rem;
  border: 1px solid rgba(255, 255, 255, 0.095);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -26px 42px rgba(5, 5, 16, 0.34);
}

.showcase-visual::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.18), transparent 38%);
  background-size: 28px 28px, 28px 28px, auto;
  opacity: 0.3;
}

.showcase-visual::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 18%, transparent 74%, rgba(5, 5, 16, 0.44)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.25), transparent);
}

.showcase-meta {
  padding: 1rem 0.35rem 0.4rem;
}

.showcase-meta[data-role] {
  gap: 0.36rem;
}

.showcase-meta[data-role] span::after {
  content: ' / ' attr(data-role);
  color: rgba(148, 163, 184, 0.68);
}

.showcase-meta span {
  color: rgba(103, 232, 249, 0.88);
}

.showcase-meta strong {
  font-size: clamp(1.08rem, 1.28vw, 1.28rem);
  letter-spacing: 0;
}

.showcase-meta strong::after {
  content: 'OPEN';
  float: right;
  margin-top: 0.16rem;
  padding: 0.24rem 0.42rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 0.3rem;
  color: rgba(125, 211, 252, 0.82);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .showcase-command {
    grid-template-columns: 1fr;
    margin-bottom: 0.8rem;
  }

  .showcase-command div {
    padding: 0.72rem 0.82rem;
  }

  .showcase-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  .showcase-marquee::before,
  .showcase-marquee::after {
    display: none;
  }

  .showcase-card {
    min-height: 20.2rem;
    clip-path: polygon(0 0, calc(100% - 0.9rem) 0, 100% 0.9rem, 100% 100%, 0.9rem 100%, 0 calc(100% - 0.9rem));
  }

  .showcase-visual {
    height: 13.4rem;
  }

  .showcase-meta[data-role] span::after {
    display: none;
  }

  .showcase-meta strong::after {
    display: none;
  }
}

/* Refined symmetric navigation and tech brand lockup */
#navbar {
  padding: 0.85rem 1.1rem 0 !important;
}

#navbar > .absolute {
  inset: 0.85rem 1.1rem auto 1.1rem !important;
  height: 4.55rem !important;
  border-radius: 1.05rem !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.038)),
    linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent 28%, transparent 72%, rgba(236, 72, 153, 0.065)),
    rgba(5, 5, 16, 0.76) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.nav-shell {
  max-width: 86rem !important;
  min-height: 4.55rem;
  padding: 0 1.25rem !important;
  display: grid !important;
  grid-template-columns: minmax(15rem, 1fr) auto minmax(15rem, 1fr) !important;
  align-items: center !important;
  gap: clamp(1rem, 2vw, 2rem) !important;
}

.brand-lockup {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 0;
  font-family: var(--font-display);
  text-decoration: none;
}

.brand-sigil {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  border-radius: 0.62rem;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    radial-gradient(circle at 34% 22%, rgba(236, 254, 255, 0.38), transparent 28%),
    conic-gradient(from 140deg, rgba(34, 211, 238, 0.34), rgba(168, 85, 247, 0.24), rgba(236, 72, 153, 0.28), rgba(34, 211, 238, 0.34)),
    rgba(5, 5, 16, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 26px rgba(34, 211, 238, 0.18);
  overflow: hidden;
}

.brand-sigil::before {
  content: '';
  position: absolute;
  inset: 0.38rem;
  border: 1px solid rgba(236, 254, 255, 0.14);
  border-radius: 0.38rem;
  transform: rotate(45deg);
}

.brand-sigil::after {
  content: '';
  position: absolute;
  left: -40%;
  top: 0;
  width: 36%;
  height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-lockup:hover .brand-sigil::after {
  left: 112%;
}

.brand-sigil span {
  position: relative;
  z-index: 1;
  color: #ecfeff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.44rem;
  min-width: 0;
  white-space: nowrap;
}

.brand-mark,
.brand-word {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.36rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark {
  background: linear-gradient(135deg, #67e8f9 0%, #d8b4fe 44%, #f9a8d4 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.brand-word {
  color: rgba(248, 250, 252, 0.9) !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.nav-center {
  justify-self: center;
  position: static !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.28rem !important;
  padding: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.032);
}

.nav-link {
  min-width: 5.35rem !important;
  padding: 0.72rem 0.78rem !important;
  border-radius: 0.55rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: rgba(203, 213, 225, 0.78) !important;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-link::after,
.nav-link > span {
  display: none !important;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ecfeff !important;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(168, 85, 247, 0.12));
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.13), 0 0 22px rgba(34, 211, 238, 0.09);
}

.nav-tools {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0 1.1rem !important;
  border-radius: 0.62rem !important;
  font-family: var(--font-mono);
  font-size: 0.76rem !important;
  font-weight: 800;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.2) 0 0.22rem, transparent 0.22rem),
    rgba(255, 255, 255, 0.045);
}

.nav-language.language-switcher {
  position: static !important;
  display: inline-flex;
  flex: 0 0 auto;
  padding: 0.22rem;
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-language .lang-btn {
  min-width: 2rem;
  height: 1.95rem;
  border-radius: 0.45rem;
}

@media (max-width: 1023px) {
  .nav-shell {
    grid-template-columns: minmax(12rem, 1fr) auto auto !important;
  }

  .nav-center {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #navbar {
    padding: 0.65rem 0.65rem 0 !important;
  }

  #navbar > .absolute {
    inset: 0.65rem 0.65rem auto 0.65rem !important;
    height: 4.2rem !important;
    border-radius: 0.88rem !important;
  }

  .nav-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: 4.2rem;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 0.55rem !important;
    padding: 0 0.7rem !important;
  }

  .brand-lockup {
    gap: 0.55rem;
  }

  .brand-sigil {
    width: 2.22rem;
    height: 2.22rem;
    border-radius: 0.52rem;
  }

  .brand-mark,
  .brand-word {
    font-size: 0.95rem;
  }

  .nav-tools {
    gap: 0.42rem;
  }

  .nav-contact {
    display: none !important;
  }

  .nav-language.language-switcher {
    padding: 0.16rem;
    gap: 0.08rem;
  }

  .nav-language .lang-btn {
    min-width: 1.55rem !important;
    height: 1.55rem !important;
    font-size: 0.58rem !important;
  }

  #mobile-menu-btn {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.045);
  }
}

/* Calmer editorial navigation inspired by modern tech portfolios */
#navbar {
  padding: 0 !important;
}

#navbar > .absolute {
  inset: 0 !important;
  height: 4.85rem !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background:
    linear-gradient(180deg, rgba(5, 5, 16, 0.84), rgba(5, 5, 16, 0.48) 72%, rgba(5, 5, 16, 0)) !important;
  box-shadow: none !important;
}

.nav-shell {
  max-width: 82rem !important;
  min-height: 4.85rem;
  padding: 0 clamp(1.2rem, 4vw, 2.7rem) !important;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr) !important;
}

.brand-lockup {
  gap: 0.64rem;
}

.brand-sigil {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border-color: rgba(125, 211, 252, 0.2);
  background:
    radial-gradient(circle, rgba(236, 254, 255, 0.95) 0 7%, rgba(34, 211, 238, 0.42) 8% 24%, transparent 25%),
    conic-gradient(from 90deg, rgba(34, 211, 238, 0.25), rgba(168, 85, 247, 0.16), rgba(236, 72, 153, 0.18), rgba(34, 211, 238, 0.25)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.12);
}

.brand-sigil::before {
  inset: 0.22rem;
  border-radius: 999px;
  transform: none;
  border-color: rgba(255, 255, 255, 0.11);
}

.brand-sigil::after {
  display: none;
}

.brand-sigil span {
  font-size: 0;
}

.brand-name {
  gap: 0.36rem;
}

.brand-mark {
  font-family: var(--font-institutional);
  font-size: clamp(1.48rem, 1.7vw, 1.82rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ecfeff 0%, #a5f3fc 42%, #d8b4fe 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.brand-word {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.06vw, 1.16rem);
  font-weight: 650;
  color: rgba(226, 232, 240, 0.86) !important;
}

.nav-center {
  gap: clamp(1.05rem, 1.7vw, 1.75rem) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.nav-link {
  min-width: auto !important;
  padding: 0.35rem 0 !important;
  border-radius: 0 !important;
  font-family: var(--font-body);
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: rgba(203, 213, 225, 0.64) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.34rem;
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 999px;
  background: #67e8f9;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.8);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: rgba(236, 254, 255, 0.96) !important;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.nav-link:hover::before,
.nav-link.is-active::before {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.nav-tools {
  gap: 0.62rem;
}

.nav-contact {
  min-height: 2.1rem;
  padding: 0 0.86rem !important;
  border-radius: 999px !important;
  border-color: rgba(125, 211, 252, 0.16) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(125, 211, 252, 0.9) !important;
  font-family: var(--font-body);
  font-size: 0.84rem !important;
  font-weight: 650;
  box-shadow: none !important;
}

.nav-contact:hover {
  background: rgba(34, 211, 238, 0.08) !important;
  border-color: rgba(125, 211, 252, 0.3) !important;
}

.nav-language.language-switcher {
  padding: 0.14rem;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.nav-language .lang-btn {
  min-width: 1.75rem;
  height: 1.6rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
}

.nav-language .lang-btn:hover,
.nav-language .lang-btn.active {
  background: rgba(34, 211, 238, 0.11);
  box-shadow: none;
}

@media (max-width: 1023px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
  }
}

@media (max-width: 767px) {
  #navbar > .absolute {
    height: 4.15rem !important;
    background:
      linear-gradient(180deg, rgba(5, 5, 16, 0.9), rgba(5, 5, 16, 0.55) 80%, rgba(5, 5, 16, 0)) !important;
  }

  .nav-shell {
    min-height: 4.15rem;
    padding: 0 1rem !important;
    gap: 0.5rem !important;
  }

  .brand-sigil {
    width: 1.65rem;
    height: 1.65rem;
  }

  .brand-mark {
    font-size: 1.22rem;
  }

  .brand-word {
    font-size: 0.92rem;
  }

  .nav-tools {
    gap: 0.42rem;
  }

  .nav-language.language-switcher {
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-language .lang-btn {
    min-width: 1.42rem !important;
    height: 1.42rem !important;
    font-size: 0.55rem !important;
  }

  #mobile-menu-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
  }
}

/* Final brand mark and first-to-second-screen tonal bridge */
.brand-sigil {
  width: 1.82rem !important;
  height: 1.82rem !important;
  border-radius: 0.46rem !important;
  border: 1px solid rgba(125, 211, 252, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(168, 85, 247, 0.1)),
    rgba(255, 255, 255, 0.035) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px rgba(34, 211, 238, 0.08) !important;
}

.brand-sigil::before {
  inset: 0.34rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  transform: skewX(-14deg) !important;
  background:
    linear-gradient(135deg, transparent 0 24%, rgba(103, 232, 249, 0.95) 25% 34%, transparent 35% 64%, rgba(216, 180, 254, 0.9) 65% 74%, transparent 75%),
    linear-gradient(180deg, rgba(236, 254, 255, 0.82), rgba(125, 211, 252, 0.24));
  clip-path: polygon(0 0, 100% 0, 100% 18%, 34% 18%, 100% 82%, 100% 100%, 0 100%, 0 82%, 66% 82%, 0 18%);
  opacity: 0.95;
}

.brand-sigil span {
  display: none;
}

.brand-lockup:hover .brand-sigil {
  border-color: rgba(125, 211, 252, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(34, 211, 238, 0.14) !important;
}

#hero > .absolute.inset-0.bg-gradient-to-b {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 16, 0) 0%,
    rgba(5, 5, 16, 0.04) 52%,
    rgba(5, 5, 16, 0.12) 80%,
    rgba(5, 5, 16, 0.2) 100%
  ) !important;
}

#about {
  margin-top: -1px;
}

#about::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10rem;
  height: 16rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 16, 0), rgba(5, 5, 16, 0.28) 48%, rgba(5, 5, 16, 0));
  z-index: -1;
}

@media (max-width: 767px) {
  .brand-sigil {
    width: 1.62rem !important;
    height: 1.62rem !important;
    border-radius: 0.4rem !important;
  }
}

/* Refined hero actions: lighter personal-site CTA treatment */
.hero-cta {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem !important;
  width: auto;
}

.hero-cta .premium-primary,
.hero-cta .premium-secondary,
.hero-action-primary,
.hero-action-secondary {
  position: relative;
  min-height: 2.85rem !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow: hidden;
  transform: none !important;
  box-shadow: none !important;
  width: auto !important;
}

.hero-cta .hero-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.15rem 0 1.25rem !important;
  color: rgba(236, 254, 255, 0.96) !important;
  border: 1px solid rgba(125, 211, 252, 0.22) !important;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(168, 85, 247, 0.08)),
    rgba(255, 255, 255, 0.035) !important;
  backdrop-filter: blur(14px);
}

.hero-cta .hero-action-primary::before {
  content: '';
  position: absolute;
  left: 0.78rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.75);
}

.hero-cta .hero-action-primary span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding-left: 0.72rem;
  text-shadow: none !important;
}

.hero-cta .hero-action-primary:hover {
  border-color: rgba(125, 211, 252, 0.42) !important;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.11)),
    rgba(255, 255, 255, 0.052) !important;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.11) !important;
}

.hero-cta .hero-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.15rem !important;
  min-height: auto !important;
  color: rgba(203, 213, 225, 0.72) !important;
  border: 0 !important;
  background: transparent !important;
}

.hero-cta .hero-action-secondary::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.18rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.55), rgba(168, 85, 247, 0.28));
  transform: scaleX(0.4);
  transform-origin: left center;
  opacity: 0.62;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero-cta .hero-action-secondary:hover {
  color: rgba(236, 254, 255, 0.92) !important;
}

.hero-cta .hero-action-secondary:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero-action-note {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  color: rgba(148, 163, 184, 0.68);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
}

.hero-action-note::before {
  content: '';
  width: 1px;
  height: 1.25rem;
  margin-right: 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.premium-primary::after,
.premium-secondary::after {
  display: none !important;
}

@media (max-width: 767px) {
  .hero-cta {
    display: flex !important;
    width: 100%;
    max-width: 21.5rem;
    gap: 0.85rem !important;
  }

  .hero-cta .hero-action-primary {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    min-height: 2.95rem !important;
    padding-left: 1.15rem !important;
    padding-right: 1rem !important;
  }

  .hero-cta .hero-action-secondary {
    flex: 0 0 auto;
    width: auto !important;
    min-height: 2.95rem !important;
  }

  .hero-action-note {
    width: 100%;
    min-height: 1.2rem;
    font-size: 0.64rem;
  }

  .hero-action-note::before {
    width: 0.75rem;
    height: 1px;
    margin-right: 0.5rem;
  }
}

/* Interactive product-style showcase stage */
.showcase-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.1), transparent 30rem),
    radial-gradient(circle at 82% 24%, rgba(168, 85, 247, 0.11), transparent 34rem),
    linear-gradient(180deg, rgba(5, 5, 16, 0), rgba(7, 10, 22, 0.72) 44%, rgba(5, 5, 16, 0));
}

.showcase-lab {
  --spotlight-x: 62%;
  --spotlight-y: 34%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  gap: 1rem;
  align-items: stretch;
  perspective: 1400px;
}

.showcase-lab::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 0.5rem;
  background:
    linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.24), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.32;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.showcase-feature {
  position: relative;
  min-height: 33rem;
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(103, 232, 249, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(5, 5, 16, 0.94));
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.showcase-feature:hover {
  border-color: rgba(125, 211, 252, 0.36);
  box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.42), 0 0 3rem rgba(34, 211, 238, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.showcase-feature::before,
.showcase-feature::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.showcase-feature::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4.25rem 4.25rem;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 68%);
}

.showcase-feature::after {
  top: -45%;
  bottom: -45%;
  width: 18%;
  left: -24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(15deg);
  animation: showcaseSweep 7s ease-in-out infinite;
}

.showcase-feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.05rem;
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

.showcase-feature-kicker {
  width: fit-content;
  color: #67e8f9;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-feature h3 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 8.4ch;
}

.showcase-feature p {
  max-width: 33rem;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.showcase-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.showcase-feature-meta span,
.showcase-feature-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 232, 240, 0.82);
  padding: 0 0.8rem;
  font-size: 0.76rem;
}

.showcase-feature-action {
  gap: 0.4rem;
  margin-top: 0.15rem;
  color: rgba(236, 254, 255, 0.95);
  border-color: rgba(125, 211, 252, 0.24);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(168, 85, 247, 0.08));
}

.showcase-feature-action svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s ease;
}

.showcase-feature:hover .showcase-feature-action svg {
  transform: translate(2px, -2px);
}

.showcase-feature-screen {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.8vw, 2.4rem);
}

.showcase-feature-screen::before {
  content: '';
  position: absolute;
  inset: 10% 4% 8% 0;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 46% 38%, rgba(34, 211, 238, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotateY(-10deg) rotateX(4deg) translateZ(-16px);
  filter: blur(0.1px);
}

.showcase-feature-screen img {
  position: relative;
  width: min(100%, 44rem);
  max-height: 26rem;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.34);
  transform: rotateY(-8deg) rotateX(3deg) translateZ(34px);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.22s ease;
}

.showcase-feature:hover .showcase-feature-screen img {
  transform: rotateY(-4deg) rotateX(2deg) translateZ(54px) scale(1.015);
}

.showcase-lab.is-switching .showcase-feature-screen img {
  opacity: 0;
  filter: blur(8px);
  transform: rotateY(-12deg) rotateX(5deg) translateZ(10px) scale(0.97);
}

.showcase-project-rail {
  position: relative;
  display: grid;
  gap: 0.75rem;
}

.showcase-project {
  position: relative;
  min-height: 7.6rem;
  display: grid;
  grid-template-columns: 5.8rem 2.3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.78rem;
  padding: 0.72rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(226, 232, 240, 0.8);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.showcase-project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(168, 85, 247, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.showcase-project::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #67e8f9, #a78bfa);
  opacity: 0;
}

.showcase-project:hover,
.showcase-project:focus-visible,
.showcase-project.is-active {
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-0.25rem);
}

.showcase-project.is-active::before,
.showcase-project.is-active::after {
  opacity: 1;
}

.showcase-project img {
  position: relative;
  z-index: 1;
  width: 5.8rem;
  height: 5.8rem;
  object-fit: cover;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: saturate(0.85) contrast(1.05);
}

.showcase-project-index {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(125, 211, 252, 0.72);
}

.showcase-project-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 0.24rem;
}

.showcase-project-copy strong {
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.98rem;
  line-height: 1.2;
}

.showcase-project-copy small {
  color: rgba(148, 163, 184, 0.78);
  font-size: 0.78rem;
  line-height: 1.35;
}

@keyframes showcaseSweep {
  0%,
  38% {
    left: -24%;
    opacity: 0;
  }
  48% {
    opacity: 0.72;
  }
  64%,
  100% {
    left: 108%;
    opacity: 0;
  }
}

@media (max-width: 1023px) {
  .showcase-lab {
    grid-template-columns: 1fr;
  }

  .showcase-feature {
    min-height: 31rem;
    grid-template-columns: 1fr;
  }

  .showcase-feature-copy {
    justify-content: flex-start;
  }

  .showcase-feature h3 {
    max-width: 12ch;
  }

  .showcase-feature-screen {
    min-height: 18rem;
    padding-top: 0;
  }

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

  .showcase-project:hover,
  .showcase-project:focus-visible,
  .showcase-project.is-active {
    transform: translateY(-0.12rem);
  }
}

@media (max-width: 640px) {
  .showcase-section {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }

  .showcase-header {
    margin-bottom: 2rem !important;
  }

  .showcase-feature {
    min-height: auto;
  }

  .showcase-feature-copy {
    padding: 1.25rem;
  }

  .showcase-feature-screen {
    min-height: 15rem;
    padding: 0 1rem 1.25rem;
  }

  .showcase-feature-screen::before {
    inset: 5% 1rem 12% 1rem;
    transform: none;
  }

  .showcase-feature-screen img {
    max-height: 18rem;
    transform: none;
  }

  .showcase-feature:hover .showcase-feature-screen img {
    transform: scale(1.01);
  }

  .showcase-project-rail {
    grid-template-columns: 1fr;
  }

  .showcase-project {
    min-height: 6.8rem;
    grid-template-columns: 4.8rem 2rem minmax(0, 1fr);
    padding: 0.64rem;
  }

  .showcase-project img {
    width: 4.8rem;
    height: 4.8rem;
  }
}

/* Showcase polish pass: product-demo window, calmer hierarchy, livelier controls */
.showcase-header {
  position: relative;
}

.showcase-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.28), rgba(168, 85, 247, 0.12), transparent);
  pointer-events: none;
}

.showcase-feature {
  min-height: 31rem;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(103, 232, 249, 0.15), transparent 23rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(5, 5, 16, 0.96));
}

.showcase-feature h3 {
  font-size: clamp(1.85rem, 3.6vw, 3.55rem);
  line-height: 1;
  max-width: 10.5ch;
}

.showcase-feature-copy {
  padding-right: clamp(1rem, 2vw, 1.65rem);
}

.showcase-signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 31rem;
}

.showcase-signal-strip span {
  min-width: 0;
  min-height: 3.15rem;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(148, 163, 184, 0.78);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 0.56rem 0.62rem;
}

.showcase-signal-strip b {
  color: rgba(236, 254, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.showcase-feature-screen {
  padding-top: clamp(3.2rem, 5vw, 4rem);
}

.showcase-screen-bar {
  position: absolute;
  z-index: 3;
  top: clamp(1rem, 2.4vw, 1.65rem);
  left: clamp(1rem, 2.4vw, 1.65rem);
  right: clamp(1rem, 2.4vw, 1.65rem);
  height: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.48rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(5, 5, 16, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 0 0.74rem;
}

.showcase-screen-bar span {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.58);
}

.showcase-screen-bar span:nth-child(1) {
  background: #67e8f9;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.62);
}

.showcase-screen-bar span:nth-child(2) {
  background: #a78bfa;
}

.showcase-screen-bar span:nth-child(3) {
  background: #f472b6;
}

.showcase-screen-bar strong {
  min-width: 0;
  margin-left: 0.35rem;
  color: rgba(203, 213, 225, 0.74);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-feature-screen img {
  max-height: 24rem;
  transform: rotateY(-7deg) rotateX(3deg) translateZ(34px);
}

.showcase-live-nodes {
  position: absolute;
  inset: auto 8% 10% auto;
  z-index: 4;
  width: min(12rem, 28vw);
  aspect-ratio: 1.85;
  pointer-events: none;
}

.showcase-live-nodes span {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.45);
  animation: showcasePulseNode 2.4s ease-out infinite;
}

.showcase-live-nodes span:nth-child(1) {
  left: 8%;
  top: 58%;
}

.showcase-live-nodes span:nth-child(2) {
  left: 52%;
  top: 18%;
  animation-delay: 0.45s;
  background: #a78bfa;
}

.showcase-live-nodes span:nth-child(3) {
  right: 4%;
  bottom: 12%;
  animation-delay: 0.9s;
  background: #f472b6;
}

.showcase-project {
  min-height: 7.1rem;
}

.showcase-project::before {
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(168, 85, 247, 0.08), transparent),
    linear-gradient(90deg, rgba(103, 232, 249, 0.55), rgba(168, 85, 247, 0.25));
  background-size: 100% 100%, 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 0, 0 100%;
}

.showcase-project.is-active::before {
  background-size: 100% 100%, 100% 2px;
  transition: opacity 0.22s ease, background-size 4.6s linear;
}

.showcase-project.is-active img {
  filter: saturate(1.08) contrast(1.06);
  box-shadow: 0 0 1.4rem rgba(34, 211, 238, 0.12);
}

.showcase-lab[data-active="1"] .showcase-feature {
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(14, 165, 233, 0.16), transparent 23rem),
    linear-gradient(135deg, rgba(10, 20, 34, 0.88), rgba(5, 5, 16, 0.96));
}

.showcase-lab[data-active="2"] .showcase-feature {
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(249, 115, 22, 0.16), transparent 23rem),
    linear-gradient(135deg, rgba(26, 18, 12, 0.84), rgba(5, 5, 16, 0.96));
}

.showcase-lab[data-active="3"] .showcase-feature {
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(236, 72, 153, 0.15), transparent 23rem),
    linear-gradient(135deg, rgba(28, 13, 30, 0.84), rgba(5, 5, 16, 0.96));
}

@keyframes showcasePulseNode {
  0% {
    box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.42);
    transform: scale(0.94);
  }
  72% {
    box-shadow: 0 0 0 1.25rem rgba(103, 232, 249, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(103, 232, 249, 0);
    transform: scale(0.94);
  }
}

@media (max-width: 1023px) {
  .showcase-feature {
    grid-template-columns: 1fr;
  }

  .showcase-signal-strip {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .showcase-feature h3 {
    font-size: clamp(1.8rem, 12vw, 3.1rem);
    max-width: 11ch;
  }

  .showcase-signal-strip {
    grid-template-columns: 1fr;
  }

  .showcase-signal-strip span {
    min-height: 2.65rem;
  }

  .showcase-feature-screen {
    padding-top: 3.2rem;
  }

  .showcase-screen-bar {
    top: 0.8rem;
    left: 0.8rem;
    right: 0.8rem;
  }

  .showcase-live-nodes {
    display: none;
  }
}

/* Showcase readability correction after visual QA */
.showcase-feature {
  grid-template-columns: minmax(19rem, 0.92fr) minmax(0, 1.08fr);
}

.showcase-feature p {
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 1.58;
}

.showcase-project-rail {
  padding: 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.11);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

@media (max-width: 1023px) {
  .showcase-feature {
    grid-template-columns: 1fr;
  }
}

/* Hero cockpit: make the right side carry real portfolio evidence */
.hero-cockpit {
  z-index: 7;
  width: min(29rem, 90vw);
  min-height: 0;
  margin-top: clamp(2.2rem, 6vh, 3.6rem);
  margin-right: clamp(0rem, 2vw, 2rem);
  filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.34));
}

.hero-cockpit-shell {
  width: 100%;
  min-height: 0;
  display: grid;
  gap: 0.68rem;
  align-content: start;
  border-radius: 0.5rem !important;
  padding: 1.05rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.12), transparent 12rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(5, 5, 16, 0.9)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
}

.hero-cockpit-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 2.4rem 2.4rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 76%);
  pointer-events: none;
}

.cockpit-header,
.cockpit-quote,
.cockpit-focus,
.cockpit-metrics,
.cockpit-routes,
.cockpit-stack {
  position: relative;
  z-index: 1;
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cockpit-header div {
  display: grid;
  gap: 0.12rem;
}

.cockpit-header span,
.cockpit-focus span,
.cockpit-metrics span,
.atlas-caption span {
  color: rgba(103, 232, 249, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.cockpit-header strong {
  color: rgba(248, 250, 252, 0.96);
  font-size: 1.05rem;
}

.cockpit-header b {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.08);
  color: rgba(236, 254, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0 0.65rem;
}

.cockpit-header b i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
}

.cockpit-arena {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.42rem;
}

.cockpit-arena div {
  min-height: 2.28rem;
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 0 0.7rem;
}

.cockpit-arena span,
.cockpit-arena b {
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.cockpit-arena span {
  color: rgba(148, 163, 184, 0.76);
}

.cockpit-arena strong {
  min-width: 0;
  color: rgba(236, 254, 255, 0.9);
  font-size: 0.82rem;
}

.cockpit-arena b {
  color: #67e8f9;
}

.cockpit-wave {
  display: none;
  align-items: end;
  gap: 0.3rem;
  height: 2.2rem;
}

.cockpit-wave i {
  width: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #67e8f9, rgba(168, 85, 247, 0.34));
  animation: cockpitBar 1.9s ease-in-out infinite;
}

.cockpit-wave i:nth-child(1) { height: 42%; }
.cockpit-wave i:nth-child(2) { height: 74%; animation-delay: 0.16s; }
.cockpit-wave i:nth-child(3) { height: 54%; animation-delay: 0.32s; }
.cockpit-wave i:nth-child(4) { height: 92%; animation-delay: 0.48s; }
.cockpit-wave i:nth-child(5) { height: 58%; animation-delay: 0.64s; }

.cockpit-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.cockpit-metrics div {
  min-width: 0;
  min-height: 4.75rem;
  display: grid;
  align-content: center;
  gap: 0.18rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.72rem;
}

.cockpit-metrics strong {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
}

.cockpit-metrics small {
  color: rgba(148, 163, 184, 0.72);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.cockpit-routes {
  display: none;
  min-height: 7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(5, 5, 16, 0.28);
  overflow: hidden;
}

.hero-visual .stage-label,
.hero-visual .stage-readout,
.hero-visual .stage-pin,
.hero-visual .signal-console {
  display: none;
}

/* Minimal right-side manifesto inspired by editorial portfolio heroes */
.hero-cockpit {
  width: min(32.5rem, 88vw);
  margin-top: clamp(3rem, 8vh, 4.8rem);
  margin-right: clamp(0rem, 2.6vw, 2.4rem);
}

.hero-cockpit-shell {
  min-height: clamp(18rem, 32vw, 23rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(1.45rem, 3vw, 2.35rem);
  border-color: rgba(255, 255, 255, 0.11) !important;
  background:
    radial-gradient(circle at 68% 18%, rgba(103, 232, 249, 0.13), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    rgba(5, 5, 16, 0.58) !important;
}

.hero-cockpit-shell::after {
  content: '';
  position: absolute;
  left: clamp(1.35rem, 3vw, 2.4rem);
  right: clamp(1.35rem, 3vw, 2.4rem);
  top: clamp(1.35rem, 3vw, 2.4rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.45), rgba(168, 85, 247, 0.18), transparent);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .hero-cockpit {
    width: min(30rem, 92vw);
    margin: 2rem auto 0;
  }

  .hero-cockpit-shell {
    min-height: 17rem;
  }
}

/* Premium AI Arena topology hero visual */
.hero-visual .hero-orbit,
.hero-visual .system-halo,
.hero-visual .stage-grid {
  display: none;
}

.hero-cockpit {
  width: min(35.5rem, 90vw);
  margin-top: clamp(2.6rem, 7vh, 4.6rem);
  margin-right: clamp(0rem, 2.2vw, 2rem);
}

.hero-cockpit-shell {
  min-height: clamp(25rem, 42vw, 33rem);
  display: block;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background:
    radial-gradient(circle at 52% 38%, rgba(34, 211, 238, 0.16), transparent 15rem),
    radial-gradient(circle at 68% 72%, rgba(168, 85, 247, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(5, 5, 16, 0.88)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2rem 5rem rgba(0, 0, 0, 0.28);
}

.arena-visual {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.arena-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 2.2rem 2.2rem;
  mask-image: radial-gradient(circle at 52% 45%, #000, transparent 76%);
  pointer-events: none;
}

.arena-visual-header,
.arena-topology,
.arena-eval-strip {
  position: relative;
  z-index: 1;
}

.arena-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.arena-visual-header span {
  color: rgba(103, 232, 249, 0.84);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.arena-visual-header strong {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.arena-topology {
  min-height: clamp(17rem, 29vw, 23rem);
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  overflow: hidden;
}

.arena-topology::before {
  content: '';
  position: absolute;
  width: min(22rem, 72%);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.13);
  background:
    radial-gradient(circle, rgba(103, 232, 249, 0.14), transparent 19%),
    conic-gradient(from 190deg, transparent, rgba(103, 232, 249, 0.18), transparent 35%, rgba(168, 85, 247, 0.16), transparent 72%);
  animation: arenaCoreDrift 18s linear infinite;
}

.arena-topology::after {
  content: '';
  position: absolute;
  width: min(14rem, 48%);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px dashed rgba(244, 114, 182, 0.16);
  animation: arenaCoreDrift 24s linear reverse infinite;
}

.arena-links {
  position: absolute;
  inset: 9% 5%;
  width: 90%;
  height: 82%;
  z-index: 1;
}

.arena-links path {
  fill: none;
  stroke: rgba(103, 232, 249, 0.28);
  stroke-width: 1.25;
  stroke-dasharray: 6 8;
  animation: geo-route-flow 10s linear infinite;
}

.arena-links .arena-link-accent {
  stroke: rgba(244, 114, 182, 0.22);
  animation-duration: 14s;
}

.arena-core {
  position: relative;
  z-index: 2;
  width: min(13.5rem, 48%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  background:
    radial-gradient(circle at 50% 42%, rgba(236, 254, 255, 0.34), transparent 10%),
    radial-gradient(circle, rgba(34, 211, 238, 0.2), rgba(5, 5, 16, 0.76) 62%);
  box-shadow:
    0 0 4rem rgba(34, 211, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.arena-core span {
  color: rgba(103, 232, 249, 0.8);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arena-core strong {
  max-width: 8rem;
  color: rgba(248, 250, 252, 0.96);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.06;
  text-align: center;
}

.arena-agent {
  position: absolute;
  z-index: 3;
  min-width: 5.35rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(5, 5, 16, 0.68);
  color: rgba(226, 232, 240, 0.9);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 1.5rem rgba(34, 211, 238, 0.08);
}

.arena-agent::before {
  content: '';
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.38rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 0.75rem rgba(103, 232, 249, 0.7);
}

.arena-agent-a { left: 7%; top: 28%; }
.arena-agent-b { right: 8%; top: 29%; }
.arena-agent-c { left: 9%; bottom: 22%; }
.arena-agent-d { right: 7%; bottom: 24%; }

.arena-agent-d::before {
  background: #f472b6;
  box-shadow: 0 0 0.75rem rgba(244, 114, 182, 0.7);
}

.arena-eval-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.arena-eval-strip div {
  min-height: 4.4rem;
  display: grid;
  align-content: center;
  gap: 0.18rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.72rem;
}

.arena-eval-strip span {
  color: rgba(103, 232, 249, 0.78);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.arena-eval-strip strong {
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.86rem;
}

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

@media (max-width: 1023px) {
  .hero-cockpit {
    width: min(32rem, 92vw);
    margin: 2rem auto 0;
  }
}

@media (max-width: 640px) {
  .arena-eval-strip {
    grid-template-columns: 1fr;
  }
}

.cockpit-routes svg {
  position: absolute;
  inset: 0.4rem 0.7rem;
  width: calc(100% - 1.4rem);
  height: calc(100% - 0.8rem);
}

.cockpit-routes path {
  fill: none;
  stroke: rgba(103, 232, 249, 0.3);
  stroke-width: 1.2;
  stroke-dasharray: 6 8;
  animation: geo-route-flow 9s linear infinite;
}

.cockpit-routes path:nth-child(2) {
  stroke: rgba(244, 114, 182, 0.24);
  animation-duration: 12s;
}

.route-node {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  background: rgba(5, 5, 16, 0.72);
  color: rgba(226, 232, 240, 0.86);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0 0.5rem;
  backdrop-filter: blur(10px);
}

.route-eduhk { left: 11%; top: 18%; }
.route-luhk { left: 24%; bottom: 18%; }
.route-cyber { right: 25%; top: 38%; }
.route-5gnu { right: 8%; bottom: 18%; }

.cockpit-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cockpit-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(203, 213, 225, 0.82);
  font-size: 0.72rem;
  padding: 0 0.62rem;
}

.identity-card {
  display: none;
}

/* Creative case atlas behind the showcase */
.showcase-lab {
  isolation: isolate;
}

.showcase-feature,
.showcase-project-rail {
  z-index: 2;
}

.showcase-atlas {
  position: absolute;
  right: 21rem;
  top: -4.4rem;
  width: min(34rem, 48vw);
  height: 13.5rem;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}

.atlas-caption {
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  display: grid;
  gap: 0.12rem;
}

.atlas-caption strong {
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.84rem;
}

.showcase-atlas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-atlas path {
  fill: none;
  stroke: rgba(103, 232, 249, 0.22);
  stroke-width: 1;
  stroke-dasharray: 5 9;
  animation: geo-route-flow 11s linear infinite;
}

.showcase-atlas path:nth-child(2) {
  stroke: rgba(244, 114, 182, 0.18);
  animation-duration: 15s;
}

.atlas-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(5, 5, 16, 0.74);
  color: rgba(203, 213, 225, 0.74);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0 0.55rem;
  backdrop-filter: blur(10px);
  transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.atlas-node::before {
  content: '';
  width: 0.34rem;
  height: 0.34rem;
  margin-right: 0.38rem;
  border-radius: 999px;
  background: currentColor;
}

.atlas-node-0 { left: 7%; bottom: 25%; }
.atlas-node-1 { left: 35%; top: 28%; }
.atlas-node-2 { right: 30%; bottom: 28%; }
.atlas-node-3 { right: 6%; top: 24%; }

.showcase-lab[data-active="0"] .atlas-node-0,
.showcase-lab[data-active="1"] .atlas-node-1,
.showcase-lab[data-active="2"] .atlas-node-2,
.showcase-lab[data-active="3"] .atlas-node-3 {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.36);
  box-shadow: 0 0 1.2rem rgba(34, 211, 238, 0.18);
}

@keyframes cockpitBar {
  0%,
  100% {
    transform: scaleY(0.62);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .hero-cockpit {
    width: min(28rem, 92vw);
    min-height: auto;
    margin: 2rem auto 0;
  }

  .hero-cockpit-shell {
    min-height: auto;
  }

  .showcase-atlas {
    right: 0;
    top: -3rem;
    width: min(28rem, 82vw);
    opacity: 0.42;
  }
}

@media (max-width: 640px) {
  .hero-cockpit {
    display: none;
  }

  .showcase-atlas {
    display: none;
  }
}

/* Final hero right side: logo-based flip mini game */
.hero-cockpit {
  width: min(31rem, 90vw);
  margin-top: clamp(2.2rem, 6vh, 4.2rem);
  margin-right: clamp(0rem, 2vw, 1.6rem);
  filter: none;
}

.hero-visual::before {
  display: none;
}

.hero-cockpit-shell {
  min-height: auto;
  display: block;
  padding: 0;
  border-radius: 0.72rem !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-cockpit-shell::before {
  display: none;
}

.hero-cockpit-shell::after {
  display: none;
}

.logo-flip-game {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(0.72rem, 1.65vw, 0.95rem);
  width: min(30rem, 100%);
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.logo-game-main {
  display: contents;
}

.logo-stage {
  display: contents;
}

.logo-game-header,
.logo-game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(0.7rem, 1.2vw, 1rem);
}

.logo-game-header span,
.logo-game-footer span {
  color: rgba(103, 232, 249, 0.82);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-game-header strong {
  color: rgba(226, 232, 240, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-game-board {
  --gap: clamp(0.32rem, 0.74vw, 0.46rem);
  --cell: calc((85.6% - (var(--gap) * 6)) / 7);
  position: relative;
  width: min(24.5rem, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 0.82rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.logo-game-board::before {
  display: none;
}

.logo-game-board::after {
  content: '';
  position: absolute;
  left: -28%;
  top: 0;
  width: 22%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(236, 254, 255, 0.2), transparent);
  filter: blur(0.42rem);
  opacity: 0.58;
  animation: logoDeployScan 3.6s cubic-bezier(0.45, 0, 0.15, 1) infinite;
  pointer-events: none;
}

.logo-tile {
  position: absolute;
  left: calc(7.2% + (var(--cell) + var(--gap)) * var(--c));
  top: calc(7.2% + (var(--cell) + var(--gap)) * var(--r));
  width: var(--cell);
  height: var(--cell);
  border: 0;
  border-radius: clamp(0.34rem, 0.8vw, 0.54rem);
  padding: 0;
  background: transparent;
  cursor: pointer;
  perspective: 800px;
  transform: skewX(-8deg);
  z-index: 2;
}

.logo-tile span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.58s cubic-bezier(0.2, 0.82, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
}

.tile-front {
  background:
    radial-gradient(circle at 28% 18%, rgba(215, 247, 255, 0.7), transparent 30%),
    linear-gradient(135deg, var(--tile-a, #9ee7ef) 0%, var(--tile-b, #6fb7c9) 46%, var(--tile-c, #7b6fa8) 100%),
    linear-gradient(315deg, rgba(215, 247, 255, 0.22), transparent 42%),
    rgba(16, 24, 36, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 0 1.18rem rgba(103, 232, 249, 0.24),
    0 0 1.6rem rgba(244, 114, 182, 0.1);
  filter: saturate(1.02);
  animation: logoTileBoot 2.9s ease-in-out infinite;
  animation-delay: calc((var(--r) + var(--c)) * 0.08s);
}

.tile-front::after {
  content: '';
  position: absolute;
  inset: 0.34rem;
  border-radius: calc(clamp(0.34rem, 0.8vw, 0.54rem) - 0.16rem);
  border: 1px solid rgba(236, 254, 255, 0.2);
  background:
    linear-gradient(135deg, transparent 0 20%, rgba(215, 247, 255, 0.28) 21% 28%, transparent 29% 62%, rgba(184, 138, 191, 0.18) 63% 71%, transparent 72%),
    linear-gradient(315deg, rgba(5, 5, 16, 0.14), transparent 38%);
  opacity: 0.82;
}

.tile-back {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(103, 232, 249, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 26% 18%, rgba(236, 254, 255, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(10, 24, 38, 0.98), rgba(8, 10, 26, 0.96));
  background-size: 0.68rem 0.68rem, 0.68rem 0.68rem, auto, auto;
  color: rgba(236, 254, 255, 0.92);
  font-family: var(--font-mono);
  font-size: clamp(0.46rem, 0.72vw, 0.62rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  padding: 0.18rem;
  box-shadow:
    inset 0 0 0 1px rgba(103, 232, 249, 0.24),
    inset 0 -0.5rem 1.5rem rgba(34, 211, 238, 0.08),
    0 0 1.2rem rgba(34, 211, 238, 0.24);
  transform: rotateY(180deg);
}

.tile-back::before {
  content: '';
  position: absolute;
  left: 0.26rem;
  top: 0.26rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 0.55rem rgba(103, 232, 249, 0.78);
}

.tile-back::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.26rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.52), transparent);
}

.logo-tile:hover .tile-front,
.logo-tile:focus-visible .tile-front {
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 1.75rem rgba(103, 232, 249, 0.34);
}

.logo-tile.is-flipped .tile-front {
  transform: rotateY(180deg);
}

.logo-tile.is-flipped .tile-back {
  transform: rotateY(360deg);
}

.logo-tile.is-flipped {
  z-index: 3;
}

.logo-tile:hover .tile-front,
.logo-tile:focus-visible .tile-front {
  transform: rotateY(180deg);
}

.logo-tile:hover .tile-back,
.logo-tile:focus-visible .tile-back {
  transform: rotateY(360deg);
}

.logo-game-footer {
  min-height: 1.65rem;
  padding-top: 0;
}

.logo-game-footer strong {
  color: rgba(248, 250, 252, 0.9);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
}

.logo-flipped-count {
  color: #67e8f9;
  font: inherit;
}

.deploy-log {
  display: none;
}

.logo-satellite-cloud {
  position: absolute;
  inset: 2.4rem -0.2rem 1.8rem -0.2rem;
  pointer-events: none;
  z-index: 4;
}

.logo-satellite-cloud span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(2, 6, 23, 0.58);
  color: rgba(226, 232, 240, 0.74);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 0.48rem;
  box-shadow: 0 0 1.2rem rgba(34, 211, 238, 0.08);
  animation: satelliteFloat 5s ease-in-out infinite;
}

.logo-satellite-cloud span:nth-child(2) {
  animation-delay: 0.7s;
}

.logo-satellite-cloud span:nth-child(3) {
  animation-delay: 1.4s;
}

.logo-satellite-cloud span:nth-child(4) {
  animation-delay: 2.1s;
}

@media (max-width: 1023px) {
  .hero-cockpit {
    width: min(30rem, 92vw);
    margin: 2rem auto 0;
  }
}

@keyframes logoTileBoot {
  0%,
  100% {
    opacity: 0.82;
    transform: translateZ(0) scale(1);
  }
  45% {
    opacity: 1;
    transform: translateZ(0) scale(1.035);
  }
  68% {
    opacity: 0.9;
    transform: translateZ(0) scale(0.985);
  }
}

@keyframes logoDeployScan {
  0% {
    transform: translateX(0) skewX(-14deg);
  }
  52%,
  100% {
    transform: translateX(700%) skewX(-14deg);
  }
}

@keyframes deployLogPulse {
  0%,
  100% {
    opacity: 0.52;
  }
  34%,
  62% {
    opacity: 1;
  }
}

@keyframes satelliteFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.62;
  }
  50% {
    transform: translate3d(0, -0.34rem, 0);
    opacity: 0.95;
  }
}

/* Scroll-story showcase: one project per page */
.showcase-story {
  --story-active: 0;
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding-top: 1rem;
}

.showcase-story::before {
  content: '';
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  top: 3rem;
  bottom: 3rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(103, 232, 249, 0.28), rgba(168, 85, 247, 0.18), transparent);
  pointer-events: none;
}

.showcase-pager {
  position: sticky;
  top: 6.1rem;
  z-index: 8;
  justify-self: end;
  width: fit-content;
  display: grid;
  gap: 0.5rem;
  margin-bottom: -9.5rem;
  pointer-events: none;
}

.showcase-pager span {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(5, 5, 16, 0.62);
  color: rgba(148, 163, 184, 0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  backdrop-filter: blur(14px);
  transition: color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.showcase-pager span.is-active {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.42);
  box-shadow: 0 0 1.2rem rgba(34, 211, 238, 0.16);
  transform: translateX(-0.2rem);
}

.showcase-page {
  position: relative;
  min-height: min(92svh, 48rem);
  display: flex;
  align-items: center;
  scroll-snap-align: center;
  opacity: 0.54;
  transform: scale(0.982);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.showcase-page.is-active {
  opacity: 1;
  transform: scale(1);
}

.showcase-page-link {
  --mx: 60%;
  --my: 38%;
  position: relative;
  width: 100%;
  min-height: min(76svh, 39rem);
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(103, 232, 249, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(5, 5, 16, 0.95));
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.showcase-page-link::before,
.showcase-page-link::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.showcase-page-link::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 4.2rem 4.2rem;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

.showcase-page-link::after {
  inset: auto 7% 8% auto;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.18), transparent 68%);
  filter: blur(4px);
}

.showcase-page-blue .showcase-page-link {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(14, 165, 233, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(10, 20, 34, 0.9), rgba(5, 5, 16, 0.95));
}

.showcase-page-orange .showcase-page-link {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(249, 115, 22, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(28, 18, 10, 0.9), rgba(5, 5, 16, 0.95));
}

.showcase-page-pink .showcase-page-link {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(236, 72, 153, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(28, 13, 30, 0.9), rgba(5, 5, 16, 0.95));
}

.showcase-page-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: clamp(1.35rem, 3.4vw, 2.8rem);
}

.showcase-page-copy > span {
  color: #67e8f9;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-page-copy h3 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.showcase-page-copy p {
  max-width: 28rem;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.68;
}

.showcase-page-copy div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.showcase-page-copy b {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.74rem;
  padding: 0 0.76rem;
}

.showcase-page-visual {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 6vw, 5rem) clamp(1rem, 3vw, 2.4rem) clamp(1.3rem, 3vw, 2.4rem);
  perspective: 1200px;
}

.showcase-page-visual::before {
  content: '';
  position: absolute;
  inset: 16% 5% 10% 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.014));
  transform: rotateY(-9deg) rotateX(4deg);
}

.showcase-browser-bar {
  position: absolute;
  z-index: 3;
  top: clamp(1rem, 2vw, 1.55rem);
  left: clamp(1rem, 2vw, 1.55rem);
  right: clamp(1rem, 2vw, 1.55rem);
  height: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(5, 5, 16, 0.58);
  backdrop-filter: blur(16px);
  padding: 0 0.74rem;
}

.showcase-browser-bar span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #67e8f9;
}

.showcase-browser-bar span:nth-child(2) {
  background: #a78bfa;
}

.showcase-browser-bar span:nth-child(3) {
  background: #f472b6;
}

.showcase-browser-bar strong {
  min-width: 0;
  margin-left: 0.35rem;
  color: rgba(203, 213, 225, 0.72);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-page-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 46rem);
  max-height: min(55svh, 28rem);
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.34);
  transform: rotateY(-7deg) rotateX(3deg) translateZ(34px);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.showcase-page-link:hover .showcase-page-visual img {
  transform: rotateY(-3deg) rotateX(2deg) translateZ(52px) scale(1.012);
}

.showcase-page-portrait img {
  max-height: min(58svh, 30rem);
}

@media (max-width: 1023px) {
  .showcase-page {
    min-height: auto;
  }

  .showcase-page-link {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showcase-page-copy {
    justify-content: flex-start;
  }

  .showcase-page-copy h3 {
    max-width: 12ch;
  }

  .showcase-pager {
    top: 5.4rem;
    display: flex;
    margin-bottom: -3.8rem;
  }

  .showcase-story::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .showcase-story {
    gap: 2rem;
  }

  .showcase-pager {
    display: none;
  }

  .showcase-page-link {
    border-radius: 0.5rem;
  }

  .showcase-page-copy {
    padding: 1.25rem;
  }

  .showcase-page-copy h3 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .showcase-page-visual {
    min-height: 16rem;
    padding: 3.4rem 1rem 1rem;
  }

  .showcase-page-visual::before {
    inset: 3.2rem 1rem 1rem;
    transform: none;
  }

  .showcase-page-visual img {
    max-height: 18rem;
    transform: none;
  }

  .showcase-page-link:hover .showcase-page-visual img {
    transform: scale(1.01);
  }
}

/* Compact rotating project arena */
.showcase-orbit-showcase {
  --orbit-active: 0;
  --orbit-radius: clamp(8.8rem, 14vw, 12.4rem);
  position: relative;
  min-height: clamp(27rem, 48vw, 36rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at 50% 52%, rgba(34, 211, 238, 0.11), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.showcase-arena-label {
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.18rem;
}

.showcase-arena-label span,
.orbit-arena-score span {
  color: rgba(103, 232, 249, 0.82);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.showcase-arena-label strong,
.orbit-arena-score strong {
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.84rem;
}

.orbit-preview-card {
  --mx: 58%;
  --my: 38%;
  position: relative;
  z-index: 3;
  width: min(40rem, 68vw);
  min-height: 21.5rem;
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(103, 232, 249, 0.16), transparent 19rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(5, 5, 16, 0.96));
  box-shadow: 0 1.7rem 4.5rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.orbit-preview-card:hover {
  transform: translateY(-0.2rem);
  border-color: rgba(103, 232, 249, 0.34);
}

.orbit-preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 72%);
  pointer-events: none;
}

.orbit-preview-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.82rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.orbit-preview-copy > span {
  color: #67e8f9;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.orbit-preview-copy h3 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.orbit-preview-copy p {
  max-width: 24rem;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.62;
}

.orbit-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.orbit-preview-tags b {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.72rem;
  padding: 0 0.68rem;
}

.orbit-preview-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 3.7rem 1.2rem 1.2rem;
  perspective: 1200px;
}

.orbit-preview-visual img {
  width: min(100%, 27rem);
  max-height: 16.4rem;
  object-fit: contain;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.34);
  transform: rotateY(-6deg) rotateX(3deg) translateZ(28px);
  transition: opacity 0.18s ease, transform 0.28s ease, filter 0.18s ease;
}

.showcase-orbit-showcase.is-switching .orbit-preview-visual img {
  opacity: 0;
  filter: blur(7px);
  transform: rotateY(-10deg) rotateX(4deg) translateZ(8px) scale(0.97);
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  width: calc(var(--orbit-radius) * 2);
  height: calc(var(--orbit-radius) * 2);
  translate: -50% -50%;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
}

.orbit-ring::before,
.orbit-ring::after,
.orbit-ring span {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(103, 232, 249, 0.18);
}

.orbit-ring::before {
  background: conic-gradient(from 0deg, transparent, rgba(103, 232, 249, 0.34), transparent 24%, rgba(244, 114, 182, 0.22), transparent 58%);
  mask: radial-gradient(circle, transparent 65%, #000 66%);
  animation: orbitSpin 18s linear infinite;
}

.orbit-ring::after {
  inset: 11%;
  border-color: rgba(168, 85, 247, 0.14);
  animation: orbitSpin 26s linear reverse infinite;
}

.orbit-ring span:nth-child(1) {
  inset: -9%;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.1);
}

.orbit-ring span:nth-child(2) {
  inset: 24%;
  border-color: rgba(244, 114, 182, 0.1);
}

.orbit-ring span:nth-child(3) {
  inset: 38%;
  border-style: dashed;
  border-color: rgba(103, 232, 249, 0.13);
}

.orbit-projects {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.orbit-project {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.65rem;
  height: 5.65rem;
  display: grid;
  place-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(5, 5, 16, 0.68);
  color: rgba(226, 232, 240, 0.8);
  transform: rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
  transform-origin: 0 0;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(14px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, scale 0.22s ease;
}

.orbit-project:hover,
.orbit-project:focus-visible,
.orbit-project.is-active {
  border-color: rgba(103, 232, 249, 0.46);
  box-shadow: 0 0 1.7rem rgba(34, 211, 238, 0.18);
  scale: 1.04;
}

.orbit-project img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.orbit-project span {
  max-width: 5rem;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.orbit-arena-score {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.12rem;
  text-align: right;
}

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

@media (max-width: 1023px) {
  .showcase-orbit-showcase {
    min-height: auto;
    padding: 5rem 1rem 8rem;
  }

  .orbit-preview-card {
    width: min(100%, 40rem);
    grid-template-columns: 1fr;
  }

  .orbit-project {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (max-width: 640px) {
  .showcase-orbit-showcase {
    display: block;
    padding: 4.5rem 1rem 1rem;
  }

  .orbit-preview-card {
    width: 100%;
  }

  .orbit-preview-copy {
    padding: 1.15rem;
  }

  .orbit-preview-copy h3 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .orbit-preview-visual {
    padding: 3.4rem 1rem 1rem;
  }

  .orbit-preview-visual img {
    max-height: 16rem;
    transform: none;
  }

  .orbit-ring {
    display: none;
  }

  .orbit-projects {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
    pointer-events: auto;
  }

  .orbit-project {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: 4.6rem;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    justify-content: start;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    transform: none;
  }

  .orbit-project img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .orbit-project span {
    text-align: left;
  }

  .orbit-arena-score {
    display: none;
  }
}

/* Replace the wheel with an AI Arena contender board */
.showcase-orbit-showcase {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(20rem, 0.68fr) minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 1rem;
  padding: clamp(4.6rem, 7vw, 5.8rem) 1rem 1rem;
}

.showcase-orbit-showcase::before {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 3.6rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.3), rgba(168, 85, 247, 0.16), transparent);
  pointer-events: none;
}

.orbit-ring {
  display: none;
}

.orbit-preview-card {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: 25rem;
}

.orbit-projects {
  position: relative;
  inset: auto;
  z-index: 5;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 0.65rem;
  width: 100%;
  pointer-events: auto;
}

.orbit-project {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 5.35rem;
  grid-template-columns: 3.25rem minmax(0, 1fr) 3.8rem;
  justify-content: start;
  align-items: center;
  gap: 0.72rem;
  padding: 0.72rem;
  border-radius: 0.5rem;
  text-align: left;
  transform: none;
  transform-origin: center;
}

.orbit-project::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #67e8f9, #a78bfa);
  opacity: 0;
}

.orbit-project:hover,
.orbit-project:focus-visible,
.orbit-project.is-active {
  scale: none;
  transform: translateX(0.22rem);
  background: rgba(255, 255, 255, 0.06);
}

.orbit-project.is-active::before {
  opacity: 1;
}

.orbit-project img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.45rem;
}

.orbit-project span {
  max-width: none;
  font-size: 0.92rem;
  text-align: left;
}

.orbit-project b {
  justify-self: end;
  color: rgba(103, 232, 249, 0.72);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.orbit-arena-score {
  left: 1.2rem;
  right: auto;
  bottom: 1rem;
  text-align: left;
}

/* Calmer native scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, 0.34) rgba(5, 5, 16, 0.72);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 5, 16, 0.86);
}

::-webkit-scrollbar-thumb {
  border: 2px solid rgba(5, 5, 16, 0.86);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.46), rgba(168, 85, 247, 0.28));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.62), rgba(168, 85, 247, 0.38));
}

@media (max-width: 1023px) {
  .showcase-orbit-showcase {
    grid-template-columns: 1fr;
    padding: 4.5rem 1rem 1rem;
  }

  .orbit-preview-card,
  .orbit-projects {
    grid-column: 1;
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  .orbit-projects {
    grid-template-columns: 1fr;
  }

  .orbit-project {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    min-height: 4.8rem;
  }
}
