/* The home page's video hero (tools/build-video-version.py; the home page since 2026-10-27). BGC's new site hero:
   full-screen footage under a red-to-purple wash and a fine dot screen, the header floating
   over it, big white type, white pill button. Loaded after bgc-2026.css. */

/* The header floats over the hero, transparent, as on bgc.reach.build. */
html body.fe-v2 #brx-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: transparent;
}
html body.fe-v2 #brx-header::after { /* a soft fade so the white logo and nav always read */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 4, 24, .55), rgba(20, 4, 24, 0));
}

html body.fe-v2 .fe-vhero {
  position: relative;
  display: flex;
  flex-direction: column; /* the theme stacks sections vertically: push the text to the bottom that way */
  justify-content: flex-end;
  align-items: stretch;
  /* Always the full screen (Billy, 2026-11-02: "the landing page is meant to be full"). The old
     980px cap left a strip of the next section showing on any screen taller than that. vh first,
     then svh where supported (phones: the height with the browser bars showing, so no jump). */
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(190px, 22vh, 240px) clamp(20px, 5vw, 80px) clamp(48px, 9vh, 110px);
  overflow: hidden;
  color: #fff;
  background: #240014 url("/assets/video/bgc-hero-poster.jpg") center / cover no-repeat;
}
html body.fe-v2 .fe-vhero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(.85);
}
/* The poster under the same treatment as the video. */
html body.fe-v2 .fe-vhero::before {
  content: ""; position: absolute; inset: 0;
  background: inherit;
  filter: grayscale(1) contrast(1.15) brightness(.85);
}
/* The wash (red at the top left, deep purple, BGC blue at the bottom right) + the dot screen
   + a darker floor so the text always reads. */
html body.fe-v2 .fe-vhero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(rgba(0, 0, 0, .28) 1px, transparent 1.3px) 0 0 / 4px 4px,
    linear-gradient(to top, rgba(18, 0, 14, .78) 0%, rgba(18, 0, 14, .2) 55%, rgba(18, 0, 14, 0) 80%),
    linear-gradient(125deg, rgba(227, 6, 19, .78) 0%, rgba(150, 18, 70, .74) 45%, rgba(39, 52, 118, .82) 100%);
}
html body.fe-v2 .fe-vhero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
html body.fe-v2 .fe-vhero h3 {
  margin: 0 0 .25em;
  color: #fff;
  font-weight: 500;
  font-size: clamp(5.2rem, 11vw, 13rem);
  line-height: .95;
  letter-spacing: -.05em;
  text-align: left !important;
}
html body.fe-v2 .fe-vhero h3 .fe-grad { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; }
html body.fe-v2 .fe-vhero p {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  line-height: 1.5;
  text-align: left !important;
  text-wrap: pretty;
}
html body.fe-v2 .fe-vhero p strong { color: #fff; font-weight: 500; }
html body.fe-v2 .fe-vhero .fe-dateline::before { content: "\A"; white-space: pre; }
html body.fe-v2 .fe-vhero .fe-keep { white-space: nowrap; font-size: min(1em, 5.15vw); }
html body.fe-v2 .fe-vhero__ctas { margin-top: clamp(24px, 3vw, 36px); }
html body.fe-v2 .fe-vhero .fe-register-cta { margin: 0; text-align: left !important; }
html body.fe-v2 .fe-vhero .fe-register-cta__btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 0 28px 0 32px;
  border-radius: 999px;
  background: #fff; color: #273476;
  font-weight: 500; font-size: 1.7rem; line-height: 1;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
html body.fe-v2 .fe-vhero .fe-register-cta__btn::after {
  content: ""; flex: none; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: var(--bgc-arrow) center / contain no-repeat; mask: var(--bgc-arrow) center / contain no-repeat;
}
html body.fe-v2 .fe-vhero .fe-register-cta__btn:hover { background: #0a0a0a; color: #fff !important; }
html body.fe-v2 .fe-vhero .fe-register-cta__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* The card below is the sections layout as before (Billy, 2026-10-27), starting with
   "Following last year's...": at its usual size, not the lead-in size the heading's paragraph had. */
html body.fe-v2 #brxe-gzlotb { padding-top: clamp(40px, 6vw, 90px); }
html body.fe-v2 #brxe-tsaevk .fe-home--after-hero .fe-home__lead p:first-of-type { font-size: inherit; margin-bottom: 0; }

/* Pause / play the video (hidden until it plays - hero-video.js). Bottom right, out of the text's way. */
html body.fe-v2 .fe-vhero__pause {
  position: absolute; z-index: 2;
  right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%;
  background: rgba(10, 10, 10, .35); color: #fff;
  cursor: pointer;
}
html body.fe-v2 .fe-vhero__pause[hidden] { display: none; }
html body.fe-v2 .fe-vhero__pause:hover { background: rgba(10, 10, 10, .6); }
html body.fe-v2 .fe-vhero__pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
html body.fe-v2 .fe-vhero__pause .fe-i-play,
html body.fe-v2 .fe-vhero__pause.is-paused .fe-i-pause { display: none; }
html body.fe-v2 .fe-vhero__pause.is-paused .fe-i-play { display: inline; }

@media (forced-colors: active) {
  html body.fe-v2 .fe-vhero__wash, html body.fe-v2 .fe-vhero::before { display: none; }
  html body.fe-v2 #brx-header { forced-color-adjust: none; background: #273476; } /* white logo: keep it on dark (review 2026-10-28) */
}
@media print {
  html body.fe-v2 #brx-header { position: static; }
  html body.fe-v2 #brx-header .bricks-site-logo { filter: invert(1); } /* the white logo, on paper */
  html body.fe-v2 .fe-vhero { min-height: 0; color: #000; background: none; }
  html body.fe-v2 .fe-vhero__video, html body.fe-v2 .fe-vhero__wash, html body.fe-v2 .fe-vhero::before,
  html body.fe-v2 .fe-vhero__pause { display: none; }
  /* (the "2027" span too: it is white on screen, and vanished from the printout - pre-launch review 2026-10-27) */
  html body.fe-v2 .fe-vhero h3, html body.fe-v2 .fe-vhero h3 .fe-grad, html body.fe-v2 .fe-vhero p, html body.fe-v2 .fe-vhero p strong { color: #000; }
}
