/* ===================================================================
   BonFire Breakfast Productions — dark cinematic page
   Scoped under body.bonfire-page so it never affects the rest of the
   RemoteFlyBy site. Loaded AFTER style.css on bonfire.html only.
   Palette pulled from the BonFire logo + film poster.
   =================================================================== */

.bonfire-page {
  --bf-black: #0d0a09;      /* warm near-black page background   */
  --bf-surface: #1a1210;    /* cards / panels                    */
  --bf-surface-2: #241713;  /* raised surface                    */
  --bf-crimson: #8a1a12;    /* deep blood red                    */
  --bf-ember: #e8621f;      /* primary accent (ember orange)     */
  --bf-gold: #f0a830;       /* secondary accent                  */
  --bf-text: #f2e9e3;       /* warm off-white body text          */
  --bf-muted: #b6a49a;      /* muted warm grey                   */
  --bf-line: rgba(232, 98, 31, 0.22);
  --bf-display: "Cinzel", Georgia, serif;
  --bf-body: "EB Garamond", Georgia, serif;

  background: var(--bf-black);
  color: var(--bf-text);
}

/* Warm ember glow anchored behind the top of the page */
.bonfire-page #content,
.bonfire-page .bf {
  position: relative;
}

.bonfire-page h1,
.bonfire-page h2,
.bonfire-page h3,
.bonfire-page h4 {
  font-family: var(--bf-display);
  color: var(--bf-text);
  letter-spacing: .02em;
  line-height: 1.15;
}

/* ------------------------------------------------------------------
   Header — takes on the BonFire identity on this page only
   ------------------------------------------------------------------ */
.bonfire-page .site-header {
  background: #0d0a09;
  border-bottom: 1px solid var(--bf-line);
  box-shadow: 0 2px 22px rgba(0, 0, 0, .55);
}
.bonfire-page .header-inner { padding-top: 14px; padding-bottom: 14px; }

.bf-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.bf-header-brand:hover { color: inherit; }
.bf-header-logo {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 0 22px rgba(232, 98, 31, .28);
}
.bf-header-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--bf-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bf-text);
}
.bf-header-wordmark small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--bf-ember);
  margin-top: 5px;
}

/* Light nav on the dark header */
.bonfire-page .main-navigation a { color: #e7dbd2; }
.bonfire-page .main-navigation a:hover,
.bonfire-page .main-navigation .current a { color: var(--bf-ember); }
.bonfire-page .menu-toggle span { background: #f2e9e3; }
.bonfire-page .main-navigation a { border-top-color: rgba(255, 255, 255, .09); }

@media (max-width: 520px) {
  .bf-header-wordmark { font-size: 16px; }
  .bf-header-logo { height: 46px; }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.bf-hero {
  position: relative;
  text-align: center;
  padding: clamp(56px, 9vw, 110px) 20px clamp(44px, 7vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(232, 98, 31, 0.28) 0%, rgba(138, 26, 18, 0.18) 34%, rgba(13, 10, 9, 0) 68%),
    var(--bf-black);
}
.bf-hero::after { /* faint ember spark texture */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(240, 168, 48, 0.14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.bf-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.bf-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.bf-logo {
  width: clamp(150px, 24vw, 230px);
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 40px rgba(232, 98, 31, 0.35));
}
.bf-hero h1 {
  font-size: clamp(30px, 5.4vw, 58px);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.bf-hero h1 .amp { color: var(--bf-ember); }
.bf-tagline {
  font-family: var(--bf-body);
  font-size: clamp(18px, 2.4vw, 24px);
  font-style: italic;
  color: var(--bf-gold);
  margin: 0;
}

/* ------------------------------------------------------------------
   Generic section rhythm
   ------------------------------------------------------------------ */
.bf-section { padding: clamp(48px, 7vw, 90px) 0; }
.bf-section + .bf-section { border-top: 1px solid var(--bf-line); }
.bf-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.bf-eyebrow {
  display: inline-block;
  font-family: var(--bf-display);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bf-ember);
  margin: 0 0 14px;
}
.bf-section-title {
  font-size: clamp(26px, 4vw, 40px);
  text-transform: uppercase;
  margin: 0 0 28px;
}
.bf-lede,
.bf-body {
  font-family: var(--bf-body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
  color: #e7dbd2;
}
.bf-body p { margin: 0 0 1.2em; }
.bf-body p:last-child { margin-bottom: 0; }

.bf-about { text-align: center; }
.bf-about .bf-lede { max-width: 760px; margin: 0 auto 1.2em; }
.bf-about .bf-lede strong { color: var(--bf-text); }

/* ------------------------------------------------------------------
   Film blocks (Past Work)
   ------------------------------------------------------------------ */
.bf-film + .bf-film { margin-top: clamp(52px, 7vw, 88px); }
.bf-film-head {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.bf-poster {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(240, 168, 48, .18);
}
.bf-film-meta .bf-film-title {
  font-size: clamp(26px, 3.6vw, 38px);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.bf-film-tagline {
  font-family: var(--bf-body);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--bf-gold);
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--bf-ember);
}
.bf-badge {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--bf-display);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bf-gold);
  border: 1px solid var(--bf-line);
  border-radius: 999px;
  padding: 7px 16px;
}

/* Trailers row */
.bf-trailers {
  margin-top: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.bf-trailer-label {
  font-family: var(--bf-display);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bf-muted);
  margin: 0 0 10px;
}

/* Trailer-only films (Breakfast, Macho) — simpler cards */
.bf-subhead {
  margin-top: clamp(52px, 7vw, 88px);
  font-family: var(--bf-display);
  font-size: clamp(20px, 2.6vw, 26px);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bf-line);
}
.bf-film-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.bf-film-card .bf-card-title {
  font-size: clamp(22px, 2.6vw, 28px);
  text-transform: uppercase;
  margin: 16px 0 6px;
}
.bf-film-card .bf-card-tagline {
  font-family: var(--bf-body);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--bf-gold);
  margin: 0 0 8px;
}

/* Photo gallery */
.bf-gallery {
  margin-top: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.bf-gallery figure { margin: 0; }
.bf-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .05);
  transition: transform .4s ease, box-shadow .4s ease;
}
.bf-gallery a { display: block; }
.bf-gallery a:hover img {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .6), 0 0 0 1px var(--bf-line);
}

