/* ==========================================================================
   ByAgentX — Atelier Experience Layer (Hero -> Creds -> Cases -> Pricing)
   Obsidian / Ivory / Brass + Cold-Cathode Ice-Blue
   Zero changes to video, 3D models/loaders, catalog data, or checkout.
   ========================================================================== */

/* Screen-reader live region */
.bx-sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 0. Sticky Header Continuity (Progress Thread + Active Chapter + Mobile Plans Pill) */
#nav {
  --bx-scroll-pct: 0;
}

#nav .bx-nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  transform-origin: left center;
  transform: scaleX(var(--bx-scroll-pct));
  background: linear-gradient(90deg, #caa263 0%, #e1bc80 55%, #a8e1ff 100%);
  opacity: 0.82;
  pointer-events: none;
}

#nav .navlinks a.nav-rates {
  position: relative;
  color: #e6c58d;
}

#nav .navlinks a.nav-rates.is-chapter-active {
  color: #d8f4ff;
  background: rgba(168, 225, 255, 0.09);
  box-shadow: inset 0 -1.5px 0 #a8e1ff;
}

#nav .bx-nav-plans-pill {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(225, 188, 128, 0.44);
  background: rgba(225, 188, 128, 0.1);
  color: #edd2a4;
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#nav .bx-nav-plans-pill:hover,
#nav .bx-nav-plans-pill:focus-visible {
  border-color: #a8e1ff;
  color: #d8f4ff;
  background: rgba(168, 225, 255, 0.12);
}

#nav .bx-nav-plans-pill.is-active {
  border-color: rgba(168, 225, 255, 0.56);
  background: rgba(168, 225, 255, 0.13);
  color: #d8f4ff;
}

/* 0b. Hero -> Credentials -> Cases Visual & Tactile Continuity (Non-Video, Non-3D) */
#top.hero.vhero .cta .btn {
  min-height: 46px;
  border-radius: 10px;
  transition: transform 0.16s ease, border-color 0.2s ease, background-color 0.2s ease;
}

#top.hero.vhero .cta .btn:active {
  transform: scale(0.99);
}

#top.hero.vhero .cta .btn-gold {
  background: #e1bc80;
  border-color: #e1bc80;
  color: #13110e;
  font-weight: 700;
}

#top.hero.vhero .cta .btn-gold:hover {
  background: #edd2a4;
  border-color: #edd2a4;
}

#top.hero.vhero .hstats {
  border-top-color: rgba(225, 188, 128, 0.24);
}

#top.hero.vhero .hstats dt {
  color: #f2eee6;
  letter-spacing: -0.02em;
}

/* Credentials Strip — calm obsidian/brass ledger bridging Hero to Cases */
.creds {
  background: #090d10;
  border-top: 1px solid rgba(225, 188, 128, 0.2);
  border-bottom: 1px solid rgba(242, 238, 230, 0.1);
}

.cred {
  border-right-color: rgba(242, 238, 230, 0.09);
}

/* Case Showcase (#work) — Architectural Continuity & Direct Pricing Bridges */
#work {
  position: relative;
  background:
    radial-gradient(ellipse 65% 24rem at 14% 0%, rgba(225, 188, 128, 0.045), transparent 72%),
    #060809;
}

#work .work-head .eyebrow {
  color: #e1bc80;
}

#work .work-head__cta .btn {
  min-height: 44px;
  border-radius: 10px;
}

#work .case-card {
  background: linear-gradient(180deg, #0d1215 0%, #0a0e11 100%);
  border: 1px solid rgba(242, 238, 230, 0.11);
  border-radius: 14px;
}

#work .case-card.is-featured {
  border-color: rgba(225, 188, 128, 0.26);
}

#work .case-card:hover {
  border-color: rgba(225, 188, 128, 0.38);
}

#work .case-bar {
  background: #0f1519;
  border-bottom-color: rgba(242, 238, 230, 0.09);
}

#work .case-meta-inline span:first-child,
#work .case-bar span:first-child {
  color: #d6ba8b;
}

#work .case-featured-acts .btn-gold {
  background: #e1bc80;
  border-color: #e1bc80;
  color: #13110e;
  border-radius: 10px;
  min-height: 44px;
  font-weight: 700;
}

#work .bx-case-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(242, 238, 230, 0.09);
}

#work .bx-case-bridge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(225, 188, 128, 0.34);
  background: rgba(225, 188, 128, 0.08);
  color: #edd2a4;
  font: 600 11.5px/1.2 var(--font-mono);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

