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

:root {
  --pink:  #FF4B89;
  --black: #080808;
  --white: #EFEFEF;
  --gray:  #505050;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* ── PAGE TRANSITION MASK ── */
#page-mask {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--black);
  transform: translateY(-100%);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: transform;
}
#page-mask::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pink);
}
.pm-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 16vw, 220px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  user-select: none;
}

a, button { color: inherit; text-decoration: none; }
sup { font-size: 0.38em; vertical-align: super; }
.pk { color: var(--pink); }

/* ── TAG / PILULE ── */
.tag-switching {
  opacity: 0 !important;
  transform: scale(0.82);
  transition: opacity 140ms var(--ease), transform 140ms var(--ease);
}

.tag {
  display: inline-block;
  padding: 7px 20px;
  background: var(--pink);
  color: #fff;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* ═══════════════════════════════════════
   LABEL CURSEUR VIDÉO
═══════════════════════════════════════ */
#video-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 220ms;
}
#video-cursor.visible { opacity: 1; }
#video-cursor .vc-text {
  display: inline-block;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

/* Curseur normal masqué sur la zone vidéo */
.reel-hit { cursor: none; }

/* ═══════════════════════════════════════
   GRAIN OVERLAY
═══════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: -100px;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.4s steps(1) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20%     { transform: translate(-3%,2%); }
  40%     { transform: translate(2%,-3%); }
  60%     { transform: translate(-2%,3%); }
  80%     { transform: translate(3%,-2%); }
}

/* ═══════════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════════ */
#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--pink);
  z-index: 9980;
  transition: width 80ms linear;
}


/* ═══════════════════════════════════════
   INTRO
═══════════════════════════════════════ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
#intro.leaving { transform: translateY(-100%); }

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.intro-logo {
  width: 88px; height: 60px;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) 0.2s forwards;
}
.intro-logo svg { width: 100%; height: 100%; }

.lp {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw 1s var(--ease) 0.3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.intro-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(54px, 12vw, 148px);
  letter-spacing: 0.06em;
  line-height: 1;
}
.intro-name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(80px);
  animation: letterUp 0.5s var(--ease) forwards;
}
.intro-name span:nth-child(1) { animation-delay: 0.82s; }
.intro-name span:nth-child(2) { animation-delay: 0.92s; }
.intro-name span:nth-child(3) { animation-delay: 1.02s; }
.intro-name span:nth-child(4) { animation-delay: 1.12s; }
.intro-name span:nth-child(5) { animation-delay: 1.22s; }
.intro-name span:nth-child(6) { animation-delay: 1.32s; }
.intro-name span:nth-child(7) { animation-delay: 1.42s; }
.intro-name span:nth-child(8) { animation-delay: 1.52s; }
@keyframes letterUp { to { opacity: 1; transform: translateY(0); } }

.intro-role {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) 1.9s forwards;
}

.intro-btn {
  display: inline-flex;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) 2.2s forwards;
  transition: border-color 300ms, color 300ms;
}
.intro-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pink);
  transform: translateX(-101%);
  transition: transform 420ms var(--ease);
}
.intro-btn:hover::before  { transform: translateX(0); }
.intro-btn:hover          { border-color: var(--pink); color: #000; }
.intro-btn:hover .btn-arr { transform: translate(3px, -3px); }

.btn-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
}
.btn-arr { transition: transform 300ms var(--ease); }

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

/* ═══════════════════════════════════════
   SITE
═══════════════════════════════════════ */
#site {
  opacity: 0;
  transition: opacity 600ms 500ms;
}
#site.visible { opacity: 1; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
#site-logo {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 200;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: -0.18em;
  padding-right: 0.18em;
  color: var(--white);
  transition: color 200ms;
}
#site-logo:hover { color: var(--pink); }

#nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  white-space: nowrap;
  transition: border-color 400ms, background 400ms;
}
#nav.scrolled {
  background: rgba(8,8,8,0.95);
  border-color: rgba(255,255,255,0.12);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: -0.18em;
  padding-right: 0.18em;
  transition: color 200ms;
}
.nav-logo:hover { color: var(--pink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  padding: 5px 12px;
  border-radius: 100px;
  transition: background 200ms, color 200ms;
}
.nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}


/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  height: 100vh;
  position: relative;
}

/* La vidéo + le texte restent collés au top pendant le scroll */
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Vidéo cover */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.40) 100%
  );
  z-index: 1;
}
.hero-video-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  pointer-events: none;
  border: none;
}

/* Texte overlay — bas gauche */
.hero-content {
  position: absolute;
  bottom: 36px;
  left: 36px;
  z-index: 2;
  will-change: opacity, transform;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 18vw, 280px);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease) 0.3s, transform 900ms var(--ease) 0.3s;
}
#site.visible .hero-title { opacity: 1; transform: translateY(0); }

