/* ============================================================
   LENS & FRAME — style.css
   Bootstrap 5 + Custom Design System
   Author: Claude / Anthropic
   ============================================================ */

/* ── Google Fonts are loaded in HTML ── */

/* ============================================================
   1. CSS VARIABLES — DARK THEME (default)
   ============================================================ */
:root,
[data-theme="dark"] {
  --bg-base: #080808;
  --bg-panel: #111111;
  --bg-card: #141414;
  --bg-hover: #191919;

  --border-color: #242424;
  --border-muted: #2a2a2a;

  --text-primary: #f0ebe0;
  --text-secondary: #b8b0a0;
  --text-muted: #9a8e82;
  --text-dim: #5a5248;

  --gold: #c9a96e;
  --gold-light: #e2c792;
  --gold-dim: #7a6040;
  --gold-glow: rgba(201, 169, 110, 0.12);

  --nav-bg: rgba(8, 8, 8, 0);
  --nav-bg-scroll: rgba(8, 8, 8, 0.97);

  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 60px rgba(0, 0, 0, 0.7);

  --icon-filter: none;
  --theme-icon: "bi-sun-fill";
}

/* ============================================================
   2. CSS VARIABLES — LIGHT THEME
   ============================================================ */
[data-theme="light"] {
  --bg-base: #f5f0e8;
  --bg-panel: #ede8de;
  --bg-card: #e8e2d6;
  --bg-hover: #dfd9cc;

  --border-color: #cdc7bc;
  --border-muted: #d8d2c6;

  --text-primary: #1a1612;
  --text-secondary: #3d3830;
  --text-muted: #5c5248;
  --text-dim: #8a7e72;

  --gold: #a07840;
  --gold-light: #c09050;
  --gold-dim: #c0a878;
  --gold-glow: rgba(160, 120, 64, 0.12);

  --nav-bg: rgba(245, 240, 232, 0);
  --nav-bg-scroll: rgba(245, 240, 232, 0.97);

  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 50px rgba(0, 0, 0, 0.18);

  --icon-filter: none;
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: "Syne", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

/* Pointer: hide default cursor on desktop only */
@media (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

/* Noise grain overlay — dark only */
[data-theme="dark"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.3;
}

/* ============================================================
   4. CUSTOM CURSOR  (desktop only via @media)
   ============================================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 2147483647; /* max z-index, always on top */
  transform: translate(-50%, -50%);
  display: none; /* hidden by default, shown on fine pointer */
}

@media (pointer: fine) {
  .cursor-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    transition: transform 0.08s;
  }

  .cursor-ring {
    display: block;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(201, 169, 110, 0.45);
    border-radius: 50%;
    transition:
      width 0.2s,
      height 0.2s,
      border-color 0.2s,
      background 0.2s;
  }

  .cursor-ring.hovered {
    width: 56px;
    height: 56px;
    border-color: var(--gold);
    background: var(--gold-glow);
  }
}

/* ============================================================
   5. TYPOGRAPHY UTILITIES
   ============================================================ */
.font-display {
  font-family: "Cormorant Garamond", serif;
}
.font-mono {
  font-family: "Space Mono", monospace;
}

.section-label {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-label.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease 0.1s,
    transform 0.7s ease 0.1s;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   6. SCROLL REVEAL UTILITY
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers */
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}
.reveal-d4 {
  transition-delay: 0.4s;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn-primary-lf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #080808 !important;
  padding: 14px 36px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.btn-primary-lf:hover {
  background: var(--gold-light);
  color: #080808 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
}

.btn-ghost-lf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.btn-ghost-lf:hover {
  color: var(--text-primary);
}
.btn-ghost-lf i {
  transition: transform 0.3s;
}
.btn-ghost-lf:hover i {
  transform: translateX(4px);
}

/* ============================================================
   8. NAVBAR
   ============================================================ */
.lf-navbar {
  background: var(--nav-bg);
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid transparent;
  transition:
    background 0.4s,
    padding 0.4s,
    border-color 0.4s,
    backdrop-filter 0.4s;
}

.lf-navbar.scrolled {
  background: var(--nav-bg-scroll);
  padding-top: 14px;
  padding-bottom: 14px;
  border-color: var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lf-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--text-primary) !important;
  text-decoration: none;
}

.lf-brand span {
  color: var(--gold);
}

.lf-nav-link {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  text-decoration: none;
  padding: 4px 0 !important;
  position: relative;
  transition: color 0.3s !important;
}

.lf-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}

.lf-nav-link:hover {
  color: var(--gold) !important;
}
.lf-nav-link:hover::after {
  right: 0;
}