#work .bx-case-bridge:hover,
#work .bx-case-bridge:focus-visible {
  border-color: #a8e1ff;
  background: rgba(168, 225, 255, 0.12);
  color: #d8f4ff;
}

/* Arrival pulse when jumping from a case card directly into a pricing ladder */
#pricing .rate-panel-single.bx-panel-arrived {
  animation: bxPanelArrive 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bxPanelArrive {
  0% {
    border-color: rgba(168, 225, 255, 0.65);
    box-shadow: 0 0 0 1px rgba(168, 225, 255, 0.28), 0 18px 48px rgba(0, 0, 0, 0.42);
  }
  100% {
    border-color: rgba(242, 238, 230, 0.11);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  }
}

/* ==========================================================================
   ByAgentX — Pricing Atelier Skin (Obsidian / Ivory / Brass + Cold-Cathode Ice)
   Signature details:
   1. Machined Obsidian Plan Rail + Gliding Ice-Blue Cold-Cathode Filament
      (steady optical glow strictly on the active plan's price; inactive prices
      power down cleanly while retaining >7.5:1 legibility; zero flicker).
   2. Unified Split-Ledger + Brass/Ice Proportional Composition Meter
      (clarifies First Payment Day 1 vs Ongoing Monthly & One-Time Setup).
   ========================================================================== */

#pricing.band-paper {
  --obs-0: #060809;
  --obs-1: #0b0f12;
  --obs-2: #10161a;
  --obs-3: #161e23;
  --ivory: #f2eee6;
  --ivory-2: #cbc7be;
  --ivory-muted: #9aa5ab;
  --brass-lit: #e1bc80;
  --brass-soft: #edd2a4;
  --brass-hair: rgba(225, 188, 128, 0.28);
  --ice: #a8e1ff;
  --ice-bright: #d8f4ff;
  --ice-hair: rgba(168, 225, 255, 0.34);
  --rule-hair: rgba(242, 238, 230, 0.11);
  --rule-strong: rgba(242, 238, 230, 0.2);
  --neon-glow-sm: 0 0 8px rgba(130, 212, 255, 0.52), 0 0 18px rgba(70, 160, 228, 0.24);
  --neon-glow-lg: 0 0 11px rgba(130, 212, 255, 0.55), 0 0 26px rgba(64, 156, 228, 0.26);

  /* Override base archival tokens inside #pricing */
  --ink-dark: var(--ivory);
  --ink-dark-2: var(--ivory-2);
  --ink-dark-muted: var(--ivory-muted);
  --paper: var(--obs-1);
  --paper-card: var(--obs-2);
  --paper-2: #141a1e;
  --paper-3: #1c2429;
  --rule-paper: var(--rule-hair);
  --rule-paper-strong: var(--rule-strong);
  --cyan-deep: var(--ice);
  --brass-deep: var(--brass-lit);
  --emerald-deep: var(--ice);

  color: var(--ivory);
  color-scheme: dark;
  border-top: 1px solid rgba(225, 188, 128, 0.24);
  border-bottom: 1px solid var(--rule-hair);
  background:
    radial-gradient(ellipse 68% 26rem at 86% 0%, rgba(126, 198, 238, 0.085), transparent 76%),
    radial-gradient(ellipse 52% 20rem at 12% 14%, rgba(225, 188, 128, 0.045), transparent 72%),
    var(--obs-0);
}

/* Focus & tactile baseline */
#pricing :focus-visible {
  outline: 2.5px solid var(--ice);
  outline-offset: 3px;
}

#pricing button,
#pricing a,
#pricing summary {
  -webkit-tap-highlight-color: transparent;
}

/* 1. Section Header */
#pricing .rates-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: 14px 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule-hair);
}

#pricing .rates-head .eyebrow {
  color: var(--brass-lit);
  letter-spacing: 0.14em;
}

#pricing #pricing-title {
  color: var(--ivory);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 6px 0 8px;
}

#pricing .rates-head .lead {
  color: var(--ivory-2);
  font-size: clamp(14.5px, 1.2vw, 17px);
  line-height: 1.48;
  max-width: 48ch;
  margin: 0;
}

#pricing .rates-market-stamp {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

#pricing .rates-market-stamp b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(225, 188, 128, 0.09);
  border: 1px solid var(--brass-hair);
  color: var(--brass-soft);
  font: 600 11.5px/1.3 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#pricing .rates-market-stamp b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-lit);
}

#pricing .rates-market-stamp span {
  font: 400 12.5px/1.4 var(--font-sans);
  color: var(--ivory-muted);
}

