/* ===========================================================
   RESET & BASE
=========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #0d0b14;
  --darker: #070510;
  --light: #fbf7f0;
  --ink: #14121c;

  --grad-1: linear-gradient(135deg, #ff2d78, #a020f0);
  --grad-2: linear-gradient(135deg, #00c2a8, #8affc1);
  --grad-3: linear-gradient(135deg, #ff6b3d, #ffd23d);
  --grad-4: linear-gradient(135deg, #3d5bff, #a020f0);

  --pink: #ff2d78;
  --purple: #a020f0;
  --orange: #ff6b3d;
  --yellow: #ffd23d;
  --teal: #00c2a8;
  --lime: #8affc1;
  --blue: #3d5bff;

  --font-display: 'Space Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-spring: cubic-bezier(.16,1.11,.3,.98);
  --ease-smooth: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

section { position: relative; }
.section-light { background: var(--light); color: var(--ink); }
.section-dark { background: var(--dark); color: var(--light); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 16px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-title.huge { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 56px; }
.section-title.center { text-align: center; }

.highlight {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
  font-style: italic;
}
.hero-title .outline-text { -webkit-text-stroke: 2px #fff; }
.contact .outline-text { -webkit-text-stroke: 2px var(--light); }

/* ===========================================================
   GRAIN OVERLAY
=========================================================== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* ===========================================================
   CUSTOM CURSOR
=========================================================== */
.cursor-ring, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid #fff;
  transition: width .3s var(--ease-smooth), height .3s var(--ease-smooth), border-color .3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
}
.cursor-ring.hovered { width: 70px; height: 70px; background: rgba(255,255,255,0.15); }
@media (hover: none), (max-width: 900px) {
  .cursor-ring, .cursor-dot { display: none; }
  body { cursor: auto; }
}

/* ===========================================================
   SCROLL PROGRESS
=========================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: var(--grad-1);
  z-index: 9997;
}

/* ===========================================================
   LOADER
=========================================================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--darker);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-inner { text-align: center; }
.loader-logo { display: block; margin: 0 auto 24px; }
.logo-ring { transition: none; }
.loader-count {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.1em;
}

/* ===========================================================
   NAV
=========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  mix-blend-mode: difference;
}
.nav-logo .dot { color: var(--yellow); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: #fff;
}
.nav-links a { position: relative; mix-blend-mode: difference; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .3s var(--ease-smooth);
}
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  border: 1px solid #fff;
  padding: 8px 18px;
  border-radius: 999px;
}
.btn-nav::after { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 501;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; mix-blend-mode: difference; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 70vw;
    max-width: 320px;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transition: right .5s var(--ease-smooth);
    mix-blend-mode: normal;
  }
  .nav-links.open { right: 0; }
}

/* ===========================================================
   BUTTONS
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 34px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; }
.btn-primary {
  background: var(--grad-1);
  color: #fff;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-3);
  transform: translateY(101%);
  transition: transform .45s var(--ease-smooth);
  z-index: 1;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-outline {
  border: 2px solid currentColor;
  color: var(--ink);
}
.hero-cta .btn-outline { color: #fff; }
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(101%);
  transition: transform .45s var(--ease-smooth);
  z-index: -1;
}
.btn-outline:hover { color: var(--ink); }
.btn-outline:hover::before { transform: translateY(0); }
.btn.full { width: 100%; margin-top: 8px; }

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: -10%;
  background: linear-gradient(120deg, #ff2d78, #a020f0, #3d5bff, #ff6b3d, #ffd23d);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  opacity: 0.9;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--dark) 92%);
}

.hero-shapes { position: absolute; inset: 0; z-index: 1; }
.shape { position: absolute; }
.shape-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.5);
  top: 18%; left: 12%;
}
.shape-triangle {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(255,210,61,0.35);
  top: 65%; left: 8%;
}
.shape-blob {
  width: 160px; height: 160px;
  background: rgba(0,194,168,0.35);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  top: 15%; right: 10%;
  animation: blobMorph 8s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%; }
  50% { border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%; }
}
.shape-ring {
  width: 220px; height: 220px;
  border: 3px dashed rgba(255,255,255,0.4);
  border-radius: 50%;
  bottom: 10%; right: 16%;
}
.shape-squiggle { top: 45%; right: 6%; opacity: 0.6; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 13px;
  margin-bottom: 20px;
  overflow: hidden;
}
.hero-eyebrow span, .hero-tagline span, .hero-cta span { display: inline-block; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span.char {
  display: inline-block;
}

.hero-tagline {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  overflow: hidden;
}

.hero-cta { margin-top: 44px; overflow: hidden; }
.hero-cta > span { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue-line {
  width: 1px; height: 50px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line i {
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { top: -50%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ===========================================================
   MARQUEE
=========================================================== */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
}
.marquee-dark { background: var(--pink); }
.marquee-light { background: var(--ink); }
.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track.marquee-reverse { animation-direction: reverse; animation-duration: 26s; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: #fff;
  padding-right: 8px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   ABOUT
=========================================================== */
.about { padding: 140px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.portrait-frame { position: relative; max-width: 380px; margin: 0 auto; }
.portrait-svg { border-radius: 24px; width: 100%; }
.portrait-orbit { animation: rotateOrbit 12s linear infinite; transform-origin: 200px 180px; }
@keyframes rotateOrbit { to { transform: rotate(360deg); } }
.blob-deco {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(2px);
}
.blob-deco-1 {
  width: 90px; height: 90px;
  background: var(--grad-3);
  top: -30px; right: -30px;
  animation: floatY 5s ease-in-out infinite;
}
.blob-deco-2 {
  width: 60px; height: 60px;
  background: var(--grad-2);
  bottom: -20px; left: -20px;
  animation: floatY 4s ease-in-out infinite reverse;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.about-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4658;
  margin: 24px 0 40px;
  max-width: 560px;
}

.skills { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.skill-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}
.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad-1);
}

