/* ============================================================
   Talent single (photographer / director)
   ============================================================ */

/* ---- Hero ---- */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 40px 80px;
  position: relative; overflow: hidden;
}
.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35vh; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; max-width: 1100px; }

.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 1px; background: #fff200; }

.hero-name {
  font-size: clamp(27.2px, 3.36vw, 49.6px);
  font-weight: 700; letter-spacing: -0.045em;
  line-height: 0.88; color: #fff; margin-bottom: 32px;
}
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero-bio {
  font-size: 14px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.8); max-width: 420px;
}
.hero-bio p { margin-bottom: 0.8em; }
.hero-bio p:last-child { margin-bottom: 0; }

/* ---- Scroll hint ---- */
.hero-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  pointer-events: none; z-index: 3;
}
.hero-hint span { font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hint-line {
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  transform-origin: top; animation: hintPulse 1.8s ease-in-out infinite;
}
@keyframes hintPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}
#hero-hint-mobile { display: none; }

/* ---- Works ---- */
#works { padding: 100px 40px 140px; width: 76vw; margin: 0 auto; }

/* Directors: 16:9 grid. Photographers: masonry columns. */
.works-grid--video { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 40px; }
.works-grid--photo { columns: 2; column-gap: 20px; }
.works-grid--photo .work-card { break-inside: avoid; margin-bottom: 20px; }

.work-card { position: relative; cursor: pointer; display: block; text-decoration: none; color: inherit; }

.card-media {
  position: relative; overflow: hidden;
  border-radius: 3px; background: #111;
}
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.35s; z-index: 3;
}
.work-card:hover .card-media::after { background: rgba(0,0,0,0.15); }

/* ---- Video card ---- */
.work-card--video .card-media {
  aspect-ratio: 16 / 9; margin-bottom: 16px;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0, 0, 0.1, 1), box-shadow 0.65s;
  will-change: transform;
}
.work-card--video:hover .card-media { transform: scale(1.025); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

.card-thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: opacity 0.4s;
}
.card-video-wrap {
  position: absolute; inset: -5%; z-index: 1;
  opacity: 0; transition: opacity 0.8s ease;
}
.card-video-wrap.ready { opacity: 1; }
.card-video-wrap iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78%; height: 100%; min-width: 100%; min-height: 56.25vw;
  border: none; pointer-events: none;
}

.card-play-hint {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.work-card--video:hover .card-play-hint { opacity: 1; }
.play-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.work-card--video:hover .play-circle {
  transform: scale(1.08);
  background: rgba(255,242,0,0.15);
  border-color: rgba(255,242,0,0.4);
}
.play-circle::after {
  content: '';
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}

/* ---- Photo card ---- */
.work-card--photo .card-media img {
  display: block; width: 100%; height: auto;
  transition: transform 0.65s cubic-bezier(0, 0, 0.1, 1);
  will-change: transform;
}
.work-card--photo:hover .card-media img { transform: scale(1.04); }

.card-zoom-hint {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.work-card--photo:hover .card-zoom-hint { opacity: 1; }
.zoom-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; line-height: 1;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}
.work-card--photo:hover .zoom-icon {
  transform: scale(1.08);
  background: rgba(255,242,0,0.12);
  border-color: rgba(255,242,0,0.45);
  color: #fff200;
}
.card-badge {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  font-size: 9px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 3px 9px;
}

/* ---- Card info ---- */
.card-info {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding-top: 10px;
}
.works-grid--video .card-info { padding-top: 2px; }
.card-title-block { flex: 1; }
.card-project {
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.85); display: inline; margin-right: 8px;
}
.works-grid--photo .card-project { font-size: 10.4px; font-weight: 500; color: rgba(255,255,255,0.7); margin-right: 0; }
.card-sep { font-size: 11px; color: rgba(255,255,255,0.2); margin-right: 6px; }
.card-talent { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.25); letter-spacing: 0.02em; }
.card-count { font-size: 9px; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); flex-shrink: 0; }

/* ---- Video modal ---- */
#modal {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px; opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#modal.open { opacity: 1; pointer-events: all; visibility: visible; }
#modal-inner { position: relative; width: 100%; max-width: min(100%, calc((100vh - 160px) * 16 / 9)); }
#modal-close {
  position: absolute; top: -50px; right: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1;
  color: rgba(255,255,255,0.4); cursor: pointer;
  border: 0.5px solid rgba(255,255,255,0.12); border-radius: 50%;
  background: rgba(255,255,255,0.04);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
#modal-close:hover { color: #fff; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); }
#modal-video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: 6px; overflow: hidden; background: #000;
}
#modal-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
#modal-meta { margin-top: 18px; display: flex; align-items: baseline; justify-content: space-between; }
#modal-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
#modal-client { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.25); }

#modal-nav {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px; z-index: 10;
}
.modal-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
  color: rgba(255,255,255,0.85); cursor: pointer;
  background: none; border: none; padding: 8px;
  transition: color 0.22s; font-family: inherit;
}
.modal-nav-btn:hover { color: #fff200; }
.modal-nav-btn.disabled { color: rgba(255,255,255,0.2); pointer-events: none; }

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  #hero { padding: 100px 24px 100px; }
  .hero-hint { bottom: 20px; }
  #hero-hint-desktop { display: none; }
  #hero-hint-mobile  { display: flex; }
  .hero-name { font-size: clamp(20px, 5.36vw, 29.6px); margin-bottom: 15px; }
  .hero-row  { flex-direction: column; gap: 24px; }
  .hero-bio  { font-size: 13px; }

  #works { padding: 60px 0 100px; width: 90vw; }
  .works-grid--video { grid-template-columns: 1fr; gap: 52px; }
  .works-grid--photo { columns: 1; }
  .works-grid--photo .work-card { margin-bottom: 32px; }

  .card-play-hint { opacity: 1; }
  .play-circle { width: 44px; height: 44px; }
  .play-circle::after { border-left-width: 14px; border-top-width: 8px; border-bottom-width: 8px; }

  #modal { padding: 24px; }
  #modal-close { top: -44px; }
  #modal-title { font-size: 16px; }
  #modal-nav { bottom: 20px; }
}
