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

:root {
  --bg: #060606;
  --bg-soft: #0b0b0b;
  --surface: #121212;
  --surface2: #1a1a1a;
  --gold: #d7ab2f;
  --gold-bright: #f1cb62;
  --gold-dim: #8f721e;
  --text: #f4eee3;
  --muted: #91897b;
  --border: rgba(215, 171, 47, 0.16);
  --border-strong: rgba(215, 171, 47, 0.36);
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 9% 16%, rgba(215, 171, 47, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(215, 171, 47, 0.09) 0%, transparent 30%),
    linear-gradient(180deg, #090909 0%, #050505 50%, #080808 100%);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
  animation: unlockScroll 0s 3.5s forwards;
}

@keyframes unlockScroll {
  to { overflow: visible; overflow-x: hidden; }
}

body.custom-cursor,
body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor .btn-primary,
body.custom-cursor .btn-outline,
body.custom-cursor .gig-link,
body.custom-cursor .nav-links a,
body.custom-cursor .footer-links a,
body.custom-cursor .tool-item,
body.custom-cursor .video-card,
body.custom-cursor .gig-card {
  cursor: none;
}

/* Gentle ambient glow */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55rem 24rem at 30% 82%, rgba(215, 171, 47, 0.07), transparent 70%),
    radial-gradient(55rem 24rem at 78% 44%, rgba(215, 171, 47, 0.06), transparent 72%);
}

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

/* -- LOADER -- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.3s ease forwards;
}

.loader-line {
  width: 120px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

/* -- CUSTOM CURSOR -- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-dot.hovering {
  width: 40px;
  height: 40px;
  background: rgba(241, 203, 98, 0.15);
  border: 1px solid rgba(241, 203, 98, 0.4);
  mix-blend-mode: normal;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(215, 171, 47, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* -- SCROLL PROGRESS -- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright), var(--gold));
  z-index: 101;
  box-shadow: 0 0 10px rgba(215, 171, 47, 0.5);
  transition: width 0.05s linear;
}

/* -- NAV -- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(215, 171, 47, 0.08);
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.45) 72%, transparent 100%);
  backdrop-filter: blur(8px);
  transform: translateY(-100%);
  animation: navSlideIn 0.8s 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navSlideIn {
  to { transform: translateY(0); }
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(215, 171, 47, 0.2);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Theme toggle button */
.theme-toggle {
  background: rgba(215, 171, 47, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(215, 171, 47, 0.2);
  border-color: var(--border-strong);
  transform: rotate(30deg);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gold theme overrides */
body.theme-gold {
  --bg: #0d0a04;
  --bg-soft: #120e06;
  --surface: #1a1508;
  --surface2: #22190a;
  --gold: #e8b830;
  --gold-bright: #ffd966;
  --gold-dim: #a07a15;
  --text: #fff8e7;
  --muted: #b8a77e;
  --border: rgba(232, 184, 48, 0.22);
  --border-strong: rgba(232, 184, 48, 0.45);
  background:
    radial-gradient(circle at 9% 16%, rgba(232, 184, 48, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(232, 184, 48, 0.14) 0%, transparent 30%),
    linear-gradient(180deg, #0d0a04 0%, #080602 50%, #0a0804 100%);
}

body.theme-gold::after {
  background:
    radial-gradient(55rem 24rem at 30% 82%, rgba(232, 184, 48, 0.12), transparent 70%),
    radial-gradient(55rem 24rem at 78% 44%, rgba(232, 184, 48, 0.1), transparent 72%);
}

body.theme-gold .hero-bg {
  background:
    radial-gradient(ellipse 64% 50% at 74% 38%, rgba(232, 184, 48, 0.2) 0%, transparent 72%),
    radial-gradient(ellipse 38% 56% at 18% 80%, rgba(232, 184, 48, 0.14) 0%, transparent 60%);
}

body.theme-gold .orb-1 { background: radial-gradient(circle, rgba(232, 184, 48, 0.22) 0%, transparent 70%); }
body.theme-gold .orb-2 { background: radial-gradient(circle, rgba(232, 184, 48, 0.16) 0%, transparent 70%); }
body.theme-gold .orb-3 { background: radial-gradient(circle, rgba(232, 184, 48, 0.12) 0%, transparent 70%); }

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* Typewriter effect */
.typewriter {
  border-right: 2px solid var(--gold-bright);
  animation: blink 0.7s step-end infinite;
}

.typewriter.done {
  border-right-color: transparent;
  animation: none;
}

@keyframes blink {
  50% { border-right-color: transparent; }
}

/* Parallax elements */
.parallax-el {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* -- HERO -- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 5rem;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 50% at 74% 38%, rgba(215, 171, 47, 0.14) 0%, transparent 72%),
    radial-gradient(ellipse 38% 56% at 18% 80%, rgba(215, 171, 47, 0.09) 0%, transparent 60%);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  will-change: transform;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  right: 10%;
  background: radial-gradient(circle, rgba(215, 171, 47, 0.15) 0%, transparent 70%);
  animation: orbFloat1 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  bottom: 25%;
  left: 5%;
  background: radial-gradient(circle, rgba(215, 171, 47, 0.1) 0%, transparent 70%);
  animation: orbFloat2 10s ease-in-out infinite;
}

.orb-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(215, 171, 47, 0.08) 0%, transparent 70%);
  animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.1); }
  66% { transform: translate(20px, -30px) scale(0.9); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -15px) scale(1.15); }
  66% { transform: translate(-15px, 25px) scale(0.95); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 15px) scale(1.08); }
}