/* 2. Service Selector (6 lines — visible on both desktop and mobile) */
#pricing .need-selector {
  padding: 16px 0 18px;
  border-bottom: 0;
}

#pricing .need-selector__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

#pricing .need-selector__label span:first-child {
  font: 600 12px/1.35 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

#pricing .need-selector__label span + span {
  display: inline-block;
  font: 500 11px/1.3 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-lit);
  white-space: nowrap;
}

#pricing .need-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

#pricing .need-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--obs-1);
  border: 1px solid var(--rule-hair);
  color: var(--ivory-2);
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#pricing .need-btn:hover {
  background: var(--obs-2);
  border-color: var(--rule-strong);
  color: var(--ivory);
}

#pricing .need-btn strong {
  font: 600 12.5px/1.25 var(--font-sans);
  color: inherit;
}

#pricing .need-btn small {
  font: 500 11px/1.25 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ivory-muted);
}

#pricing .need-btn[aria-selected="true"] {
  background: linear-gradient(180deg, #162026 0%, #10171c 100%);
  border-color: rgba(168, 225, 255, 0.48);
  color: var(--ivory);
  box-shadow: inset 0 -2px 0 var(--ice);
}

#pricing .need-btn[aria-selected="true"] small {
  color: var(--brass-soft);
}

/* 3. Atelier Main Panel */
#pricing .rate-panel-single {
  background: linear-gradient(180deg, rgba(14, 19, 22, 0.96) 0%, rgba(10, 14, 16, 0.98) 100%);
  border: 1px solid var(--rule-hair);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  padding: clamp(16px, 2.5vw, 30px);
  gap: 16px;
}

#pricing .rate-panel-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding-bottom: 4px;
}

#pricing .rate-panel-intro h3.serif {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.05;
  color: var(--ivory);
  margin: 0;
}

#pricing .rate-panel-sub {
  font-size: 14px;
  line-height: 1.48;
  color: var(--ivory-2);
  margin-top: 5px;
  max-width: 68ch;
}

#pricing .rate-panel-intro .route-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 600 12px/1.3 var(--font-mono);
  color: var(--brass-soft);
  text-decoration: underline;
  text-decoration-color: rgba(225, 188, 128, 0.48);
  text-underline-offset: 5px;
  border-bottom: 0;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

#pricing .rate-panel-intro .route-link:hover {
  color: var(--ivory);
  text-decoration-color: var(--ivory);
}

/* 4. Signature Machined Plan Rail + Cold-Cathode Gliding Filament */
#pricing .bx-power {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

#pricing .bx-power-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#pricing .bx-power-label {
  font: 600 10.5px/1.35 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brass-lit);
}

#pricing .bx-power-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 10.5px/1.3 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ivory-muted);
}

#pricing .bx-power-cue::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 6px rgba(168, 225, 255, 0.72);
}

#pricing .bx-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--bx-cols, 3), minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: #070a0c;
  border: 1px solid rgba(242, 238, 230, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Gliding top cold-cathode filament bar */
#pricing .bx-filament {
  position: absolute;
  top: 4px;
  left: 0;
  height: 2px;
  width: var(--fw, 0px);
  transform: translate3d(var(--fx, 0px), 0, 0);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(125, 206, 255, 0) 3%,
    rgba(148, 218, 255, 0.85) 20%,
    #ecfaff 50%,
    rgba(148, 218, 255, 0.85) 80%,
    rgba(125, 206, 255, 0) 97%
  );
  box-shadow:
    0 1px 8px rgba(132, 214, 255, 0.72),
    0 4px 16px rgba(84, 174, 238, 0.34);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

#pricing .bx-rail.has-filament .bx-filament {
  opacity: 1;
}

#pricing .bx-lamp {
  position: relative;
  min-width: 0;
  min-height: 82px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 13px 10px;
  text-align: left;
  background: rgba(16, 22, 26, 0.56);
  color: var(--ivory-muted);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 5px;
  cursor: pointer;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.14s ease;
}

#pricing .bx-lamp:hover:not([aria-pressed="true"]) {
  background: rgba(24, 32, 37, 0.76);
  border-color: rgba(242, 238, 230, 0.16);
}

#pricing .bx-lamp:active {
  transform: scale(0.992);
}

#pricing .bx-lamp__name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 12.5px/1.25 var(--font-sans);
  color: #b7c0c5;
  overflow-wrap: anywhere;
  transition: color 0.24s ease;
}

