/* Royalty Films, v2
   Structure after Qode's Silverscreen: full-screen film hero, centred
   condensed headings with a rule, alternating black and ivory sections.
   Motif: the border of blue with a gold thread (Numbers 15:38). */

:root {
  --ink: #0A0A0B;
  --char: #131315;
  --char-2: #1B1B1E;
  --ivory: #F4EFE6;
  --ivory-2: #EAE3D6;
  --on-ivory: #17140F;
  --on-ivory-soft: #5B5449;
  --text: #F2EEE6;
  --text-soft: #ABA59A;
  --gold: #C9A24B;
  --gold-hi: #E0C27B;
  --blue: #2350A8;
  --blue-deep: #16357A;
  --line: rgba(242, 238, 230, 0.16);
  --line-ivory: rgba(23, 20, 15, 0.14);

  --f-display: "Antonio", "Oswald", "Arial Narrow", sans-serif;
  --f-text: "Geist", system-ui, -apple-system, sans-serif;
  --f-quote: "Cormorant Garamond", Georgia, serif;

  --wrap: 78rem;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --section: clamp(5rem, 10vw, 9.5rem);
  --bar-h: 5.25rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-text); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.7; font-weight: 380;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rf-skip { position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: 0.7rem 1rem; background: var(--gold); color: var(--ink); transform: translateY(-200%); }
.rf-skip:focus { transform: none; }

.rf-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.rf-narrow { max-width: 52rem; }
.rf-center { text-align: center; }
.rf-section { position: relative; padding-block: var(--section); }
.rf-section--ivory { background: var(--ivory); color: var(--on-ivory); }

