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

:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --fg: #f5f5f5;
  --accent: #a9d6f5;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Archivo Black', sans-serif;
  --body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  overflow-x: hidden;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  z-index: 100;
  mix-blend-mode: difference;
}

.site-header.nav-open {
  mix-blend-mode: normal;
}

.logo {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.site-nav a:hover { color: var(--accent); }
.site-nav a.active { color: var(--accent); }

/* Hero section dropdown nav (replaces "HOME" on the video page) */
.hero-nav-dropdown {
  position: relative;
}

.hero-nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--fg);
  transition: color 0.2s ease;
}

.hero-nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

.hero-nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}

.hero-nav-dropdown:hover .hero-nav-toggle,
.hero-nav-toggle[aria-expanded="true"] {
  color: var(--accent);
}

.hero-nav-dropdown:hover .hero-nav-toggle-icon span,
.hero-nav-toggle[aria-expanded="true"] .hero-nav-toggle-icon span {
  background: var(--accent);
}

.hero-nav-toggle[aria-expanded="true"] .hero-nav-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hero-nav-toggle[aria-expanded="true"] .hero-nav-toggle-icon span:nth-child(2) { opacity: 0; }
.hero-nav-toggle[aria-expanded="true"] .hero-nav-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero-nav-menu {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 50%;
  transform: translate(-50%, -8px);
  list-style: none;
  min-width: 180px;
  padding: 0.75rem 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  isolation: isolate;
  mix-blend-mode: normal;
}

.hero-nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.hero-nav-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #ccc;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.hero-nav-menu li a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  /* A small, compact "liquid glass" dropdown anchored under the header —
     frosted translucent panel instead of a flat black block or a
     full-screen takeover. */
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 160px;
    background: rgba(30, 30, 32, 0.45);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    font-size: 0.85rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 150;
    mix-blend-mode: normal;
    /* Without isolation, a non-isolated descendant of an element using
       mix-blend-mode (the header uses "difference" for its desktop nav
       effect) still gets composited as part of that blending group, so
       this dropdown would render translucent/inverted against the hero
       video behind it instead of as a proper glass panel. */
    isolation: isolate;
  }

  .site-nav.open { display: flex; }

  .hero-nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-nav-toggle { font-size: 0.85rem; gap: 0.5rem; }

  .hero-nav-toggle-icon { width: 16px; height: 13px; gap: 3px; }

  .hero-nav-menu {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: none;
    text-align: left;
  }

  .hero-nav-menu.open {
    display: block;
    transform: none;
  }

  .hero-nav-menu li a {
    font-size: 0.8rem;
    padding: 0.3rem 0;
  }
}

/* Hero reel */
.hero-reel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

@media (max-width: 700px) {
  /* A full 100vh tall frame forces object-fit:cover to punch in hard on
     a landscape video, cropping most of the shot away. Using a short,
     wide band instead (matching the reference site's mobile hero) keeps
     the crop close to the video's own aspect ratio, so far more of each
     shot stays visible. */
  .hero-reel {
    height: 42vh;
    min-height: 300px;
  }
}

.hero-reel-stage {
  position: absolute;
  inset: 0;
}

.hero-reel-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-reel-slot.front {
  opacity: 1;
  z-index: 2;
}

.hero-reel-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-reel-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 35%);
  pointer-events: none;
}

.hero-reel-bar {
  position: absolute;
  left: 0; right: 0; bottom: 4.5rem;
  z-index: 4;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-reel-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.hero-reel-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.95));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  transition: width 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-reel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-reel-count {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #777;
  flex-shrink: 0;
}

.hero-reel-titles {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.hero-reel-titles a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
}

.hero-reel-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-reel-titles a:hover .hero-reel-dot {
  border-color: var(--fg);
  transform: scale(1.15);
}

.hero-reel-titles a.active .hero-reel-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}

