:root {
  --c-bg: #080d14;
  --c-bg-surface: #0e1622;
  --c-gold: #c5a059;
  --c-gold-light: #e6cb95;
  --c-gold-hairline: rgba(197, 160, 89, 0.25);
  --c-ivory: #f4f6f8;
  --c-ivory-dim: rgba(244, 246, 248, 0.75);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --banner-h: 38px;
  --banner-h-mob: 32px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--c-bg);
  color: var(--c-ivory);
  font-family: var(--font-sans);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Floating Showcase Return Bar */
.bms-agency-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--banner-h);
  background: rgba(8, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-gold-hairline);
  z-index: 1000;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.bms-banner-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  box-sizing: border-box;
}

.bms-back-link {
  color: var(--c-ivory-dim);
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

.bms-back-link:hover {
  color: var(--c-gold);
}

.bms-demo-badge {
  color: var(--c-ivory);
  white-space: nowrap;
}

.bms-demo-badge strong {
  color: var(--c-gold);
}

.bms-order-btn {
  color: var(--c-gold-light);
  text-decoration: none;
  border-bottom: 1px solid var(--c-gold);
  padding: 2px 0;
  font-size: 0.74rem;
  white-space: nowrap;
  transition: 0.2s;
}

.bms-order-btn:hover {
  color: #fff;
  border-color: #fff;
}

/* Fixed Video Canvas Backdrop */
.fixed-canvas-container {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  width: 100vw;
  height: calc(100vh - var(--banner-h));
  z-index: 1;
  pointer-events: none;
  background: var(--c-bg);
}

.fullscreen-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.scrim-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(8, 13, 20, 0.65) 100%);
  pointer-events: none;
}

.scrim-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.editorial-watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 18rem);
  color: rgba(197, 160, 89, 0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* Fixed Header HUD */
.site-header {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 100;
  padding: 16px 24px;
  pointer-events: none;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.brand-logo {
  pointer-events: auto;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.54rem;
  letter-spacing: 0.15em;
  color: var(--c-gold);
  margin-top: 1px;
  white-space: nowrap;
}

.journey-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  background: rgba(14, 22, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 40px;
  border: 1px solid var(--c-gold-hairline);
  color: var(--c-gold-light);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 8px var(--c-gold);
}

.header-cta {
  pointer-events: auto;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--c-gold);
  color: #080d14;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary-gold:hover {
  background: #dfbc77;
  transform: translateY(-2px);
}

/* Scroll Journey Track (360vh) */
.story-track {
  position: relative;
  height: 380vh;
  z-index: 10;
}

.story-chapter {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--banner-h));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0 5vw;
}

.story-chapter.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.story-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.editorial-block {
  max-width: 460px;
  pointer-events: auto;
  background: rgba(8, 14, 22, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px 34px;
  border-radius: 16px;
  border: 1px solid var(--c-gold-hairline);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.editorial-block.align-left {
  margin-right: auto;
}

.editorial-block.align-right {
  margin-left: auto;
}

.editorial-block.align-center {
  margin: 0 auto;
  text-align: center;
  max-width: 540px;
}

.chapter-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--c-gold);
}

.chapter-index.center-align {
  justify-content: center;
}

.idx-line {
  width: 24px;
  height: 1px;
  background: var(--c-gold);
}

.editorial-headline {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.25;
  margin-bottom: 12px;
  font-weight: 400;
  color: #fff;
}

.highlight-gold {
  color: var(--c-gold-light);
  font-style: italic;
}

.editorial-paragraph {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-ivory-dim);
  margin-bottom: 18px;
}

.editorial-specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--c-gold-hairline);
  padding-top: 14px;
}

.spec-label {
  display: block;
  font-family: monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  margin-bottom: 3px;
}

.spec-value {
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
}

/* Lower Website Content */
.website-content {
  position: relative;
  z-index: 50;
  background: var(--c-bg);
  padding: 80px 0 50px;
  border-top: 1px solid var(--c-gold-hairline);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.9);
}

.content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.section-kicker {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--c-gold);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 12px 0 8px;
  font-weight: 400;
  color: #fff;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--c-ivory-dim);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
}

.consultation-box {
  background: rgba(14, 22, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-gold-hairline);
  padding: 36px 30px;
  border-radius: 16px;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.consultation-box p {
  font-size: 0.90rem;
  color: var(--c-ivory-dim);
  line-height: 1.6;
}

.site-footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.74rem;
  color: rgba(244, 246, 248, 0.4);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM
   ========================================================================== */
@media (max-width: 768px) {
  .bms-agency-banner {
    height: var(--banner-h-mob);
    padding: 0 10px;
  }

  .bms-banner-inner {
    padding: 0 4px;
    font-size: 0.68rem;
  }

  .bms-demo-badge {
    display: none;
  }

  .bms-back-link {
    font-size: 0.68rem;
  }

  .bms-order-btn {
    font-size: 0.65rem;
  }

  .fixed-canvas-container {
    top: var(--banner-h-mob);
    height: calc(100vh - var(--banner-h-mob));
  }

  .site-header {
    top: var(--banner-h-mob);
    padding: 8px 12px;
    background: rgba(8, 13, 20, 0.85);
    backdrop-filter: blur(10px);
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-sub {
    font-size: 0.46rem;
  }

  .journey-indicator {
    display: none;
  }

  .btn-primary-gold {
    padding: 6px 12px;
    font-size: 0.68rem;
  }

  .story-chapter {
    top: var(--banner-h-mob);
    height: calc(100vh - var(--banner-h-mob));
    align-items: flex-end;
    padding-bottom: 24px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .editorial-block {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 16px 16px;
    border-radius: 12px;
  }

  .editorial-headline {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .editorial-paragraph {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .editorial-specs-row {
    gap: 8px;
    padding-top: 10px;
  }

  .spec-label {
    font-size: 0.50rem;
  }

  .spec-value {
    font-size: 0.68rem;
  }

  .consultation-box {
    padding: 24px 18px;
  }
}
