/* =========================================================
   CREATIVE KAUSHIK — VIDEO EDITOR & COLORIST PORTFOLIO
   style.css
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: scroll;
  overscroll-behavior-x: none;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
}

body, h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

input, textarea, select {
  font: inherit;
}

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  --c-void: #07040d;
  --c-bg: #0b0713;
  --c-bg-alt: #100a1e;
  --c-purple-950: #180a2e;
  --c-purple-800: #3a1370;
  --c-purple-600: #7c3aed;
  --c-neon: #a855f7;
  --c-neon-soft: #c9a3ff;
  --c-neon-bright: #d8b4fe;
  --c-red: #ff4d6d;
  --c-text: #f5f1fb;
  --c-text-soft: #beb0d8;
  --c-text-mute: #7d6f97;

  --c-glass-bg: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.015));
  --c-glass-purple-bg: linear-gradient(135deg, rgba(168,85,247,0.20), rgba(88,28,135,0.10));
  --c-glass-border: rgba(255,255,255,0.14);
  --c-glass-border-purple: rgba(200,163,255,0.28);

  --shadow-glass: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 34px rgba(0,0,0,0.5), 0 0 46px rgba(168,85,247,0.10);
  --shadow-glass-lg: inset 0 1px 0 rgba(255,255,255,0.18), 0 24px 60px rgba(0,0,0,0.55), 0 0 70px rgba(168,85,247,0.14);
  --shadow-glow: 0 0 0 1px rgba(168,85,247,0.35), 0 0 26px rgba(168,85,247,0.45);

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1280px;
  --pad-inline: clamp(1.25rem, 5vw, 4rem);
  --space-section: clamp(4rem, 8vw, 7.5rem);
  --space-lg: clamp(2rem, 4vw, 3.5rem);
  --space-md: clamp(1.25rem, 2.4vw, 2rem);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.4,.0,.2,1);
}

html, body {
  background: var(--c-bg);
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,0.20), transparent 60%),
    var(--c-void);
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100vh;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--c-neon);
  color: #10041f;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- 3. UTILITIES ---------- */
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-neon-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.dot-sep {
  color: var(--c-neon);
  opacity: .7;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 8px rgba(255,77,109,0.9);
  display: inline-block;
  animation: pulseRec 1.6s ease-in-out infinite;
}

.glass, .glass-purple {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  background: var(--c-glass-bg);
  box-shadow: var(--shadow-glass);
  isolation: isolate;
}

.glass-purple {
  background: var(--c-glass-purple-bg);
  border-color: var(--c-glass-border-purple);
  box-shadow: var(--shadow-glass-lg);
}

.glass::before, .glass-purple::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(200,163,255,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .7;
  z-index: 1;
}

.glass::after, .glass-purple::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
  border-radius: inherit;
  pointer-events: none;
  opacity: .5;
  z-index: 1;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}

.btn .btn-arrow, .btn .btn-icon {
  transition: transform .3s var(--ease-out);
}

.btn-primary {
  color: #12041f;
  background: linear-gradient(135deg, var(--c-neon-bright), var(--c-neon) 60%, var(--c-purple-600));
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 22px rgba(168,85,247,0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168,85,247,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary:hover .btn-icon {
  transform: scale(1.12);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  color: var(--c-text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(168,85,247,0.12);
  border-color: rgba(200,163,255,0.45);
  box-shadow: 0 8px 24px rgba(168,85,247,0.22);
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--c-neon-bright);
  outline-offset: 3px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-glass-border);
  font-size: 0.82rem;
  color: var(--c-text-soft);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}

.chip:hover {
  background: rgba(168,85,247,0.14);
  border-color: rgba(200,163,255,0.4);
  transform: translateY(-2px);
  color: var(--c-text);
}

/* ---------- 4. PAGE LOADER ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--c-void);
  transition: opacity .6s var(--ease-out), visibility 0s linear .6s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.loader-count {
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(160deg, #fff, var(--c-neon-bright) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader-label {
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--c-text-mute);
}

.loader-float {
  position: absolute;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(168,85,247,0.28), rgba(20,10,35,0.6));
  border: 1px solid rgba(255,255,255,0.08);
  opacity: .7;
}

.lf-a {
  width: 46px;
  height: 30px;
  top: 38%;
  left: 32%;
  animation: loaderFloat 4.5s ease-in-out infinite;
}

.lf-b {
  width: 34px;
  height: 24px;
  top: 46%;
  left: 26%;
  animation: loaderFloat 5.5s ease-in-out infinite .4s;
}

.lf-c {
  width: 30px;
  height: 20px;
  top: 58%;
  right: 28%;
  animation: loaderFloat 5s ease-in-out infinite .8s;
}

/* ---------- 5. AMBIENT LAYERS ---------- */
.ambient-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 65%);
  transform: translate(calc(var(--mx, 50vw) - 50%), calc(var(--my, 30vh) - 50%));
  transition: opacity .4s ease;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    opacity: 1;
  }
}

