/* =========================================================
   Tencent projects · short video & graphic collection
   ========================================================= */

.tp-page {
  background: var(--ink);
}

.tp-page main {
  overflow: clip;
}
body.tp-locked { overflow: hidden; }

.tp-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--accent);
}

/* ---------------- Hero ---------------- */

.tp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82svh;
  padding: calc(var(--header-h) + 64px) 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.tp-hero-media { position: absolute; inset: 0; z-index: 0; }
.tp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 46%;
  animation: tp-hero-in 2.2s var(--ease) 0.1s both;
}

@keyframes tp-hero-in {
  from { transform: scale(1.04); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}

.tp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 9, 8, 0.94) 24%, rgba(10, 9, 8, 0.6) 48%, rgba(10, 9, 8, 0.1) 73%, rgba(10, 9, 8, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.72) 0%, rgba(10, 9, 8, 0) 30%, rgba(10, 9, 8, 0) 60%, rgba(10, 9, 8, 0.92) 100%);
}

.tp-hero-inner { position: relative; z-index: 2; }

.tp-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(64px, 8.8vw, 138px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--paper);
}
.tp-hero h1 span { color: var(--accent); }

.tp-hero-sub {
  max-width: 34em;
  margin-top: 26px;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  line-height: 1.9;
  color: rgba(242, 237, 227, 0.82);
  text-wrap: pretty;
}

.tp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tp-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  max-width: 470px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 237, 227, 0.22);
}
.tp-hero-stats dt {
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.tp-hero-stats dd {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 227, 0.58);
}

.tp-hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 227, 0.5);
}

/* ---------------- Sticky timeline ---------------- */

.tp-timeline {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(10, 9, 8, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.tp-timeline-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 58px;
}

.tp-timeline-label {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.tp-timeline-scroll {
  display: flex;
  align-items: stretch;
  gap: 18px;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tp-timeline-scroll::-webkit-scrollbar { display: none; }

.tp-timeline a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.tp-timeline a span {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 74, 28, 0.75);
}
.tp-timeline a:hover { color: var(--paper); }
.tp-timeline a[aria-current="true"] {
  color: var(--paper);
  border-bottom-color: var(--accent);
}

/* ---------------- Project section ---------------- */

.tp-anchor {
  scroll-margin-top: calc(var(--header-h) + 58px + 16px);
}

.tp-project {
  padding: clamp(74px, 8vw, 116px) 0;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--header-h) + 58px + 16px);
}

.tp-project-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.tp-project-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--muted);
}
.tp-num {
  display: block;
  font-family: var(--sans);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.tp-project h2 {
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.tp-lead {
  max-width: 38em;
  margin-top: 18px;
  font-size: clamp(14.5px, 1.25vw, 17px);
  line-height: 1.85;
  color: var(--paper-dim);
}

.tp-project-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(30px, 4vw, 64px);
  margin-top: clamp(30px, 4vw, 48px);
  align-items: start;
}

.tp-project-copy p {
  max-width: 62em;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--paper-dim);
}

.tp-notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.tp-notes li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.tp-notes strong {
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
}
.tp-notes span {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.tp-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.tp-metrics div {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line-soft);
}
.tp-metrics div:nth-child(odd) { padding-right: 18px; }
.tp-metrics div:nth-child(even) { padding-left: 18px; }
.tp-metrics dt {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.tp-metrics dd {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------- Video grid ---------------- */

.tp-video-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(32px, 4vw, 48px);
}

.tp-video-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.tp-video-card.is-landscape { grid-column: span 6; }

.tp-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #121110;
  border: 1px solid var(--line-soft);
}
.tp-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.is-landscape .tp-poster img { aspect-ratio: 16 / 9; }
.tp-video-card:hover .tp-poster img { transform: scale(1.035); }

