nav.tz-nav {display: none;}/* ============================================================
   TOBIASZARFL.COM — COMPLETE ADDITIONAL CSS
   Paste this entire file into:
   Appearance → Customize → Additional CSS
   (replacing whatever is currently there)
   ============================================================ */


/* ============================================================
   1. GLOBAL
   ============================================================ */
body {
  background: #0a0a0a;
  color: #C0C0C0;
}


/* ============================================================
   2. HEADER / NAV (Astra header + custom .tz-nav blocks)
   ============================================================ */
#masthead,
.site-header,
.ast-primary-header-bar {
  background: #000 !important;
  border-bottom: 0.5px solid rgba(192, 192, 192, 0.06);
}

.ast-site-identity .site-title a {
  color: #888 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
  text-decoration: none;
}

.nav-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-right a {
  color: rgba(192, 192, 192, 0.3);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nav-right a:hover {
  color: #C0C0C0;
}

/* Custom HTML nav used inside project / trailer / homepage templates */
.tz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.tz-nav-back {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(192, 192, 192, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.tz-nav-back:hover {
  color: #C0C0C0;
}

.tz-nav-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #888;
  text-decoration: none;
}

.tz-nav-links {
  display: flex;
  gap: 20px;
}

.tz-nav-links a {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(192, 192, 192, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.tz-nav-links a:hover,
.tz-nav-links a.tz-active {
  color: #C0C0C0;
}


/* ============================================================
   3. HOMEPAGE HERO
   ============================================================ */
.tz-hero {
  padding: 100px 32px 48px;
}

.tz-hero h1,
.hero-headline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  color: #C0C0C0;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tz-hero-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(192, 192, 192, 0.3);
  margin-top: 10px;
}

.tz-hero-bio,
.hero-bio {
  font-size: 13px;
  color: rgba(192, 192, 192, 0.4);
  line-height: 1.8;
  max-width: 420px;
  margin-top: 20px;
}

.tz-hero-link,
.hero-bio a {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(192, 192, 192, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.tz-hero-link:hover,
.hero-bio a:hover {
  color: #C0C0C0;
}


/* ============================================================
   4. FILTER TABS (homepage category filter)
   ============================================================ */
.tz-filters,
.uagb-post__taxonomy-filters {
  display: flex;
  padding: 0 32px;
  gap: 0;
  border-bottom: 0.5px solid rgba(192, 192, 192, 0.06);
  margin-bottom: 0;
  list-style: none;
}

.tz-filter,
.uagb-post__taxonomy-filter {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(192, 192, 192, 0.25);
  padding: 12px 16px 12px 0;
  border-bottom: 0.5px solid transparent;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tz-filter.tz-active,
.uagb-post__taxonomy-filter.uagb-active,
.uagb-post__taxonomy-filter.active {
  color: #C0C0C0;
  border-bottom: 0.5px solid rgba(192, 192, 192, 0.5);
}

.tz-filter:hover,
.uagb-post__taxonomy-filter:hover {
  color: rgba(192, 192, 192, 0.6);
}


/* ============================================================
   5. HOMEPAGE MOSAIC GRID
   ============================================================ */
.tz-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 60px;
  margin-top: 1px;
}

.tz-tile {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.tz-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

.tz-tile.tz-featured {
  grid-column: span 8;
  grid-row: span 6;
}

.tz-tile.tz-featured img {
  filter: brightness(0.9) saturate(0.75);
}

.tz-tile.tz-featured:hover img {
  filter: brightness(1.0) saturate(1);
}

.tz-tile.tz-s1 { grid-column: span 4; grid-row: span 3; }
.tz-tile.tz-s2 { grid-column: span 4; grid-row: span 3; }
.tz-tile.tz-s3 { grid-column: span 3; grid-row: span 4; }
.tz-tile.tz-s4 { grid-column: span 3; grid-row: span 4; }
.tz-tile.tz-s5 { grid-column: span 3; grid-row: span 4; }
.tz-tile.tz-s6 { grid-column: span 3; grid-row: span 4; }

.tz-tile.tz-s1 img,
.tz-tile.tz-s2 img,
.tz-tile.tz-s3 img,
.tz-tile.tz-s4 img,
.tz-tile.tz-s5 img,
.tz-tile.tz-s6 img {
  filter: brightness(0.35) saturate(0.2);
}

.tz-tile.tz-s1:hover img,
.tz-tile.tz-s2:hover img,
.tz-tile.tz-s3:hover img,
.tz-tile.tz-s4:hover img,
.tz-tile.tz-s5:hover img,
.tz-tile.tz-s6:hover img {
  filter: brightness(0.8) saturate(0.85);
}

.tz-tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  z-index: 3;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.tz-tile:hover .tz-tile-info {
  opacity: 1;
  transform: translateY(0);
}

.tz-tile-cat {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.5);
  margin-bottom: 3px;
}

.tz-tile-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: #C0C0C0;
  line-height: 1.2;
}

.tz-tile.tz-featured .tz-tile-title {
  font-size: 17px;
}

.tz-tile.tz-featured .tz-tile-info {
  opacity: 1;
  transform: none;
}


/* ============================================================
   6. SPECTRA POST GRID (alternative homepage grid, if used
   instead of the custom .tz-mosaic)
   ============================================================ */
.uagb-post__inner-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.uagb-post__image {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.4s ease;
  z-index: 0;
}

.uagb-post__inner-wrap:hover .uagb-post__image {
  transform: scale(1.03);
}

.uagb-post__image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.uagb-post__inner-wrap:hover .uagb-post__image:after {
  opacity: 1;
}

.uagb-post__inner-wrap p.uagb-post__title.uagb-post__text {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease 0.05s;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #C0C0C0;
  line-height: 1.2;
  margin: 0;
  padding: 0 14px 4px;
}

.uagb-post__inner-wrap .uagb-post__text.uagb-post-grid-byline {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(192, 192, 192, 0.6);
  margin: 0;
  padding: 0 14px 14px;
}

.uagb-post__inner-wrap:hover p.uagb-post__title.uagb-post__text {
  opacity: 1;
  transform: translateY(0);
}

.uagb-post__inner-wrap:hover .uagb-post__text.uagb-post-grid-byline {
  opacity: 1;
  transform: translateY(0);
}

/* Hide unwanted meta on grid cards */
.uagb-post__inner-wrap .entry-meta,
.uagb-post__inner-wrap .ast-post-meta-wrap,
.uagb-post__inner-wrap .posted-on,
.uagb-post__inner-wrap .byline,
.uagb-post__inner-wrap .comments-link {
  display: none !important;
}


/* ============================================================
   7. SINGLE PROJECT PAGE — HERO
   ============================================================ */
.tz-project-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 420px;
  margin-top: 56px;
}

.tz-project-media {
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
  min-height: 420px;
}

.tz-project-media iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  min-height: 380px;
}

.tz-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tz-project-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 0.5px solid rgba(192, 192, 192, 0.06);
}

.tz-project-cat {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(192, 192, 192, 0.3);
  margin-bottom: 12px;
}

.tz-project-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  color: #C0C0C0;
  line-height: 1.1;
  margin-bottom: 6px;
}