/* ------------------------------------------------------------------
   "Demons to Burn?" resources + quotes
   ------------------------------------------------------------------ */
.bf-resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.bf-resource {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--bf-surface);
  border: 1px solid var(--bf-line);
  border-radius: 8px;
  padding: 20px;
  transition: border-color .2s ease, transform .15s ease;
}
.bf-resource:hover { border-color: var(--bf-ember); transform: translateY(-3px); }
.bf-resource img {
  background: #fff;
  border-radius: 5px;
  padding: 9px;
  width: auto;
  max-width: 100%;
  max-height: 54px;
}
.bf-resource .bf-resource-name {
  font-family: var(--bf-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  color: var(--bf-text);
}
.bf-resource .bf-resource-url {
  font-family: var(--bf-body);
  font-size: 14px;
  color: var(--bf-muted);
  word-break: break-word;
}
.bf-ted {
  margin-top: 18px;
  font-family: var(--bf-body);
  font-size: 17px;
  color: #e7dbd2;
}
.bf-ted a { color: var(--bf-gold); }
.bf-ted a:hover { color: var(--bf-ember); }

.bf-quotes { margin-top: 26px; columns: 2; column-gap: 16px; }
@media (min-width: 820px) { .bf-quotes { columns: 3; } }
.bf-quotes img {
  width: 100%;
  margin: 0 0 16px;
  border-radius: 6px;
  break-inside: avoid;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

/* ------------------------------------------------------------------
   Video facade — ember-tinted variant of the shared .video-embed
   ------------------------------------------------------------------ */
.bonfire-page .video-embed { background: #000; border: 1px solid rgba(255,255,255,.06); }
.bonfire-page .video-embed .play-icon { background: var(--bf-ember); }
.bonfire-page .video-embed:hover .play-icon,
.bonfire-page .video-embed .video-play:focus-visible .play-icon {
  box-shadow: 0 0 40px 0 rgba(232, 98, 31, .6);
}
.bf-watch {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--bf-display);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bf-ember);
}
.bf-watch:hover { color: var(--bf-gold); }

/* ------------------------------------------------------------------
   Contact CTA
   ------------------------------------------------------------------ */
.bf-cta {
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 100%, rgba(232, 98, 31, 0.22) 0%, rgba(13, 10, 9, 0) 60%),
    var(--bf-surface);
}
.bf-cta .bf-lede { max-width: 620px; margin: 0 auto 28px; }
.bf-btn {
  display: inline-block;
  font-family: var(--bf-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 15px;
  color: #fff;
  background: var(--bf-ember);
  padding: 15px 34px;
  border-radius: 999px;
  transition: box-shadow .25s ease, transform .1s ease, background .2s ease;
}
.bf-btn:hover {
  color: #fff;
  background: #f0731f;
  box-shadow: 0 0 44px 0 rgba(232, 98, 31, .55);
}
.bf-contact-details {
  margin-top: 22px;
  font-family: var(--bf-body);
  font-size: 18px;
  color: var(--bf-muted);
}
.bf-contact-details a { color: var(--bf-gold); }
.bf-contact-details a:hover { color: var(--bf-ember); }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
  .bf-film-head { grid-template-columns: 1fr; }
  .bf-poster { max-width: 300px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bonfire-page .video-embed .play-icon,
  .bf-gallery img { transition: none; }
}
