/* Film carousel: the first section after the hero and its proof strip. One row of 4:5 films that scrolls
   sideways with snap points; arrow buttons on wider screens, swipe on phones. */
.film-carousel { background: #f5f5f0; padding-block: 96px 88px; overflow: hidden; }
.film-carousel-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.home-compact #main-content .film-carousel .concept-statement { margin: 0; max-width: 980px; }
.film-carousel-controls { display: flex; gap: 10px; flex: none; }
.film-carousel-button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #cfd4cc; border-radius: 50%; background: #fff; color: #1d3a2e; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.film-carousel-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-carousel-button:hover:not(:disabled) { background: #1d3a2e; border-color: #1d3a2e; color: #fff; }
.film-carousel-button:disabled { opacity: .38; cursor: default; }
.film-carousel-button:focus-visible, .film-card-play:focus-visible, .film-carousel-follow a:focus-visible { outline: 3px solid #eb5e28; outline-offset: 3px; }

.film-carousel-track { --card: clamp(264px, 27vw, 344px); display: grid; grid-auto-flow: column; grid-auto-columns: var(--card); gap: 24px; margin: 0; padding: 4px 0 20px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: thin; scrollbar-color: #c9cfc6 transparent; }
.film-carousel-track::-webkit-scrollbar { height: 6px; }
.film-carousel-track::-webkit-scrollbar-thumb { background: #c9cfc6; border-radius: 3px; }
.film-card { scroll-snap-align: start; min-width: 0; }
.film-card figure { margin: 0; }
.film-card-media { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #1a302c; box-shadow: 0 24px 48px -30px #0b1a14aa, 0 0 0 1px #18302612; }
.film-card-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: #1a302c; }
.film-card-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 18px; border: 0; background: linear-gradient(180deg, #0000 62%, #0b1a1433); color: #fff; cursor: pointer; }
.film-card-play span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #eb5e28; box-shadow: 0 10px 24px -8px #0008; transition: transform .2s; }
.film-card-play svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.film-card-play:hover span { transform: scale(1.07); }
[data-state="playing"] .film-card-play, [data-state="paused"] .film-card-play { display: none; }
.film-card-tag { position: absolute; top: 14px; right: 14px; height: 28px; padding: 0 11px; border-radius: 8px; background: #1d3a2e; color: #f2b53a; font: 700 12px/28px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
[data-state="playing"] .film-card-tag, [data-state="paused"] .film-card-tag { display: none; }
.film-card figcaption { padding: 16px 4px 0; }
.film-card h3 { margin: 0; color: #1f2925; font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.film-carousel-follow { margin: 14px 0 0; font-size: 14px; }
.film-carousel-follow a { color: #4c5c55; font-weight: 500; border-bottom: 1px solid #4c5c5555; }
.film-carousel-follow a:hover { border-bottom-color: currentColor; }

@media (max-width: 1050px) { .film-carousel { padding-block: 80px 72px; } }
@media (max-width: 760px) {
  .film-carousel { padding-block: 56px 52px; }
  .film-carousel-heading { margin-bottom: 26px; }
  .film-carousel-controls { display: none; }
  /* the row runs to the screen edges, so the next film peeks in */
  .film-carousel-track { --card: min(74vw, 320px); gap: 14px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .film-carousel-track::-webkit-scrollbar { display: none; }
  .film-card h3 { font-size: 19px; }
  }
@media (prefers-reduced-motion: reduce) { .film-carousel-button, .film-card-play span { transition: none; } .film-card-play:hover span { transform: none; } }