.tag-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: background .3s, color .3s, transform .3s var(--ease-spring);
}
.chip:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ===========================================================
   WORK / BENTO
=========================================================== */
.work { padding: 140px 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: none;
  perspective: 1000px;
}
.size-lg { grid-column: span 2; grid-row: span 2; }
.size-md { grid-column: span 2; grid-row: span 1; }
.size-sm { grid-column: span 2; grid-row: span 1; }
@media (min-width: 861px) {
  .size-md:nth-of-type(2) { grid-row: 3 / span 1; }
}

.project-media {
  position: absolute;
  inset: 0;
  transition: transform .6s var(--ease-smooth);
  will-change: transform;
}
.project-media svg { width: 100%; height: 100%; }
.project-card:hover .project-media { transform: scale(1.08); }

.project-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  transform: translateY(65%);
  transition: transform .45s var(--ease-smooth);
}
.project-card:hover .project-info { transform: translateY(0); }
.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: all .45s var(--ease-smooth) .05s;
}
.project-info p {
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all .45s var(--ease-smooth) .1s;
  color: rgba(255,255,255,0.75);
}
.project-card:hover .project-info h3,
.project-card:hover .project-info p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .size-lg, .size-md, .size-sm { grid-column: span 2; grid-row: span 1; }
  .project-info { transform: translateY(0); }
  .project-info h3, .project-info p { opacity: 1; transform: none; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7,5,16,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-smooth);
  padding: 24px;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-inner {
  max-width: 640px;
  width: 100%;
  background: var(--light);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transform: scale(0.9);
  transition: transform .4s var(--ease-spring);
}
.lightbox.active .lightbox-inner { transform: scale(1); }
.lightbox-media { border-radius: 14px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 16/10; }
.lightbox-media svg { width: 100%; height: 100%; }
.lightbox-inner h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 6px; }
.lightbox-inner p { color: #6b6577; font-size: 0.95rem; }
.lightbox-desc { margin-top: 14px; line-height: 1.6; }
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 28px;
  color: var(--ink);
  cursor: none;
}

