/**
 * Walalangi & Partners · A Decade of Distinction
 * Corporate Identity & Logo Rebranding Stylesheet (branding.css)
 */

/* ==========================================================================
   1. Typography System
   ========================================================================== */
.font-heading {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif) !important;
}

.font-poppins {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.font-cinzel {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif !important;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   2. Navigation Action Button & True Horizontal Navbar Centering
   ========================================================================== */
.navbar {
  position: relative !important;
}

@media (min-width: 993px) {
  .nav-menu {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    z-index: 5 !important;
  }
}

.nav-actions .btn-start {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.nav-actions .btn-start i {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-actions .btn-start:hover i {
  transform: translateX(-3px);
}

/* ==========================================================================
   3. Hero Section Adjustments (Center Aligned Layout)
   ========================================================================== */
.hero-main-content {
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hero-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  text-transform: uppercase;
  font-size: 40px !important;
  font-weight: 700;
  line-height: 1.1 !important;
  gap: 0px !important;
  margin: 0 auto 16px auto !important;
  width: 100% !important;
  max-width: 960px;
}

.hero-title br {
  display: none !important;
}

.hero-title-line {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}

.hero-title-flip-container {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.hero-title-flip-word {
  text-align: center !important;
}

.hero-title-flip-word.flip-out {
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
}

.hero-title-flip-word.flip-in {
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
}

.hero-flip-phrases {
  display: none !important;
}

.hero-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
  max-width: 65% !important;
}

.hero-actions-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: 10px !important;
}

/* ==========================================================================
   3. Section 2 (Brand Logo Section) Video Background & Dark Overlay
   ========================================================================== */
.sect2-video-bg-wrap {
  position: absolute;
  inset: -2px 0 -2px 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: #000000;
  transform: translateZ(0);
  will-change: transform;
}

.sect2-video-bg-wrap::before,
.sect2-video-bg-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}

.sect2-video-bg-wrap::before {
  top: -1px;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.sect2-video-bg-wrap::after {
  bottom: -1px;
  background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.sect2-video-bg {
  width: 100%;
  height: calc(100% + 4px);
  margin-top: -2px;
  object-fit: cover;
  object-position: center center;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.sect2-video-dark-overlay {
  position: absolute;
  inset: -2px 0 -2px 0;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  background:
    radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.92) 75%, #000000 100%),
    linear-gradient(180deg,
      #000000 0%,
      rgba(0, 0, 0, 0.85) 12%,
      rgba(0, 0, 0, 0.35) 30%,
      rgba(0, 0, 0, 0.35) 70%,
      rgba(0, 0, 0, 0.85) 88%,
      #000000 100%);
}

.the-process-section,
.brand-logo-section {
  position: relative;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: #000000 !important;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.brand-process-indicator {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  user-select: none;
  cursor: pointer;
  text-align: center;
}

.brand-process-indicator .process-heading-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.brand-process-indicator .process-subtitle {
  margin: 0;
  padding: 0;
  font-family: var(--font-poppins);
  font-size: clamp(14px, 1.35vw, 17px);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: clamp(1.5px, 0.5vw, 5px);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin-top: -10px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-process-indicator .process-text {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 500;
  letter-spacing: clamp(6px, 1vw, 12px);
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: color 0.45s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-process-indicator .process-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    color 0.4s ease,
    text-shadow 0.4s ease;
  transition-delay: 0s;
}

.brand-process-indicator.is-revealed .process-char {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s ease,
    text-shadow 0.4s ease;
  transition-delay: var(--d, 0s);
}

.brand-process-indicator .process-space {
  display: inline-block;
  width: 0.35em;
}

.brand-process-indicator .process-icon {
  font-size: 16px;
  color: var(--gold-light, #e0b369);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  transition-delay: 0s;
}

.brand-process-indicator.is-revealed .process-icon {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-process-indicator.is-revealed .process-icon:first-child {
  transition-delay: 0.05s;
}

.brand-process-indicator.is-revealed .process-icon:last-child {
  transition-delay: 0.35s;
}

/* Hover: White text turns gold with radiant glow */
.brand-process-indicator:hover .process-text,
.brand-process-indicator:hover .process-char {
  transition-delay: 0s !important;
  color: var(--gold-light, #e0b369) !important;
  text-shadow:
    0 0 14px rgba(224, 179, 105, 0.85),
    0 0 32px rgba(224, 179, 105, 0.5),
    0 0 54px rgba(224, 179, 105, 0.25);
}

.brand-process-indicator:hover .process-subtitle {
  transition-delay: 0s !important;
  color: var(--gold-light, #e0b369);
  text-shadow: 0 0 16px rgba(224, 179, 105, 0.4);
}

.brand-process-indicator:hover .process-icon {
  transition-delay: 0s !important;
  filter: blur(0px) drop-shadow(0 0 18px rgba(224, 179, 105, 1));
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .brand-process-indicator {
    gap: 12px;
  }

  .brand-process-indicator .process-heading-row {
    gap: 12px;
  }

  .brand-process-indicator .process-text {
    font-size: clamp(18px, 4vw, 26px);
    letter-spacing: clamp(2px, 0.8vw, 4px);
    min-height: 38px;
  }

  .brand-process-indicator .process-subtitle {
    font-size: clamp(11px, 2.7vw, 13px);
    letter-spacing: clamp(1px, 0.3vw, 2px);
    white-space: normal;
    padding: 0 16px;
  }

  .brand-process-indicator .process-icon {
    font-size: 10px;
  }
}

/* ==========================================================================
   4. Section Rebranding Philosophy & Architectural Anatomy
   ========================================================================== */
.rebrand-philosophy-section {
  position: relative;
  background: #000000;
  border-top: none !important;
  border-bottom: none !important;
  padding: 110px 0 100px 0;
  overflow: hidden;
  margin-top: -2px;
}

.rebrand-phil-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.brand-logo-container {
  display: none !important;
}

.rebrand-philosophy-section .brand-logo-container,
.os-section .brand-logo-container {
  margin: 80px auto 100px auto;
  position: relative;
  z-index: 10;
  width: 100%;
  display: none !important;
  justify-content: center;
  align-items: center;
}


.rebrand-philosophy-section .brand-logo-wrap,
.os-section .brand-logo-wrap {
  padding: 16px 28px 24px 28px;
}

.rebrand-phil-title {
  font-size: clamp(34px, 3.8vw, 54px);
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: capitalize;
}

.rebrand-phil-subtitle {
  font-size: 14px;
  line-height: 1.65;
  color: #a1a1aa;
  margin: 0;
  max-width: 720px;
}

.rebrand-phil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}

.rebrand-phil-card {
  position: relative;
  background: rgba(14, 14, 20, 0.65);
  border: 1px solid rgba(224, 179, 105, 0.16);
  border-radius: 12px;
  padding: 38px 32px 34px 32px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.rebrand-phil-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(224, 179, 105, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rebrand-phil-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 179, 105, 0.45);
  background: rgba(18, 18, 26, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(224, 179, 105, 0.08);
}

.rebrand-phil-card:hover::before {
  opacity: 1;
}

.rebrand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.rebrand-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-light, #e0b369);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.rebrand-card-badge {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.rebrand-card-glyph {
  font-size: 64px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 22px;
  height: 70px;
  display: flex;
  align-items: center;
}

.glyph-accent {
  color: var(--gold-primary, #d4af37);
  font-size: 0.85em;
  margin-left: 2px;
}

.rebrand-card-title {
  font-size: 24px;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 14px 0;
  font-weight: 600;
}

.rebrand-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #a1a1aa;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.rebrand-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(224, 179, 105, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .rebrand-phil-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Background Context Section (Rebranding Strategic Imperative)
   ========================================================================== */
.bgcontext-section {
  position: relative;
  background: #000000;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 120px 0 140px;
  overflow-x: clip;
}

.bgcontext-ambient-glow {
  display: none !important;
}

.bgcontext-grid {
  position: relative;
  z-index: 2;
}

.bgcontext-card-img {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 30px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: .5;
}

.bgcontext-cap-card:hover .bgcontext-card-img {
  transform: scale(1.05);
  opacity: 1;
}

#bgContextDynamicIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#bgContextDynamicBadge {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  color: var(--gold-light);
  background: transparent;
  border: none;
  padding: 0;
  padding-left: 5px;
  font-size: 13px;
}

.bgcontext-metric-carousel {
  min-height: 230px;
  margin-bottom: 24px;
}

.bgcontext-metric-carousel .compliance-stat-title {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 14px 0;
  color: #ffffff;
}

.bgcontext-metric-carousel .compliance-stat-text {
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
}

.bgcontext-drivers {
  position: relative;
  z-index: 2;
}

/* Right-align all header elements in Drivers section */
.bgcontext-drivers .capabilities-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 14px;
  width: 100%;
  margin-left: auto;
}

.bgcontext-drivers .capabilities-title-wrap {
  max-width: 680px;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.bgcontext-drivers .capabilities-heading {
  text-align: right;
}

.bgcontext-drivers .capabilities-desc-wrap {
  max-width: 540px;
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.bgcontext-drivers .capabilities-subheading {
  text-align: right;
}

@media (max-width: 768px) {
  .bgcontext-section {
    padding: 70px 0 90px;
  }
}

.compliance-card-topbar {
  margin-bottom: 24px;
}

.capabilities-desc-wrap {
  flex: auto;
}

/* Background Context Drivers Sticky Scroll Stacking */
#bgc_card_1 {
  position: sticky;
  top: 100px;
  z-index: 1;
}

#bgc_card_2 {
  position: sticky;
  top: 140px;
  z-index: 2;
}

#bgc_card_3 {
  position: relative;
  z-index: 3;
}

@media (max-width: 860px) {

  #bgc_card_1,
  #bgc_card_2,
  #bgc_card_3 {
    position: relative;
    top: auto;
  }
}

.cap-card-details {
  max-width: 50%;
}

.cap-card-image-wrap {
  max-width: 40%;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.cap-card-image-inner {
  position: relative;
  background-color: transparent;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cap-card-image-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.6) 70%, #000000 100%);
  box-shadow: inset 0 0 50px 50px #000000;
}

#background-context .compliance-webgl-canvas {
  opacity: 0.5;
}

/* ==========================================================================
   Seamless Continuous Flow — Remove All Section Dividing Borders & Glows
   ========================================================================== */
section,
.hero-section,
.the-process-section,
.brand-logo-section,
.the-unicorn-section,
.bgcontext-section,
.rebrand-philosophy-section,
.section-positioning,
.platform-section,
.copilot-section,
.fee-section,
.kpi-section,
.lifecycle-section,
.benefit-section,
.case-study-section,
.os-section,
.cta-section,
.compliance-section {
  border-top: none !important;
  border-bottom: none !important;
}

/* Remove section divider glow effects */
.bgcontext-ambient-glow,
.copilot-section::before,
.lifecycle-section::before {
  display: none !important;
  background: none !important;
}

/* ==========================================================================
   Brand Identity & Guidelines Board (Reference Layout Spec)
   ========================================================================== */
.brand-identity-board {
  margin: 45px auto 70px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Board Header (Styled matching compliance-left) */
.bgb-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 45px;
  max-width: 90%;
}

.bgb-header .section-tag-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.bgb-header .bgb-title,
.bgb-header .compliance-heading {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 20px 0;
}

.bgb-header .bgb-lead,
.bgb-header .compliance-desc {
  font-family: var(--font-poppins);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #9ca3af;
  max-width: 70%;
  margin: 0;
}

/* Board Section Dividers */
.bgb-section {
  margin-top: 70px;
}

.bgb-section-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.bgb-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.bgb-section-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}

/* Section 1: Logo Construction */
.bgb-construction-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bgb-blueprint-card {
  position: relative;
  background: transparent;
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 1376 / 768;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}

.bgb-blueprint-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Atur ketebalan vignette: 80px (kehalusan blur), 30px (ketebalan hitam dari tepi) */
  box-shadow: inset 0 0 100px 60px #000000;
  z-index: 2;
}

.bgb-blueprint-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bgb-construction-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bgb-mark-card,
.bgb-clearspace-card {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Visual Identity Card (Reference Layout) */
.bgb-mark-card.bgb-vi-card {
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  background: transparent;
  border-radius: 4px;
  border: 0;
  padding: 0;
  overflow: hidden;
}

.bgb-vi-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(16px, 2.2vw, 30px) clamp(16px, 2vw, 28px) clamp(10px, 1.2vw, 16px);
  z-index: 2;
}

.bgb-vi-icon-wrap {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.bgb-vi-icon {
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(237, 215, 155, 0.35));
}

.bgb-vi-title {
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif) !important;
  font-size: clamp(13px, 1.35vw, 22px);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.2;
  color: #edd79b;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.bgb-vi-desc {
  font-family: var(--font-poppins), sans-serif;
  font-size: clamp(8px, 1.2vw, 13px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
}

.bgb-vi-desc+.bgb-vi-desc {
  margin-top: 15px;
}

.bgb-vi-media {
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bgb-vi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  display: block;
  object-position: bottom;
  filter: saturate(0.5);
}

.bgb-mark-card.bgb-vi-card:hover .bgb-vi-img {
  transform: scale(1.02);
  border-color: rgba(237, 215, 155, 0.3);
}

.bgb-mark-svg,
.bgb-clearspace-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 2x2 Matrix inside bgb-clearspace-card (Reference Layout) */
.bgb-clearspace-card .bgb-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  background: transparent;
  overflow: hidden;
}

.bgb-clearspace-card .bgb-matrix-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  position: relative;
  transition: background 0.3s ease;
}

.bgb-clearspace-card .bgb-matrix-cell:hover {}

/* Hairline cross divider */
.bgb-clearspace-card .bgb-matrix-cell:nth-child(1) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bgb-clearspace-card .bgb-matrix-cell:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bgb-clearspace-card .bgb-matrix-cell:nth-child(3) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.bgb-clearspace-card .bgb-matrix-icon-wrap {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bgb-clearspace-card .bgb-matrix-cell:hover .bgb-matrix-icon-wrap {
  transform: scale(1.08);
}

.bgb-clearspace-card .bgb-matrix-svg {
  width: 70px;
  height: 70px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(237, 215, 155, 0.25));
  transition: filter 0.3s ease;
}

.bgb-clearspace-card .bgb-matrix-cell:hover .bgb-matrix-svg {
  filter: drop-shadow(0 0 14px rgba(237, 215, 155, 0.55));
}

.bgb-clearspace-card .bgb-matrix-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(8px, 1.2vw, 20px);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}