.filmstrip {
  position: absolute;
  top: 0;
  right: 4%;
  height: 100%;
  width: 64px;
  display: flex;
  flex-direction: column;
  opacity: 0.08;
}

.filmstrip-hole {
  width: 100%;
  flex: 1;
  border-top: 2px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.filmstrip-hole::before {
  content: '';
  width: 24px;
  height: 18px;
  border: 2px solid var(--text);
  border-radius: 3px;
}

/* Hero text reveal animations */
.hero-tag {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tag::before {
  content: '';
  width: 46px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0.35s);
}

.split-reveal {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.15rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.split-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 em, .split-reveal em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero-desc {
  max-width: 540px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.6rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
  position: relative;
  overflow: hidden;
}

/* Button shimmer effect */
.btn-primary::before,
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-outline:hover::before {
  left: 100%;
}

.btn-primary {
  font-weight: 500;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  color: #0c0c0c;
  box-shadow: 0 8px 28px rgba(215, 171, 47, 0.34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(215, 171, 47, 0.45), 0 0 40px rgba(215, 171, 47, 0.15);
}

.btn-outline {
  border: 1px solid rgba(215, 171, 47, 0.5);
  color: var(--gold-bright);
  background: rgba(20, 20, 20, 0.5);
}

.btn-outline:hover {
  background: rgba(215, 171, 47, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(215, 171, 47, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: revealUp 1s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%,
  100% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* -- SECTION COMMON -- */
section {
  position: relative;
  padding: 7rem 3rem;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.03;
  margin-bottom: 3.2rem;
}

#about,
#work,
#passion,
#hire {
  border-top: 1px solid var(--border);
}

/* Animated section top border */
#about::before,
#work::before,
#passion::before,
#hire::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#about.in-view::before,
#work.in-view::before,
#passion.in-view::before,
#hire.in-view::before {
  width: 180px;
}

/* -- ABOUT -- */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-right {
  padding-top: 1rem;
}

.about-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.7rem;
}

.about-text strong {
  color: var(--text);
  font-weight: 400;
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 2.4rem;
}

.tool-item {
  background: linear-gradient(145deg, rgba(23, 23, 23, 0.95), rgba(14, 14, 14, 0.95));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

/* Glow ring on hover */
.tool-item::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(215, 171, 47, 0.3), transparent 50%, rgba(215, 171, 47, 0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.tool-item:hover::after {
  opacity: 1;
}

.tool-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(215, 171, 47, 0.06);
}

.tool-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
}

.tool-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Stats */
.stats-row {
  display: flex;
  gap: 2.8rem;
  margin-top: 2.3rem;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.1rem;
  font-weight: 300;
  color: var(--gold-bright);
  line-height: 1;
  transition: text-shadow 0.3s ease;
}

.stat-num.counted {
  text-shadow: 0 0 40px rgba(215, 171, 47, 0.3);
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.34rem;
}

/* -- WORK -- */
.work-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.9rem;
}

.work-note {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 310px;
  text-align: right;
  line-height: 1.65;
}

/* Video grid */
.video-grid,
.shorts-row,
.gigs-grid {
  display: grid;
  gap: 14px;
}

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

.shorts-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

/* 3D tilt cards */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

.video-card {
  background: linear-gradient(150deg, rgba(24, 24, 24, 0.96), rgba(13, 13, 13, 0.96));
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

/* Card glow effect on hover */
.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(215, 171, 47, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

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

.video-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.52), 0 0 40px rgba(215, 171, 47, 0.06);
}

.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-wrapper.landscape {
  padding-bottom: 56.25%;
}

.video-wrapper.portrait {
  padding-bottom: 177.78%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta {
  padding: 1.1rem 1.3rem 1.25rem;
  border-top: 1px solid var(--border);
}

.video-type {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.38rem;
}

.video-title {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
}

/* -- HIRE -- */
.gigs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gig-card {
  background: linear-gradient(155deg, rgba(26, 26, 26, 0.96), rgba(14, 14, 14, 0.96));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.4rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Card spotlight glow */
.gig-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(215, 171, 47, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

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

.gig-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.52), 0 0 40px rgba(215, 171, 47, 0.06);
}

.gig-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(215, 171, 47, 0.2);
  line-height: 1;
}

.gig-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.gig-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.gig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.45rem;
  transition: gap 0.24s ease, color 0.24s ease;
}

.gig-link:hover {
  gap: 0.95rem;
  color: #ffe19a;
}

.gig-link::after {
  content: '->';
  transition: transform 0.3s ease;
}

.gig-link:hover::after {
  transform: translateX(4px);
}

/* -- FOOTER -- */
footer {
  border-top: 1px solid var(--border);
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.6rem 3rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

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

.footer-links a {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.24s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

/* -- RESPONSIVE -- */
@media (max-width: 980px) {
  nav {
    padding: 0.9rem 1.5rem;
  }

  #hero,
  section,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .video-grid,
  .shorts-row,
  .gigs-grid {
    grid-template-columns: 1fr;
  }

  .work-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.2rem;
  }

  .work-note {
    text-align: left;
  }

  .hero-scroll {
    display: none;
  }

  .filmstrip {
    opacity: 0.04;
    right: 1%;
  }
}

@media (max-width: 768px) {
  /* Hide custom cursor on touch devices */
  .cursor-dot,
  .cursor-glow {
    display: none;
  }

  body {
    cursor: auto;
  }

  nav .nav-links {
    display: none;
  }

  #hero {
    padding-top: 5rem;
    min-height: 92vh;
  }

  h1, .split-reveal {
    line-height: 0.95;
  }

  .hero-desc {
    font-size: 0.92rem;
  }

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

  .stats-row {
    gap: 1.8rem;
  }

  footer {
    flex-direction: column;
    gap: 1.3rem;
    text-align: center;
  }
}

/* -- FADE IN ANIMATION -- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: show content after 2s if JS observer doesn't fire */
@keyframes fadeUpFallback {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUpFallback 0.8s 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-up.visible {
  animation: none;
}

/* Staggered children animation */
.fade-up.visible .video-card,
.fade-up.visible .gig-card {
  animation: staggerIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fade-up.visible .video-card:nth-child(1),
.fade-up.visible .gig-card:nth-child(1) { animation-delay: 0s; }
.fade-up.visible .video-card:nth-child(2),
.fade-up.visible .gig-card:nth-child(2) { animation-delay: 0.15s; }

@keyframes staggerIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .cursor-dot,
  .cursor-glow {
    display: none;
  }

  body {
    cursor: auto;
  }

  #loader {
    display: none;
  }
}
