/* Black Label — premium retainer page (scope to body.page-black-label) */

.page-black-label {
  --bl-gold: #c5a059;
  --bl-gold-deep: #9a7840;
  --bl-ink: #fafafa;
  --bl-muted: rgba(255, 255, 255, 0.58);
  --bl-faint: rgba(255, 255, 255, 0.42);
  --bl-line: rgba(197, 160, 89, 0.22);
  --bl-bonus: #5bd089;
  --bl-surface: rgba(255, 255, 255, 0.03);
  --bl-card: rgba(18, 18, 20, 0.92);
  --bl-radius: 12px;
  --bl-max: 1200px;
  /* Align with homepage portfolio masthead typography */
  --font-display: var(--font-serif);
  --font-serif-bl: var(--font-serif);
}

@property --bl-focus-prox {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.page-black-label {
  background: #060607;
  color: var(--bl-ink);
}

/* Full-page plexus + grid (canvas covers viewport; content stacks above in .bl-main / footer) */
.bl-global-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 92% 58% at 50% -20%, rgba(197, 160, 89, 0.085), transparent 54%),
    radial-gradient(900px 520px at 10% 42%, rgba(255, 255, 255, 0.038), transparent 52%),
    linear-gradient(180deg, #030304 0%, #08080a 42%, #050506 100%);
}

.bl-global-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.bl-global-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 78% at 50% 44%, #000 12%, transparent 74%);
  pointer-events: none;
}

.bl-global-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 65% at 50% 48%,
    transparent 0%,
    rgba(5, 5, 6, 0.45) 62%,
    rgba(6, 6, 7, 0.92) 100%
  );
  pointer-events: none;
}

.page-black-label .site-header.is-solid {
  background: rgba(6, 6, 7, 0.82);
  border-bottom-color: rgba(197, 160, 89, 0.12);
}

.bl-main {
  position: relative;
  z-index: 1;
  padding-top: 88px;
}

.page-black-label .footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
}

.bl-section {
  padding: clamp(72px, 12vw, 140px) 0;
}

.bl-container {
  width: min(var(--bl-max), calc(100% - 48px));
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 961px) {
  .bl-container {
    width: min(var(--bl-max), calc(100% - 96px));
  }
}

@media (max-width: 720px) {
  .bl-container {
    width: min(
      var(--bl-max),
      calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
    );
  }
}

/* Eyebrow label */
.bl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bl-gold);
}

.bl-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bl-gold));
}

/* Hero — centered stack + animated backdrop (canvas + grid) */
.bl-section.bl-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--bl-line);
  min-height: min(100vh, 920px);
}

@supports (min-height: 100svh) {
  .bl-section.bl-hero {
    min-height: min(100svh, 920px);
  }
}

.bl-hero-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 14vh, 140px) 0 clamp(40px, 7vw, 72px);
}

.bl-hero-center {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.bl-kicker--hero-center {
  justify-content: center;
  margin: 0 auto 22px;
}

.bl-kicker--hero-center::before {
  display: none;
}

.bl-hero-title.bl-hero-title--display {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.85rem, 7.2vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fafafa;
  max-width: none;
}

.bl-hero-title-line {
  display: block;
}

.bl-hero-rule {
  width: min(220px, 52vw);
  height: 1px;
  margin: 0 auto 26px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.25), var(--bl-gold), rgba(197, 160, 89, 0.25), transparent);
}

.bl-hero-lede {
  margin: 0 auto;
  max-width: 38rem;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 2.9vw, 1.08rem);
  font-weight: 400;
  line-height: 1.72;
  color: rgba(250, 250, 250, 0.72);
}

.bl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: clamp(26px, 5vw, 36px);
}

.bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--bl-radius);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: transparent;
  transition:
    background 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bl-btn:hover,
.bl-btn:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
}

.bl-btn:focus-visible {
  outline: 2px solid var(--bl-gold);
  outline-offset: 3px;
}

.bl-btn--ghost-gold {
  border-color: rgba(197, 160, 89, 0.55);
  color: var(--bl-gold);
  background: transparent;
}