.bgb-clearspace-card .bgb-matrix-desc {
  font-family: var(--font-poppins);
  font-size: clamp(8px, 1.2vw, 13px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin: 8px 0 0 0;
  max-width: 80%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section 2: Typography */
.bgb-typography-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  align-items: center;
  padding: 8px 0;
}

.bgb-typo-specimens {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bgb-specimen-item {
  display: flex;
  align-items: baseline;
}

.bgb-glyph-serif {
  font-family: var(--font-heading);
  font-size: clamp(68px, 8.5vw, 94px);
  font-weight: 400;
  line-height: 0.92;
  color: #f2ede4;
  letter-spacing: -0.02em;
}

.bgb-glyph-sans {
  font-family: var(--font-poppins);
  font-size: clamp(60px, 7.8vw, 84px);
  font-weight: 300;
  line-height: 0.95;
  color: #f2ede4;
  letter-spacing: -0.02em;
}

.bgb-typo-scales {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 32px;
}

.bgb-scale-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #edd79b;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.bgb-scale-weights {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.bgb-chars-primary .bgb-char-row {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 7px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  word-break: break-all;
}

.bgb-chars-secondary .bgb-char-row {
  font-family: var(--font-poppins);
  font-size: 13px;
  letter-spacing: 6px;
  line-height: 1.85;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  word-break: break-all;
}

/* Section 3: Color Palette */
.bgb-palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bgb-swatch-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bgb-swatch-color {
  height: 72px;
  width: 100%;
  border-radius: 2px;
}

.bgb-swatch-gold {
  background: linear-gradient(135deg, #fdf6e6 0%, #edd79b 52%, #cba358 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.bgb-swatch-dark {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bgb-swatch-cream {
  background: #f2ede4;
}

.bgb-swatch-taupe {
  background: #b8aa93;
}

.bgb-swatch-meta {
  text-align: center;
}

.bgb-swatch-hex {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}

/* Section 4: Brand Strategy & Voice (3 Columns Equal Height) */
.bgb-dual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  align-items: stretch;
}

.bgb-values-col,
.bgb-personality-col,
.bgb-tone-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bgb-col-heading {
  font-family: var(--font-heading) !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 30px;
  flex-shrink: 0;
}

.bgb-values-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
}

