/* ============================================================
   DO MORE — Videos page. Builds on styles.css (shares :root).
   ============================================================ */

.nav__link--active { opacity: 1; }
.nav__link--active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */
.vhero {
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 8vh) 4vw 6vh;
  position: relative;
}
.vhero .section-kicker { margin-bottom: 2.4rem; }
.vhero__title {
  font-size: clamp(3.6rem, 15vw, 15rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.86;
  text-transform: none;
}
.vhero__line { display: block; overflow: clip; padding-block: 0.02em; }
.vhero__title .serif { font-weight: 400; letter-spacing: -0.01em; }
.vhero__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-top: 5vh;
}
.vhero__sub { font-size: clamp(1.05rem, 1.6vw, 1.4rem); line-height: 1.45; font-weight: 480; color: var(--muted); }
.vhero__scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.vhero__scroll em { width: 1px; height: 52px; background: var(--line); position: relative; overflow: hidden; }
.vhero__scroll em::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--signal);
  animation: scrolldrip 1.8s var(--ease) infinite;
}

/* ---------- films ---------- */
.vfilms { padding: 6vh 4vw 8vh; }
.vfilm {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: 8vh 0;
  border-top: 1px solid var(--line);
}
.vfilm--flip .vfilm__media { order: 3; }
.vfilm--flip .vfilm__info { order: 2; }
.vfilm__num {
  font-size: 0.82rem; letter-spacing: 0.2em; color: var(--signal); font-weight: 600;
  align-self: start; padding-top: 0.6rem;
}

/* media / card */
.vfilm__media { min-width: 0; }
.vcard {
  position: relative; display: block; width: 100%;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
  background: #111;
}
.vfilm--wide .vcard { aspect-ratio: 16 / 9; }
.vfilm--portrait .vcard { aspect-ratio: 9 / 16; max-height: 78vh; max-width: 440px; }
.vfilm--portrait.vfilm--flip .vcard { margin-left: auto; }
.vcard img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.vcard:hover img { transform: scale(1.05); filter: brightness(0.82); }
.vcard__platform {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bone); background: rgba(11,11,12,0.7);
  padding: 6px 12px; border-radius: 999px;
}
.vcard__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
  width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--signal); color: var(--ink);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: transform 0.45s var(--ease), background 0.35s;
}
.vcard__play svg { margin-left: 3px; }
.vcard:hover .vcard__play { transform: translate(-50%, -50%) scale(1.08); }

/* info */
.vfilm__info { min-width: 0; }
.vfilm__count {
  display: flex; align-items: baseline; gap: 0.15em; flex-wrap: wrap;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: 250; letter-spacing: -0.05em; line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.vfilm__count sup { font-size: 0.4em; font-weight: 450; color: var(--signal); align-self: flex-start; }
.vfilm__count-unit {
  font-size: 0.2em; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-left: 0.5em; align-self: center;
}
.vfilm__title {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
  margin-top: 1.4rem;
}
.vfilm__who {
  font-size: 0.92rem; font-weight: 550; letter-spacing: 0.02em;
  color: var(--signal); margin-top: 0.5rem;
}
.vfilm__ach {
  list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.vfilm__ach li {
  position: relative; padding-left: 1.4rem;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem); line-height: 1.4; color: var(--muted); font-weight: 480;
}
.vfilm__ach li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
}
.vfilm__link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 2.2rem;
  font-size: 0.95rem; font-weight: 650;
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
  transition: gap 0.4s var(--ease), border-color 0.4s;
}
.vfilm__link em { font-style: normal; transition: transform 0.4s var(--ease); }
.vfilm__link:hover { border-color: var(--signal); gap: 14px; }
.vfilm__link:hover em { transform: translate(3px, -3px); }

/* ---------- highlight case studies (reuses .vfilm) ---------- */
.vfilms--highlight { border-top: 1px solid var(--line); padding-top: 14vh; }

/* ---------- favourites (short-form tile wall) ---------- */
.vfaves { padding: 12vh 4vw; border-top: 1px solid var(--line); }
.vfaves__head { margin-bottom: 6vh; }
.vfaves__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.vfaves__shuffle { display: contents; }

.vfave {
  position: relative; display: block; width: 100%; text-align: left;
  aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4); background: #111;
}
.vfave img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; }
.vfave:hover img { transform: scale(1.05); filter: brightness(0.8); }
.vfave .vcard__play { width: 50px; height: 50px; }
.vfave .vcard__platform { font-size: 0.66rem; padding: 5px 10px; }
.vfave__label {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--bone);
  background: rgba(11,11,12,0.7); padding: 8px 11px; border-radius: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vfave__label em { font-style: normal; color: var(--signal); flex: none; }

/* ---------- long-form favourites ---------- */
.vlong { padding: 4vh 4vw 14vh; border-top: 1px solid var(--line); }
.vlong__head { margin-bottom: 6vh; }
.vlong__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.vlong__grid .vfave { aspect-ratio: 16 / 9; }
.vlong__grid .vfave .vcard__play { width: 64px; height: 64px; }
.vlong__grid .vfave__label { font-size: 0.95rem; padding: 10px 14px; }

/* ---------- cta ---------- */
.vcta {
  padding: 16vh 4vw 18vh; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3rem;
  border-top: 1px solid var(--line);
}
.vcta__title {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 750; letter-spacing: -0.04em; line-height: 1.02;
}

/* ---------- youtube lightbox ---------- */
.vlightbox {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(8,8,9,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.vlightbox.is-open { opacity: 1; pointer-events: auto; }
.vlightbox__stage {
  width: min(92vw, 1200px); aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.6s var(--ease);
  box-shadow: 0 60px 140px rgba(0,0,0,0.6);
  background: #000;
}
.vlightbox.is-open .vlightbox__stage { transform: none; }
.vlightbox__frame, .vlightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vlightbox__close {
  position: absolute; top: 3vh; right: 3vw;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 1.1rem;
  display: grid; place-items: center; z-index: 2;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.vlightbox__close:hover { background: var(--signal); color: var(--ink); border-color: var(--signal); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .vfilm {
    grid-template-columns: 1fr;
    gap: 2rem; padding: 7vh 0;
  }
  .vfilm--flip .vfilm__media { order: 0; }
  .vfilm--flip .vfilm__info { order: 0; }
  .vfilm__num { padding-top: 0; }
  .vfilm--portrait .vcard { max-width: 320px; margin-inline: 0; }
  .vfilm--portrait.vfilm--flip .vcard { margin-left: 0; }
  .vhero__foot { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .vhero__scroll { display: none; }
}

@media (max-width: 560px) {
  .vfaves__grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .vfave__label { font-size: 0.72rem; padding: 7px 9px; }
  .vfave .vcard__play { width: 42px; height: 42px; }
  .vlong__grid { grid-template-columns: 1fr; }
}
