/* ═══════════════════════════════════════════════════════
   RUFAI GANIYU — Portfolio  |  style.css
   ═══════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --bg: #000;
  --bg-2: #0c0c0c;
  --bg-3: #141414;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --text-muted: #666;
  --text-dim: #999;
  --accent: #00F5FF;
  --accent-dim: rgba(0, 245, 255, 0.08);
  --accent-glow: rgba(0, 245, 255, 0.2);
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  visibility: visible !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  font-family: inherit;
}



/* ── mobile-only line breaks ── */
.mobile-br {
  display: none;
}

.nav-mobile-cta {
  display: none;
}

/* ── CURSOR — hide on touch devices ── */
@media (hover: none) and (pointer: coarse) {

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ── CURSOR ── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 245, 255, 0.5);
  transition: width .3s var(--ease-spring), height .3s var(--ease-spring), border-color .3s, opacity .3s;
}

.cursor-ring.hovered {
  width: 50px;
  height: 50px;
  border-color: var(--accent);
  background: rgba(0, 245, 255, 0.04);
}

/* ── CONTAINER & SECTION ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 245, 255, 0.15) 50%,
      transparent 100%);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1rem 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(4, 4, 4, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 245, 255, 0.03);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: auto;
  transition: opacity .2s var(--ease);
}

.nav-logo:hover {
  opacity: 0.7;
}

.accent {
  color: var(--accent);
}

.nav-logo .accent {
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.85);
}

/* frosted capsule wrapping all links */
.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.26rem 0.28rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-link {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.4rem 1.05rem;
  border-radius: 100px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  position: relative;
  will-change: color, background, box-shadow;
  transition: color .22s var(--ease), background .22s var(--ease),
    box-shadow .22s var(--ease), text-shadow .22s var(--ease);
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--accent);
  background: rgba(0, 245, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.2), 0 0 10px rgba(0, 245, 255, 0.12);
  text-shadow: 0 0 14px rgba(0, 245, 255, 0.75);
}

.nav-link::after {
  display: none;
}

/* Hide mobile-only CTA by default */
.nav-mobile-cta {
  display: none !important;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  will-change: transform, box-shadow;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.hamburger:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all .32s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 2rem 60px;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-name {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.gradient-text {
  color: var(--accent);
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  will-change: opacity;
  animation: blink .7s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── HERO PHOTO ── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
  position: relative;
}

/* outer glow ring that spins */
.hero-photo-ring {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: photoFloat 8s ease-in-out infinite;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  perspective: 900px;
  perspective-origin: center center;
}

/* arc 1 — thick neon cyan sweep, fast clockwise */
.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg,
      rgba(0, 245, 255, 0.6) 60deg,
      transparent 100deg,
      transparent 260deg,
      rgba(0, 245, 255, 0.3) 310deg,
      var(--accent) 360deg);
  animation: ringRotate 8s linear infinite;
  will-change: transform;
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #fff calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #fff calc(100% - 1px));
}

/* arc 2 — counter-rotating dashed ring in magenta/purple */
.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 2px dashed rgba(180, 0, 255, 0.55);
  animation: ringRotateCCW 15s linear infinite;
  will-change: transform;
  box-shadow: 0 0 18px rgba(180, 0, 255, 0.35), inset 0 0 18px rgba(180, 0, 255, 0.15);
}

/* pulsing halo behind everything */
.hero-right::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.18) 0%, rgba(0, 245, 255, 0.05) 50%, transparent 72%);
  animation: haloPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate3d(0, 0, 0);
  z-index: 0;
  will-change: opacity;
}

@keyframes photoFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes ringRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringRotateCCW {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes haloPulse {
  from {
    opacity: 0.4;
    transform: translate(-50%, -50%);
  }

  to {
    opacity: 0.85;
    transform: translate(-50%, -50%);
  }
}

/* shake keyframe triggered by JS */
@keyframes photoShake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  10% {
    transform: translate(-5px, -4px) rotate(-1.5deg);
  }

  20% {
    transform: translate(5px, 4px) rotate(1.5deg);
  }

  30% {
    transform: translate(-5px, 3px) rotate(-1deg);
  }

  40% {
    transform: translate(4px, -4px) rotate(1deg);
  }

  50% {
    transform: translate(-4px, 3px) rotate(-0.5deg);
  }

  60% {
    transform: translate(4px, 2px) rotate(0.5deg);
  }

  70% {
    transform: translate(-3px, -2px) rotate(-0.5deg);
  }

  80% {
    transform: translate(2px, 2px) rotate(0deg);
  }

  90% {
    transform: translate(-2px, -1px) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.hero-photo-wrap.shaking {
  animation: photoShake 0.55s cubic-bezier(.36, .07, .19, .97) both;
}

.hero-photo-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 60px rgba(0, 245, 255, 0.18), 0 0 120px rgba(0, 245, 255, 0.07);
  background: var(--bg-3);
  transition: box-shadow .4s var(--ease);
  will-change: transform;
  transform-style: preserve-3d;
}

.hero-photo-wrap.near {
  box-shadow: 0 0 90px rgba(0, 245, 255, 0.4), 0 0 160px rgba(0, 245, 255, 0.15);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity .6s var(--ease);
  transform: scale(1.05);
}

.hero-photo.loaded {
  opacity: 1;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ── FADE-IN-UP ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.fade-in-up.visible {
  opacity: 1;
  transform: none;
}

/* ── HERO SLIDE-IN ── */
@keyframes heroSlideLeft {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes heroSlideRight {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.hero-left {
  animation: heroSlideLeft 1.4s cubic-bezier(0.25, 1, 0.35, 1) both;
}

.hero-right {
  animation: heroSlideRight 1.4s cubic-bezier(0.25, 1, 0.35, 1) 0.15s both;
}

/* ── SECTION TAG & TITLE ── */
.section-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ── SERVICES SECTION HEADER — centered + slide in from left ── */
.services .section-header {
  text-align: center;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.0s cubic-bezier(0.25, 1, 0.35, 1),
    transform 1.0s cubic-bezier(0.25, 1, 0.35, 1);
}

.services .section-header.visible {
  opacity: 1;
  transform: translateX(0);
}

.services .section-title {
  font-weight: 900;
}

/* ── GLASS ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ── SERVICES ── */
/* ── SERVICES ── */
/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 60px auto 0;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* ── SERVICE CARDS (PREMIUM WHITE) ── */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 16px;
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
  gap: 8px;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
  text-align: left;
  cursor: pointer;
  perspective: 800px;
  contain: layout style paint;
  will-change: transform;
}

.service-card:hover {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

/* Shimmer sweep on hover */
.service-card::before {
  display: none;
}

.service-card:hover::before {
  display: none;
}

/* Colored glow border per card on hover */
.service-card:nth-child(1):hover {
  border-color: #00bfa5;
  box-shadow: 0 0 0 1.5px #00bfa5;
}

.service-card:nth-child(2):hover {
  border-color: #3182ce;
  box-shadow: 0 0 0 1.5px #3182ce;
}

.service-card:nth-child(3):hover {
  border-color: #dd6b20;
  box-shadow: 0 0 0 1.5px #dd6b20;
}

.service-card:nth-child(4):hover {
  border-color: #805ad5;
  box-shadow: 0 0 0 1.5px #805ad5;
}

/* ── Card entrance animations (desktop) ── */
@keyframes scFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px) translateY(0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes scFromRight {
  0% {
    opacity: 0;
    transform: translateX(60px) translateY(0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes scFromTop {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes scFromBottom {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

.service-card.sc-from-left {
  animation: scFromLeft 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0)*0.15s) both;
}

.service-card.sc-from-right {
  animation: scFromRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0)*0.15s) both;
}

.service-card.sc-from-top {
  animation: scFromTop 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0)*0.15s) both;
}

.service-card.sc-from-bottom {
  animation: scFromBottom 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0)*0.15s) both;
}

.service-card.reveal {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Click ripple */
.service-card .sc-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  animation: scRipple 0.55s linear forwards;
  pointer-events: none;
  z-index: 3;
}

@keyframes scRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-box svg {
  width: 18px;
  height: 18px;
}

/* Color Variants */
.teal-bg {
  background: #e6fffa;
  color: #00bfa5;
}

.blue-bg {
  background: #ebf8ff;
  color: #3182ce;
}

.orange-bg {
  background: #fffaf0;
  color: #dd6b20;
}

.purple-bg {
  background: #faf5ff;
  color: #805ad5;
}

.card-title-group h3 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: -0.01em;
}