/* ---------- 6. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem clamp(0.75rem, 3vw, 1.5rem) 0;
  transition: padding 0.4s var(--ease-out);
}

.navbar-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0.6rem 0.8rem 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 9, 26, 0.45);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out), transform .4s var(--ease-out);
}

.navbar.is-scrolled .navbar-inner {
  background: rgba(12, 7, 22, 0.82);
  border-color: rgba(200, 163, 255, 0.22);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 28px rgba(168, 85, 247, 0.15);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: .92rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  color: var(--c-neon-bright);
  display: inline-flex;
  transition: transform .3s var(--ease-out);
}

.nav-brand:hover .brand-mark {
  transform: scale(1.1) rotate(-4deg);
}

.brand-accent {
  color: var(--c-neon);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
  margin-inline: auto;
}

.nav-links a {
  font-size: .84rem;
  font-weight: 600;
  color: var(--c-text-soft);
  display: inline-block;
  white-space: nowrap;
  position: relative;
  padding: .35rem .25rem;
  transition: color .25s ease, transform .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-neon-bright));
  border-radius: 2px;
  transition: width .3s var(--ease-out), left .3s var(--ease-out), opacity .3s ease;
  opacity: 0;
}

.nav-links a:hover {
  color: var(--c-text);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
  left: 0;
  opacity: 1;
}

.nav-links a.is-active {
  color: var(--c-text);
  font-weight: 700;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .74rem;
  color: var(--c-text-mute);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-timecode {
  color: var(--c-neon-soft);
  min-width: 5.6em;
  display: inline-block;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-glass-border);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.nav-toggle:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(200, 163, 255, 0.4);
  transform: scale(1.04);
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background 0.3s ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
  background: var(--c-neon-bright);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
  background: var(--c-neon-bright);
}

.nav-mobile {
  position: fixed;
  top: calc(1rem + 54px);
  left: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  max-width: 480px;
  margin: 0.5rem auto 0;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(13, 8, 24, 0.96);
  border: 1px solid rgba(200, 163, 255, 0.25);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s linear;
  pointer-events: none;
  z-index: 105;
}

.nav-mobile a {
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text-soft);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-mobile a:hover {
  background: rgba(168, 85, 247, 0.14);
  color: #fff;
  transform: translateX(4px);
}

.nav-mobile .btn {
  margin-top: 0.75rem;
  justify-content: center;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(6rem, 14vh, 9rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}

.blob-a {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -14%;
  right: -8%;
  background: radial-gradient(circle, rgba(124,58,237,0.55), transparent 70%);
  animation: blobFloat 16s ease-in-out infinite;
}

.blob-b {
  width: 34vw;
  height: 34vw;
  max-width: 480px;
  max-height: 480px;
  bottom: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(168,85,247,0.4), transparent 70%);
  animation: blobFloat 20s ease-in-out infinite reverse;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 75%);
}

.frame-marks {
  position: absolute;
  inset: clamp(1rem,3vw,2.25rem);
  z-index: 1;
  pointer-events: none;
}

.fm {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(200,163,255,0.4);
  opacity: .8;
}

.fm-tl { top: 0; left: 0; border-top: 1.5px solid; border-left: 1.5px solid; }
.fm-tr { top: 0; right: 0; border-top: 1.5px solid; border-right: 1.5px solid; }
.fm-bl { bottom: 0; left: 0; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.fm-br { bottom: 0; right: 0; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.ht-line {
  display: block;
}

.ht-accent {
  background: linear-gradient(100deg, var(--c-neon-bright), var(--c-neon) 45%, var(--c-purple-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--c-text-soft);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: var(--c-text-mute);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: clamp(360px, 46vw, 520px);
}

.glass-stage {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-object {
  position: relative;
  width: min(420px, 90%);
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-14deg);
  animation: heroFloat 7s ease-in-out infinite;
  will-change: transform;
}

.timeline-panel {
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
}

.panel-back {
  position: absolute;
  width: 88%;
  height: 120px;
  left: 6%;
  top: -34px;
  transform: translateZ(-70px) rotateZ(-3deg);
  opacity: .55;
}

.mini-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 10px;
}

.mini-track:last-child {
  width: 70%;
}

.panel-main {
  position: relative;
  transform: translateZ(10px);
  width: 100%;
}

.panel-label {
  font-size: .66rem;
  color: var(--c-neon-soft);
  margin-bottom: .9rem;
}

.clip-track {
  display: flex;
  gap: 6px;
  height: 34px;
  margin-bottom: 1rem;
}

.clip {
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(168,85,247,0.55), rgba(88,28,135,0.55));
  border: 1px solid rgba(255,255,255,0.18);
}

.clip-1 { flex: 1.3; }
.clip-2 { flex: 0.8; background: linear-gradient(160deg, rgba(216,180,254,0.5), rgba(124,58,237,0.5)); }
.clip-3 { flex: 1.6; }
.clip-4 { flex: 1; background: linear-gradient(160deg, rgba(216,180,254,0.4), rgba(88,28,135,0.6)); }

.playhead {
  position: absolute;
  top: 44px;
  bottom: 44px;
  width: 2px;
  background: var(--c-neon-bright);
  box-shadow: 0 0 10px rgba(216,180,254,0.9);
}

.playhead-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-neon-bright);
  box-shadow: 0 0 10px rgba(216,180,254,0.9);
}

.panel-timecode {
  font-size: .7rem;
  color: var(--c-text-soft);
}

.waveform-panel {
  position: absolute;
  left: 4%;
  bottom: -46px;
  width: 62%;
  height: 92px;
  transform: translateZ(55px) rotateZ(2deg);
  padding: 1rem 1.1rem;
}

.wave-row {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 100%;
}

.wave-row span {
  flex: 1;
  min-width: 2px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c-neon-soft), var(--c-purple-600));
  animation: waveBounce 1.6s ease-in-out infinite;
}

.badge-chip {
  position: absolute;
  padding: .5rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .66rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}

.chip-a {
  top: -8%;
  right: -4%;
  transform: translateZ(90px);
  animation: chipFloat 5s ease-in-out infinite;
}

.chip-b {
  bottom: -14%;
  right: 6%;
  transform: translateZ(75px);
  animation: chipFloat 6.5s ease-in-out infinite reverse;
  color: var(--c-neon-bright);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .66rem;
  color: var(--c-text-mute);
  z-index: 2;
}

.scroll-line {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-line-fill {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--c-neon), var(--c-neon-bright));
  animation: scrollLineMove 2.4s ease-in-out infinite;
}

/* ---------- 8. MARQUEE ---------- */
.marquee {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--c-text-mute);
  white-space: nowrap;
}

