/* ==========================================================================
   FramingX AI — Dark & Cinematic Portfolio Stylesheet
   ========================================================================== */



:root {
  --bg-core: #050507;
  --bg-card: rgba(16, 16, 22, 0.65);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(255, 255, 255, 0.14);
  
  --text-pure: #ffffff;
  --text-main: #f0f0f4;
  --text-muted: #8b8b96;
  --text-subtle: #565662;
  
  --accent-red: #e63946;
  --accent-red-bright: #ff334b;
  --accent-red-glow: rgba(230, 57, 70, 0.45);
  --accent-red-subtle: rgba(230, 57, 70, 0.12);
  
  /* Hero & Site Branding Fonts (Preserved strictly for Hero) */
  --font-hi: 'Clash Display', -apple-system, sans-serif;
  --font-display: 'Clash Display', -apple-system, sans-serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-role: 'Baloo 2', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Non-Hero Section Font Pairing (Headings: General Sans, Body: Plus Jakarta Sans) */
  --font-heading: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-core);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-core);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

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

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #040406;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s var(--ease-cinematic), visibility 0.65s var(--ease-cinematic);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  width: min(340px, 85vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.logo-red-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red);
  animation: pulse-dot 1.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.75); opacity: 0.4; }
}

.loader-bar-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-red), #ff6b7a);
  box-shadow: 0 0 10px var(--accent-red);
  transition: width 0.15s ease-out;
}

.loader-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Persistent Canvas (Fixed behind entire site)
   -------------------------------------------------------------------------- */
.global-canvas-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);
}

.hero-canvas-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(5, 5, 7, 0.65) 100%),
              linear-gradient(to bottom, rgba(5, 5, 7, 0.25) 0%, transparent 12%, transparent 88%, rgba(5, 5, 7, 0.8) 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Navigation Bar (Floating Island Pill matching reference)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, 94vw);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem 0 1.6rem;
  z-index: 1000;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transition: all 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.logo-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2a44;
  box-shadow: 0 0 10px #ff2a44;
}

.accent-text {
  color: #ff2a44;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-item {
  color: #ffffff;
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 0.25s ease, color 0.25s ease;
  position: relative;
}

.nav-item:hover {
  opacity: 1;
}

.nav-item.active {
  opacity: 1;
  font-weight: 600;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #ff2a44;
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(255, 42, 68, 0.8);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s var(--ease-cinematic);
}

