/* Watch: page-scoped styles (mockup image8, slide 20, 1672px comp) */

/* ---------- Hero ----------------------------------------------------------
   Slide 20 runs the nav transparently over the photo, but the masthead is the
   same opaque bar on every page in this build, so the comp's 632px band is
   split: the section is the 544px remainder and the full crop is pulled up
   behind the bar. */
.watch-hero {
  position: relative;
  height: 544px;
  /* visible, not hidden (2026-08, transparent-nav change): hidden clipped the
     pulled-up crop at the hero's edge, so the photo never actually showed
     through the now-transparent bar */
  overflow: visible;
}

.watch-hero::before {
  content: "";
  position: absolute;
  inset: -88px 0 0;
  /* hero-watch-desert.jpg (owner request, 2026-11-12): a rock arch framing
     the Judean Desert hills and the Dead Sea, from the owner's
     judean_desert_2000x756.png - 2000x756 = the box's 2.65:1 ratio, so
     cover shows the whole frame. Earlier versions (hero-watch-cave, the
     2026-11-04 cave mouth; hero-watch-3 / -day / -glow / -caves / -gold /
     hero-watch.jpg) on disk. */
  background: url("../../assets/img/hero-watch-desert.jpg") top center / cover no-repeat;
}

/* this page's nav band runs DARKER than the shared wash (owner request,
   2026-09, matching their reference shot): a deeper tint held through the
   88px bar, then fading out below it. Page-scoped override of style.css's
   .nav::before - the other pages keep the lighter site-wide wash. */
.nav::before {
  background: linear-gradient(180deg,
    rgba(25, 22, 19, .78) 0,
    rgba(25, 22, 19, .70) 55%,
    rgba(25, 22, 19, .35) 78%,
    rgba(25, 22, 19, 0) 100%);
}

/* NO scrim at all (owner request, 2026-09: reveal the raw photograph) - the
   copy carries its own layered text halo below instead, so nothing is
   painted over the image */

.watch-hero > * {
  position: relative;
  z-index: 1;
}

.wh-copy {
  position: absolute;
  /* the raw photo shows behind the copy now, so the text wears the layered
     warm-dark halo the nav and Free Sourcebook copy use - shadow on the
     letters, not a wash on the image */
  text-shadow:
    0 0 3px rgba(25, 22, 19, .9),
    0 1px 3px rgba(25, 22, 19, .85),
    0 2px 10px rgba(25, 22, 19, .6),
    0 4px 20px rgba(25, 22, 19, .4);
  left: 145px;
  /* the copy block is centred in the 544px hero (owner request, 2026-08:
     "evenly placed"); with the ornament added under the headline the block
     runs ~354px, so 95 splits the remaining air evenly - re-measure if the
     copy changes again */
  top: 90px;
  /* wide enough that the three lines the comp draws stay three lines: at 74px
     "Qumran Discoveries" needs ~560px before it wraps again */
  width: 600px;
}

/* (the "Watch the Story" eyebrow and its gold rule came off - owner request,
   2026-09; the headline opens the block now) */

.watch-hero h1 {
  margin-top: 0;
  font-family: var(--f-display);
  font-size: 74px;
  font-weight: 500;
  line-height: 1.02;
  color: var(--head);
}

/* pinned to the 591px three-line headline, aligned with its left edge */
.wh-copy .ornament-center {
  width: 591px;
  margin: 20px 0 0;
}

.wh-lede {
  /* 22, not 34: the ornament sits between the headline and the lede now */
  margin-top: 22px;
  width: 440px;
  /* bold, white, and a step bigger (owner request, 2026-10); own halo runs
     a touch darker and softer-fading than the block's shared one. DEEPENED
     (owner request, 2026-11-24: "more shadow") for the brighter rock of the
     Judean Desert background - a tighter dark core plus two wide soft
     layers, still letter-shaped (no box, no floating pool) */
  font-size: 20px;
  font-weight: 700;
  line-height: 1.42;
  color: #FFFFFF;
  text-shadow:
    0 0 3px rgba(25, 22, 19, 1),
    0 0 7px rgba(25, 22, 19, .95),
    0 1px 4px rgba(25, 22, 19, .95),
    0 2px 14px rgba(25, 22, 19, .85),
    0 4px 26px rgba(25, 22, 19, .7),
    0 0 42px rgba(25, 22, 19, .55);
}

/* ---------- Video frame ---------------------------------------------------
   True 16:9 (650x366) so the gold border hugs the video content exactly.
   Since the 2026-08 background swap to hero-watch-caves.jpg (clean scenery,
   no painted player plate) the box is free geometry: it is opaque and can
   move anywhere over the photo. */
.video-frame {
  position: absolute;
  left: 896px;
  top: 107px;
  width: 650px;
  height: 366px;
  display: block;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(210, 162, 76, .22);
}

/* 101.6%, centred: the 720p master carries a structural black rim burned into
   the encode (10px left/right, 5px top/bottom at 1280x720 - measured from the
   source file, 2026-08), so the player is oversized just enough to push that
   rim outside the box and full-bleed scenes truly meet the gold border. The
   LARGE black areas in some scenes are editorial (older clips letterboxed
   when the film was cut) - they live inside the picture itself and no embed
   geometry can remove them; the fix for those is re-editing the source.
   The ~3px of player chrome this pushes below the box is imperceptible. */