#pricing .bx-led {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #525d63;
  box-shadow: none;
  transition: background-color 0.24s ease, box-shadow 0.24s ease;
}

/* Unlit monetary price — clearly off, calm & high-legibility (>7.5:1) */
#pricing .bx-lamp__first {
  font: 650 clamp(16px, 1.75vw, 23px)/1.12 var(--font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  color: #b7c1c7;
  text-shadow: none;
  align-self: center;
  overflow-wrap: anywhere;
  transition: color 0.12s ease, text-shadow 0.05s ease;
}

#pricing .bx-lamp__first.is-text-price {
  font-size: clamp(13.5px, 1.3vw, 17px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Ongoing monthly rate shown directly under first payment for instant comparison */
#pricing .bx-lamp__mo {
  font: 500 11.5px/1.25 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: #8f9ba2;
  overflow-wrap: anywhere;
  transition: color 0.24s ease;
}

/* Lit / Active Plan State — ONLY this button ignites ice-blue neon */
#pricing .bx-lamp[aria-pressed="true"] {
  background:
    radial-gradient(115% 88% at 50% 0%, rgba(148, 218, 255, 0.14) 0%, rgba(17, 29, 37, 0.88) 54%, rgba(13, 21, 26, 0.96) 100%);
  border-color: rgba(138, 206, 240, 0.5);
  box-shadow: inset 0 1px 0 rgba(216, 244, 255, 0.14);
}

#pricing .bx-lamp[aria-pressed="true"] .bx-lamp__name {
  color: var(--ivory);
}

#pricing .bx-lamp[aria-pressed="true"] .bx-led {
  background: var(--ice-bright);
  box-shadow: 0 0 7px rgba(154, 224, 255, 0.92);
}

#pricing .bx-lamp[aria-pressed="true"] .bx-lamp__first {
  color: var(--ice-bright);
  text-shadow: var(--neon-glow-sm);
  transition: color 0.24s ease, text-shadow 0.26s ease;
}

#pricing .bx-lamp[aria-pressed="true"] .bx-lamp__mo {
  color: #c8d7e0;
}

/* 5. Spotlight Plan Card — Unified Architectural Ledger (De-boxed) */
#pricing .rec-card {
  background: linear-gradient(145deg, #13191d 0%, #0e1316 100%);
  border: 1px solid rgba(225, 188, 128, 0.24);
  border-left: 3px solid var(--brass-lit);
  border-radius: 13px;
  padding: clamp(16px, 2.2vw, 24px);
  color: var(--ivory);
  display: grid;
  gap: 15px;
}

#pricing .rec-card.is-fit {
  border-left-color: var(--ice);
}

#pricing .rec-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}

#pricing .rec-card__identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#pricing .rec-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#pricing .rec-card__title-row h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.02;
  color: var(--ivory);
  margin: 0;
}

#pricing .tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(225, 188, 128, 0.11);
  border: 1px solid var(--brass-hair);
  color: var(--brass-soft);
  font: 600 10px/1.2 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#pricing .tier-badge.is-fit-badge {
  background: rgba(168, 225, 255, 0.14);
  border-color: var(--ice-hair);
  color: var(--ice-bright);
}

/* Quiet inline agenda micro-line (no competing double-pill box) */
#pricing .tier-agenda-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d6be92;
  font: 500 11.5px/1.35 var(--font-mono);
}

#pricing .tier-agenda-chip::before {
  content: "✓";
  color: var(--brass-lit);
  font-weight: 700;
}

#pricing .tier-agenda-chip.is-spec {
  color: var(--brass-soft);
}

#pricing .tier-agenda-chip.is-spec::before {
  content: "•";
}

#pricing .rec-card__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

#pricing .btn-ink,
#pricing .est-chip.is-active,
#pricing .est-chip[aria-pressed="true"] {
  background: var(--brass-lit);
  border: 1px solid var(--brass-lit);
  color: #13110e;
  border-radius: 10px;
  font-weight: 700;
  min-height: 46px;
  transition: background-color 0.18s ease, transform 0.14s ease;
}

#pricing .btn-ink:hover {
  background: var(--brass-soft);
  border-color: var(--brass-soft);
}

#pricing .btn-ink:active {
  transform: scale(0.99);
}

#pricing .btn-ghost {
  color: var(--ivory);
  border: 1px solid rgba(242, 238, 230, 0.28);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  min-height: 44px;
}

#pricing .btn-ghost:hover {
  border-color: var(--brass-lit);
  background: rgba(225, 188, 128, 0.07);
}