/* ------------------------------------------------------------- reveal -- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transform: none; transition-duration: 300ms; } }

/* ------------------------------------------------------------- the rule -- */
.rf-rule { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.rf-rule i { display: block; height: 2px; background: var(--gold); width: 4rem; }
.rf-rule i + i { background: var(--blue); width: 1.75rem; height: 2px; }
.rf-head--left .rf-rule { align-items: flex-start; }

.rf-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.rf-head--left { text-align: left; }
.rf-head__title {
  margin: 0; font-family: var(--f-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.75rem); line-height: 0.95; letter-spacing: 0.01em;
}
.rf-head__sub {
  margin: 0.9rem 0 1.4rem; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase;
}

/* ------------------------------------------------------------ buttons -- */
.rf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; }
.rf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.2rem; padding: 0 1.9rem; border: 1px solid transparent; border-radius: 0;
  font-family: var(--f-text); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease);
}
.rf-btn:active { transform: translateY(1px); }
.rf-btn--sm { min-height: 2.6rem; padding: 0 1.2rem; font-size: 0.72rem; }
.rf-btn--lg { min-height: 3.6rem; padding: 0 2.4rem; }
.rf-btn--gold { background: var(--gold); color: #120F08; }
.rf-btn--line { border-color: rgba(242, 238, 230, 0.5); color: var(--text); }
.rf-section--ivory .rf-btn--line { border-color: rgba(23, 20, 15, 0.4); color: var(--on-ivory); }
.rf-btn__icon { width: 0.75rem; height: 0.75rem; }
@media (hover: hover) {
  .rf-btn--gold:hover { background: var(--gold-hi); }
  .rf-btn--line:hover { border-color: var(--gold); color: var(--gold-hi); }
  .rf-section--ivory .rf-btn--line:hover { color: #8A6A22; }
}
.rf-link {
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 0.2rem;
}
.rf-link--gold { color: var(--gold); border: 0; }

/* ------------------------------------------------------------- header -- */
.rf-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  padding-inline: var(--gutter); color: var(--text);
  background: rgba(10, 10, 11, 0.96);
  transition: height 300ms var(--ease), background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.rf-bar--over { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); }
.rf-bar.is-solid { height: 4.25rem; background: rgba(10, 10, 11, 0.97); box-shadow: 0 1px 0 var(--line); }
body.admin-bar .rf-bar { top: var(--wp-admin--admin-bar--height, 32px); }
.rf-bar__brand { justify-self: start; display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.rf-bar__crown { width: 1.9rem; color: var(--gold); }
.rf-bar__logo { height: 2.9rem; width: auto; transition: height 300ms var(--ease); }
.rf-bar.is-solid .rf-bar__logo { height: 2.4rem; }
.rf-foot__logo { width: 7.5rem; height: auto; }
.rf-bar__word { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
.rf-bar__word em { font-style: normal; color: var(--gold); font-weight: 300; }
.rf-nav ul { list-style: none; margin: 0; padding: 0; }
.rf-nav > ul { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.rf-nav a {
  display: block; padding: 0.6rem 0; text-decoration: none;
  font-size: 0.76rem; font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 180ms var(--ease);
}
.rf-nav a[aria-current="page"], .rf-nav a:hover { color: var(--gold); }
.rf-nav__has-sub { position: relative; }
.rf-nav__has-sub > a::after { content: ""; display: inline-block; width: 0.35rem; height: 0.35rem; margin-left: 0.5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.2rem) rotate(45deg); }
.rf-nav__sub {
  position: absolute; left: -1.4rem; top: 100%; min-width: 15rem; padding: 0.8rem 0;
  background: var(--char); border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
}
.rf-nav__sub a { padding: 0.55rem 1.4rem; letter-spacing: 0.12em; }
.rf-nav__has-sub:hover .rf-nav__sub, .rf-nav__has-sub:focus-within .rf-nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rf-bar__end { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.rf-bar__menu { display: none; width: 2.75rem; height: 2.75rem; background: none; border: 0; cursor: pointer; }
.rf-burger { display: grid; gap: 5px; width: 1.5rem; margin: auto; }
.rf-burger i { display: block; height: 1.5px; background: currentColor; transition: transform 250ms var(--ease), opacity 200ms; }
.rf-bar.is-open .rf-burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rf-bar.is-open .rf-burger i:nth-child(2) { opacity: 0; }
.rf-bar.is-open .rf-burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .rf-bar { grid-template-columns: 1fr auto; }
  .rf-bar__menu { display: block; }
  .rf-nav {
    position: fixed; inset: 0; z-index: -1; display: grid; place-items: center;
    background: rgba(10, 10, 11, 0.98);
    opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
  }
  .rf-bar.is-open .rf-nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .rf-nav > ul { flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; }
  .rf-nav a { font-family: var(--f-display); font-size: 2rem; font-weight: 300; letter-spacing: 0.06em; }
  .rf-nav__has-sub > a::after { display: none; }
  .rf-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 0.6rem; min-width: 0; }
  .rf-nav__sub a { font-family: var(--f-text); font-size: 0.8rem; color: var(--text-soft); padding: 0.3rem 0; }
}
@media (max-width: 480px) {
  .rf-bar__word { font-size: 1.15rem; letter-spacing: 0.1em; }
  .rf-bar__end .rf-btn--sm { padding: 0 0.9rem; }
}

/* --------------------------------------------------------------- hero -- */
.rf-hero { position: relative; height: 100vh; height: 100svh; min-height: 38rem; overflow: hidden; background: #000; isolation: isolate; }
.rf-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1400ms var(--ease), visibility 0s linear 1400ms; }
.rf-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.rf-slide__media { position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, #2A2418, #0A0A0B 70%); }
.rf-slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; }
.rf-slide.is-active .rf-slide__media img { transform: scale(1.0); }
.rf-slide__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%),
    radial-gradient(75% 60% at 50% 55%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(to top, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0) 40%);
}
.rf-slide__body {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--bar-h) + 1rem) var(--gutter) 7rem;
}
.rf-slide__body > * { opacity: 0; transform: translateY(22px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.rf-slide.is-active .rf-slide__body > * { opacity: 1; transform: none; }
.rf-slide.is-active .rf-slide__body > :nth-child(2) { transition-delay: 150ms; }
.rf-slide.is-active .rf-slide__body > :nth-child(3) { transition-delay: 300ms; }
.rf-slide.is-active .rf-slide__body > :nth-child(4) { transition-delay: 450ms; }
.rf-slide.is-active .rf-slide__body > :nth-child(5) { transition-delay: 600ms; }
.rf-slide.is-active .rf-slide__body > :nth-child(6) { transition-delay: 700ms; }
.rf-slide__eyebrow { margin: 0 0 0.8rem; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.3em; text-transform: uppercase; white-space: pre; }
.rf-slide__title {
  margin: 0; font-family: var(--f-display); font-weight: 200; text-transform: uppercase;
  font-size: clamp(3.4rem, 1.5rem + 9vw, 11rem); line-height: 0.88; letter-spacing: 0.015em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); text-wrap: balance;
}
.rf-slide__tagline {
  margin: 1.1rem 0 0; max-width: 40ch;
  font-family: var(--f-quote); font-style: italic; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.35; color: #EDE6D8;
}
.rf-slide__laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.rf-slide__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }
.rf-slide__status { margin: 1.2rem 0 0; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-hi); }
.rf-hero__controls {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 2.2rem;
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding-inline: var(--gutter);
}
.rf-hero__arrow { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; background: none; border: 1px solid rgba(242, 238, 230, 0.35); cursor: pointer; transition: border-color 200ms, color 200ms; }
.rf-hero__arrow svg { width: 1.2rem; }
.rf-hero__arrow:hover { border-color: var(--gold); color: var(--gold); }
.rf-hero__dots { display: flex; gap: 1.2rem; }
.rf-hero__dots button { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; background: none; border: 0; cursor: pointer; padding: 0.3rem 0; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.14em; color: rgba(242, 238, 230, 0.55); }
.rf-hero__dots button i { display: block; width: 3.5rem; height: 2px; background: rgba(242, 238, 230, 0.25); position: relative; overflow: hidden; }
.rf-hero__dots button i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.rf-hero__dots button[aria-current="true"] { color: var(--text); }
.rf-hero__dots button[aria-current="true"] i::after { animation: rf-progress var(--rf-slide-ms, 7000ms) linear forwards; }
.rf-hero.is-paused .rf-hero__dots button[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes rf-progress { to { transform: scaleX(1); } }
.rf-hero__fringe, .rf-fringe {
  position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 7px;
  background:
    linear-gradient(to bottom, transparent 0 2px, var(--gold) 2px 3px, transparent 3px),
    var(--blue-deep);
}
@media (max-width: 700px) {
  .rf-slide__body { padding-bottom: 8.5rem; }
  .rf-slide__eyebrow { font-size: 0.66rem; letter-spacing: 0.22em; white-space: normal; }
  .rf-hero__arrow { display: none; }
  .rf-hero__dots button i { width: 2.4rem; }
  .rf-slide__actions .rf-btn { min-height: 2.9rem; padding: 0 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rf-slide__media img { transform: none !important; transition: none; }
  .rf-slide__body > * { transform: none !important; }
  .rf-hero__dots button i::after { animation: none !important; transform: scaleX(1); }
}

/* ------------------------------------------------------------ mission -- */
.rf-mission { text-align: center; }
.rf-mission__text p { margin: 0 auto 1.2rem; max-width: 62ch; color: var(--on-ivory-soft); font-size: 1.08rem; }
.rf-mission__text p:first-child { font-family: var(--f-quote); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); line-height: 1.4; color: var(--on-ivory); }
.rf-mission .rf-center { margin-top: 2.2rem; }

/* -------------------------------------------------------------- films -- */
.rf-films { background: var(--ink); padding-bottom: calc(var(--section) * 0.6); }
.rf-feature {
  width: 100%; max-width: 90rem; margin: 0 auto clamp(5rem, 9vw, 8.5rem); padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.rf-feature--flip .rf-feature__media { order: 2; }
.rf-feature__media { position: relative; }
.rf-feature__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--char); }
.rf-feature__still { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.rf-feature__blank { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, #2A2418, var(--char) 70%); }
.rf-feature__blank span { font-family: var(--f-display); font-weight: 200; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4.5rem); color: rgba(242, 238, 230, 0.8); text-align: center; padding: 1rem; }
.rf-feature__poster {
  position: absolute; width: 30%; right: -5%; bottom: -10%; aspect-ratio: 2 / 3; object-fit: cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 162, 75, 0.5);
}
.rf-feature--flip .rf-feature__poster { right: auto; left: -5%; }
.rf-feature__num { margin: 0; font-family: var(--f-display); font-weight: 200; font-size: 5.5rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 75, 0.55); }
.rf-status { display: inline-block; margin-top: 1.2rem; padding: 0.35rem 0.8rem; border: 1px solid var(--gold); color: var(--gold-hi); font-size: 0.66rem; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; }
.rf-feature__title { margin: 1rem 0 0; font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); line-height: 0.92; letter-spacing: 0.01em; }
.rf-feature__title a { text-decoration: none; }
.rf-feature__title a:hover { color: var(--gold-hi); }
.rf-feature__logline { margin: 1.1rem 0 0; font-size: 1.08rem; color: var(--text); max-width: 42ch; }
.rf-verse { margin: 1.6rem 0 0; padding-left: 1.2rem; border-left: 2px solid var(--blue); }
.rf-verse p { margin: 0; font-family: var(--f-quote); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: #E6DFD1; }
.rf-verse cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.rf-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.5rem; margin: 1.6rem 0 0; }
.rf-facts dt { font-size: 0.66rem; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); }
.rf-facts dd { margin: 0.2rem 0 0; }
.rf-feature .rf-actions { margin-top: 2rem; }
@media (max-width: 900px) {
  .rf-feature { grid-template-columns: 1fr; gap: 3.5rem; }
  .rf-feature--flip .rf-feature__media { order: 0; }
  .rf-feature__poster { width: 34%; right: 4%; bottom: -12%; }
  .rf-feature--flip .rf-feature__poster { left: auto; right: 4%; }
  .rf-feature__num { font-size: 4rem; }
}