.marquee-group span:not(.m-dot) {
  transition: color .3s ease;
}

.m-dot {
  color: var(--c-neon);
  font-size: .6rem;
}

/* ---------- 9. SERVICES ---------- */
.services {
  padding-block: var(--space-section);
}

.services-head {
  position: relative;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-bignum {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: .8;
  color: rgba(255,255,255,0.05);
  margin-bottom: -.9rem;
  pointer-events: none;
  user-select: none;
}

.services-head .eyebrow {
  margin-bottom: 0;
}

.services-list {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.service-row {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-row-top {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(.5rem, 2vw, 1rem);
  text-align: left;
  cursor: pointer;
  transition: padding-left .35s var(--ease-out);
}

.service-idx {
  color: var(--c-text-mute);
  font-size: .8rem;
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  color: var(--c-text-mute);
  transition: color .35s var(--ease-out);
  flex: 1;
}

.service-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--c-neon-bright);
  box-shadow: 0 0 10px rgba(216,180,254,0.8);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}

.service-row-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}

.service-row-body-inner {
  overflow: hidden;
  min-height: 0;
}

.service-row-body-inner > * {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-inline: clamp(.5rem, 2vw, 1rem) clamp(.5rem, 2vw, 1rem);
  padding-left: calc(clamp(.5rem, 2vw, 1rem) + 2.6rem);
}

.service-row.is-open .service-row-body {
  grid-template-rows: 1fr;
}

.service-row.is-open .service-row-top {
  padding-left: clamp(1rem, 3vw, 1.75rem);
}

.service-row.is-open .service-title {
  color: var(--c-text);
}

.service-row.is-open .service-dot {
  opacity: 1;
  transform: scale(1);
}

.service-row:not(.is-open) .service-row-top:hover .service-title {
  color: var(--c-text-soft);
}

/* ---------- 10. ABOUT / BENTO ---------- */
.about, .portfolio, .reels, .process, .testimonials, .cta {
  padding-block: var(--space-section);
}

.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: none;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.bento-card {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  position: relative;
}