.tp-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 6px;
  background: rgba(6, 5, 4, 0.72);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.tp-play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(242, 237, 227, 0.55);
  border-radius: 50%;
  background: rgba(6, 5, 4, 0.24);
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.3s, transform 0.3s;
}
.tp-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 12px solid var(--paper);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.tp-video-card:hover .tp-play,
.tp-video-card:focus-visible .tp-play {
  opacity: 1;
  transform: scale(1);
}

.tp-video-caption { display: flex; flex-direction: column; gap: 4px; }
.tp-video-tag {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.tp-video-title {
  font-size: 13px;
  line-height: 1.55;
  color: var(--paper);
}
.tp-video-card:hover .tp-video-title { color: var(--accent); }

/* ---------------- Program list ---------------- */

.tp-programs {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.tp-programs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
}
.tp-programs-head h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tp-programs-head p {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tp-program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-top: 14px;
}
.tp-program {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.tp-program img {
  display: block;
  width: 118px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #121110;
  border: 1px solid var(--line-soft);
  transition: opacity 0.25s;
}
.tp-program:hover img { opacity: 0.82; }
.tp-program-info em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.tp-program-info strong {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper);
}
.tp-program-info span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
}
.tp-program-play {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 9px;
  white-space: nowrap;
}
.tp-program:hover .tp-program-play { color: var(--paper); border-color: var(--paper); }

.tp-program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tp-program-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}

/* ---------------- Photo links in projects ---------------- */

