:root {
  --black: #0a0a0a;
  --white: #f0f0f0;
  --grey: #888888;
  --grey-dark: #1a1a1a;
  --grey-mid: #333333;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Arial Black', Impact, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1px solid rgba(240,240,240,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.2s ease;
}

.cursor.hover { width: 6px; height: 6px; }
.cursor-ring.hover { width: 60px; height: 60px; border-color: rgba(240,240,240,0.8); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

.btn-cta {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-cta:hover { 
  background: var(--grey); 
  transform: translateY(-2px); 
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* ── HERO ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 48px 80px;
  max-width: 900px;
  width: 100%;
  margin-top: 8vh;
}

.hero-tag {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title em { font-style: normal; color: var(--grey); }

.hero-sub {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: var(--grey);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.9;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 30px;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--grey);
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--grey);
}

/* ── MARQUEE ── */
.marquee-section {
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
  overflow: hidden;
  padding: 18px 0;
  background: var(--black);
}

.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0 48px;
  flex-shrink: 0;
}
.marquee-item span { color: var(--white); margin: 0 16px; }

/* ── SECTIONS ── */
section { padding: 120px 48px; }

.section-label {
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-label::before {
  content: '';
  width: 40px; height: 2px;
  background: var(--white);
  display: inline-block;
}

/* ── NEO-BRUTALIST GRIDS (Smooth Edges) ── */
.neo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── WORK / VIDEOS ── */
#work { background: var(--grey-dark); }
.work-inner { max-width: 1400px; margin: 0 auto; }

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--black);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.work-media {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0%) brightness(0.6);
  transition: filter 0.6s ease, transform 0.8s ease;
}

.work-card:hover .work-media {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.05);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  pointer-events: none;
}

.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 48px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.work-card:hover .play-icon {
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1);
}

.work-client {
  font-size: clamp(20px, 2.5vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.work-type {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--white);
  text-transform: uppercase;
}

/* ── PHOTOGRAPHY GRIDS ── */
#photography { background: var(--black); }

.photo-project { margin-bottom: 100px; }
.mt-huge { margin-top: 100px; }

.photo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-mid);
}

.photo-cell {
  background: var(--black);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255,255,255,0.05);
}

.photo-cell.span-row-2 {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.photo-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0%) brightness(0.7);
  transition: filter 0.6s ease, transform 0.8s ease;
  display: block;
}

.photo-cell:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* ── VIDEO MODAL ── */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-close {
  position: absolute;
  top: 40px; right: 40px;
  font-family: 'Courier New', monospace;
  font-size: 24px;
  color: var(--white);
  z-index: 10001;
  transition: transform 0.3s ease;
}
.video-modal-close:hover { transform: scale(1.2) rotate(90deg); }

.video-modal-content {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-content video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: transparent;
}

.contact-modal-content {
  background: var(--grey-dark);
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  max-width: 500px;
  width: 90%;
  border: 1px solid var(--grey-mid);
}

.video-modal.active .contact-modal-content {
  transform: scale(1);
}

.contact-modal-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-modal-content p {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-modal-content .btn-primary {
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-links a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: var(--white);
}

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-headline {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.about-headline em { font-style: normal; color: var(--grey); }

.about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(0%);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: filter 0.6s ease;
}
.about-portrait:hover { filter: grayscale(0%); }

.about-right p {
  font-family: 'Courier New', monospace;
  font-size: 17px;
  line-height: 1.9;
  color: var(--grey);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.about-right p strong {
  color: var(--white);
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--grey-mid);
}

.stat-num {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--grey);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── FOOTER ── */
footer {
  padding: 40px 48px;
  background: var(--black);
  border-top: 1px solid var(--grey-mid);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 11px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-right {
  display: flex;
  gap: 32px;
}

.footer-right a {
  color: var(--grey);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-right a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .neo-grid { grid-template-columns: 1fr; }
  .photo-cell.span-row-2 { grid-row: auto; aspect-ratio: 4/5; }
  #about { grid-template-columns: 1fr; }
  nav { padding: 20px; }
  section { padding: 80px 20px; }
  .photo-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .video-modal-content { width: 100%; border-radius: 0; }
}

/* ── UI/UX ANIMATIONS (100x Upgrade) ── */

/* Loader Sequence */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 100000;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}
body.loading { overflow: hidden; }
body.loaded .loader { transform: translateY(-100%); }

/* Hero Text Reveals */
.overflow-hidden { overflow: hidden; }
.load-text {
  transform: translateY(120%);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}
body.loaded .load-text {
  transform: translateY(0);
  opacity: 1;
}
/* Stagger Hero elements */
.hero-tag-container .load-text { transition-delay: 0.6s; }
.hero-title-container .load-text { transition-delay: 0.7s; }
.hero-sub-container .load-text { transition-delay: 0.8s; }
.hero-actions-container .load-text { transition-delay: 0.9s; }

.load-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
body.loaded .load-reveal { opacity: 1; transform: translateY(0); transition-delay: 1s; }

/* Scroll Reveals (Intersection Observer) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Hero Parallax */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
.hero-video {
  width: 100%; height: 120%; /* Extra height for parallax */
  object-fit: cover;
  filter: brightness(0.45);
  transform: translateY(0);
  will-change: transform;
}

/* 3D Tilt Effect Base */
.tilt-card {
  transform-style: preserve-3d;
  transform-perspective: 1000px;
}