.card-subtitle {
  font-size: 11px;
  color: #888;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  width: fit-content;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.success {
  background: #f0fdf4;
  color: #166534;
}

.status-badge.active {
  background: #eff6ff;
  color: #1e40af;
}

.status-badge.warning {
  background: #fff7ed;
  color: #9a3412;
}

.card-details {
  border-top: 1px solid #f2f2f2;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f8f8f8;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 11px;
  color: #777;
}

.detail-value {
  font-size: 11px;
  font-weight: 700;
  color: #111;
}

.card-events {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── VIDEO EDITING CREDITS TICKER ── */
.ve-credits {
  position: relative;
  flex: 1;
  min-height: 80px;
  overflow: hidden;
  border-top: 1px solid #f0f0f0;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.ve-roll {
  display: flex;
  flex-direction: column;
  transform: translateY(200px);
  animation: veScroll 7s linear infinite;
  animation-play-state: paused;
}

.ve-credits.ve-playing .ve-roll {
  animation-play-state: running;
}

@keyframes veScroll {
  from {
    transform: translateY(200px);
  }

  to {
    transform: translateY(-100%);
  }
}

.ve-line {
  height: 40px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #111;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f5f5f5;
  white-space: nowrap;
}

.ve-line:last-child {
  border-bottom: none;
}

.ve-line::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00bfa5;
  flex-shrink: 0;
}

.ve-line.ve-enter {
  opacity: 1;
  transform: translateY(0);
}

.ve-line.ve-exit {
  opacity: 0;
  transform: translateY(-34px);
}

/* ── VIDEO EDITING CARD — DARK CINEMATIC ── */
.ve-card {
  background: linear-gradient(145deg, #0d1f1e 0%, #0f2230 55%, #0c1a28 100%) !important;
  border: 2px solid #00e5c8 !important;
  color: #f0f0f0 !important;
  box-shadow: none !important;
}

.ve-card:hover {
  border-color: #00ffdf !important;
  box-shadow: none !important;
}

.ve-card .card-title-group h3 {
  color: #ffffff;
}

.ve-card .card-title-group .card-subtitle {
  color: rgba(255, 255, 255, 0.45);
}

.ve-card .card-icon-box.teal-bg {
  background: rgba(0, 229, 200, 0.22);
  color: #00e5c8;
}

.ve-badge {
  background: rgba(0, 191, 165, 0.2) !important;
  color: #00e5c8 !important;
  border: 1px solid #00e5c8 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Floating orbs */
.ve-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  z-index: 0;
}

.ve-orb {
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  width: var(--os, 80px);
  height: var(--os, 80px);
  border-radius: 50%;
  background: var(--oc);
  opacity: 0.18;
  filter: blur(10px);
  will-change: transform;
  animation: veOrbFloat var(--od, 10s) ease-in-out infinite alternate;
}

@keyframes veOrbFloat {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -14px);
  }

  100% {
    transform: translate(-8px, 6px);
  }
}