.bento-bio {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bio-portrait {
  position: relative;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(150deg, #2a1150, #0d0618 70%);
  display: flex;
  align-items: flex-end;
  padding: .75rem;
}

.bio-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(.15) contrast(1.05);
}

.bio-portrait-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 30% 20%, rgba(216,180,254,0.35), transparent 55%), radial-gradient(circle at 75% 80%, rgba(124,58,237,0.4), transparent 60%), linear-gradient(180deg, rgba(10,4,20,0.05), rgba(10,4,20,0.55));
}

.wave-deco {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 28px;
  color: rgba(216,180,254,0.75);
}

.bio-kicker {
  color: var(--c-neon-soft);
  font-size: .68rem;
  margin-bottom: .4rem;
}

.bio-text p {
  color: var(--c-text-soft);
  font-size: .93rem;
  margin-bottom: .6rem;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.bento-stat {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .4rem;
  text-align: center;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--c-neon-bright);
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  color: var(--c-text-mute);
}

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

.bento-label {
  color: var(--c-text-mute);
  font-size: .68rem;
  margin-bottom: 1rem;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.bento-quote {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--c-neon);
  opacity: .5;
  line-height: 1;
  margin-bottom: -.5rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  margin-bottom: .9rem;
}

.quote-tc {
  color: var(--c-text-mute);
  font-size: .72rem;
}

/* ---------- 11. AI WORKFLOW ---------- */
.ai-workflow {
  padding-block: var(--space-section);
}

.ai-workflow-lead {
  max-width: 56ch;
  color: var(--c-text-soft);
  margin-top: -.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ai-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-top: 2.75rem;
}

.ai-steps-track {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
}

.ai-steps-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--c-neon), var(--c-neon-bright));
  transition: width 1.4s var(--ease-out);
}

.ai-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .4rem;
}

.ai-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-neon-bright);
  box-shadow: 0 0 10px rgba(216,180,254,0.6);
  margin-bottom: 1.4rem;
  z-index: 2;
}

.ai-step-idx {
  color: var(--c-text-mute);
  font-size: .68rem;
  margin-top: .4rem;
}

.ai-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.ai-step p {
  font-size: .82rem;
  color: var(--c-text-soft);
}

.ai-step-card {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  text-align: left;
  background: linear-gradient(150deg, #2a1150, #0d0618 75%);
}

.ai-card-idea {
  background: #0d0a14;
  border: 1px solid rgba(255,255,255,0.08);
  padding: .8rem;
  display: flex;
  flex-direction: column;
}

.ai-idea-dots {
  display: flex;
  gap: 5px;
  margin-bottom: .6rem;
}

.ai-idea-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.ai-idea-label {
  font-size: .58rem;
  color: var(--c-neon-soft);
  margin-bottom: .5rem;
  align-self: flex-end;
}

.ai-idea-text {
  font-size: .66rem;
  line-height: 1.5;
  color: var(--c-text-soft);
  flex: 1;
}

.ai-idea-cursor {
  width: 2px;
  height: 12px;
  background: var(--c-neon-bright);
  display: inline-block;
  animation: blinkCursor 1s step-end infinite;
}

.ai-step-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ai-card-image {
  background: linear-gradient(150deg, #4c1d95, #14071f 75%);
}

.ai-card-gen {
  background: linear-gradient(150deg, #6d28d9, #16081f 75%);
  display: flex;
  align-items: flex-end;
  padding: .7rem;
}

.ai-card-gen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(10,4,20,0.65));
}

.ai-card-spark {
  position: relative;
  z-index: 2;
  font-size: .64rem;
  color: var(--c-neon-bright);
  background: rgba(0,0,0,0.4);
  padding: .25rem .55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
}

.ai-card-sound {
  background: #0d0a14;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.ai-sound-wave {
  width: 82%;
  height: 24px;
  color: rgba(216,180,254,0.7);
}

.ai-sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.ai-sound-bars span {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-neon-soft), var(--c-purple-600));
  animation: waveBounce 1.6s ease-in-out infinite;
}

.ai-sound-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.ai-sound-bars span:nth-child(2) { height: 75%; animation-delay: .1s; }
.ai-sound-bars span:nth-child(3) { height: 100%; animation-delay: .2s; }
.ai-sound-bars span:nth-child(4) { height: 55%; animation-delay: .3s; }
.ai-sound-bars span:nth-child(5) { height: 85%; animation-delay: .4s; }
.ai-sound-bars span:nth-child(6) { height: 35%; animation-delay: .5s; }
.ai-sound-bars span:nth-child(7) { height: 65%; animation-delay: .6s; }
.ai-sound-bars span:nth-child(8) { height: 45%; animation-delay: .7s; }