.tz-project-year {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(192, 192, 192, 0.22);
  margin-bottom: 24px;
}

.tz-project-desc {
  font-size: 12px;
  color: rgba(192, 192, 192, 0.45);
  line-height: 1.85;
  margin-bottom: 28px;
  flex: 1;
}


/* ============================================================
   8. SINGLE PROJECT PAGE — CREDITS
   ============================================================ */
.tz-credits-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.2);
  margin-bottom: 10px;
}

.tz-credit-row {
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
}

.tz-credit-role {
  font-size: 10px;
  color: rgba(192, 192, 192, 0.25);
  min-width: 110px;
  flex-shrink: 0;
}

.tz-credit-name {
  font-size: 10px;
  color: rgba(192, 192, 192, 0.5);
}

.tz-credit-name.tz-highlight {
  color: #C0C0C0;
  font-weight: 500;
}


/* ============================================================
   9. SINGLE PROJECT PAGE — CUSTOM HTML GALLERY (legacy)
   Only needed if any page still uses the old hardcoded
   .tz-gallery markup instead of the native Gutenberg Gallery
   block. Safe to keep even if unused elsewhere.
   ============================================================ */
.tz-gallery-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.18);
  padding: 24px 32px 12px;
  border-top: 0.5px solid rgba(192, 192, 192, 0.06);
  margin-top: 1px;
}

.tz-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #111;
}

.tz-gimg {
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  position: relative;
}

.tz-gimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.2);
  transition: all 0.4s ease;
  display: block;
}