.pill-btn.nav-pill,
.nav-pill {
  font-family: var(--font-body);
  background: #ff2a44 !important;
  background-color: #ff2a44 !important;
  border: 1px solid #ff2a44 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 42, 68, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pill-btn.nav-pill:hover,
.nav-pill:hover {
  background: #ff3b54 !important;
  background-color: #ff3b54 !important;
  border-color: #ff3b54 !important;
  color: #ffffff !important;
  box-shadow: 0 0 28px rgba(255, 42, 68, 0.8), 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.pill-btn.nav-pill span,
.pill-btn.nav-pill svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Hero Section & Scroll-Pinned Stage (Managed by GSAP ScrollTrigger)
   -------------------------------------------------------------------------- */
.hero-scroll-track {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 10;
  overflow: hidden;
}

.mobile-hero-bg {
  display: none;
}

.hero-sticky-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5vw 74px 5.5vw;
  pointer-events: none;
  overflow: hidden;
}

/* Left Hero Heading (Avoids subject face, matches reference) */
.hero-left-block {
  pointer-events: auto;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 20;
}

.hero-hi-badge {
  display: inline-block;
  line-height: 1;
  margin-bottom: 0.15rem;
  align-self: flex-start;
  position: relative;
}

.hero-hi-svg {
  width: clamp(115px, 14.5vw, 160px);
  height: auto;
  display: block;
  overflow: visible;
  filter: 
    drop-shadow(0 0 7px rgba(255, 35, 60, 0.95))
    drop-shadow(0 0 18px rgba(255, 25, 50, 0.8))
    drop-shadow(0 0 40px rgba(230, 15, 40, 0.6))
    drop-shadow(0 0 70px rgba(180, 10, 30, 0.35));
  user-select: none;
}

.hi-path {
  fill: #ffffff;
}

.hero-name-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-name-main {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
}

.hero-role-badge {
  font-family: var(--font-role);
  font-size: clamp(1.6rem, 2.9vw, 2.4rem);
  font-weight: 800;
  color: #ff2a44;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(255, 42, 68, 0.4), 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Right Hero Tagline (Clean 2 lines only, centered, fits box without overlapping subject) */
.hero-right-tagline {
  pointer-events: auto;
  align-self: center;
  transform: translateY(-16px);
  width: max-content;
  max-width: 440px;
  background: rgba(12, 12, 16, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.15rem 1.7rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  text-align: center;
  margin-right: 0;
  z-index: 20;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.tagline-content {
  margin: 0;
  text-align: center;
}

.tagline-line1 {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
  white-space: nowrap;
}

.tagline-line2 {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ff334b;
  white-space: nowrap;
  margin-top: 0.25rem;
}

/* Hero Bottom Bar: Categories I've Worked In (Floating Pill matching reference) */
.hero-bottom-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, 94vw);
  height: 54px;
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 30;
  pointer-events: auto;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.bottom-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff2a44;
  box-shadow: 0 0 8px #ff2a44;
}

.bar-title {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #e2e2ea;
  text-transform: uppercase;
  font-weight: 700;
}

.bottom-bar-marquee {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.bottom-bar-marquee::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.32rem 0.82rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #ffffff;
  white-space: nowrap;
  transition: all 0.25s;
}

.category-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ff2a44;
}

.cat-svg {
  color: #ff2a44;
  stroke: #ff2a44;
  flex-shrink: 0;
}

.cat-icon {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Below-Hero Container
   Light blur over persistent static last frame (Apple/Linear minimal aesthetic)
   -------------------------------------------------------------------------- */
.below-hero-container {
  position: relative;
  z-index: 30;
  background: rgba(5, 5, 7, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-text);
}

.below-hero-container .mono,
.modal-dialog .mono {
  font-family: var(--font-text);
}

.section-block {
  padding: 110px 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #a0a0b2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 400;
  color: #888898;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Subtle Scroll-Reveal Animation */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-item.revealed,
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-cinematic), transform 0.7s var(--ease-cinematic);
}

/* Shared Buttons */
.center-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-text);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  transition: all 0.25s var(--ease-cinematic);
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-secondary-glow {
  background: rgba(20, 20, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn-secondary-glow:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.btn-whatsapp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--accent-red);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.35);
  transition: transform 0.25s var(--ease-cinematic), box-shadow 0.25s var(--ease-cinematic), background-color 0.25s;
}

.btn-whatsapp-primary:hover {
  background: var(--accent-red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 57, 70, 0.5);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.25s var(--ease-cinematic);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.pill-btn:active,
.btn-whatsapp-primary:active,
.btn-secondary-outline:active,
.btn-secondary-glow:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

/* --------------------------------------------------------------------------
   1. SHOWREEL (Pinterest-Style Masonry Grid: 8 Mixed & Interspersed Tiles)
   -------------------------------------------------------------------------- */
#work.section-block {
  padding: 55px 0 45px;
}

#work .section-header {
  margin-bottom: 1.8rem;
}

.showreel-masonry-grid {
  position: relative;
  width: 100%;
  margin-bottom: 1.8rem;
}