.sc-arr {
  display: inline-block;
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(5px); }
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee {
  background: var(--pink);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mq-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: mq 24s linear infinite;
}
.mq-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 0.07em;
  color: #000;
}
.mq-track .dot {
  font-size: 16px;
  color: rgba(0,0,0,0.25);
  font-family: 'Space Grotesk', sans-serif;
}
@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   REEL
═══════════════════════════════════════ */
#reel {
  padding: 72px 36px;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255,75,137,0.12) 0%, #080808 60%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}
.s-num {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gray);
}
.s-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Outer wrapper — constrains max size to viewport */
.reel-outer {
  width: min(100%, calc((100vh - 230px) * (16 / 9)));
  margin: 0 auto;
}

/* Video box */
.reel-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(8,8,8,0.40);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,75,137,0.12);
}
.reel-video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Hit layer */
.reel-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* ── BOUTONS COIN HAUT-DROIT ── */
.reel-corner-btns {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.corner-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(8,8,8,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 200ms, border-color 200ms, color 250ms;
}
.corner-btn.btn-active { color: var(--pink); }
.corner-btn:hover {
  background: rgba(255,75,137,0.85);
  border-color: transparent;
}
.corner-btn .ri { width: 13px; height: 13px; }

/* Animation hint son — toutes les 5s quand muté */
@keyframes muteHint {
  0%, 70%, 100% { transform: scale(1);    color: var(--white); background: transparent;  border-color: rgba(255,255,255,0.1); }
  74%           { transform: scale(1.25); color: var(--pink);  background: rgba(255,75,137,0.15); border-color: rgba(255,75,137,0.4); }
  78%           { transform: scale(0.95); color: var(--pink);  background: rgba(255,75,137,0.12); border-color: rgba(255,75,137,0.3); }
  82%           { transform: scale(1.15); color: var(--pink);  background: rgba(255,75,137,0.18); border-color: rgba(255,75,137,0.5); }
  86%           { transform: scale(1);    color: var(--white); background: transparent;  border-color: rgba(255,255,255,0.1); }
}

.mute-hint { animation: muteHint 5s ease-in-out infinite; }

/* ── BARRE SIMPLE ── */
.reel-thin {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 10px;
  position: relative;
  transition: opacity 300ms var(--ease);
}
.reel-thin-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--pink);
  border-radius: 2px;
}

/* ── PILL PLAYER ── */
.reel-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  padding: 6px 14px 6px 6px;
  /* Caché par défaut */
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  position: absolute;
  left: 0; right: 0;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

/* Conteneur qui donne la hauteur réservée */
.reel-controls-area {
  position: relative;
  height: 52px;
  margin-top: 0;
}
.reel-controls-area .reel-thin {
  position: absolute;
  inset: 0 0 auto;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}
.reel-controls-area .reel-pill {
  margin-top: 0;
  top: 50%;
  transform: translateY(calc(-50% + 6px)) scale(0.98);
}

/* Hover sur la zone de contrôles uniquement → barre fine puis pill */
.reel-controls-area:hover .reel-thin { opacity: 1; }
.reel-controls-area:hover .reel-pill {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
  transition-delay: 80ms;
}

/* Boutons ronds */
.pill-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.pill-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #1c1c1c;
  border: none;
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 200ms, color 250ms;
}
.pill-btn:hover { background: #2a2a2a; }
.pill-btn.btn-active { color: var(--pink); }

.ri {
  width: 14px; height: 14px; display: block;
  grid-area: 1 / 1;
  transition: opacity 180ms ease, transform 180ms ease;
}
.ri-pause, .ri-muted { opacity: 0; transform: scale(0.7); }

.pill-btn:active  { transform: scale(0.88); }
.corner-btn:active { transform: scale(0.88); }

/* Animation texte curseur Play → Pause */
@keyframes vc-out {
  from { opacity: 1; transform: translateY(0);     }
  to   { opacity: 0; transform: translateY(-10px); }
}
@keyframes vc-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.vc-text { display: inline-block; }
.vc-out  { animation: vc-out 130ms ease     forwards; }
.vc-in   { animation: vc-in  200ms var(--ease) forwards; }

/* Filmstrip scrub zone */
.pill-strip {
  flex: 1;
  position: relative;
  cursor: pointer;
  padding: 6px 0;
}

/* La barre filmstrip */
.strip-bar {
  position: relative;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
}

/* Poster du film en fond (image chargée via JS) */
.strip-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  z-index: 0;
}

/* Pseudo-element pour les séparateurs style pellicule */
.strip-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) calc(5% - 1px),
    rgba(0,0,0,0.35) calc(5% - 1px),
    rgba(0,0,0,0.35) 5%
  );
  pointer-events: none;
}

/* Hover highlight */
.strip-hover {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(255,255,255,0.08);
  z-index: 2;
  pointer-events: none;
}

/* Progression rose */
.strip-played {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(255,75,137,0.3);
  border-right: 2px solid var(--pink);
  z-index: 3;
  pointer-events: none;
}

