/* ── TRAILER & FILM MUSIC (samenwerking Jochem Weierink) ── */
/* Team: 4e teamlid (Jochem) — grid naar 4 kolommen */
#who .founders { grid-template-columns: repeat(4, 1fr); }
#who .founder { padding: 44px 32px; }
#who .founder.visible:nth-child(4) { animation-delay: 0.45s; }
@media (max-width: 1200px) { #who .founders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { #who .founders { grid-template-columns: 1fr; } #who .founder { padding: 32px 24px; } }

/* ── WORK: eigen projecten + trailer-posters in één postermuur ── */
#work {
  background: var(--black);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
#work .work-anchor { position: absolute; top: 0; }
#work::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -15%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255,120,2,0.09) 0%, transparent 65%);
  pointer-events: none;
}
#work .section-eyebrow { color: var(--orange-soft); }
#work .section-title { color: var(--cream); max-width: 820px; }

.tf-head {
  margin-bottom: 40px;
  position: relative;
  max-width: 820px;
}
.tf-intro {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--light);
  margin-top: 28px;
  max-width: 640px;
}
.tf-intro strong { color: var(--cream); font-weight: 400; }

.tf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative;
}
.tf-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-filter-btn {
  background: none;
  border: 1px solid rgba(245,240,232,0.18);
  color: var(--light);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tf-filter-btn:hover { color: var(--cream); border-color: rgba(245,240,232,0.4); }
.tf-filter-btn.active { background: var(--orange); border-color: var(--orange); color: var(--black); }
.tf-count-label { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); }

.tf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  position: relative;
}
.tf-card {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dim);
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.tf-card--hidden { display: none; }
.tf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
}
.tf-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,0.95) 0%, rgba(10,10,8,0.35) 38%, transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
}
.tf-card:hover,
.tf-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255,120,2,0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  outline: none;
}
.tf-card:hover img,
.tf-card:focus-visible img { transform: scale(1.05); filter: brightness(0.8); }
.tf-card:hover::after,
.tf-card:focus-visible::after { opacity: 1; }
.tf-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}
.tf-card-play svg { width: 22px; height: 22px; margin-left: 3px; }
.tf-card:hover .tf-card-play,
.tf-card:focus-visible .tf-card-play { opacity: 1; transform: scale(1); }
.tf-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 13px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.tf-card:hover .tf-card-info,
.tf-card:focus-visible .tf-card-info { opacity: 1; transform: translateY(0); }
.tf-card-title {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--cream);
}
.tf-card-type {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-light);
}

.work-context { margin: 0 0 28px; }
.work-context[hidden] { display: none; }

/* Eigen projecten: liggend beeld als poster, titel altijd zichtbaar (posters hebben die al in het beeld) */
.tf-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.tf-card img.tf-img-letterbox { transform: scale(1.34); }
.tf-card:hover img.tf-img-letterbox,
.tf-card:focus-visible img.tf-img-letterbox { transform: scale(1.4); }
.tf-card--work::after {
  opacity: 1;
  background: linear-gradient(to top, rgba(10,10,8,0.96) 0%, rgba(10,10,8,0.55) 34%, transparent 58%);
}
.tf-card--work .tf-card-info { opacity: 1; transform: none; }
.tf-card-cat {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.tf-card--work .tf-card-type {
  color: rgba(245,240,232,0.7);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.tf-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  line-height: 0.95;
  color: rgba(255,120,2,0.14);
}

.tf-skel {
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  background: linear-gradient(105deg, var(--dim) 40%, rgba(255,255,255,0.06) 50%, var(--dim) 60%);
  background-size: 200% 100%;
  animation: tfSkel 1.35s ease-in-out infinite;
}
@keyframes tfSkel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) { .tf-skel { animation: none; } }

.tf-more-wrap { text-align: center; margin-top: 36px; }
.tf-more {
  background: none;
  border: 1px solid rgba(245,240,232,0.25);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tf-more:hover { background: var(--cream); color: var(--black); }

.tf-closing {
  margin-top: 72px;
  text-align: center;
  position: relative;
}
.tf-closing p {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--light);
  margin-bottom: 10px;
}
.tf-closing a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 0.03em;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}
.tf-closing a:hover { color: var(--orange-light); }

@media (max-width: 1280px) { .tf-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1080px) { .tf-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) {
  .tf-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tf-intro { font-size: 16px; }
  .tf-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .tf-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }
  .tf-filter::-webkit-scrollbar { display: none; }
  .tf-filter-btn { flex-shrink: 0; padding: 8px 14px; font-size: 11px; }
  .tf-closing a { font-size: 30px; }
  /* Op touch geen hover: info altijd tonen */
  .tf-card::after { opacity: 1; }
  .tf-card-info { opacity: 1; transform: none; padding: 10px; }
  .tf-card-title { font-size: 16px; }
  .tf-card-type { font-size: 9px; }
}
@media (max-width: 480px) { .tf-grid { grid-template-columns: repeat(2, 1fr); } }
