/* ═══════════════════════════════════════════════════════════════
   AVDHI — Senior Video Editor & Motion Designer
   100% Authentic Reference Implementation (yanxinzhang.com)
   - Fonts: Outfit (Display & Bold Sans), EB Garamond (700 Italic), Inter / Space Mono
   - Hero: "Hi, I'm Avdhi" with kinetic waterfall character scramble & cursor ripple
   - 3D Camera Space: Orbiting 3D Video Cards Scene (Ref: media_1790565113371.png)
   - Categories: 4 Dedicated Formats (Long Form 16:9, Short Form 9:16, Motion & AI, Podcast)
   - Editorial Manifesto with Inline Animated Stickers & Garamond Italic
   - Fixed Inverted Navigation (mix-blend-mode: difference)
   - Adaptive Director's Theater Lightbox
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. FONTS ────────────────────────────────────────────────── */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/SlGWmQSNjdsmc35JDF1K5GRweDs1Zw.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/5REHZLR2B5PQAKMITIQJK6BDK34RDHS4.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/OKGWSU2PUNNFKQVFV2XFOSAHRXYREMR2.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/H5PDA446U7YOJH5A6HXMFOX33XDBMWB5.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/QWBFHLNJNNJC3X2PA4WN6Q2H5G7OG6MX.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2') format('woff2');
}

/* ── 2. RESET & DESIGN SYSTEM TOKENS ─────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-white:        #FFFFFF;
  --bg-surface:      #FAFAFA;
  --bg-dark:         #000000;
  --bg-dark-card:    #0D0D11;
  --text-black:      #000000;
  --text-white:      #FFFFFF;
  --text-muted:      #666666;
  --text-subtle:     #999999;
  --border-hairline: rgba(0, 0, 0, 0.08);
  --border-dark:     rgba(255, 255, 255, 0.12);

  --accent-orange:   #FE3C01;
  --accent-orange-bg:rgba(254, 60, 1, 0.12);
  --accent-lime:     #45FF08;
  --accent-yellow:   #FFE815;

  --f-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-italic:  'EB Garamond', Georgia, serif;
  --f-mono:    'Space Mono', monospace, ui-monospace;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1360px;
  --pad-x: clamp(20px, 4.5vw, 64px);
  --pad-y: clamp(72px, 8vw, 130px);

  --spring-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --scroll-ease: cubic-bezier(0.44, 0, 0.56, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-body);
  background: var(--bg-white);
  color: var(--text-black);
  overflow-x: hidden;
  line-height: 1.5;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

/* ── 3. FIXED INVERTED NAV (mix-blend-mode: difference) ───────── */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  z-index: 1000;
  mix-blend-mode: difference;
  color: #FFFFFF;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
}

.nav-fixed * {
  pointer-events: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.nav-asterisk {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--accent-orange);
  transform: rotate(-17deg);
  transition: transform 0.4s var(--spring-ease);
}

.nav-brand:hover .nav-asterisk {
  transform: rotate(90deg) scale(1.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}

#design-in-action,
#clients,
#about,
#work,
#services,
#contact {
  scroll-margin-top: 80px;
}

/* ── 4. HERO: "Hi, I'm Avdhi" WATERFALL CHARACTER SCRAMBLE ───── */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x) 60px;
  background: var(--bg-white);
  text-align: center;
  overflow: hidden;
}

/* Floating Corner Stickers (Authentic Reference Placement) */
.hero-sticker {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 2;
  user-select: none;
  opacity: 0.9;
  transition: transform 0.6s var(--spring-ease), opacity 0.4s ease;
}

.sticker-top-left {
  top: 90px;
  left: clamp(20px, 4.5vw, 70px);
  width: clamp(100px, 13vw, 160px);
}

.sticker-top-right {
  top: 95px;
  right: clamp(20px, 4.5vw, 70px);
  width: clamp(110px, 14vw, 175px);
}

.sticker-mid-left {
  bottom: 80px;
  left: clamp(20px, 4.5vw, 70px);
  width: clamp(90px, 11vw, 140px);
}

.sticker-mid-right {
  bottom: 75px;
  right: clamp(20px, 4.5vw, 70px);
  width: clamp(85px, 10vw, 135px);
}