/* ===========================================================
   SERVICES
=========================================================== */
.services { padding: 140px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform .4s var(--ease-spring), background .4s, color .4s, box-shadow .4s;
  position: relative;
  overflow: hidden;
}
.service-card:nth-child(1):hover { background: var(--grad-1); }
.service-card:nth-child(2):hover { background: var(--grad-2); }
.service-card:nth-child(3):hover { background: var(--grad-3); }
.service-card:nth-child(4):hover { background: var(--grad-4); }
.service-card:nth-child(5):hover { background: var(--grad-1); }
.service-card:nth-child(6):hover { background: var(--grad-2); }
.service-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  color: #fff;
  border-color: transparent;
}
.service-icon {
  width: 60px; height: 60px;
  margin-bottom: 24px;
  color: var(--ink);
  transition: color .4s;
}
.service-card:hover .service-icon { color: #fff; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-card p { line-height: 1.6; opacity: 0.75; }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   STATS
=========================================================== */
.stats { padding: 100px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
}
.stat p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}

/* ===========================================================
   TESTIMONIALS
=========================================================== */
.testimonials { padding: 140px 0; }
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  cursor: grab;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track:active { cursor: grabbing; }
.testimonial-card {
  flex: 0 0 min(500px, 85vw);
  scroll-snap-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(20,18,28,0.08);
}
.quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 28px;
}
.author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; }
.author strong { display: block; font-size: 0.95rem; }
.author span { font-size: 0.8rem; color: #8a8494; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.testimonial-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(20,18,28,0.15);
  transition: background .3s, transform .3s;
}
.testimonial-dots .dot.active { background: var(--pink); transform: scale(1.3); }

/* ===========================================================
   CONTACT
=========================================================== */
.contact { padding: 140px 0; overflow: hidden; }
.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,45,120,0.25), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(61,91,255,0.25), transparent 50%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
}
.contact-left .section-title { margin-bottom: 32px; }
.social-links { display: flex; gap: 22px; flex-wrap: wrap; }
.social-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
  transition: border-color .3s, color .3s;
}
.social-links a:hover { border-color: var(--yellow); color: var(--yellow); }

.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-field { position: relative; }
.form-field input, .form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  resize: none;
}
.form-field input:focus, .form-field textarea:focus { outline: none; }
.form-field label {
  position: absolute;
  left: 0; top: 12px;
  color: rgba(255,255,255,0.5);
  transition: all .3s var(--ease-smooth);
  pointer-events: none;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -14px;
  font-size: 12px;
  color: var(--yellow);
}
.field-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--grad-1);
  transition: width .4s var(--ease-smooth);
}
.form-field input:focus ~ .field-line,
.form-field textarea:focus ~ .field-line { width: 100%; }

.form-success {
  opacity: 0;
  height: 0;
  overflow: hidden;
  color: var(--lime);
  font-size: 0.9rem;
  transition: opacity .4s;
}
.form-success.show { opacity: 1; height: auto; margin-top: 6px; }

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

/* ===========================================================
   FOOTER
=========================================================== */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--light);
  padding: 100px 0 40px;
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-4);
  opacity: 0.15;
  animation: gradientShift 20s ease infinite;
  background-size: 400% 400%;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 1;
  position: relative;
}
.footer-bottom {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.back-to-top {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  transition: background .3s, border-color .3s;
}
.back-to-top:hover { background: var(--grad-1); border-color: transparent; }

/* ===========================================================
   MAGNETIC
=========================================================== */
.magnetic { display: inline-block; will-change: transform; }

/* ===========================================================
   SCROLL REVEAL DEFAULTS (JS toggles .is-visible)
=========================================================== */
.reveal-up { opacity: 0; transform: translateY(60px); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth); }

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .contact-bg { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .about, .work, .services, .testimonials, .contact { padding: 90px 0; }
  .hero-shapes .shape { transform: scale(0.6); }
}

/* ===========================================================
   REDUCED MOTION
=========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-ring, .cursor-dot { display: none; }
  body { cursor: auto; }
}