.bl-btn--ghost-gold:hover,
.bl-btn--ghost-gold:focus-visible {
  background: rgba(197, 160, 89, 0.08);
  border-color: rgba(214, 184, 120, 0.85);
  color: #e8cf94;
}

.bl-btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(250, 250, 250, 0.88);
  background: transparent;
}

.bl-btn--ghost-light:hover,
.bl-btn--ghost-light:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.bl-btn--gold {
  border: none;
  background: linear-gradient(135deg, #d4b06a 0%, var(--bl-gold) 45%, var(--bl-gold-deep) 100%);
  color: #0a0a0b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(197, 160, 89, 0.15);
}

.bl-btn--gold:hover,
.bl-btn--gold:focus-visible {
  filter: brightness(1.06);
  border: none;
}

/* Story · mobile-only growth graphic (full-bleed right); hidden on desktop */
.bl-story-growth {
  display: none;
}

/* Story block — reel floats right; headings + body wrap on the left and under */
.bl-story-body {
  display: block;
}

.bl-story-body::after {
  content: "";
  display: table;
  clear: both;
}

.bl-story-reel {
  float: right;
  width: min(292px, 36vw);
  max-width: 100%;
  margin: 0 0 clamp(12px, 2vw, 20px) clamp(22px, 4vw, 44px);
  shape-outside: margin-box;
}

@keyframes bl-story-reel-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-6px) rotate(0.45deg);
  }
  70% {
    transform: translateY(-9px) rotate(-0.35deg);
  }
}

.bl-story-reel__inner,
.bl-growth-reel__inner {
  position: relative;
  border-radius: calc(var(--bl-radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.28);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 42px rgba(197, 160, 89, 0.12);
  transform-origin: 50% 52%;
  animation: bl-story-reel-bob 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .bl-story-reel__inner,
  .bl-growth-reel__inner {
    animation: none;
  }
}

.bl-story-reel__video,
.bl-growth-reel__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  cursor: pointer;
}

.bl-story-reel__mute,
.bl-growth-reel__mute {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.62);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
}

.bl-story-reel__mute:hover,
.bl-growth-reel__mute:hover {
  background: rgba(18, 18, 22, 0.78);
  border-color: rgba(197, 160, 89, 0.45);
}

.bl-story-reel__mute:focus-visible,
.bl-growth-reel__mute:focus-visible {
  outline: 2px solid var(--bl-gold);
  outline-offset: 2px;
}

.bl-story-reel__mute:active,
.bl-growth-reel__mute:active {
  transform: scale(0.96);
}

.bl-story-reel__mute-icon,
.bl-growth-reel__mute-icon {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl-story-reel__mute-icon--unmuted,
.bl-growth-reel__mute-icon--unmuted {
  display: none;
}

.bl-story-reel__mute.is-unmuted .bl-story-reel__mute-icon--muted,
.bl-growth-reel__mute.is-unmuted .bl-growth-reel__mute-icon--muted {
  display: none;
}

.bl-story-reel__mute.is-unmuted .bl-story-reel__mute-icon--unmuted,
.bl-growth-reel__mute.is-unmuted .bl-growth-reel__mute-icon--unmuted {
  display: flex;
}

.bl-story-title {
  margin: 0 0 10px;
  font-family: var(--font-serif-bl);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  color: #fff;
}

.bl-story-sub {
  margin: 0 0 clamp(14px, 2.5vw, 22px);
  font-family: var(--font-serif-bl);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-style: italic;
  color: var(--bl-gold);
}

.bl-story-lede {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bl-muted);
  text-wrap: pretty;
}

/* Growth — chart sits behind video; left part masked by video, body continues to the right */
.bl-section.bl-growth {
  border-top: 1px solid var(--bl-line);
  overflow-x: visible;
  padding-bottom: clamp(108px, 16vw, 200px);
}

.bl-kicker--growth {
  margin-bottom: 22px;
}

.bl-growth-body {
  display: flex;
  flex-direction: column;
}