/* Fallback before dynamic packing initializes */
.showreel-masonry-grid:not(.masonry-initialized) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.showreel-masonry-grid:not(.masonry-initialized) .tile-hero {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.showreel-masonry-grid:not(.masonry-initialized) .tile-lemon-featured {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.showreel-masonry-grid:not(.masonry-initialized) .tile-vertical {
  aspect-ratio: 3 / 4;
}

.showreel-masonry-grid:not(.masonry-initialized) .tile-horizontal {
  aspect-ratio: 16 / 10;
}

.bento-slot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(14, 14, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  transition: transform 0.35s var(--ease-cinematic), border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-slot:hover {
  transform: scale(1.025);
  border-color: rgba(255, 42, 68, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 42, 68, 0.2);
  z-index: 10;
}

/* 1. Large Hero Tile (Landscape, biggest, featured prominently) */
.tile-hero {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tile-hero:hover {
  border-color: rgba(230, 57, 70, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75), 0 0 32px rgba(230, 57, 70, 0.25);
}

/* 2. Vertical & Horizontal Tiles */
.tile-vertical {
  aspect-ratio: 3 / 4;
}

.tile-horizontal {
  aspect-ratio: 16 / 10;
}

/* Featured Lemon Juice Tile (Widescreen, sits between medium and large) */
.tile-lemon-featured {
  aspect-ratio: 16 / 7;
  border-color: rgba(255, 204, 0, 0.28);
}

.tile-lemon-featured:hover {
  border-color: rgba(255, 204, 0, 0.7);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 204, 0, 0.25);
}

/* Static Thumbnail Poster (Guarantees immediate preview, no blank/black screen) */
.bento-slot .card-thumb-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Video Background */
.bento-slot .card-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-slot:hover .card-video-bg,
.bento-slot.is-playing .card-video-bg {
  opacity: 1;
}

.bento-slot:hover .card-thumb-poster,
.bento-slot.is-playing .card-thumb-poster {
  opacity: 0;
}

/* Content Overlay */
.bento-slot-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.55) 0%, rgba(5, 5, 7, 0.08) 40%, rgba(5, 5, 7, 0.88) 100%);
  pointer-events: none;
}

.tile-vertical .bento-slot-content {
  padding: 0.95rem;
}

.bento-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Small Category Label Chip (Matching Hero Bottom Bar Style) */
.tile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(10, 10, 14, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  transition: all 0.25s ease;
}

.bento-slot:hover .tile-chip {
  background: rgba(18, 18, 24, 0.88);
  border-color: rgba(255, 42, 68, 0.5);
  box-shadow: 0 0 12px rgba(255, 42, 68, 0.2);
}