/* Mobile Nav */
.navbar-collapse {
  background: var(--bg-panel);
  padding: 16px 20px;
  margin-top: 12px;
  border: 1px solid var(--border-color);
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    padding: 0;
    margin-top: 0;
    border: none;
  }
}

/* Hamburger */
.lf-toggler {
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lf-toggler span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.lf-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.lf-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.lf-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* CTA Button */
.btn-nav-cta {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 10px 24px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: var(--gold);
  color: #080808;
}

/* Theme Toggle Button */
.btn-theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   9. HERO
   ============================================================ */
.lf-hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 60% 40%,
      var(--gold-glow) 0%,
      transparent 60%
    ),
    var(--bg-base);
  z-index: 0;
}

[data-theme="light"] .hero-bg {
  background:
    radial-gradient(
      ellipse 80% 60% at 60% 40%,
      rgba(160, 120, 64, 0.08) 0%,
      transparent 60%
    ),
    var(--bg-base);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 10%,
    transparent 80%
  );
  opacity: 0.4;
  z-index: 0;
}

.z-1 {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.label-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 0.95;
  margin-bottom: 32px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.9;
}

/* Hero Stats */
.hero-stats {
  padding-bottom: 8px;
}

.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.stat-num span {
  color: var(--gold);
}

.stat-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Hero Photo Collage ──────────────────────────────── */
.hero-right-wrap {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-photos-collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hpc {
  position: absolute;
  overflow: hidden;
  pointer-events: all;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hpc-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hpc:hover .hpc-inner {
  transform: scale(1.06);
}

.hpc-empty {
  background: linear-gradient(145deg, #1c1812 0%, #2a2218 60%, #1a1510 100%);
}

[data-theme="light"] .hpc-empty {
  background: linear-gradient(145deg, #ddd5c4 0%, #c8bfae 60%, #d4cbb8 100%);
}

/* ── Card 1: portrait, top-left, tilted left ── */
.hpc-1 {
  width: 52%;
  aspect-ratio: 3/4;
  top: 2%;
  left: 0;
  transform: rotate(-5deg);
  z-index: 2;
  animation:
    fadeIn 0.9s 0.5s both,
    hpcFloat1 7s ease-in-out 1.5s infinite;
}

/* ── Card 2: portrait, top-right, tilted right ── */
.hpc-2 {
  width: 47%;
  aspect-ratio: 2/3;
  top: 0;
  right: 0;
  transform: rotate(4deg);
  z-index: 1;
  animation:
    fadeIn 0.9s 0.7s both,
    hpcFloat2 9s ease-in-out 1.7s infinite;
}

/* ── Card 3: landscape, bottom, slight tilt ── */
.hpc-3 {
  width: 62%;
  aspect-ratio: 4/3;
  bottom: 16%;
  left: 16%;
  transform: rotate(-2deg);
  z-index: 3;
  animation:
    fadeIn 0.9s 0.9s both,
    hpcFloat3 8s ease-in-out 1.9s infinite;
}

@keyframes hpcFloat1 {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-16px);
  }
}
@keyframes hpcFloat2 {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-12px);
  }
}
@keyframes hpcFloat3 {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hpc-1,
  .hpc-2,
  .hpc-3 {
    animation: fadeIn 0.9s 0.5s both;
  }
}

/* Stats sit above collage */
.hero-right-wrap .hero-stats {
  position: relative;
  z-index: 5;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  animation: fadeIn 1s 1.8s both;
}

.scroll-text {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.2s infinite;
}

@media (max-width: 575px) {
  .scroll-indicator {
    display: none;
  }
}

/* ============================================================
   10. MARQUEE
   ============================================================ */
.lf-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-panel);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-item {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 60px;
}

.marquee-item em {
  font-style: normal;
  color: var(--gold);
  font-size: 12px;
}

/* ============================================================
   11. SHOWREEL
   ============================================================ */
.lf-reel {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
}

.reel-badge {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.reel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--bg-base);
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 575px) {
  .reel-container {
    aspect-ratio: 16 / 9;
  }
}

.reel-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(ellipse at 30% 50%, var(--gold-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, var(--gold-glow) 0%, transparent 60%);
}

.play-btn {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
  position: relative;
  transition: all 0.4s;
}

.play-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50%;
  animation: pulse 3s infinite;
}

.reel-container:hover .play-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #080808;
  transform: scale(1.08);
}

.reel-label {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.reel-filmstrip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 18px,
    transparent 18px,
    transparent 26px
  );
  opacity: 0.25;
}

/* ============================================================
   12. PORTFOLIO
   ============================================================ */
.lf-portfolio {
  background: var(--bg-base);
  padding: 100px 0;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.filter-btn {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--border-muted);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(102%);
  transition: transform 0.25s ease;
  z-index: -99;
}