.tz-gimg:hover img {
  filter: brightness(0.95) saturate(1);
}

.tz-gimg.tz-wide {
  grid-column: span 2;
}


/* ============================================================
   10. NATIVE GUTENBERG GALLERY BLOCK
   This is the CURRENT recommended way to add project image
   grids — pick images straight from the Media Library and
   they'll automatically match the dark aesthetic below.
   ============================================================ */
.wp-block-gallery {
  gap: 1px !important;
  margin: 0 !important;
  background: #111;
}

.wp-block-gallery .wp-block-image {
  margin: 0 !important;
}

.wp-block-gallery .wp-block-image img {
  filter: brightness(0.55) saturate(0.2);
  transition: all 0.4s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.wp-block-gallery .wp-block-image:hover img {
  filter: brightness(0.95) saturate(1);
}

.wp-block-gallery figcaption {
  color: rgba(192, 192, 192, 0.3);
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: none;
  position: static;
}


/* ============================================================
   11. LIGHTBOX (used by legacy .tz-gallery only)
   ============================================================ */
.tz-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tz-lightbox.tz-open {
  display: flex;
}

.tz-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.tz-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(192, 192, 192, 0.3);
  cursor: pointer;
}


/* ============================================================
   12. NEXT PROJECT LINK
   ============================================================ */
.tz-next-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-top: 0.5px solid rgba(192, 192, 192, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.tz-next-project:hover {
  background: rgba(192, 192, 192, 0.03);
}

.tz-next-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.2);
  margin-bottom: 4px;
}

.tz-next-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #C0C0C0;
  font-weight: 400;
}

.tz-next-thumb {
  width: 120px;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.tz-next-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.3);
  transition: all 0.3s;
  display: block;
}

.tz-next-project:hover .tz-next-thumb img {
  filter: brightness(0.9) saturate(1);
}


/* ============================================================
   13. TRAILER PAGE — SHOWREEL / PLAYER
   ============================================================ */
.tz-showreel {
  position: relative;
  width: 100%;
  padding-top: 56px;
}

.tz-showreel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.tz-showreel-wrap video,
.tz-showreel-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.5);
  display: block;
}

.tz-showreel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85));
}

.tz-showreel-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(192, 192, 192, 0.4);
  margin-bottom: 10px;
}

.tz-showreel-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  color: #C0C0C0;
  line-height: 1;
  margin-bottom: 8px;
}

.tz-showreel-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(192, 192, 192, 0.25);
}

.tz-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0.5px solid rgba(192, 192, 192, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(0, 0, 0, 0.2);
}

.tz-play-btn:hover {
  border-color: rgba(192, 192, 192, 0.7);
  background: rgba(192, 192, 192, 0.08);
}

.tz-play-btn svg {
  width: 20px;
  height: 20px;
  fill: rgba(192, 192, 192, 0.7);
  margin-left: 3px;
}

/* Player-on-top layout (current trailer page version) */
.tz-player-section {
  padding-top: 56px;
}

.tz-player-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  overflow: hidden;
}

.tz-player-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tz-player-meta {
  padding: 24px 32px;
  border-bottom: 0.5px solid rgba(192, 192, 192, 0.06);
}

.tz-pm-cat {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(192, 192, 192, 0.3);
  margin-bottom: 8px;
}

.tz-pm-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: #C0C0C0;
  line-height: 1.1;
  margin-bottom: 6px;
}

.tz-pm-director {
  font-size: 12px;
  color: rgba(192, 192, 192, 0.4);
  margin-bottom: 10px;
}

.tz-pm-info {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(192, 192, 192, 0.22);
  margin-bottom: 10px;
}

.tz-pm-award {
  font-size: 12px;
  color: rgba(192, 192, 192, 0.45);
  margin-bottom: 4px;
  padding-left: 14px;
  position: relative;
}

.tz-pm-award::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(192, 192, 192, 0.2);
}


/* ============================================================
   14. TRAILER PAGE — TRAILER LIST (2 column grid)
   ============================================================ */
.tz-list-header {
  padding: 24px 32px 12px;
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.2);
}

