/* Homepage v2 — "viewfinder": the page is shot through a camera. Our own footage, square corners,
   camera readouts (REC, timecode), chapters like markers on a timeline. Loaded after main.css, only on body.v2.
   Performance rules (from the UI audit): animate only transform/opacity; no filter, blur or backdrop-filter on
   big layers; scroll-linked effects use CSS scroll-driven animations (off the main thread), never per-frame JS
   writes on large subtrees. v2.js adds .v2-motion on <html> unless reduced motion is on. */


.v2 {
  --display: "Montserrat", system-ui, sans-serif;
  --rec: #ff4d4d;
  --hair: rgba(255, 255, 255, .14);
  --ink: #070808;
  --frame-x: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter) - 28px)); /* corners sit 28px outside the text */
  background: var(--ink);
}

/* ---------- shared pieces ---------- */
.vf-c { position: absolute; width: clamp(22px, 2.6vw, 40px); aspect-ratio: 1; border: 0 solid rgba(255, 255, 255, .8); }
.vf-c--tl { left: 0; top: 0; border-width: 2px 0 0 2px; }
.vf-c--tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.vf-c--bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.vf-c--br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.vf-rec { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; letter-spacing: .16em; }
.vf-rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); }
.v2-motion .vf-rec::before { animation: v2-blink 1.2s steps(2) infinite; }
@keyframes v2-blink { 50% { opacity: .15; } }

/* film grain: a small tile on an oversized layer that only moves (compositor), inside the footage only */
.v2-grain { position: absolute; inset: -256px; pointer-events: none; opacity: .07; background: url(/assets/img/v2/grain.webp) 0 0 / 256px 256px; }
.v2-motion .v2-grain { animation: v2-grain .8s steps(4) infinite; }
@keyframes v2-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-96px, 64px); } 50% { transform: translate(80px, -112px); } 75% { transform: translate(-48px, -64px); } 100% { transform: translate(0, 0); } }

/* buttons stay square (brand); the main one is a record button */
.v2 .btn { letter-spacing: .08em; }
.v2 .btn-rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); margin-right: 2px; }
.v2 .btn-ghost { background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .45); }
.v2 .btn-ghost:hover { border-color: #fff; }
.v2 .btn svg { transition: transform .2s var(--ease); }
.v2 .btn:hover svg { transform: translateX(3px); }

/* header floats over the footage, turns solid (no backdrop blur) once we scroll */
.v2 .site-header { background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); border-bottom-color: transparent; transition: background-color .3s; }
.v2 .site-header.is-scrolled { background: rgba(7, 8, 8, .94); border-bottom-color: var(--line); }

/* sections: one even rhythm (the old double padding left ~290px holes) */
.v2 .section { padding: clamp(64px, 8vw, 112px) 0 0; }

/* section titles: big, uppercase, with a chapter marker */
.v2 main { counter-reset: chap; }
.v2 .section-title { text-transform: uppercase; font-size: clamp(30px, 4.2vw, 58px); font-weight: 800; line-height: .98; letter-spacing: -.02em; }
.v2 .section-title::before {
  counter-increment: chap; content: "CH " counter(chap, decimal-leading-zero);
  display: block; width: max-content; margin-bottom: 16px; padding-right: 60px;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--accent);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat right center / 46px 1px;
}

/* =====================================================================
   1. Hero: viewfinder over a montage of our footage (video, poster first)
   ===================================================================== */
.vf {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 90px) 0 clamp(44px, 6vw, 72px); background: #000;
}
.vf-reel { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.vf-reel picture, .vf-poster, .vf-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.vf-poster, .vf-video { object-fit: cover; object-position: 66% 40%; }
.vf-video { opacity: 0; transition: opacity .8s var(--ease); }
.vf-video.is-playing { opacity: 1; }
.vf-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .1) 55%, rgba(7, 8, 8, .97) 98%),
    linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 66%);
}
.vf-frame { position: absolute; z-index: -1; pointer-events: none; inset: calc(var(--header-h) + 18px) var(--frame-x) clamp(14px, 2.4vw, 36px); }
.vf-frame::before { /* rule-of-thirds guides */
  content: ""; position: absolute; inset: 0; opacity: .45;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .08) calc(33.33% - .5px) calc(33.33% + .5px), transparent 0),
    linear-gradient(90deg, transparent calc(66.66% - .5px), rgba(255, 255, 255, .08) calc(66.66% - .5px) calc(66.66% + .5px), transparent 0),
    linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .08) calc(33.33% - .5px) calc(33.33% + .5px), transparent 0),
    linear-gradient(180deg, transparent calc(66.66% - .5px), rgba(255, 255, 255, .08) calc(66.66% - .5px) calc(66.66% + .5px), transparent 0);
}
.vf-cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%;
  background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) center / 100% 1px no-repeat,
              linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)) center / 1px 100% no-repeat; }