.ai-card-final {
  cursor: default;
  pointer-events: none;
  background: linear-gradient(150deg, #7c3aed, #1e0b3a 75%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .7rem;
}

.ai-card-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,4,20,0.35), rgba(10,4,20,0.15) 40%, rgba(10,4,20,0.7));
}

.ai-final-tag {
  position: relative;
  z-index: 2;
  font-size: .58rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: .2rem .5rem;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.15);
}

.ai-final-title {
  position: relative;
  z-index: 2;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- 12. PORTFOLIO ---------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.filter-btn {
  padding: .55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text-mute);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.filter-btn:hover {
  color: var(--c-text);
  border-color: rgba(200,163,255,0.3);
}

.filter-btn.is-active {
  color: #12041f;
  background: linear-gradient(135deg, var(--c-neon-bright), var(--c-neon));
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.project-card {
  border-radius: var(--radius-lg);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

article.project-card.is-filter-pre {
  transition: none;
  opacity: 0;
  transform: translateY(26px);
}

.project-card.is-hidden {
  display: none;
}

.project-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #3a1470 0%, #170a2b 55%, #0a0512 100%);
  cursor: pointer;
}

.thumb-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease-out);
}

.project-card:hover .thumb-poster,
.project-card:focus-within .thumb-poster,
.reel-card:hover .thumb-poster,
.reel-card:focus-within .thumb-poster {
  transform: scale(1.04);
}

.project-thumb::before, .reel-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.32), rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.4));
  pointer-events: none;
}

.thumb-tag, .thumb-tc {
  position: absolute;
  font-size: .66rem;
  color: rgba(255,255,255,0.85);
  z-index: 2;
  letter-spacing: .04em;
}

.thumb-tag {
  top: 5%;
  left: 4%;
  padding: .3rem .6rem;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.16);
}

.thumb-tc {
  top: 5%;
  right: 4%;
  padding: .3rem .55rem;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.16);
}

.project-play, .reel-play {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.reel-play {
  width: 48px;
  height: 48px;
}

.project-card:hover .project-play,
.project-card:focus-within .project-play,
.reel-card:hover .reel-play,
.reel-card:focus-within .reel-play {
  background: var(--c-neon);
  box-shadow: 0 0 26px rgba(168,85,247,0.55);
  transform: scale(1.06);
}

.project-info {
  padding: 1.1rem .15rem 0;
}

.pi-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .35rem;
}

.pi-top h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pi-top h3 a {
  transition: color 0.25s ease;
}

.pi-top h3 a:hover {
  color: var(--c-neon-bright);
}

.pi-role {
  font-size: .64rem;
  color: var(--c-neon-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-info p {
  font-size: .86rem;
  color: var(--c-text-soft);
}

.portfolio-empty {
  text-align: center;
  padding: 3rem 0;
  color: var(--c-text-mute);
}

/* Graphic Design work */
.graphic-card.is-hidden-extra {
  display: none;
}

.graphic-card .project-thumb {
  cursor: pointer;
  display: flex;
}

.graphic-view {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background .3s var(--ease-out);
}

.graphic-card:hover .graphic-view,
.graphic-card:focus-within .graphic-view {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: var(--c-neon);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  color: var(--c-text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-glass-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  background: rgba(168,85,247,0.12);
  border-color: rgba(200,163,255,0.45);
}

.load-more-btn:active {
  transform: translateY(0);
}

.load-more-btn .load-more-icon {
  transition: transform .35s var(--ease-out);
}
.load-more-btn.is-expanded .load-more-icon {
  transform: rotate(180deg);
}

/* ---------- 13. REELS ---------- */
.reels-controls {
  display: flex;
  gap: .6rem;
}

.reel-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-glass-border);
  color: var(--c-text);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}

.reel-nav:hover {
  background: rgba(168,85,247,0.16);
  border-color: rgba(200,163,255,0.4);
  transform: translateY(-2px);
}

.reels-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.reels-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 6vw, 5rem);
  z-index: 10;
  pointer-events: none;
}

.reels-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--c-bg) 0%, rgba(11, 7, 19, 0) 100%);
}

.reels-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--c-bg) 0%, rgba(11, 7, 19, 0) 100%);
}

.reels-track {
  display: flex;
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-block: 1rem 2rem;
  padding-left: max(var(--pad-inline), calc((100% - var(--container-max)) / 2 + var(--pad-inline)));
  padding-right: max(var(--pad-inline), 3rem);
  scrollbar-width: none;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black clamp(2rem, 5vw, 4rem),
    black calc(100% - clamp(2rem, 5vw, 4rem)),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black clamp(2rem, 5vw, 4rem),
    black calc(100% - clamp(2rem, 5vw, 4rem)),
    transparent 100%
  );
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 auto;
  width: clamp(210px, 22vw, 260px);
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease-out);
}

