/* Editorial case study: dimensions come from the original MP4's track metadata. */
.tm-case-study .project-detail-hero { text-align: right; }
.tm-site .tm-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 42px; font-size: 11px; color: var(--text-muted); }
.tm-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.tm-case-heading { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; align-items: end; }
.tm-case-study .project-detail-hero h1 { font-size: clamp(36px,4.7vw,64px); line-height: 1.5; margin-bottom: 0; }
.tm-case-study .project-detail-hero h1 > span { color: var(--brand-accent); }
.tm-case-study .project-subtitle { max-width: 420px; font-size: 16px; margin: 0 0 28px; line-height: 1.9; }
.tm-case-study .project-tags { justify-content: flex-start; margin-top: 35px; }
.tm-case-study .tm-case-video-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(30px,5vw,80px); }
.tm-case-study .tm-video-figure { min-width: 0; margin: 0; }
.tm-case-study .video-container { position: relative; aspect-ratio: 478/850; width: min(100%,430px,calc(56.23svh - 90px)); max-width: 430px; margin: 0 auto; background: var(--brand-secondary); border-radius: 8px; overflow: hidden; }
.tm-case-study .video-container video { display: block; width: 100%; height: 100%; object-fit: contain; }
.tm-video-caption { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 16px; font-size: 11px; color: var(--text-muted); }
.tm-video-caption a { display: inline-flex; align-items: center; min-height: 44px; }
.tm-case-study .tm-video-caption { max-width: 430px; margin-inline: auto; }
.tm-case-study .video-description { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; margin: 0; padding: 28px 0 0; }
.tm-case-study .video-description h3 { font-size: clamp(25px,2.5vw,36px); margin-bottom: 20px; }
.tm-case-study .video-description > p { margin-bottom: 20px; }
.tm-case-study .video-meta-grid { display: grid; grid-template-columns: 1fr; margin-top: 32px; gap: 0; }
.tm-case-study .meta-card { display: grid; grid-template-columns: 24px minmax(70px,1fr) minmax(0,1.5fr); align-items: center; gap: 16px; padding: 18px 0; text-align: right; }
.tm-case-study .meta-card i { font-size: 16px; color: var(--brand-accent); }
.tm-case-study .meta-card h4 { font-size: 12px; margin: 0; }
.tm-case-study .meta-card p { font-size: 12px; margin: 0; }
.tm-case-index { display: block; font: 13px monospace; color: var(--text-muted); margin-bottom: 22px; }
.tm-case-study .overview-card { min-width: 0; }
.tm-case-study .overview-card h3 { margin-bottom: 15px; }
.tm-site .tm-related-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.tm-related-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--border); padding: 25px 0; font-size: 18px; color: var(--brand-primary); }
.tm-related-list a > span:last-child { font: 24px Arial,sans-serif; transition: transform .25s; }
.tm-related-list a:hover > span:last-child { transform: translate(-5px,5px); }
.tm-case-study .tm-case-cta { text-align: right; background: var(--brand-secondary); color: #fff; }
.tm-case-cta .tm-eyebrow { color: #c2cce1; }
.tm-case-cta .tm-eyebrow::before { background: #c2cce1; }
.tm-case-cta h2 { color: #fff; font-size: clamp(28px,3.4vw,48px); max-width: 800px; font-weight: 900; line-height: 1.5; margin-bottom: 20px; }
.tm-case-cta p { max-width: 620px; font-size: 15px; color: #c2cce1; margin-bottom: 28px; }
.tm-case-cta .tm-button { background: #fff; border-color: #fff; color: var(--brand-primary); }
.tm-case-cta .tm-button:hover { background: var(--surface-2); color: var(--brand-secondary); }
.tm-video-error { margin-top: 10px; padding: 16px; border: 1px solid var(--border); background: var(--surface); border-radius: 6px; font-size: 13px; }
@media (max-width: 1023px) { .tm-case-heading { gap: 35px; } .tm-case-study .tm-case-video-grid { gap: 32px; } }
@media (max-width: 767px) {
  .tm-site .tm-breadcrumb { margin-bottom: 25px; }
  .tm-case-heading, .tm-case-study .tm-case-video-grid { grid-template-columns: 1fr; gap: 28px; }
  .tm-case-study .project-detail-hero h1 { font-size: clamp(32px,7.5vw,48px); }
  .tm-case-study .project-subtitle { font-size: 14px; margin-bottom: 20px; }
  .tm-case-study .video-container { max-width: 380px; }
  .tm-case-study .project-tags { margin-top: 25px; }
  .tm-site .tm-related-list { grid-template-columns: 1fr; gap: 0; }
  .tm-related-list a { font-size: 15px; }
  .tm-case-study .meta-card { grid-template-columns: 20px minmax(60px,1fr) minmax(0,1.6fr); gap: 10px; }
}