.bl-growth-visual-row {
  margin-bottom: clamp(18px, 3vw, 30px);
  width: 100%;
}

.bl-growth-visual-stack {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.bl-growth-chart-wrap {
  position: absolute;
  z-index: 0;
  left: clamp(-32px, -3.8vw, -10px);
  top: 50%;
  transform: translateY(-50%);
  width: min(1020px, calc(100vw - 32px));
  max-width: calc(100% + min(200px, 26vw));
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.bl-growth-chart-svg {
  width: min(940px, 150%);
  height: auto;
  max-height: min(510px, 64vw);
  display: block;
  transform: translateX(clamp(-40px, -8.5vw, -18px));
}

.bl-growth-reel {
  position: relative;
  z-index: 1;
  width: min(292px, 40vw);
  max-width: 100%;
  margin: 0;
}

.bl-growth-title {
  margin: 0 0 10px;
  font-family: var(--font-serif-bl);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  color: #fff;
}

.bl-growth-sub {
  margin: 0 0 clamp(14px, 2.5vw, 22px);
  font-family: var(--font-serif-bl);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-style: italic;
  color: var(--bl-gold);
}

.bl-growth-lede {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bl-muted);
  text-wrap: pretty;
}

/* Extra air before Request Black Label */
section#plans.bl-section {
  padding-bottom: clamp(108px, 16vw, 200px);
}

/* Pricing head */
.bl-plans-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.bl-plans-label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.08;
}

.bl-plans-lede {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--bl-muted);
  line-height: 1.65;
}

/* Membership tiers: desktop = 3-up + click focus; mobile = peek carousel + swipe */
.bl-plans-carousel {
  --bl-plan-count: 3;
  /* Mobile peek: slide width + gap set in px via JS; fallbacks before script runs */
  --bl-plan-slide-w: 280px;
  --bl-plan-gap: 12px;
  --bl-plan-translate-x: 0px;
  margin-top: clamp(8px, 2vw, 16px);
  padding-bottom: clamp(4px, 1.5vw, 14px);
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
}

.bl-plans-viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  overflow-x: clip;
  overflow-y: visible;
  touch-action: pan-y;
  padding: clamp(28px, 6vw, 48px) max(16px, env(safe-area-inset-left, 0px)) clamp(32px, 7vw, 52px)
    max(16px, env(safe-area-inset-right, 0px));
}

@media (min-width: 961px) {
  .bl-plans-viewport {
    touch-action: auto;
    padding-inline: max(24px, env(safe-area-inset-left, 0px)) max(24px, env(safe-area-inset-right, 0px));
  }
}

.bl-plans-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  box-sizing: border-box;
  width: calc(
    var(--bl-plan-count, 3) * var(--bl-plan-slide-w) + (var(--bl-plan-count, 3) - 1) * var(--bl-plan-gap)
  );
  gap: var(--bl-plan-gap);
  transform: translateX(var(--bl-plan-translate-x));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .bl-plans-track {
    transition-duration: 0.01ms;
  }
}

@media (min-width: 961px) {
  .bl-plans-track {
    align-items: center;
    width: 100%;
    max-width: min(var(--bl-max), calc(100% - 48px));
    margin-inline: auto;
    transform: none;
    gap: clamp(32px, 5vw, 56px);
    transition: none;
    will-change: auto;
  }
}

.bl-plans-track .bl-plan {
  touch-action: pan-y;
}

@media (min-width: 961px) {
  .bl-plans-track .bl-plan {
    touch-action: auto;
  }
}

