/* =========================================================
   v2 layer — loaded after styles.css by index-v2.html only.
   Adds motion, imagery and graphic texture without changing
   the page structure.
   ========================================================= */

/* ---------- Tighter rhythm: less dead space between sections ---------- */
.section { padding: 76px 0; }
@media (min-width: 1100px) { .section { padding: 120px 0; } }

/* ---------- Film grain over the whole page (desktop only, for performance) ---------- */
@media (min-width: 960px) {
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* ---------- Moving bands ---------- */
.band {
  overflow: hidden; background: var(--oxblood); color: var(--ivory);
  padding: 16px 0; border-block: 1px solid rgba(243,239,231,.08);
}
.band-track { display: flex; align-items: center; width: max-content; animation: marqX 40s linear infinite; }
.band-track > * { margin-right: 26px; flex: 0 0 auto; }
.band span {
  font-family: var(--display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(1.35rem, 5.5vw, 2.5rem); line-height: 1;
}
.band i { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); opacity: .7; }
.band-outline { background: var(--ink); padding: 26px 0; }
.band-outline .band-track { animation-direction: reverse; animation-duration: 55s; }
.band-outline span {
  font-size: clamp(2.5rem, 11vw, 6.5rem);
  color: transparent; -webkit-text-stroke: 1px rgba(243,239,231,.55);
}
.band-outline span:nth-of-type(4n) { color: var(--ivory); -webkit-text-stroke: 0; }
.band-outline i { background: var(--oxblood-hi); opacity: 1; width: 12px; height: 12px; }

/* ---------- Oversized outline words behind sections ---------- */
.ghost { position: relative; overflow: clip; }
.ghost::before {
  content: attr(data-ghost);
  position: absolute; right: -.04em; top: 28px; z-index: 0; pointer-events: none;
  font-family: var(--display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(5.5rem, 28vw, 20rem); line-height: .8;
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .14;
}
.ghost > * { position: relative; z-index: 1; }

/* ---------- One shoot vs one batch: tile mosaics ---------- */
.mosaic { display: grid; gap: 4px; margin-top: 20px; }
.mosaic-one { grid-template-columns: 52px; }
.mosaic-many { grid-template-columns: repeat(8, 1fr); }
@media (min-width: 720px) { .mosaic-one { grid-template-columns: 64px; } }
.mini {
  position: relative; aspect-ratio: 9 / 16; background-size: cover; background-position: center;
  outline: 1px solid rgba(243,239,231,.12); outline-offset: -1px;
  opacity: 0; transform: translateY(10px) scale(.9);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
.mosaic.is-in .mini { opacity: 1; transform: none; }
.mini.tone-1 { background-image: linear-gradient(165deg, #262626, #0b0b0b); }
.mini.tone-2 { background-image: linear-gradient(165deg, #7a2432, #2a0a10); }
.mini.tone-3 { background-image: linear-gradient(165deg, #333333, #121212); }
.mini.tone-4 { background-image: linear-gradient(165deg, #F3EFE7, #E8E1D6); }
.mini.tone-5 { background-image: linear-gradient(165deg, #1c1c1c, #050505); }
.mini.tone-6 { background-image: linear-gradient(165deg, #5e1b26, #0b0b0b); }
.compare-old .mini { filter: grayscale(1); opacity: .6; }
.compare-old .mosaic.is-in .mini { opacity: .6; }

/* ---------- Clip reveal: vertical wipe instead of a fade ---------- */
.js .clip.reveal, .js .v2-wipe .clip {
  opacity: 1; transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .clip.reveal.is-in, .js .v2-wipe.is-in .clip { clip-path: inset(0); }

/* ---------- Social UI chrome on portfolio tiles ---------- */
.ui-bar { position: absolute; left: 10px; right: 10px; top: 10px; height: 2px; background: rgba(243,239,231,.25); z-index: 2; }
.ui-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ivory); animation: uiProgress var(--dur, 9s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes uiProgress { to { width: 100%; } }
.ui-handle {
  position: absolute; left: 12px; top: 22px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--ivory);
}
.ui-handle::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ivory); background: var(--oxblood); }
.ui-side {
  position: absolute; right: 10px; bottom: 52px; z-index: 2;
  display: grid; gap: 14px; justify-items: center; color: var(--ivory);
}
.ui-side svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.clip .clip-sound { top: 42px; }
.work-grid .clip-ph-num { display: none; }   /* the creator handle replaces it */
@media (max-width: 719px) {
  .work-grid .ui-side { display: none; }
  .ui-handle { font-size: 10.5px; }
  .ui-handle::before { width: 18px; height: 18px; }
}

/* ---------- Creator cards: hover lift ---------- */
@media (hover: hover) {
  [data-creators] > div { transition: transform .6s var(--ease); }
  [data-creators] > div:hover { transform: translateY(-8px); }
}

/* ---------- What you get: icons ---------- */
.get-icon {
  width: 40px; height: 40px; margin-bottom: 14px; display: block;
  fill: none; stroke: var(--oxblood); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.gets > div { transition: background-color .4s var(--ease); }
@media (hover: hover) {
  .gets > div:hover .get-icon { transform: translateY(-3px); }
  .get-icon { transition: transform .4s var(--ease); }
}

/* ---------- Volume numbers ---------- */
.volume b { font-variant-numeric: tabular-nums; }

/* ---------- Packages: visual of videos per batch, grouped by creator ---------- */
.pkg-vis { display: flex; flex-wrap: wrap; gap: 4px; margin: -12px 0 26px; }
.pkg-vis span {
  width: 12px; aspect-ratio: 9 / 16; background: var(--oxblood);
  opacity: calc(1 - var(--c) * .09);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease); transition-delay: calc(var(--k) * 35ms);
}
.pkg.is-featured .pkg-vis span { background: var(--ivory); }
.pkg-vis.is-in span { transform: none; }
.pkg-vis span.gap { margin-left: 6px; }
@media (min-width: 1024px) { .pkg-vis span { width: 14px; } }

/* ---------- Process: steps fill as you reach them + a reel of footage ---------- */
.process span { transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease); }
.process li.is-in span { background: var(--ivory); color: var(--oxblood); border-color: var(--ivory); }
.band-reel { overflow: hidden; margin-top: 64px; }
.band-reel-track { display: flex; width: max-content; animation: marqX 70s linear infinite; }
.band-reel-track > .clip { width: 34vw; max-width: 210px; margin-right: 8px; flex: 0 0 auto; }
@media (min-width: 1100px) { .band-reel { margin-top: 96px; } }

/* ---------- Contact: dim footage behind the closing argument ---------- */
#contact { position: relative; overflow: clip; }
.contact-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start;
  opacity: .22; filter: grayscale(1) contrast(1.1);
}
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,9,.2), var(--ink) 75%);
}
.contact-grid { position: relative; z-index: 1; }
@media (min-width: 1100px) {
  .contact-bg { right: 50%; grid-template-columns: repeat(2, 1fr); }
  .contact-bg::after { background: linear-gradient(90deg, rgba(11,10,9,.15), var(--ink) 95%), linear-gradient(180deg, transparent 50%, var(--ink)); }
}

@media (prefers-reduced-motion: reduce) {
  .band-track, .band-reel-track, .ui-bar i { animation: none; }
  .mini, .pkg-vis span { opacity: 1; transform: none; }
  .js .clip.reveal, .js .v2-wipe .clip { clip-path: none; }
}

/* Narrow tiles (phone grid, desktop strip): stack the labels; keep UI readable on the light tile */
@media (max-width: 719px), (min-width: 1100px) {
  .work-grid .clip-meta { flex-direction: column; align-items: flex-start; gap: 3px; }
  .work-grid .clip-meta span:last-child { text-align: left; }
}
.tone-4 .ui-handle { color: var(--ink); }
.tone-4 .ui-handle::before { border-color: var(--ink); }
.tone-4 .ui-bar { background: rgba(11,10,9,.2); }
.tone-4 .ui-bar i { background: var(--ink); }
.tone-4 .ui-side { color: var(--ink); }

/* Desktop feed strip: alternate tiles sit lower for an editorial rhythm */
@media (min-width: 1100px) {
  .work-grid { padding-bottom: 56px; }
  .work-grid > .clip:nth-child(even) { margin-top: 56px; margin-bottom: -56px; }
}