@media (max-width: 960px) {
  .hero-sticker {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Waterfall Scramble Headline */
.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(56px, 9vw, 126px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text-black);
  margin-bottom: 24px;
  cursor: default;
  user-select: none;
}

.scramble-word {
  display: inline-block;
  white-space: nowrap;
}

.scramble-char {
  display: inline-block;
  min-width: 0.58em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease, transform 0.2s var(--spring-ease);
  position: relative;
}

/* Spacing for 'i' in "Hi" and "Avdhi" (+3px spacing) */
.scramble-char.char-i,
.scramble-char[data-final="i"] {
  min-width: 0.22em;
  margin-left: calc(-0.04em + 3px);
  margin-right: calc(-0.02em + 3px);
  text-align: center;
}

/* Space between "Hi" and comma (+4px added before comma) */
.hero-comma,
.scramble-char[data-final=","],
.scramble-comma {
  display: inline-block;
  min-width: 0;
  width: auto;
  margin-left: calc(-0.08em + 7px);
  margin-right: 0.02em;
  text-align: left;
  line-height: inherit;
  vertical-align: baseline;
  position: relative;
}

/* Clean kerning for apostrophe in "I'm" */
.hero-punct,
.scramble-char[data-final="'"] {
  display: inline-block;
  min-width: 0.16em;
  width: auto;
  margin-left: -0.04em;
  margin-right: -0.04em;
  text-align: center;
  position: relative;
}

.scramble-char.is-shuffling {
  color: var(--accent-orange);
  transform: translateY(-4px) scale(1.06);
}

.hero-asterisk-icon {
  display: inline-block;
  color: var(--accent-orange);
  font-size: 0.85em;
  transform: rotate(-17deg);
  margin-left: 4px;
  animation: heroAsteriskFloat 3s ease-in-out infinite alternate;
}

@keyframes heroAsteriskFloat {
  0%   { transform: rotate(-17deg) translateY(0); }
  100% { transform: rotate(18deg) translateY(-6px); }
}

/* Short Brief below headline */
.hero-brief {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 0;
}

.hero-brief em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 700;
  color: var(--text-black);
}

/* Center Screen Showreel Frame */
.hero-screen-wrap {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-hairline);
  background: #000;
  cursor: pointer;
  transition: transform 0.4s var(--spring-ease), box-shadow 0.4s var(--spring-ease);
}

.hero-screen-wrap:hover {
  transform: scale(1.015);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.hero-screen-wrap video,
.hero-screen-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-screen-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-screen-wrap:hover .hero-screen-play-overlay {
  opacity: 1;
}

.hpo-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform 0.3s var(--spring-ease);
}

.hero-screen-wrap:hover .hpo-circle {
  transform: scale(1);
}

.hpo-circle svg {
  margin-left: 3px;
}

.hpo-tag {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 9999px;
}

/* ── 5. 3D CAMERA SPACE: FLOATING VIDEO CARDS (MEDIA REFERENCE) ─ */
.clients-3d-scene {
  position: relative;
  width: 100%;
  min-height: 940px;
  background: #000000;
  color: #FFFFFF;
  perspective: 1200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px var(--pad-x);
}

.c3d-header {
  text-align: center;
  margin-bottom: 50px;
  z-index: 10;
}