/* Live timecode */
.ve-timecode {
  margin-left: auto;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #00e5c8;
  letter-spacing: 0.06em;
  background: rgba(0, 191, 165, 0.1);
  border: 1px solid rgba(0, 191, 165, 0.22);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Credits ticker on dark card */
.ve-card .ve-credits {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.ve-card .ve-line {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.ve-card .ve-line::before {
  background: #00e5c8;
}

/* NLE Timeline */
.ve-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 5px 6px;
  overflow: hidden;
  z-index: 1;
}

.ve-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  z-index: 3;
  animation: vePlayheadMove 4s linear infinite;
}

@keyframes vePlayheadMove {
  0% {
    left: 2%;
  }

  100% {
    left: 97%;
  }
}

.ve-track {
  position: relative;
  height: 9px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  overflow: hidden;
}

.ve-clip {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: var(--cl-l);
  width: var(--cw);
  background: var(--cl);
  border-radius: 2px;
  opacity: 0.7;
}

/* ── FULL STACK DEV CARD ── */
.fs-card {
  background: linear-gradient(145deg, #0a0f1e 0%, #0d1535 55%, #0b1228 100%) !important;
  border: 2px solid #3b82f6 !important;
  color: #f0f0f0 !important;
  box-shadow: none !important;
}

.fs-card:hover {
  border-color: #60a5fa !important;
  box-shadow: none !important;
}

.fs-card .card-title-group h3 {
  color: #fff;
}

.fs-card .card-title-group .card-subtitle {
  color: rgba(255, 255, 255, 0.4);
}

.fs-card .card-icon-box.blue-bg {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}

/* Orbs */
.fs-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  z-index: 0;
}

.fs-orb {
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  width: var(--os, 80px);
  height: var(--os, 80px);
  border-radius: 50%;
  background: var(--oc);
  opacity: 0.18;
  filter: blur(10px);
  will-change: transform;
  animation: veOrbFloat var(--od, 10s) ease-in-out infinite alternate;
}

/* Live dot in header */
.fs-status-dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e, 0 0 12px rgba(34, 197, 94, 0.5);
  animation: fsDotPulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes fsDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

.fs-badge {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60a5fa !important;
  border: 1px solid #3b82f6 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Tabs */
.fs-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 3px;
  position: relative;
  z-index: 1;
}

.fs-tab {
  flex: 1;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  padding: 5px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
  text-align: center;
}

.fs-tab.active {
  background: #3b82f6;
  color: #fff;
}

/* Panels */
.fs-panel {
  display: none;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.fs-panel.active {
  display: flex;
}

.fs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fs-item:last-child {
  border-bottom: none;
}

.fs-item.fs-visible {
  opacity: 1;
  transform: translateX(0);
}

.fs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}

/* Terminal line */
.fs-terminal {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
}

.fs-prompt {
  color: #60a5fa;
  font-weight: 700;
}

.fs-cmd {
  color: #86efac;
}

.fs-cursor {
  color: #60a5fa;
  animation: fsBlink 0.9s step-end infinite;
}

@keyframes fsBlink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

/* ── GRAPHICS DESIGN CARD ── */
.gd-card {
  background: linear-gradient(145deg, #1a0a00 0%, #1f1008 55%, #180e05 100%) !important;
  border: 2px solid #f97316 !important;
  color: #f5f5f5 !important;
  box-shadow: none !important;
}

.gd-card:hover {
  border-color: #fb923c !important;
  box-shadow: none !important;
}

.gd-card .card-title-group h3 {
  color: #fff;
}

.gd-card .card-title-group .card-subtitle {
  color: rgba(255, 255, 255, 0.4);
}

.gd-card .card-icon-box.orange-bg {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}

/* Orbs */
.gd-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  z-index: 0;
}

.gd-orb {
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  width: var(--os, 80px);
  height: var(--os, 80px);
  border-radius: 50%;
  background: var(--oc);
  opacity: 0.18;
  filter: blur(10px);
  will-change: transform;
  animation: veOrbFloat var(--od, 10s) ease-in-out infinite alternate;
}

.gd-badge {
  background: rgba(249, 115, 22, 0.15) !important;
  color: #fb923c !important;
  border: 1px solid #f97316 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Services ticker */
.gd-ticker {
  position: relative;
  flex: 1;
  min-height: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(249, 115, 22, 0.2);
  margin-top: 2px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  z-index: 1;
}

.gd-roll {
  display: flex;
  flex-direction: column;
  transform: translateY(80px);
  animation: gdScroll 9s linear infinite;
  animation-play-state: paused;
}

.gd-ticker.gd-playing .gd-roll {
  animation-play-state: running;
}

@keyframes gdScroll {
  from {
    transform: translateY(80px);
  }

  to {
    transform: translateY(-100%);
  }
}

.gd-line {
  height: 34px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gd-line::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
}

/* Colour palette swatches */
.gd-palette {
  display: flex;
  gap: 5px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gd-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sc);
  box-shadow: 0 0 6px var(--sc);
  transition: transform 0.2s ease;
  cursor: default;
}

.gd-swatch:hover {
  transform: scale(1.3);
}

/* Toolbar */
.gd-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.gd-tool {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: default;
  font-size: 12px;
  transition: background 0.15s, color 0.15s;
}

.gd-tool:hover {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}

.gd-sep {
  flex: 1;
}

.gd-layers {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* ── WEB3 COMMUNITY CARD ── */
.w3-card {
  background: linear-gradient(145deg, #0d0820 0%, #110c2e 55%, #0a0818 100%) !important;
  border: 2px solid #8b5cf6 !important;
  color: #f0f0f0 !important;
  box-shadow: none !important;
}

.w3-card:hover {
  border-color: #a78bfa !important;
  box-shadow: none !important;
}

.w3-card .card-title-group h3 {
  color: #fff;
}

.w3-card .card-title-group .card-subtitle {
  color: rgba(255, 255, 255, 0.4);
}

.w3-card .card-icon-box.purple-bg {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

/* Orbs */
.w3-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  z-index: 0;
}

.w3-orb {
  position: absolute;
  left: var(--ox);
  top: var(--oy);
  width: var(--os, 80px);
  height: var(--os, 80px);
  border-radius: 50%;
  background: var(--oc);
  opacity: 0.18;
  filter: blur(10px);
  will-change: transform;
  animation: veOrbFloat var(--od, 10s) ease-in-out infinite alternate;
}

/* Animated network nodes in header */
.w3-nodes {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}

.w3-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 6px #8b5cf6;
  animation: w3NodePulse 1.6s ease-in-out infinite;
}

.w3-node:nth-child(2) {
  animation-delay: 0.3s;
  background: #06b6d4;
  box-shadow: 0 0 6px #06b6d4;
}

.w3-node:nth-child(3) {
  animation-delay: 0.6s;
  background: #a855f7;
  box-shadow: 0 0 6px #a855f7;
}

@keyframes w3NodePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.5);
    opacity: 0.4;
  }
}