.tile-chip .cat-svg {
  color: var(--accent-red);
  stroke: var(--accent-red);
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.bento-featured-badge {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #ff334b;
  background: rgba(255, 42, 68, 0.12);
  border: 1px solid rgba(255, 42, 68, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  font-weight: 700;
}

.bento-slot-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.tile-hero .bento-title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.tile-vertical .bento-title {
  font-size: 0.96rem;
}

.tile-lemon-featured .bento-title {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

.badge-lemon {
  color: #ffca28 !important;
  background: rgba(255, 202, 40, 0.12) !important;
  border-color: rgba(255, 202, 40, 0.35) !important;
}

.play-dot-lemon {
  background: #ffca28 !important;
  box-shadow: 0 0 8px #ffca28 !important;
}

.bento-hint {
  font-size: 0.75rem;
  color: #888898;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.play-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
  display: inline-block;
}

/* --------------------------------------------------------------------------
   2. COMPARISON (Why AI Videos Beat Traditional Production)
   -------------------------------------------------------------------------- */
.comp-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.comp-clean-box {
  border-radius: 16px;
  padding: 28px;
  min-width: 0;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.comp-clean-box.box-traditional {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.comp-clean-box.box-framingx {
  border: 1px solid rgba(230, 57, 70, 0.45);
  background: rgba(230, 57, 70, 0.06);
}

.comp-box-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #a0a0b2;
  margin-bottom: 1.4rem;
}

.comp-box-title.title-framingx {
  color: #ffffff;
}

.comp-rows-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.comp-text-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-text-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comp-row-label {
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.box-framingx .comp-row-label {
  color: rgba(255, 255, 255, 0.8);
}

.comp-row-val {
  font-family: var(--font-text);
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   3. IMAGE SHOWREEL (Pinterest-Style Masonry Grid: 14 Mixed Real Photos)
   -------------------------------------------------------------------------- */
#photography.section-block {
  padding: 55px 0 45px;
}

#photography .section-header {
  margin-bottom: 1.8rem;
}

.photo-masonry-grid {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

/* Fallback before dynamic packing initializes (4 columns desktop) */
.photo-masonry-grid:not(.masonry-initialized) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-slot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(14, 14, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  width: 100%;
  max-width: 310px; /* Explicit hard constraint: no tile exceeds 310px wide */
  min-height: 200px; /* Explicit lower cap: roughly 200-350px range */
  max-height: 350px; /* Explicit upper cap: no photo dominates */
  transition: transform 0.35s var(--ease-cinematic), border-color 0.3s ease, box-shadow 0.3s ease;
}

.photo-slot:hover {
  transform: scale(1.025);
  border-color: rgba(255, 42, 68, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 42, 68, 0.2);
  z-index: 10;
}

.photo-slot .photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fills tile properly without distortion */
  z-index: 1;
  opacity: 1;
  transition: transform 0.5s var(--ease-cinematic);
}

.photo-slot:hover .photo-img {
  transform: scale(1.05);
}

.photo-tile-compact {
  aspect-ratio: 4 / 3;
  height: 210px;
}

.photo-tile-medium {
  aspect-ratio: 1 / 1;
  height: 260px;
}

.photo-tile-tall {
  aspect-ratio: 3 / 4;
  height: 320px;
}

/* Content Overlay for Medium Compact Photo Slots */
.photo-slot-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.55) 0%, rgba(5, 5, 7, 0.03) 40%, rgba(5, 5, 7, 0.88) 100%);
  pointer-events: none;
}

.photo-slot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.photo-slot .tile-chip {
  padding: 0.22rem 0.65rem;
  font-size: 0.7rem;
  gap: 0.35rem;
}

.photo-slot-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.photo-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   4. WHAT WE CREATE (4 Offering Cards)
   -------------------------------------------------------------------------- */
.services-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.service-clean-card {
  position: relative;
  overflow: hidden;
  background: rgba(14, 14, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-cinematic), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.service-clean-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.35), transparent);
  opacity: 0.7;
  transition: opacity 0.35s ease, left 0.35s ease, right 0.35s ease, background 0.35s ease;
  pointer-events: none;
}

.service-clean-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.45);
  background: radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.09) 0%, rgba(16, 14, 20, 0.7) 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(230, 57, 70, 0.2);
}

.service-clean-card:hover::before {
  left: 8%;
  right: 8%;
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--accent-red-bright), transparent);
}

.service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  box-shadow: 0 0 16px rgba(230, 57, 70, 0.14);
  margin-bottom: 1.3rem;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-cinematic);
}

.service-clean-card:hover .service-icon-wrap {
  background: rgba(230, 57, 70, 0.16);
  border-color: rgba(230, 57, 70, 0.55);
  color: var(--accent-red-bright);
  box-shadow: 0 0 24px rgba(230, 57, 70, 0.35);
  transform: scale(1.05);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-family: var(--font-text);
  font-size: 0.94rem;
  color: #858596;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   5. PROCESS/ROADMAP (Faster Way to Create Your Campaign...)
   -------------------------------------------------------------------------- */
.roadmap-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.roadmap-step-card {
  background: rgba(14, 14, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease-cinematic), border-color 0.3s ease;
}

.roadmap-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.step-num {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  margin-bottom: 1.1rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.step-desc {
  font-family: var(--font-text);
  font-size: 0.92rem;
  color: #858596;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   6. FAQ (Accordion Style)
   -------------------------------------------------------------------------- */
.faq-accordion-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  background: rgba(14, 14, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease;
}

.faq-accordion-item.active {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-text);
}

.faq-question {
  font-family: var(--font-text);
  font-size: 0.98rem;
  font-weight: 500;
  color: #f0f0f4;
  line-height: 1.4;
}

.faq-icon-chevron {
  color: #888898;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-cinematic), color 0.25s;
}

.faq-accordion-item.active .faq-icon-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-cinematic);
}