.c3d-title {
  font-family: var(--f-display);
  font-size: clamp(34px, 6.2vw, 96px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.c3d-title .ast {
  color: var(--accent-orange);
  transform: rotate(-17deg);
  display: inline-block;
  margin-left: 2px;
}

.c3d-subtitle {
  font-family: var(--f-display);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.c3d-subtitle .ast {
  color: var(--accent-orange);
}

/* 3D Preserved Perspective Container */
.c3d-orbit-space {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 580px;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.c3d-card {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.9);
  background: #111;
  cursor: pointer;
  transition: transform 0.45s var(--spring-ease), box-shadow 0.3s ease;
  will-change: transform;
}

.c3d-card video,
.c3d-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.c3d-card:hover video,
.c3d-card:hover img {
  filter: brightness(1.08);
}

.c3d-card-logo-overlay {
  display: none !important;
}

.c3d-brand-text {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.c3d-brand-cat {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-top: 5px;
}

/* Individual 3D Card Orbit Coordinates (Spacious, Zero Clogging) */
.c3d-1 {
  width: 320px;
  aspect-ratio: 16/10;
  top: 10%;
  left: 2%;
  transform: rotateY(24deg) rotateX(4deg) translateZ(40px);
}
.c3d-1:hover {
  transform: rotateY(24deg) rotateX(4deg) translateZ(120px) scale(1.05) !important;
}

.c3d-2 {
  width: 440px;
  aspect-ratio: 16/10;
  top: 6%;
  left: 33%;
  transform: rotateY(0deg) rotateX(0deg) translateZ(160px);
  z-index: 5;
}
.c3d-2:hover {
  transform: rotateY(0deg) rotateX(0deg) translateZ(220px) scale(1.05) !important;
}

.c3d-3 {
  width: 240px;
  aspect-ratio: 9/16;
  top: 8%;
  right: 3%;
  transform: rotateY(-26deg) rotateX(-4deg) translateZ(50px);
}
.c3d-3:hover {
  transform: rotateY(-26deg) rotateX(-4deg) translateZ(130px) scale(1.05) !important;
}

.c3d-4 {
  width: 310px;
  aspect-ratio: 16/10;
  bottom: 6%;
  left: 14%;
  transform: rotateY(16deg) rotateX(-6deg) translateZ(80px);
}
.c3d-4:hover {
  transform: rotateY(16deg) rotateX(-6deg) translateZ(140px) scale(1.05) !important;
}

.c3d-5 {
  width: 310px;
  aspect-ratio: 16/10;
  bottom: 8%;
  right: 14%;
  transform: rotateY(-18deg) rotateX(6deg) translateZ(70px);
}
.c3d-5:hover {
  transform: rotateY(-18deg) rotateX(6deg) translateZ(140px) scale(1.05) !important;
}

/* ── CLIENT LOGOS SHOWCASE: UPPER & LOWER STRIPS WITH AI WORKFLOW MARQUEE ─ */
.logo-strips-container {
  width: 100%;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo-strip {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

@media (max-width: 900px) {
  .logo-strip {
    max-width: 600px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .logo-strip {
    max-width: 320px;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  min-height: 82px;
  box-sizing: border-box;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: transform 0.3s var(--spring-ease), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(254, 60, 1, 0.5);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.6);
}

.client-logo-item img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.65);
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s var(--spring-ease);
}

.client-logo-item:hover img {
  filter: brightness(0) invert(1) opacity(1);
}

/* ── Upper Strip: Creative Software Tools in Monochrome Theme ── */
.upper-strip .client-logo-item img,
.client-logo-item.tool-logo-item img {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
  filter: none;
  opacity: 0.82;
  transition: opacity 0.3s ease, transform 0.3s var(--spring-ease);
}

.upper-strip .client-logo-item:hover img,
.client-logo-item.tool-logo-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* ── Lower Strip: AI Platforms & Creative Tools in Monochrome Theme ── */
.lower-strip .client-logo-item img {
  object-fit: contain;
  filter: none;
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s var(--spring-ease);
}

.lower-strip .client-logo-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.lower-strip .logo-higgsfield {
  height: 27px;
  max-width: 140px;
}

.lower-strip .logo-claude {
  height: 28px;
  max-width: 135px;
}

.lower-strip .logo-magnific {
  height: 26px;
  max-width: 160px;
}

.lower-strip .logo-elevenlabs {
  height: 22px;
  max-width: 170px;
}

@media (max-width: 480px) {
  .lower-strip .logo-higgsfield {
    height: 22px;
    max-width: 115px;
  }
  .lower-strip .logo-claude {
    height: 23px;
    max-width: 110px;
  }
  .lower-strip .logo-magnific {
    height: 21px;
    max-width: 130px;
  }
  .lower-strip .logo-elevenlabs {
    height: 18px;
    max-width: 135px;
  }
}

/* ── HORIZONTAL MOVING STRIP TEXT EFFECT: "AI powered workflow" ── */
.workflow-moving-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  user-select: none;
  pointer-events: none;
}

.workflow-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  gap: 36px;
  animation: workflowTickerScroll 22s linear infinite;
  will-change: transform;
}

.workflow-ticker-item {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.workflow-ticker-item .ast {
  color: var(--accent-orange);
  font-size: 1.15em;
  transform: rotate(-17deg);
  display: inline-block;
}

@keyframes workflowTickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ── 6. EDITORIAL MANIFESTO (ABOUT SECTION) ──────────────────── */
.about {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-manifesto-wrap {
  max-width: 980px;
  margin: 0 auto;
  font-family: var(--f-display);
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-black);
  text-align: left;
}

.about-manifesto-wrap .word {
  display: inline-block;
  opacity: 0.2;
  filter: blur(10px);
  transform: translateY(18px);
  transition: opacity 0.5s var(--spring-ease), filter 0.5s var(--spring-ease), transform 0.5s var(--spring-ease);
  will-change: opacity, filter, transform;
}

.about-manifesto-wrap .word.is-revealed {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0px);
}

.about-manifesto-wrap em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 700;
}

/* Inline Stickers & Micro-GIFs */
.inline-badge {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 4px;
  transform: translateY(-2px);
  transition: transform 0.3s var(--spring-ease);
}

.inline-badge:hover {
  transform: scale(1.15) rotate(6deg);
}

.inline-badge img {
  height: 1.15em;
  width: auto;
  border-radius: 6px;
  display: inline-block;
}

.inline-final {
  background: var(--accent-orange);
  color: #fff;
  font-family: var(--f-display);
  font-size: 0.65em;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 2px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 4px;
  box-shadow: 0 4px 14px rgba(254, 60, 1, 0.4);
}

/* Monograph Portrait & Bio Block */
.about-monograph-row {
  width: 100%;
  max-width: 980px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.about-portrait-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-hairline);
  background: #000;
}

.about-portrait-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s var(--spring-ease);
}