.w3-badge {
  background: rgba(139, 92, 246, 0.15) !important;
  color: #a78bfa !important;
  border: 1px solid #8b5cf6 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* Services ticker */
.w3-ticker {
  position: relative;
  flex: 1;
  min-height: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  margin-top: 2px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  z-index: 1;
}

.w3-roll {
  display: flex;
  flex-direction: column;
  transform: translateY(200px);
  animation: w3Scroll 14s linear infinite;
  animation-play-state: paused;
}

.w3-ticker.w3-playing .w3-roll {
  animation-play-state: running;
}

@keyframes w3Scroll {
  from {
    transform: translateY(200px);
  }

  to {
    transform: translateY(-100%);
  }
}

.w3-line {
  height: 34px;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.w3-line:last-child {
  border-bottom: none;
}

.w3-line::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b5cf6;
  flex-shrink: 0;
  box-shadow: 0 0 4px #8b5cf6;
}

/* Stat pills */
.w3-stats {
  display: flex;
  gap: 6px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.w3-stat {
  flex: 1;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 8px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.w3-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: #a78bfa;
  line-height: 1;
}

.w3-stat-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: #f9f9f9;
  border-radius: 12px;
}

.event-item .event-dot {
  margin-top: 4px;
}

.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.event-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.event-status {
  display: block;
  font-size: 10px;
  color: #777;
  line-height: 1.4;
}


/* ── MOCKUP CARDS ── */
.mockup-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 24px !important;
  color: #1a1a1a !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  animation: cardEntry 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards !important;
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mockup-header {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
  margin-bottom: 20px !important;
}

.mockup-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mockup-icon.v-bg {
  background: #e0fbff !important;
  color: #00F5FF !important;
}

.mockup-icon.d-bg {
  background: #f0ebff !important;
  color: #8B5CF6 !important;
}

.mockup-icon.g-bg {
  background: #fff0e6 !important;
  color: #F97316 !important;
}

.mockup-icon.u-bg {
  background: #ffebf5 !important;
  color: #EC4899 !important;
}

.mockup-title h4 {
  font-size: 15px !important;
  margin: 0 !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.mockup-title span {
  font-size: 11px !important;
  color: #888 !important;
}

.mockup-badge {
  display: inline-flex !important;
  padding: 6px 12px !important;
  background: #f0fdf4 !important;
  color: #166534 !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}

.mockup-badge.success::before {
  content: "●";
  margin-right: 6px !important;
}

.mockup-stats {
  border-top: 1px solid #f0f0f0 !important;
  padding-top: 15px !important;
}

.stat-row {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #f9f9f9 !important;
}

.stat-row:last-child {
  border: none !important;
}

.stat-row span {
  font-size: 12px !important;
  color: #777 !important;
}

.stat-row strong {
  font-size: 12px !important;
  color: #222 !important;
  font-weight: 600 !important;
}

.vector-circle {
  position: relative;
  width: 100px;
  height: 100px;
}

.rotating-dashed {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--acc);
  border-radius: 50%;
  animation: spinCircle 8s linear infinite;
}

.inner-aa {
  position: absolute;
  inset: 15px;
  background: linear-gradient(45deg, var(--acc), #fff);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinCircle 8s linear reverse infinite;
}

.side-shapes {
  position: absolute;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rect {
  height: 6px;
  border-radius: 3px;
  background: var(--acc);
  opacity: 0.3;
  animation: slideInL 1s ease forwards;
}

.r1 {
  width: 40px;
  animation-delay: 0.2s;
}

.r2 {
  width: 60px;
  animation-delay: 0.4s;
}

.r3 {
  width: 30px;
  animation-delay: 0.6s;
}

.color-palette {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  animation: dotPop 0.5s ease forwards;
}

.d1 {
  background: #00F5FF;
  animation-delay: 1s;
}

.d2 {
  background: #8B5CF6;
  animation-delay: 1.1s;
}

.d3 {
  background: #F97316;
  animation-delay: 1.2s;
}

.d4 {
  background: #EC4899;
  animation-delay: 1.3s;
}

.d5 {
  background: #fff;
  animation-delay: 1.4s;
}

@keyframes spinCircle {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmerAnim {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes slideInL {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 0.3;
  }
}

@keyframes dotPop {
  to {
    transform: scale(1);
  }
}

/* PANEL 4 VISUAL: UI/UX */
.uiux-visual {
  background: #050510;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.phone-frame {
  width: 72px;
  height: 120px;
  border: 2px solid rgba(0, 245, 255, 0.3);
  border-radius: 12px;
  padding: 6px;
  position: relative;
  animation: phoneFloat 3s ease-in-out infinite;
  background: #000;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.avatar {
  width: 14px;
  height: 14px;
  background: #1a1a1a;
  border-radius: 50%;
}

.lines span {
  display: block;
  width: 20px;
  height: 3px;
  background: #1a1a1a;
  margin-bottom: 2px;
  border-radius: 1px;
}

.phone-content {
  height: 70px;
  background: #0a0a0f;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.sliding-card {
  width: 80%;
  height: 40px;
  background: var(--acc);
  opacity: 0.2;
  margin: 10px auto;
  border-radius: 4px;
  animation: slideUpCard 2.5s ease-in-out infinite;
}

.phone-nav {
  position: absolute;
  bottom: 8px;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.phone-nav span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1a1a1a;
}

.phone-nav span:first-child {
  background: var(--acc);
}

.ui-elements {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ui-btn {
  width: 60px;
  height: 22px;
  border: 1px solid var(--acc);
  border-radius: 11px;
  animation: btnBounce 2s ease-in-out infinite;
}

.ui-toggle {
  width: 34px;
  height: 18px;
  background: #1a1a1a;
  border-radius: 9px;
  position: relative;
  padding: 2px;
  animation: toggleAnim 3s infinite;
}

.thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  animation: thumbMove 3s infinite;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes slideUpCard {

  0%,
  100% {
    transform: translateY(120%);
  }

  40%,
  60% {
    transform: translateY(10%);
  }
}

@keyframes btnBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
}

@keyframes toggleAnim {

  0%,
  45% {
    background: #1a1a1a;
  }

  55%,
  100% {
    background: var(--acc);
  }
}

@keyframes thumbMove {

  0%,
  45% {
    left: 2px;
  }

  55%,
  100% {
    left: 18px;
  }
}

/* INFO SECTION */
.info-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.p-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--acc);
  opacity: 0.5;
}

.p-title {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--acc);
}

.p-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-tags span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-size: 11px;
  color: var(--text);
}

/* ── MARQUEE ── */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.marquee-inner span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-inner span::before {
  content: '◆';
  font-size: 0.45rem;
  color: var(--accent);
  display: inline-block;
  margin-right: 2.5rem;
  vertical-align: middle;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ── ABOUT ── */
.about {
  background: #000;
}

/* ── ABOUT SURFACE ── */
.about-surface {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 245, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 245, 255, 0.06);
  position: relative;
}

/* ── GATE PANELS ── */
.about-gate {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;
  overflow: hidden;
  background: #000;
  display: none !important;
  /* Removed on desktop as requested */
}

.about-gate-left {
  left: 0;
}

.about-gate-right {
  right: 0;
}

/* inner glow that charges up */
.about-gate-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: transparent;
  pointer-events: none;
}

.about-gate-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80px;
  background: transparent;
  pointer-events: none;
}

/* ── SEAM (used for spark positioning) ── */
#aboutGateSeam {
  display: none;
}

#aboutShockwave {
  display: none !important;
}

.about-gate-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  z-index: 11;
  pointer-events: none;
}

.seam-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 transparent;
  transition: none;
}

/* ── SHOCKWAVE RING ── */
.about-gate-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  pointer-events: none;
  border: 2px solid transparent;
}

/* ════ GATE OPEN ANIMATION ════ */

@keyframes gateSlideLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-102%);
  }
}

@keyframes gateSlideRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(102%);
  }
}

/* Blue edge glow that glides with the panel */
@keyframes gateGlowLeft {
  0% {
    background: linear-gradient(to left, rgba(0, 245, 255, 0.0) 0%, transparent 100%);
  }

  20% {
    background: linear-gradient(to left, rgba(0, 245, 255, 0.35) 0%, transparent 100%);
  }

  80% {
    background: linear-gradient(to left, rgba(0, 245, 255, 0.35) 0%, transparent 100%);
  }

  100% {
    background: linear-gradient(to left, rgba(0, 245, 255, 0.0) 0%, transparent 100%);
  }
}

@keyframes gateGlowRight {
  0% {
    background: linear-gradient(to right, rgba(0, 245, 255, 0.0) 0%, transparent 100%);
  }

  20% {
    background: linear-gradient(to right, rgba(0, 245, 255, 0.35) 0%, transparent 100%);
  }

  80% {
    background: linear-gradient(to right, rgba(0, 245, 255, 0.35) 0%, transparent 100%);
  }

  100% {
    background: linear-gradient(to right, rgba(0, 245, 255, 0.0) 0%, transparent 100%);
  }
}

.about-gate-left.opening {
  animation: gateSlideLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform;
}

.about-gate-right.opening {
  animation: gateSlideRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform;
}

.about-gate-left.opening::after {
  animation: gateGlowLeft 1.2s ease-out forwards;
}

.about-gate-right.opening::after {
  animation: gateGlowRight 1.2s ease-out forwards;
}

/* ── ABOUT SURFACE MIN HEIGHT ── */
.about-surface {
  min-height: 520px;
}

.about-surface-left {
  background: #000;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* subtle vertical accent bar on left edge */
.about-surface-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  border-radius: 3px;
}

.about-surface-right {
  background: #000;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* accent top bar */
.about-accent-line {
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.5);
}

.about-surface-left .section-tag {
  margin-bottom: .5rem;
}

.about .section-header {
  text-align: center;
}

.about .section-header .section-tag {
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: 'Orbitron', sans-serif;
}

/* Robotic font + glow on About Me bio */
.about-bio-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.about-bio {
  font-size: 0.92rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 2.1;
  margin-bottom: 1.4rem;
  letter-spacing: 0.04em;
  min-height: 1.5em;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* blinking cursor during typing */
.about-bio.typing::after {
  content: '▌';
  color: var(--accent);
  animation: blinkCaret 0.7s step-end infinite;
}

@keyframes blinkCaret {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.about-headline {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin-bottom: 1.8rem;
  color: var(--text);
  text-align: center;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: auto;
  padding-top: 2.2rem;
}

.about-see-work {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c0c0c0;
  letter-spacing: 0.04em;
  transition: color .2s;
}

.about-see-work:hover {
  color: var(--accent);
}

/* right panel top label */
.about-stack-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.skill-category h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: .9rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.skill-list span {
  font-size: 0.72rem;
  padding: .3rem .85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  color: #ccc;
  background: rgba(255, 255, 255, 0.05);
  transition: all .2s;
}

.skill-list span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 245, 255, 0.06);
}