.vf-top {
  position: absolute; left: 28px; right: 28px; top: 18px;
  display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .82);
  font-variant-numeric: tabular-nums;
}
.vf-tc { color: #fff; min-width: 11ch; }
.vf-spec { margin-left: auto; }
.vf-meter { display: inline-flex; gap: 3px; align-items: flex-end; height: 12px; }
.vf-meter i { width: 3px; height: 100%; background: linear-gradient(0deg, var(--accent) 60%, #ffd84d 80%, var(--rec)); transform-origin: bottom; transform: scaleY(.4); }
.v2-motion .vf-meter i { animation: v2-level .5s ease-in-out infinite alternate; }
.v2-motion .vf-meter i + i { animation-duration: .37s; animation-delay: -.2s; }
@keyframes v2-level { 0% { transform: scaleY(.25); } 60% { transform: scaleY(.85); } 100% { transform: scaleY(.5); } }

.vf-copy { position: relative; }
.v2 .hero-title {
  text-transform: uppercase; font-weight: 800; font-size: clamp(36px, 4.9vw, 84px); line-height: .94; letter-spacing: -.03em;
  max-width: 12ch; text-wrap: balance;
}
.v2 .hero-sub { margin-top: clamp(18px, 2.4vw, 28px); max-width: 42ch; color: rgba(255, 255, 255, .85); }
.v2 .hero-actions { margin-top: clamp(24px, 3vw, 36px); }

/* channel numbers read like camera data along the bottom of the frame */
.vf-stats { margin-top: clamp(32px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--hair); }
.vf-stats[hidden] { display: none; }
.vf-stats .wrap { padding: 0; max-width: none; }
.vf-stats .stats-list { display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 4vw, 64px); }
.vf-stats .stats-list li, .vf-stats .stats-list li + li { padding: 0; border: 0; display: flex; align-items: baseline; gap: 10px; }
.vf-stats .stat-n { font-size: clamp(20px, 2.2vw, 30px); color: #fff; }
.vf-stats .stat-l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* =====================================================================
   2. Services: a monitor wall, one camera per service
   ===================================================================== */
.v2 .wall { list-style: none; margin: 0; padding: 2px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: #000; border: 1px solid var(--line); }
.feed { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; isolation: isolate; }
.feed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); z-index: -2; transition: transform 1.4s var(--ease); }
.feed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, .9)); }
.feed::before { /* corner brackets appear when the camera is "selected" */
  content: ""; position: absolute; inset: 12px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s, transform .4s var(--ease); transform: scale(1.03);
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 100% 0 / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 100% / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 100% 100% / 2px 18px no-repeat;
}
.feed:hover::before { opacity: 1; transform: none; }
.feed:hover img { transform: scale(1.06); }
.feed-tag { position: absolute; left: 18px; top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #fff; }
.feed-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.feed-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 22px; }
.feed-body h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
.feed-body p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .82); line-height: 1.45; }

/* =====================================================================
   3. Latest episodes: a strip of film
   ===================================================================== */