.video-frame iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 101.6%;
  height: 101.6%;
  transform: translate(-50%, -50%);
  border: 0;
  display: block;
}

/* ---------- Pillars -------------------------------------------------------
   Four columns on their own near-black band (comp y632-800), split by faint
   verticals rather than boxes. */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  /* 30 top (shared icon/title line), 22 bottom (owner request, 2026-10) */
  padding: 30px 118px 22px;
  background: var(--strip);
}

.pillar {
  position: relative;
  padding: 0 34px 0 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 30px;
  /* start, on a shared line (owner request, 2026-10, second pass): every
     pillar's icon and title begin at the same height */
  align-content: start;
}

.pillar + .pillar {
  padding-left: 34px;
}

.pillar + .pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(210, 162, 76, .17);
}

.pillar img {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.pillar h2 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--f-smallcaps);
  /* raised from 20px (owner request, 2026-08: readability pass) */
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1;
  /* one line always (owner request, 2026-10) */
  white-space: nowrap;
  color: var(--gold-bright);
}

.pillar p {
  grid-column: 2;
  grid-row: 2;
  margin-top: 12px;
  /* raised from 15px (owner request, 2026-08: readability pass) */
  font-size: 16px;
  line-height: 1.34;
  color: var(--head);
}

/* the fourth pillar's newsletter CTA (owner request, 2026-09, replacing the
   text link removed in 2026-08): a real gold button under the copy, spanning
   the icon+text columns so it has room at a comfortable size; it leads to
   the Get Involved page, where the live signup form is */
.pillar-cta {
  /* column 2 (owner request, 2026-10): aligns with the copy above, not
     the icon; nowrap keeps the label on one line */
  grid-column: 2;
  justify-self: start;
  white-space: nowrap;
  margin-top: 14px;
  font-size: 16px;
  padding: 9px 20px;
}

/* ---------- Responsive fallback ---------- */
@media (max-width: 1200px) {
  .watch-hero {
    height: auto;
    padding: 42px 24px 40px;
  }
  /* nothing is registered on the comp coordinates any more, so the crop sits
     square in the band rather than pulled up behind the bar. The photo is
     clean scenery since the 2026-08 swap (no painted furniture to hide), so
     the standard mobile treatment applies: plain cover crop, and the same
     left-weighted wash the other pages use. */
  .watch-hero::before { inset: 0; }

  /* "Qumran Discoveries" is set on one line by a <br>; at 52px in 560px it
     wrapped again and the headline came out four lines deep */
  /* relative rather than static: the z-index that lifts the hero content above
     the wash comes from `.watch-hero > *`, and z-index does nothing on an
     unpositioned box */
  .wh-copy { position: relative; left: auto; top: auto; width: auto; max-width: 640px; }
  .watch-hero h1 { font-size: 46px; }
  /* the desktop offset centres it under the pinned headline; unpinned here */
  .wh-copy .ornament-center { margin: 16px 0 0; }
  .wh-lede { width: auto; max-width: 520px; }

  .video-frame {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 648px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 34px;
  }

  .pillars { grid-template-columns: 1fr 1fr; gap: 30px 0; padding: 30px 24px; }
  .pillar:nth-child(odd) { padding-left: 0; }
  .pillar:nth-child(odd)::before { display: none; }
}

@media (max-width: 760px) {
  .watch-hero { padding-top: 34px; }
  .watch-hero h1 { font-size: 38px; }
  .video-frame { border-width: 1px; }

  .pillars { grid-template-columns: 1fr; gap: 26px; }
  .pillar,
  .pillar + .pillar { padding: 0; }
  .pillar + .pillar::before { display: none; }
}

/* ---------- Motion (site-motion variant only) ---------- */
/* Everything below is gated on html.motion (see css/motion.css); with motion
   off the page renders exactly as the static original above. */

/* The sunrise photo settles from a whisper of extra scale — the slowest,
   most cinematic entrance on the site. Desktop comp only: below 1201px the
   responsive layout re-anchors the crop. bottom-center origin so the excess
   bleeds off the top/sides, never over the pillars band. */
@media (min-width: 1201px) {
  .motion .watch-hero::before {
    --m-dur-settle: 2.6s;
    animation: mSettle var(--m-dur-settle) var(--m-ease-out) both;
    transform-origin: bottom center;
  }
}

/* Hero copy sequence: headline rises first, the ornament draws from its
   centre diamond, then the lede follows — one quiet documentary cadence. */
.motion .watch-hero h1 {
  animation: mRise var(--m-dur-hero) var(--m-ease-out) .15s both;
}

.motion .wh-copy .ornament-center { --orn-delay: 600ms; }

.motion .wh-lede {
  animation: mRise var(--m-dur-hero) var(--m-ease-out) .75s both;
}

/* The film arrives alongside the copy. The frame is absolutely positioned,
   so the entrance transform is safe; the iframe's own centring transform
   inside it is untouched. */
.motion .video-frame {
  animation: mRise var(--m-dur-hero) var(--m-ease-out) .45s both;
}