/* bottom stats strip */
@keyframes statFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.about-stats-row {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.8rem;
  padding-top: 0;
  border-top: none;
  justify-content: center;
}

.about-stat {
  flex: 1;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: 1.6rem 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 245, 255, 0.12);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 245, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(0, 245, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: statFloat 5s ease-in-out infinite;
  animation-play-state: paused;
  transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.34, 1.56, .64, 1);
  will-change: transform;
}

.visible .about-stat {
  animation-play-state: running;
}

.about-stat:nth-child(1) {
  animation-delay: 0s;
}

.about-stat:nth-child(2) {
  animation-delay: 0.6s;
}

.about-stat:nth-child(3) {
  animation-delay: 1.2s;
}

/* top glow streak */
.about-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* inner ambient glow */
.about-stat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 245, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.about-stat:hover {
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 245, 255, 0.1),
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 245, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-6px) scale(1.03);
  animation-play-state: paused;
}

.about-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
  position: relative;
  z-index: 1;
}

.about-stat-label {
  font-size: 0.72rem;
  color: #bbb;
  font-weight: 500;
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════
   WHAT I WORK WITH — CLEAN RAIN
══════════════════════════════════════════════ */

.skills-section {
  position: relative;
}

/* ── Section header ── */
.sk-header {
  text-align: center !important;
  margin-bottom: 2.5rem;
}

/* ── Flat pill pool ── */
.sk-pool {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 0.5rem 0;
}

/* ── Individual pill — Ultra Premium ── */
.sk-pill {
  position: relative;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(0, 245, 255, 0.25);
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  cursor: default;
  user-select: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(0, 245, 255, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

/* Gradient arc border via ::before */
.sk-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1px;
  background: linear-gradient(135deg,
      var(--pill-accent, rgba(255, 255, 255, 0.25)) 0%,
      transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  transition: opacity .3s;
  pointer-events: none;
}

/* Shimmer sweep stripe via ::after (fires on land) */
.sk-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 45%,
      rgba(255, 255, 255, 0.22) 50%,
      rgba(255, 255, 255, 0.18) 55%,
      transparent 100%);
  transform: translateX(-160%);
  pointer-events: none;
  border-radius: 100px;
}

/* ── Category accent colours ── */
/* Dev / Code (1–6): cyan */
.sk-pill:nth-child(-n+6) {
  --pill-accent: #00f5ff;
  --pill-glow: rgba(0, 245, 255, 0.28);
  --pill-bg: rgba(0, 245, 255, 0.1);
  --pill-color: #00f5ff;
}

/* Design (7–11): violet */
.sk-pill:nth-child(n+7):nth-child(-n+11) {
  --pill-accent: #a78bfa;
  --pill-glow: rgba(167, 139, 250, 0.28);
  --pill-bg: rgba(167, 139, 250, 0.1);
  --pill-color: #c4b5fd;
}

/* Video / Motion (12–14): amber */
.sk-pill:nth-child(n+12):nth-child(-n+14) {
  --pill-accent: #fbbf24;
  --pill-glow: rgba(251, 191, 36, 0.28);
  --pill-bg: rgba(251, 191, 36, 0.1);
  --pill-color: #fcd34d;
}

/* DevOps / Systems (15–18): emerald */
.sk-pill:nth-child(n+15) {
  --pill-accent: #34d399;
  --pill-glow: rgba(52, 211, 153, 0.28);
  --pill-bg: rgba(52, 211, 153, 0.1);
  --pill-color: #6ee7b7;
}

/* ── Hover: iOS spring pop + glow pulse ── */
@keyframes skIosPop {
  0% {
    transform: translateY(0) scale(1);
  }

  18% {
    transform: translateY(-9px) scale(1.22);
  }

  38% {
    transform: translateY(-5px) scale(1.11);
  }

  55% {
    transform: translateY(-8px) scale(1.18);
  }

  70% {
    transform: translateY(-5px) scale(1.12);
  }

  82% {
    transform: translateY(-7px) scale(1.15);
  }

  91% {
    transform: translateY(-6px) scale(1.13);
  }

  100% {
    transform: translateY(-6px) scale(1.13);
  }
}

@keyframes skGlowPulse {

  0%,
  100% {
    box-shadow: 0 8px 30px var(--pill-glow), 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  50% {
    box-shadow: 0 14px 50px var(--pill-glow), 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.sk-pill:hover {
  color: var(--pill-color, #00f5ff);
  background: var(--pill-bg, rgba(0, 245, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.08);
  animation: skIosPop 0.5s cubic-bezier(0.34, 2.4, 0.64, 1) forwards,
    skGlowPulse 1.8s ease-in-out 0.45s infinite;
}

.sk-pill:hover::before {
  opacity: 1;
}

/* ── Skill tooltip popup ── */
@keyframes skTipIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(6px) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes skTipBarFill {
  from {
    width: 0;
  }

  to {
    width: var(--tip-level, 80%);
  }
}

.sk-tooltip {
  position: absolute;
  min-width: 148px;
  background: rgba(8, 10, 20, 0.96);
  border: 1px solid var(--tip-accent, rgba(0, 245, 255, 0.35));
  border-radius: 12px;
  padding: 0.72rem 0.9rem 0.8rem;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: skTipIn 0.35s cubic-bezier(0.34, 1.9, 0.64, 1) forwards;
  transform: translateX(-50%) translateY(0) scale(1);
}

.sk-tip-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tip-accent, #00f5ff);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sk-tip-cat {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.sk-tip-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 0.55rem;
  overflow: hidden;
}

.sk-tip-fill {
  height: 100%;
  background: var(--tip-accent, #00f5ff);
  border-radius: 2px;
  width: 0;
  animation: skTipBarFill 0.45s ease 0.12s forwards;
  box-shadow: 0 0 6px var(--tip-accent, #00f5ff);
}

.sk-tip-pct {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.sk-tip-arrow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: rgba(8, 10, 20, 0.96);
  border-right: 1px solid var(--tip-accent, rgba(0, 245, 255, 0.35));
  border-bottom: 1px solid var(--tip-accent, rgba(0, 245, 255, 0.35));
  transform: translateX(-50%) rotate(45deg);
}

/* ── Water ripple rings ── */
.sk-pool {
  position: relative;
  overflow: visible;
}

@keyframes skWaterRing {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.7;
  }

  70% {
    opacity: 0.25;
  }

  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

.sk-water-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--ring-color, rgba(0, 245, 255, 0.6));
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.2);
  animation: skWaterRing 0.75s cubic-bezier(0.2, 0.6, 0.4, 1) forwards;
  z-index: 0;
}

/* ── Drop: squash-stretch physics ── */
@keyframes skDrop {
  0% {
    opacity: 0;
    transform:
      translateY(calc(-150px - var(--rand, 0px))) translateX(var(--sway-a, 0px)) rotate(var(--rot, 0deg)) scale(0.55);
    filter: blur(8px) brightness(1.8);
  }

  40% {
    opacity: 0.85;
    filter: blur(1.5px) brightness(1.2);
  }

  /* squash on impact */
  62% {
    opacity: 1;
    transform:
      translateY(10px) translateX(var(--sway-b, 0px)) rotate(calc(var(--rot, 0deg) * 0.03)) scaleX(1.18) scaleY(0.82);
    filter: blur(0) brightness(1);
  }

  /* spring up */
  73% {
    transform: translateY(-9px) scaleX(0.92) scaleY(1.1);
  }

  83% {
    transform: translateY(4px) scaleX(1.06) scaleY(0.95);
  }

  91% {
    transform: translateY(-2px) scaleX(0.98) scaleY(1.02);
  }

  96% {
    transform: translateY(1px) scaleX(1.01) scaleY(0.99);
  }

  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    filter: none;
  }
}

/* shimmer sweep fires ~50ms after impact */
@keyframes skSweep {
  0% {
    transform: translateX(-160%);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  85% {
    opacity: 1;
    transform: translateX(200%);
  }

  100% {
    opacity: 0;
    transform: translateX(200%);
  }
}

.sk-pill.sk-fall {
  animation: skDrop 1.05s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 280ms);
  will-change: transform, opacity;
}

.sk-pill.sk-fall::after {
  animation: skSweep 0.6s ease-out forwards;
  /* fires after the drop lands: delay + ~62% of 1.05s = ~0.65s */
  animation-delay: calc(var(--i, 0) * 280ms + 0.68s);
}

/* ── Stats divider ── */
.sk-stats-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.08) 75%, transparent);
  margin: 2.5rem 0 0;
}