.faq-answer-inner {
  padding: 0 1.6rem 1.4rem 1.6rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #888898;
}

/* --------------------------------------------------------------------------
   7. BOOK A CALL (WhatsApp + Calendly Button)
   -------------------------------------------------------------------------- */
.book-call-card {
  background: rgba(14, 14, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 56px 36px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.book-call-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.book-call-subtext {
  font-family: var(--font-text);
  font-size: 1.02rem;
  color: #888898;
  max-width: 480px;
  margin: 0 auto 2rem auto;
  line-height: 1.55;
}

.book-call-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary Calendly "Book a Call" Button (Red Accent Theme matching site design) */
.btn-book-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--accent-red);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--accent-red);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.38);
  transition: transform 0.25s var(--ease-cinematic), box-shadow 0.25s var(--ease-cinematic), background-color 0.25s, border-color 0.25s;
}

.btn-book-call:hover {
  background: var(--accent-red-bright);
  border-color: var(--accent-red-bright);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 57, 70, 0.55);
}

.btn-book-call:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-book-call svg {
  stroke: #ffffff;
  transition: transform 0.25s var(--ease-cinematic);
}

.btn-book-call:hover svg {
  transform: scale(1.08);
}

/* Secondary WhatsApp Button in Schedule Section */
.btn-whatsapp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 0.25s var(--ease-cinematic), box-shadow 0.25s var(--ease-cinematic), background-color 0.25s, border-color 0.25s;
}

.btn-whatsapp-secondary:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-secondary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-whatsapp-secondary svg {
  fill: #25d366;
  transition: transform 0.25s var(--ease-cinematic);
}

.btn-whatsapp-secondary:hover svg {
  transform: scale(1.08);
}

/* Calendly Popup Widget Styles & Modal Isolation */
.calendly-overlay {
  z-index: 999999 !important;
}

.calendly-overlay .calendly-popup {
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 70px 0 60px 0;
  background: rgba(5, 5, 7, 0.85);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.logo-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
}

.footer-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.accent-text {
  color: var(--accent-red);
}

.footer-desc {
  font-family: var(--font-text);
  font-size: 0.88rem;
  color: #727282;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 1rem;
}

.footer-contact-grid {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}

.contact-col-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent-red);
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
  width: fit-content;
}

.contact-btn-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-red);
  transform: translateX(3px);
}

.contact-text-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0.5rem 0;
}

/* --------------------------------------------------------------------------
   MODALS: Video Lightbox & Photography Gallery
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-cinematic), visibility 0.35s;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  font-family: var(--font-text);
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition: transform 0.32s var(--ease-cinematic), opacity 0.32s ease;
  will-change: transform, opacity;
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-video-dialog {
  width: min(900px, 92vw);
  padding: 2.5rem;
}

.modal-gallery-dialog {
  width: min(1050px, 94vw);
  padding: 3rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s;
}

.modal-close-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: rotate(90deg);
}

.modal-player-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modal-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-video-details {
  margin-bottom: 2rem;
}

.video-modal-cat {
  font-size: 0.78rem;
  color: var(--accent-red);
}

.video-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.3rem;
}

.shelf-title {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 0.8rem;
}

.shelf-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.8rem;
}

.shelf-thumb-item {
  aspect-ratio: 16/9;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.shelf-thumb-item:hover, .shelf-thumb-item.active {
  border-color: var(--accent-red);
  transform: scale(1.04);
}

.shelf-thumb-item img, .shelf-thumb-item div {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Modal */
.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.gallery-modal-headline {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.gallery-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s;
}

.tab-btn:hover, .tab-btn.active {
  color: #ffffff;
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 14px var(--accent-red-glow);
}

.modal-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  animation: tabFadeIn 0.24s var(--ease-cinematic) both;
}

.gallery-item img, .gallery-item .gallery-mockup {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  font-size: 0.8rem;
  color: #ffffff;
}