/* Scroll cue — hints there's more content below the hero reel */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  animation: scroll-cue-bounce 2.2s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.scroll-cue-text {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.scroll-cue-arrow {
  display: block;
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-cue-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Hero (legacy, kept for other pages if referenced) */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 14vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #999;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.section.alt { background: var(--bg-alt); }

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 3rem;
}

/* Work grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a1a1a;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.tile:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.tile span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

/* Featured video */
.featured-video {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 3rem;
  background: #000;
}

/* Video list */
.video-list {
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
}

.video-list li {
  border-top: 1px solid #333;
}

.video-list li:last-child { border-bottom: 1px solid #333; }

.video-list a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 4vw, 2rem);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.video-list a:hover {
  color: var(--accent);
  padding-left: 1rem;
}

.vnum {
  font-family: var(--mono);
  font-size: 1rem;
  color: #666;
}

.subsection-title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  max-width: 1400px;
  margin: 4rem auto 2rem;
  color: #999;
}

/* Masonry photo grid — CSS grid with a small auto-row unit; each item's
   row-span is computed in JS from its real aspect ratio once the image
   loads, so items pack tightly without gaps (see js/main.js). */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 6px;
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
}

.photo-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: #111;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.photo-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.photo-item.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 800px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (max-width: 520px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Full gallery — 3-column grid, exact structure/spacing as joshuadin.com's
   .portfolio-grid (repeat(3,1fr), 30px/26px gap, 1200px->2 cols, 900px->1 col),
   adapted to Joel's dark palette and using real <video> elements instead of
   YouTube thumbnail images. */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-card {
  display: flex;
  flex-direction: column;
}

.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}

.video-card--vertical .video-thumb-wrap {
  aspect-ratio: 9 / 16;
}

.video-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-card:hover .video-thumb-wrap video {
  transform: scale(1.06);
}

/* Fullscreen is disabled on every video (see controlsList="nofullscreen"
   on the elements themselves) — the only ways to watch are inline/small
   or the full-size lightbox. These hide the native fullscreen button in
   browsers that don't honor controlsList. */
video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

video::-moz-full-screen-button {
  display: none !important;
}