/* ── REVEAL VARIANTS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ── PROJECTS LABORATORY ── */
.lab-container {
  background: rgba(4, 4, 10, 0.95);
  border: 1px solid rgba(0, 245, 255, 0.15);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 245, 255, 0.05);
  margin-top: 2rem;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.lab-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to bottom, transparent, rgba(0, 245, 255, 0.2), transparent);
  z-index: 10;
  pointer-events: none;
  animation: labScan 6s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.lab-container.visible .lab-scanline {
  animation-play-state: running;
}

@keyframes labScan {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100vh);
  }
}

.lab-header {
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(0, 245, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
}

.lab-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.status-dot.pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: labPulse 2s infinite;
  will-change: transform;
}

@keyframes labPulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.7);
  }

  70% {
    transform: scale(1.1);
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(0, 245, 255, 0);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 245, 255, 0);
  }
}

.lab-metrics {
  display: flex;
  gap: 1.5rem;
}

.metric-item {
  display: flex;
  gap: 0.4rem;
  font-size: 0.65rem;
}

.metric-label {
  color: rgba(255, 255, 255, 0.3);
}

.metric-value {
  color: var(--accent);
}

.lab-viewport {
  min-height: 450px;
  position: relative;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.lab-placeholder {
  text-align: center;
  z-index: 2;
}

.pcs-glitch-wrapper {
  margin-bottom: 1.5rem;
}

.pcs-label {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  color: #fff;
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 255, 0.75), -0.025em -0.05em 0 rgba(0, 255, 255, 0.75), 0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
  animation: labGlitch 500ms infinite;
  animation-play-state: paused;
  will-change: text-shadow;
}

.lab-container.visible .pcs-label {
  animation-play-state: running;
}

@keyframes labGlitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 255, 0.75), -0.05em -0.025em 0 rgba(0, 255, 255, 0.75), -0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
  }

  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 255, 0.75), -0.05em -0.025em 0 rgba(0, 255, 255, 0.75), -0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
  }

  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 255, 0.75), 0.025em 0.025em 0 rgba(0, 255, 255, 0.75), -0.05em -0.05em 0 rgba(255, 255, 0, 0.75);
  }

  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 255, 0.75), 0.025em 0.025em 0 rgba(0, 255, 255, 0.75), -0.05em -0.05em 0 rgba(255, 255, 0, 0.75);
  }

  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 255, 0.75), 0.05em 0 0 rgba(0, 255, 255, 0.75), 0 -0.05em 0 rgba(255, 255, 0, 0.75);
  }

  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 255, 0.75), 0.05em 0 0 rgba(0, 255, 255, 0.75), 0 -0.05em 0 rgba(255, 255, 0, 0.75);
  }

  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 255, 0.75), -0.025em -0.025em 0 rgba(0, 255, 255, 0.75), -0.025em -0.05em 0 rgba(255, 255, 0, 0.75);
  }
}

.lab-status-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.lab-loader {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.lab-loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: var(--accent);
  animation: labLoading 2s ease-in-out infinite;
  will-change: left;
}

@keyframes labLoading {
  0% {
    left: -50%;
  }

  100% {
    left: 100%;
  }
}

.pcs-note {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.lab-diagnostic {
  font-family: monospace;
  font-size: 0.7rem;
  color: rgba(0, 245, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1rem;
  text-align: center;
}

/* ── RADAR SYSTEM ── */
.lab-radar {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 245, 255, 0.1);
  border-radius: 50%;
}

.radar-circle-1 {
  width: 100px;
  height: 100px;
}

.radar-circle-2 {
  width: 200px;
  height: 200px;
}

.radar-circle-3 {
  width: 300px;
  height: 300px;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: conic-gradient(from 0deg, rgba(0, 245, 255, 0.2) 0deg, transparent 90deg);
  border-radius: 50%;
  transform-origin: top left;
  animation: radarRotate 4s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.radar-active .radar-sweep {
  animation-play-state: running;
}

@keyframes radarRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.lab-footer {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(0, 245, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.2);
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
  will-change: transform;
}

.project-card:hover {
  border-color: rgba(0, 245, 255, 0.25);
  transform: translateY(-4px);
}

.project-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-placeholder-icon {
  opacity: 0.6;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.8rem;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.project-overlay .project-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.project-overlay .project-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: opacity .2s;
}

.project-link:hover {
  opacity: 0.7;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.project-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.project-tech {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.contact {
  position: relative;
  overflow: hidden;
  background: #000;
  /* Deep Black */
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(0, 122, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.ct-bg-text {
  display: none;
}

.ct-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.15;
  will-change: transform;
}

.ct-orb-1 {
  width: 560px;
  height: 560px;
  top: -140px;
  left: -140px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.07) 0%, transparent 70%);
  animation: ctOrbFloat1 9s ease-in-out infinite;
}

.ct-orb-2 {
  width: 440px;
  height: 440px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.09) 0%, transparent 70%);
  animation: ctOrbFloat2 11s ease-in-out infinite;
}

@keyframes ctOrbFloat1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(35px, 25px);
  }
}

@keyframes ctOrbFloat2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-28px, -20px);
  }
}

/* ── grid ── */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* ── LEFT ── */
.ct-left {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* staggered entrance for each ct-left child */
.ct-left>* {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(.22, 1, .36, 1), transform 0.6s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--ct-i, 0) * 0.11s + 0.15s);
}

.reveal-left.visible>* {
  opacity: 1;
  transform: none;
}

/* availability badge */
.ct-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  /* iOS green */
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.5);
  animation: iosPulse 2s infinite;
}

@keyframes iosPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes ctPulse {

  0%,
  100% {
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.8), 0 0 0 0 rgba(52, 211, 153, 0.5);
  }

  50% {
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.8), 0 0 0 7px rgba(52, 211, 153, 0);
  }
}