.about-portrait-card:hover img {
  transform: scale(1.04);
}

.ap-plate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.ap-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.ap-role {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-metrics-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.am-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.am-stat-val {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-black);
}

.am-stat-lbl {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.am-philosophy {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-black);
  line-height: 1.68;
}

/* ── 7. CATEGORIZED WORK SHOWCASE (THE 4 DISCIPLINARY SHELVES) ─ */
.work-section {
  padding: var(--pad-y) 0;
  background: var(--bg-white);
}

/* Marquee Header */
.marquee-header {
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-hairline);
  user-select: none;
  display: flex;
  margin-bottom: 48px;
}

.marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: marqueeLoop 24s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: clamp(40px, 6.5vw, 92px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--text-black);
}

.marquee-item .ast {
  color: var(--accent-orange);
  font-size: 0.85em;
  transform: translateY(-4px);
}

@keyframes marqueeLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Category Shelf & Work Showcase */
.work-shelf-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Reference Work Jump Navigation */
.work-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
}

.filter-btn {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s var(--spring-ease);
}

.filter-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  color: var(--text-black);
}

.filter-btn.is-active {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

/* Stacked Shelves */
.shelf-block {
  margin-bottom: 80px;
  scroll-margin-top: 130px;
}

.shelf-block:last-child {
  margin-bottom: 0;
}

.shelf-title-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 16px;
  margin-bottom: 36px;
  gap: 16px;
  flex-wrap: wrap;
}

.shelf-title-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.shelf-cat-num {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.shelf-cat-heading {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-black);
}

.shelf-cat-badge {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 16:9 Cinema 3-Wide Grid */
.grid-cinema-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

/* 9:16 Vertical Smartphone 4-Wide Grid */
.grid-reels-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.work-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.btn-load-more {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 14px 36px;
  border-radius: 9999px;
  background: transparent;
  border: 1.5px solid var(--text-black);
  color: var(--text-black);
  cursor: pointer;
  transition: all 0.3s var(--spring-ease);
}

.btn-load-more:hover {
  background: var(--text-black);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Individual Video Project Card */
.proj-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  group: project;
}

.proj-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #0B0F17;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--spring-ease), box-shadow 0.4s var(--spring-ease);
}

.grid-reels-4 .proj-media {
  aspect-ratio: 9/16;
}

.proj-card:hover .proj-media {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.proj-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--spring-ease);
}

.proj-card:hover .proj-thumb {
  transform: scale(1.05);
}

.proj-badge-top-left {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s var(--spring-ease);
}

.proj-card:hover .proj-badge-top-left {
  transform: rotate(-19deg) scale(1.05);
}

.proj-badge-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--accent-orange);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(254, 60, 1, 0.4);
  transition: transform 0.3s var(--spring-ease);
}

.proj-card:hover .proj-badge-top-right {
  transform: rotate(17deg) scale(1.05);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.proj-card:hover .proj-overlay {
  opacity: 1;
}

.proj-play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.28s var(--spring-ease);
}

.proj-card:hover .proj-play-circle {
  transform: scale(1);
}

.proj-play-circle svg {
  margin-left: 2px;
}

.proj-info {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proj-text-col {
  display: flex;
  flex-direction: column;
}

.proj-title {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-black);
}

.proj-client {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-top: 3px;
}

.proj-tools {
  font-family: var(--f-body);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.proj-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.35s var(--spring-ease), background 0.2s, color 0.2s;
}

.proj-card:hover .proj-arrow-btn {
  background: #000;
  color: #fff;
  transform: rotate(45deg);
}

