/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #0a0a0a;
  --surface: #141414;
  --border:  #1e1e1e;
  --text:    #ebebeb;
  --muted:   #888;
  --white:   #ffffff;
  --ease:    0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* ─── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--white);
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--white); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  height: clamp(400px, 40vw, 768px);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--border);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.1);
  filter: brightness(0.38) sepia(0.18) contrast(1.08) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 64px;
}

.hero-name {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 28px;
}

.name-first,
.name-last {
  font-size: clamp(80px, 11.25vw, 160px);
  font-weight: 500;
}

.name-initial {
  font-weight: 500;
}

.hero-roles {
  display: flex; gap: 20px; align-items: center; margin-bottom: 12px;
}
.hero-role { font-size: clamp(13px, 1.1vw, 18px); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero-sep  { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
.hero-tagline { font-size: 18px; color: rgba(255,255,255,0.65); font-style: italic; }

/* ─── SECTION LABEL ─────────────────────────────────────────── */
.section-label {
  padding: 18px 48px;
  font-size: 13px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border);
}

/* ─── PROJECT CARDS ─────────────────────────────────────────── */
#projects { border-top: 1px solid var(--border); }

.project-card {
  display: grid; grid-template-columns: 55% 1fr;
  min-height: 300px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--ease);
  text-decoration: none; color: inherit;
}
.project-card:hover { background: var(--surface); }

.project-thumb {
  position: relative; overflow: hidden;
  background: var(--surface); min-height: 300px;
}
.project-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .8; transition: transform .7s ease, opacity .3s;
}
.project-card:hover .project-thumb img { transform: scale(1.03); opacity: 1; }

.img--film {
  filter: brightness(0.78) sepia(0.25) contrast(1.1) saturate(0.75);
}
.project-card:hover .img--film {
  filter: brightness(0.65) sepia(0.2) contrast(1.08) saturate(0.8);
}

.thumb-ph {
  width: 100%; height: 100%; min-height: 300px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.thumb-ph span { font-size: 11px; letter-spacing: .1em; color: #2a2a2a; text-transform: uppercase; }

.project-info {
  padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 1px solid var(--border);
}
.project-cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.project-title { font-size: 26px; font-weight: 400; letter-spacing: -.01em; color: var(--white); margin-bottom: 10px; line-height: 1.2; }
.project-sub { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }

.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 3px 9px; }

.project-cta {
  display: flex; gap: 8px; align-items: center; margin-top: 48px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color var(--ease);
}
.project-cta::after { content: '→'; }
.project-card:hover .project-cta { color: var(--white); }

/* ─── GALLERY ───────────────────────────────────────────────── */
.gallery-wrapper {
  position: relative;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.gallery-more-btn {
  display: block;
  margin: 0 auto 48px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 3px;
  font-family: inherit;
  transition: color .2s, border-color .2s;
}
.gallery-more-btn:hover {
  color: #fff;
  border-color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 32px 48px 64px;
}

.g-item {
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 235 / 100;
}
.g-item.wide { grid-column: span 2; }

.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .75; transform: scale(1.12);
  filter: grayscale(1);
  transition: transform .6s ease, opacity .3s, filter 2.8s ease;
}
.g-item.colorized img { filter: grayscale(0); }
.g-item:hover img { transform: scale(1.16); opacity: 1; }
.g-item.ph {
  background: transparent;
  border: 1px solid #222;
  position: relative;
}
.g-item.ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.02) 8px,
    rgba(255,255,255,0.02) 9px
  );
}