.tp-photo-links {
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.tp-photo-links h3 {
  font-size: 19px;
  font-weight: 600;
}
.tp-photo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.tp-photo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.tp-photo-link:hover { border-color: var(--line); background: rgba(242, 237, 227, 0.03); }
.tp-photo-link img {
  display: block;
  width: 84px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex: 0 0 auto;
}
.tp-photo-link strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
}
.tp-photo-link em {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------------- Graphic section ---------------- */

.tp-graphic {
  padding: clamp(80px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0b09 0%, #0a0908 100%);
  scroll-margin-top: calc(var(--header-h) + 58px + 16px);
}

.tp-section-head { max-width: 900px; }
.tp-section-head h2 {
  margin-top: 14px;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.tp-section-head p {
  max-width: 46em;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--paper-dim);
}

.tp-photo-tabs {
  display: flex;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tp-photo-tabs::-webkit-scrollbar { display: none; }
.tp-photo-tab {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.tp-photo-tab:hover { color: var(--paper); border-color: var(--paper); }
.tp-photo-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.tp-photo-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 32px;
  align-items: end;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tp-photo-head h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
}
.tp-photo-head p {
  max-width: 62em;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}
.tp-photo-count {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.tp-album-wrap {
  position: relative;
  margin-top: 18px;
}

.tp-album {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 14px;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #3a332c transparent;
}
.tp-album.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tp-album::-webkit-scrollbar { height: 4px; }
.tp-album::-webkit-scrollbar-thumb { background: #3a332c; }

.tp-photo-slide {
  flex: 0 0 clamp(280px, 34vw, 520px);
  scroll-snap-align: start;
  padding: 0;
  border: 1px solid var(--line-soft);
  background: #121110;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  font: inherit;
}
.tp-photo-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.tp-photo-slide.is-portrait img { aspect-ratio: 3 / 4; }
.tp-photo-slide:hover img { transform: scale(1.022); }
.tp-photo-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tp-album-arrows {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.tp-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.tp-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tp-album-hint {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------------- Video dialog ---------------- */

.tp-media-dialog {
  width: min(1080px, 94vw);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: #0b0a09;
  color: var(--paper);
}
.tp-media-dialog::backdrop,
.tp-lightbox::backdrop {
  background: rgba(4, 3, 3, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tp-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.tp-dialog-head p {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.tp-dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.tp-dialog-close:hover { background: rgba(242, 237, 227, 0.06); }

.tp-video-player {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(68vh, 720px);
  background: #000;
}
.tp-video-player video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  background: #000;
}
.tp-video-player video.is-landscape { width: 100%; height: auto; }
.tp-video-player video.is-portrait { height: 100%; width: auto; }

.tp-dialog-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}
.tp-dialog-foot h3 { font-size: 20px; letter-spacing: -0.02em; }
.tp-dialog-foot p {
  max-width: 60em;
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------- Photo lightbox ---------------- */

.tp-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1180px, 94vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line);
  background: #0b0a09;
  color: var(--paper);
}
.tp-lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(6,5,4,.6); }
.tp-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  max-height: 76vh;
  min-height: 120px;
  background: #050404;
}
.tp-lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
}
.tp-lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.tp-lightbox-bar p {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.tp-lightbox-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tp-lightbox-nav span {
  min-width: 54px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--paper-dim);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1180px) {
  .tp-timeline-inner { gap: 18px; }
  .tp-timeline-scroll { gap: 14px; }
  .tp-video-card { grid-column: span 4; }
  .tp-video-card.is-landscape { grid-column: span 8; }
}

@media (max-width: 1024px) {
  .tp-hero { min-height: 76svh; padding-top: calc(var(--header-h) + 48px); }
  .tp-hero h1 { font-size: clamp(58px, 10.5vw, 110px); }
  .tp-project-head { grid-template-columns: 1fr; gap: 22px; }
  .tp-project-body { grid-template-columns: 1fr; gap: 28px; }
  .tp-metrics { max-width: 520px; }
  .tp-program-grid { grid-template-columns: 1fr; }
  .tp-photo-link-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .tp-timeline-inner { height: 54px; gap: 14px; }
  .tp-timeline-label { display: none; }
  .tp-timeline a { font-size: 10.5px; }
  .tp-project { scroll-margin-top: calc(var(--header-h) + 54px + 14px); }
  .tp-graphic { scroll-margin-top: calc(var(--header-h) + 54px + 14px); }
  .tp-video-card { grid-column: span 6; }
  .tp-video-card.is-landscape { grid-column: span 12; }
  .tp-photo-head { grid-template-columns: 1fr; }
  .tp-photo-count { order: 2; }
}

@media (max-width: 640px) {
  .tp-hero { min-height: 86svh; padding: calc(var(--header-h) + 40px) 0 46px; }
  .tp-hero h1 { font-size: clamp(52px, 17vw, 82px); }
  .tp-hero-sub { font-size: 14px; }
  .tp-hero-actions .btn { flex: 1 1 auto; }
  .tp-hero-stats { gap: 16px 22px; margin-top: 32px; }
  .tp-hero-stats dt { font-size: 26px; }
  .tp-hero-caption { display: none; }
  .tp-hero-media img { object-position: 68% 46%; }

  .tp-project { padding: 64px 0; }
  .tp-project h2 { font-size: clamp(38px, 12vw, 56px); }
  .tp-num { font-size: 38px; }
  .tp-notes li { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
  .tp-project-copy p { font-size: 12.5px; }
  .tp-video-card { grid-column: span 6; }
  .tp-video-card.is-landscape { grid-column: span 12; }
  .tp-video-title { font-size: 12px; }
  .tp-program { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 10px; }
  .tp-program img { width: 88px; }
  .tp-program-play { display: none; }
  .tp-photo-link-grid { grid-template-columns: 1fr; }
  .tp-photo-slide { flex-basis: 84vw; }
  .tp-photo-tabs { margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .tp-section-head h2 { font-size: clamp(38px, 11vw, 54px); }
  .tp-video-player { height: 60vh; }
  .tp-lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 3; background: rgba(6,5,4,.6); }
.tp-lightbox-stage { max-height: 64vh; height: auto; }
.tp-lightbox-stage img { max-height: 64vh; }
  .tp-dialog-head { padding: 10px 12px; }
  .tp-dialog-foot { padding: 12px 14px 16px; }
}

@media (max-width: 420px) {
  .tp-poster img { aspect-ratio: 9 / 16; }
  .tp-metrics dt { font-size: 24px; }
  .tp-photo-slide { flex-basis: 88vw; }
}
