/* Optional opening layer. The authored website remains unchanged underneath. */
html.fhi-armed, html.fhi-armed body,
html.fhi-revealing, html.fhi-revealing body { overflow: hidden !important; }
html.fhi-armed body > :not(#fh-intro):not(script):not(style),
html.fhi-revealing body > :not(#fh-intro):not(script):not(style) {
  transition: opacity 1100ms cubic-bezier(.22,1,.36,1);
}
html.fhi-armed body > :not(#fh-intro):not(script):not(style) { opacity: 0 !important; }
html.fhi-revealing body > :not(#fh-intro):not(script):not(style) { opacity: 1; }
html.fhi-armed .hero__title .line > span { transform: translateY(105%) !important; transition: none !important; }
html.fhi-armed .frame--hero .hero__eyebrow,
html.fhi-armed .frame--hero .hero__lede,
html.fhi-armed .frame--hero .hero__actions,
html.fhi-armed .hero__facts { opacity: 0 !important; transition: none !important; }
#fh-intro {
  position: fixed; inset: 0; z-index: 2147483000; isolation: isolate;
  background: #05090d; color: #f1eee8; opacity: 1;
  transition: opacity 1100ms cubic-bezier(.4,0,.2,1);
}
#fh-intro.is-leaving { opacity: 0; pointer-events: none; }
#fh-intro video { display: block; width: 100%; height: 100%; object-fit: contain; }
.fhi-controls {
  position: absolute; right: max(28px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom)); display: flex; gap: 12px;
  align-items: center; padding: 5px; border-radius: 8px;
  background: rgba(5,9,13,.55); backdrop-filter: blur(10px);
}
.fhi-controls button {
  font: 500 13px/1.2 Inter, system-ui, sans-serif; color: #f1eee8;
  border: 1px solid rgba(227,199,126,.24); border-radius: 5px;
  min-height: 44px; padding: 0 17px; background: rgba(241,238,232,.035);
  cursor: pointer; transition: background 160ms, border-color 160ms;
}
.fhi-controls button:hover { background: rgba(227,199,126,.1); border-color: rgba(227,199,126,.65); }
.fhi-controls button:focus-visible { outline: 2px solid #e3c77e; outline-offset: 4px; }
.fhi-controls button[data-fhi-skip] { color: #e3c77e; }
@media (max-width:600px) {
  .fhi-controls { left: 18px; right: 18px; justify-content: space-between; bottom: max(22px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) {
  #fh-intro, html.fhi-revealing body > :not(#fh-intro):not(script):not(style) { transition: none; }
}