.bl-plan.bl-plan--carousel {
  --bl-focus-prox: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--bl-plan-slide-w);
  width: var(--bl-plan-slide-w);
  max-width: none;
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(24px, 4.5vw, 32px) clamp(18px, 3.5vw, 24px) clamp(22px, 4vw, 28px);
  border-radius: calc(var(--bl-radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(14, 14, 17, 0.4);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  transform: scale(calc(0.88 + var(--bl-focus-prox) * 0.12));
  transform-origin: center center;
  opacity: calc(0.72 + var(--bl-focus-prox) * 0.28);
  filter: saturate(calc(0.82 + var(--bl-focus-prox) * 0.18));
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, calc(0.06 + var(--bl-focus-prox) * 0.05)),
    0 calc(18px + var(--bl-focus-prox) * 14px) calc(48px + var(--bl-focus-prox) * 36px) rgba(0, 0, 0, calc(0.38 + var(--bl-focus-prox) * 0.2)),
    0 0 0 1px rgba(197, 160, 89, calc(var(--bl-focus-prox) * 0.26)),
    0 0 calc(36px + var(--bl-focus-prox) * 56px) rgba(197, 160, 89, calc(var(--bl-focus-prox) * 0.16));
  transition:
    --bl-focus-prox 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    min-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease-out;
  isolation: isolate;
}

.bl-plan.bl-plan--carousel.bl-plan--focused {
  z-index: 2;
}

@media (min-width: 961px) {
  .bl-plan.bl-plan--carousel {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: clamp(22px, 3.2vw, 30px) clamp(16px, 2.4vw, 22px) clamp(20px, 3vw, 26px);
    /* Stagger like reference: shorter side tiers, taller focused column */
    transform: scale(calc(0.9 + var(--bl-focus-prox) * 0.12));
    min-height: clamp(372px, 44vh, 520px);
  }

  .bl-plan.bl-plan--carousel.bl-plan--focused {
    min-height: clamp(468px, 56vh, 648px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bl-plan.bl-plan--carousel {
    transition-duration: 0.01ms;
  }
}

.bl-plan--carousel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0%, transparent 45%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.028) 11px,
      rgba(255, 255, 255, 0.028) 12px
    );
  z-index: 0;
}

.bl-plan--carousel > * {
  position: relative;
  z-index: 1;
}

.bl-plan--carousel.bl-plan--glow-cool::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 95% 85% at 50% -5%, rgba(110, 196, 212, 0.24), transparent 68%);
  opacity: 0.88;
}

.bl-plan--carousel.bl-plan--glow-gold::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 95% 88% at 50% -10%,
    rgba(197, 160, 89, 0.44),
    rgba(130, 96, 168, 0.14) 44%,
    transparent 72%
  );
  opacity: 0.92;
}

.bl-plan--carousel.bl-plan--glow-neutral::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 46%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 95% 85% at 50% -5%, rgba(255, 255, 255, 0.18), transparent 68%);
  opacity: 0.78;
}

.bl-plan--featured {
  z-index: 1;
}

.bl-plan-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0c0c0d;
  background: linear-gradient(180deg, #e8c97a, var(--bl-gold));
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* CTAs follow --bl-focus-prox — transitions stay snappy so buttons track card focus */
.bl-plan--carousel .bl-btn {
  cursor: pointer;
  transition:
    background 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bl-plan--carousel .bl-btn:not(.bl-btn--gold) {
  opacity: calc(0.48 + var(--bl-focus-prox) * 0.52);
  border-color: rgba(255, 255, 255, calc(0.18 + var(--bl-focus-prox) * 0.28));
  color: rgba(255, 255, 255, calc(0.46 + var(--bl-focus-prox) * 0.54));
}

.bl-plan--carousel .bl-btn--gold {
  border: none;
  background: linear-gradient(135deg, #d4b06a 0%, var(--bl-gold) 45%, var(--bl-gold-deep) 100%);
  color: #0a0a0b;
  opacity: calc(0.38 + var(--bl-focus-prox) * 0.62);
  filter: brightness(calc(0.78 + var(--bl-focus-prox) * 0.28));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, calc(0.02 + var(--bl-focus-prox) * 0.06)),
    0 calc(8px + var(--bl-focus-prox) * 8px) calc(22px + var(--bl-focus-prox) * 26px) rgba(0, 0, 0, calc(0.35 + var(--bl-focus-prox) * 0.15)),
    0 0 calc(20px + var(--bl-focus-prox) * 44px) rgba(197, 160, 89, calc(var(--bl-focus-prox) * 0.18));
}

.bl-plan--carousel .bl-btn--gold:hover,
.bl-plan--carousel .bl-btn--gold:focus-visible {
  filter: brightness(calc(0.88 + var(--bl-focus-prox) * 0.2));
}

.bl-plans-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 0 min(var(--bl-max), calc(100% - 48px)) 10px;
  max-width: calc(var(--bl-max) + 48px);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
}

.bl-plans-hint__dot {
  flex: 0 0 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.5), transparent);
}