.v2 .strip { position: relative; overflow: hidden; background: #0d0f0f; padding: 30px 0; border-block: 1px solid var(--line); }
.v2 .strip::before, .v2 .strip::after { /* sprocket holes */
  content: ""; position: absolute; left: 0; right: 0; height: 10px; opacity: .9;
  background: repeating-linear-gradient(90deg, transparent 0 10px, #232828 10px 26px, transparent 26px 36px);
}
.v2 .strip::before { top: 10px; }
.v2 .strip::after { bottom: 10px; }
.v2 .works--rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 28vw, 380px); grid-template-columns: none; gap: 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.v2 .works--rail::-webkit-scrollbar { display: none; }
.v2 .works--rail > li { scroll-snap-align: start; background: #000; padding: 6px 6px 14px; }
.v2 .works--rail .work-text { padding: 12px 6px 0; }
.v2 .works--rail.dragging { scroll-snap-type: none; cursor: grabbing; }
.v2 .works--rail.dragging a { pointer-events: none; }
/* The strip runs on its own like the partner logos: the list is rendered twice and slides by half its width.
   It stops under the pointer, on keyboard focus and while a finger holds it, so a card is easy to open. */
@media (prefers-reduced-motion: no-preference) {
  .v2 .works--rail.works--loop {
    display: flex; width: max-content; overflow: visible; padding: 0; gap: 0; scroll-snap-type: none;
    animation: v2-loop calc(var(--n, 10) * 7s) linear infinite;
  }
  .v2 .works--loop > li { flex: none; width: clamp(260px, 28vw, 380px); margin-right: 6px; }
  .v2 .works--loop:hover, .v2 .works--loop:has(:focus-visible), .v2 .works--loop:active { animation-play-state: paused; }
  .v2 .works--loop { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .v2 .works--loop img { -webkit-user-drag: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) { .v2 .works--loop > li { width: 80vw; } }
@media (prefers-reduced-motion: reduce) { .v2 .works--loop > li[aria-hidden="true"] { display: none; } }
@keyframes v2-loop { to { transform: translateX(-50%); } }
.v2 .work-play { border-radius: 0; background: rgba(0, 0, 0, .6); backdrop-filter: none; -webkit-backdrop-filter: none; }
.v2 .work-duration { border-radius: 0; top: 10px; right: 10px; bottom: auto; left: auto; }

/* =====================================================================
   4. Selected projects: 16:9 frames that stack like shots
   ===================================================================== */
.v2 .works--cine { display: flex; flex-direction: column; gap: 28px; padding-bottom: 4vh; }
.v2 .works--cine > li {
  --stack: 0px; position: sticky; top: calc(var(--header-h) + 18px + var(--stack)); width: 100%; margin-inline: auto;
  max-width: calc((100svh - var(--header-h) - 250px) * 16 / 9);
}
/* each new shot lands a little lower, so the edge of the one underneath still shows (six shots fit) */
.v2 .works--cine > li:nth-child(2) { --stack: 14px; }
.v2 .works--cine > li:nth-child(3) { --stack: 28px; }
.v2 .works--cine > li:nth-child(4) { --stack: 42px; }
.v2 .works--cine > li:nth-child(5) { --stack: 56px; }
.v2 .works--cine > li:nth-child(n+6) { --stack: 70px; }
.v2 .works--cine .work-link { position: relative; display: block; background: var(--ink); border: 1px solid var(--hair); box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .85); transform-origin: top center; transform: scale(calc(1 - var(--cover, 0) * .04)); }
.v2 .works--cine .work-link::after { /* dims the shot underneath; opacity only (a brightness() filter here cost ~40% dropped frames) */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: #000; opacity: calc(var(--cover, 0) * .6);
}
.v2 .works--cine .work-media { aspect-ratio: 16 / 9; }
.v2 .works--cine .work-media img { transition: transform 1.2s var(--ease); }
.v2 .works--cine .work-link:hover .work-media img { transform: scale(1.03); }
.v2 .works--cine .work-text { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding: 14px 18px 16px; border-top: 1px solid var(--hair); }
.v2 .works--cine .work-title { font-size: clamp(16px, 1.7vw, 22px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.v2 .works--cine .work-title::before { content: "▶ "; color: var(--show, var(--rec)); font-size: .7em; vertical-align: .15em; }
/* each show keeps its own colour (as in the partnerships deck): a strip on top of the shot */
.v2 .works--cine .work-link { border-top: 3px solid var(--show, var(--hair)); }
.v2 .works--rail > li { box-shadow: inset 0 -3px 0 var(--show, transparent); }
.v2 .works--rail .work-title { transition: color .2s; }
.v2 .works--rail .work-link:hover .work-title { color: var(--show, #fff); }
.v2 .works--cine .work-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }
.v2 .works--cine .work-play { width: 56px; height: 56px; }

/* =====================================================================
   5. Products
   ===================================================================== */
.v2 .products { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.v2 .product { background: var(--ink); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative;
  transition: background-color .3s, opacity .8s var(--ease) calc(var(--i, 0) * 80ms), translate 1s var(--ease) calc(var(--i, 0) * 80ms); }
.v2 .product:hover { background: #0e1111; }
.v2 .product::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.v2 .product:hover::after { transform: none; }

/* =====================================================================
   6. How we work: an editing timeline, the playhead follows the scroll
   ===================================================================== */
.tl { position: relative; border: 1px solid var(--line); background: #0b0d0d; padding-bottom: 26px; }
.tl-ruler {
  display: flex; justify-content: space-between; height: 36px; padding: 0 12px; align-items: flex-start;
  font-size: 12px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 100px) 12px 100% / calc(100% - 24px) 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 20px) 12px 100% / calc(100% - 24px) 5px no-repeat;
}
.tl-ruler span { padding-top: 8px; }
.tl-track { list-style: none; margin: 0; padding: 18px 12px 0; display: flex; gap: 4px; }
.tl-clip { flex: var(--w) 1 0; min-width: 0; }
.tl-bar {
  position: relative; display: flex; align-items: flex-start; height: 58px; padding: 8px 10px; overflow: hidden; white-space: nowrap;
  border: 1px solid rgba(129, 216, 208, .3); background: rgba(129, 216, 208, .07);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
  transition: background-color .4s, border-color .4s, color .4s;
}
.tl-bar::after { /* audio waveform along the clip */
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 18px; opacity: .45;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px);
  -webkit-mask: linear-gradient(0deg, #000, #000) bottom / 100% 40% no-repeat, radial-gradient(60% 100% at 30% 100%, #000, transparent);
  mask: linear-gradient(0deg, #000, #000) bottom / 100% 40% no-repeat, radial-gradient(60% 100% at 30% 100%, #000, transparent);
}
.tl-clip.is-past .tl-bar { border-color: rgba(129, 216, 208, .55); color: var(--accent); }
.tl-clip.is-live .tl-bar { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tl-clip h3 { margin-top: 18px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.tl-clip p { margin-top: 8px; padding-right: 12px; font-size: 15px; color: var(--text-2); }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: 12px; width: 2px; margin-left: -1px; background: var(--rec); pointer-events: none;
  transform: translateX(calc(var(--progress, 1) * (var(--tl-w, 0px) - 24px))); }
.tl-playhead::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--rec); border-bottom: 0; }

/* =====================================================================
   7. Final call: back to the camera
   ===================================================================== */
.v2 .final { position: relative; min-height: 86svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 120px 0 clamp(56px, 8vw, 110px); margin-top: clamp(64px, 8vw, 112px); }
.final-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.v2 .final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--ink), rgba(0, 0, 0, .12) 22%, rgba(0, 0, 0, .3) 62%, var(--ink)), linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .2) 42%, transparent 62%); }
.vf-frame--final { inset: clamp(14px, 2.4vw, 36px) var(--frame-x); }
.vf-frame--final::before { display: none; }
.v2 .band-title { text-transform: uppercase; font-weight: 800; font-size: clamp(38px, 6vw, 96px); line-height: .94; letter-spacing: -.03em; max-width: 12ch; }
.v2 .final-copy p { margin-top: 20px; max-width: 42ch; color: rgba(255, 255, 255, .85); font-size: clamp(16px, 1.4vw, 19px); }
.v2 .final .band-actions { margin-top: 32px; }

/* =====================================================================
   Motion (only with .v2-motion)
   ===================================================================== */
/* load: the frame opens and the copy follows (opacity/transform only; no blur) */
.v2-motion .vf-reel { animation: v2-open 1.6s var(--ease) backwards; }
@keyframes v2-open { from { opacity: 0; transform: scale(1.08); } }
.v2-motion .vf-frame { animation: v2-frame 1.4s var(--ease) .2s backwards; }
@keyframes v2-frame { from { opacity: 0; transform: scale(1.05); } }
.v2-motion .hero-sub, .v2-motion .hero-actions, .v2-motion .vf-stats { animation: v2-rise 1s var(--ease) backwards; }
.v2-motion .hero-sub { animation-delay: .7s; }
.v2-motion .hero-actions { animation-delay: .85s; }
.v2-motion .vf-stats { animation-delay: 1s; }
@keyframes v2-rise { from { opacity: 0; transform: translateY(22px); } }

/* titles roll up word by word from a mask */
.v2 .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .03em .1em; margin: -.12em -.03em -.1em; }
.v2 .split .w > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease) calc(var(--wi, 0) * 55ms); }
.v2 .split.in .w > span { transform: none; }
.v2 .hero-title.split .w > span { transition-duration: 1.1s; transition-delay: calc(250ms + var(--wi, 0) * 75ms); }
.v2-motion .section-title.split::before { opacity: 0; transform: translateX(-14px); transition: opacity .6s, transform .8s var(--ease); }
.v2-motion .section-title.split.in::before { opacity: 1; transform: none; }