.bgb-value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.bgb-value-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(237, 215, 155, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #edd79b;
  font-size: 15px;
  flex-shrink: 0;
  background: rgba(237, 215, 155, 0.06);
}

.bgb-value-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f5eedf;
  margin: 0 0 5px 0;
}

.bgb-value-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.bgb-sliders-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
}

.bgb-slider-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  flex: 1;
}

.bgb-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.bgb-slider-labels span:nth-child(2) {
  color: #ffffff;
}

.bgb-slider-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  margin: 4px 0;
}

.bgb-slider-dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #edd79b;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 9px rgba(237, 215, 155, 0.9);
}

/* Column 3: Tone of Voice Cards */
.bgb-tone-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}

.bgb-tone-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: border-color 0.25s ease, background 0.25s ease;
  flex: 1;
}

.bgb-tone-item:hover {
  border-color: rgba(237, 215, 155, 0.35);
  background: rgba(237, 215, 155, 0.03);
}

.bgb-tone-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bgb-tone-badge {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #edd79b;
  background: rgba(237, 215, 155, 0.1);
  padding: 2px 6px;
  border-radius: 2px;
}

.bgb-tone-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f5eedf;
  margin: 0;
}

.bgb-tone-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Section 5: Visual Style */
.bgb-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bgb-style-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bgb-style-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.5);
}