/* ── 8. "WHAT I DO*" SERVICES ACCORDION ──────────────────────── */
.services-section {
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.sec-title-marquee {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: none;
  margin-bottom: clamp(32px, 5vw, 64px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-title-marquee .ast {
  color: var(--accent-orange);
  transform: rotate(-17deg);
  display: inline-block;
}

.service-item {
  border-top: 1px solid var(--border-hairline);
  padding: 30px 0;
  cursor: pointer;
}

.service-item:last-child {
  border-bottom: 1px solid var(--border-hairline);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-title-group {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2.5vw, 32px);
}

.service-num {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.service-name {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-arrow {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.35s var(--spring-ease);
}

.service-item.is-open .service-arrow {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--spring-ease), padding 0.3s ease;
}

.service-item.is-open .service-body {
  max-height: 220px;
  padding-top: 18px;
}

.service-desc {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 820px;
  padding-left: clamp(34px, 4.5vw, 68px);
}

/* ── 9. OUTRO & CONTACT ──────────────────────────────────────── */
.outro-section {
  padding: clamp(90px, 12vw, 180px) var(--pad-x);
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-white);
  text-align: center;
}

.outro-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.outro-kicker {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 18px;
}

.outro-headline {
  font-family: var(--f-display);
  font-size: clamp(38px, 6.5vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 38px;
}

.outro-headline em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 700;
}

.outro-desc {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 38px;
}

.outro-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #FFFFFF;
  padding: 16px 36px;
  border-radius: 9999px;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--spring-ease), background 0.2s, box-shadow 0.3s;
}

.btn-primary-action:hover {
  background: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(254, 60, 1, 0.4);
}

.btn-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-black);
  padding: 15px 28px;
  border-radius: 9999px;
  border: 1px solid var(--border-hairline);
  font-family: var(--f-mono);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--spring-ease);
}

.btn-copy-email:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-black);
  padding: 15px 28px;
  border-radius: 9999px;
  border: 1px solid var(--border-hairline);
  font-family: var(--f-mono);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--spring-ease);
}

.btn-linkedin svg {
  display: inline-block;
  flex-shrink: 0;
}

.btn-linkedin:hover {
  background: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 102, 194, 0.28);
}

.copy-toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #000;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 9999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--spring-ease), opacity 0.3s ease;
  z-index: 2000;
}

.copy-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 10. DIRECTOR'S THEATER LIGHTBOX ─────────────────────────── */
.theater-dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  outline: none;
  z-index: 99999;
}

.theater-dialog::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.theater-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.theater-box {
  width: 100%;
  max-width: 1080px;
  background: #0B0F17;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.theater-box.is-vertical {
  max-width: 440px;
}

.theater-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.th-title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.th-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.th-close:hover {
  background: var(--accent-orange);
}

.theater-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.theater-box.is-vertical .theater-screen {
  aspect-ratio: 9/16;
}

.theater-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.theater-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.72rem;
}

.th-pills {
  display: flex;
  gap: 8px;
}

.th-pill {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--accent-orange);
}

/* ── 11. KINETIC SMART CURSOR ────────────────────────────────── */
.smart-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
  pointer-events: none;
  z-index: 99998;
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  transition: width 0.3s var(--spring-ease), height 0.3s var(--spring-ease), background 0.2s, border 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, width, height;
}

.cursor-text {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  display: none;
  white-space: nowrap;
}

.smart-cursor.is-play {
  width: 86px;
  height: 36px;
  border-radius: 9999px;
  background: var(--accent-orange);
  box-shadow: 0 8px 24px rgba(254, 60, 1, 0.5);
}

.smart-cursor.is-play .cursor-text {
  display: block;
}

.smart-cursor.is-hover {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.08);
  border: 1.5px solid #000;
}

@media (hover: none), (pointer: coarse) {
  .smart-cursor { display: none !important; }
}

/* ── 12. RESPONSIVE BREAKPOINTS ──────────────────────────────── */
@media (max-width: 1080px) {
  .grid-cinema-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-reels-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .c3d-orbit-space {
    height: 480px;
  }
  .c3d-1, .c3d-4, .c3d-5 {
    display: none; /* Keep primary 2 focal cards on tablet */
  }
  .c3d-2 {
    left: 10%;
    width: 380px;
  }
  .c3d-3 {
    right: 5%;
    width: 240px;
  }
}

@media (max-width: 768px) {
  .grid-cinema-3 {
    grid-template-columns: 1fr;
  }
  .grid-reels-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-monograph-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-portrait-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .am-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .c3d-orbit-space {
    height: 380px;
  }
  .c3d-2 {
    left: 5%;
    width: 90%;
    transform: none !important;
  }
  .c3d-3 {
    display: none;
  }
}