.filter-btn span,
.filter-btn {
  position: relative;
  z-index: 1;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: #ffffff;
}

.filter-btn:hover::before {
  transform: translateY(0);
}

.filter-btn.active {
  border-color: var(--gold);
  color: #ffffff;
}

.filter-btn.active::before {
  transform: translateY(0);
}

/* ── Portfolio Grid: CSS Grid (override Bootstrap .row) ── */
#portfolioGrid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 4px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-auto-flow: row dense;
}

#portfolioGrid > .portfolio-col {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Grid span classes */
.pg-8-tall {
  grid-column: span 8;
  grid-row: span 2;
}
.pg-4-tall {
  grid-column: span 4;
  grid-row: span 2;
}
.pg-4 {
  grid-column: span 4;
}
.pg-6 {
  grid-column: span 6;
}

@media (max-width: 991px) {
  #portfolioGrid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .pg-8-tall,
  .pg-4-tall,
  .pg-4,
  .pg-6 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

@media (max-width: 575px) {
  #portfolioGrid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
    gap: 3px !important;
  }
}

/* Portfolio Items */
.portfolio-col {
  transition:
    opacity 0.45s,
    transform 0.45s;
}

.portfolio-col.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  display: none !important;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  height: 100%;
}

.portfolio-item.portfolio-tall {
  height: 100%;
}

/* See More Button */
.portfolio-see-more {
  text-align: center;
  margin-top: 48px;
}

.btn-see-more {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid var(--border-muted);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    border-color 0.3s,
    color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-see-more:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-see-more i {
  transition: transform 0.3s;
}

.btn-see-more:hover i {
  transform: translateY(3px);
}

/* Video Play Button on Grid */
.portfolio-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
  pointer-events: none;
  z-index: 2;
}

.portfolio-item:hover .portfolio-play-btn {
  background: rgba(201, 169, 110, 0.85);
  border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Modal video */
#modalImgWrap video {
  width: 100%;
  max-height: 72vh;
  background: #000;
  display: block;
}

/* Placeholder gradient images */
.portfolio-img {
  position: absolute;
  inset: 0;
  transition:
    transform 0.7s ease,
    filter 0.4s;
  filter: brightness(0.75) saturate(0.8);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.06);
  filter: brightness(0.35) saturate(0.5);
}