.bgb-style-tile:hover img {
  transform: scale(1.06);
  filter: brightness(1.02);
  filter: saturate(1);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .bgb-dual-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .brand-identity-board {
    padding: 40px 22px 50px;
    margin: 30px auto;
  }

  .bgb-construction-side {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bgb-mark-card,
  .bgb-clearspace-card {
    width: 100%;
  }

  .bgb-typography-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bgb-typo-scales {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
  }

  .bgb-dual-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bgb-palette-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bgb-style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ==========================================================================
   Unicorn Studio WebGL Interactive Section
/* ==========================================================================
   The Metamorphosis · Signature 'X' WebGL Section
   ========================================================================== */
.the-unicorn-section,
.metamorphosis-experience-section {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #050508;
  padding: 90px 0 80px;
}

.metamorphosis-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 0px;
}

.metamorphosis-heading-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.metamorphosis-heading-wrap .section-heading {
  position: relative;
  z-index: 2;
  margin: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.metamorphosis-backdrop-x {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif) !important;
  font-size: 150px !important;
  font-weight: 300;
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.3;
  filter: drop-shadow(0 0 20px rgba(224, 179, 105, 0.45));
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: X moves to the front with opacity 1 */
.metamorphosis-heading-wrap:hover .metamorphosis-backdrop-x {
  z-index: 3;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
  filter: drop-shadow(0 0 40px rgba(224, 179, 105, 0.75));
}


.metamorphosis-header .section-subheading-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1020px;
  margin: 30px auto 0;
  text-align: left;
}

.metamorphosis-header .section-subheading {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  text-align: justify;
}

@media (max-width: 768px) {
  .metamorphosis-header .section-subheading-group {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .metamorphosis-header .section-subheading {
    text-align: center;
  }
}

.unicorn-header-container {
  position: relative;
  z-index: 10;
  width: 100%;
  pointer-events: auto;
}

.canvas-interactive-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-top: 80px;
  margin-bottom: -30px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 179, 105, 0.9);
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
}