.reel-card:hover {
  transform: translateY(-6px);
}

.reel-thumb {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #3a1470, #12081f 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reel-card:hover .reel-thumb {
  border-color: rgba(200, 163, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(168, 85, 247, 0.25);
}

.reel-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.6rem .9rem .8rem;
  background: linear-gradient(180deg, transparent, rgba(5,2,10,0.88) 70%);
}

.reel-title {
  font-family: var(--font-display);
  font-size: .82rem;
  margin-bottom: .3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-meta {
  font-size: .62rem;
  color: var(--c-text-soft);
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ---------- 14. PROCESS ---------- */
.process {
  padding-block: var(--space-section);
}

.approach-timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
  padding-block: clamp(1rem, 3vw, 2rem) .5rem;
}

.approach-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
  transform: translateX(-50%);
}

.approach-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--c-neon), var(--c-neon-bright));
  transition: height 1.6s var(--ease-out);
}

.approach-step {
  position: relative;
  width: calc(50% - 2.75rem);
}

.approach-step:nth-child(odd) {
  margin-right: auto;
}

.approach-step:nth-child(even) {
  margin-left: auto;
}

.approach-step::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 2rem;
  background: rgba(255,255,255,0.14);
}

.approach-step:nth-child(odd)::after {
  right: -2rem;
}

.approach-step:nth-child(even)::after {
  left: -2rem;
}

.approach-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-neon-bright);
  box-shadow: 0 0 12px rgba(216,180,254,0.6);
  z-index: 2;
}

.approach-step:nth-child(odd) .approach-dot {
  right: -2.75rem;
}

.approach-step:nth-child(even) .approach-dot {
  left: -2.75rem;
}

.approach-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.approach-idx {
  display: block;
  color: var(--c-text-mute);
  font-size: 1.3rem;
  font-weight: 700;
  opacity: .55;
  margin-bottom: .4rem;
}

.approach-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.approach-card p {
  font-size: .85rem;
  color: var(--c-text-soft);
}

/* ---------- 15. TESTIMONIALS ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.testimonial-card {
  padding: clamp(1.4rem, 2.2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-card p {
  font-size: .95rem;
  color: var(--c-text-soft);
  line-height: 1.55;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.tm-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-neon-bright), var(--c-purple-600));
  color: #12041f;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .88rem;
}

.testimonial-card footer span {
  font-size: .68rem;
  color: var(--c-text-mute);
}

/* ---------- 16. CTA / CONTACT FORM ---------- */
.cta-lead {
  color: var(--c-text-soft);
  max-width: 46ch;
  margin-top: .5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: start;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-tc {
  color: var(--c-neon-soft);
  font-size: .72rem;
  margin-bottom: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.form-row .field {
  margin-bottom: 0;
}

.field label {
  font-size: .74rem;
  color: var(--c-text-soft);
  font-weight: 600;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.field input::placeholder, .field textarea::placeholder {
  color: var(--c-text-mute);
}

.field input:hover, .field select:hover, .field textarea:hover {
  border-color: rgba(255,255,255,0.24);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-neon-bright);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.22);
  background: rgba(0,0,0,0.3);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23beb0d8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.form-note {
  font-size: .68rem;
  color: var(--c-text-mute);
}

.contact-side {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.cta-tc {
  color: var(--c-neon-soft);
  font-size: .78rem;
  margin-bottom: .5rem;
}

.contact-side-label {
  color: var(--c-text-mute);
  font-size: .66rem;
  margin-top: 1.2rem;
  margin-bottom: .6rem;
}

.contact-side-label:first-of-type {
  margin-top: 0;
}

.contact-whatsapp-btn, .contact-email-btn {
  width: 100%;
  justify-content: center;
  gap: .6rem;
  font-size: 0.88rem;
}

.contact-whatsapp-btn:hover {
  border-color: rgba(74,222,128,0.5);
  background: rgba(74,222,128,0.12);
  color: #86efac;
}

.contact-email-btn:hover {
  border-color: rgba(168,85,247,0.5);
  background: rgba(168,85,247,0.16);
  color: var(--c-neon-bright);
}

.contact-avail {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  color: var(--c-text-soft);
  margin-top: 1.2rem;
}

/* Animated Social Icons */
.cta-socials {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-socials a {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-glass-border);
  color: var(--c-text-soft);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-socials a svg {
  width: 19px;
  height: 19px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-socials a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(216, 180, 254, 0.35), transparent 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cta-socials a:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(200, 163, 255, 0.6);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.35), 0 0 16px rgba(168, 85, 247, 0.25);
  color: #ffffff;
  background: rgba(168, 85, 247, 0.22);
}

.cta-socials a:hover::before {
  opacity: 1;
  transform: scale(1.15);
}

.cta-socials a:hover svg {
  transform: scale(1.12) rotate(-5deg);
  filter: drop-shadow(0 2px 8px rgba(216, 180, 254, 0.6));
}

.cta-socials a:active {
  transform: translateY(-1px) scale(1.02);
}

/* ---------- 17. FOOTER ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .85rem;
  color: var(--c-text-soft);
  transition: color .25s ease;
}

.footer-links a:hover {
  color: var(--c-text);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: var(--c-text-mute);
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-glass-border);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease-out);
}

.back-to-top:hover {
  background: rgba(168,85,247,0.16);
  border-color: rgba(200,163,255,0.4);
  transform: translateY(-3px);
}

.footer-copy {
  text-align: center;
  font-size: .72rem;
  color: var(--c-text-mute);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- 18. VIDEO PREVIEW MODAL ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s var(--ease-out);
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,2,10,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  padding: clamp(.6rem, 1.6vw, 1rem);
  transform: scale(.94) translateY(14px);
  transition: transform .35s var(--ease-out);
}

.video-modal.is-open .video-modal-panel {
  transform: scale(1) translateY(0);
}

.video-modal-panel.is-vertical {
  width: min(380px, 100%);
}

.video-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-neon);
  color: #12041f;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 24px rgba(168,85,247,0.5);
  transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}

.video-modal-close:hover {
  transform: rotate(90deg) scale(1.08);
  background: var(--c-neon-bright);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-modal-panel.is-vertical .video-modal-frame {
  aspect-ratio: 9/16;
  max-height: 82vh;
  width: auto;
  margin-inline: auto;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ PROJECT DEDICATED PAGE ============ */
.project-detail-body {
  padding-top: clamp(3rem, 8vh, 5.5rem);
  padding-bottom: 5rem;
}

.project-page-container {
  max-width: min(1120px, 92vw);
  margin-inline: auto;
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.project-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.project-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--c-text-soft);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-glass-border);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.project-back-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  color: #fff;
  transform: translateX(-3px);
}

.project-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-glass-border);
  color: #fff;
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}