.ct-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* email card */
.ct-email-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ct-email-icon {
  width: 32px;
  /* Scaled down */
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 10px rgba(0, 245, 255, 0.2);
}

.ct-email-icon svg {
  width: 18px;
  height: 18px;
}

.ct-email-val {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}

.ct-email-arrow {
  margin-left: auto;
  opacity: 0.3;
  transition: all .3s ease;
}

.ct-email-card:hover .ct-email-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* social pills — always lit with brand colors */
.ct-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.ct-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  text-decoration: none;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ct-social svg {
  width: 20px;
  height: 20px;
  color: #fff;
  transition: all .3s ease;
}

.ct-social span {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.ct-social:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.ct-social:hover span {
  color: #fff;
}

/* iOS App icon styles */
.ct-social.github svg {
  color: #fff;
}

.ct-social.linkedin svg {
  color: #0077b5;
}

.ct-social.twitter svg {
  color: #1da1f2;
}

.ct-social.whatsapp svg {
  color: #25d366;
}

.ct-social.telegram svg {
  color: #0088cc;
}

.ct-social.discord svg {
  color: #5865f2;
}

/* stats row */
.ct-stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.ct-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ct-stat-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.ct-stat-lbl {
  font-family: monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ct-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── RIGHT ── */
.ct-form-card {
  background: #000;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.ct-form {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ct-field {
  position: relative;
  margin-top: 1rem;
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.1rem;
  color: #fff;
  font-size: 0.9rem;
  transition: all .3s ease;
  outline: none;
}

.ct-field label {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  pointer-events: none;
  transition: all .3s ease;
}

.ct-field input:focus+label,
.ct-field textarea:focus+label,
.ct-field input:not(:placeholder-shown)+label,
.ct-field textarea:not(:placeholder-shown)+label {
  transform: translateY(-2.4rem) scale(0.85);
  color: var(--accent);
  left: 0.1rem;
}

.ct-submit {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 0.85rem;
  /* Scaled down */
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  /* Scaled down */
  cursor: none;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.2rem;
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.2);
}

.ct-submit:hover {
  transform: scale(1.02) translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 245, 255, 0.3);
}

.ct-form-footer {
  display: none;
  /* Hide technical footer for iOS style */
}
}

.spin {
  animation: spin .8s linear infinite;
  will-change: transform;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── FOOTER ── */
footer.footer {
  padding: 3rem 0;
  text-align: center;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  font-weight: 400;
}
}

.footer-socials a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s;
}

