/* HeartCry Stories: a streaming-style browse page (template_stories.php).
   Everything is scoped to .hcs so the theme's header, newsletter and footer keep their own styles.
   Colors are HeartCry's only: navy #0c2436, red #732524 / #5c1413, white, black and grays. */

body:has(#hcs) #stories-page { background: #0c2436; }
body:has(#hcs) .stories-background { display: none !important; }
/* the theme header sits over the hero, as on a streaming home page */
body:has(#hcs) header.navigation { position: relative; z-index: 30; background: transparent; }

/* the hover preview and the player sit on the body, so they share the tokens */
.hcs, .hcs-pop, .hcs-player {
  --hcs-navy: #0c2436;
  --hcs-red: #732524;
  --hcs-red-dark: #5c1413;
  --hcs-text: rgba(255, 255, 255, .86);
  --hcs-muted: rgba(255, 255, 255, .6);
  --hcs-faint: rgba(255, 255, 255, .14);
  --hcs-panel: rgba(255, 255, 255, .045);
  --hcs-label: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --hcs-sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --hcs-serif: 'Playfair Display', Georgia, serif;
  --hcs-gut: max(20px, 4vw);
  --hcs-gap: clamp(10px, 1.05vw, 18px);
  --hcs-radius: 6px;
  --hcs-e: cubic-bezier(.2, .7, .1, 1);
  --hcs-overlap: clamp(56px, 7vw, 120px);   /* how far the first row rises into the hero */
  --hcs-hero-low: calc(var(--hcs-overlap) + clamp(72px, 10vh, 120px));
}
.hcs {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(56px, 7vw, 110px);
  color: #fff;
  font-family: var(--hcs-sans);
  -webkit-font-smoothing: antialiased;
}
/* resets stay at zero specificity so every component style wins over them */
:where(.hcs) *, :where(.hcs) *::before, :where(.hcs) *::after { box-sizing: border-box; }
:where(.hcs) a { color: inherit; text-decoration: none; }
:where(.hcs) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.hcs) img { display: block; max-width: none; }
.hcs-img { object-position: var(--o, 50% 50%); transform-origin: var(--to, 50% 50%); }
.hcs :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hcs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared pieces ---------- */
.hcs-eyebrow { margin: 0; font: 700 12px/1 var(--hcs-label); letter-spacing: .28em; text-transform: uppercase; color: #fff; }
.hcs-eyebrow i { font-style: normal; padding: 0 .45em; opacity: .55; }
.hcs-meta { margin: 0; font: 600 12px/1.4 var(--hcs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--hcs-muted); }
.hcs-meta i { font-style: normal; padding: 0 .55em; opacity: .55; }

.hcs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 54px; padding: 3px 30px 0; border: 1px solid transparent; border-radius: 4px; font: 700 13px/1 var(--hcs-label); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--hcs-e); }
.hcs-btn svg { width: 13px; height: 15px; margin-top: -3px; fill: currentColor; }
.hcs-btn--primary { background: var(--hcs-red); color: #fff; }
.hcs-btn--primary:hover { background: var(--hcs-red-dark); }
.hcs-btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hcs-btn--glass:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .6); }
.hcs-btn--line { border-color: rgba(255, 255, 255, .35); color: #fff; }
.hcs-btn--line:hover { border-color: #fff; background: #fff; color: var(--hcs-navy); }
.hcs-btn:active { transform: scale(.98); }

.hcs-round { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; transition: background-color .25s, border-color .25s, transform .25s var(--hcs-e); }
.hcs-round svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hcs-round:hover { border-color: #fff; background: rgba(255, 255, 255, .12); transform: scale(1.06); }
.hcs-round--play { border-color: var(--hcs-red); background: var(--hcs-red); }
.hcs-round--play svg { fill: #fff; stroke: none; margin-left: 2px; }
.hcs-round--play:hover { background: var(--hcs-red-dark); border-color: var(--hcs-red-dark); }

.hcs-tag { display: inline-block; padding: 5px 8px 3px; border-radius: 2px; background: var(--hcs-red); font: 700 10px/1 var(--hcs-label); letter-spacing: .18em; text-transform: uppercase; color: #fff; }

/* soft reveal as rows scroll into view */
.hcs-js .hcs-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--hcs-e), transform 1s var(--hcs-e); }
.hcs-js .hcs-reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hcs-hero { position: relative; height: min(94vh, 920px); min-height: 600px; margin-top: calc(-1 * var(--hcs-head, 150px)); overflow: hidden; background: var(--hcs-navy); isolation: isolate; }
.hcs-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--hcs-e), visibility 0s linear 1.4s; }
.hcs-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s var(--hcs-e), visibility 0s; z-index: 1; }
.hcs-hero__media { position: absolute; inset: 0; overflow: hidden; background: #000; }
/* the poster is the loop's first frame, so the video fades in over it without a jump */
.hcs-hero__media img, .hcs-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hcs-focus, 50% 50%); }
.hcs-hero__media video { opacity: 0; transition: opacity .8s ease; }
.hcs-hero__slide.is-playing .hcs-hero__media video { opacity: 1; }
.hcs-hero__shade { position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, 0) 26%),
    linear-gradient(90deg, rgba(12, 36, 54, .94) 0%, rgba(12, 36, 54, .7) 30%, rgba(12, 36, 54, .1) 62%, rgba(12, 36, 54, 0) 80%),
    linear-gradient(0deg, #0c2436 0%, rgba(12, 36, 54, .6) 18%, rgba(12, 36, 54, 0) 46%); }
.hcs-hero__content { position: absolute; left: var(--hcs-gut); bottom: var(--hcs-hero-low); width: min(720px, 52vw); }
.hcs-hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--hcs-e), transform .9s var(--hcs-e); }
.hcs-hero__slide.is-active .hcs-hero__content > * { opacity: 1; transform: none; }
.hcs-hero__slide.is-active .hcs-hero__content > :nth-child(2) { transition-delay: .12s; }
.hcs-hero__slide.is-active .hcs-hero__content > :nth-child(3) { transition-delay: .22s; }
.hcs-hero__slide.is-active .hcs-hero__content > :nth-child(4) { transition-delay: .32s; }
.hcs-hero__slide.is-active .hcs-hero__content > :nth-child(5) { transition-delay: .42s; }
.hcs-hero__title { margin: 30px 0 16px; font: 700 clamp(38px, 4.6vw, 76px)/.98 var(--hcs-label); letter-spacing: .01em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.hcs-hero__dek { margin: 18px 0 30px; max-width: 34em; font: italic 400 clamp(18px, 1.45vw, 22px)/1.55 var(--hcs-serif); color: var(--hcs-text); }
.hcs-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* slide markers that fill as each loop plays, and a pause button for the motion */
.hcs-hero__nav { position: absolute; z-index: 3; right: var(--hcs-gut); bottom: var(--hcs-hero-low); display: flex; align-items: center; gap: 16px; height: 54px; }
.hcs-hero__dots { display: flex; gap: 8px; }
.hcs-hero__dots button { position: relative; width: 34px; height: 20px; }
.hcs-hero__dots button::before, .hcs-hero__dots span { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; }
.hcs-hero__dots button::before { background: rgba(255, 255, 255, .28); transition: background-color .3s; }
.hcs-hero__dots button:hover::before { background: rgba(255, 255, 255, .6); }
.hcs-hero__dots span { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hcs-hero__pause { display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%; color: #fff; transition: border-color .25s, background-color .25s; }
.hcs-hero__pause:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.hcs-hero__pause svg { width: 10px; height: 12px; fill: currentColor; }
.hcs-hero__pause .hcs-ic-play, .hcs-hero__pause[aria-pressed="true"] .hcs-ic-pause { display: none; }
.hcs-hero__pause[aria-pressed="true"] .hcs-ic-play { display: block; margin-left: 2px; }
.hcs-no-motion .hcs-hero__pause { display: none; }

@media (min-width: 1101px) {
  .hcs-hero__media { left: 22%; }
  .hcs-hero__shade { background:
      linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 24%),
      linear-gradient(90deg, #0c2436 0%, #0c2436 22%, rgba(12, 36, 54, .78) 32%, rgba(12, 36, 54, .25) 50%, rgba(12, 36, 54, 0) 64%),
      linear-gradient(0deg, #0c2436 0%, rgba(12, 36, 54, .55) 16%, rgba(12, 36, 54, 0) 42%); }
}

/* ---------- rows ---------- */
.hcs-row { position: relative; padding-top: clamp(34px, 3.8vw, 60px); }
/* the first row rises into the bottom of the hero, as on a streaming home page */
.hcs-row--films { z-index: 2; margin-top: calc(-1 * var(--hcs-overlap)); padding-top: 0; }
.hcs-row__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 var(--hcs-gut); margin-bottom: 18px; }
.hcs-row__title { margin: 0; font: 700 clamp(18px, 1.55vw, 24px)/1.1 var(--hcs-label); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.hcs-row__sub { margin: 8px 0 0; font: 400 14px/1.5 var(--hcs-sans); color: var(--hcs-muted); }
.hcs-row__all { flex: none; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; font: 600 14px/1 var(--hcs-sans); color: var(--hcs-muted); transition: color .25s; }
.hcs-row__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--hcs-e); }
.hcs-row__all:hover { color: #fff; }
.hcs-row__all:hover svg { transform: translateX(4px); }

.hcs-rail { position: relative; }
.hcs-track { display: flex; gap: var(--hcs-gap); margin: 0; padding: 6px var(--hcs-gut) 24px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--hcs-gut); scrollbar-width: none; }
.hcs-track::-webkit-scrollbar { display: none; }
.hcs-track > * { flex: none; scroll-snap-align: start; }
.hcs-arrow { position: absolute; z-index: 4; top: 6px; bottom: 24px; width: var(--hcs-gut); display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .3s; }
.hcs-arrow svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--hcs-e); }
.hcs-arrow--prev { left: 0; background: linear-gradient(90deg, rgba(12, 36, 54, .92), rgba(12, 36, 54, 0)); }
.hcs-arrow--next { right: 0; background: linear-gradient(270deg, rgba(12, 36, 54, .92), rgba(12, 36, 54, 0)); }
.hcs-rail:hover .hcs-arrow:not([disabled]) { opacity: 1; }
.hcs-arrow:hover svg { transform: scale(1.2); }
.hcs-arrow[disabled] { pointer-events: none; }
@media (hover: none), (max-width: 760px) { .hcs-arrow { display: none !important; } }

/* film cards: each film's own 16:9 thumbnail, with the place and runtime beneath */
.hcs-card { display: block; width: calc((100vw - 2 * var(--hcs-gut) - 3 * var(--hcs-gap)) / 3.3); max-width: 560px; }
.hcs-card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--hcs-radius); overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .3s; }
.hcs-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hcs-e); }
.hcs-card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.hcs-card__tag { margin-right: 12px; padding: 4px 6px 2px; font-size: 9px; vertical-align: 1px; }
.hcs-card__meta { display: block; margin-top: 12px; font: 600 11px/1.3 var(--hcs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--hcs-muted); }
.hcs-card__meta i { font-style: normal; padding: 0 .5em; opacity: .55; }
.hcs-card:hover .hcs-card__media img { transform: scale(1.04); }
.hcs-card.is-popped .hcs-card__media { opacity: 0; }

