@font-face {
  font-family: 'STUDIIO';
  src: url('Typo/STUDIIO-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'STUDIIO';
  src: url('Typo/STUDIIO.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'STUDIIO';
  src: url('Typo/STUDIIO-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'STUDIIO';
  src: url('Typo/STUDIIO Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
} 

/* ============================================
   LibreMax — Cinematic Minimal Portfolio
   ============================================ */

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

:root {
  --bg:         #080808;
  --surface:    #111111;
  --border:     #1D1D1F;
  --text:       #F5F5F7;
  --muted:      #86868B;
  --accent:     #F5F5F7;
  --white:      #FFFFFF;
}

html {
  scroll-behavior: smooth;
  background-color: #080808;
  background-image:
    linear-gradient(to bottom, #080808 0%, transparent 18vh, transparent 100%),
    linear-gradient(rgba(255,255,255,0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.007) 1px, transparent 1px);
  background-size: 100% 100%, 7px 7px, 7px 7px;
}

body {
  background-color: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none; /* hide default cursor */
}

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

/* ============================================
   Custom Cursor
   ============================================ */

.cursor {
  position: fixed;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99998;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: width 0.35s cubic-bezier(0.34,1.56,0.64,1),
              height 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

body.hovering .cursor-follower {
  width: 56px;
  height: 56px;
  border-color: rgba(255,255,255,0.18);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  background: transparent;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2.5rem;
  border-bottom: none;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.nav-logo:hover .nav-logo-img {
  animation: spin 0.7s linear infinite;
}

.nav-logo-img.spinning {
  animation: spin 0.7s linear 1 forwards;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-weddings-btn {
  font-family: 'STUDIIO', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.55rem 1.1rem 0.4rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 60%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 2px 16px rgba(0,0,0,0.18),
    0 0 0 0.5px rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.nav-weddings-btn:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.03) 60%, rgba(255,255,255,0.09) 100%);
  border-color: rgba(255,255,255,0.2);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.6),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 4px 24px rgba(0,0,0,0.22),
    0 0 0 0.5px rgba(255,255,255,0.1);
}

.nav-contact-btn {
  margin-right: 1rem;
  font-family: 'STUDIIO', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.55rem 1.1rem 0.4rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 60%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 2px 16px rgba(0,0,0,0.18),
    0 0 0 0.5px rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.nav-contact-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.03) 60%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

/* ============================================
   Hero — 3-column video grid
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Grid wrapper fills the hero */
.hero-grid-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* The 3D tilted grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  width: 120%;
  margin-left: -10%;
  transform: perspective(800px) rotateX(14deg);
  transform-origin: center 60%;
  will-change: transform;
}

/* Each column */
.hero-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
}

.hero-col--odd  { transform: translateY(-10vw); }
.hero-col--even { transform: translateY(5vw); }

/* Videos inside columns */
.hero-col video {
  width: 100%;
  height: 22vw;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Gradient overlays — match scobprod */
.hero-grad-top,
.hero-grad-bottom,
.hero-grad-left,
.hero-grad-right {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-grad-top {
  top: 0; left: 0; right: 0;
  height: 75%;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 30%, transparent 100%);
}

.hero-grad-bottom {
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 95%);
}

.hero-grad-left {
  top: 0; left: 0; bottom: 0;
  width: 6%;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.hero-grad-right {
  top: 0; right: 0; bottom: 0;
  width: 6%;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* Title overlay — pinned to upper area */
.hero-content {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  user-select: none;
  white-space: nowrap;
}

.hero-title {
  font-family: 'STUDIIO', sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: -0.02em;
  line-height: 1;

  color: var(--white);
  animation: fluidElectric 2.4s 0.2s linear both;
}


/* ─────────────────────────────────────────────
   Aquatic + electric entrance
   ─────────────────────────────────────────────
   Phases :
   0–8%   silence noir
   8–15%  foudre : flash cyan aveuglant
   15–22% flicker : instabilité électrique
   22–45% formation fluide : le texte émerge
   45–75% settle aquatique : oscillation douce
   75–100 repos : liquid glass pur
   ───────────────────────────────────────────── */
@keyframes fluidElectric {
  0% {
    opacity: 0;
    filter: blur(0) brightness(0);
    clip-path: inset(50% 0% 50% 0%);
    letter-spacing: 0.25em;
    text-shadow: none;
  }

  /* ── Strike ── */
  8% {
    opacity: 1;
    filter: blur(0) brightness(8);
    clip-path: inset(42% 0% 42% 0%);
    letter-spacing: 0.18em;
    text-shadow:
      0  0  20px #00ffff,
      0  0  50px rgba(0, 200, 255, 0.9),
      0  0 100px rgba(0, 130, 255, 0.7),
      5px 0      rgba(255, 80, 20, 0.5),
      -5px 0     rgba(0, 220, 255, 0.6);
  }

  /* ── Flicker 1 ── */
  13% {
    opacity: 0.5;
    filter: blur(6px) brightness(2);
    clip-path: inset(34% 0% 34% 0%);
    letter-spacing: 0.10em;
    text-shadow: 0 0 30px rgba(0, 200, 255, 0.6);
  }

  /* ── Re-strike ── */
  18% {
    opacity: 1;
    filter: blur(1px) brightness(5);
    clip-path: inset(22% 0% 22% 0%);
    letter-spacing: 0.06em;
    text-shadow:
      0 0 25px #00eeff,
      0 0 60px rgba(0, 160, 255, 0.8);
  }

  /* ── Flicker 2 ── */
  22% {
    opacity: 0.8;
    filter: blur(3px) brightness(1.8);
    clip-path: inset(12% 0% 12% 0%);
    letter-spacing: 0.02em;
    text-shadow: 0 0 14px rgba(0, 180, 255, 0.5);
  }

  /* ── Fluid open ── */
  35% {
    opacity: 1;
    filter: blur(0.5px) brightness(1.5);
    clip-path: inset(2% 0% 2% 0%);
    letter-spacing: -0.005em;
    text-shadow: 0 0 10px rgba(100, 210, 255, 0.5);
  }

  /* ── Aquatic overshoot (bulle de surface) ── */
  48% {
    filter: blur(0) brightness(1.2);
    clip-path: inset(0% 0% 0% 0%);
    letter-spacing: -0.025em;
    text-shadow: 0 0 6px rgba(160, 225, 255, 0.35);
  }

  62% {
    letter-spacing: -0.018em;
    text-shadow: 0 0 4px rgba(200, 235, 255, 0.2);
    filter: brightness(1.06);
  }

  78% {
    letter-spacing: -0.021em;
    text-shadow: 0 0 2px rgba(220, 240, 255, 0.1);
    filter: brightness(1.02);
  }

  100% {
    opacity: 1;
    filter: none;
    clip-path: inset(0% 0% 0% 0%);
    letter-spacing: -0.02em;
    text-shadow: none;
  }
}



.hero-sub {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.55);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1;   transform: translateY(0); }
  60%  { opacity: 0;   transform: translateY(10px); }
  61%  { opacity: 0;   transform: translateY(0); }
  100% { opacity: 1;   transform: translateY(0); }
}

/* ============================================
   Brands marquee
   ============================================ */

.brands-mobile { display: none; }

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 5rem 0;
  margin-top: -2rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

/* Reveal animation — applied by JS on desktop only */
.marquee-wrap.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  animation: marquee 40s linear infinite;
}

.marquee-track img {
  height: 220px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  flex-shrink: 0;
  pointer-events: none;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================
   Sections — shared
   ============================================ */

.section {
  padding: 8rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-work {
  max-width: none;
  margin: 0;
  padding: 0;
}

.section-label {
  font-family: 'STUDIIO', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}

/* ============================================
   Work — Full-screen one-at-a-time reel
   ============================================ */

.section-work .section-label {
  padding: 6rem 4rem 2.5rem;
}

.work-card {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  cursor: pointer;
}

/* Counter — top-left */
.work-counter {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  z-index: 2;
  font-variant-numeric: tabular-nums;
}

.work-card-thumb {
  position: absolute;
  inset: 0;
}

.work-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Slight zoom out when card enters viewport */
.work-card.in-view .work-video {
  transform: scale(1);
}

.work-card-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8rem 2.5rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  z-index: 2;
}

.work-title {
  font-family: 'STUDIIO', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}

.work-type {
  font-size: 0.68rem;
  color: rgba(245,245,247,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ============================================
   About
   ============================================ */

.section-about {
  max-width: 1200px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 16px;
  will-change: transform;
}

.about-image-wrap {
  overflow: hidden;
  border-radius: 16px;
}

.about-text {
  will-change: transform;
}

.about-heading {
  font-family: 'STUDIIO', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'STUDIIO', sans-serif;
  padding: 0.85rem 1.8rem 0.65rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 60%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 2px 16px rgba(0,0,0,0.18),
    0 0 0 0.5px rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.btn-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover .btn-icon {
  transform: translate(2px, -2px);
}

.btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.03) 60%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

/* ============================================
   Contact
   ============================================ */

.section-contact {
  max-width: 100%;
  padding: 4rem 2.5rem 0;
  text-align: center;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.section-contact .section-label {
  justify-content: center;
}

.contact-heading {
  font-family: 'STUDIIO', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 4rem;
}

.typewriter-char {
  opacity: 0;
  display: inline;
  transition: opacity 0.12s ease;
}

.blink-dot {
  display: inline;
  opacity: 0;
}

@keyframes blinkDot {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.blink-dot.blinking {
  animation: blinkDot 1.1s step-start infinite;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  font-family: 'STUDIIO', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 1.8rem 0.65rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 60%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 2px 16px rgba(0,0,0,0.18),
    0 0 0 0.5px rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  margin-bottom: 2rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.contact-email:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.03) 60%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

.contact-social {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 60%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.04),
    0 2px 16px rgba(0,0,0,0.18),
    0 0 0 0.5px rgba(255,255,255,0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.social-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.03) 60%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

.footer-bar {
  margin-top: 6rem;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================
   Scroll reveal — cinematic
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Section labels slide in from left */
.section-label {
  transform: translateX(-16px) !important;
}
.section-label.visible {
  transform: translateX(0) !important;
}


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .pillar { border-radius: 0; height: 220px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}




/* ============================================
   Modal / lightbox
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.modal-video {
  width: 90vw;
  max-width: 1200px;
  max-height: 85vh;
  outline: none;
}

.modal-vimeo {
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border: none;
  outline: none;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.01) 60%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 2px 16px rgba(0, 0, 0, 0.18),
    0 0 0 0.5px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  color: var(--white);
  font-size: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.modal-close:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.03) 60%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

/* ============================================
   Film grain
   ============================================ */

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  mix-blend-mode: screen;
}


/* ============================================
   Hero parallax — allow overflow for movement
   ============================================ */

.hero {
  overflow: hidden;
}

.hero-video-wrap {
  will-change: transform;
  transform: scale(1.08); /* buffer so parallax edges never show */
}

.hero-content {
  will-change: transform;
}



/* ── Chromatic aberration — buttons ──────────── */
@keyframes chromaPulse {
  0%   { text-shadow: none; }
  12%  { text-shadow:  6px 0 rgba(255,55,0,0.92), -6px 0 rgba(0,160,255,0.92); }
  28%  { text-shadow: -5px 0 rgba(255,55,0,0.75),  5px 0 rgba(0,210,255,0.75); }
  52%  { text-shadow:  3px 0 rgba(255,55,0,0.40), -3px 0 rgba(0,150,255,0.40); }
  80%  { text-shadow:  1px 0 rgba(255,55,0,0.15), -1px 0 rgba(0,150,255,0.15); }
  100% { text-shadow: none; }
}

.btn:hover,
button:hover,
.nav-contact-btn:hover,
.nav-weddings-btn:hover,
.contact-email:hover {
  animation: chromaPulse 0.6s ease-out forwards;
}

@keyframes chromaPulseSvg {
  0%   { filter: none; }
  12%  { filter: drop-shadow(6px 0 0 rgba(255,55,0,0.92)) drop-shadow(-6px 0 0 rgba(0,160,255,0.92)); }
  28%  { filter: drop-shadow(-5px 0 0 rgba(255,55,0,0.75)) drop-shadow(5px 0 0 rgba(0,210,255,0.75)); }
  52%  { filter: drop-shadow(3px 0 0 rgba(255,55,0,0.40)) drop-shadow(-3px 0 0 rgba(0,150,255,0.40)); }
  80%  { filter: drop-shadow(1px 0 0 rgba(255,55,0,0.15)) drop-shadow(-1px 0 0 rgba(0,150,255,0.15)); }
  100% { filter: none; }
}

.social-btn:hover svg {
  animation: chromaPulseSvg 0.6s ease-out forwards;
}




/* ============================================
   Stagger reveal transitions
   ============================================ */

.reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   Weddings Grid — 16:9 horizontal cards
   ============================================ */

.section-weddings {
  padding-bottom: 0;
}

.wedding-grid {
  display: flex;
  height: 380px;
  gap: 0;
  perspective: 1400px;
}

.wedding-card {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: none;
  background: var(--surface);
  box-shadow: -8px 0 28px rgba(0,0,0,0.55);
  will-change: flex, opacity, transform, margin-left;
  transition: flex        0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity     0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform   0.6s cubic-bezier(0.23, 1, 0.32, 1),
              margin-left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Default overlap */
.wedding-card + .wedding-card {
  margin-left: -120px;
}

/* Entrance reveal */
.wedding-card.reveal {
  transition: flex        0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity     0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform   0.9s cubic-bezier(0.16, 1, 0.3, 1),
              margin-left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* On hover: spread apart and dim inactive */
.wedding-grid.-has-active .wedding-card + .wedding-card {
  margin-left: 4px;
}
.wedding-grid.-has-active .wedding-card:not(.-active) {
  flex: 1;
  opacity: 0.35;
}
/* Active card: 16:9 ratio at grid height (380 × 16/9 ≈ 676px) */
.wedding-card.-active {
  flex: 0 0 676px;
  z-index: 10;
}

.wedding-card-thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
}

.wedding-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.45;
  transition: opacity 0.5s ease;
}
.wedding-card.-active .wedding-video { opacity: 1; }

.wedding-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.55;
  transition: opacity 0.5s ease;
}
.wedding-card.-active .wedding-poster { opacity: 1; }

.wedding-card.-active .work-play { opacity: 0.7; }

.wedding-card.-active .work-card-meta {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Mobile — téléphone (max 768px)
   ============================================ */
@media (max-width: 768px) {

  /* ── Cursor ── */
  #cursor, #cursorFollower { display: none !important; }
  body { cursor: auto !important; }
  a, button, .btn, .work-card, .wedding-card { cursor: pointer !important; }

  /* ── Nav ── */
  .nav { padding: 0.75rem 1.25rem; }
  .nav.scrolled { padding: 0.6rem 1.25rem; }
  .nav-logo-img { height: 60px; }
  .nav-logo:hover .nav-logo-img { animation: none; }
  .nav-weddings-btn,
  .nav-contact-btn {
    font-size: 0.52rem;
    padding: 0.45rem 0.75rem 0.35rem;
    letter-spacing: 0.07em;
    margin-right: 0;
  }
  .nav-right { gap: 0.7rem; margin-right: calc(0.4rem + 2px); }

  /* ── Hero — 2 colonnes, 3ème cachée ── */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    width: 140%;
    margin-left: -20%;
    transform: perspective(600px) rotateX(10deg);
  }
  #heroColOdd2 { display: none; }
  .hero-col video { height: 52vw; }
  .hero-content { top: calc(70px + 5%); }
  .hero-scroll-hint { display: none; }

  /* ── Hero title: cyberpunk entrance glitch (mobile) ── */
  @keyframes mobileCyberpunk {
    0%   { opacity: 0; text-shadow: none; transform: none; }
    15%  { opacity: 1; text-shadow: -12px 0 rgba(255,0,60,1), 12px 0 rgba(0,255,255,1); transform: skewX(-8deg) translateX(6px) scaleY(1.05); }
    20%  { text-shadow: 10px 0 rgba(255,0,60,.9), -10px 0 rgba(0,255,255,.9); transform: skewX(5deg) translateX(-5px); }
    25%  { text-shadow: -6px 0 rgba(255,0,60,.7), 6px 0 rgba(0,255,255,.7); transform: skewX(-3deg) translateX(3px); }
    30%  { text-shadow: 3px 0 rgba(255,0,60,.4), -3px 0 rgba(0,255,255,.4); transform: skewX(1deg); }
    40%  { text-shadow: none; transform: none; }
    100% { opacity: 1; text-shadow: none; transform: none; }
  }

  .hero-title {
    animation: mobileCyberpunk 1.4s 0.2s ease both !important;
  }

  /* ── Marquee : caché sur mobile ── */
  .marquee-wrap { display: none; }

  /* ── Brands grid mobile ── */
  .brands-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    padding: 3rem 2rem;
    perspective: 700px;
    isolation: isolate;
  }
  @keyframes logoGlitch {
    0%, 88%, 100% { filter: brightness(0) invert(1); }
    90% { filter: brightness(0) invert(1) drop-shadow(-4px 0 rgba(255,0,80,.8)) drop-shadow(4px 0 rgba(0,210,255,.8)); }
    92% { filter: brightness(0) invert(1) drop-shadow(3px 0 rgba(255,0,80,.5)) drop-shadow(-3px 0 rgba(0,210,255,.5)); }
    94% { filter: brightness(0) invert(1); }
    96% { filter: brightness(0) invert(1) drop-shadow(-2px 0 rgba(255,0,80,.6)) drop-shadow(2px 0 rgba(0,210,255,.6)); }
  }
  .brands-mobile img {
    width: 100%;
    max-height: 170px;
    object-fit: contain;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    animation: logoGlitch 4s infinite;
  }
  .brands-mobile img:nth-child(2)  { animation-delay: 0.4s; }
  .brands-mobile img:nth-child(3)  { animation-delay: 0.8s; }
  .brands-mobile img:nth-child(4)  { animation-delay: 1.3s; }
  .brands-mobile img:nth-child(5)  { animation-delay: 1.7s; }
  .brands-mobile img:nth-child(6)  { animation-delay: 2.1s; }
  .brands-mobile img:nth-child(7)  { animation-delay: 2.6s; }
  .brands-mobile img:nth-child(8)  { animation-delay: 0.2s; }
  .brands-mobile img:nth-child(9)  { animation-delay: 1.1s; }
  .brands-mobile img:nth-child(10) { animation-delay: 1.9s; }
  .brands-mobile img:nth-child(11) { animation-delay: 0.6s; }
  .brands-mobile img:nth-child(12) { animation-delay: 2.3s; }
  .brands-mobile img:nth-child(13) { animation-delay: 1.5s; }
  .brands-mobile img:nth-child(14) { animation-delay: 0.9s; }
  .brands-mobile img:nth-child(15) { animation-delay: 2.8s; }

  /* ── Work ── */
  .section-work .section-label { padding: 4rem 1.25rem 1.5rem; }
  .work-title { font-size: 1.4rem; }
  .work-counter { top: 1.2rem; left: 1.25rem; }
  .work-card-meta { padding: 6rem 1.25rem 1.5rem; }

  /* ── Wedding grid : 1 colonne 16:9 ── */
  .wedding-grid {
    flex-direction: column;
    height: auto;
    gap: 0.5rem;
  }
  .wedding-card {
    height: auto;
    margin-left: 0 !important;
    margin-top: 0;
    border-radius: 10px;
    position: relative;
  }
  .wedding-card + .wedding-card { margin-left: 0; margin-top: -3rem; }
  .wedding-card:nth-child(2) { z-index: 1; }
  .wedding-card:nth-child(3) { z-index: 2; }
  .wedding-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
  }
  .wedding-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7 !important;
  }
  .wedding-card .work-card-meta {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* ── About ── */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-heading { font-size: clamp(2rem, 8vw, 3rem); }
  .about-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .about-text p { text-align: left; }

  /* ── Sections ── */
  .section { padding: 3rem 1.25rem; }
  .section-work { padding-top: 1.5rem; }
  .section-weddings { padding-top: 3rem; }
  .section-contact { padding: 8rem 1.25rem 0; }

  /* ── Contact ── */
  .contact-heading {
    font-size: clamp(1.8rem, 7vw, 3rem);
    margin-bottom: 2rem;
  }
  .contact-email {
    font-size: 0.65rem;
    padding: 0.7rem 1rem 0.55rem;
    letter-spacing: 0.08em;
  }

  /* ── Modal ── */
  .modal-video { width: 95vw; max-height: 90vh; }
  .modal-vimeo { width: 95vw; }
  .modal-close { top: 1rem; right: 1rem; }

  /* ── Footer ── */
  .footer-bar { padding: 1.5rem 1.25rem; margin-top: 3rem; }
}