/* Commercials Gallery Modal Video Cards */
.gallery-video-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111118;
  height: 220px;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  animation: tabFadeIn 0.24s var(--ease-cinematic) both;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-video-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 42, 68, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 42, 68, 0.2);
}

.gallery-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0d0d12;
}

.gallery-video-play-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 2;
}

.gallery-video-play-badge svg {
  margin-left: 2px;
}

.gallery-video-item:hover .gallery-video-play-badge {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.1);
}

.gallery-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-video-tag {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--accent-red);
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-video-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

/* Photo Lightbox Modal Viewer */
.modal-photo-dialog {
  width: min(940px, 94vw);
  max-height: 92vh;
  padding: 1.6rem;
  background: rgba(13, 13, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 42, 68, 0.15);
}

.photo-lightbox-media {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #08080c;
}

.photo-lightbox-media img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.photo-lightbox-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
}

.photo-lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

@media (max-width: 1250px) {
  .hero-sticky-stage {
    padding: 0 2vw 74px 4.5vw;
  }
  .hero-right-tagline {
    width: max-content;
    max-width: 410px;
    padding: 1rem 1.4rem;
    transform: translateY(-20px);
    margin-right: 0;
  }
  .tagline-line1,
  .tagline-line2 {
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100vw - 24px);
    top: 12px;
    padding: 0 1.1rem;
    height: 56px;
  }
  
  .nav-menu {
    display: flex;
    gap: 1.1rem;
  }

  .nav-item {
    font-size: 0.82rem;
  }

  .pill-btn.nav-pill {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .hero-bottom-bar {
    width: calc(100vw - 24px);
    bottom: 12px;
    padding: 0 1rem;
  }

  .hero-sticky-stage {
    flex-direction: column;
    justify-content: center;
    padding: 80px 1.5rem 80px 1.5rem;
    gap: 1.5rem;
  }

  .hero-left-block {
    max-width: 100%;
  }

  .hero-right-tagline {
    align-self: flex-start;
    margin-right: 0;
    width: max-content;
    max-width: calc(100vw - 48px);
    transform: none;
    padding: 0.85rem 1.25rem;
  }

  .tagline-line1,
  .tagline-line2 {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   MOBILE LAYOUT (max-width: 768px):
   - Scroll-triggered frame animation disabled
   - Single static hero frame background with cinematic overlay
   - Normal, non-pinned flow for hero and entire page
   - All portfolio sections visible in natural scroll order
   ========================================================================== */
@media (max-width: 768px) {
  /* Disable persistent fixed canvas on mobile */
  .global-canvas-wrap {
    display: none !important;
  }

  /* Mobile Hero Section (Plain Dark Background, No Photo) */
  .hero-scroll-track {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 75vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: #050507 !important;
  }

  /* Remove static hero image completely on mobile */
  .mobile-hero-bg {
    display: none !important;
  }

  /* Remove Categories bar completely on mobile */
  .hero-bottom-bar {
    display: none !important;
  }

  /* Mobile Hero Stage (Normal document flow, no pinning) */
  .hero-sticky-stage {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    min-height: 75vh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 100px 1.25rem 45px 1.25rem !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  .hero-left-block {
    position: relative !important;
    z-index: 5 !important;
    max-width: 100% !important;
    pointer-events: auto !important;
  }

  .hero-right-tagline {
    position: relative !important;
    z-index: 5 !important;
    align-self: flex-start !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    padding: 0.9rem 1.2rem !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
  }

  /* Below-Hero Container in normal scroll flow */
  .below-hero-container {
    position: relative !important;
    z-index: 10 !important;
    background: #050507 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Explicit mobile section ordering */
  .below-hero-container #work { order: 1; }
  .below-hero-container #photography { order: 2; }
  .below-hero-container #comparison { order: 3; }
  .below-hero-container #services { order: 4; }
  .below-hero-container #process { order: 5; }
  .below-hero-container #faq { order: 6; }
  .below-hero-container #contact { order: 7; }
  .below-hero-container .site-footer { order: 8; }

  /* 1. Showreel Video Section Mobile Layout (Clean 2-column hybrid stacked layout) */
  .showreel-masonry-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    position: static !important;
    height: auto !important;
    margin-bottom: 2rem !important;
  }

  .showreel-masonry-grid .bento-slot {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  /* Horizontal videos stay wide (span full width across 2 columns) */
  .showreel-masonry-grid .tile-hero,
  .showreel-masonry-grid .tile-lemon-featured,
  .showreel-masonry-grid .tile-horizontal {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 195px !important;
  }

  /* Vertical videos stay tall (span 1 column, sitting side-by-side in pairs) */
  .showreel-masonry-grid .tile-vertical {
    grid-column: span 1 !important;
    aspect-ratio: 9 / 14 !important;
    min-height: 250px !important;
  }

  .showreel-masonry-grid .bento-slot-content {
    padding: 0.85rem !important;
  }

  .showreel-masonry-grid .bento-title {
    font-size: 0.92rem !important;
  }

  .showreel-masonry-grid .tile-hero .bento-title {
    font-size: 1.05rem !important;
  }

  .showreel-masonry-grid .tile-chip {
    padding: 0.22rem 0.55rem !important;
    font-size: 0.68rem !important;
  }

  /* Modal Dialogs mobile padding */
  .modal-video-dialog {
    width: 95vw !important;
    padding: 1.25rem !important;
  }

  .modal-gallery-dialog {
    width: 96vw !important;
    padding: 1.25rem !important;
  }

  /* Ensure all content is immediately visible on mobile without scroll delay */
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 0 0.8rem;
    height: 50px;
  }

  .nav-logo {
    font-size: 0.92rem;
    gap: 0.35rem;
  }

  .nav-menu {
    gap: 0.65rem;
  }

  .nav-item {
    font-size: 0.72rem;
  }

  .pill-btn.nav-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
    gap: 0.25rem;
  }

  .pill-btn.nav-pill svg {
    display: none;
  }

  .tagline-line1,
  .tagline-line2 {
    font-size: 0.76rem;
  }

  .hero-hi-svg {
    width: 105px;
  }
}
@media (max-width: 900px) {
  .section-block {
    padding: 80px 0;
  }

  /* 1. Showreel Masonry */
  .showreel-masonry-grid:not(.masonry-initialized) {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* 2. Comparison: kept 2 columns side by side */
  .comp-clean-grid {
    gap: 16px;
  }

  /* 3. Images: 3 columns fallback */
  .photo-masonry-grid:not(.masonry-initialized) {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* 4. What We Create: 1 column */
  .services-2x2-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 5. Roadmap: 1 column */
  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 9. Footer */
  .footer-layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-contact-grid {
    gap: 2.5rem;
  }

  .modal-masonry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-block {
    padding: 60px 0;
  }

  #work.section-block {
    padding: 40px 0 35px;
  }


  /* 2. Comparison: kept side-by-side with compact padding */
  .comp-clean-box {
    padding: 16px 14px;
  }

  .comp-box-title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .comp-row-label,
  .comp-row-val {
    font-size: 0.8rem;
  }

  /* 3. Images: 2 compact columns on mobile */
  .photo-masonry-grid:not(.masonry-initialized) {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .photo-slot {
    border-radius: 10px;
  }
  .photo-slot-content {
    padding: 0.6rem;
  }
  .photo-slot .tile-chip {
    padding: 0.18rem 0.5rem;
    font-size: 0.62rem;
  }
  .photo-title {
    font-size: 0.76rem;
  }

  .modal-photo-dialog {
    padding: 1rem;
  }

  .photo-lightbox-media {
    max-height: 60vh;
  }

  .photo-lightbox-media img {
    max-height: 60vh;
  }

  .photo-lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-top: 0.8rem;
  }

  .photo-lightbox-title {
    font-size: 1.05rem;
  }

  /* 7. Book Call Card */
  .book-call-card {
    padding: 40px 20px;
  }

  .footer-contact-grid {
    flex-direction: column;
    gap: 2rem;
  }
}