/* hover preview: grows out of a film card */
.hcs-pop { position: absolute; z-index: 60; width: 400px; border-radius: 8px; overflow: hidden; background: #10304a; box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); opacity: 0; transform: scale(.74); transform-origin: 50% 30%; pointer-events: none; transition: opacity .28s var(--hcs-e), transform .45s var(--hcs-e); font-family: var(--hcs-sans); color: #fff; }
.hcs-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.hcs-pop button, .hcs-player button { padding: 0; font: inherit; cursor: pointer; }
.hcs-pop a { color: inherit; text-decoration: none; }
.hcs-pop__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
/* the thumbnail shows first, then the film's silent loop fades in over it */
.hcs-pop__media img, .hcs-pop__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcs-pop__media video { opacity: 0; transition: opacity .7s ease; }
.hcs-pop.is-playing .hcs-pop__media video { opacity: 1; }
.hcs-pop__panel { display: flow-root; padding: 16px 18px 20px; }
/* play and more info sit together at the top right, with the title beside them */
.hcs-pop__actions { float: right; display: flex; gap: 10px; margin: 0 0 6px 16px; }
.hcs-pop__title { display: block; margin: 0; font: 700 16px/1.25 'Josefin Sans', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.hcs-pop__meta { display: block; margin-top: 8px; font: 600 11px/1.3 'Josefin Sans', Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hcs-pop__meta i { font-style: normal; padding: 0 .5em; opacity: .55; }
.hcs-pop__dek { margin: 10px 0 0; font: 400 14px/1.55 'Open Sans', Arial, sans-serif; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* people: tall portraits */
.hcs-person { display: block; width: calc((100vw - 2 * var(--hcs-gut) - 5 * var(--hcs-gap)) / 5.6); max-width: 300px; }
.hcs-person__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--hcs-radius); overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.hcs-person__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transform: scale(var(--z, 1)); transition: transform 1.2s var(--hcs-e), filter .6s; }
.hcs-person__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 36, 54, .55), rgba(12, 36, 54, 0) 40%); transition: opacity .5s; }
.hcs-person:hover .hcs-person__media img { transform: scale(calc(var(--z, 1) * 1.05)); filter: saturate(1.05); }
.hcs-person:hover .hcs-person__media::after { opacity: .4; }
.hcs-person__name { display: block; margin-top: 14px; font: 700 14px/1.3 var(--hcs-label); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hcs-person__place { display: block; margin-top: 5px; font: 600 11px/1.3 var(--hcs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--hcs-muted); }
.hcs-person__place i { font-style: normal; padding: 0 .5em; opacity: .55; }
.hcs-person__kind { position: absolute; z-index: 2; left: 12px; top: 12px; padding: 5px 8px 3px; border-radius: 2px; background: rgba(12, 36, 54, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 9px/1 var(--hcs-label); letter-spacing: .2em; text-transform: uppercase; }

/* look to the field: an editorial band with country tiles */
.hcs-field__band { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; min-height: clamp(380px, 34vw, 560px); margin: 0 var(--hcs-gut); border-radius: 8px; overflow: hidden; background: #08202f; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hcs-field__media { position: relative; overflow: hidden; }
.hcs-field__media img, .hcs-field__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcs-field__media img { opacity: 0; transform: scale(var(--z, 1)); transition: opacity 1s var(--hcs-e); }
.hcs-field__media img.is-on { opacity: 1; }
/* the country's silent loop fades in over its first frame */
.hcs-field__video { opacity: 0; transition: opacity .5s ease; }
.hcs-field.is-playing .hcs-field__video { opacity: 1; }
.hcs-field__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 32, 47, 0) 55%, #08202f 100%); }
.hcs-field__panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.6vw, 60px); }
.hcs-field__panel > * { transition: opacity .45s var(--hcs-e), transform .45s var(--hcs-e); }
.hcs-field__panel.is-swapping > * { opacity: 0; transform: translateY(10px); }
.hcs-field__country { margin: 26px 0 6px; font: 700 clamp(40px, 4.6vw, 72px)/1 var(--hcs-label); letter-spacing: .02em; color: #fff; }
.hcs-field__film { margin: 0; font: italic 400 clamp(17px, 1.35vw, 21px)/1.4 var(--hcs-serif); color: var(--hcs-text); }
.hcs-field__dek { margin: 16px 0 28px; font: 400 15px/1.65 var(--hcs-sans); color: var(--hcs-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hcs-field__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hcs-field__actions .hcs-btn { height: 50px; padding: 3px 24px 0; }
.hcs-tiles { display: flex; gap: var(--hcs-gap); margin: 0; padding: 18px var(--hcs-gut) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--hcs-gut); scrollbar-width: none; }
.hcs-tiles::-webkit-scrollbar { display: none; }
.hcs-tile { position: relative; flex: none; width: calc((100vw - 2 * var(--hcs-gut) - 5 * var(--hcs-gap)) / 6); min-width: 150px; aspect-ratio: 16 / 10; border-radius: var(--hcs-radius); overflow: hidden; scroll-snap-align: start; background: #000; text-align: left; opacity: .62; transition: opacity .3s, box-shadow .3s; }
.hcs-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform 1s var(--hcs-e); }
.hcs-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 62%); }
.hcs-tile span { position: absolute; z-index: 2; left: 14px; bottom: 12px; right: 12px; font: 700 13px/1.2 var(--hcs-label); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.hcs-tile:hover { opacity: 1; }
.hcs-tile:hover img { transform: scale(calc(var(--z, 1) * 1.06)); }
.hcs-tile[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 0 0 2px #fff; }
/* a post's own thumbnail carries its own title, so it starts out whole: 16:9 and unshaded (it still zooms when pointed at) */
.hcs-tile--thumb { aspect-ratio: 16 / 9; }
.hcs-tile--thumb::after { content: none; }

/* updates: a compact news grid */
.hcs-updates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hcs-gap); margin: 0; padding: 6px var(--hcs-gut) 0; list-style: none; }
.hcs-update { display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: 18px; width: 100%; padding: 10px; border-radius: 8px; background: var(--hcs-panel); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); text-align: left; transition: background-color .3s, box-shadow .3s; }
.hcs-update:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.hcs-update__media { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.hcs-update__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform 1s var(--hcs-e); }
.hcs-update:hover .hcs-update__media img { transform: scale(calc(var(--z, 1) * 1.06)); }
.hcs-update__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(12, 36, 54, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s; }
.hcs-update__play svg { width: 10px; height: 12px; margin-left: 2px; fill: #fff; }
.hcs-update:hover .hcs-update__play { background: var(--hcs-red); }
/* over a thumbnail's lettering, the play button waits in the middle until the card is pointed at */
.hcs-update--thumb .hcs-update__play { left: 50%; bottom: 50%; width: 42px; height: 42px; margin: 0 0 -21px -21px; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--hcs-e), background-color .3s; }
.hcs-update--thumb .hcs-update__play svg { width: 12px; height: 14px; }
.hcs-update--thumb:hover .hcs-update__play, .hcs-update--thumb:focus-visible .hcs-update__play { opacity: 1; transform: none; }
.hcs-update__place { display: block; font: 700 10px/1.2 var(--hcs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--hcs-muted); }
.hcs-update__title { display: block; margin-top: 7px; font: 600 16px/1.35 var(--hcs-sans); color: #fff; }
.hcs-update__date { display: block; margin-top: 8px; font: 400 13px/1.3 var(--hcs-sans); color: var(--hcs-muted); }

/* ---------- inside pages: Meet the Missionaries ---------- */
/* the page title sits at the top of the hero, the featured testimony at the bottom */
.hcs-hero--page { --hcs-hero-low: clamp(64px, 9vh, 110px); min-height: 680px; }
.hcs-pagehead { position: absolute; z-index: 3; left: var(--hcs-gut); top: calc(var(--hcs-head, 150px) + clamp(4px, 2vh, 24px)); max-width: min(520px, 84vw); }
.hcs-crumb { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1 var(--hcs-label); letter-spacing: .24em; text-transform: uppercase; color: var(--hcs-muted); transition: color .25s; }
.hcs-crumb::before { content: ""; width: 6px; height: 6px; margin-top: -1px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
.hcs-crumb:hover { color: #fff; }
.hcs-pagehead__title { margin: 14px 0 0; font: 700 clamp(24px, 2.2vw, 34px)/1.15 var(--hcs-label); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hcs-pagehead__lead { margin: 10px 0 0; font: 400 15px/1.6 var(--hcs-sans); color: var(--hcs-text); }
/* a hero slide with only a still drifts slowly instead */
.hcs-hero__media--still img { transform: scale(1.08); transition: transform 10s linear; }
.hcs-hero__slide.is-active .hcs-hero__media--still img { transform: scale(1); }

/* every testimony: the newest one large, then a grid */
.hcs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 2.4vw, 40px) var(--hcs-gap); padding: 6px var(--hcs-gut) 0; }
.hcs-grid .hcs-card { width: auto; max-width: none; }
.hcs-card--lead { grid-column: span 2; grid-row: span 2; }
.hcs-card__text { display: block; }
.hcs-card__kicker { display: block; margin-top: 18px; font: 700 11px/1 var(--hcs-label); letter-spacing: .26em; text-transform: uppercase; color: #fff; }
.hcs-card--lead .hcs-card__meta { margin-top: 10px; }
.hcs-card__dek { display: block; max-width: 36em; margin-top: 12px; font: italic 400 clamp(16px, 1.25vw, 19px)/1.5 var(--hcs-serif); color: var(--hcs-text); }

/* a series: the band, then its episodes in order */
.hcs-series .hcs-rail { margin-top: 18px; }

/* ---------- a single testimony ---------- */
.hcs-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4.5vw, 80px); padding: 0 var(--hcs-gut); }
.hcs-about__body { max-width: 34em; margin: 20px 0 0; font: 400 clamp(17px, 1.3vw, 20px)/1.7 var(--hcs-sans); color: var(--hcs-text); }
.hcs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; max-width: 34em; margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid var(--hcs-faint); }
.hcs-facts dt { font: 700 10px/1 var(--hcs-label); letter-spacing: .24em; text-transform: uppercase; color: var(--hcs-muted); }
.hcs-facts dd { margin: 9px 0 0; font: 600 15px/1.4 var(--hcs-sans); color: #fff; }
.hcs-facts a, .hcs-quote figcaption a { border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .25s; }
.hcs-facts a:hover, .hcs-quote figcaption a:hover { border-color: #fff; }
.hcs-about__video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hcs-about__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hcs-e); }
.hcs-about__video:hover img { transform: scale(1.03); }
.hcs-about__play { position: absolute; left: clamp(14px, 1.6vw, 24px); bottom: clamp(14px, 1.6vw, 24px); display: grid; place-items: center; width: clamp(52px, 4.4vw, 68px); aspect-ratio: 1; border-radius: 50%; background: var(--hcs-red); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .3s var(--hcs-e), background-color .3s; }
.hcs-about__play svg { width: 34%; margin-left: 6%; fill: #fff; }
.hcs-about__video:hover .hcs-about__play { transform: scale(1.08); background: var(--hcs-red-dark); }

/* a line from the written testimony */
.hcs-quote { padding: clamp(72px, 9vw, 140px) var(--hcs-gut) clamp(20px, 3vw, 40px); text-align: center; }
.hcs-quote figure, .hcs-quote blockquote { margin: 0 auto; }
.hcs-quote figure { max-width: 920px; }
.hcs-quote blockquote::before { content: "\201C"; display: block; height: .62em; font: 400 clamp(90px, 9vw, 140px)/1 var(--hcs-serif); color: rgba(255, 255, 255, .2); }
.hcs-quote p { margin: 0; font: italic 400 clamp(26px, 2.8vw, 44px)/1.35 var(--hcs-serif); color: #fff; text-wrap: balance; }
.hcs-quote figcaption { margin-top: 28px; font: 600 12px/1.5 var(--hcs-label); letter-spacing: .22em; text-transform: uppercase; color: var(--hcs-muted); }
.hcs-quote figcaption a { color: #fff; }

/* the missionary: headshot and bio */
.hcs-profile__grid { display: grid; grid-template-columns: minmax(220px, 420px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 96px); padding: 0 var(--hcs-gut); }
.hcs-profile__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #08202f; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hcs-profile__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hcs-profile__name { margin: 22px 0 14px; font: 700 clamp(34px, 3.6vw, 56px)/1.02 var(--hcs-label); letter-spacing: .02em; color: #fff; }
.hcs-profile__bio { max-width: 38em; margin: 24px 0 30px; font: 400 16px/1.75 var(--hcs-sans); color: var(--hcs-text); }
.hcs-profile__actions, .hcs-place__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hcs-profile__actions .hcs-btn, .hcs-place__actions .hcs-btn { height: 50px; padding: 3px 24px 0; }

/* the country they serve, with a way to help */
.hcs-place { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(420px, 40vw, 620px); margin: clamp(56px, 7vw, 110px) var(--hcs-gut) 0; border-radius: 8px; overflow: hidden; background: #08202f; }
.hcs-place__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hcs-place::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(8, 32, 47, .92) 0%, rgba(8, 32, 47, .62) 36%, rgba(8, 32, 47, 0) 68%),
    linear-gradient(0deg, rgba(8, 32, 47, .75) 0%, rgba(8, 32, 47, 0) 55%); }
.hcs-place__content { max-width: 580px; padding: clamp(28px, 4vw, 64px); }
.hcs-place__title { margin: 16px 0 12px; font: 700 clamp(44px, 5vw, 80px)/1 var(--hcs-label); letter-spacing: .02em; color: #fff; }
.hcs-place__dek { margin: 0 0 28px; font: italic 400 clamp(17px, 1.35vw, 21px)/1.5 var(--hcs-serif); color: var(--hcs-text); }

/* ---------- player ---------- */
.hcs-player { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 70px max(16px, 5vw); background: rgba(0, 0, 0, .9); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.hcs-player.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.hcs-player__box { width: min(100%, 1280px, calc((100vh - 160px) * 16 / 9)); transform: scale(.96); transition: transform .5s var(--hcs-e); }
.hcs-player.is-open .hcs-player__box { transform: none; }
.hcs-player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.hcs-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hcs-player__title { margin: 18px 0 0; font: 700 14px/1.3 'Josefin Sans', Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hcs-player__close { position: absolute; top: 18px; right: max(16px, 2vw); display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: border-color .25s, background-color .25s; }
.hcs-player__close:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.hcs-player__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
html.hcs-locked, html.hcs-locked body { overflow: hidden; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .hcs-card { width: calc((100vw - 2 * var(--hcs-gut) - 2 * var(--hcs-gap)) / 2.3); }
  .hcs-person { width: calc((100vw - 2 * var(--hcs-gut) - 3 * var(--hcs-gap)) / 3.8); }
  .hcs-updates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hcs-hero__content { width: min(600px, 62vw); }
  .hcs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hcs-card--lead { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; gap: 0 clamp(20px, 3vw, 36px); }
  .hcs-card--lead .hcs-card__kicker { margin-top: 0; }
}
@media (max-width: 760px) {
  .hcs { --hcs-gut: 18px; --hcs-gap: 12px; --hcs-overlap: 0px; --hcs-hero-low: 80px; }
  .hcs-row--films { padding-top: 36px; }
  .hcs-hero { height: 100svh; min-height: 620px; max-height: 860px; }
  .hcs-hero__shade { background:
      linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 22%),
      linear-gradient(0deg, #0c2436 0%, rgba(12, 36, 54, .92) 30%, rgba(12, 36, 54, .2) 62%, rgba(12, 36, 54, 0) 78%); }
  .hcs-hero__media img, .hcs-hero__media video { object-position: var(--hcs-focus-m, var(--hcs-focus, 50% 50%)); }
  .hcs-hero__content { left: var(--hcs-gut); right: var(--hcs-gut); width: auto; }
  .hcs-hero__title { margin: 16px 0 12px; font-size: clamp(34px, 10vw, 48px); }
  .hcs-hero__dek { display: none; }
  .hcs-hero__actions { display: grid; gap: 10px; margin-top: 22px; }
  .hcs-hero__actions .hcs-btn { width: 100%; }
  .hcs-hero__nav { left: var(--hcs-gut); right: var(--hcs-gut); bottom: calc(var(--hcs-overlap) + 18px); height: 34px; justify-content: space-between; }
  .hcs-card { width: 82vw; }
  .hcs-person { width: 40vw; }
  .hcs-row__sub { display: none; }
  .hcs-field__band { grid-template-columns: 1fr; margin: 0 var(--hcs-gut); }
  .hcs-field__media { aspect-ratio: 16 / 10; }
  .hcs-field__media::after { background: linear-gradient(0deg, #08202f 0%, rgba(8, 32, 47, 0) 50%); }
  .hcs-field__panel { padding: 4px 22px 26px; }
  .hcs-field__country { margin-top: 14px; }
  .hcs-field__actions .hcs-btn { flex: 1 1 auto; }
  .hcs-tile { width: 40vw; min-width: 0; }
  .hcs-updates { grid-template-columns: 1fr; }
  .hcs-update { grid-template-columns: 42% 1fr; gap: 14px; }
  .hcs-update__title { font-size: 15px; }
  .hcs-grid { grid-template-columns: minmax(0, 1fr); }
  .hcs-card--lead { grid-template-columns: minmax(0, 1fr); }
  .hcs-card--lead .hcs-card__kicker { margin-top: 18px; }
  .hcs-pagehead__lead { font-size: 14px; }
  .hcs-about__grid, .hcs-profile__grid { grid-template-columns: minmax(0, 1fr); }
  .hcs-profile__photo { aspect-ratio: 1; }
  .hcs-place { min-height: 540px; margin: 56px 0 0; border-radius: 0; }
  .hcs-place::before { background: linear-gradient(0deg, rgba(8, 32, 47, .96) 0%, rgba(8, 32, 47, .7) 45%, rgba(8, 32, 47, .1) 78%); }
  .hcs-place__content { padding: 28px var(--hcs-gut); }
  .hcs-player { padding: 70px 0; }
  .hcs-player__title { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hcs *, .hcs *::before, .hcs *::after, .hcs-pop, .hcs-pop * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
