/* 05 NOW SCREENING — the screening room.
   Video is what this client sells, so this is the one section on the page
   that goes fully dark and hands the whole stage to the work: one film
   playing large, the others waiting on a filmstrip under it. Ink ground,
   ivory type, gold as the only metal — the same palette as the Services
   band above, turned up.

   The strip is a real strip: sprocket holes punched along its top and
   bottom edges in CSS, scrolled sideways on its own axis (the page's own
   scrolling is never touched — DEF-01). */

.reel {
  --gold: #C9A45C;
  --ivory: #F3EDE1;
  --night: #0A1916;   /* a step off black: the footer below is a near-black photograph, and two identical grounds read as one section */
  position: relative;
  padding: clamp(72px, 12svh, 130px) var(--pad) clamp(40px, 6svh, 64px);
  color: var(--ivory);
  background:
    radial-gradient(70% 45% at 50% -5%, rgb(201 164 92 / .13) 0%, transparent 65%),
    radial-gradient(90% 60% at 50% 120%, rgb(23 182 155 / .07) 0%, transparent 70%),
    var(--night);
}
/* The section ends the way a strip of film does. Without it this near-black
   band ran straight into the footer's near-black photograph with no edge at
   all, and the two read as one endless dark scroll. */
.reel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background:
    repeating-linear-gradient(90deg,
      rgb(243 237 225 / .42) 0 11px, transparent 11px 28px) center / 100% 7px no-repeat,
    rgb(243 237 225 / .05);
  border-top: 1px solid rgb(201 164 92 / .45);
  border-bottom: 1px solid rgb(201 164 92 / .45);
  pointer-events: none;
}
.reel__inner { max-width: min(1260px, 100%); margin-inline: auto; }
.reel .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- intro ---------- */
.reel__intro {
  display: grid; gap: 16px clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin-bottom: clamp(28px, 4svh, 44px);
}
@media (min-width: 900px) {
  .reel__intro { grid-template-columns: auto minmax(0, 1fr); }
}
.reel__eyebrow {
  font-family: var(--body); font-weight: 600; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.reel__head {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1;
  letter-spacing: -.015em;
}
.reel__lead {
  max-width: 46ch;
  font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6;
  color: rgb(243 237 225 / .68);
}

/* ---------- the stage ----------
   Wider than a card and lit from behind: a bloom sits under the frame so
   the picture reads as projected rather than pasted on. */
.reel__stage { position: relative; }
.reel__stage::before {
  content: ""; position: absolute; inset: 6% 4% -6% 4%; z-index: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgb(201 164 92 / .3), transparent 70%);
  filter: blur(46px); pointer-events: none;
}
.reel__screen {
  position: relative; z-index: 1; display: block; overflow: hidden;
  /* Capped rather than full-bleed: at 1260px a 16:9 stage ran 709px tall
     and pushed the strip off the fold, so the film and its caption now sit
     side by side and the whole section reads in one screen. */
  max-width: min(860px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #0A1512;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9), 0 0 0 1px rgb(201 164 92 / .22);
}
.reel__screen img, .reel__screen iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.reel__screen img {
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
/* Gold disc, ink triangle — the same control as the Services button. */
.reel__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(64px, 7vw, 92px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(201 164 92 / .95); color: var(--night);
  box-shadow: 0 12px 40px rgb(0 0 0 / .5);
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.reel__play svg { width: 40%; height: 40%; margin-left: 7%; }
.reel__screen:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .reel__screen:hover img { transform: scale(1.03); filter: brightness(.88); }
  .reel__screen:hover .reel__play { transform: scale(1.08); background: var(--gold); }
}

.reel__caption {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: 4px 20px;
  margin-top: clamp(16px, 2.4svh, 24px);
}
@media (min-width: 1100px) {
  .reel__stage {
    display: grid; align-items: center;
    grid-template-columns: minmax(0, 860px) minmax(220px, 1fr);
    gap: clamp(28px, 3.4vw, 56px);
  }
  /* The bloom belongs to the picture, so it stops where the picture does. */
  .reel__stage::before { right: 34%; }
  .reel__caption {
    margin-top: 0;
    grid-template-columns: minmax(0, 1fr);
    align-content: center; gap: 8px;
  }
  .reel__caption .reel__dur { grid-column: 1; grid-row: auto; }
}
.reel__client {
  grid-column: 1;
  font-family: var(--body); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.reel__title {
  grid-column: 1;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.12;
}
.reel__dur {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: rgb(243 237 225 / .6);
}

/* ---------- the filmstrip ----------
   Sprocket holes are a repeating gradient on the strip's own top and bottom
   bands, so they line up whatever the scroll position. */
.reel__strip {
  position: relative;
  margin-top: clamp(32px, 5svh, 52px);
  padding-block: 14px;
  border-block: 1px solid rgb(201 164 92 / .22);
  background:
    repeating-linear-gradient(90deg, rgb(243 237 225 / .16) 0 10px, transparent 10px 26px) top / 100% 6px repeat-x,
    repeating-linear-gradient(90deg, rgb(243 237 225 / .16) 0 10px, transparent 10px 26px) bottom / 100% 6px repeat-x;
}
.reel__track {
  list-style: none; padding: 14px 0; margin: 0;
  display: flex; gap: clamp(12px, 1.4vw, 18px);
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__slot {
  flex: 0 0 clamp(186px, 17vw, 248px);
  scroll-snap-align: start;
}
.reel__thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 8px;
  background: #0A1512;
  box-shadow: 0 0 0 1px rgb(243 237 225 / .1);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.reel__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .25s var(--ease); }
.reel__thumb-dur {
  position: absolute; right: 6px; bottom: 6px;
  padding: 2px 6px; border-radius: 3px;
  background: rgb(5 16 13 / .82); color: var(--ivory);
  font-family: var(--body); font-weight: 600; font-size: 12px;
  font-variant-numeric: tabular-nums;
}
/* The film currently on the stage keeps the gold frame. */
.reel__thumb[aria-current="true"] {
  box-shadow: 0 0 0 2px var(--gold);
}
.reel__thumb[aria-current="true"] img { opacity: 1; }
.reel__thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .reel__thumb:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgb(201 164 92 / .6); }
  .reel__thumb:hover img { opacity: 1; }
}
.reel__thumb-client {
  margin-top: 10px;
  font-family: var(--body); font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgb(201 164 92 / .9);
}
.reel__thumb-title {
  margin-top: 3px;
  font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.25;
  color: rgb(243 237 225 / .9);
}

/* Arrows sit over the strip's ends; the strip scrolls with a finger, a
   trackpad or these, and keyboard focus scrolls it too. */
.reel__nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  display: none; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(201 164 92 / .5);
  background: rgb(5 16 13 / .82); color: var(--ivory);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.reel__nav svg { width: 42%; height: 42%; }
.reel__nav--prev { left: -8px; }
.reel__nav--next { right: -8px; }
.reel__nav[hidden] { display: none; }
@media (min-width: 900px) { .reel__nav { display: grid; } }
@media (hover: hover) and (pointer: fine) {
  .reel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
}
.reel__nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.reel__all {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  margin-top: clamp(20px, 3svh, 32px);
  font-family: var(--body); font-weight: 600; font-size: 15px;
  color: var(--ivory); text-decoration: none;
  border-bottom: 1px solid rgb(201 164 92 / .5);
}
.reel__all svg { width: 15px; height: 15px; color: var(--gold); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .reel__all:hover { border-color: var(--gold); }
  .reel__all:hover svg { transform: translate(2px, -2px); }
}

@media (prefers-reduced-motion: reduce) {
  .reel__screen img, .reel__play, .reel__thumb, .reel__thumb img, .reel__all svg { transition: none; }
  .reel__track { scroll-behavior: auto; }
}