.bl-plans-hint__mobile {
  display: none;
}

@media (max-width: 960px) {
  .bl-plans-hint__desktop {
    display: none;
  }

  .bl-plans-hint__mobile {
    display: inline;
  }
}

.bl-plan-cap {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bl-faint);
  text-align: center;
}

.bl-plan-name {
  margin: 0 0 20px;
  font-family: var(--font-serif-bl);
  font-size: 1.85rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

.bl-plan-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.bl-plan-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 0.92rem;
  color: var(--bl-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bl-plan-list li:last-child {
  border-bottom: none;
}

.bl-plan-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--bl-gold);
  font-weight: 400;
}

.bl-plan-bonus {
  margin: 0 0 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bl-bonus);
  text-align: center;
}

.bl-plan-price-row {
  text-align: center;
  margin-bottom: 20px;
}

.bl-plan-from {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bl-faint);
  margin-bottom: 4px;
}

.bl-plan-price {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.25rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
}

.bl-plan-price span {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  vertical-align: super;
  opacity: 0.75;
}

.bl-plan .bl-btn {
  width: 100%;
}

.bl-plan-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bl-plan-commit {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bl-gold);
  text-align: center;
}

.bl-plan-commit-copy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--bl-faint);
  text-align: center;
}

.bl-plan-detail-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(197, 160, 89, 0.85);
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.bl-plan-detail-btn:hover,
.bl-plan-detail-btn:focus-visible {
  color: var(--bl-gold);
  background: rgba(197, 160, 89, 0.08);
  outline: none;
}

.bl-plan-detail-dialog {
  margin: 0;
  padding: 0;
  border: none;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: transparent;
}

.bl-plan-detail-dialog::backdrop {
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(6px);
}

.bl-plan-detail-dialog__center {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: clamp(16px, 4vw, 36px);
}

.bl-plan-detail-dialog__panel {
  position: relative;
  width: min(34rem, 100%);
  max-height: min(82dvh, 720px);
  overflow: auto;
  padding: clamp(22px, 4vw, 32px) clamp(22px, 4vw, 36px) 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.98), rgba(12, 12, 16, 0.99));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(197, 160, 89, 0.06) inset;
}

@media (prefers-reduced-motion: no-preference) {
  .bl-plan-detail-dialog__panel {
    animation: bl-detail-in 220ms ease-out;
  }

  @keyframes bl-detail-in {
    from {
      opacity: 0;
      transform: translateY(10px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

.bl-plan-detail-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--bl-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.bl-plan-detail-dialog__close:hover,
.bl-plan-detail-dialog__close:focus-visible {
  background: rgba(197, 160, 89, 0.12);
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--bl-gold);
  outline: none;
}

.bl-plan-detail-dialog__title {
  margin: 0 44px 18px 0;
  font-family: var(--font-serif-bl);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}

.bl-plan-detail-dialog__body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--bl-muted);
}

.bl-plan-detail-dialog__body p {
  margin: 0 0 14px;
}

.bl-plan-detail-dialog__body p:last-child {
  margin-bottom: 0;
}

.bl-plan-detail-dialog__commit {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--bl-faint);
  font-size: 0.88rem;
}

/* Apply / footer CTA */
.bl-apply {
  padding-top: clamp(88px, 13vw, 148px);
  border-top: 1px solid var(--bl-line);
}

.bl-apply-inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.bl-apply-title {
  margin: 0 0 12px;
  font-family: var(--font-serif-bl);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
}