.hint-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary, #e0b369);
  box-shadow: 0 0 10px rgba(224, 179, 105, 0.85);
  animation: hintDotPulse 2s infinite ease-in-out;
}

@keyframes hintDotPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}


.unicorn-bg-wrap {
  position: relative;
  width: 100%;
  min-height: clamp(550px, 55vw, 850px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  touch-action: pan-y;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-select: none;
}

.unicorn-canvas-container {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto !important;
  touch-action: pan-y;
}

.unicorn-canvas-container canvas {
  width: 80% !important;
  height: auto !important;
  display: block;
  object-fit: cover;
  pointer-events: auto !important;
  touch-action: pan-y;
}

@media (hover: none), (pointer: coarse) {
  .unicorn-bg-wrap {
    cursor: grab;
  }
  .unicorn-bg-wrap:active {
    cursor: grabbing;
  }
}

/* Signature 'X' Detail Columns (Reference Minimalist Layout) */
.signature-x-details-container {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 30px 0 60px;
}

.sigx-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.sigx-meta-col {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 130px;
  padding-top: 10px;
}

.sigx-meta-label {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary, #e0b369);
}

.sigx-meta-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold-primary, #e0b369);
  opacity: 0.75;
}

.sigx-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex-grow: 1;
  width: 100%;
}