/* Dot scrub */
.strip-dot {
  position: absolute;
  top: 50%; left: 0%;
  z-index: 4;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,75,137,0.25);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 180ms var(--ease);
  pointer-events: none;
}
.pill-strip:hover .strip-dot { transform: translate(-50%, -50%) scale(1); }

/* Tooltip image */
.strip-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms;
  z-index: 10;
}
.pill-strip:hover .strip-tip { opacity: 1; }

.tip-img {
  display: block;
  width: 160px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.tip-time {
  display: block;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--white);
  margin-top: 5px;
}

/* Temps actuel */
.pill-time {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   WORK
═══════════════════════════════════════ */
#work {
  padding: 72px 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.work-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 9vw, 138px);
  line-height: 0.88;
}

#work-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 380ms, background-color 280ms;
  pointer-events: none;
}

.work-list {
  list-style: none;
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.wi {
  display: grid;
  grid-template-columns: 48px 1fr auto auto 30px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(28px);
  transition: padding-left 300ms var(--ease), opacity 600ms var(--ease), transform 600ms var(--ease);
}
.wi:last-child  { border-bottom: 1px solid rgba(255,255,255,0.06); }
.wi.visible     { opacity: 1; transform: translateY(0); }
.wi:hover       { padding-left: 12px; }
.wi:hover .wi-name { color: var(--pink); }
.wi:hover .wi-arr  { transform: translate(3px,-3px); color: var(--pink); }

.wi-n    { font-size: 9px; letter-spacing: 0.14em; color: var(--gray); }
.wi-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: 0.02em;
  transition: color 240ms;
}
.wi-cat  { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.wi-yr   { font-size: 9px; color: var(--gray); font-weight: 300; }
.wi-arr  { font-size: 17px; color: var(--gray); transition: transform 280ms var(--ease), color 240ms; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact {
  background: var(--pink);
  padding: 80px 36px 48px;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.86;
  color: #000;
  display: flex;
  flex-direction: column;
}

.ct-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.ct-line.visible { opacity: 1; transform: translateY(0); }
.ct-line:nth-child(2) { transition-delay: 0.1s; }

.contact-mail {
  font-size: clamp(14px, 2.2vw, 28px);
  font-weight: 700;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(0,0,0,0.18);
  padding-bottom: 4px;
  width: fit-content;
  transition: opacity 200ms;
}
.contact-mail:hover { opacity: 0.6; }

.contact-links { display: flex; gap: 22px; }
.contact-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(0,0,0,0.42);
  transition: color 200ms;
}
.contact-links a:hover { color: #000; }

/* ── FLOATING ICONS (homepage contact) ── */
.ct-float-zone {
  position: relative;
  flex: 1;
  height: clamp(260px, 38vh, 520px);
  max-width: 560px;
}

@keyframes ct-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  35%  { transform: translateY(-22px) rotate(4deg); }
  70%  { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes ct-ficon-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22) rotate(8deg); }
  70%  { transform: scale(1.14) rotate(-3deg); }
  100% { transform: scale(1.18); }
}

.ct-ficon {
  position: absolute;
  left: var(--fi-x);
  top: var(--fi-y);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  animation: ct-float var(--fi-dur) ease-in-out var(--fi-delay) infinite;
}

.ct-ficon-circle {
  width: clamp(96px, 7.5vw, 160px);
  height: clamp(96px, 7.5vw, 160px);
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 350ms var(--ease);
  cursor: pointer;
}
.ct-ficon:hover .ct-ficon-circle {
  animation: ct-ficon-pop 420ms var(--ease) forwards;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}
.ct-ficon-circle svg {
  width: clamp(42px, 3.2vw, 68px);
  height: clamp(42px, 3.2vw, 68px);
  color: #fff;
}

.ct-ficon-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms, transform 240ms;
}
.ct-ficon:hover .ct-ficon-label { opacity: 1; transform: translateY(0); }

.contact-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 52px;
}
.contact-foot span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.32);
}

/* ═══════════════════════════════════════
   WORK THUMBNAIL
═══════════════════════════════════════ */
#work-thumb {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 185px;
  pointer-events: none;
  z-index: 100;
}

#work-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  transform: scale(0.86) rotate(-3deg);
  transition: opacity 340ms var(--ease), transform 420ms var(--ease), background 240ms;
}
#work-thumb-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  z-index: 0;
}

#work-thumb.active #work-thumb-inner {
  opacity: 1;
  transform: scale(1) rotate(-1deg);
}

#work-thumb-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════
   MOBILE
═══════════════════════════════════════ */
@media (max-width: 640px) {
  #nav { padding: 0 20px; }
  .nav-tag { display: none; }
  .hero-grid { padding: 64px 20px 24px; }
  .badge { width: 82px; height: 82px; }
  #reel, #work, #contact { padding-left: 20px; padding-right: 20px; }
  .wi { grid-template-columns: 36px 1fr 24px; gap: 10px; }
  .wi-cat, .wi-yr { display: none; }
  .ov-inner { padding: 80px 28px 36px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .ct-float-zone { width: 100%; height: 220px; max-width: 100%; }
}