#pricing .rec-card__cta .pay-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 4px;
  font: 600 12px/1.3 var(--font-mono);
  color: var(--ivory-2);
}

#pricing .rec-card__cta .pay-alt:hover {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Unified Split-Ledger Money Block */
#pricing .rec-money {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1.42fr);
  gap: 0;
  border: 1px solid rgba(132, 186, 218, 0.28);
  border-radius: 11px;
  overflow: hidden;
  background: #0a0e11;
}

#pricing .rec-money__cell {
  padding: 15px 17px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#pricing .rec-money__cell .cell-k {
  font: 600 10.5px/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-lit);
}

#pricing .rec-money__cell strong {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(20px, 1.85vw, 25px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ivory);
  text-shadow: none;
  white-space: nowrap;
}

#pricing .rec-money__cell small {
  font-size: 12px;
  line-height: 1.36;
  color: var(--ivory-muted);
}

/* Focal First Payment Band — ONLY glowing monetary display in .rec-card */
#pricing .rec-money__cell.is-invoice {
  background:
    radial-gradient(110% 110% at 18% 0%, rgba(138, 210, 252, 0.13), rgba(13, 24, 32, 0.92) 64%),
    #0d1820;
  border-right: 1px solid rgba(132, 186, 218, 0.24);
  gap: 5px;
}

#pricing .bx-invoice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
}

#pricing .bx-cadence-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(168, 225, 255, 0.1);
  border: 1px solid rgba(168, 225, 255, 0.26);
  color: #cbeaff;
  font: 600 10px/1.3 var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

#pricing .rec-money__cell.is-invoice .bx-neon-price {
  font-size: clamp(27px, 2.7vw, 37px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  color: var(--ice-bright);
  text-shadow: var(--neon-glow-lg);
  white-space: normal;
  margin-top: 2px;
}

#pricing .rec-money__cell.is-invoice .bx-neon-price.is-text-price {
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -0.02em;
}

#pricing .rec-money__cell.is-invoice small {
  color: #bfd0da;
}

/* Calm single-pass ignition on plan change (zero flicker / zero loop) */
#pricing .rec-card.bx-ignite .is-invoice .bx-neon-price {
  animation: bxIgnite 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bxIgnite {
  from {
    color: #b7c1c7;
    text-shadow: none;
  }
  to {
    color: var(--ice-bright);
    text-shadow: var(--neon-glow-lg);
  }
}

/* Signature Brass/Ice Proportional Composition Meter */
#pricing .bx-meter {
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px solid rgba(242, 238, 230, 0.09);
  display: grid;
  gap: 6px;
}

#pricing .bx-meter__track {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 3.5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

#pricing .bx-meter__track.is-dashed {
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(225, 188, 128, 0.55) 0 6px,
    transparent 6px 11px
  );
}

#pricing .bx-meter__seg {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#pricing .bx-meter__seg.is-setup {
  background: linear-gradient(90deg, #caa263, var(--brass-soft));
}

#pricing .bx-meter__seg.is-monthly {
  background: linear-gradient(90deg, #7bcbf7, var(--ice-bright));
}

#pricing .bx-meter__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  font: 500 10.5px/1.3 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: #b8c4cb;
}

#pricing .bx-meter__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#pricing .bx-meter__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

#pricing .bx-meter__legend .is-setup i {
  background: var(--brass-lit);
}

#pricing .bx-meter__legend .is-monthly i {
  background: var(--ice);
}

/* Secondary Pair: Ongoing Monthly & One-Time Setup (hairline-divided, zero glow) */
#pricing .rec-money__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #0b1013;
}

#pricing .rec-money__pair .rec-money__cell {
  justify-content: center;
}

#pricing .rec-money__pair .rec-money__cell + .rec-money__cell {
  border-left: 1px solid var(--rule-hair);
}

#pricing .rec-money__cell.is-setup strong {
  color: #e4e0d8;
}

/* Scope list & balanced estimate strip */
#pricing .rec-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  margin: 0;
  padding: 0;
}

#pricing .rec-scope li {
  font-size: 13.5px;
  line-height: 1.42;
  color: #d6d2c9;
  padding-left: 15px;
}

#pricing .rec-scope li::before {
  content: "—";
  color: var(--brass-lit);
}

#pricing .tier-est-note {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(168, 225, 255, 0.06);
  border: 1px solid rgba(168, 225, 255, 0.16);
  border-left: 2.5px solid var(--ice);
  font: 500 11.5px/1.4 var(--font-mono);
  color: #cfe4f0;
  text-wrap: balance;
}