/* -------------------------------------------------------------- watch -- */
.rf-watch { overflow: hidden; background: var(--char); }
.rf-watch__bg { position: absolute; inset: -4%; background-size: cover; background-position: center; filter: blur(2px) saturate(0.8); opacity: 0.22; }
.rf-watch::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink), transparent 18%, transparent 82%, var(--ink)); z-index: 0; }
.rf-watch__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.rf-watch__heading { margin: 0 0 1.4rem; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.rf-watch__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.rf-watch__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease), opacity 400ms; opacity: 0.85; }
.rf-watch__thumb:hover img { transform: scale(1.04); opacity: 1; }
.rf-play { position: absolute; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 162, 75, 0.94); color: #120F08; box-shadow: 0 0 0 10px rgba(201, 162, 75, 0.2); transition: box-shadow 300ms var(--ease), transform 300ms var(--ease); }
.rf-play svg { width: 1.8rem; margin-left: 0.25rem; }
.rf-watch__thumb:hover .rf-play { box-shadow: 0 0 0 18px rgba(201, 162, 75, 0.16); }
.rf-accordion__item { border: 1px solid rgba(201, 162, 75, 0.55); margin-bottom: 0.8rem; background: rgba(10, 10, 11, 0.5); }
.rf-accordion__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; cursor: pointer; list-style: none;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.rf-accordion__item summary::-webkit-details-marker { display: none; }
.rf-accordion__item summary span { position: relative; width: 0.9rem; height: 0.9rem; }
.rf-accordion__item summary span::before, .rf-accordion__item summary span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.rf-accordion__item summary span::after { transform: rotate(90deg); transition: transform 250ms var(--ease); }
.rf-accordion__item[open] summary { background: var(--gold); color: #120F08; }
.rf-accordion__item[open] summary span::after { transform: rotate(0deg); }
.rf-accordion__item p { margin: 0; padding: 1.2rem 1.3rem 1.4rem; color: var(--text-soft); }
.rf-accordion .rf-actions { margin-top: 1.4rem; }
@media (max-width: 900px) { .rf-watch__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- stills -- */
.rf-stills { background: var(--ink); }
.rf-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(11rem, 19vw, 21rem); gap: 4px; }
.rf-mosaic__item { position: relative; overflow: hidden; display: block; background: var(--char); }
.rf-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 600ms; filter: saturate(0.92); }
.rf-mosaic__item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.rf-mosaic__item span { position: absolute; left: 1rem; bottom: 0.9rem; font-size: 0.68rem; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity 300ms, transform 300ms; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.rf-mosaic__item:hover span { opacity: 1; transform: none; }
.rf-mosaic__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.rf-mosaic__item:nth-child(4) { grid-row: span 2; }
.rf-mosaic__item:nth-child(6) { grid-column: span 2; }
@media (max-width: 800px) {
  .rf-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .rf-mosaic__item:nth-child(4) { grid-row: span 1; }
  .rf-mosaic .rf-mosaic__item:nth-child(6) { grid-column: auto; }
  .rf-mosaic--6 .rf-mosaic__item:nth-child(6), .rf-mosaic--4 .rf-mosaic__item:nth-child(4) { grid-column: span 2; }
}

/* ------------------------------------------------------------- makers -- */
.rf-makers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); }
.rf-maker { margin: 0; text-align: center; }
.rf-maker__img { aspect-ratio: 4 / 5; overflow: hidden; background: #1E1E22; box-shadow: 0 24px 50px rgba(23, 20, 15, 0.18); }
.rf-maker__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.05); transition: transform 1s var(--ease); }
.rf-maker:hover .rf-maker__img img { transform: scale(1.04); }
.rf-maker figcaption { margin-top: 1.3rem; }
.rf-maker strong { display: block; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.rf-maker span { display: block; margin-top: 0.25rem; color: var(--on-ivory-soft); font-size: 0.92rem; }
.rf-maker p { margin: 0.8rem auto 0; max-width: 34ch; color: var(--on-ivory-soft); font-size: 0.92rem; }

/* ------------------------------------------------------------ laurels -- */
.rf-awards { border-top: 1px solid var(--line-ivory); }
.rf-awards__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3.5rem; }
.rf-laurel-badge { margin: 0; display: flex; align-items: center; gap: 0.3rem; color: #B48A2E; }
.rf-laurel { width: 2.6rem; height: 5.2rem; flex: none; }
.rf-laurel-badge .rf-laurel:last-child { transform: scaleX(-1); }
.rf-laurel-badge figcaption { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 9.5rem; line-height: 1.2; }
.rf-laurel-badge__result { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.rf-laurel-badge strong { margin-top: 0.25rem; font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; text-transform: uppercase; color: var(--on-ivory); }
.rf-laurel-badge__fest { margin-top: 0.3rem; font-size: 0.72rem; color: var(--on-ivory-soft); }
.rf-laurel-badge__year { margin-top: 0.2rem; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.12em; }
.rf-laurel-badge--sm { color: var(--gold-hi); }
.rf-laurel-badge--sm .rf-laurel { width: 1.5rem; height: 3rem; }
.rf-laurel-badge--sm figcaption { max-width: 6.5rem; }
.rf-laurel-badge--sm .rf-laurel-badge__fest { color: #E8E1D2; font-size: 0.62rem; }

/* ----------------------------------------------------------- scripture -- */
.rf-scripture { overflow: hidden; text-align: center; background: #0E0D0C; }
.rf-scripture__bg { position: absolute; inset: -6%; background-size: cover; background-position: center; opacity: 0.38; }
.rf-scripture::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(10, 10, 11, 0.35), rgba(10, 10, 11, 0.85)); }
.rf-scripture .rf-wrap { position: relative; z-index: 1; }
.rf-scripture__track { display: grid; margin-top: 2rem; }
.rf-scripture__quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 800ms var(--ease), transform 800ms var(--ease), visibility 0s linear 800ms; }
.rf-scripture__quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rf-scripture__quote p { margin: 0; font-family: var(--f-quote); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.3rem); line-height: 1.38; color: #F4EEE2; }
.rf-scripture__quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.rf-scripture__dots { display: flex; justify-content: center; gap: 0.7rem; margin-top: 2.4rem; }
.rf-scripture__dots button { width: 0.7rem; height: 0.7rem; padding: 0; border-radius: 50%; border: 1.5px solid var(--gold); background: transparent; cursor: pointer; }
.rf-scripture__dots button[aria-current="true"] { background: var(--gold); }

/* ------------------------------------------------------------ support -- */
.rf-support__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.rf-support__text { margin: 0 0 1.8rem; max-width: 50ch; color: var(--on-ivory-soft); font-size: 1.05rem; }
.rf-support__contact { border-top: 2px solid var(--gold); padding-top: 1.6rem; }
.rf-support__contact h3 { margin: 0 0 1.2rem; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; letter-spacing: 0.02em; }
.rf-support__contact p { margin: 0 0 1rem; }
.rf-support__contact span { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-ivory-soft); }
.rf-support__contact a { text-decoration: none; border-bottom: 1px solid var(--gold); }
@media (max-width: 900px) { .rf-support__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- footer -- */
.rf-foot { position: relative; background: #050505; padding: 5rem 0 2rem; font-size: 0.9rem; }
.rf-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: linear-gradient(to bottom, transparent 0 2px, var(--gold) 2px 3px, transparent 3px), var(--blue-deep); }
.rf-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2.5rem; }
.rf-foot__brand p { margin: 0.9rem 0 0; color: var(--text-soft); max-width: 32ch; font-family: var(--f-quote); font-style: italic; font-size: 1.15rem; }
.rf-foot__links { list-style: none; margin: 0; padding: 0; }
.rf-foot__links li { margin-bottom: 0.5rem; }
.rf-foot__links a, .rf-foot__contact a { text-decoration: none; color: var(--text-soft); transition: color 180ms; }
.rf-foot__links a:hover, .rf-foot__contact a:hover { color: var(--gold); }
.rf-foot__contact { display: flex; flex-direction: column; gap: 0.5rem; color: var(--text-soft); }
.rf-foot__social { display: flex; gap: 1.2rem; margin-top: 0.6rem; }
.rf-foot__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
@media (max-width: 800px) { .rf-foot__grid { grid-template-columns: 1fr; } }
.rf-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 80; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 0; background: var(--gold); color: #120F08; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 300ms, transform 300ms, visibility 0s linear 300ms; }
.rf-top svg { width: 1rem; }
.rf-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ------------------------------------------------------ player, lightbox -- */
.rf-player { width: min(92vw, calc((100vh - 8rem) * 1.7778)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.rf-player::backdrop, .rf-lightbox::backdrop { background: rgba(3, 3, 4, 0.95); }
.rf-player[open] { animation: rf-in 400ms var(--ease); }
@keyframes rf-in { from { opacity: 0; transform: scale(0.97); } }
.rf-player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.rf-player__frame :is(iframe, video) { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rf-player__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.rf-player__title { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.rf-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; display: none; }
.rf-lightbox[open] { display: grid; place-items: center; }
.rf-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.rf-lightbox__nav, .rf-lightbox__close { position: fixed; background: none; border: 0; color: var(--text); cursor: pointer; }
.rf-lightbox__nav { top: 50%; width: 3.5rem; height: 3.5rem; translate: 0 -50%; }
.rf-lightbox__nav svg { width: 1.6rem; margin: auto; }
.rf-lightbox__nav--prev { left: 1rem; } .rf-lightbox__nav--next { right: 1rem; }
.rf-lightbox__close { top: 1rem; right: 1.4rem; font-size: 2.4rem; line-height: 1; }

/* ---------------------------------------------------------- film page -- */
.rf-film-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; background: #000; }
.rf-film-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rf-film-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(10, 10, 11, 0.4) 45%, rgba(0, 0, 0, 0.45) 100%); }
.rf-film-hero .rf-wrap { position: relative; z-index: 1; padding-bottom: 4rem; }
.rf-film-hero .rf-slide__title { font-size: clamp(3rem, 1.5rem + 7vw, 8.5rem); }
.rf-film-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); }
.rf-film-body__poster { position: sticky; top: 6rem; align-self: start; }
.rf-film-body__poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 162, 75, 0.5), 0 30px 60px rgba(0, 0, 0, 0.5); }
.rf-prose { max-width: 62ch; }
.rf-prose p { color: var(--text-soft); }
.rf-prose h2, .rf-prose h3 { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; }
@media (max-width: 900px) { .rf-film-body { grid-template-columns: 1fr; } .rf-film-body__poster { position: static; max-width: 20rem; } }

