/* Local Poppins fonts: no CDN or network dependency. */
@font-face {
  font-family: BridgeIntro;
  src: url("assets/poppins-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: BridgeIntro;
  src: url("assets/poppins-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}
.bci-screen, .bci-screen * { box-sizing: border-box; }
.bci-screen {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  color: #122138;
  font-family: BridgeIntro, Arial, sans-serif;
}
.bci-studio {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #fff;
}
.bci-poster, .bci-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.bci-film { opacity: 0; }
.bci-has-video .bci-film {
  opacity: 1;
  transition: opacity .25s ease;
}
.bci-centre {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 40%;
  width: calc(100% - 40px);
  transform: translate(-50%, -50%);
  text-align: center;
}
.bci-logo {
  position: relative;
  width: min(55vw, 740px);
  margin: 0 auto clamp(70px, 9vh, 90px);
}
.bci-logo-lift {
  opacity: 1;
  transform: none;
  transform-origin: 50% 80%;
}
.bci-logo svg { display: block; width: 100%; height: auto; }
.bci-logo-face { filter: drop-shadow(0 1px 1px #15345812); }
.bci-reflection {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  height: 58px;
  overflow: hidden;
  opacity: .07;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  filter: blur(.6px);
  pointer-events: none;
}
.bci-reflection svg { transform: scaleY(-1); transform-origin: center center; }
.bci-floor-shadow {
  position: absolute;
  left: 14%;
  right: 14%;
  height: 10px;
  bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #1933540a, transparent 70%);
  filter: blur(3px);
}
.bci-tagline {
  font-size: clamp(29px, 3.25vw, 48px);
  line-height: 1.17;
  letter-spacing: -.045em;
}
.bci-line { padding: 3px 10px; overflow: hidden; }
.bci-line span { display: inline-block; }
.bci-ambition { font-weight: 600; }
.bci-opportunity { font-weight: 400; font-style: italic; color: #214f9b; }
.bci-soft-shine { opacity: 0; }

/* Entrance runs once. There is intentionally no exit animation or timer. */
.bci-playing .bci-logo-lift {
  animation: logo-arrive 1.8s .08s cubic-bezier(.22, .61, .36, 1) both;
}
.bci-playing .bci-reflection { animation: logo-reflect 2s .12s ease both; }
.bci-playing .bci-floor-shadow { animation: logo-shadow 1.8s .08s ease both; }
.bci-playing .bci-ambition {
  animation: tagline-arrive .95s 1.08s cubic-bezier(.22, .61, .36, 1) both;
}
.bci-playing .bci-opportunity {
  animation: tagline-arrive 1s 1.24s cubic-bezier(.22, .61, .36, 1) both;
}
.bci-playing .bci-soft-shine {
  opacity: 1;
  animation: logo-light 2.1s .1s cubic-bezier(.4, 0, .2, 1) both;
}
@keyframes logo-arrive {
  from { opacity: 0; transform: translateY(12px) scale(1.035); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logo-reflect {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: .07; transform: translateY(0); }
}
@keyframes logo-shadow { from { opacity: 0; } to { opacity: 1; } }
@keyframes tagline-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes logo-light {
  from { transform: translate(0); }
  to { transform: translate(4900px); }
}
@media (max-width: 600px) {
  .bci-centre { top: 39%; width: calc(100% - 32px); }
  .bci-logo { width: 84vw; max-width: 380px; margin-bottom: 64px; }
  .bci-reflection { height: 32px; top: calc(100% + 9px); }
  .bci-tagline { font-size: clamp(27px, 7.6vw, 42px); }
  .bci-line { padding-inline: 0; }
}
@media (max-height: 520px) {
  .bci-centre { top: 44%; }
  .bci-logo { width: min(42vw, 340px); margin-bottom: 30px; }
  .bci-reflection { height: 20px; top: calc(100% + 5px); }
  .bci-tagline { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .bci-screen, .bci-screen * { animation: none !important; transition: none !important; }
  .bci-logo-lift, .bci-line span { opacity: 1 !important; transform: none !important; }
  .bci-reflection { opacity: .07; }
  .bci-floor-shadow { opacity: 1; }
  .bci-film, .bci-soft-shine { display: none !important; }
}