/* monitor wall: each camera switches on, one after another */
.v2-motion .feed.reveal { transition: opacity .6s var(--ease) calc(var(--i, 0) * 120ms), transform .6s var(--ease) calc(var(--i, 0) * 120ms); }
.v2-motion .feed.reveal:not(.in) img { transform: scale(1.15); }
.v2-motion .feed.reveal img { transition: transform 1.6s var(--ease) calc(var(--i, 0) * 120ms); }

/* products rise */
.v2-motion .product.reveal:not(.in) { translate: 0 40px; }

/* scroll-linked effects: CSS scroll-driven animations, run by the browser off the main thread.
   Browsers without support simply show the settled state. */
@supports (animation-timeline: scroll()) {
  /* hero: scrolling away pushes into the shot and dissolves the copy */
  .v2-motion .vf-poster, .v2-motion .vf-video { animation: v2-push linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes v2-push { to { transform: scale(1.15); } }
  .v2-motion .vf-copy { animation: v2-copy-out linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  @keyframes v2-copy-out { to { transform: translateY(-100px); opacity: 0; } }
  .v2-motion .vf .vf-c--tl { animation: v2-c-tl linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  .v2-motion .vf .vf-c--tr { animation: v2-c-tr linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  .v2-motion .vf .vf-c--bl { animation: v2-c-bl linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  .v2-motion .vf .vf-c--br { animation: v2-c-br linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  @keyframes v2-c-tl { to { transform: translate(-60px, -60px); opacity: 0; } }
  @keyframes v2-c-tr { to { transform: translate(60px, -60px); opacity: 0; } }
  @keyframes v2-c-bl { to { transform: translate(-60px, 60px); opacity: 0; } }
  @keyframes v2-c-br { to { transform: translate(60px, 60px); opacity: 0; } }

  /* section content arrives from a little depth */
  .v2-motion .section-head, .v2-motion .section > .wrap > .section-title, .v2-motion .wall, .v2-motion .products, .v2-motion .tl {
    animation: v2-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 60%;
  }
  @keyframes v2-enter { from { transform: translateY(50px); opacity: .3; } }

  /* the film strip runs in from the right */
  .v2-motion #yt-latest { view-timeline: --strip block; }
  .v2-motion #yt-latest .works--rail > li { animation: v2-strip linear both; animation-timeline: --strip; animation-range: entry 10% cover 45%; }
  @keyframes v2-strip { from { transform: translateX(calc(160px + var(--k, 0) * 80px)); opacity: .2; } }

  /* the final shot pushes in */
  .v2-motion .final-bg img { animation: v2-final linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes v2-final { from { transform: scale(1.18); } to { transform: scale(1); } }
}

/* playhead under the header (visible once the hero is gone) */
.playhead { position: fixed; left: 0; right: 0; top: var(--header-h); height: 2px; z-index: 49; background: rgba(255, 255, 255, .06); pointer-events: none; opacity: 0; transition: opacity .4s; }
.playhead.on { opacity: 1; }
.playhead-fill { position: absolute; inset: 0; background: var(--rec); transform-origin: left; transform: scaleX(0); }
.playhead-tick { position: absolute; top: -2px; width: 1px; height: 6px; background: rgba(255, 255, 255, .4); }

/* REC + timecode + chapter in the header once the hero is gone */
.hud {
  position: fixed; top: 0; height: var(--header-h); z-index: 51; display: flex; align-items: center; gap: 14px;
  left: calc(max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter)) + 64px);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); font-variant-numeric: tabular-nums; pointer-events: none;
  opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease);
}
.hud.on { opacity: 1; transform: none; }
.hud .vf-rec { font-size: 11px; }
.hud-tc { color: #fff; min-width: 11ch; }
.hud-chap { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .15); color: var(--accent); font-weight: 700; }
@media (max-width: 1239px) { .hud { display: none !important; } }

/* PLAY cursor over videos (mouse only) */
.play-cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 0; height: 0; }
.play-cursor span {
  position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: .18em;
  color: #fff; background: var(--rec);
  transform: scale(0); opacity: 0; transition: transform .35s var(--ease), opacity .25s;
}
.play-cursor.on span { transform: none; opacity: 1; }
@media (pointer: fine) { .v2-motion .v2 .work-link:hover .work-play { opacity: 0; } }

/* =====================================================================
   Deck universe: the logo's Montserrat Black for titles, with a coloured second half
   ===================================================================== */
.v2 .hero-title, .v2 .section-title, .v2 .band-title, .v2 .num, .v2 .person h3 {
  font-family: var(--display); font-weight: 900; letter-spacing: -.025em; text-transform: uppercase;
}
.v2 .hero-title { font-size: clamp(40px, 5.3vw, 90px); line-height: 1.04; max-width: 13ch; }
.v2 .section-title { font-size: clamp(32px, 4.3vw, 64px); line-height: 1.06; }
.v2 .band-title { font-size: clamp(40px, 6vw, 96px); line-height: 1.04; max-width: 12ch; }
/* Romanian diacritics (Â Ă Ș Ț) reach above/below the line box: give the masked words room */
.v2 .hero-title .w, .v2 .section-title .w, .v2 .band-title .w { padding: .26em .03em .24em; margin: -.26em -.03em -.24em; }
.v2 .hero-title em, .v2 .section-title em, .v2 .band-title em { font-style: normal; color: var(--accent); }
.v2 .section-title em { display: block; } /* the coloured answer always starts its own line */
.v2 .section-title::before { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; }
.vf-eyebrow { margin-bottom: clamp(14px, 1.6vw, 22px); font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.v2-motion .vf-eyebrow { animation: v2-rise 1s var(--ease) .15s backwards; }
.v2 .section-lead { margin-top: 18px; max-width: 48ch; color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }

/* numbers + a wall of our thumbnails drifting behind them (like the deck's cover) */
.v2 .numbers { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(64px, 8vw, 112px); }
.numbers-copy { position: relative; }
.v2 .numbers .section-title { max-width: 11em; }
.wall-bg {
  position: absolute; z-index: -1; top: 0; bottom: 0; left: 40%; right: 0; pointer-events: none; overflow: hidden; opacity: .6;
  -webkit-mask: linear-gradient(90deg, transparent, #000 40%); mask: linear-gradient(90deg, transparent, #000 40%);
}
.wall-tilt { position: absolute; top: -40%; bottom: -40%; left: -5%; right: -15%; display: flex; gap: 12px; transform: rotate(-10deg); }
.wcol { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.wcol img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; background: #111; }
.v2-motion .wcol { animation: v2-wall 70s linear infinite paused; }
.v2-motion .wcol:nth-child(even) { animation-direction: reverse; animation-duration: 85s; }
.v2-motion .wall-bg.is-on .wcol { animation-play-state: running; }
@keyframes v2-wall { to { transform: translateY(calc(-50% - 6px)); } }
.nums { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); gap: 26px 40px; }
.nums li { border-top: 1px solid var(--hair); padding-top: 14px; }
.v2 .num { display: block; font-size: clamp(42px, 4.4vw, 68px); line-height: 1; color: #fff; }
.nums li:first-child .num { color: var(--accent); }
.nums span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-2); letter-spacing: .03em; }

/* the seven formats: deck line + hosts under each shot */
.v2 .works--cine > li { max-width: calc((100svh - var(--header-h) - 300px) * 16 / 9); }
.v2 .works--cine .work-tag { flex: 1 1 100%; font-size: clamp(14px, 1.2vw, 17px); color: rgba(255, 255, 255, .88); }
.v2 .works--cine .work-hosts { flex: 1 1 100%; margin-top: -2px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--show, var(--accent)); }

/* talent */
.talent { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 2px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: #000; border: 1px solid var(--line); }
.person figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; background: #111; }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.person figure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .9)); }
.person:hover img { transform: scale(1.05); }
.person figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 20px; }
.v2 .person h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.05; }
.person-role { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
.person-shows { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.v2-motion .person.reveal { transition: opacity .6s var(--ease) calc(var(--i, 0) * 110ms), transform .6s var(--ease) calc(var(--i, 0) * 110ms); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .v2 .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* two narrow cards: keep only name + role at the bottom so the faces stay visible */
  .person figure::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .92)); }
  .person figcaption { padding: 12px 12px 12px; }
  .v2 .person h3 { font-size: 17px; }
  .person-role { margin-top: 4px; font-size: 11px; line-height: 1.3; }
  .person-shows { display: none; }
  .wall-bg { left: 0; opacity: .25; -webkit-mask: linear-gradient(180deg, #000, transparent 85%); mask: linear-gradient(180deg, #000, transparent 85%); }
  .vf-spec { display: none; }
  .tl-ruler { display: none; }
  /* phone timeline: a thin vertical rail with the playhead on it; the texts sit beside it */
  .tl { padding: 20px 16px 24px 0; }
  .tl-track { flex-direction: column; gap: 24px; padding: 0 0 0 44px; position: relative; }
  .tl-track::before { content: ""; position: absolute; left: 20px; top: 4px; bottom: 4px; width: 2px; background: rgba(129, 216, 208, .2); }
  .tl-clip { position: relative; }
  .tl-bar { position: absolute; left: -28px; top: 2px; width: 10px; height: 10px; padding: 0; border-radius: 50%; font-size: 0; border-width: 2px; }
  .tl-bar::after { display: none; }
  .tl-clip h3 { margin-top: 0; }
  .tl-playhead { left: 13px; right: auto; top: 20px; bottom: auto; width: 16px; height: 2px; margin: 0; transform: translateY(calc(var(--progress, 1) * (var(--tl-h, 0px) - 44px))); }
  .tl-playhead::before { display: none; }
}
@media (max-width: 560px) {
  .vf { padding-top: calc(var(--header-h) + 70px); }
  .vf-poster, .vf-video { object-position: 50% 30%; }
  .vf-frame { inset-inline: 12px; }
  .vf-top { left: 16px; right: 16px; gap: 10px; }
  .vf-cross { display: none; }
  .v2 .hero-title { font-size: clamp(34px, 10vw, 46px); }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
  .v2 .wall { grid-template-columns: 1fr; }
  .feed { aspect-ratio: 16 / 11; }
  .v2 .works--rail { grid-auto-columns: 80vw; }
  .v2 .works--cine > li { position: relative; top: auto; max-width: none; }
}

/* =====================================================================
   Inner pages: same camera, shorter shot
   ===================================================================== */
.vf--page { min-height: clamp(480px, 72svh, 780px); }
.vf--page .vf-poster { object-position: var(--fp, 60% 45%); }
.vf--page .hero-title { font-size: clamp(36px, 4.6vw, 78px); max-width: 15ch; }
.vf--page .hero-sub p + p { margin-top: 12px; }
.v2 .page-body { padding-top: clamp(48px, 6vw, 88px); }
.v2 main > section.page-body:last-of-type { padding-bottom: var(--section); }
/* legal pages keep the plain layout, with the brand's titles */
.v2 .page-title { text-transform: uppercase; font-weight: 900; letter-spacing: -.025em; }
.v2 .prose h2 { font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* corner brackets, shared by partner logos and forms */
.v2 .partner-logo::after, .v2 .panel::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: 1;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 0 / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 0 / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 100% 0 / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 100% / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 0 100% / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100% 100% / 18px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) 100% 100% / 2px 18px no-repeat;
}

/* projects: a contact sheet of shots, each with its show's colour, deck line and hosts */
.v2 .works--grid { gap: 2px; padding: 2px; background: #000; border: 1px solid var(--line); }
.v2 .works--grid > li { background: var(--ink); }
.v2 .works--grid .work-link { border-top: 3px solid var(--show, var(--hair)); }
.v2 .works--grid .work-text { gap: 4px; padding: 14px 16px 18px; }
.v2 .works--grid .work-title { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.v2 .works--grid .work-title::before { content: "▶ "; color: var(--show, var(--rec)); font-size: .7em; vertical-align: .15em; }
.v2 .works--grid .work--big .work-title { font-size: clamp(20px, 2.2vw, 28px); }
.v2 .works--grid .work-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.v2 .works--grid .work-tag { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.v2 .works--grid .work-hosts { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--show, var(--accent)); }

/* products: one camera each */
.v2 .products { counter-reset: cam; }
.v2 .product-kind::before { counter-increment: cam; content: "CAM " counter(cam, decimal-leading-zero) "  ·  "; color: var(--accent); }
.v2 .product h2, .v2 .product h3 { text-transform: uppercase; font-weight: 800; letter-spacing: -.005em; }

/* partners: logos in a frame that locks on when you point at it */
.v2 .partners { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.v2 .partner { background: var(--ink); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.v2 .partner:hover { background: #0e1111; }
.v2 .partner-logo { position: relative; }
.v2 .partner-logo::after { opacity: 0; transform: scale(1.03); transition: opacity .3s, transform .4s var(--ease); }
.v2 .partner:hover .partner-logo::after { opacity: 1; transform: none; }
.v2 .partner h2 { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.v2 .partner-kicker { color: var(--accent); }

/* forms: the panel sits in the viewfinder */
.v2 .panel { position: relative; background: #0b0d0d; border-color: var(--hair); }
.v2 .panel::before { inset: -1px; opacity: .9; }
.v2 .panel-title { text-transform: uppercase; font-weight: 900; letter-spacing: -.01em; }
.v2 .form .btn-block::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); margin-right: 4px; }
.v2 .contact-list .eyebrow, .v2 .careers-intro .eyebrow { color: var(--accent); }

/* shop */
.v2 .shop-how { background: #0b0d0d; border-color: var(--hair); }
.v2 .shop-item { background: var(--ink); }
.v2 .shop-points h2 { text-transform: uppercase; letter-spacing: .02em; }

/* 404: the camera lost its feed */
.nosignal { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 90px) 0 clamp(56px, 8vw, 110px); }
.ns-bars { position: absolute; inset: 0; z-index: -3; display: flex; opacity: .24; }
.ns-bars i { flex: 1; }
.ns-bars i:nth-child(1) { background: #c0c0c0; } .ns-bars i:nth-child(2) { background: #c0c000; }
.ns-bars i:nth-child(3) { background: #00c0c0; } .ns-bars i:nth-child(4) { background: #00c000; }
.ns-bars i:nth-child(5) { background: #c000c0; } .ns-bars i:nth-child(6) { background: #c00000; }
.ns-bars i:nth-child(7) { background: #0000c0; }
.nosignal::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(7, 8, 8, .35), var(--ink) 92%), linear-gradient(90deg, rgba(7, 8, 8, .85), rgba(7, 8, 8, .2) 70%); }
.v2-motion .ns-bars { animation: v2-nosignal 4s steps(1) infinite; }
@keyframes v2-nosignal { 0%, 90% { opacity: .24; } 92% { opacity: .1; } 94% { opacity: .3; } 96% { opacity: .16; } }
.ns-copy p { margin-top: 12px; max-width: 52ch; color: var(--text-2); }
.nosignal .hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.nosignal .vf-top span:last-child { margin-left: auto; color: #fff; }

@media (max-width: 560px) {
  .vf--page { min-height: 76svh; }
  .vf--page .hero-title { font-size: clamp(32px, 9vw, 42px); }
}