.project-close-btn:hover {
  transform: rotate(90deg) scale(1.08);
  background: var(--c-neon);
}

.project-header-panel {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
}

.case-tag {
  display: inline-block;
  font-size: .68rem;
  color: var(--c-neon-soft);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
  margin-bottom: .75rem;
}

.case-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}

.case-label {
  font-size: .66rem;
  color: var(--c-text-mute);
  letter-spacing: .08em;
  margin-bottom: .45rem;
}

.case-role {
  font-size: .92rem;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}

.case-deliverables {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.case-deliverables li {
  font-size: .88rem;
  color: var(--c-text-soft);
  padding-left: 1rem;
  position: relative;
}

.case-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-neon-bright);
}

.case-description {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--c-text-soft);
}

.case-banner {
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--c-text);
  background: linear-gradient(120deg, rgba(124,58,237,0.35), rgba(88,28,135,0.25));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Stacked cards container: exactly matching header width and margins */
.project-cards-stack {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Base image card styling */
.project-image-card {
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(155deg, #180a2e 0%, #0b0713 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 35px rgba(168, 85, 247, 0.1);
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

/* 1st image is THUMBNAIL size (16:9 widescreen) */
.project-image-card:first-child,
.project-image-card.card-thumbnail {
  aspect-ratio: 16 / 9;
}

/* Subsequent images are A4 container size (210 / 297 standard ratio) */
.project-image-card:not(:first-child),
.project-image-card.card-a4 {
  aspect-ratio: 210 / 297;
}

.project-image-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 163, 255, 0.45);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 45px rgba(168, 85, 247, 0.22);
}

.project-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.project-image-card:hover img {
  transform: scale(1.025);
}

.project-nav-footer {
  width: 100%;
  box-sizing: border-box;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- 19. REVEAL / SCROLL ANIMATIONS ---------- */
[data-reveal] {
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out), filter .75s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 90ms);
  will-change: opacity, transform;
}

[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
}

[data-reveal="fade"] {
  opacity: 0;
}

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

/* ---------- 20. KEYFRAMES ---------- */
@keyframes pulseRec {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.06); }
}

@keyframes heroFloat {
  0%, 100% { transform: rotateX(8deg) rotateY(-14deg) translateY(0); }
  50% { transform: rotateX(6deg) rotateY(-11deg) translateY(-14px); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateZ(80px) translateY(0); }
  50% { transform: translateZ(80px) translateY(-10px); }
}

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