.video-card-meta {
  padding: 10px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-card-title {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.video-card-role {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(245, 245, 245, 0.6);
}

/* Contact */
.contact {
  text-align: center;
}

.big-link {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 3rem);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.25rem;
}

.socials {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.socials a:hover { color: var(--accent); }

/* Photos page */
.photos-page {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.photos-page-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
}

.photos-page-title .accent {
  color: var(--accent);
}

/* Featured page */
.featured-page {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.featured-entry {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-entry + .featured-entry {
  margin-top: 4.5rem;
}

.featured-entry-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #222;
}

.featured-brand {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.featured-entry-detail {
  font-family: var(--body);
  font-size: 0.95rem;
  color: #ccc;
  margin: -0.75rem 0 1.5rem;
}

.featured-sub {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #777;
}

.featured-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.featured-photo {
  position: relative;
  flex: 1.3;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow 0.4s ease;
}

.featured-photo:hover {
  box-shadow: inset 0 0 0 3px var(--accent);
}

.featured-photo img,
.featured-photo video {
  width: 100%;
  display: block;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.featured-photo:hover img,
.featured-photo:hover video {
  transform: scale(1.06);
}

.featured-media {
  flex: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.featured-media .featured-photo {
  flex: 1;
}

.featured-media .featured-photo img,
.featured-media .featured-photo video {
  height: auto;
}

/* Ricoh entry — a large hero photo, the write-up, and a slim video strip
   in one row. Prioritizes horizontal space: the video is capped to a
   narrow column instead of stacking full-width beneath everything, so
   the row's height stays governed by the hero photo, not the tall
   portrait video. */
.featured-card--ricoh {
  align-items: flex-start;
  flex-wrap: wrap;
}

.featured-photo--hero {
  flex: 1.9;
  min-width: 280px;
}

.featured-card--ricoh .featured-caption {
  flex: 1.1;
  min-width: 220px;
}

.featured-photo--compact {
  flex: 0 0 130px;
  width: 130px;
  align-self: flex-start;
}

.featured-photo--compact video {
  height: auto;
}

.featured-video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.featured-video-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #777;
  text-transform: uppercase;
}

/* Translucent play indicator — same treatment as the video-grid thumbnails
   elsewhere on the site, so a video reads as a video at a glance. Purely
   decorative (pointer-events: none) so clicks still reach the wrap and
   open the lightbox rather than being intercepted by the icon. */
.featured-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(13, 13, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background 0.2s ease;
}

.featured-photo:hover .featured-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
}

.featured-play-icon svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  fill: #fff;
}

.featured-photo:hover .featured-play-icon svg {
  fill: #0a0a0a;
}

@media (max-width: 800px) {
  .featured-photo--compact {
    flex: 0 0 auto;
    width: 130px;
  }
}

/* Overlapping "cohesive post" layout — the billboard video is the main
   frame, with the actual campaign photo inset like a physical print laid
   on top, so the two media read as one composition rather than a split. */
.featured-media--overlap {
  position: relative;
  display: block;
}

.featured-photo--main {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.featured-photo--main img,
.featured-photo--main video {
  height: 100%;
  object-fit: cover;
}

.featured-photo--inset {
  position: absolute;
  left: -1.25rem;
  bottom: -1.5rem;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 4px solid var(--bg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.featured-photo--inset img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 520px) {
  .featured-photo--inset {
    left: -0.5rem;
    bottom: -1rem;
    width: 48%;
  }
}


.featured-caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.featured-caption-title {
  font-family: var(--display);
  font-size: 1.1rem;
}

.featured-caption p {
  color: #aaa;
  line-height: 1.6;
  font-size: 0.95rem;
}

.featured-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  width: fit-content;
}

.featured-link:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .featured-card {
    flex-direction: column;
  }

  .featured-media {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .featured-media {
    flex-direction: column;
  }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 2rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.filter-pill {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(245, 245, 245, 0.6);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--fg);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

/* Contact page */
.contact-page {
  padding-top: 6rem;
  min-height: 100vh;
}

.page-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-align: center;
  padding: 2rem;
}

/* Vertical work page */
.vertical-work-page {
  padding: 7rem 1rem 2rem;
  min-height: 100vh;
}

.vertical-work-title {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.vertical-video-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  max-width: 1400px;
  margin: 0 auto;
}

.vv-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vv-thumb-wrap {
  position: relative;
}

.vv-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  background: #000;
}

.vv-item .video-card-meta {
  text-align: center;
}

@media (max-width: 900px) {
  .vertical-video-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .vertical-video-wall { grid-template-columns: repeat(2, 1fr); }
}

.vertical-work-link {
  display: block;
  text-align: center;
  margin: 3rem auto 0;
  width: fit-content;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--body);
}

.lightbox-close:hover {
  color: var(--accent);
}

/* Video play button — sits over every gallery/social thumbnail. Clicking
   the thumbnail anywhere else opens the video lightbox at full size;
   clicking this button instead plays the video inline, small, with
   native controls. */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(13, 13, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), background 0.2s ease;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
}

.video-play-btn svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: #fff;
}

.video-play-btn:hover svg {
  fill: #0a0a0a;
}

.video-thumb-wrap.is-playing .video-play-btn,
.vv-thumb-wrap.is-playing .video-play-btn {
  display: none;
}

/* Video lightbox — full-size playback overlay shared by every gallery
   and short-form thumbnail. */
.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.video-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.video-lightbox-inner {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-lightbox-box {
  /* Width/height are set inline in JS to the exact fitted size once the
     real video dimensions are known, so it always plays as large as
     possible with no pillarboxing/letterboxing and no cropping. This
     16/9 + full-width rule is just the pre-metadata fallback. */
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.video-lightbox-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.video-lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.video-lightbox-name {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.video-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.video-lightbox-link,
.video-lightbox-close {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.video-lightbox-link::before,
.video-lightbox-close::before {
  content: "[ ";
  color: var(--accent);
}

.video-lightbox-link::after,
.video-lightbox-close::after {
  content: " ]";
  color: var(--accent);
}

.video-lightbox-link:hover,
.video-lightbox-close:hover {
  color: var(--fg);
}

/* Clients strip */
.clients-strip {
  padding: 3rem 2rem;
  text-align: center;
  background: #141414;
}

.clients-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  row-gap: 2.75rem;
  column-gap: 2.5rem;
  justify-items: center;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.clients-logos img {
  height: 46px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.clients-logos img:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .clients-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 520px) {
  .clients-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.site-footer {
  padding: 2rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #666;
}