.pi-wedding {
  background: linear-gradient(135deg, #1a1208, #3d2a10, #1a1208);
}
.pi-villa {
  background: linear-gradient(135deg, #0d1a1a, #0f3030, #081515);
}
.pi-event {
  background: linear-gradient(135deg, #1a0d0d, #3d1010, #1a0808);
}
.pi-prewedding {
  background: linear-gradient(135deg, #0d0d1a, #151030, #080820);
}
.pi-commercial {
  background: linear-gradient(135deg, #1a1a0d, #353010, #1a1808);
}
.pi-portrait {
  background: linear-gradient(135deg, #0d1a0d, #103010, #081508);
}
.pi-video {
  background: linear-gradient(135deg, #1a1208, #4d3820, #1a1208);
}

[data-theme="light"] .pi-wedding {
  background: linear-gradient(135deg, #d4c4a8, #c8b090, #d4c4a8);
}
[data-theme="light"] .pi-villa {
  background: linear-gradient(135deg, #a8c4c4, #90b8b8, #a8c4c4);
}
[data-theme="light"] .pi-event {
  background: linear-gradient(135deg, #c4a8a8, #b89090, #c4a8a8);
}
[data-theme="light"] .pi-prewedding {
  background: linear-gradient(135deg, #a8a8c4, #9090b8, #a8a8c4);
}
[data-theme="light"] .pi-commercial {
  background: linear-gradient(135deg, #c4c4a8, #b8b890, #c4c4a8);
}
[data-theme="light"] .pi-portrait {
  background: linear-gradient(135deg, #a8c4a8, #90b890, #a8c4a8);
}
[data-theme="light"] .pi-video {
  background: linear-gradient(135deg, #d4c4a8, #c0aa80, #d4c4a8);
}

/* Icon inside portfolio */
.portfolio-icon-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.08);
  transition: opacity 0.4s;
}

.portfolio-item:hover .portfolio-icon-bg {
  opacity: 0;
}

/* Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
}

.p-cat {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s 0.05s;
}

.p-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 300;
  color: #f0ebe0;
  line-height: 1.25;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s 0.1s;
}

.p-type {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(240, 235, 224, 0.6);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s 0.15s;
}

.p-line {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: rgba(240, 235, 224, 0.4);
}

/* Always show overlay text a bit on mobile */
@media (hover: none) {
  .p-cat,
  .p-title,
  .p-type {
    opacity: 1;
    transform: none;
  }
}

.portfolio-item:hover .p-cat,
.portfolio-item:hover .p-title,
.portfolio-item:hover .p-type {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   13. SERVICES
   ============================================================ */
.lf-services {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
}

.services-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
  padding-bottom: 8px;
}

.g-px {
  --bs-gutter-x: 1px;
  --bs-gutter-y: 1px;
}

.service-card {
  background: var(--bg-card);
  padding: 48px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover {
  background: var(--bg-hover);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--border-muted);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
  transition: color 0.3s;
  pointer-events: none;
}

.service-card:hover .service-num {
  color: var(--gold-glow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 28px;
  transition: border-color 0.3s;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
}

.service-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.s-tag {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  border: 1px solid var(--border-muted);
  padding: 4px 12px;
  text-transform: uppercase;
}

/* ============================================================
   14. PROCESS
   ============================================================ */
.lf-process {
  background: var(--bg-base);
  padding: 100px 0;
}

.process-step {
  padding: 48px 36px;
  border: 1px solid var(--border-color);
  height: 100%;
  position: relative;
  transition:
    border-color 0.3s,
    background 0.3s;
}

.process-step:hover {
  border-color: var(--gold-dim);
  background: var(--bg-panel);
}

.step-num {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}

.step-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.lf-testimonials {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  padding: 100px 0;
}

.testimonial-card {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  padding: 40px;
  height: 100%;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.testimonial-card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-hover);
}

.t-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.2;
  margin-bottom: 20px;
}

.t-stars {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.t-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.t-divider {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 18px;
}

.t-name {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.t-role {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   16. CONTACT
   ============================================================ */
.lf-contact {
  background: var(--bg-base);
  padding: 140px 20px;
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    var(--gold-glow) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.05;
  margin: 16px 0 24px;
}

.contact-title em {
  font-style: italic;
  color: var(--gold);
}

.contact-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 48px;
  line-height: 1.9;
}

/* Contact buttons */
.btn-contact-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #080808 !important;
  padding: 16px 40px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-contact-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
}

.btn-contact-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-color);
  color: var(--text-muted) !important;
  padding: 16px 36px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-contact-ghost:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.lf-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
}

.footer-copy {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-social {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-social:hover {
  color: var(--gold);
}

/* ============================================================
   18. MODAL
   ============================================================ */
.lf-modal .modal-dialog {
  max-width: 820px;
}

.lf-modal-content {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 0;
  color: var(--text-primary);
}

.lf-modal-header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-cat-tag {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.lf-modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--text-primary) !important;
  margin: 0;
}

.btn-modal-close {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.btn-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.modal-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-placeholder {
  font-size: 48px;
  color: var(--border-muted);
}

.lf-modal-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-type {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   19. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.1;
    transform: scale(1.28);
  }
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0) translateY(-100%);
    opacity: 0;
    transform-origin: top;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
    transform-origin: bottom;
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hero entrance animations */
.hero-label {
  animation: fadeUp 0.9s 0.3s both;
}
.hero-title {
  animation: fadeUp 0.9s 0.5s both;
}
.hero-sub {
  animation: fadeUp 0.9s 0.7s both;
}
.hero-stats {
  animation: fadeIn 0.9s 1s both;
}

/* ============================================================
   20. THEME TRANSITION
   ============================================================ */
.lf-navbar,
.lf-reel,
.lf-portfolio,
.lf-services,
.lf-process,
.lf-testimonials,
.lf-contact,
.lf-footer,
.service-card,
.testimonial-card,
.process-step,
.lf-marquee,
.reel-container,
.portfolio-item,
.lf-modal-content {
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease;
}

/* ============================================================
   21. RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 991px) {
  section,
  .lf-reel,
  .lf-portfolio,
  .lf-services,
  .lf-process,
  .lf-testimonials,
  .lf-contact {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-title {
    line-height: 1;
  }
}

@media (max-width: 767px) {
  section,
  .lf-reel,
  .lf-portfolio,
  .lf-services,
  .lf-process,
  .lf-testimonials,
  .lf-contact {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .filter-bar {
    gap: 6px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 9px;
  }

  .service-card {
    padding: 36px 28px;
  }
  .process-step {
    padding: 32px 24px;
  }

  .contact-title {
    font-size: 40px;
  }

  .lf-footer .row {
    gap: 12px;
  }
  .footer-copy {
    font-size: 8px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 52px;
  }
  .hero-sub {
    font-size: 13px;
  }
  .section-title {
    font-size: 34px;
  }

  .contact-title {
    font-size: 36px;
  }
  .btn-contact-primary,
  .btn-contact-ghost {
    padding: 14px 24px;
  }
}