#pricing .rec-tax-line {
  padding-top: 10px;
  border-top: 1px solid var(--rule-hair);
  font-size: 12px;
  line-height: 1.48;
  color: var(--ivory-muted);
  margin: 0;
}

#pricing .rec-tax-line b {
  color: var(--ivory-2);
}

/* 6. Contextual Estimator */
#pricing .ledger-estimator {
  background: #0e1417;
  border: 1px solid var(--rule-hair);
  border-radius: 12px;
  padding: 14px 16px;
}

#pricing .est-field label {
  color: var(--ivory-muted);
}

#pricing .est-field label b {
  color: var(--ice);
}

#pricing .est-range {
  accent-color: var(--ice);
  height: 28px;
}

#pricing .est-chip {
  min-height: 40px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #131a1e;
  border: 1px solid var(--rule-strong);
  color: var(--ivory-2);
  font: 500 11.5px/1.25 var(--font-mono);
  cursor: pointer;
}

#pricing .est-chip:hover:not(.is-active):not([aria-pressed="true"]) {
  border-color: var(--brass-lit);
  color: var(--ivory);
}

#pricing .guard-banner {
  border-radius: 8px;
  background: rgba(168, 225, 255, 0.06);
  border-left: 3px solid var(--ice);
  color: var(--ivory-2);
}

#pricing .guard-banner.is-warn {
  background: rgba(225, 188, 128, 0.08);
  border-left-color: var(--brass-lit);
}

/* 7. Alternate Plans Strip & Expandable Tables (zero glow on unselected prices) */
#pricing .alt-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}

#pricing .alt-pill-card {
  background: #0f1519;
  border: 1px solid var(--rule-hair);
  border-radius: 11px;
  padding: 11px 14px;
}

#pricing .alt-pill-card__info b {
  color: var(--ivory);
  font-size: 20px;
}

#pricing .alt-pill-card__info span {
  color: var(--ivory-muted);
  font-size: 11.5px;
}

#pricing .alt-pill-card__info strong {
  color: #dad5cb;
  text-shadow: none;
}

#pricing .alt-pill-card__acts .btn {
  min-height: 44px;
}

#pricing .alt-compare,
#pricing .compare-details {
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: #0d1215;
}

#pricing .alt-compare summary,
#pricing .compare-details summary {
  min-height: 48px;
  color: var(--ivory);
}

#pricing .alt-compare[open] summary,
#pricing .compare-details[open] summary {
  background: #131a1f;
  border-bottom-color: var(--rule-hair);
}

#pricing .ledger-table {
  background: #0d1215;
}

#pricing .tier-row.is-recommended {
  background: rgba(168, 225, 255, 0.045);
  box-shadow: inset 3px 0 0 var(--ice);
}

#pricing .tier-num.is-invoice strong {
  color: #c8d1d7;
  text-shadow: none;
}

#pricing .tier-row.is-recommended .tier-num.is-invoice strong {
  color: var(--ice);
  text-shadow: none;
}

#pricing .billing-terms {
  background: #0f1518;
  border: 1px solid var(--rule-hair);
  border-radius: 12px;
}

#pricing .billing-terms dt {
  color: var(--brass-lit);
}

#pricing .billing-terms dd,
#pricing .ledger-fine {
  color: var(--ivory-muted);
}

#pricing .px-help {
  color: var(--ice);
}

#pricing .px-help:hover {
  color: var(--ice-bright);
}

#pricing .compare-card {
  background: #0f1518;
  border-color: var(--rule-hair);
}

/* ==========================================================================
   Responsive Mobile Atelier (<= 760px, calibrated for 390px)
   ========================================================================== */