.sigx-col {
  padding: 0 26px;
  border-left: 1px solid rgba(224, 179, 105, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.3s ease;
}

.sigx-col:hover {
  transform: translateY(-3px);
}

.sigx-icon-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--gold-primary, #e0b369);
  margin-bottom: 22px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.sigx-icon-wrap svg,
.sigx-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sigx-col:hover .sigx-icon-wrap {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(224, 179, 105, 0.6));
}

.sigx-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.sigx-desc {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-align: left;
}

@media (max-width: 1040px) {
  .sigx-layout {
    flex-direction: column;
    gap: 28px;
  }

  .sigx-meta-col {
    padding-top: 0;
  }

  .sigx-items-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .sigx-col:nth-child(2n + 1) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .sigx-items-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .sigx-col {
    border-left: none !important;
    padding: 0 !important;
  }
}

/* Signature 'X' Fullwidth Edge-to-Edge Mockup */
.sigx-mockup-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 100px;
  overflow: hidden;
  display: block;
}

.sigx-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.5);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, filter;
}

.sigx-mockup-wrap:hover .sigx-mockup-img,
.sigx-mockup-img:hover {
  opacity: 1;
  filter: saturate(1);
}

/* Hide Unicorn Studio free-plan watermark & badge (same as deck.nusaraia.com) */
[data-us-project] a[href*="unicorn.studio"],
[data-us-project] a[href*="unicornstudio"],
[data-us-project] img[alt*="unicorn" i],
[data-us-project] img[src*="us_fwb"],
[data-us-project] img[src*="made_in_us"],
.the-unicorn-section a[href*="unicorn.studio"],
.the-unicorn-section a[href*="unicornstudio"],
.the-unicorn-section img[alt*="unicorn" i],
.the-unicorn-section img[src*="us_fwb"],
.the-unicorn-section img[src*="made_in_us"],
.the-unicorn-section a {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.section-tag-group {
  justify-content: center !important;
}

.cta-desc {
  font-size: clamp(13px, 1.15vw, 13px);
}

.cta-section {
  padding-top: 0;
}

/* Hero Background Video */
.hero-bg-video-wrap {
  position: absolute;
  inset: -20px -20px -80px -20px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050508;
  transform: scale(var(--bg-scale, 1.085)) translate3d(var(--bg-tx, 0px), var(--bg-ty, 0px), 0);
  will-change: transform;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: brightness(0.98) contrast(1.06);
  display: block;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity;
}

.hero-bg-video.active {
  opacity: 1;
}