.footer-socials a:hover {
  color: var(--text);
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 960px)
════════════════════════════════════════════ */
@keyframes scMobileFromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scMobileFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 960px) {

  /* ── Global ── */
  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  /* ── Navbar ── */
  .navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 850;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.5rem 0.5rem 0.8rem;
    gap: 0;
    z-index: 800;
    animation: menuDrop .28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: top center;
  }

  @keyframes menuDrop {
    from {
      opacity: 0;
      transform: scaleY(0.88) translateY(-8px);
    }

    to {
      opacity: 1;
      transform: scaleY(1) translateY(0);
    }
  }

  .nav-links.open .nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.72rem 1rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    width: 100%;
    opacity: 0;
    transform: translateY(-6px);
    animation: linkFade .3s ease forwards;
  }

  .nav-links.open .nav-link:nth-child(1) {
    animation-delay: 0.05s;
  }

  .nav-links.open .nav-link:nth-child(2) {
    animation-delay: 0.10s;
  }

  .nav-links.open .nav-link:nth-child(3) {
    animation-delay: 0.15s;
  }

  .nav-links.open .nav-link:nth-child(4) {
    animation-delay: 0.20s;
  }

  .nav-links.open .nav-link:nth-child(5) {
    animation-delay: 0.25s;
  }

  .nav-links.open .nav-link:nth-child(6) {
    animation-delay: 0.30s;
  }

  @keyframes linkFade {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.open .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
  }

  .nav-links.open .nav-link.active {
    color: var(--accent);
    background: rgba(0, 245, 255, 0.08);
  }

  .nav-mobile-cta {
    display: inline-flex !important;
    margin: 0.5rem 0.5rem 0;
    width: calc(100% - 1rem);
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.78rem;
    border-radius: 8px;
    opacity: 0;
    animation: linkFade .3s ease .35s forwards;
  }

  .nav-logo {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    max-width: calc(100vw - 90px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ── Hero: full-bleed background photo ── */
  .hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
    padding: 0 1.8rem 0;
    position: relative;
    overflow: hidden;
    gap: 0;
    display: flex;
    align-items: flex-start;
  }

  .hero-right {
    display: flex !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .hero-photo-ring {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    animation: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hero-photo-ring::before,
  .hero-photo-ring::after {
    display: none !important;
  }

  .hero-photo-wrap {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .hero-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right 15% !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to right,
        rgba(0, 0, 0, 1.0) 0%,
        rgba(0, 0, 0, 0.98) 25%,
        rgba(0, 0, 0, 0.70) 50%,
        rgba(0, 0, 0, 0.10) 75%,
        transparent 100%),
      linear-gradient(to top,
        rgba(0, 0, 0, 0.80) 0%,
        transparent 25%),
      linear-gradient(to bottom,
        rgba(0, 0, 0, 0.70) 0%,
        transparent 18%);
    z-index: 1;
    pointer-events: none;
  }

  .hero-left {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding-top: 38vh;
    padding-bottom: 52px;
  }

  .hero-stats {
    gap: 1.6rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.2rem;
  }

  .hero-name {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .mobile-br {
    display: block;
  }

  .hero-tagline {
    font-size: 0.88rem;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-card {
    height: 420px;
    min-height: unset;
  }

  .service-card,
  .service-card.sc-from-left,
  .service-card.sc-from-top,
  .service-card.sc-from-bottom,
  .service-card.sc-from-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card.sc-mobile-left {
    animation: scMobileFromLeft 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    opacity: 0 !important;
  }

  .service-card.sc-mobile-right {
    animation: scMobileFromRight 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    opacity: 0 !important;
  }

  /* ── Project Hub Mobile ── */
  .lab-viewport {
    min-height: 320px;
    padding: 2rem 1rem;
  }

  .pcs-label {
    font-size: clamp(2rem, 12vw, 3.5rem);
    letter-spacing: 0.15em;
  }

  .lab-loader {
    width: 140px;
  }

  .lab-diagnostic {
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .diag-line {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
  }

  /* Radar Mobile Tweaks */
  .lab-radar {
    transform: scale(0.85);
  }

  /* ── About ── */
  .about-gate,
  .about-gate-seam,
  .about-gate-shockwave {
    display: none !important;
  }

  .about-surface {
    grid-template-columns: 1fr;
    min-height: unset;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .about-accent-line {
    display: none;
  }

  .about-surface-left {
    padding: 2rem 1.5rem;
    min-height: unset;
  }

  .about-bio-wrap {
    min-height: 200px;
  }

  .about-surface-left,
  .about-surface-right {
    padding: 2rem 1.5rem;
  }

  .about-surface-left {
    padding: 2rem 1.5rem;
    min-height: unset;
  }

  .about-bio {
    min-height: 120px;
    /* Allocated space to stop layout shift */
    display: block;
    margin-bottom: 1rem;
  }

  .about-surface-left::before {
    display: none;
  }

  .about-cta-row {
    gap: 1rem;
    padding-top: 1.4rem;
  }

  .about-stats-row {
    margin-top: 1.8rem;
    gap: 0.9rem;
  }

  .about-stat {
    padding: 1.2rem 1rem;
  }

  .about-stat-num {
    font-size: 1.8rem;
  }

  /* ── Skills pills ── */
  .sk-pool {
    gap: 0.55rem;
  }

  /* ── Contact ── */
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ct-row {
    grid-template-columns: 1fr 1fr;
  }

  .ct-email-val {
    font-size: 0.72rem;
  }

  .ct-bg-text {
    font-size: clamp(2.5rem, 12vw, 6rem);
  }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
════════════════════════════════════════════ */
@media (max-width: 600px) {

  /* ── Box model & overflow safety ── */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* ── Global sections ── */
  .section {
    padding: 44px 0;
  }

  .section-header {
    margin-bottom: 1.4rem;
  }

  .section-title {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .container {
    padding: 0 1rem;
  }

  /* ── Navbar ── */
  .nav-logo {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .nav-container {
    padding: 0 1rem;
  }

  /* ── Hero ── */
  .hero {
    padding: 0 1.2rem 0;
  }

  .hero-photo {
    object-position: right 10% !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .hero-left {
    gap: 1.2rem;
    padding-top: 38vh;
    padding-bottom: 44px;
  }

  .hero-tag {
    font-size: 0.6rem;
  }

  .hero-name {
    font-size: clamp(1.75rem, 8.5vw, 2.4rem);
    line-height: 1.1;
    font-weight: 800;
  }

  .mobile-br {
    display: block;
  }

  .hero-tagline {
    font-size: 0.82rem;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.7);
  }

  .hero-actions {
    flex-direction: row;
    gap: 0.7rem;
    flex-wrap: nowrap;
  }

  .hero-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 0.72rem 1rem;
  }

  .hero-stats {
    gap: 1rem;
    padding-top: 1rem;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.58rem;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    min-height: 380px;
    height: auto;
    padding: 1.1rem;
    overflow: hidden;
  }

  .card-header {
    gap: 0.6rem;
  }

  .card-icon-box {
    width: 34px;
    height: 34px;
  }

  .card-icon-box svg {
    width: 16px;
    height: 16px;
  }

  .card-title-group h3 {
    font-size: 0.9rem;
  }

  .card-subtitle {
    font-size: 0.62rem;
  }

  .status-badge {
    font-size: 0.62rem;
    padding: 0.28rem 0.7rem;
  }

  .ve-timeline {
    display: none;
  }

  .ve-timecode {
    font-size: 0.6rem;
  }

  .w3-ticker {
    min-height: 80px;
  }

  .w3-stats {
    gap: 0.6rem;
  }

  .gd-toolbar {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .fs-tabs {
    gap: 0.3rem;
  }

  .fs-tab {
    font-size: 0.65rem;
    padding: 0.28rem 0.7rem;
  }

  .fs-item {
    font-size: 0.74rem;
  }

  /* ── Marquee ── */
  .marquee-inner {
    gap: 1.4rem;
  }

  .marquee-inner span {
    font-size: 0.68rem;
  }

  /* ── About ── */
  .about-gate,
  .about-gate-seam,
  .about-gate-shockwave {
    display: none !important;
  }

  .about-surface-left,
  .about-surface-right {
    padding: 1.5rem 1rem;
  }

  .about-bio {
    font-size: 0.78rem;
    line-height: 1.8;
    min-height: 160px;
    /* Allocated space for mobile */
    display: block;
  }

  .about-headline {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .about-cta-row {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    padding-top: 1.4rem;
  }

  .about-cta-row .btn {
    padding: 0.65rem 1.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .about-see-work {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .about-stats-row {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.2rem;
  }

  .about-stat {
    padding: 0.9rem 0.7rem;
    border-radius: 12px;
    max-width: none;
  }

  .about-stat-num {
    font-size: 1.3rem;
  }

  .about-stat-label {
    font-size: 0.58rem;
  }

  .about-accent-line {
    display: none;
  }

  /* ── Skills section ── */
  .sk-header {
    text-align: center !important;
  }

  .sk-pool {
    gap: 0.4rem;
    justify-content: center;
  }

  .sk-pill {
    font-size: 0.62rem;
    padding: 0.42rem 0.9rem;
    letter-spacing: 0.04em;
  }

  .sk-tooltip {
    display: none !important;
  }

  .about-stats-row.reveal {
    gap: 0.5rem;
  }

  .about-stat {
    flex: 1 1 calc(33% - 0.5rem);
    text-align: center;
  }

  /* ── Projects ── */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-card {
    min-height: 240px;
  }

  .project-title {
    font-size: 0.95rem;
  }

  .project-desc {
    font-size: 0.75rem;
  }

  .pcs-icon svg {
    width: 28px;
    height: 28px;
  }

  .pcs-label {
    font-size: 1.1rem;
  }

  .pcs-note {
    font-size: 0.74rem;
  }

  /* ── Contact ── */
  .ct-bg-text {
    display: none;
  }

  .ct-grid {
    gap: 2.5rem;
  }

  .ct-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ct-avail {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
  }

  .ct-avail-dot {
    width: 7px;
    height: 7px;
  }

  .ct-sub {
    font-size: 0.76rem;
    max-width: 100%;
    line-height: 1.65;
  }

  .ct-email-card {
    padding: 0.75rem 1rem;
    gap: 0.7rem;
  }

  .ct-email-label {
    font-size: 0.62rem;
  }

  .ct-email-val {
    font-size: 0.65rem;
  }

  .ct-email-icon {
    width: 32px;
    height: 32px;
  }

  .ct-socials {
    gap: 0.38rem;
  }

  .ct-social {
    font-size: 0.65rem;
    padding: 0.36rem 0.72rem;
    gap: 0.35rem;
  }

  .ct-social svg {
    width: 12px;
    height: 12px;
  }

  .ct-stats {
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
  }

  .ct-stat-val {
    font-size: 0.82rem;
  }

  .ct-stat-lbl {
    font-size: 0.56rem;
  }

  .ct-form-header {
    padding: 0.65rem 1rem;
  }

  .ct-form {
    padding: 1.5rem 1.2rem;
    gap: 1.2rem;
  }

  .ct-field {
    margin-bottom: 0;
  }

  .ct-field input,
  .ct-field textarea {
    padding: 1.1rem 1rem;
    font-size: 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .ct-field label {
    font-size: 0.85rem;
    top: 1.1rem;
    left: 1rem;
  }

  .ct-field input:focus+label,
  .ct-field textarea:focus+label,
  .ct-field input:not(:placeholder-shown)+label,
  .ct-field textarea:not(:placeholder-shown)+label {
    transform: translateY(-2.2rem) scale(0.8);
    left: 0;
  }

  .ct-submit {
    padding: 0.8rem 1.4rem;
    font-size: 0.82rem;
    width: 100%;
  }

  /* ── Footer ── */
  footer.footer {
    padding: 1.4rem 0;
  }

  .footer-copy {
    font-size: 0.65rem;
    text-align: center;
  }
}