/* -------------------------------------------------------- plain pages -- */
.rf-page { padding-top: calc(var(--bar-h) + 4rem); min-height: 70vh; }
.rf-page__title { margin: 0 0 2rem; font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 0.95; }

/* mosaic with only a few stills */
.rf-mosaic--1 { grid-template-columns: 1fr; grid-auto-rows: clamp(18rem, 42vw, 34rem); }
.rf-mosaic--1 .rf-mosaic__item:nth-child(1) { grid-column: auto; grid-row: auto; }
.rf-mosaic--2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(14rem, 30vw, 28rem); }
.rf-mosaic--2 .rf-mosaic__item:nth-child(1) { grid-column: auto; grid-row: auto; }
.rf-mosaic--3 { grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(11rem, 19vw, 21rem); }
.rf-mosaic--3 .rf-mosaic__item:nth-child(1) { grid-column: auto; grid-row: span 2; }
.rf-mosaic--4 .rf-mosaic__item:nth-child(4) { grid-column: span 2; grid-row: auto; }
.rf-mosaic--5 .rf-mosaic__item:nth-child(4) { grid-row: auto; }
.rf-mosaic--6 { grid-template-columns: repeat(3, 1fr); }
.rf-mosaic--6 .rf-mosaic__item:nth-child(4) { grid-row: auto; }
.rf-mosaic--6 .rf-mosaic__item:nth-child(6) { grid-column: auto; }
.rf-mosaic--6 .rf-mosaic__item:nth-child(4) img { object-position: 50% 40%; }
.rf-awards__img { width: clamp(7rem, 12vw, 9.5rem); height: auto; }
.rf-awards:has(.rf-awards__img) { background: #0A0A0B; color: #F1EADB; }
.rf-awards:has(.rf-awards__img) h2 { color: #F1EADB; }
.rf-shoot { background: var(--ink); }
.rf-shoot__grid { columns: 4 16rem; column-gap: 6px; padding: 0 6px; margin-top: clamp(2rem, 4vw, 3rem); }
.rf-shoot__item { display: block; margin-bottom: 6px; break-inside: avoid; overflow: hidden; background: var(--char); }
.rf-shoot__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.rf-shoot__item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .rf-shoot__grid { columns: 2; } }

/* ------------------------------------------------------- dialogs, v3.1 -- */
html.rf-locked { overflow: hidden; }
.rf-player { margin: auto; }
@media (max-width: 760px) {
  .rf-player { width: 100vw; }
  .rf-player__bar { padding: 0 1rem; }
  .rf-player__title { font-size: 1.15rem; }
  .rf-lightbox img { max-width: 100vw; max-height: 78vh; }
  .rf-lightbox__nav { top: auto; bottom: 1.2rem; translate: none; }
}

/* Donate pop-up */
.rf-donate { width: min(30rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.rf-donate::backdrop { background: rgba(3, 3, 4, 0.86); backdrop-filter: blur(6px); }
.rf-donate[open] { animation: rf-in 400ms var(--ease); }
.rf-donate__card { position: relative; display: grid; justify-items: center; gap: 0.9rem; text-align: center; padding: clamp(2rem, 6vw, 3rem) clamp(1.4rem, 5vw, 2.6rem) clamp(1.6rem, 5vw, 2.2rem);
  background: radial-gradient(120% 80% at 50% 0%, #1b1712 0%, #0D0C0B 60%); border: 1px solid rgba(201, 162, 75, 0.35); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); overflow-y: auto; max-height: calc(100dvh - 2rem); }
.rf-donate__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #2B4BB3, transparent); }
.rf-donate__x { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; color: var(--text-soft, #bbb); cursor: pointer; }
.rf-donate__x svg { width: 1.1rem; }
.rf-donate__x:hover { color: var(--gold-hi); }
.rf-donate__logo { width: 4.6rem; height: auto; }
.rf-donate__kicker { margin: 0.4rem 0 0; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.rf-donate__title { margin: 0; font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1; letter-spacing: 0.01em; }
.rf-donate__text { margin: 0; max-width: 34ch; color: var(--text-soft, #c9c3b6); font-size: 0.95rem; line-height: 1.6; }
.rf-donate__text strong { color: var(--text); font-weight: 600; }
.rf-donate__pp { min-height: 3.2rem; display: grid; place-items: center; margin-top: 0.4rem; }
.rf-donate__ppbtn img, .rf-donate__ppbtn input[type="image"] { display: block; cursor: pointer; max-width: 100%; height: auto; }
.rf-donate__loading { margin: 0; font-size: 0.8rem; color: var(--text-soft, #aaa); }
.rf-donate.is-ready .rf-donate__loading, .rf-donate.is-fallback .rf-donate__pp { display: none; }
.rf-donate__fallback { min-width: 14rem; justify-content: center; }
.rf-donate.is-ready .rf-donate__fallback { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.25); }
.rf-donate__fine { margin: 0.2rem 0 0; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-soft, #999); }