/* ─── PARTNERS ──────────────────────────────────────────────── */
#partners {
  padding: 0 0 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-slider {
  margin-top: 40px;
  overflow: hidden;
}
.partners-wrap {
  overflow: hidden;
  user-select: none;
}
.partners-track {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  padding: 8px 0;
  animation: partners-scroll 60s linear infinite;
}
.partners-wrap:hover .partners-track {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner {
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
  opacity: .4; transition: opacity var(--ease);
}
.partner:hover { opacity: 1; }

.partner img {
  height: 24px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .4; transition: opacity var(--ease);
}
.partner img:hover { opacity: 1; }

/* ─── ABOUT ─────────────────────────────────────────────────── */
#about { display: grid; grid-template-columns: 55% 1fr; }

.about-img {
  background: var(--surface);
  aspect-ratio: 235 / 100;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; filter: brightness(0.88); }
.about-img .ph { font-size: 11px; letter-spacing: .1em; color: #2a2a2a; text-transform: uppercase; }

.about-body {
  padding: 64px 48px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}
.about-label { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.about-text { font-size: 15px; line-height: 1.85; color: var(--text); margin-bottom: 44px; }
.about-text p + p { margin-top: 18px; }

.contact-links { display: flex; flex-direction: column; gap: 13px; }
.contact-links a { display: flex; align-items: center; gap: 11px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color var(--ease); }
.contact-links a svg { flex-shrink: 0; opacity: .7; }
.contact-links a:hover { color: var(--white); }
.contact-links a:hover svg { opacity: 1; }
.contact-links .link-gmail:hover    svg { color: #EA4335; }
.contact-links .link-vimeo:hover    svg { color: #1AB7EA; }
.contact-links .link-instagram:hover svg { color: #E1306C; }
.contact-links .link-whatsapp:hover svg { color: #25D366; }
.contact-links .link-wechat:hover   svg { color: #07C160; }
.contact-links .link-red:hover      svg { color: #FF2442; }

/* ─── QR MODAL ──────────────────────────────────────────────── */
.qr-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.qr-overlay.active { opacity: 1; pointer-events: all; }
.qr-card {
  background: #fff; border-radius: 12px;
  padding: 28px 28px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: translateY(12px); transition: transform .3s ease;
}
.qr-overlay.active .qr-card { transform: translateY(0); }
.qr-card img { width: 200px; height: 200px; object-fit: contain; display: block; }
.qr-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #888; }

/* ─── ON LOCATION MAP ───────────────────────────────────────── */
#on-location {
  border-top: 1px solid var(--border);
  padding: 0 0 64px;
}
.map-container {
  padding: 0;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );
  mask-image: linear-gradient(to right,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );
}
#mapLeaflet {
  width: 100%;
  aspect-ratio: 4 / 1;
  position: relative;
  background: #111;
}
#mapCanvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 400;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  padding: 28px 48px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 11px; color: var(--muted); letter-spacing: .05em; }
.footer-nav  { display: flex; gap: 24px; }
.footer-nav a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color var(--ease); }
.footer-nav a:hover { color: var(--white); }

/* ─── SHOW PAGE (Netflix / Apple TV style) ─────────────────── */
.show-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px;
  background: transparent;
  transition: background var(--ease);
}
.show-nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.show-hero {
  position: relative;
  height: clamp(420px, 58vh, 680px);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.show-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.show-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
}

.show-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.1) 100%
  );
}

.show-hero-content {
  position: relative; z-index: 2;
  padding: 0 64px 24px;
}

.show-desc { max-width: clamp(480px, 52vw, 780px); }

.show-cat {
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.show-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500; letter-spacing: -.025em;
  line-height: 0.95; color: var(--white);
  margin-bottom: 8px;
  white-space: nowrap;
}

.show-subtitle {
  font-size: 18px; letter-spacing: .06em;
  color: rgba(255,255,255,0.35); margin-bottom: 20px;
}

.show-desc {
  font-size: 14px; line-height: 1.8;
  color: rgba(255,255,255,0.6); margin-bottom: 24px;
}

.show-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.show-actions { margin-top: 28px; display: flex; gap: 12px; align-items: center; }

.btn-play {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: #000;
  padding: 12px 28px;
  font-size: 15px; font-weight: 500; letter-spacing: .04em;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s ease;
}
.btn-play:hover { background: rgba(255,255,255,0.85); }
.btn-play-icon { font-size: 13px; }

/* ─── EPISODES ROW ───────────────────────────────────────────── */
.episodes-section {
  padding: 24px 64px 48px;
  border-bottom: 1px solid var(--border);
}

.episodes-label {
  font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 24px;
}

.episodes-row {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.episodes-row::-webkit-scrollbar { display: none; }

.ep-card {
  flex: 0 0 420px;
  scroll-snap-align: start;
  transition: transform .3s ease;
}
.ep-card:hover { transform: translateY(-4px); }

.ep-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  overflow: hidden; margin-bottom: 14px;
  position: relative;
}
.ep-card-thumb iframe {
  width: 100%; height: 100%; border: none; display: block;
}

.ep-card-thumb--ph {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.ep-upcoming-label {
  font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}

.ep-card-info { padding: 0 2px; }
.ep-card-num  { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ep-card-title { font-size: 16px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.ep-card-loc  { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ep-card-desc { font-size: 12px; line-height: 1.7; color: #666; margin-bottom: 10px; }
.ep-card-dur  { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

/* ─── SHOW TRAILER ───────────────────────────────────────────── */
.trailer-layout {
  display: flex;
  align-items: flex-start;
  padding: 48px 0 48px 64px;
  border-bottom: 1px solid var(--border);
}

.trailer-video {
  flex: 0 0 auto;
  width: clamp(500px, 62vw, 960px);
  background: #000;
}

.show-trailer {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}
.show-trailer iframe { width: 100%; height: 100%; border: none; display: block; }

.trailer-side {
  flex: 1;
  padding: 24px 40px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
}

.trailer-credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0;
}

.trailer-credits-grid .credit-row {
  display: flex;
  flex-direction: column;
  padding: 24px 16px 24px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.trailer-credits-grid .credit-label {
  flex: 1;
}

.credits-companies {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.credits-companies .credit-row {
  display: flex;
  flex-direction: column;
  padding: 24px 16px 24px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.credits-companies .credit-label {
  flex: 1;
}

.ep-card--still { flex: 0 0 320px; }
.ep-card--still .ep-card-thumb { margin-bottom: 0; }

/* ─── SHOW CREDITS ───────────────────────────────────────────── */
.show-credits {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding: 48px 64px 28px;
  border-bottom: 1px solid var(--border);
}

/* ─── PROJECT PAGE HEADER ───────────────────────────────────── */
.page-hero {
  padding: 140px 48px 64px;
  border-bottom: 1px solid var(--border);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 48px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color var(--ease);
}
.back-link::before { content: '←'; }
.back-link:hover { color: var(--white); }

.page-cat { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.page-title {
  font-size: clamp(40px, 6vw, 96px); font-weight: 400;
  letter-spacing: -.025em; line-height: 1;
  color: var(--white); margin-bottom: 32px;
}
.page-meta { display: flex; gap: 40px; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta-val   { font-size: 13px; color: var(--text); }

/* ─── EPISODES ──────────────────────────────────────────────── */
.episode { border-bottom: 1px solid var(--border); }

.ep-body { display: grid; grid-template-columns: 55% 1fr; }

.ep-embed { background: #000; }
.ep-embed iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: none; }

.ep-ph {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.ep-ph .status { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.ep-info {
  padding: 48px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
}
.ep-num      { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ep-title    { font-size: 22px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.ep-location { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.ep-desc     { font-size: 13px; color: var(--muted); line-height: 1.75; }
.ep-duration { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 32px; }

/* ─── TRAILER PAGE ──────────────────────────────────────────── */
.trailer-embed { background: #000; padding: 3px; }
.trailer-embed iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: none; }

.trailer-info {
  display: grid; grid-template-columns: 55% 1fr;
  border-top: 1px solid var(--border);
}
.trailer-desc { padding: 48px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.trailer-credits { padding: 48px; border-left: 1px solid var(--border); }
.credit-row { margin-bottom: 24px; }
.credit-label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.credit-val   { font-size: 13px; color: var(--text); }

/* ─── EPISODE CARD LINK + THUMBNAIL HOVER ───────────────────── */
a.ep-card { text-decoration: none; color: inherit; display: block; }

.ep-card-thumb--img {
  position: relative; overflow: hidden;
}
.ep-card-thumb--img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .3s;
  opacity: .85;
}
.ep-card-thumb-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background .3s;
}
.ep-play-btn {
  font-size: 28px; color: rgba(255,255,255,0);
  transition: color .3s, transform .3s;
  transform: scale(0.8);
}
.ep-card:hover .ep-card-thumb--img img { transform: scale(1.04); opacity: 1; }
.ep-card:hover .ep-card-thumb-overlay { background: rgba(0,0,0,0.25); }
.ep-card:hover .ep-play-btn { color: rgba(255,255,255,0.9); transform: scale(1); }

/* ─── WATCH PAGE ─────────────────────────────────────────────── */
.watch-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.watch-back {
  font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  transition: color var(--ease);
}
.watch-back:hover { color: var(--white); }

.watch-player {
  padding: 68px 64px 48px;
  background: #000;
}
.watch-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(80vh - 68px);
  border: none;
  display: block;
}

.watch-info {
  padding: 56px 64px;
  border-bottom: 1px solid var(--border);
}

.watch-main {
  margin-bottom: 48px;
}

.watch-series {
  font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.watch-epnum {
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.watch-dur { color: #555; }

.watch-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400; letter-spacing: -.015em;
  color: var(--white); margin-bottom: 6px;
  white-space: nowrap;
}
.watch-location {
  font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 32px;
}
.watch-desc { font-size: 14px; line-height: 1.85; color: #aaa; }
.watch-desc p + p { margin-top: 16px; }

.watch-credits {
  display: flex; flex-direction: row; flex-wrap: wrap;
  gap: 32px 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* ─── WATCH GALLERY (2.35:1) ────────────────────────────────── */
.watch-gallery {
  padding: 48px 64px;
  border-bottom: 1px solid var(--border);
}

.gallery-grid--235 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.g-item--235 {
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 235 / 100;
  position: relative;
  cursor: pointer;
}

.g-item--235 img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .8; filter: grayscale(1);
  transition: transform .5s ease, opacity .3s, filter 2.8s ease;
  display: block;
}
.g-item--235.colorized img { filter: grayscale(0); }
.g-item--235:hover img { transform: scale(1.03); opacity: 1; }

.gallery-grid--sq {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.g-item--sq {
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
}
.g-item--sq img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .8; filter: grayscale(1);
  transition: transform .5s ease, opacity .3s, filter 2.8s ease;
  display: block;
}
.g-item--sq.colorized img { filter: grayscale(0); }
.g-item--sq:hover img { transform: scale(1.03); opacity: 1; }

.g-item--235.ph {
  background: transparent;
  border: 1px solid #222;
}
.g-item--235.ph::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 8px,
    rgba(255,255,255,0.02) 8px,
    rgba(255,255,255,0.02) 9px
  );
}

.credit-row--full { flex: 0 0 100%; }

/* ─── EPISODE NAVIGATION ─────────────────────────────────────── */
.ep-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 32px 0 48px;
}
.ep-nav-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  color: #000;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s ease;
  cursor: pointer;
  min-width: 220px;
}
.ep-nav-btn--next { align-items: flex-end; text-align: right; }
.ep-nav-btn:not(.ep-nav-btn--disabled):hover { background: rgba(255,255,255,0.82); }
.ep-nav-btn--disabled {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.3);
  cursor: default;
  pointer-events: none;
}
.ep-nav-btn--hidden { visibility: hidden; }
.ep-nav-dir {
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(0,0,0,0.45);
}
.ep-nav-btn--disabled .ep-nav-dir { color: rgba(255,255,255,0.3); }
.ep-nav-title {
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
}
.ep-nav-btn:not(.ep-nav-btn--hidden) .ep-nav-title::before {
  content: '▶  ';
  font-size: 9px;
  opacity: 0.6;
}

/* legacy */
.watch-epnav { display: none; }

/* ─── COMMERCIAL ────────────────────────────────────────────── */
.partners-section {
  padding: 48px 48px;
  border-bottom: 1px solid var(--border);
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 32px;
}
.partner-logo {
  height: 40px;
  width: auto;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.85;
  transition: filter .35s ease, transform .35s ease, opacity .35s ease;
  flex-shrink: 0;
}
.partner-logo:hover {
  filter: none !important;
  transform: scale(1.1);
  opacity: 1 !important;
}

.commercial-note {
  padding: 64px 48px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--muted); line-height: 1.8;
}
.commercial-section {
  padding: 48px 48px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.commercial-section:first-of-type { margin-top: 0; }
.g-item--ph {
  background: var(--surface);
  aspect-ratio: 235 / 100;
}

.fade-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.show-partners {
  padding: 28px 64px 56px;
  border-top: 1px solid var(--border);
}
.show-partners .episodes-label { margin-bottom: 32px; }
.show-partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
}

/* ─── RESPONSIVE: TABLET (≤1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  .hero-content { padding: 0 32px 48px; }
  .section-label { padding: 16px 32px; }
  .project-info { padding: 36px 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); padding: 24px 32px 48px; }
  #about { grid-template-columns: 1fr 1fr; }
  .about-body { padding: 48px 32px; }
  #mapLeaflet { aspect-ratio: 3 / 1; }
  .show-hero-content { padding: 0 40px 24px; }
  .episodes-section { padding: 24px 40px 40px; }
  .ep-card { flex: 0 0 340px; }
  .show-credits { padding: 40px 40px 24px; gap: 32px; }
  .trailer-layout { padding: 40px 0 40px 40px; }
  .trailer-video { width: clamp(400px, 55vw, 760px); }
  .trailer-layout { flex-direction: column; padding: 0 0 40px; }
  .trailer-video { width: 100%; }
  .trailer-side { border-left: none; border-top: 1px solid var(--border); padding: 32px 40px; }
  .credits-companies .credit-val { font-size: 11px; white-space: nowrap; }
  .watch-player { padding: 68px 40px 40px; }
  .watch-info { padding: 40px 40px; }
  .watch-gallery { padding: 40px 40px; }
  .gallery-grid--235 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid--sq { grid-template-columns: repeat(7, 1fr); }
  .show-partners { padding: 28px 40px 48px; }
  .ep-nav-btns { padding: 28px 40px 40px; }
  .page-title { white-space: normal !important; }
  .show-partners-logos { flex-wrap: wrap !important; gap: 20px 40px !important; justify-content: center !important; }
  footer { padding: 24px 32px; }
}

/* ─── RESPONSIVE: MOBILE (≤768px) ──────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(n+4) { display: none; }

  /* Hero */
  .hero { height: clamp(340px, 70vw, 520px); }
  .hero-content { padding: 0 20px 36px; }
  .name-first, .name-last { font-size: clamp(52px, 13vw, 90px); }
  .hero-roles { flex-wrap: wrap; gap: 6px 12px; margin-bottom: 10px; }
  .hero-sep { display: none; }
  .hero-role { font-size: 11px; }
  .hero-tagline { font-size: 14px; }

  /* Section label */
  .section-label { padding: 14px 20px; }

  /* Project cards: stack vertically */
  .project-card { grid-template-columns: 1fr; }
  .project-thumb { min-height: 200px; }
  .project-info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 28px 20px;
  }
  .project-cta { margin-top: 28px; }

  /* Gallery: 2 columns */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 6px 6px 40px;
  }
  .g-item.wide { grid-column: span 1; }

  /* Partners slider */
  .partners-track { gap: 40px; }

  /* About: stack vertically */
  #about { grid-template-columns: 1fr; }
  .about-img { min-height: 220px; }
  .about-body {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 32px 20px;
  }

  /* Map */
  #mapLeaflet { aspect-ratio: 2 / 1; }
  .map-container {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  }

  /* Footer */
  footer { padding: 24px 20px; flex-direction: column; gap: 14px; text-align: center; }
  .footer-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }

  /* Show page hero */
  .show-nav { padding: 16px 20px; }
  .show-hero { height: clamp(360px, 70vh, 540px); }
  .show-hero-content { padding: 0 20px 20px; }
  .show-title { white-space: normal; font-size: clamp(34px, 9vw, 56px); }
  .show-subtitle { font-size: 15px; }
  .show-desc { max-width: 100%; font-size: 13px; }

  /* Episodes row */
  .episodes-section { padding: 20px 20px 32px; }
  .ep-card { flex: 0 0 260px; }

  /* Show credits */
  .show-credits { padding: 28px 20px 20px; gap: 24px; }
  .show-partners { padding: 24px 20px 40px; }
  .show-partners-logos { flex-wrap: wrap !important; gap: 20px 32px !important; justify-content: center !important; }

  /* Trailer layout */
  .trailer-layout { flex-direction: column; padding: 0 0 32px; }
  .trailer-video { width: 100%; }
  .trailer-side { border-left: none; border-top: 1px solid var(--border); padding: 24px 20px; }

  /* Watch page */
  .watch-nav { padding: 14px 20px; }
  .watch-player { padding: 56px 0 0; }
  .watch-info { padding: 28px 20px; }
  .watch-title { white-space: normal; }
  .watch-gallery { padding: 28px 20px; }
  .gallery-grid--235 { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gallery-grid--sq { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .ep-nav-btns { padding: 20px 20px 32px; flex-wrap: wrap; }
  .ep-nav-btn { min-width: 0; flex: 1; }

  /* Episode body on project pages */
  .ep-body { grid-template-columns: 1fr; }
  .ep-info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 28px 20px;
  }

  /* Partners page */
  .partner-cell { flex: 0 0 50%; }
  .partners-page { padding: 80px 20px 64px; }
  .partners-page-title { font-size: clamp(36px, 9vw, 64px); }

  /* Page hero */
  .page-hero { padding: 100px 20px 48px; }
  .page-title { white-space: normal !important; font-size: clamp(32px, 9vw, 56px); }
  .page-meta { flex-wrap: wrap; gap: 24px; }

  /* Buttons */
  .btn-play { padding: 9px 18px; font-size: 13px; }
  #contact { flex-wrap: wrap !important; gap: 10px !important; padding: 40px 20px !important; }
  #contact .btn-play { flex: 1 1 auto; justify-content: center; }

  /* Commercial */
  .partners-section { padding: 32px 20px; }
  .partners-row { gap: 28px; }
  .commercial-note { padding: 40px 20px; }
}
