/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Open Sauce Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/open-sauce-sans-400.woff2") format("woff2"),
       url("fonts/open-sauce-sans-400.woff") format("woff");
}

@font-face {
  font-family: 'Open Sauce One';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/open-sauce-one-400.woff2") format("woff2"),
       url("fonts/open-sauce-one-400.woff") format("woff");
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: #000000;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: 'Open Sauce Sans', 'Open Sauce One', 'Helvetica Neue', Helvetica, sans-serif;
}

a { color: #FFFFFF; text-decoration: none; }
a:hover { color: #FE7A4D; }
::selection { background: #FE7A4D; color: #000000; }

/* ---------- Animations ---------- */
@keyframes bdrise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bdbg {
  0%   { transform: scale(1.14) translate3d(-1.5%, 1%, 0); }
  50%  { transform: scale(1.22) translate3d(1.8%, -1.6%, 0); }
  100% { transform: scale(1.14) translate3d(-1.5%, 1%, 0); }
}

@keyframes bdbgfade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Background layers ---------- */
.bd-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  animation: bdbgfade 1800ms ease both;
}

.bd-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  animation: bdbg 64s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.bd-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1200ms ease;
}

.bd-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(85% 65% at 50% 42%, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.6) 48%, rgba(0, 0, 0, 0.2) 100%);
}

/* ---------- Page layout ---------- */
#bd-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000000;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 4.5vmin, 60px);
  gap: clamp(28px, 7vh, 90px);
}

@media (max-width: 560px) {
  #bd-page { min-height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  .bd-bg-image,
  .bd-main,
  .bd-vision,
  .bd-footer {
    animation: none;
  }
}

.bd-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  flex-wrap: wrap;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  min-height: 14px;
}

.bd-main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(4px, 0.6vh, 8px);
  animation: bdrise 1200ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bd-logo {
  margin: 0;
  line-height: 0;
}

.bd-logo-svg {
  width: min(90vw, 900px);
  height: auto;
  display: block;
  margin: 0 auto;
  fill: #FFFFFF;
}

.bd-tagline {
  margin: 0;
  font-size: clamp(10px, 1.9vw, 12px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-weight: 500;
  text-wrap: balance;
}

.bd-accent { color: #FE7A4D; }

.bd-divider {
  width: 32px;
  height: 3px;
  margin: 0 auto;
  background: #FE7A4D;
}

.bd-vision {
  position: relative;
  isolation: isolate;
  max-width: 54ch;
  margin: clamp(24px, 3.6vh, 40px) auto 0;
  padding: 1.4em 1.6em;
  font-size: clamp(15px, 2.4vw, 20px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #B5B4B8;
  font-weight: 400;
  text-transform: none;
  text-align: center;
  animation: bdrise 1200ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bd-vision::before {
  content: '';
  position: absolute;
  inset: 10%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(30px);
}

.bd-footer {
  position: relative;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A09FA3;
  opacity: 0.6;
  text-align: left;
  animation: bdrise 1200ms 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