@keyframes scrollLineMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

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

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

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

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

/* ---------- 21. FULL RESPONSIVE SYSTEM ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: clamp(320px, 60vw, 420px);
    order: -1;
    margin-bottom: 1rem;
  }
  .nav-links, .nav-meta {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .bento-bio {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }
  .bento-tools, .bento-quote {
    grid-column: span 2 !important;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .ai-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
    padding-top: 1rem;
  }
  .ai-steps-track {
    display: none;
  }
  .ai-step-dot {
    display: none;
  }
  .approach-step {
    width: calc(50% - 2rem);
  }
  .approach-step:nth-child(odd) .approach-dot {
    right: -2rem;
  }
  .approach-step:nth-child(even) .approach-dot {
    left: -2rem;
  }
  .approach-step:nth-child(odd)::after {
    right: -1.5rem;
    width: 1.5rem;
  }
  .approach-step:nth-child(even)::after {
    left: -1.5rem;
    width: 1.5rem;
  }
}

@media (max-width: 720px) {
  :root {
    --pad-inline: 1rem;
  }
  .navbar {
    padding-top: .75rem;
  }
  .navbar-inner {
    padding: .5rem .6rem .5rem .9rem;
  }
  .nav-links, .nav-meta, .nav-cta {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  .hero {
    padding-top: 5.5rem;
    min-height: unset;
    padding-bottom: 2.5rem;
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    text-align: center;
  }
  .hero-visual {
    height: 280px;
  }
  .glass-object {
    width: 90%;
  }
  .frame-marks {
    display: none;
  }
  .marquee-group {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Bento Grid Mobile Fix: strictly 1 column so cards never get squeezed */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .bento-bio, .bento-tools, .bento-quote, .bento-stat {
    grid-column: span 1 !important;
  }
  .bio-portrait {
    height: 180px;
  }
  
  .service-row-top {
    gap: .75rem;
  }
  .service-title {
    font-size: clamp(1.25rem, 6.5vw, 1.75rem);
  }
  .service-tags {
    padding-left: .5rem;
    margin-left: .5rem;
  }
  
  /* AI steps scrollable */
  .ai-steps {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.1rem;
    padding: 2.5rem 1.25rem .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ai-steps::-webkit-scrollbar {
    display: none;
  }
  .ai-steps-track, .ai-steps-fill {
    display: none;
  }
  .ai-step {
    flex: 0 0 auto;
    width: 44vw;
    max-width: 160px;
    scroll-snap-align: start;
    position: relative;
  }
  .ai-step::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -0.55rem;
    right: -0.55rem;
    height: 2px;
    background: rgba(255,255,255,0.14);
    z-index: 0;
  }
  .ai-step:first-child::before { left: 0; }
  .ai-step:last-child::before { right: 0; }
  .ai-step-dot {
    display: block;
    position: relative;
    z-index: 1;
  }

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

  .reels-track {
    padding-left: 1rem;
    padding-right: 1rem;
    mask-image: linear-gradient(to right, transparent 0%, black 1.5rem, black calc(100% - 1.5rem), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5rem, black calc(100% - 1.5rem), transparent 100%);
  }
  .reels-fade {
    width: clamp(1.5rem, 6vw, 2.5rem);
  }
  .reel-card {
    width: 70vw;
    max-width: 250px;
  }

  .approach-timeline {
    gap: 1.75rem;
  }
  .approach-track {
    left: 10px;
  }
  .approach-step, .approach-step:nth-child(odd), .approach-step:nth-child(even) {
    width: calc(100% - 2.2rem);
    margin-left: 2.2rem;
    margin-right: 0;
  }
  .approach-step:nth-child(odd) .approach-dot, .approach-step:nth-child(even) .approach-dot {
    left: -2.2rem;
    right: auto;
  }
  .approach-step:nth-child(odd)::after, .approach-step:nth-child(even)::after {
    left: -2rem;
    right: auto;
    width: 1.2rem;
  }

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

  .contact-form, .contact-side {
    padding: 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .form-footer .btn {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    order: 3;
  }

  /* Project page mobile refinements */
  .project-detail-body {
    padding-top: 2rem;
  }
  .case-meta-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .project-header-panel {
    border-radius: 20px;
    padding: 1.25rem;
  }
  .project-image-card {
    border-radius: 20px;
  }
  .project-nav-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .project-nav-footer .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .ai-step {
    width: 48vw;
  }
}

/* ---------- 22. REDUCED MOTION & ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--c-neon-bright);
  outline-offset: 2px;
}

a:focus-visible, button:focus-visible {
  border-radius: var(--radius-sm);
}
