/* =========================================================
   Church Circle — "cinema" film section (index-4)
   The film opens from a framed card to full width as you
   scroll; a clean row of highlights sits underneath.
   ========================================================= */
.cc-cine { position: relative; padding: clamp(80px, 9vw, 140px) 0 clamp(70px, 8vw, 120px); overflow: hidden; }
.cc-cine__head { display: grid; justify-items: center; gap: 18px; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 70px); padding: 0 var(--pad); text-align: center; }
.cc-cine__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text, #05652F); }
.cc-cine__eyebrow::before, .cc-cine__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.cc-cine__title { font: 500 clamp(34px, 1rem + 3.4vw, 68px)/1.06 var(--head); letter-spacing: -1.6px; color: var(--ink); text-wrap: balance; }
.cc-cine__title .w { display: inline-block; }
.cc-cine__title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.cc-cine__sub { max-width: 560px; color: var(--text); font-size: 17px; line-height: 1.6; }

/* the film frame: grows from a card to the full content width on scroll */
/* the wrap reserves the full-size frame height, so the frame can grow without pushing the page below it
   (a moving layout made header links land in the wrong place — CC-530) */
.cc-cine__frame-wrap { display: grid; padding: 0 var(--pad); }
.cc-cine__frame-wrap::before { content: ""; grid-area: 1 / 1; width: 100%; max-width: 1640px; justify-self: center; aspect-ratio: 16 / 9; }
.cc-cine__frame-wrap > .cc-cine__frame { grid-area: 1 / 1; align-self: start; }
.cc-cine__frame {
  --w: 100%; position: relative; width: var(--w); max-width: 1640px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: #0b1f15; box-shadow: 0 60px 120px -60px rgba(16,55,28,.55);
  will-change: width, border-radius;
}
.cc-cine__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-cine__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(4,30,18,.05) 40%, rgba(4,30,18,.7)); transition: opacity .6s var(--ease); }

/* caption inside the film, bottom-left */
.cc-cine__cap { position: absolute; z-index: 2; left: clamp(20px, 3.5vw, 56px); right: clamp(20px, 3.5vw, 56px); bottom: clamp(18px, 3vw, 48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; color: #fff; pointer-events: none; }
.cc-cine__cap b { display: block; font: 500 clamp(20px, 1rem + 1.2vw, 36px)/1.15 var(--head); letter-spacing: -.5px; max-width: 18ch; }
.cc-cine__cap small { display: block; margin-top: 8px; font-size: 15px; opacity: .85; max-width: 42ch; }

/* big "watch with sound" button in the middle */
.cc-cine__cta {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border-radius: 200px; white-space: nowrap;
  background: rgba(255,255,255,.95); color: var(--ink); font-weight: 500; font-size: 16px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.5); transition: scale .5s var(--ease), opacity .5s var(--ease), visibility .5s;
}
.cc-cine__cta i { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.cc-cine__cta i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0,154,68,.45); animation: cine-ping 2s var(--ease) infinite; }
.cc-cine__cta svg { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.cc-cine__cta:hover { scale: 1.05; }
.cc-cine.is-sound .cc-cine__cta { opacity: 0; visibility: hidden; scale: .9; }
.cc-cine.is-sound .cc-cine__shade { opacity: .55; }
@keyframes cine-ping { 0% { scale: .9; opacity: 1; } 100% { scale: 1.35; opacity: 0; } }

/* the site's round play / sound buttons, top-right inside the film */
.cc-cine__frame .play-btn { left: auto; right: clamp(16px, 2.4vw, 32px); top: clamp(16px, 2.4vw, 32px); bottom: auto; width: 48px; height: 48px; }
.cc-cine__frame .sound-btn { left: auto; right: calc(clamp(16px, 2.4vw, 32px) + 62px); top: calc(clamp(16px, 2.4vw, 32px) + 4px); bottom: auto; }

/* highlights row under the film (static, no floating) */
.cc-cine__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 1180px; margin: clamp(36px, 4vw, 56px) auto 0; padding: 0 var(--pad); }
.cc-hl { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-soft); }
.cc-hl__ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); }
.cc-hl__ic .cc-i { width: 24px; height: 24px; }
.cc-hl b { display: block; font: 500 19px/1.25 var(--head); color: var(--ink); margin-bottom: 6px; }
.cc-hl p { font-size: 15px; line-height: 1.5; color: var(--text); }

@media (max-width: 860px) {
  .cc-cine__row { grid-template-columns: 1fr; max-width: 560px; }
  .cc-cine__cap small { display: none; }
}
@media (max-width: 560px) {
  .cc-cine__frame, .cc-cine__frame-wrap::before { aspect-ratio: 16 / 10; }
  .cc-cine__frame { border-radius: var(--r-lg); }
  .cc-cine__cap { display: none; }
  .cc-cine__frame .play-btn { width: 40px; height: 40px; }
  .cc-cine__cta { padding: 8px 18px 8px 8px; font-size: 14px; gap: 10px; }
  .cc-cine__cta i { width: 42px; height: 42px; }
  .cc-cine__frame .sound-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cc-cine__cta i::after { animation: none; } }

/* tablets & phones: "Watch with sound" moves off the middle of the picture so it no longer covers the speaker */
@media (max-width: 999px) {
  .cc-cine__cta { left: auto; top: auto; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); translate: none; }
}
@media (max-width: 560px) {
  .cc-cine__cta { right: auto; left: 50%; bottom: 12px; translate: -50% 0; }
}