.tz-trailer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tz-trailer-item {
  padding: 16px 32px;
  border-top: 0.5px solid rgba(192, 192, 192, 0.05);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.tz-trailer-item:nth-child(odd) {
  border-right: 0.5px solid rgba(192, 192, 192, 0.05);
}

.tz-trailer-item:hover,
.tz-trailer-item.tz-active {
  background: rgba(192, 192, 192, 0.03);
}

.tz-trailer-item.tz-active .tz-ti-title {
  color: #C0C0C0;
}

.tz-trailer-item.tz-active .tz-ti-year {
  color: rgba(192, 192, 192, 0.4);
}

.tz-ti-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(192, 192, 192, 0.45);
  line-height: 1.25;
  margin-bottom: 3px;
  transition: color 0.2s;
}

.tz-trailer-item:hover .tz-ti-title {
  color: rgba(192, 192, 192, 0.75);
}

.tz-ti-director {
  font-size: 10px;
  color: rgba(192, 192, 192, 0.2);
}

.tz-ti-year {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(192, 192, 192, 0.2);
  flex-shrink: 0;
  transition: color 0.2s;
}

/* Legacy single-column trailer list + side viewer (older version) */
.tz-trailer-index {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 600px;
  border-top: 0.5px solid rgba(192, 192, 192, 0.06);
}

.tz-trailer-list {
  border-right: 0.5px solid rgba(192, 192, 192, 0.06);
  max-height: 80vh;
  overflow-y: auto;
}

.tz-trailer-list-header {
  padding: 20px 28px 12px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.2);
  border-bottom: 0.5px solid rgba(192, 192, 192, 0.06);
}

.tz-trailer-viewer {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 56px;
  align-self: flex-start;
}

.tz-tv-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.tz-tv-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tz-tv-cat {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.25);
  margin-bottom: 6px;
}

.tz-tv-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: #C0C0C0;
  margin-bottom: 4px;
  font-weight: 400;
}

.tz-tv-director {
  font-size: 11px;
  color: rgba(192, 192, 192, 0.35);
  margin-bottom: 10px;
}

.tz-tv-info {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(192, 192, 192, 0.18);
  margin-bottom: 10px;
}

.tz-tv-award {
  font-size: 11px;
  color: rgba(192, 192, 192, 0.4);
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
}

.tz-tv-award::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(192, 192, 192, 0.18);
}


/* ============================================================
   15. FOOTER (site-wide)
   ============================================================ */
.tz-footer,
.site-footer,
#colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-top: 0.5px solid rgba(192, 192, 192, 0.05);
  background: #000;
}

.tz-footer span,
.tz-footer a,
.site-footer a,
#colophon a {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(192, 192, 192, 0.15);
  text-decoration: none;
  transition: color 0.2s;
}

.tz-footer a:hover,
.site-footer a:hover,
#colophon a:hover {
  color: #C0C0C0;
}

.tz-footer-right {
  display: flex;
  gap: 16px;
}


/* ============================================================
   16. HIDE WORDPRESS DEFAULTS (author, date, comments)
   on single project pages
   ============================================================ */
.single-project .entry-meta,
.single-project .ast-post-meta-wrap,
.single-project .posted-on,
.single-project .byline,
.single-project .ast-single-post-navigation,
.single-project .post-navigation {
  display: none !important;
}

.single-project .ast-container,
.single-project .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-project .site-content {
  padding: 0 !important;
}


/* ============================================================
   17. RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Project hero */
  .tz-project-hero {
    grid-template-columns: 1fr;
  }

  .tz-project-media iframe {
    min-height: 240px;
  }

  .tz-project-info {
    padding: 28px 20px;
    border-left: none;
    border-top: 0.5px solid rgba(192, 192, 192, 0.06);
  }

  .tz-project-title {
    font-size: 24px;
  }

  /* Legacy gallery */
  .tz-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .tz-gimg.tz-wide {
    grid-column: span 2;
  }

  /* Nav */
  .tz-nav {
    padding: 14px 20px;
  }

  .tz-nav-links {
    display: none;
  }
}