.bl-apply-copy {
  margin: 0 0 28px;
  font-size: 1rem;
  color: var(--bl-muted);
  line-height: 1.65;
}

.bl-apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.bl-scroll-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 72px;
  padding-bottom: 8px;
  color: var(--bl-faint);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bl-scroll-next a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--bl-line);
  color: var(--bl-gold);
  transition:
    background 200ms ease,
    border-color 200ms ease;
}

.bl-scroll-next a:hover,
.bl-scroll-next a:focus-visible {
  background: rgba(197, 160, 89, 0.1);
  border-color: rgba(197, 160, 89, 0.45);
}

.bl-hero-scroll-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: auto;
  padding-bottom: clamp(20px, 4vw, 40px);
}

.bl-hero-scroll-wrap .bl-scroll-next {
  margin-top: 0;
}

.bl-plan--featured .bl-plan-cap {
  margin-top: 30px;
}

.bl-apply-crosslink {
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.bl-apply-crosslink a.text-link {
  color: var(--bl-gold);
  border-bottom-color: rgba(197, 160, 89, 0.45);
}
.bl-apply-crosslink a.text-link:hover {
  color: #e8cf94;
  border-bottom-color: rgba(197, 160, 89, 0.7);
}

/* —— Mobile refinements (≤720px): rhythm, tap targets, no layout/theme change —— */
@media (max-width: 720px) {
  .page-black-label {
    overflow-x: clip;
  }

  .bl-main {
    padding-top: 80px;
  }

  .bl-section {
    padding: clamp(44px, 10vw, 88px) 0;
  }

  .bl-section.bl-hero {
    min-height: min(100vh, 880px);
  }

  .bl-kicker {
    flex-wrap: wrap;
    row-gap: 8px;
    margin-bottom: 22px;
    letter-spacing: 0.22em;
    font-size: 10px;
  }

  .bl-kicker::before {
    width: 28px;
  }

  .bl-kicker--hero-center {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.26em;
  }

  .bl-hero-stage {
    padding: clamp(84px, 11vh, 120px) 0 clamp(28px, 6vw, 52px);
  }

  .bl-hero-title.bl-hero-title--display {
    margin-bottom: 18px;
    font-size: clamp(1.58rem, 8.8vw, 3.05rem);
    letter-spacing: 0.062em;
    line-height: 1.07;
  }

  .bl-hero-rule {
    margin-bottom: 22px;
  }

  .bl-hero-lede {
    font-size: 1rem;
    line-height: 1.68;
    padding-inline: 2px;
  }

  .bl-hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
    margin-top: 24px;
    gap: 12px;
  }

  .bl-hero-actions .bl-btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 20px;
    letter-spacing: 0.16em;
  }

  .bl-hero-scroll-wrap {
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }

  .bl-scroll-next a {
    width: 48px;
    height: 48px;
  }

  #story {
    position: relative;
    overflow: visible;
  }

  #story .bl-container {
    position: relative;
    z-index: 1;
  }

  .bl-story-growth {
    display: block;
    position: absolute;
    inset-inline: 0;
    top: clamp(52px, 13vw, 104px);
    width: 100%;
    height: clamp(380px, 118vw, 540px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.97;
    /* Fade-in from left so copy stays readable; stronger presence mid-screen + behind reel */
    mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.55) 14%,
      #000 38%,
      #000 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.55) 14%,
      #000 38%,
      #000 100%
    );
  }

  .bl-story-growth__svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .bl-story-body {
    display: flex;
    flex-direction: column;
  }

  .bl-story-body::after {
    display: none;
  }

  .bl-story-reel {
    float: none;
    align-self: flex-end;
    width: min(268px, 72vw);
    margin: 0 max(0px, env(safe-area-inset-right, 0px)) 22px auto;
    position: relative;
    z-index: 2;
    order: 3;
  }

  .bl-story-title {
    font-size: clamp(1.75rem, 7vw, 3rem);
    order: 1;
  }

  .bl-story-sub {
    font-size: clamp(1.28rem, 5vw, 2rem);
    order: 2;
  }

  .bl-story-lede {
    order: 4;
  }

  .bl-story-lede {
    font-size: 1rem;
    line-height: 1.72;
    max-width: none;
  }

  /* Same overlap on mobile — never stack chart under the video */
  #growth .bl-growth-visual-stack {
    width: 100%;
  }

  #growth .bl-growth-reel {
    width: min(232px, 62vw);
  }

  #growth .bl-growth-chart-wrap {
    left: clamp(-28px, -7vw, -12px);
    width: min(820px, calc(100% + min(140px, 32vw)));
    max-width: none;
    transform: translateY(-50%);
  }

  #growth .bl-growth-chart-svg {
    width: min(780px, 162%);
    max-height: min(340px, 76vw);
    transform: translateX(clamp(-68px, -17vw, -38px));
  }

  #growth .bl-growth-title {
    font-size: clamp(1.75rem, 7vw, 3rem);
  }

  #growth .bl-growth-sub {
    font-size: clamp(1.28rem, 5vw, 2rem);
  }

  #growth .bl-growth-lede {
    font-size: 1rem;
    line-height: 1.72;
  }

  .bl-plans-head {
    margin-bottom: clamp(28px, 8vw, 48px);
  }

  .bl-plans-label {
    font-size: clamp(1.55rem, 6.2vw, 2.85rem);
    letter-spacing: 0.034em;
    line-height: 1.12;
  }

  .bl-plans-lede {
    margin-inline: 0;
    font-size: 1rem;
    max-width: none;
  }

  .bl-plans-viewport {
    padding: 14px max(12px, env(safe-area-inset-left, 0px)) 18px max(12px, env(safe-area-inset-right, 0px));
  }

  .bl-plans-hint {
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
  }

  .bl-plan.bl-plan--carousel {
    padding: 14px 14px 16px;
    border-radius: calc(var(--bl-radius) + 4px);
  }

  .bl-plan--carousel.bl-plan--glow-cool::before,
  .bl-plan--carousel.bl-plan--glow-gold::before,
  .bl-plan--carousel.bl-plan--glow-neutral::before {
    height: 34%;
    opacity: 0.72;
  }

  .bl-plan-badge {
    top: 9px;
    padding: 6px 11px;
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .bl-plan--featured .bl-plan-cap {
    margin-top: 20px;
  }

  .bl-plans-carousel .bl-plan-cap {
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: 0.19em;
  }

  .bl-plans-carousel .bl-plan-name {
    font-size: 1.52rem;
    margin-bottom: 11px;
  }

  .bl-plans-carousel .bl-plan-list {
    margin-bottom: 11px;
  }

  .bl-plans-carousel .bl-plan-list li {
    padding: 6px 0 6px 18px;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .bl-plans-carousel .bl-plan-bonus {
    margin-bottom: 11px;
    font-size: 0.82rem;
  }

  .bl-plans-carousel .bl-plan-price-row {
    margin-bottom: 11px;
  }

  .bl-plans-carousel .bl-plan-price {
    font-size: clamp(1.92rem, 8.5vw, 2.55rem);
  }

  .bl-plans-carousel .bl-plan .bl-btn {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .bl-plans-carousel .bl-plan-detail-btn {
    margin-top: 8px;
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 0.7rem;
  }

  .bl-plans-carousel .bl-plan-foot {
    padding-top: 13px;
    margin-top: 6px;
  }

  .bl-plans-carousel .bl-plan-commit {
    margin-bottom: 4px;
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .bl-plans-carousel .bl-plan-commit-copy {
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .bl-apply-inner {
    max-width: none;
  }

  .bl-apply-title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .bl-apply-copy {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .bl-apply-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .bl-apply-actions .bl-btn {
    width: 100%;
    min-height: 48px;
    letter-spacing: 0.16em;
  }

  .bl-apply-crosslink {
    margin-top: 22px;
  }

  .page-black-label .footer {
    padding-bottom: max(40px, calc(28px + env(safe-area-inset-bottom, 0px)));
  }
}

