/* Shared between the homepage and Win Win: original 9:16 frames, no cropping. */
.neap-videos {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 92px 0 88px;
  scroll-margin-top: 108px;
}
.neap-videos-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.neap-videos-eyebrow { margin: 0 0 16px; color: var(--accent-ink); font: 700 11px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.neap-videos h2 { margin: 0 0 20px; font-size: clamp(32px, 4.1vw, 54px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; }
.neap-videos-lede { max-width: 590px; margin: 0; color: var(--ink-dim); font-size: 17px; line-height: 1.65; }
.neap-videos-nav { display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 4px; }
.neap-videos-nav[hidden] { display: none; }
.neap-videos-nav button { width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); background: transparent; font: 24px var(--grotesk); cursor: pointer; transition: background .18s, border-color .18s; }
.neap-videos-nav button:hover:not(:disabled) { background: var(--panel); border-color: var(--accent); }
.neap-videos-nav button:disabled { opacity: .3; cursor: default; }
.neap-video-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 24px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; overscroll-behavior-x: contain; }
.neap-video-card { min-width: 0; scroll-snap-align: start; }
.neap-video-link { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 16; border: 1px solid rgba(47,47,47,.1); border-radius: 16px; background: #ece9d7; box-shadow: 0 8px 22px rgba(47,47,47,.06); }
.neap-video-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.neap-video-play { position: absolute; display: grid; place-items: center; left: 18px; bottom: 18px; width: 48px; height: 48px; padding-left: 3px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(30,30,28,.88); color: white; font-size: 16px; box-shadow: 0 3px 12px rgba(0,0,0,.12); transition: background .18s, transform .18s; }
.neap-video-link:hover .neap-video-play, .neap-video-link:focus-visible .neap-video-play { background: var(--accent-solid); transform: scale(1.08); }
.neap-video-time { position: absolute; bottom: 27px; right: 16px; background: rgba(30,30,28,.88); color: white; padding: 4px 9px; border-radius: 6px; font: 11px/1.5 var(--mono); }
.neap-video-meta { margin: 19px 0 8px; color: var(--accent-ink); font: 700 10px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.neap-video-card h3 { margin: 0 0 8px; font: 700 21px/1.18 var(--grotesk); letter-spacing: -.025em; }
.neap-video-card h3 a, body.ww-light .neap-video-card h3 a { color: var(--ink); text-decoration: none; }
.neap-video-card h3 a:hover { text-decoration: underline; }
.neap-video-description { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-dim); }
.neap-video-youtube, body.ww-light .neap-video-youtube { display: inline-block; margin-top: 14px; color: var(--accent-ink); font: 11px/1.5 var(--mono); text-underline-offset: 4px; }
.neap-videos-footnote { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 18px; color: var(--ink-mut); font: 11px/1.6 var(--mono); }
.neap-videos-footnote a, body.ww-light .neap-videos-footnote a { color: var(--accent-ink); text-underline-offset: 4px; }
body.neap-video-open { overflow: hidden; }
.neap-video-dialog { width: min(900px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; color: #f7f7ff; background: #202220; box-shadow: 0 30px 100px rgba(0,0,0,.4); overflow: auto; }
.neap-video-dialog::backdrop { background: rgba(16,19,18,.82); }
.neap-video-viewer { display: grid; grid-template-columns: auto minmax(0, 1fr); position: relative; }
.neap-video-screen { width: min(420px, 47vw, calc((100dvh - 44px) * 9 / 16)); aspect-ratio: 9 / 16; background: #111; }
.neap-video-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.neap-video-info { display: flex; flex-direction: column; justify-content: center; padding: 62px 38px 48px; }
.neap-video-info .neap-videos-eyebrow { color: #8dd5b4; }
.neap-video-info h2, body.ww-light .neap-video-info h2 { margin: 0 0 18px; color: #f7f7ff; font-size: clamp(24px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.neap-film-description { margin: 0; color: #c4c9c5; line-height: 1.65; }
.neap-film-direct, body.ww-light .neap-film-direct { color: #a4dcbf; margin-top: 32px; font: 12px/1.5 var(--mono); }
.neap-film-youtube, body.ww-light .neap-film-youtube { color: #a4dcbf; margin-top: 14px; font: 12px/1.5 var(--mono); }
.neap-film-error { color: #ffbfab; font-size: 13px; }
.neap-video-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(22,24,22,.9); color: white; font: 26px/1 var(--grotesk); cursor: pointer; }
@media (max-width: 640px) {
  .neap-videos { width: calc(100% - 40px); padding: 56px 0; }
  .neap-videos-heading { align-items: start; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
  .neap-videos-lede { font-size: 16px; }
  .neap-videos-nav { margin-left: auto; }
  .neap-videos-nav button { width: 40px; height: 40px; }
  .neap-video-rail { grid-auto-columns: min(272px, 78vw); gap: 18px; }
  .neap-video-dialog { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .neap-video-viewer { grid-template-columns: minmax(0, 1fr); }
  .neap-video-screen { width: 100%; height: min(calc((100vw - 26px) * 16 / 9), calc(100dvh - 110px)); aspect-ratio: auto; }
  .neap-video-info { padding: 22px; }
  .neap-video-info h2 { font-size: 24px; }
  .neap-film-direct { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .neap-video-play, .neap-videos-nav button { transition: none; }
}