@media (max-width: 700px) {
  /* Trailer page */
  .tz-trailer-grid {
    grid-template-columns: 1fr;
  }

  .tz-trailer-item:nth-child(odd) {
    border-right: none;
  }

  .tz-pm-title {
    font-size: 24px;
  }

  .tz-player-meta {
    padding: 20px 20px;
  }

  .tz-list-header,
  .tz-trailer-item {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  /* Legacy trailer index layout */
  .tz-trailer-index {
    grid-template-columns: 1fr;
  }

  .tz-trailer-list {
    border-right: none;
    border-bottom: 0.5px solid rgba(192, 192, 192, 0.06);
    max-height: none;
  }

  .tz-trailer-viewer {
    position: static;
  }

  .tz-showreel-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  /* Homepage hero + mosaic */
  .tz-hero h1,
  .hero-headline {
    font-size: 36px;
  }

  .tz-hero {
    padding: 90px 20px 36px;
  }

  .tz-nav,
  .tz-filters,
  .tz-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tz-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .tz-tile.tz-featured,
  .tz-tile.tz-s1,
  .tz-tile.tz-s2,
  .tz-tile.tz-s3,
  .tz-tile.tz-s4,
  .tz-tile.tz-s5,
  .tz-tile.tz-s6 {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }

  .tz-tile-info {
    opacity: 1;
    transform: none;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  }
}

/* ============================================================
   TILED GALLERY — hover effect + staggered fade-in on load
   Targets the exact structure from the inspector:
   .wp-block-jetpack-tiled-gallery > .tiled-gallery__row >
   .tiled-gallery__col > .tiled-gallery__item
   ============================================================ */

.wp-block-jetpack-tiled-gallery {
  background: #111;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__row {
  gap: 1px !important;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__col {
  gap: 1px !important;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__item {
  margin: 0 !important;
  overflow: hidden;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__item img {
  filter: brightness(0.55) saturate(0.2);
  transition: filter 0.4s ease;
  display: block;
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__item:hover img {
  filter: brightness(0.95) saturate(1);
}


/* ============================================================
   STAGGERED RANDOM FADE-IN ON LOAD
   Each item fades + rises in with a different delay so they
   don't all appear in perfect sync.
   ============================================================ */
@keyframes tzGalleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wp-block-jetpack-tiled-gallery .tiled-gallery__item {
  opacity: 0;
  animation: tzGalleryFadeIn 0.6s ease forwards;
}

/* Stagger by nth-child position — creates a pseudo-random
   wave rather than every image firing at once */
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(1)  { animation-delay: 0.05s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(2)  { animation-delay: 0.18s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(3)  { animation-delay: 0.09s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(4)  { animation-delay: 0.24s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(5)  { animation-delay: 0.03s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(6)  { animation-delay: 0.21s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(7)  { animation-delay: 0.12s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(8)  { animation-delay: 0.27s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(9)  { animation-delay: 0.06s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(10) { animation-delay: 0.30s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(11) { animation-delay: 0.15s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(12) { animation-delay: 0.33s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(13) { animation-delay: 0.08s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(14) { animation-delay: 0.26s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(15) { animation-delay: 0.11s; }
.wp-block-jetpack-tiled-gallery .tiled-gallery__item:nth-child(16) { animation-delay: 0.36s; }
/* ============================================================
   HOMEPAGE — UNIFORM 21:9 GRID
   Replaces the old .tz-mosaic system with a simpler,
   uniform 2-column cinematic grid.
   ============================================================ */

.tz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #000;
  border-top: 0.5px solid rgba(192, 192, 192, 0.06);
}

.tz-card {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  aspect-ratio: 21/9;
  display: block;
}

.tz-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(0.25);
  transition: all 0.4s ease;
}

.tz-card:hover img {
  filter: brightness(0.95) saturate(1);
}

.tz-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.tz-card:hover .tz-card-info {
  opacity: 1;
  transform: translateY(0);
}

.tz-card-cat {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(192, 192, 192, 0.5);
  margin-bottom: 4px;
}

.tz-card-title {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: #C0C0C0;
  line-height: 1.25;
}

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

  .tz-card {
    aspect-ratio: 16/9;
  }

  .tz-card-info {
    opacity: 1;
    transform: none;
  }

  .tz-card-title {
    font-size: 15px;
  }
}
/* ============================================================
   CUSTOM LIGHTBOX — dark theme, smooth fade + scale-in
   Paste into Additional CSS
   ============================================================ */

.tz-lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  cursor: zoom-out;
}

.tz-lb.tz-lb-open {
  opacity: 1;
  visibility: visible;
}

.tz-lb-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tz-lb.tz-lb-open .tz-lb-img {
  transform: scale(1);
}

.tz-lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(192, 192, 192, 0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}

.tz-lb-close:hover {
  color: #C0C0C0;
}

@media (max-width: 600px) {
  .tz-lb-close {
    top: 16px;
    right: 20px;
  }

  .tz-lb-img {
    max-width: 94vw;
    max-height: 80vh;
  }
}