/* ======================================================
   BGs Brandbook — Style Sheet
   A faithful reproduction of the Figma design (530:219)
   ====================================================== */

/* ── Font Face ────────────────────────────────────────── */
@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Regular.woff2') format('woff2'),
    url('fonts/NeueMontreal-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Bold.woff2') format('woff2'),
    url('fonts/NeueMontreal-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Base ────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Design tokens from Figma */
  --bg-dark: #111111;
  --text-cream: #E6E6D8;
  --font-primary: 'Neue Montreal', sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-cream);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Grain Overlay ───────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-dark);
}

/* ── Brand Block (centered content) ──────────────────── */
.brand-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

/* ── Title ───────────────────────────────────────────── */
.brand-title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  text-align: center;
  color: var(--text-cream);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.title-line {
  display: block;
}

.em-dash {
  display: inline-block;
  padding: 0 0 0 4px;
  letter-spacing: 0.15em;
}



/* ── Subtitle & Locations ────────────────────────────── */
.brand-subtitle,
.brand-locations {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: var(--text-cream);
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 6px;
}

.brand-locations {
  margin-top: 3px;
}

/* ── Logotype Row ────────────────────────────────────── */
.logotype-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-icon:hover {
  transform: scale(1.08);
}

.logo-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Badge Pill (1604) ───────────────────────────────── */
.badge-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  min-width: 63px;
  padding: 0 8px;
  border: 3.5px solid var(--text-cream);
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

.badge-pill:hover {
  background-color: var(--text-cream);
}

.badge-pill:hover .badge-text {
  color: var(--bg-dark);
}

.badge-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  color: var(--text-cream);
  transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  letter-spacing: 0.02em;
}

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered entrance for child elements */
.brand-title {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.35s forwards;
}



.brand-subtitle {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
}

.brand-locations {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

.logotype-row {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.75s forwards;
}



/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 480px) {
  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle,
  .brand-locations {
    font-size: 16px;
  }

  .badge-text {
    font-size: 15px;
  }
}