@media (max-width: 760px) {
  #pricing .wrap {
    padding-inline: 14px;
  }

  #pricing .rates-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 14px;
  }

  #pricing #pricing-title {
    font-size: 34px;
    margin: 4px 0 6px;
  }

  #pricing .rates-head .lead {
    font-size: 14px;
    line-height: 1.42;
  }

  #pricing .rates-market-stamp {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
  }

  /* Horizontal 6-service scroll-snap pill rail (all 6 tabs visible & tappable) */
  #pricing .need-selector {
    padding: 12px 0 12px;
    margin: 0;
  }

  #pricing .need-selector__label {
    margin-bottom: 8px;
  }

  #pricing .need-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    gap: 7px;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
  }

  #pricing .need-grid.is-at-end {
    -webkit-mask-image: none;
    mask-image: none;
  }

  #pricing .need-grid::-webkit-scrollbar {
    display: none;
  }

  #pricing .need-btn {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 7px 12px;
    gap: 2px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  #pricing .need-btn strong {
    font-size: 12.5px;
  }

  #pricing .need-btn small {
    font-size: 10.5px;
  }

  /* Compact Atelier Panel — maximize inner breathing room at 390px */
  #pricing .rate-panel-single {
    padding: 14px 12px;
    border-radius: 14px;
    gap: 12px;
  }

  #pricing .rate-panel-intro {
    gap: 4px 12px;
    padding-bottom: 0;
  }

  #pricing .rate-panel-intro > div {
    width: 100%;
  }

  #pricing .rate-panel-intro h3.serif {
    font-size: 25px;
  }

  #pricing .rate-panel-sub {
    font-size: 13px;
    line-height: 1.42;
    margin-top: 3px;
  }

  #pricing .rate-panel-intro .route-link {
    min-height: 36px;
    padding-block: 4px;
    font-size: 11.5px;
  }

  /* Plan Rail at 390px: crisp 3-column equal-height alignment */
  #pricing .bx-power {
    gap: 6px;
  }

  #pricing .bx-power-head {
    gap: 6px;
  }

  #pricing .bx-power-label {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  #pricing .bx-power-cue {
    display: none;
  }

  #pricing .bx-rail {
    gap: 4px;
    padding: 4px;
    border-radius: 11px;
  }

  #pricing .bx-filament {
    top: 3px;
  }

  #pricing .bx-lamp {
    min-height: 76px;
    padding: 8px 7px 7px;
    gap: 4px;
    border-radius: 8px;
  }

  #pricing .bx-lamp__name {
    gap: 4px;
    font-size: 11px;
    line-height: 1.18;
  }

  #pricing .bx-led {
    width: 5px;
    height: 5px;
  }

  #pricing .bx-lamp__first {
    font-size: 13px;
    line-height: 1.14;
    letter-spacing: -0.025em;
  }

  #pricing .bx-lamp__first.is-text-price {
    font-size: 11px;
    line-height: 1.18;
  }

  #pricing .bx-lamp__mo {
    font-size: 10px;
    line-height: 1.2;
  }

  /* Spotlight Card at 390px — Unified Ledger FIRST, CTA after scope */
  #pricing .rec-card {
    padding: 14px 13px;
    gap: 11px;
    border-radius: 12px;
  }

  #pricing .rec-card__head {
    display: contents;
  }

  #pricing .rec-card__identity {
    order: 1;
  }

  #pricing .rec-money {
    order: 2;
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  #pricing .rec-scope {
    order: 3;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #pricing .rec-card .tier-est-note {
    order: 4;
  }

  #pricing .rec-card__cta {
    order: 5;
    width: 100%;
    gap: 4px;
  }

  #pricing .rec-tax-line {
    order: 6;
    font-size: 11.5px;
    padding-top: 9px;
  }

  #pricing .rec-card__title-row {
    gap: 8px;
  }

  #pricing .rec-card__title-row h4 {
    font-size: 27px;
  }

  #pricing .tier-agenda-chip {
    font-size: 11px;
  }

  #pricing .rec-money__cell {
    padding: 11px 12px;
  }

  #pricing .rec-money__cell.is-invoice {
    border-right: 0;
    border-bottom: 1px solid rgba(132, 186, 218, 0.22);
    padding: 12px 12px 11px;
  }

  #pricing .rec-money__cell.is-invoice .bx-neon-price {
    font-size: 28px;
  }

  #pricing .rec-money__cell.is-invoice .bx-neon-price.is-text-price {
    font-size: 21px;
  }

  #pricing .rec-money__cell.is-invoice small {
    font-size: 11.5px;
  }

  #pricing .bx-meter {
    margin-top: 6px;
    padding-top: 7px;
    gap: 5px;
  }

  #pricing .bx-meter__legend {
    font-size: 10px;
    gap: 3px 8px;
  }

  #pricing .rec-money__pair .rec-money__cell {
    padding: 10px 11px;
    gap: 2px;
  }

  #pricing .rec-money__pair .rec-money__cell .cell-k {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  #pricing .rec-money__pair .rec-money__cell strong {
    font-size: 16.5px;
    white-space: normal;
  }

  #pricing .rec-money__pair .rec-money__cell small {
    font-size: 11px;
    line-height: 1.3;
  }

  #pricing .rec-scope {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #pricing .rec-scope li {
    font-size: 13px;
    line-height: 1.38;
  }

  #pricing .tier-est-note {
    padding: 7px 10px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  #pricing .rec-card__cta {
    gap: 4px;
  }

  #pricing .rec-card__cta .btn {
    min-height: 48px;
    font-size: 14.5px;
  }

  #pricing .rec-card__cta .pay-alt {
    min-height: 44px;
    font-size: 11.5px;
  }

  #pricing .rec-tax-line {
    font-size: 11.5px;
    padding-top: 9px;
  }

  #pricing .ledger-estimator {
    padding: 12px;
  }

  #pricing .estimator-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #pricing .est-chip {
    min-height: 44px;
  }

  #pricing .billing-terms {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  #pricing .tier-num.is-invoice {
    background: rgba(168, 225, 255, 0.06);
    border-left-color: var(--ice);
  }
}

