/* Project footage keeps its full frame. Clips play without controls. */
.project-video { margin: 0; min-width: 0; }
.video-frame { position: relative; overflow: hidden; border-radius: 6px; background: var(--midnight); }
.project-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--midnight); }
.project-video figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 18px; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.project-video figcaption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.project-video .video-error { margin: 12px 0 0; color: var(--ink); font-size: 14px; }
.video-toggle { position: absolute; right: 16px; bottom: 16px; min-height: 44px; padding: 10px 18px; border: 1px solid #7D8DA2; border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.video-toggle[hidden] { display: none; }
.sales-hero-media.project-video { min-height: 0; aspect-ratio: auto; align-self: center; }
.delivery-visual.project-video { aspect-ratio: auto; align-self: center; }
.sector-hero-media.project-video { max-width: none; }
.video-gallery { margin-block: 80px; scroll-margin-top: 110px; }
.video-gallery-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: 32px; }
.video-gallery-heading h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.video-gallery-heading p { max-width: 44ch; color: var(--muted); font-size: 16px; line-height: 1.55; }
.video-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
.video-example { min-width: 0; scroll-margin-top: 120px; }
.video-example h3 { margin: 18px 0 10px; font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.video-example > p { max-width: 52ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.video-example img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 6px; background: var(--midnight); }
.project-highlights .project-video .video-frame { border-radius: 0; }
.project-highlights .project-video video { aspect-ratio: 16 / 10; }
.project-highlights .project-video figcaption { padding-inline: 24px; }
.project-highlights .project-video .video-error { min-height: 0; padding-inline: 24px; }
.project-highlights .project-video figcaption p { min-height: 0; margin: 0; }
.project-highlights .project-card-still { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; object-fit: contain; background: var(--midnight); }
.sector-link .sector-link-media.video-still { padding: 0; display: block; overflow: hidden; background: var(--midnight); }
.sector-link-media.video-still img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 700px) {
  .video-gallery-heading, .video-gallery-grid { grid-template-columns: 1fr; }
  .video-gallery-heading { gap: 16px; }
  .video-gallery { margin-block: 56px; }
  .video-gallery-grid { gap: 36px; }
  .project-video video { aspect-ratio: 16 / 9; }
  .project-highlights .project-video figcaption { padding-inline: 18px; }
}

.sector-hero-media .project-card-still { height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: contain; }