/* Header & Continuity Responsive Rules (<= 960px and <= 760px) */
@media (max-width: 960px) {
  #nav .bx-nav-plans-pill {
    display: inline-flex;
  }
  #nav .navr {
    gap: 6px;
  }
}

@media (max-width: 760px) {
  #nav .wrap {
    gap: 8px;
    padding-inline: 14px;
  }
  #nav .logo {
    gap: 7px;
    font-size: 13px;
    letter-spacing: 0.13em;
  }
  #nav .logo i {
    width: 17px;
    height: 17px;
  }
  #nav .bx-nav-plans-pill {
    min-height: 36px;
    padding: 0 9px;
    font-size: 10.5px;
  }
  #nav .mkt {
    min-height: 36px;
    padding: 5px 8px;
    font-size: 10.5px;
  }
  #nav .burger {
    width: 38px;
    height: 38px;
  }

  /* Hero -> Creds -> Cases mobile continuity at 390px */
  #top.hero.vhero .cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #top.hero.vhero .cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }
  #top.hero.vhero .hstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 18px;
    padding-top: 14px;
  }

  #work .work-head__cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  #work .work-head__cta .btn {
    width: 100%;
    justify-content: center;
    padding-inline: 10px;
    font-size: 12.5px;
  }
  #work .case-featured-acts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #work .case-featured-acts .btn {
    width: 100%;
    justify-content: center;
  }
  #work .bx-case-acts {
    gap: 8px;
  }
  #work .bx-case-bridge {
    min-height: 44px;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   Reduced Motion & Manual Motion Pause (Zero Animation, Instant Crisp State)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  #nav .bx-nav-plans-pill,
  #top.hero.vhero .cta .btn,
  #work .case-card,
  #work .bx-case-bridge,
  #pricing .need-btn,
  #pricing .route-link,
  #pricing .bx-filament,
  #pricing .bx-lamp,
  #pricing .bx-lamp__name,
  #pricing .bx-led,
  #pricing .bx-lamp__first,
  #pricing .bx-lamp__mo,
  #pricing .bx-meter__seg,
  #pricing .btn-ink {
    transition: none !important;
  }
  #pricing .rec-card.bx-ignite .is-invoice .bx-neon-price,
  #pricing .rate-panel-single.bx-panel-arrived {
    animation: none !important;
  }
  #top.hero.vhero .cta .btn:active,
  #pricing .bx-lamp:active,
  #pricing .btn-ink:active {
    transform: none !important;
  }
}

html[data-motion-paused="true"] #nav .bx-nav-plans-pill,
html[data-motion-paused="true"] #top.hero.vhero .cta .btn,
html[data-motion-paused="true"] #work .case-card,
html[data-motion-paused="true"] #work .bx-case-bridge,
html[data-motion-paused="true"] #pricing .need-btn,
html[data-motion-paused="true"] #pricing .route-link,
html[data-motion-paused="true"] #pricing .bx-filament,
html[data-motion-paused="true"] #pricing .bx-lamp,
html[data-motion-paused="true"] #pricing .bx-lamp__name,
html[data-motion-paused="true"] #pricing .bx-led,
html[data-motion-paused="true"] #pricing .bx-lamp__first,
html[data-motion-paused="true"] #pricing .bx-lamp__mo,
html[data-motion-paused="true"] #pricing .bx-meter__seg,
html[data-motion-paused="true"] #pricing .btn-ink {
  transition: none !important;
}

html[data-motion-paused="true"] #pricing .rec-card.bx-ignite .is-invoice .bx-neon-price,
html[data-motion-paused="true"] #pricing .rate-panel-single.bx-panel-arrived {
  animation: none !important;
}
