/* ============================================================================
   Casa Digital Corners — Bespoke Storytelling Design System
   STRICTLY Brand Colors ONLY:
     Desert #DDCAB2 | Brown #7A4A1D | Ivory #F1ECE4
     Gradient Gold: #E7AA51, #FFE499, #8D5A1B, #E7AA51, #AC7031
   STRICTLY Brand Fonts ONLY:
     - Titles: Permanent Marker (--font-title)
     - Subtitle Text: Bold Livvic (.subtitle-text, 700)
     - Regular Text: Regular Livvic (.regular-text, 400)
     - Important / Special Callouts: Covered By Your Grace (.font-accent)
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 85% 45% at 50% 0%, rgba(221, 202, 178, 0.52) 0%, transparent 72%),
    radial-gradient(circle at 90% 45%, rgba(255, 228, 153, 0.18) 0%, transparent 45%);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2.5px solid var(--gold-1);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Top Gold Scroll Progress Ribbon */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--gradient-gold);
  z-index: 120;
  transition: width 80ms linear;
}

/* Strict Typography Roles */
h1,
h2,
h3,
.font-title {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.05rem, 4.3vw, 3.35rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.5rem);
}

/* Bold Livvic — strictly for Subtitles */
.subtitle-text {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

/* Regular Livvic — strictly for Regular Body Copy */
.regular-text {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.68;
}

/* Covered By Your Grace — strictly for Important / Special Callouts */
.font-accent {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.text-muted {
  color: var(--text-muted);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3.75rem, 7.5vw, 6rem) 0;
  position: relative;
}

.section-desert {
  background: rgba(221, 202, 178, 0.38);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Announcement Bar */
.announcement-bar {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1.5px solid var(--gold-1);
}

.announcement-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 236, 228, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.brand-mark {
  font-family: var(--font-title);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 0.2rem 0;
}

.site-nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 99px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.site-nav a.nav-link:hover::after,
.site-nav a.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 680px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-page);
    border-bottom: 2px solid var(--gold-1);
    padding: 1.25rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-lift);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }
}

/* Tactile Gold Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform var(--duration-fast) var(--ease-smooth),
    box-shadow var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--gold-5);
  box-shadow: 0 6px 18px rgba(122, 74, 29, 0.16), inset 0 1px 0 rgba(255, 228, 153, 0.9);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(241, 236, 228, 0.6), transparent);
  transition: left 520ms var(--ease-smooth);
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-primary:hover {
  background: var(--gradient-gold-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(122, 74, 29, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--brand-desert);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  padding: 0.28rem 0.82rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--brand-desert);
  color: var(--brand-brown);
}

.badge-gold {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border: 1px solid var(--gold-5);
}

.gold-bar {
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold);
}

/* ============================================================================
   INTERACTIVE BESPOKE CHAPTER ARTIFACTS (100% Brand Colors — Zero Clutter)
   ============================================================================ */

/* 1. Brand Compass Halo Emblem (Chapter 1) */
.sunburst-medallion {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sunburst-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--gold-1);
  animation: casaSpinSlow 28s linear infinite;
}

.sunburst-ring-inner {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px solid var(--gold-2);
  background: radial-gradient(circle, rgba(255, 228, 153, 0.35) 0%, rgba(221, 202, 178, 0.65) 100%);
  box-shadow: var(--shadow-lift);
}

.sunburst-medallion img {
  position: relative;
  z-index: 2;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-1);
  box-shadow: 0 10px 26px rgba(122, 74, 29, 0.25);
}

/* 2. Interactive 3D Fanned Guide Book Stack (Chapter 2 — Free Guide) */
.guide-book-stage {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.guide-page-card {
  width: 230px;
  border-radius: 18px;
  padding: 1.35rem;
  background: var(--brand-ivory);
  color: var(--brand-brown);
  border: 2px solid var(--gold-1);
  box-shadow: var(--shadow-lift);
  transition: transform 480ms var(--ease-smooth);
}

.guide-page-back-1 {
  position: absolute;
  background: var(--brand-desert);
  transform: rotate(-7deg) translate(-22px, 8px);
  opacity: 0.85;
}

.guide-page-back-2 {
  position: absolute;
  background: var(--brand-brown);
  color: var(--brand-ivory);
  transform: rotate(7deg) translate(24px, 10px);
  opacity: 0.9;
}

.guide-page-front {
  position: relative;
  z-index: 2;
  background: linear-gradient(155deg, var(--brand-ivory) 0%, var(--brand-desert) 100%);
}

.story-chapter:hover .guide-page-back-1,
.story-chapter.is-active-chapter .guide-page-back-1 {
  transform: rotate(-12deg) translate(-42px, 4px);
}

.story-chapter:hover .guide-page-back-2,
.story-chapter.is-active-chapter .guide-page-back-2 {
  transform: rotate(12deg) translate(44px, 6px);
}

.story-chapter:hover .guide-page-front,
.story-chapter.is-active-chapter .guide-page-front {
  transform: translateY(-6px) scale(1.02);
}

/* 3. Interactive DCA Micro-Lesson Curriculum Player Preview (Chapter 3 — DCA) */
.dca-player-stage {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lift);
}

.dca-player-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(241, 236, 228, 0.2);
}

.dca-player-header img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--brand-ivory);
  border-radius: 12px;
  padding: 4px;
}

.dca-lesson-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(241, 236, 228, 0.08);
  border: 1px solid rgba(255, 228, 153, 0.35);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  margin-bottom: 0.65rem;
  transition: transform 320ms var(--ease-smooth), background 320ms var(--ease-smooth);
}

.story-chapter:hover .dca-lesson-pill:nth-child(2),
.story-chapter.is-active-chapter .dca-lesson-pill:nth-child(2) {
  transform: translateX(6px);
  background: rgba(255, 228, 153, 0.16);
}

/* 4. Interactive Casa Edits Reels Timeline Studio Preview (Chapter 4) */
.reels-studio-stage {
  background: var(--brand-desert);
  border: 2px solid var(--gold-1);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.reels-phone-frame {
  width: 145px;
  aspect-ratio: 9 / 14;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2px solid var(--gold-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reels-timeline {
  position: relative;
  background: var(--brand-ivory);
  border-radius: 12px;
  padding: 0.65rem;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.reels-track {
  height: 12px;
  border-radius: 99px;
  background: var(--gradient-gold);
  margin-bottom: 0.4rem;
}

.reels-track--sub {
  width: 72%;
  background: var(--brand-brown);
  opacity: 0.75;
  margin-bottom: 0;
}

.reels-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-brown);
  box-shadow: 0 0 8px var(--gold-1);
  animation: casaPlayheadSweep 3.8s ease-in-out infinite;
}

/* 5. Interactive Casa Slides Fanned Carousel Deck (Chapter 5) */
.slides-deck-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 250px;
  padding: 1rem;
}

.slide-card-mini {
  width: 135px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--gold-1);
  box-shadow: var(--shadow-soft);
  transition: transform 420ms var(--ease-smooth);
}

.slide-card-mini--1 {
  background: var(--brand-ivory);
  color: var(--brand-brown);
  transform: rotate(-6deg) translateY(8px);
}

.slide-card-mini--2 {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  z-index: 2;
  transform: translateY(-6px) scale(1.05);
}

.slide-card-mini--3 {
  background: var(--brand-desert);
  color: var(--brand-brown);
  transform: rotate(6deg) translateY(8px);
}

.story-chapter:hover .slide-card-mini--1,
.story-chapter.is-active-chapter .slide-card-mini--1 {
  transform: rotate(-11deg) translate(-12px, 4px);
}

.story-chapter:hover .slide-card-mini--3,
.story-chapter.is-active-chapter .slide-card-mini--3 {
  transform: rotate(11deg) translate(12px, 4px);
}

/* Reserved Optional Future Cover Art Slot Badge inside Offer Visuals */
.future-art-note {
  margin-top: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px dashed var(--border-strong);
  font-size: 0.8rem;
  text-align: center;
  background: rgba(241, 236, 228, 0.55);
  color: var(--brand-brown);
}

/* ============================================================================
   STORY CHAPTER LAYOUTS (3 Distinct Looks)
   ============================================================================ */

.story-chapter {
  position: relative;
  transition: transform 400ms var(--ease-smooth);
}

.chapter-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--brand-brown);
  color: var(--gold-2);
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

/* Look 1: Sunlit Story Scroll Chapters + Next-Chapter Connector Cue */
.chapter-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.chapter-split--reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

@media (max-width: 860px) {
  .chapter-split,
  .chapter-split--reverse {
    grid-template-columns: 1fr;
  }
}

.next-chapter-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 3rem;
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--text-primary);
  opacity: 0.88;
}

.next-chapter-cue .cue-arrow {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  border: 1px solid var(--gold-5);
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  animation: casaBounceGentle 2.2s ease-in-out infinite;
}

/* Right-Side Interactive Chapter Compass Rail (Desktop) */
.chapter-compass-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(241, 236, 228, 0.92);
  border: 1.5px solid var(--gold-1);
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.45rem;
  box-shadow: var(--shadow-soft);
}

.rail-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-desert);
  border: 1.5px solid var(--brand-brown);
  transition: all 260ms var(--ease-smooth);
  position: relative;
}

.rail-dot.is-active {
  background: var(--gold-1);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(231, 170, 81, 0.28);
}

@media (max-width: 1180px) {
  .chapter-compass-rail {
    display: none;
  }
}

/* Look 2: Sticky Editorial Split Chapters */
.editorial-sticky-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.75rem;
  align-items: start;
}

.editorial-sticky-index {
  position: sticky;
  top: 100px;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--brand-desert);
  border: 1.5px solid var(--gold-1);
}

.editorial-big-num {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-brown);
  opacity: 0.9;
}

@media (max-width: 860px) {
  .editorial-sticky-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .editorial-sticky-index {
    position: static;
  }
}

/* Look 3: Golden Thread Center Spine Journey */
.golden-thread-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 2.75rem;
}

.golden-thread-line {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 99px;
  background: var(--brand-desert);
  overflow: hidden;
}

.golden-thread-fill {
  width: 100%;
  height: 100%;
  background: var(--gradient-gold);
  transform-origin: top;
}

.thread-node {
  position: relative;
  margin-bottom: 3rem;
}

.thread-marker {
  position: absolute;
  left: -2.75rem;
  top: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  border: 2px solid var(--brand-brown);
  color: var(--brand-brown);
  font-family: var(--font-title);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

/* ============================================================================
   DESKTOP vs. MOBILE PHONE PREVIEW FRAME TOGGLE
   Lets you inspect Website View AND Mobile Phone View (390px) in 1 click!
   ============================================================================ */

body.is-mobile-preview {
  background: var(--brand-brown);
  padding: 1.25rem 0 5.5rem;
}

body.is-mobile-preview .site-header,
body.is-mobile-preview main,
body.is-mobile-preview .site-footer,
body.is-mobile-preview .announcement-bar {
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.is-mobile-preview .site-header {
  border-radius: 32px 32px 0 0;
  border-top: 4px solid var(--gold-1);
  border-left: 3px solid var(--gold-1);
  border-right: 3px solid var(--gold-1);
}

body.is-mobile-preview main {
  background: var(--bg-page);
  border-left: 3px solid var(--gold-1);
  border-right: 3px solid var(--gold-1);
}

body.is-mobile-preview .site-footer {
  border-radius: 0 0 32px 32px;
  border-bottom: 4px solid var(--gold-1);
  border-left: 3px solid var(--gold-1);
  border-right: 3px solid var(--gold-1);
}

/* Force single-column mobile grids inside the 390px Mobile Preview Frame */
body.is-mobile-preview .chapter-split,
body.is-mobile-preview .chapter-split--reverse,
body.is-mobile-preview .editorial-sticky-grid,
body.is-mobile-preview .grid-2,
body.is-mobile-preview .grid-3 {
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}

body.is-mobile-preview .editorial-sticky-index {
  position: static !important;
}

body.is-mobile-preview .site-nav {
  display: none;
}

body.is-mobile-preview .site-nav[data-open="true"] {
  display: flex;
}

body.is-mobile-preview .mobile-menu-btn {
  display: inline-flex;
}

body.is-mobile-preview .chapter-compass-rail {
  display: none;
}

/* Floating Bottom Control Bar (3 Looks + Desktop/Mobile Switcher + Live Next Chapter Pill) */
.floating-look-dock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 96vw;
}

.dock-divider {
  width: 1px;
  height: 20px;
  background: rgba(241, 236, 228, 0.28);
  margin: 0 0.25rem;
}

.dock-btn {
  padding: 0.36rem 0.78rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-ivory);
  background: transparent;
  border: 1px solid rgba(241, 236, 228, 0.3);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.dock-btn:hover {
  border-color: var(--gold-2);
}

.dock-btn.is-active {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--gold-5);
}

.dock-up-next {
  font-family: var(--font-accent);
  color: var(--gold-2);
  font-size: 1.15rem;
  padding: 0 0.4rem;
  white-space: nowrap;
}

/* Standard Cards, Forms, Accordions, Modals & Footer */
.card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 22px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.card-featured {
  border: 2px solid var(--gold-1);
}

.card-desert {
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1.5px solid var(--border-subtle);
  border-radius: 22px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.card-brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: clamp(1.85rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lift);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.bio-shell {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.bio-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border: 1.5px solid var(--gold-5);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0 1.25rem;
}

.bio-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.05rem;
  text-align: left;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  margin: 0.75rem 0 1rem;
  text-align: left;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1.5px solid var(--gold-5);
  border-left: 5px solid var(--brand-brown);
  margin: 1rem 0;
  font-size: 0.95rem;
  text-align: left;
}

.accordion-item {
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-surface);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.accordion-item[data-open="true"] {
  border-color: var(--gold-1);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.05rem;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-med) var(--ease-smooth);
}

.accordion-panel-inner {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
}

.accordion-icon {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.accordion-item[data-open="true"] .accordion-icon {
  transform: rotate(45deg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--backdrop-modal);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-med) var(--ease-smooth);
}

.modal-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 460px;
  background: var(--brand-ivory);
  color: var(--brand-brown);
  border: 2px solid var(--gold-1);
  border-radius: 22px;
  padding: 1.85rem;
  box-shadow: var(--shadow-lift);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--duration-med) var(--ease-smooth);
  position: relative;
}

.modal-backdrop[data-open="true"] .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  font-size: 1.2rem;
  cursor: pointer;
}

.site-footer {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  padding: 2.5rem 0 5rem;
  margin-top: auto;
  border-top: 3px solid var(--gold-1);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer-links a:hover {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ============================================================================
   "WOW" BOUTIQUE ANIMATIONS & LIVING MICRO-THEATERS (Look 1, Look 2, Look 3)
   100% Brand Palette Only (Ivory #F1ECE4, Desert #DDCAB2, Brown #7A4A1D, Gold)
   ============================================================================ */

/* Self-Drawing SVG Fountain-Pen Gold Flourish */
.svg-gold-flourish {
  display: block;
  width: 150px;
  height: 16px;
  margin: 0.45rem 0 1rem;
  overflow: visible;
}

.svg-gold-flourish.is-center {
  margin-left: auto;
  margin-right: auto;
}

.svg-gold-flourish path {
  fill: none;
  stroke: var(--gold-1);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.1s var(--ease-smooth);
}

.story-chapter.is-active-chapter .svg-gold-flourish path,
.reveal.is-visible .svg-gold-flourish path {
  stroke-dashoffset: 0;
}

/* Cursor / Scroll Golden Spotlight Glow on Cards */
.spotlight-card {
  position: relative;
  overflow: hidden;
  --spot-x: 50%;
  --spot-y: 30%;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--spot-x) var(--spot-y),
    rgba(255, 228, 153, 0.28),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 360ms var(--ease-smooth);
}

.spotlight-card:hover::before,
.story-chapter.is-active-chapter .spotlight-card::before {
  opacity: 1;
}

/* Living Micro-Theater 1: DCA Live Auto-Progress Bar & Gold Sparkle Pill */
.dca-live-progress-wrap {
  margin-top: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: rgba(241, 236, 228, 0.1);
  border: 1px solid rgba(255, 228, 153, 0.35);
}

.dca-live-bar-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(241, 236, 228, 0.2);
  overflow: hidden;
  margin-top: 0.45rem;
}

.dca-live-bar-fill {
  height: 100%;
  width: 15%;
  border-radius: 99px;
  background: var(--gradient-gold);
  transition: width 1.6s var(--ease-smooth);
}

.story-chapter.is-active-chapter .dca-live-bar-fill,
.story-chapter:hover .dca-live-bar-fill {
  width: 100%;
}

/* Living Micro-Theater 2: Casa Edits Animated Audio Waveform & Auto-Caption */
.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
  margin: 0.45rem 0;
}

.waveform-bars span {
  display: inline-block;
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold-2);
  animation: casaWaveDance 1.1s ease-in-out infinite;
}

.waveform-bars span:nth-child(2) { animation-delay: 0.15s; }
.waveform-bars span:nth-child(3) { animation-delay: 0.3s; }
.waveform-bars span:nth-child(4) { animation-delay: 0.45s; }
.waveform-bars span:nth-child(5) { animation-delay: 0.2s; }
.waveform-bars span:nth-child(6) { animation-delay: 0.35s; }

@keyframes casaWaveDance {
  0%, 100% { height: 6px; opacity: 0.65; }
  50% { height: 22px; opacity: 1; }
}

/* Living Micro-Theater 3: Casa Slides Interactive Tap-to-Cycle Carousel Deck */
.interactive-slide-deck {
  position: relative;
  text-align: center;
}

.slide-cycle-hint {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-ivory);
  border: 1px solid var(--gold-1);
}

.slide-card-mini.is-front-slide {
  transform: translateY(-10px) scale(1.08) !important;
  z-index: 5 !important;
  border-color: var(--gold-2);
  box-shadow: 0 16px 32px rgba(122, 74, 29, 0.26);
}

/* ============================================================================
   LOOK 2 (NEW): 3D STACKED CARD THEATER (Scroll-Physics Center Stage)
   ============================================================================ */

.theater-stack-container {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.theater-stage-card {
  background: var(--bg-surface);
  border: 2px solid var(--gold-1);
  border-radius: 28px;
  padding: clamp(1.75rem, 4.5vw, 3rem);
  box-shadow: var(--shadow-soft);
  transform: perspective(1000px) translateY(26px) scale(0.94) rotateX(3deg);
  opacity: 0.45;
  transition:
    transform 680ms var(--ease-smooth),
    opacity 680ms var(--ease-smooth),
    box-shadow 680ms var(--ease-smooth);
}

.theater-stage-card.is-active-chapter,
.theater-stage-card.is-visible {
  transform: perspective(1000px) translateY(0) scale(1) rotateX(0deg);
  opacity: 1;
  box-shadow: 0 22px 48px rgba(122, 74, 29, 0.18);
}

.theater-stage-card--brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
}

.theater-stage-card--brown h2,
.theater-stage-card--brown .subtitle-text,
.theater-stage-card--brown .font-accent {
  color: var(--brand-ivory);
}

.theater-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.theater-stage-card--brown .theater-top-bar {
  border-bottom-color: rgba(241, 236, 228, 0.2);
}

.theater-dial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  font-family: var(--font-title);
  font-size: 0.86rem;
  border: 1.5px solid var(--gold-5);
}

/* ============================================================================
   LOOK 3 (NEW): SUNLIT ARCH GALLERY & INTERACTIVE MINI-TAB SHOWCASE
   ============================================================================ */

.arch-gallery-card {
  background: var(--bg-surface);
  border: 2px solid var(--gold-1);
  border-radius: 28px;
  padding: clamp(1.65rem, 4vw, 2.65rem);
  box-shadow: var(--shadow-soft);
}

.arch-visual-window {
  border-radius: 140px 140px 22px 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 228, 153, 0.35) 0%,
    rgba(221, 202, 178, 0.78) 100%
  );
  border: 2px solid var(--gold-1);
  padding: 2rem 1.35rem 1.5rem;
  box-shadow: inset 0 8px 24px rgba(122, 74, 29, 0.08);
  transition: transform 480ms var(--ease-smooth);
}

.story-chapter.is-active-chapter .arch-visual-window {
  transform: translateY(-4px);
}

/* Interactive Mini Feature Switcher inside Each Chapter (Look 3) */
.chapter-mini-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: var(--brand-desert);
  border: 1px solid var(--border-subtle);
}

.chapter-mini-tab {
  border: 0;
  background: transparent;
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.chapter-mini-tab[aria-selected="true"] {
  background: var(--gradient-gold-button);
  box-shadow: 0 2px 8px rgba(122, 74, 29, 0.16);
}

.chapter-mini-panel {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: rgba(221, 202, 178, 0.4);
  border-left: 4px solid var(--gold-5);
  margin-bottom: 1.35rem;
}

.chapter-mini-panel.is-open {
  display: block;
  animation: casaFadeUp 280ms var(--ease-smooth) both;
}


/* ============================================================================
   Main Hub Refinements: Top Menu, Mobile Header, Announcement Bar,
   Calm Single-Row Footer, Arrow-Only Cue, & Animated DCA Site Preview Window
   ============================================================================ */

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.announcement-sep {
  opacity: 0.45;
}

/* Subtle Student Login in Top Nav */
.site-nav a.nav-link-subtle {
  font-size: 0.84rem;
  font-weight: 400;
  opacity: 0.78;
}

.site-nav a.nav-link-subtle:hover {
  opacity: 1;
}

/* Mobile Header Actions: Show ONLY Logo + [Join DCA] + ☰ on mobile */
.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 0.55rem;
}

@media (max-width: 820px) {
  .mobile-header-actions {
    display: inline-flex;
  }

  .nav-join-dca-desktop {
    display: none;
  }

  .brand-mark-text {
    font-size: 1rem;
  }
}

body.is-mobile-preview .mobile-header-actions {
  display: inline-flex !important;
}

body.is-mobile-preview .nav-join-dca-desktop {
  display: none !important;
}

body.is-mobile-preview .brand-mark-text {
  font-size: 0.96rem;
}

/* Arrow-Only Scroll Cue (Image 2 — green circle only, text removed) */
.next-arrow-only {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.next-arrow-only .cue-arrow {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  border: 1.5px solid var(--brand-brown);
  color: var(--brand-brown);
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  animation: casaBounceGentle 2.2s ease-in-out infinite;
  transition: transform 220ms var(--ease-smooth), box-shadow 220ms var(--ease-smooth);
}

.next-arrow-only .cue-arrow:hover {
  transform: translateY(3px) scale(1.06);
  box-shadow: var(--shadow-lift);
}

/* Animated DCA Website Preview Window (Image 5) */
.dca-site-preview-window {
  margin-top: 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 228, 153, 0.55);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.dca-browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: var(--brand-desert);
  border-bottom: 1px solid rgba(122, 74, 29, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
}

.dca-browser-dots {
  display: inline-flex;
  gap: 5px;
}

.dca-browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-brown);
  opacity: 0.55;
}

.dca-browser-body {
  padding: 0.9rem 1rem;
  position: relative;
  overflow: hidden;
}

.dca-browser-body::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 228, 153, 0.5), transparent);
  animation: casaPreviewSheen 3.6s ease-in-out infinite;
}

@keyframes casaPreviewSheen {
  0%, 100% { left: -100%; }
  50% { left: 140%; }
}

/* Calm Best Footer */
.footer-calm-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
}

.footer-primary-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 0.94rem;
}

.footer-primary-row a:hover,
.footer-legal-row a:hover,
.footer-instagram-row a:hover {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-primary-row span,
.footer-legal-row span {
  opacity: 0.42;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  opacity: 0.8;
}

.footer-copyright {
  font-size: 0.78rem;
  opacity: 0.7;
}


/* ============================================================================
   Mobile Perfection (390px) + Animated Announcement Ticker +
   WOW Portrait Medallion (Image 7) + Compact Footer (Image 5) +
   Creative 2-Col Animated FAQs (Image 8)
   ============================================================================ */

/* Prevent ANY horizontal overflow inside grid children on Mobile */
.chapter-split > *,
.grid-2 > *,
.grid-3 > * {
  min-width: 0;
  max-width: 100%;
}

/* Image 6: Smooth Animated Announcement Bar Ticker (Always 1 sleek line!) */
.announcement-bar {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.48rem 0;
}

.announcement-marquee-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 2.25rem;
  animation: casaAnnounceTicker 30s linear infinite;
}

.announcement-bar:hover .announcement-marquee-track {
  animation-play-state: paused;
}

.announcement-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.86rem;
}

.announcement-ticker-item a {
  color: var(--brand-ivory);
  font-weight: 600;
}

.announcement-ticker-item a strong {
  color: var(--gold-2);
}

@keyframes casaAnnounceTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Image 2: Crisp Single-Line Mobile Header (Logo + Join DCA + ☰) */
.mobile-join-btn {
  white-space: nowrap !important;
  padding: 0.44rem 0.85rem !important;
  font-size: 0.82rem !important;
  border-radius: 10px !important;
  line-height: 1.1 !important;
}

.mobile-menu-btn {
  padding: 0.4rem 0.65rem !important;
  line-height: 1 !important;
}

@media (max-width: 600px) {
  .container,
  .container-narrow {
    padding: 0 1rem;
  }

  .site-header-inner {
    padding: 0.7rem 0.9rem;
    gap: 0.5rem;
  }

  .brand-mark {
    gap: 0.45rem;
  }

  .brand-mark img {
    width: 34px !important;
    height: 34px !important;
  }

  .brand-mark-text {
    font-size: 0.92rem !important;
    line-height: 1.1;
  }

  .guide-page-card {
    width: 185px;
    padding: 1rem;
  }

  .slides-deck-stage {
    gap: 0.4rem;
    padding: 0.5rem 0.2rem;
    min-height: 200px;
  }

  .slide-card-mini {
    width: 96px;
    padding: 0.65rem;
    border-radius: 12px;
  }

  .slide-card-mini .font-accent {
    font-size: 1.05rem;
  }

  .slide-card-mini strong {
    font-size: 0.72rem !important;
  }
}

/* Mirror exact mobile sizing inside the 390px local Mobile Preview Frame */
body.is-mobile-preview .container,
body.is-mobile-preview .container-narrow {
  padding: 0 1rem !important;
}

body.is-mobile-preview .site-header-inner {
  padding: 0.7rem 0.9rem !important;
  gap: 0.5rem !important;
}

body.is-mobile-preview .brand-mark img {
  width: 34px !important;
  height: 34px !important;
}

body.is-mobile-preview .brand-mark-text {
  font-size: 0.9rem !important;
  line-height: 1.1;
}

body.is-mobile-preview .guide-page-card {
  width: 180px !important;
  padding: 1rem !important;
}

body.is-mobile-preview .slides-deck-stage {
  gap: 0.35rem !important;
  padding: 0.5rem 0.15rem !important;
  min-height: 195px !important;
}

body.is-mobile-preview .slide-card-mini {
  width: 92px !important;
  padding: 0.6rem !important;
  border-radius: 12px !important;
}

body.is-mobile-preview .slide-card-mini .font-accent {
  font-size: 1rem !important;
}

body.is-mobile-preview .slide-card-mini strong {
  font-size: 0.7rem !important;
}

body.is-mobile-preview .story-chapter:hover .guide-page-back-1,
body.is-mobile-preview .story-chapter.is-active-chapter .guide-page-back-1 {
  transform: rotate(-8deg) translate(-18px, 4px) !important;
}

body.is-mobile-preview .story-chapter:hover .guide-page-back-2,
body.is-mobile-preview .story-chapter.is-active-chapter .guide-page-back-2 {
  transform: rotate(8deg) translate(18px, 6px) !important;
}

body.is-mobile-preview .story-chapter:hover .slide-card-mini--1,
body.is-mobile-preview .story-chapter.is-active-chapter .slide-card-mini--1 {
  transform: rotate(-7deg) translate(-4px, 4px) !important;
}

body.is-mobile-preview .story-chapter:hover .slide-card-mini--3,
body.is-mobile-preview .story-chapter.is-active-chapter .slide-card-mini--3 {
  transform: rotate(7deg) translate(4px, 4px) !important;
}

body.is-mobile-preview .faq-creative-grid {
  grid-template-columns: 1fr !important;
}

/* Image 7: Creative WOW Personal Sunset Portrait Card */
.cas-portrait-card {
  background: linear-gradient(
    160deg,
    rgba(241, 236, 228, 0.75) 0%,
    rgba(221, 202, 178, 0.92) 60%,
    rgba(255, 228, 153, 0.35) 100%
  );
  border: 2px solid var(--gold-1);
  border-radius: 28px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.cas-orbit-stage {
  position: relative;
  width: 224px;
  height: 224px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cas-orbit-ring-1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--gold-1);
  animation: casaSpinSlow 24s linear infinite;
}

.cas-orbit-ring-1::after {
  content: "✦";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-5);
  font-size: 1rem;
  text-shadow: 0 0 8px var(--gold-2);
}

.cas-orbit-ring-2 {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold-2);
  animation: casaSpinReverse 18s linear infinite;
}

.cas-orbit-ring-2::after {
  content: "✦";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--brand-brown);
  font-size: 0.8rem;
}

@keyframes casaSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.cas-photo-circle {
  position: relative;
  z-index: 2;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-1);
  box-shadow: 0 12px 30px rgba(122, 74, 29, 0.28), 0 0 0 6px rgba(255, 228, 153, 0.35);
  animation: casaPortraitFloat 5s ease-in-out infinite;
}

.cas-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.18);
}

@keyframes casaPortraitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cas-pillars-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--brand-brown);
  color: var(--gold-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0.7rem 0 0.55rem;
}

/* Image 8: Concise, Creative, Animated 2-Column FAQ Grid */
.faq-creative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

@media (max-width: 820px) {
  .faq-creative-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
  transition:
    transform 260ms var(--ease-smooth),
    border-color 260ms var(--ease-smooth),
    box-shadow 260ms var(--ease-smooth);
}

.faq-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms var(--ease-smooth);
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-1);
  box-shadow: var(--shadow-soft);
}

.faq-card[data-open="true"] {
  border-color: var(--gold-1);
  box-shadow: var(--shadow-soft);
}

.faq-card[data-open="true"]::before {
  transform: scaleY(1);
}

.faq-card .accordion-trigger {
  padding: 0.95rem 1.1rem;
  font-size: 0.98rem;
  align-items: center;
}

.faq-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-desert);
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-right: 0.65rem;
  transition: background 260ms var(--ease-smooth), transform 260ms var(--ease-smooth);
}

.faq-card[data-open="true"] .faq-num-badge {
  background: var(--gradient-gold-button);
  transform: rotate(360deg);
}

.faq-card .accordion-panel-inner {
  padding: 0 1.15rem 1rem 3.4rem;
  font-size: 0.92rem;
}

/* Image 5: Compact, Sleek 3-Band Footer */
.site-footer.site-footer-compact {
  padding: 1.75rem 0 4.25rem;
}

.footer-compact-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-top-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-bottom-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  opacity: 0.78;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(241, 236, 228, 0.18);
  width: 100%;
}


/* ============================================================================
   Batch Fixes (Images 1–9):
   - Seamless Real iPhone Mobile Frame (Image 1)
   - Centered "Your Transformation Starts Here." with zero clipping (Image 8)
   - Animated Closing Wisdom Sanctuary Card (Image 5)
   - 3 WOW Hero Portrait Card Looks (Images 2 & 9: ?card=1 | ?card=2 | ?card=3)
   ============================================================================ */

/* Image 1: Seamless Real Mobile Phone Frame (Announcement bar gets the top bezel!) */
body.is-mobile-preview .announcement-bar {
  border-radius: 34px 34px 0 0 !important;
  border-top: 4px solid var(--gold-1) !important;
  border-left: 3px solid var(--gold-1) !important;
  border-right: 3px solid var(--gold-1) !important;
  padding-top: 0.9rem !important;
  position: relative;
}

body.is-mobile-preview .announcement-bar::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 5px;
  border-radius: 99px;
  background: rgba(241, 236, 228, 0.35);
}

body.is-mobile-preview .site-header {
  border-radius: 0 !important;
  border-top: 0 !important;
  border-left: 3px solid var(--gold-1) !important;
  border-right: 3px solid var(--gold-1) !important;
}

/* Image 8: Prevent "TRANSFORMATION" from clipping on any 390px/mobile screen */
.transformation-title {
  color: var(--brand-ivory);
  font-size: clamp(1.38rem, 3.4vw, 2.55rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0.45rem;
}

@media (max-width: 600px) {
  .card-brown {
    padding: 1.75rem 1.15rem;
  }

  .transformation-title {
    font-size: 1.32rem;
  }
}

body.is-mobile-preview .card-brown {
  padding: 1.75rem 1.15rem !important;
}

body.is-mobile-preview .transformation-title {
  font-size: 1.32rem !important;
}

/* Images 3 & 4: Show Mobile-Top Capsule ABOVE Image Box on Mobile, Hide Duplicate */
.capsule-mobile-top {
  display: none;
  margin-bottom: 1rem;
  text-align: left;
}

@media (max-width: 860px) {
  .capsule-mobile-top {
    display: block;
  }
  .capsule-desktop-only {
    display: none !important;
  }
}

body.is-mobile-preview .capsule-mobile-top {
  display: block !important;
}

body.is-mobile-preview .capsule-desktop-only {
  display: none !important;
}

/* Image 5: Animated Sunlit Closing Wisdom Sanctuary Card */
.closing-sanctuary-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: linear-gradient(
    165deg,
    var(--brand-ivory) 0%,
    rgba(221, 202, 178, 0.55) 55%,
    rgba(255, 228, 153, 0.28) 100%
  );
  border: 2px solid var(--gold-1);
  box-shadow: var(--shadow-lift), inset 0 0 0 6px rgba(241, 236, 228, 0.65);
  overflow: hidden;
}

.closing-sanctuary-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 228, 153, 0.32), transparent);
  pointer-events: none;
  animation: casaPreviewSheen 6s ease-in-out infinite;
}

.wisdom-line {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-smooth), transform 600ms var(--ease-smooth);
}

.reveal.is-visible .wisdom-line:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.reveal.is-visible .wisdom-line:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.reveal.is-visible .wisdom-line:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 400ms; }

.closing-diamond-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-5);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ============================================================================
   3 WOW HERO PORTRAIT CARD LOOKS (Images 2 & 9: ?card=1 | ?card=2 | ?card=3)
   ============================================================================ */

/* CARD LOOK 1: Sunlit Cathedral Arch & Animated Golden Light Rays */
.hero-card-look1 {
  position: relative;
  border-radius: 170px 170px 28px 28px;
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  padding: 0.85rem;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.hero-card-look1-photo {
  position: relative;
  border-radius: 160px 160px 18px 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border: 1.5px solid var(--gold-2);
}

.hero-card-look1-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 900ms var(--ease-smooth);
}

.hero-card-look1:hover .hero-card-look1-photo img {
  transform: scale(1.06);
}

/* Animated diagonal golden sunbeams gliding across the sunset arch */
.hero-card-look1-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 228, 153, 0.35) 45%,
    rgba(231, 170, 81, 0.18) 52%,
    transparent 72%
  );
  transform: translateX(-100%);
  animation: casaSunbeamGlide 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes casaSunbeamGlide {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.hero-card-look1-ribbon {
  position: relative;
  margin: -28px 0.75rem 0.5rem;
  z-index: 3;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 20px;
  padding: 1.15rem 1.1rem 1.25rem;
  text-align: center;
  box-shadow: 0 12px 26px rgba(122, 74, 29, 0.16);
}

/* CARD LOOK 2: 3D Layered Keepsake Polaroid & Spinning Gold Wax Seal */
.hero-card-look2-wrap {
  position: relative;
  padding: 14px 12px 14px 12px;
}

.hero-card-look2-back {
  position: absolute;
  inset: 14px 12px;
  border-radius: 24px;
  background: var(--brand-brown);
  border: 2px solid var(--gold-1);
  transform: rotate(-3.5deg);
  transition: transform 520ms var(--ease-smooth);
}

.hero-card-look2-front {
  position: relative;
  z-index: 2;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: 1rem 1rem 1.35rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
  transform: rotate(1deg);
  transition: transform 520ms var(--ease-smooth);
}

.hero-card-look2-wrap:hover .hero-card-look2-back {
  transform: rotate(-5.5deg) translate(-4px, 4px);
}

.hero-card-look2-wrap:hover .hero-card-look2-front {
  transform: rotate(0deg) translateY(-5px);
}

.hero-card-look2-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  border: 1.5px solid var(--gold-1);
  margin-bottom: 1rem;
}

.hero-card-look2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.wax-seal-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  z-index: 4;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  border: 2px solid var(--brand-brown);
  padding: 4px;
  box-shadow: 0 8px 20px rgba(122, 74, 29, 0.28);
  animation: casaPortraitFloat 4.2s ease-in-out infinite;
}

.wax-seal-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* CARD LOOK 3: Espresso & Rotating Liquid-Gold Border Luxury Showcase */
.hero-card-look3-outer {
  position: relative;
  border-radius: 28px;
  padding: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.hero-card-look3-outer::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 0deg,
    var(--gold-3),
    var(--gold-1),
    var(--gold-2),
    var(--gold-5),
    var(--gold-3)
  );
  animation: casaSpinSlow 9s linear infinite;
}

.hero-card-look3-inner {
  position: relative;
  z-index: 1;
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-radius: 25px;
  overflow: hidden;
  text-align: center;
}

.hero-card-look3-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hero-card-look3-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-card-look3-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, var(--brand-brown) 100%);
}

.hero-card-look3-body {
  padding: 0.25rem 1.35rem 1.65rem;
}


/* ============================================================================
   Pixel-Perfect 390px Mobile Frame Alignment (Images 1 & 2) +
   Open Editorial Closing Wisdom with Animated Keywords (Images 7, 8 & 9)
   ============================================================================ */

body.is-mobile-preview .announcement-bar,
body.is-mobile-preview .site-header,
body.is-mobile-preview main,
body.is-mobile-preview .site-footer {
  width: 390px !important;
  max-width: 390px !important;
  min-width: 390px !important;
  box-sizing: border-box !important;
}

/* Open, Box-Free Closing Wisdom with Animated Gold Keywords */
.wisdom-open-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.wisdom-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.06rem, 2.2vw, 1.32rem);
  line-height: 1.4;
}

.wisdom-keyword {
  font-family: var(--font-title);
  font-size: 1.18em;
  display: inline-block;
  position: relative;
  background-image: linear-gradient(
    110deg,
    var(--brand-brown) 0%,
    var(--gold-5) 42%,
    var(--gold-1) 52%,
    var(--brand-brown) 66%,
    var(--brand-brown) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: casaGoldShimmer 4.5s ease-in-out infinite;
  margin-right: 0.15rem;
}

.wisdom-keyword::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 99px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms var(--ease-smooth);
}

.reveal.is-visible .wisdom-line:nth-child(1) .wisdom-keyword::after {
  transform: scaleX(1);
  transition-delay: 180ms;
}
.reveal.is-visible .wisdom-line:nth-child(2) .wisdom-keyword::after {
  transform: scaleX(1);
  transition-delay: 360ms;
}
.reveal.is-visible .wisdom-line:nth-child(3) .wisdom-keyword::after {
  transform: scaleX(1);
  transition-delay: 540ms;
}


/* ============================================================================
   Stage 4: DCA Course Player (Matches Prototype Page 4 — Strictly Brand Colors)
   ============================================================================ */

.course-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.course-player-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 880px) {
  .course-player-grid {
    grid-template-columns: 1fr;
  }
}

.course-sidebar {
  padding: 1.25rem;
}

.course-module-group {
  margin-bottom: 1.25rem;
}

.course-module-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.course-lesson-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  transition: background var(--duration-fast) var(--ease-smooth);
}

.course-lesson-link:hover {
  background: rgba(221, 202, 178, 0.5);
}

.course-lesson-link.is-current {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  font-weight: 700;
}

.course-lesson-link.is-done:not(.is-current) {
  opacity: 0.78;
}

.course-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--gold-1);
  background: var(--brand-desert);
  box-shadow: var(--shadow-soft);
}

.ambient-cinema-frame .course-media-frame {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.course-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dual-Layer Student Identity & Brand Protection Watermark (non-blocking, anti-crop, anti-share) */
.player-watermark-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  z-index: 4;
}

.player-watermark-grid {
  position: absolute;
  inset: -40%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  transform: rotate(-22deg);
  pointer-events: none;
  user-select: none;
}

.player-watermark-tile {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-ivory);
  text-shadow: 0 1px 3px rgba(27, 15, 5, 0.75);
  opacity: 0.16;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
}

.player-watermark {
  position: absolute;
  bottom: 12px;
  right: 14px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FAF6F0;
  background: rgba(27, 15, 5, 0.72);
  border: 1px solid rgba(231, 170, 81, 0.55);
  backdrop-filter: blur(4px);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  opacity: 0.86;
  z-index: 5;
  transition: top 0.6s ease, bottom 0.6s ease, left 0.6s ease, right 0.6s ease;
}

.player-watermark .wm-brand {
  color: #FFE499;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.player-watermark[data-wm-pos="1"] { top: 12px; right: 14px; bottom: auto; left: auto; }
.player-watermark[data-wm-pos="2"] { top: 12px; left: 14px; bottom: auto; right: auto; }
.player-watermark[data-wm-pos="3"] { bottom: 12px; left: 14px; top: auto; right: auto; }

@media (max-width: 640px) {
  .player-watermark {
    font-size: 0.58rem;
    padding: 0.18rem 0.48rem;
    bottom: 6px;
    right: 6px;
    max-width: calc(100% - 12px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .player-watermark .wm-brand { font-size: 0.54rem; }
  .player-watermark[data-wm-pos="1"] { top: 6px; right: 6px; }
  .player-watermark[data-wm-pos="2"] { top: 6px; left: 6px; }
  .player-watermark[data-wm-pos="3"] { bottom: 6px; left: 6px; }
}


/* ============================================================================
   Stage 5: Owner Back-Office Layout (Matches Prototype Page 5)
   ============================================================================ */

.owner-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}

.owner-sidebar {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  padding: 1.75rem 1.25rem;
  border-right: 3px solid var(--gold-1);
}

.owner-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.owner-nav-link {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  color: var(--brand-ivory);
  font-weight: 500;
  font-size: 0.94rem;
  transition: background var(--duration-fast) var(--ease-smooth);
}

.owner-nav-link:hover {
  background: rgba(241, 236, 228, 0.14);
}

.owner-nav-link.is-active {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  font-weight: 700;
}

.owner-main {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--bg-page);
}

.owner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (max-width: 960px) {
  .owner-shell {
    grid-template-columns: 1fr;
  }
  .owner-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .owner-kpi-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================================
   /products — 3 Creative Animated Look 3 Shelf Variations (?plook=1 | 2 | 3)
   100% Brand Palette Only · Mobile-First 390px Perfection & Desktop Luxury
   ============================================================================ */

/* Clean Top Return Bar (No Student Login — just Main Hub + Join DCA $37) */
.products-top-bar {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(241, 236, 228, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-subtle);
  padding: 0.65rem 0;
}

.products-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.back-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1.5px solid var(--gold-1);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: transform 200ms var(--ease-smooth), background 200ms var(--ease-smooth);
}

.back-hub-pill:hover {
  background: var(--gradient-gold-button);
  transform: translateX(-2px);
}

.products-top-cta {
  white-space: nowrap;
  padding: 0.45rem 0.95rem !important;
  font-size: 0.84rem !important;
}

/* Shared Shelf Page Layout */
.shelf-page-section {
  padding-top: 2rem;
  padding-bottom: 0;
}

.shelf-container {
  max-width: 940px;
}

.shelf-hero-head {
  text-align: center;
  margin-bottom: 1.4rem;
}

.shelf-avatar-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 0.7rem;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1), var(--gold-5));
  box-shadow: 0 8px 22px rgba(122, 74, 29, 0.18);
  animation: shelfAvatarFloat 5s ease-in-out infinite;
}

.shelf-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

@keyframes shelfAvatarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.shelf-hero-accent {
  margin: 0 0 0.2rem;
  font-size: clamp(1.32rem, 3vw, 1.55rem);
}

.shelf-hero-title {
  font-size: clamp(1.72rem, 4vw, 2.65rem);
  margin: 0 0 0.2rem;
  line-height: 1.15;
}

.shelf-hero-sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: 0.96rem;
}

/* Shared Shelf Row Card */
.shelf-row-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.65rem;
  align-items: center;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: 1.45rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 280ms var(--ease-smooth), box-shadow 280ms var(--ease-smooth);
}

.shelf-row-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.shelf-visual-col,
.shelf-copy-col {
  min-width: 0;
}

.shelf-visual-col {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.shelf-card-accent {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.32rem;
  line-height: 1.25;
}

.shelf-card-title {
  font-size: clamp(1.42rem, 2.8vw, 1.95rem);
  margin: 0 0 0.35rem;
  line-height: 1.18;
}

.shelf-card-sub {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
}

.shelf-card-body {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
}

/* Inline Opt-In & Waitlist Forms inside Shelf Cards */
.shelf-inline-form {
  background: rgba(221, 202, 178, 0.36);
  border: 1.5px solid rgba(231, 170, 81, 0.65);
  border-radius: 16px;
  padding: 0.85rem;
  margin-top: 0.35rem;
}

.shelf-form-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
}

.shelf-input {
  width: 100%;
  min-width: 0;
  padding: 0.62rem 0.8rem !important;
  font-size: 0.88rem !important;
  border-radius: 11px !important;
  background: var(--brand-ivory) !important;
  border: 1.5px solid rgba(122, 74, 29, 0.25) !important;
  color: var(--brand-brown) !important;
}

.shelf-input:focus {
  border-color: var(--gold-1) !important;
  box-shadow: 0 0 0 3px rgba(231, 170, 81, 0.24) !important;
  outline: none;
}

.shelf-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.77rem;
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  cursor: pointer;
}

.shelf-consent-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--brand-brown);
  flex-shrink: 0;
}

.shelf-submit-btn {
  padding: 0.72rem 1rem !important;
  font-size: 0.94rem !important;
}

/* ============================================================================
   LOOK 3A (?plook=1): Interactive Corner Finder + Liquid-Gold DCA Spotlight
   ============================================================================ */
.shelf-finder-box {
  background: linear-gradient(135deg, rgba(221, 202, 178, 0.62) 0%, rgba(241, 236, 228, 0.95) 100%);
  border: 1.5px solid var(--gold-1);
  border-radius: 20px;
  padding: 1rem 1.15rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.shelf-finder-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-brown);
  margin-bottom: 0.75rem;
}

.shelf-finder-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.shelf-finder-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
  text-align: left;
  padding: 0.58rem 0.85rem;
  border-radius: 14px;
  background: var(--brand-ivory);
  color: var(--brand-brown);
  border: 1.5px solid rgba(122, 74, 29, 0.22);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 200ms var(--ease-smooth), background 200ms var(--ease-smooth), border-color 200ms var(--ease-smooth);
}

.shelf-finder-btn:hover,
.shelf-finder-btn.is-active {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(122, 74, 29, 0.16);
}

.sf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Liquid-Gold Animated Border around DCA Flagship Card */
.shelf-dca-luxe-outer {
  position: relative;
  padding: 3px;
  border-radius: 26px;
  background: linear-gradient(125deg, var(--gold-2), var(--gold-1), var(--gold-5), var(--gold-2));
  background-size: 240% 240%;
  animation: shelfGoldFlow 6s ease infinite;
  margin-bottom: 1.5rem;
  box-shadow: 0 14px 34px rgba(122, 74, 29, 0.24);
}

@keyframes shelfGoldFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.shelf-dca-luxe-inner {
  background: var(--brand-brown) !important;
  color: var(--brand-ivory) !important;
  border: none !important;
  margin-bottom: 0 !important;
  border-radius: 23px !important;
}

@keyframes shelfPulseFocus {
  0% { box-shadow: 0 0 0 0 rgba(231, 170, 81, 0.75); }
  70% { box-shadow: 0 0 0 14px rgba(231, 170, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 170, 81, 0); }
}

.shelf-pulse-focus {
  animation: shelfPulseFocus 950ms ease-out;
}

/* ============================================================================
   LOOK 3B (?plook=2): Arched Sunset Atelier Banner + Category Tabs + Medallions
   ============================================================================ */
.shelf-sunset-banner {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid var(--gold-1);
  background: var(--brand-brown);
  color: var(--brand-ivory);
  text-align: center;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-lift);
}

.shelf-sunset-cover {
  height: 150px;
  position: relative;
  overflow: hidden;
}

.shelf-sunset-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.shelf-sunset-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(122, 74, 29, 0.12) 0%, var(--brand-brown) 100%);
}

.shelf-sunset-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid var(--gold-2);
  margin: -42px auto 0.55rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.shelf-sunset-body {
  padding: 0 1.25rem 1.45rem;
}

.shelf-tabs-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.6rem;
}

.shelf-tab-pill {
  border: 1.5px solid var(--border-strong);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.shelf-tab-pill:hover {
  border-color: var(--gold-1);
  transform: translateY(-1px);
}

.shelf-tab-pill[aria-selected="true"] {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  box-shadow: 0 4px 12px rgba(122, 74, 29, 0.18);
}

.shelf-atelier-card {
  position: relative;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  margin-bottom: 1.55rem;
  box-shadow: var(--shadow-soft);
  transition: transform 280ms var(--ease-smooth), box-shadow 280ms var(--ease-smooth);
}

.shelf-atelier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.shelf-atelier-card--brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

.shelf-row-card--borderless {
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  background: transparent !important;
}

.shelf-row-card--borderless:hover {
  transform: none !important;
  box-shadow: none !important;
}

.shelf-medallion {
  position: absolute;
  top: -14px;
  left: 20px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  border: 2.5px solid var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.95rem;
  box-shadow: 0 6px 14px rgba(122, 74, 29, 0.25);
  transform: rotate(-8deg);
  transition: transform 280ms var(--ease-smooth);
}

.shelf-atelier-card:hover .shelf-medallion {
  transform: rotate(0deg) scale(1.08);
}

.shelf-medallion--bright {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--brand-ivory);
}

@keyframes shelfTabPop {
  0% { opacity: 0; transform: translateY(10px) scale(0.985); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.shelf-tab-pop {
  animation: shelfTabPop 360ms var(--ease-smooth);
}

/* ============================================================================
   LOOK 3C (?plook=3): Vertical Animated Gold-Thread Journey Timeline
   ============================================================================ */
.shelf-timeline-wrap {
  position: relative;
  padding-left: 3.1rem;
  margin-top: 0.75rem;
}

.shelf-timeline-line {
  position: absolute;
  top: 1.5rem;
  bottom: 2rem;
  left: 1.15rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-1), var(--gold-5), var(--gold-2));
  background-size: 100% 220%;
  animation: shelfThreadFlow 5s linear infinite;
}

@keyframes shelfThreadFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 220%; }
}

.shelf-tl-item {
  position: relative;
  margin-bottom: 1.65rem;
}

.shelf-tl-node {
  position: absolute;
  left: -3.1rem;
  top: 1.35rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-ivory);
  color: var(--brand-brown);
  border: 2.5px solid var(--gold-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(122, 74, 29, 0.2);
  z-index: 2;
}

.shelf-tl-node--gold {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--brand-brown);
  box-shadow: 0 0 0 5px rgba(231, 170, 81, 0.25);
}

.shelf-tl-card {
  margin-bottom: 0;
}

.shelf-tl-card--brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

/* Compact Link-in-Bio Footer (No Affiliate 70%) */
.shelf-bio-footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem 0 4.5rem;
  border-top: 1.5px solid var(--border-subtle);
}

.shelf-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shelf-footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 200ms var(--ease-smooth);
}

.shelf-footer-pill:hover {
  background: var(--brand-desert);
  border-color: var(--gold-1);
  transform: translateY(-1px);
}

.shelf-footer-pill--gold {
  background: var(--brand-brown);
  color: var(--gold-2);
  border-color: var(--gold-1);
}

.shelf-footer-pill--gold:hover {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
}

/* ============================================================================
   COMPACT LOOK 1 VARIATIONS (1A: Drawers · 1B: Spotlight Bento · 1C: Accordion)
   ============================================================================ */

/* Shared Compact Header + Badges */
.shelf-hero-compact {
  margin-bottom: 1rem;
}

.shelf-hero-inline-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  margin-bottom: 0.35rem;
}

.shelf-avatar-sm {
  width: 58px;
  height: 58px;
  margin: 0;
  flex-shrink: 0;
}

.shelf-hero-inline-text {
  min-width: 0;
}

.shelf-finder-compact {
  padding: 0.65rem 0.75rem;
  margin-bottom: 1.25rem;
}

.shelf-finder-2x2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shelf-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.shelf-mini-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.62rem;
  border-radius: var(--radius-pill);
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1px solid var(--gold-1);
}

.shelf-mini-accent {
  font-size: 1.08rem;
  color: var(--brand-brown);
}

/* Option 1A: 1-Tap Unfolding Inline Form Drawers */
.shelf-drawer-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.68rem 1rem !important;
  font-size: 0.9rem !important;
}

.drawer-chevron {
  display: inline-block;
  transition: transform 240ms var(--ease-smooth);
  font-size: 0.95rem;
}

.shelf-drawer-toggle[aria-expanded="true"] .drawer-chevron {
  transform: rotate(180deg);
}

.shelf-drawer-body {
  margin-top: 0.6rem;
}

/* Option 1B: Interactive 2x2 Switcher + Desktop Bento / Mobile Zero-Scroll Spotlight */
.l1b-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.l1b-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  padding: 0.58rem 0.75rem;
  border-radius: 16px;
  background: var(--brand-ivory);
  border: 1.5px solid rgba(122, 74, 29, 0.24);
  color: var(--brand-brown);
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.l1b-tab:hover {
  border-color: var(--gold-1);
  transform: translateY(-2px);
}

.l1b-tab.is-active {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  box-shadow: 0 6px 16px rgba(122, 74, 29, 0.18);
}

.l1b-tab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.l1b-tab-text strong {
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.l1b-tab-text small {
  font-size: 0.7rem;
  opacity: 0.8;
}

.l1b-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.l1b-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 260ms var(--ease-smooth), box-shadow 260ms var(--ease-smooth);
}

.l1b-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.l1b-card--dca {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2.5px solid var(--gold-2);
  box-shadow: 0 12px 30px rgba(122, 74, 29, 0.25);
}

/* Option 1C: Sticky Desktop Creator Split + Luxury Interactive Accordion Stack */
.l1c-split-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.l1c-creator-card {
  position: sticky;
  top: 4.5rem;
  background: linear-gradient(155deg, var(--brand-ivory) 0%, var(--brand-desert) 100%);
  border: 2px solid var(--gold-1);
  border-radius: 22px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.l1c-creator-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--brand-brown);
  color: var(--gold-2);
}

.l1c-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.l1c-acc-item {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 240ms var(--ease-smooth), transform 240ms var(--ease-smooth);
}

.l1c-acc-item:hover {
  box-shadow: var(--shadow-lift);
}

.l1c-acc-item--dca {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2.5px solid var(--gold-2);
}

.l1c-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.05rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--brand-brown);
}

.l1c-acc-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.l1c-acc-kicker {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.78;
}

.l1c-acc-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.l1c-acc-arrow {
  font-size: 1rem;
  transition: transform 240ms var(--ease-smooth);
  flex-shrink: 0;
}

.l1c-acc-item.is-open .l1c-acc-arrow {
  transform: rotate(180deg);
}

.l1c-acc-body {
  padding: 0 1.05rem 1.05rem;
}

.sf-num--gold {
  background: var(--gradient-gold-button) !important;
  color: var(--brand-brown) !important;
}

/* ============================================================================
   MOBILE PERFECTION (<= 780px AND 390px Mobile Preview Mode)
   Ultra-compact, effortless thumb scrolling, zero overflow
   ============================================================================ */
@media (max-width: 780px) {
  .shelf-page-section {
    padding-top: 1rem;
  }

  .shelf-desktop-artifact {
    display: none;
  }

  .shelf-row-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    margin-bottom: 0.9rem;
  }

  .shelf-dca-luxe-outer {
    margin-bottom: 0.9rem;
    border-radius: 20px;
  }

  .shelf-form-row {
    grid-template-columns: 1fr;
  }

  .shelf-finder-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Option 1B Mobile: 2x2 Switcher + Single Active Spotlight Card (Zero Long Scroll!) */
  .l1b-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.9rem;
  }

  .l1b-stage-grid {
    grid-template-columns: 1fr;
  }

  .l1b-card {
    display: none;
    padding: 1.05rem;
  }

  .l1b-card.is-active {
    display: flex;
  }

  /* Option 1C Mobile: Compact top card + tight accordion stack */
  .l1c-split-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .l1c-creator-card {
    position: static;
    padding: 0.9rem 1rem;
  }
}

/* Force identical Mobile Perfection inside the 390px Desktop Mobile Previewer */
body.is-mobile-preview .products-top-bar {
  width: 390px !important;
  max-width: 390px !important;
  margin: 0 auto !important;
  border-radius: 34px 34px 0 0 !important;
  border-top: 4px solid var(--gold-1) !important;
  border-left: 3px solid var(--gold-1) !important;
  border-right: 3px solid var(--gold-1) !important;
  padding: 0.95rem 0 0.6rem !important;
}

body.is-mobile-preview .products-top-inner {
  padding: 0 0.85rem !important;
}

body.is-mobile-preview .back-hub-pill {
  font-size: 0.78rem !important;
  padding: 0.34rem 0.7rem !important;
}

body.is-mobile-preview .products-top-cta {
  font-size: 0.78rem !important;
  padding: 0.36rem 0.76rem !important;
}

body.is-mobile-preview .shelf-page-section {
  padding-top: 0.95rem !important;
}

body.is-mobile-preview .shelf-container {
  padding-left: 0.8rem !important;
  padding-right: 0.8rem !important;
}

body.is-mobile-preview .shelf-desktop-artifact {
  display: none !important;
}

body.is-mobile-preview .shelf-hero-title {
  font-size: 1.35rem !important;
}

body.is-mobile-preview .shelf-hero-accent {
  font-size: 1.08rem !important;
}

body.is-mobile-preview .shelf-hero-sub {
  font-size: 0.84rem !important;
}

body.is-mobile-preview .shelf-avatar-sm {
  width: 48px !important;
  height: 48px !important;
}

body.is-mobile-preview .shelf-row-card {
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
  padding: 0.95rem !important;
  border-radius: 18px !important;
  margin-bottom: 0.85rem !important;
}

body.is-mobile-preview .shelf-dca-luxe-outer {
  margin-bottom: 0.85rem !important;
  border-radius: 20px !important;
}

body.is-mobile-preview .shelf-card-title {
  font-size: 1.24rem !important;
  margin-bottom: 0.2rem !important;
}

body.is-mobile-preview .shelf-card-sub {
  font-size: 0.88rem !important;
  margin-bottom: 0.2rem !important;
}

body.is-mobile-preview .shelf-card-body {
  font-size: 0.82rem !important;
  margin-bottom: 0.7rem !important;
}

body.is-mobile-preview .shelf-card-accent {
  font-size: 1.08rem !important;
}

body.is-mobile-preview .shelf-form-row {
  grid-template-columns: 1fr !important;
}

body.is-mobile-preview .shelf-finder-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.42rem !important;
}

body.is-mobile-preview .shelf-finder-btn {
  font-size: 0.77rem !important;
  padding: 0.46rem 0.6rem !important;
}

/* Option 1B in 390px Previewer */
body.is-mobile-preview .l1b-switcher {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.42rem !important;
  margin-bottom: 0.85rem !important;
}

body.is-mobile-preview .l1b-tab {
  padding: 0.48rem 0.58rem !important;
}

body.is-mobile-preview .l1b-tab-text strong {
  font-size: 0.78rem !important;
}

body.is-mobile-preview .l1b-stage-grid {
  grid-template-columns: 1fr !important;
}

body.is-mobile-preview .l1b-card {
  display: none !important;
  padding: 1rem !important;
}

body.is-mobile-preview .l1b-card.is-active {
  display: flex !important;
}

/* Option 1C in 390px Previewer */
body.is-mobile-preview .l1c-split-layout {
  grid-template-columns: 1fr !important;
  gap: 0.8rem !important;
}

body.is-mobile-preview .l1c-creator-card {
  position: static !important;
  padding: 0.85rem !important;
}

body.is-mobile-preview .l1c-acc-head {
  padding: 0.78rem 0.85rem !important;
}

body.is-mobile-preview .l1c-acc-title {
  font-size: 1.04rem !important;
}

body.is-mobile-preview .l1c-acc-body {
  padding: 0 0.85rem 0.9rem !important;
}

body.is-mobile-preview .shelf-bio-footer {
  margin-top: 1.35rem !important;
  padding: 1.15rem 0 4.25rem !important;
}

body.is-mobile-preview .shelf-footer-pill {
  font-size: 0.74rem !important;
  padding: 0.34rem 0.68rem !important;
}

/* ============================================================================
   3 BESPOKE WOW /products INTERFACES (?plook=1 | 2 | 3)
   100% Brand Palette Only · Zero Generic Boxes · Silky 3D & Motion
   ============================================================================ */
.wow-stage-section {
  padding-top: 1.35rem;
  padding-bottom: 0;
}

.wow-container {
  max-width: 960px;
}

.wow-mini-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.wow-mini-header--center {
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 0.15rem;
}

.wow-crest-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.wow-crest-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold-1);
  display: block;
  position: relative;
  z-index: 2;
}

.wow-crest-orbit {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-1);
  animation: wowSpinSlow 18s linear infinite;
}

@keyframes wowSpinSlow {
  to { transform: rotate(360deg); }
}

.wow-mini-accent {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.15;
}

.wow-mini-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1.12;
}

/* Compact Inline Forms inside WOW Cards */
.wow-inline-form {
  background: rgba(221, 202, 178, 0.38);
  border: 1.5px solid rgba(231, 170, 81, 0.72);
  border-radius: 16px;
  padding: 0.8rem;
}

.wow-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.wow-input {
  width: 100%;
  min-width: 0;
  padding: 0.58rem 0.75rem !important;
  font-size: 0.86rem !important;
  border-radius: 10px !important;
  background: var(--brand-ivory) !important;
  border: 1.5px solid rgba(122, 74, 29, 0.25) !important;
  color: var(--brand-brown) !important;
}

.wow-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  cursor: pointer;
}

.wow-consent input {
  margin-top: 2px;
  accent-color: var(--brand-brown);
}

.wow-submit-btn {
  padding: 0.68rem 1rem !important;
  font-size: 0.9rem !important;
}

/* ============================================================================
   WOW LOOK 1 (?plook=1): 3D INTERACTIVE FLIP-FOLIO KEEPSAKE DECK
   ============================================================================ */
.deck3d-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.deck3d-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deck3d-stage {
  position: relative;
  width: 100%;
  max-width: 410px;
  height: 455px;
  perspective: 1300px;
  margin: 0 auto 1.25rem;
}

.deck3d-card {
  position: absolute;
  inset: 0;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease;
  transform-origin: center bottom;
}

.deck3d-card.is-front {
  z-index: 4;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  opacity: 1;
}

.deck3d-card.is-next {
  z-index: 3;
  transform: translate3d(16px, 14px, -40px) scale(0.94) rotate(2.4deg);
  opacity: 0.84;
  cursor: pointer;
}

.deck3d-card.is-far {
  z-index: 2;
  transform: translate3d(-14px, 26px, -80px) scale(0.88) rotate(-2.4deg);
  opacity: 0.55;
  cursor: pointer;
}

.deck3d-card.is-hidden {
  z-index: 1;
  transform: translate3d(0, 34px, -120px) scale(0.82);
  opacity: 0;
  pointer-events: none;
}

.deck3d-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.deck3d-card.is-flipped .deck3d-flipper {
  transform: rotateY(180deg);
}

.deck3d-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 26px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(122, 74, 29, 0.22);
}

.deck3d-front--ivory,
.deck3d-back {
  background: linear-gradient(160deg, var(--brand-ivory) 0%, #eadfce 100%);
  border: 2.5px solid var(--gold-1);
  color: var(--brand-brown);
}

.deck3d-front--espresso,
.deck3d-back--espresso {
  background: linear-gradient(155deg, #6b3f17 0%, var(--brand-brown) 60%, #563110 100%);
  border: 2.5px solid var(--gold-2);
  color: var(--brand-ivory);
}

.deck3d-back {
  transform: rotateY(180deg);
  justify-content: flex-start;
}

/* Shimmering Gold Foil Sweep across the card */
.deck3d-foil-sweep {
  position: absolute;
  top: 0;
  left: -110%;
  width: 60%;
  height: 100%;
  background: linear-gradient(108deg, transparent, rgba(255, 228, 153, 0.42), transparent);
  animation: casaPreviewSheen 5s ease-in-out infinite;
  pointer-events: none;
}

.deck3d-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.deck3d-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1px solid var(--gold-1);
}

.deck3d-wax {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(122, 74, 29, 0.28);
}

.deck3d-wax--gold {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
}

/* Bespoke Animated Mini-Scenes inside each 3D Card */
.deck3d-visual-scene {
  position: relative;
  height: 126px;
  border-radius: 16px;
  background: rgba(122, 74, 29, 0.08);
  border: 1px solid rgba(231, 170, 81, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.deck3d-scene-dca {
  background: rgba(241, 236, 228, 0.08);
  padding: 0;
}

.deck3d-dca-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deck3d-price-float {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.74rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 3D Floating Mini Book for Free Guide */
.mini-book-3d {
  display: flex;
  transform: perspective(500px) rotateY(-16deg) rotateX(4deg);
  box-shadow: 10px 12px 22px rgba(122, 74, 29, 0.25);
  border-radius: 4px 10px 10px 4px;
  animation: shelfAvatarFloat 4s ease-in-out infinite;
}

.mini-book-spine {
  width: 10px;
  background: var(--gold-3);
  border-radius: 4px 0 0 4px;
}

.mini-book-cover {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 1.5px solid var(--gold-2);
  border-left: none;
  padding: 0.55rem 0.9rem;
  border-radius: 0 10px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.mini-book-cover small {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--gold-2);
  font-weight: 700;
}

.mini-book-cover strong {
  font-family: var(--font-title);
  font-size: 1.18rem;
  color: var(--gold-2);
}

.mini-book-cover em {
  font-style: normal;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--brand-ivory);
}

/* Live Pulsing Audio Waveform for Casa Edits */
.mini-wave-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
}

.mini-wave-bars span {
  width: 7px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--gold-2), var(--brand-brown));
  animation: waveBounce 1.4s ease-in-out infinite;
}

.mini-wave-bars span:nth-child(1) { height: 18px; animation-delay: 0s; }
.mini-wave-bars span:nth-child(2) { height: 36px; animation-delay: 0.15s; }
.mini-wave-bars span:nth-child(3) { height: 46px; animation-delay: 0.3s; }
.mini-wave-bars span:nth-child(4) { height: 28px; animation-delay: 0.45s; }
.mini-wave-bars span:nth-child(5) { height: 42px; animation-delay: 0.6s; }
.mini-wave-bars span:nth-child(6) { height: 24px; animation-delay: 0.75s; }
.mini-wave-bars span:nth-child(7) { height: 34px; animation-delay: 0.9s; }

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1.15); }
}

.mini-scene-pill {
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-brown);
  background: var(--brand-ivory);
  padding: 0.16rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-1);
}

/* Animated Floating Slide Fan for Casa Slides */
.mini-slides-fan {
  position: relative;
  width: 130px;
  height: 62px;
}

.ms-card {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1.5px solid var(--gold-1);
  background: var(--brand-ivory);
  box-shadow: 0 6px 14px rgba(122, 74, 29, 0.16);
}

.ms-1 { transform: rotate(-10deg) translateX(-14px); background: var(--brand-desert); }
.ms-2 { transform: rotate(8deg) translateX(14px); background: var(--gold-2); }
.ms-3 {
  background: var(--brand-brown);
  color: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.92rem;
  animation: shelfAvatarFloat 3.6s ease-in-out infinite;
}

.deck3d-accent {
  margin: 0 0 0.1rem;
  font-size: 1.15rem;
  line-height: 1.18;
}

.deck3d-title {
  margin: 0 0 0.25rem;
  font-size: 1.42rem;
  line-height: 1.15;
}

.deck3d-sub {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
}

.deck3d-desc {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}

.deck3d-flip-btn {
  margin-top: auto;
  padding: 0.68rem 1rem !important;
  font-size: 0.88rem !important;
}

.deck3d-dual-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.deck3d-ghost-flip {
  background: transparent;
  border: 1.5px solid rgba(255, 228, 153, 0.55);
  color: var(--gold-2);
  border-radius: var(--radius-pill);
  padding: 0.42rem 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.deck3d-back-btn {
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1px solid var(--gold-1);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
}

.deck3d-back-btn--light {
  background: rgba(241, 236, 228, 0.14);
  color: var(--gold-2);
  border-color: var(--gold-2);
}

.deck3d-perks {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--brand-desert);
}

/* Deck Controls */
.deck3d-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 410px;
}

.deck3d-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-1);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 200ms var(--ease-smooth);
}

.deck3d-nav-btn:hover {
  background: var(--gradient-gold-button);
  transform: scale(1.06);
}

.deck3d-dots {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.deck3d-dot {
  border: 1.5px solid rgba(122, 74, 29, 0.25);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.34rem 0.62rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 200ms var(--ease-smooth);
}

.deck3d-dot.is-active {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  box-shadow: 0 4px 10px rgba(122, 74, 29, 0.18);
}

/* Desktop Side Index */
.deck3d-index {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.deck3d-index-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.78rem 0.95rem;
  border-radius: 18px;
  background: var(--brand-ivory);
  border: 1.5px solid rgba(122, 74, 29, 0.2);
  color: var(--brand-brown);
  cursor: pointer;
  transition: all 240ms var(--ease-smooth);
}

.deck3d-index-row span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deck3d-index-row strong {
  font-size: 0.95rem;
}

.deck3d-index-row small {
  font-size: 0.76rem;
  opacity: 0.78;
}

.deck3d-index-row.is-active,
.deck3d-index-row:hover {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(122, 74, 29, 0.16);
}

/* ============================================================================
   WOW LOOK 2 (?plook=2): MEDITERRANEAN ARCHITECTURAL ARCHWAY GALLERY
   ============================================================================ */
.arch-colonnade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.arch-door {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.7rem 0.95rem;
  border-radius: 999px 999px 20px 20px;
  background: linear-gradient(180deg, var(--brand-ivory) 0%, #eadfce 100%);
  border: 2px solid rgba(231, 170, 81, 0.65);
  color: var(--brand-brown);
  cursor: pointer;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, border-color 240ms ease;
}

.arch-door--espresso {
  background: linear-gradient(180deg, #6d4118 0%, var(--brand-brown) 100%);
  border-color: var(--gold-2);
}

.arch-halo {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 140%;
  height: 110%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 228, 153, 0.45) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.arch-door:hover,
.arch-door.is-active {
  transform: translateY(-6px);
  border-color: var(--gold-1);
  box-shadow: 0 14px 30px rgba(122, 74, 29, 0.24), 0 0 0 3px rgba(231, 170, 81, 0.25);
}

.arch-door.is-active .arch-halo,
.arch-door:hover .arch-halo {
  opacity: 1;
}

.arch-num {
  position: relative;
  z-index: 2;
  font-family: var(--font-title);
  font-size: 0.78rem;
  padding: 0.16rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--brand-brown);
  color: var(--gold-2);
  margin-bottom: 0.55rem;
}

.arch-num--gold {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
}

.arch-art {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  border: 2px solid var(--gold-1);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-desert);
}

.arch-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-art--studio {
  background: linear-gradient(145deg, var(--brand-desert), var(--brand-ivory));
}

.mini-wave-sm {
  height: 30px;
  gap: 4px;
}

.mini-wave-sm span {
  width: 5px;
}

.arch-slides-glyph {
  font-size: 2rem;
  color: var(--brand-brown);
  animation: shelfAvatarFloat 3s ease-in-out infinite;
}

.arch-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.arch-name {
  font-family: var(--font-title);
  font-size: 1.02rem;
  margin: 0.12rem 0 0.25rem;
  line-height: 1.15;
}

.arch-cta-hint {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
}

.arch-panel {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: center;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lift);
}

.arch-panel.is-active {
  display: grid;
}

.arch-panel--espresso {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

.arch-dca-box {
  background: rgba(241, 236, 228, 0.1);
  border: 1.5px solid rgba(255, 228, 153, 0.5);
  border-radius: 18px;
  padding: 1.1rem;
  text-align: center;
}

.arch-dca-price {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold-2);
  margin-bottom: 0.65rem;
}

.arch-dca-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--brand-desert);
}

/* ============================================================================
   WOW LOOK 3 (?plook=3): ROTATING GOLDEN COMPASS DIAL & VIEWPORT
   ============================================================================ */
.compass-ticker {
  background: var(--brand-brown);
  color: var(--gold-2);
  border-bottom: 1.5px solid var(--gold-1);
  overflow: hidden;
  padding: 0.42rem 0;
  white-space: nowrap;
}

.compass-ticker-track {
  display: inline-flex;
  gap: 2.2rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  animation: compassMarquee 22s linear infinite;
}

@keyframes compassMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.compass-studio-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.compass-dial-col {
  display: flex;
  justify-content: center;
}

.compass-ring-shell {
  position: relative;
  width: 286px;
  height: 286px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-ivory) 42%, var(--brand-desert) 100%);
  border: 3px solid var(--gold-1);
  box-shadow: inset 0 0 28px rgba(122, 74, 29, 0.16), 0 14px 32px rgba(122, 74, 29, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-needle {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px dashed rgba(122, 74, 29, 0.28);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.compass-needle::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid var(--brand-brown);
}

.compass-center-hub {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--brand-brown);
  border: 2.5px solid var(--gold-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
  text-align: center;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(122, 74, 29, 0.3);
}

.compass-center-hub img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-2);
  margin-bottom: 0.15rem;
}

.compass-center-hub span {
  font-size: 0.95rem;
  line-height: 1;
}

.compass-node {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  color: var(--brand-brown);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 14px rgba(122, 74, 29, 0.16);
  transition: all 240ms var(--ease-smooth);
}

.compass-node strong {
  font-family: var(--font-title);
  font-size: 1rem;
  line-height: 1;
}

.compass-node small {
  font-size: 0.66rem;
  font-weight: 700;
}

.compass-node.is-active,
.compass-node:hover {
  background: var(--gradient-gold-button);
  border-color: var(--brand-brown);
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(122, 74, 29, 0.28);
}

.cn-top { top: -18px; left: 50%; margin-left: -37px; }
.cn-right { right: -18px; top: 50%; margin-top: -37px; }
.cn-bottom { bottom: -18px; left: 50%; margin-left: -37px; }
.cn-left { left: -18px; top: 50%; margin-top: -37px; }

.compass-pane {
  display: none;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lift);
}

.compass-pane.is-active {
  display: block;
}

.compass-pane--espresso {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

/* ============================================================================
   MOBILE PERFECTION FOR ALL 3 WOW INTERFACES (<= 780px & 390px Previewer)
   ============================================================================ */
@media (max-width: 780px) {
  .wow-form-grid { grid-template-columns: 1fr; }
  .deck3d-workspace { grid-template-columns: 1fr; gap: 0.75rem; }
  .deck3d-index { display: none; }
  .deck3d-stage { height: 430px; max-width: 345px; }

  .arch-colonnade {
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    overflow-x: auto;
    padding: 0.45rem 0.2rem 0.65rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .arch-door { scroll-snap-align: start; padding: 0.65rem 0.45rem 0.75rem; }
  .arch-art { width: 58px; height: 58px; }
  .arch-panel { grid-template-columns: 1fr; padding: 1.05rem; gap: 0.85rem; }

  .compass-studio-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .compass-ring-shell { width: 236px; height: 236px; margin: 14px 0; }
  .compass-center-hub { width: 88px; height: 88px; }
  .compass-center-hub img { width: 38px; height: 38px; }
  .compass-node { width: 64px; height: 64px; }
  .cn-top { margin-left: -32px; }
  .cn-bottom { margin-left: -32px; }
  .cn-left { margin-top: -32px; }
  .cn-right { margin-top: -32px; }
}

body.is-mobile-preview .wow-stage-section { padding-top: 0.9rem !important; }
body.is-mobile-preview .wow-container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
body.is-mobile-preview .wow-mini-header { margin-bottom: 0.85rem !important; }
body.is-mobile-preview .wow-mini-title { font-size: 1.38rem !important; }
body.is-mobile-preview .wow-mini-accent { font-size: 1.05rem !important; }
body.is-mobile-preview .wow-crest-wrap,
body.is-mobile-preview .wow-crest-img { width: 46px !important; height: 46px !important; }
body.is-mobile-preview .wow-form-grid { grid-template-columns: 1fr !important; }

/* WOW 1 Mobile Preview */
body.is-mobile-preview .deck3d-workspace { grid-template-columns: 1fr !important; gap: 0.65rem !important; }
body.is-mobile-preview .deck3d-index { display: none !important; }
body.is-mobile-preview .deck3d-stage { height: 425px !important; max-width: 342px !important; margin-bottom: 1rem !important; }
body.is-mobile-preview .deck3d-face { padding: 1rem !important; }
body.is-mobile-preview .deck3d-title { font-size: 1.24rem !important; }
body.is-mobile-preview .deck3d-visual-scene { height: 112px !important; }
body.is-mobile-preview .deck3d-dot { font-size: 0.68rem !important; padding: 0.3rem 0.5rem !important; }

/* WOW 2 Mobile Preview */
body.is-mobile-preview .arch-colonnade {
  grid-template-columns: repeat(4, minmax(108px, 1fr)) !important;
  overflow-x: auto !important;
  padding: 0.45rem 0.2rem 0.65rem !important;
  margin-bottom: 0.9rem !important;
}
body.is-mobile-preview .arch-door { padding: 0.62rem 0.4rem 0.7rem !important; }
body.is-mobile-preview .arch-art { width: 54px !important; height: 54px !important; }
body.is-mobile-preview .arch-name { font-size: 0.86rem !important; }
body.is-mobile-preview .arch-panel { grid-template-columns: 1fr !important; padding: 1rem !important; gap: 0.8rem !important; }

/* WOW 3 Mobile Preview */
body.is-mobile-preview .compass-studio-grid { grid-template-columns: 1fr !important; gap: 1.35rem !important; }
body.is-mobile-preview .compass-ring-shell { width: 226px !important; height: 226px !important; margin: 14px 0 !important; }
body.is-mobile-preview .compass-center-hub { width: 84px !important; height: 84px !important; }
body.is-mobile-preview .compass-center-hub img { width: 36px !important; height: 36px !important; }
body.is-mobile-preview .compass-node { width: 62px !important; height: 62px !important; }
body.is-mobile-preview .cn-top,
body.is-mobile-preview .cn-bottom { margin-left: -31px !important; }
body.is-mobile-preview .cn-left,
body.is-mobile-preview .cn-right { margin-top: -31px !important; }
body.is-mobile-preview .compass-pane { padding: 1rem !important; }

/* ============================================================================
   WOW LOOK 1 UPGRADE: High-Contrast Selector Tray + Live Swipe Cue + Edge Arrows
   ============================================================================ */
.deck3d-top-tray {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  background: var(--brand-brown);
  border: 2px solid var(--gold-1);
  border-radius: 18px;
  padding: 0.45rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 10px 24px rgba(122, 74, 29, 0.24);
}

.deck3d-tray-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.56rem 0.55rem;
  border-radius: 13px;
  background: rgba(241, 236, 228, 0.12);
  border: 1.5px solid rgba(255, 228, 153, 0.28);
  color: var(--brand-ivory);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 240ms var(--ease-smooth);
}

.deck3d-tray-pill:hover {
  background: rgba(255, 228, 153, 0.22);
  border-color: var(--gold-2);
}

.deck3d-tray-pill.is-active {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--brand-ivory);
  box-shadow: 0 4px 14px rgba(255, 228, 153, 0.35);
  transform: translateY(-1px);
}

.dt-num {
  font-size: 0.72rem;
  opacity: 0.82;
}

.deck3d-swipe-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.34rem 0.9rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand-desert);
  border: 1.5px solid var(--gold-1);
  color: var(--brand-brown);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(122, 74, 29, 0.12);
}

.swipe-cue-left {
  display: inline-block;
  animation: swipeNudgeLeft 1.6s ease-in-out infinite;
}

.swipe-cue-right {
  display: inline-block;
  animation: swipeNudgeRight 1.6s ease-in-out infinite;
}

@keyframes swipeNudgeLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-4px); }
}

@keyframes swipeNudgeRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.deck3d-stage-shell {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 0 56px;
  margin: 0 auto 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck3d-stage {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  margin-bottom: 0 !important;
}

.deck3d-stage:active {
  cursor: grabbing;
}

.deck3d-edge-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 38px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-brown);
  color: var(--gold-2);
  border: 2px solid var(--gold-2);
  font-size: 1.65rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(122, 74, 29, 0.34);
  transition: transform 200ms var(--ease-smooth), background 200ms ease;
}

.deck3d-edge-arrow:hover {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  transform: translateY(-50%) scale(1.08);
}

.deck3d-edge-prev { left: 0; }
.deck3d-edge-next { right: 0; }

.deck3d-controls--bold {
  justify-content: space-between;
  background: var(--brand-brown);
  border: 2px solid var(--gold-1);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.45rem;
  box-shadow: 0 10px 22px rgba(122, 74, 29, 0.25);
}

.deck3d-nav-btn--bold {
  width: auto !important;
  height: auto !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.46rem 0.95rem !important;
  background: var(--gradient-gold-button) !important;
  color: var(--brand-brown) !important;
  border: 1.5px solid var(--brand-ivory) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

.deck3d-status-pill {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 0.4rem;
}

@media (max-width: 780px) {
  .deck3d-top-tray {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.38rem;
    margin-bottom: 0.8rem;
  }
  .deck3d-tray-pill {
    font-size: 0.78rem;
    padding: 0.45rem 0.4rem;
  }
  .deck3d-edge-arrow {
    width: 30px;
    height: 46px;
    font-size: 1.35rem;
  }
  .deck3d-edge-prev { left: -4px; }
  .deck3d-edge-next { right: -4px; }
}

body.is-mobile-preview .deck3d-top-tray {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.32rem !important;
  padding: 0.36rem !important;
  margin-bottom: 0.7rem !important;
}

body.is-mobile-preview .deck3d-tray-pill {
  font-size: 0.76rem !important;
  padding: 0.42rem 0.38rem !important;
}

body.is-mobile-preview .deck3d-swipe-cue {
  font-size: 0.71rem !important;
  padding: 0.28rem 0.7rem !important;
  margin-bottom: 0.6rem !important;
}

body.is-mobile-preview .deck3d-edge-arrow {
  width: 28px !important;
  height: 44px !important;
  font-size: 1.25rem !important;
}

body.is-mobile-preview .deck3d-edge-prev { left: -3px !important; }
body.is-mobile-preview .deck3d-edge-next { right: -3px !important; }

body.is-mobile-preview .deck3d-nav-btn--bold {
  padding: 0.4rem 0.75rem !important;
  font-size: 0.76rem !important;
}

body.is-mobile-preview .deck3d-status-pill {
  font-size: 0.74rem !important;
}

/* ============================================================================
   OFFICIAL LINK-IN-BIO TOP / STORY BARS / BOTTOM SIGNOFF
   ============================================================================ */
.bio-top-hero {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 1.35rem;
}

.bio-top-crest {
  display: block;
  margin: 0 auto 0.65rem;
  transition: transform 220ms var(--ease-smooth);
}

.bio-top-crest:hover {
  transform: scale(1.06);
}

.bio-top-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-brown);
  background: var(--brand-desert);
  border: 1px solid var(--gold-1);
  padding: 0.24rem 0.78rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.45rem;
}

.bio-top-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 4.2vw, 2.55rem);
  line-height: 1.12;
}

.bio-top-lines {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--brand-brown);
}

.bio-top-tagline {
  margin: 0;
  font-size: clamp(1.28rem, 2.8vw, 1.52rem);
  color: var(--brand-brown);
}

/* Sleek Hairline Gold Story-Progress Bars (Replaces clunky brown tray!) */
.deck3d-story-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 0.65rem;
}

.story-bar-btn {
  padding: 0.45rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.story-bar-fill {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(122, 74, 29, 0.22);
  transition: all 260ms var(--ease-smooth);
}

.story-bar-btn:hover .story-bar-fill {
  background: rgba(231, 170, 81, 0.7);
}

.story-bar-btn.is-active .story-bar-fill {
  height: 5px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-5));
  box-shadow: 0 0 10px rgba(231, 170, 81, 0.65);
}

.deck3d-swipe-cue--airy {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.1rem 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  color: var(--brand-brown);
  opacity: 0.85;
}

/* Exact Link-in-Bio Bottom Signoff */
.bio-bottom-signoff {
  text-align: center;
}

.bio-byline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-brown);
  padding: 0.32rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--brand-desert);
  border: 1.5px solid var(--gold-1);
  transition: all 200ms var(--ease-smooth);
}

.bio-byline:hover {
  background: var(--gradient-gold-button);
  transform: translateY(-1px);
}

.bio-faith-line {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-top: 0.55rem;
  color: var(--brand-brown);
}

@media (max-width: 780px) {
  .bio-top-hero { margin-bottom: 0.9rem; }
  .bio-top-title { font-size: 1.6rem; }
  .bio-top-lines { font-size: 0.86rem; }
  .bio-top-tagline { font-size: 1.18rem; }
  .deck3d-stage-shell { padding: 0 40px; margin-bottom: 2.25rem; }
  .deck3d-edge-prev { left: 0; }
  .deck3d-edge-next { right: 0; }
}

body.is-mobile-preview .bio-top-hero { margin-bottom: 0.75rem !important; }
body.is-mobile-preview .bio-top-eyebrow { font-size: 0.65rem !important; padding: 0.2rem 0.65rem !important; }
body.is-mobile-preview .bio-top-title { font-size: 1.52rem !important; margin-bottom: 0.2rem !important; }
body.is-mobile-preview .bio-top-lines { font-size: 0.83rem !important; line-height: 1.38 !important; }
body.is-mobile-preview .bio-top-tagline { font-size: 1.15rem !important; }
body.is-mobile-preview .deck3d-story-bars { max-width: 300px !important; margin-bottom: 0.45rem !important; }
body.is-mobile-preview .deck3d-swipe-cue--airy { font-size: 0.72rem !important; margin-bottom: 0.55rem !important; }
body.is-mobile-preview .deck3d-stage-shell { padding: 0 40px !important; margin-bottom: 2.25rem !important; }
body.is-mobile-preview .deck3d-stage { max-width: 286px !important; height: 420px !important; }
body.is-mobile-preview .deck3d-edge-prev { left: 0 !important; }
body.is-mobile-preview .deck3d-edge-next { right: 0 !important; }
body.is-mobile-preview .bio-faith-line { font-size: 1.02rem !important; }

/* ============================================================================
   DCA SALES PAGE — 3 JAW-DROPPING 3D/4D INTERACTIVE LOOKS (?dlook=1 | 2 | 3)
   100% Strict Brand Palette · Dedicated Image Rooms · Web & 390px Mobile
   ============================================================================ */

/* Shared 4D Liquid-Gold Aurora Background & Animated Liquid-Gold Checkout Card */
.dca-4d-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 228, 153, 0.34) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(231, 170, 81, 0.28) 0%, transparent 48%);
  filter: blur(36px);
  animation: dcaAuroraDrift 11s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes dcaAuroraDrift {
  0% { transform: translate3d(-2%, -2%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

.dca-checkout-luxe-outer {
  padding: 3px;
  border-radius: 26px;
  background: linear-gradient(125deg, var(--gold-2), var(--gold-1), var(--gold-5), var(--gold-2));
  background-size: 240% 240%;
  animation: shelfGoldFlow 6s ease infinite;
  box-shadow: 0 18px 42px rgba(122, 74, 29, 0.22);
}

.dca-checkout-luxe-inner {
  background: var(--brand-ivory);
  border-radius: 23px;
  padding: 1.5rem;
}

.dca-checkout-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

/* Shared 3D Image Room Frame + Glare Sweep */
.dca-image-room,
.dca-arch-image-room,
.dca-gallery-img-room {
  position: relative;
  transition: transform 240ms var(--ease-smooth);
  transform-style: preserve-3d;
}

.dca-room-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 2.5px solid var(--gold-1);
  background: var(--brand-brown);
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 36px rgba(122, 74, 29, 0.24);
}

.dca-room-frame img,
.dca-arch-image-room img,
.dca-gallery-img-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dca-room-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(122, 74, 29, 0.9);
  color: var(--gold-2);
  border: 1px solid var(--gold-2);
  font-size: 0.73rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.dca-room-glare {
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(108deg, transparent, rgba(255, 228, 153, 0.36), transparent);
  animation: casaPreviewSheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* ============================================================================
   DCA LOOK 1 (?dlook=1): 3D FLOATING VAULT & ORBITING GOLDEN STAT BADGES
   ============================================================================ */
.dca-wow1-hero {
  position: relative;
  overflow: hidden;
  padding-top: 2.5rem;
}

.dca-wow1-hero .container {
  position: relative;
  z-index: 2;
}

.dca-wow1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.25rem;
  align-items: center;
}

.dca-3d-hero-stage {
  position: relative;
  padding: 1.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 240ms var(--ease-smooth);
}

.dca-3d-ring {
  position: absolute;
  width: 92%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed rgba(231, 170, 81, 0.65);
  animation: wowSpinSlow 24s linear infinite;
  pointer-events: none;
}

.dca-3d-mockup-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--gold-1);
  box-shadow: 0 24px 50px rgba(122, 74, 29, 0.28);
  animation: shelfAvatarFloat 5.5s ease-in-out infinite;
}

.dca-3d-mockup-card img {
  width: 100%;
  display: block;
}

.dca-orbit-pill {
  position: absolute;
  z-index: 4;
  padding: 0.36rem 0.78rem;
  border-radius: var(--radius-pill);
  background: var(--brand-brown);
  color: var(--gold-2);
  border: 1.5px solid var(--gold-2);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(122, 74, 29, 0.28);
}

.op-tl { top: 4px; left: 4px; animation: shelfAvatarFloat 4.2s ease-in-out infinite; }
.op-tr { top: 14px; right: 0; animation: shelfAvatarFloat 4.8s ease-in-out infinite 0.5s; }
.op-bl { bottom: 12px; left: 0; animation: shelfAvatarFloat 4.5s ease-in-out infinite 0.9s; }
.op-br {
  bottom: 4px;
  right: 4px;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--brand-ivory);
  animation: shelfAvatarFloat 3.9s ease-in-out infinite 0.3s;
}

.dca-vault-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.dca-vault-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--brand-ivory);
  border: 1.5px solid rgba(122, 74, 29, 0.25);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.dca-vault-pill.is-active,
.dca-vault-pill:hover {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(122, 74, 29, 0.16);
}

.dvp-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dca-vault-stage-card {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.85rem;
  align-items: center;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lift);
}

.dca-vault-stage-card.is-active {
  display: grid;
}

/* ============================================================================
   DCA LOOK 2 (?dlook=2): ESPRESSO ARCH HERO + 3D FILMSTRIP LENS
   ============================================================================ */
.dca-wow2-hero {
  padding-top: 1.75rem;
}

.dca-wow2-arch-banner {
  position: relative;
  overflow: hidden;
  border-radius: 160px 160px 28px 28px;
  background: linear-gradient(165deg, #693e16 0%, var(--brand-brown) 65%, #522e0e 100%);
  border: 2.5px solid var(--gold-2);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  box-shadow: 0 22px 50px rgba(122, 74, 29, 0.3);
}

.dca-wow2-arch-inner {
  position: relative;
  z-index: 2;
}

.dca-wow2-hero-stage {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 2.5px solid var(--gold-2);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  transition: transform 240ms var(--ease-smooth);
}

.dca-wow2-hero-stage img {
  width: 100%;
  display: block;
}

.dca-wax-seal-pulse {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border: 2.5px solid var(--brand-ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(255, 228, 153, 0.28);
  animation: shelfAvatarFloat 3.6s ease-in-out infinite;
}

.dca-wax-seal-pulse small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dca-lens-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.dca-lens-viewport {
  background: var(--brand-brown);
  border: 2.5px solid var(--gold-2);
  border-radius: 26px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lift);
}

.dca-lens-stage {
  display: none;
}

.dca-lens-stage.is-active {
  display: block;
}

.dca-arch-image-room {
  border-radius: 90px 90px 18px 18px;
  overflow: hidden;
  border: 2px solid var(--gold-2);
  aspect-ratio: 16 / 10;
}

.dca-lens-rail {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dca-lens-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.62rem 0.75rem;
  border-radius: 16px;
  background: var(--brand-ivory);
  border: 1.5px solid rgba(122, 74, 29, 0.22);
  color: var(--brand-brown);
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.dca-lens-row.is-active,
.dca-lens-row:hover {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(122, 74, 29, 0.16);
}

.dca-lens-thumb {
  width: 58px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--gold-1);
  flex-shrink: 0;
}

.dca-lens-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.22;
}

.dca-lens-meta small {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.78;
}

.dca-lens-meta strong {
  font-size: 0.88rem;
}

/* ============================================================================
   DCA LOOK 3 (?dlook=3): COLLECTOR'S 4D ORBITAL FRAME + 3D TILT BENTO GALLERY
   ============================================================================ */
.dca-orbital-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2.5px solid var(--gold-1);
  box-shadow: 0 20px 44px rgba(122, 74, 29, 0.24);
  transition: transform 240ms var(--ease-smooth);
}

.dca-orbital-frame img {
  width: 100%;
  display: block;
}

.dca-orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 228, 153, 0.5);
  pointer-events: none;
  z-index: 2;
}

.or-1 { width: 160px; height: 160px; top: -45px; right: -45px; animation: wowSpinSlow 16s linear infinite; }
.or-2 { width: 120px; height: 120px; bottom: -35px; left: -35px; border-style: dashed; animation: wowSpinSlow 12s linear infinite reverse; }

.dca-gallery-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.dca-gallery-span-2 {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.dca-gallery-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 260ms var(--ease-smooth), box-shadow 260ms ease;
}

.dca-gallery-card:hover {
  box-shadow: var(--shadow-lift);
}

.dca-gallery-img-room {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-brown);
}

.dca-gallery-body {
  padding: 1.2rem;
}

/* ============================================================================
   DCA MOBILE PERFECTION (<= 820px & 390px Previewer)
   ============================================================================ */
@media (max-width: 820px) {
  .dca-wow1-grid,
  .dca-vault-stage-card,
  .dca-checkout-faq-grid,
  .dca-lens-workspace,
  .dca-gallery-bento,
  .dca-gallery-span-2 {
    grid-template-columns: 1fr;
  }
  .dca-gallery-span-2 { grid-column: span 1; }
  .dca-wow2-arch-banner { border-radius: 68px 68px 22px 22px; }
  .dca-orbit-pill { font-size: 0.66rem; padding: 0.26rem 0.56rem; }
}

body.is-mobile-preview .dca-wow1-grid,
body.is-mobile-preview .dca-vault-stage-card,
body.is-mobile-preview .dca-checkout-faq-grid,
body.is-mobile-preview .dca-lens-workspace,
body.is-mobile-preview .dca-gallery-bento,
body.is-mobile-preview .dca-gallery-span-2 {
  grid-template-columns: 1fr !important;
  gap: 1.15rem !important;
}

body.is-mobile-preview .dca-gallery-span-2 { grid-column: span 1 !important; }
body.is-mobile-preview .dca-wow2-arch-banner { border-radius: 64px 64px 20px 20px !important; padding: 1.5rem 1rem !important; }
body.is-mobile-preview .dca-3d-hero-stage { padding: 1.25rem 0.4rem !important; }
body.is-mobile-preview .dca-orbit-pill { font-size: 0.64rem !important; padding: 0.24rem 0.52rem !important; }
body.is-mobile-preview .dca-vault-pill { font-size: 0.74rem !important; padding: 0.4rem 0.72rem !important; }
body.is-mobile-preview .dca-vault-stage-card { padding: 1rem !important; }
body.is-mobile-preview .dca-checkout-luxe-inner { padding: 1.1rem !important; }
body.is-mobile-preview .dca-lens-viewport { padding: 1rem !important; }
body.is-mobile-preview .dca-arch-image-room { border-radius: 52px 52px 14px 14px !important; }
body.is-mobile-preview .dca-wax-seal-pulse { width: 58px !important; height: 58px !important; font-size: 0.95rem !important; }

/* ============================================================================
   DCA 5D CINEMA / 3D COVERFLOW / 3D FLIP-VAULT / 5D PRISM DECK
   ============================================================================ */

/* 5D Sunbeam Cinema Hero + Floating Gold Particles */
.dca5-hero-cinema {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #5d3612 0%, var(--brand-brown) 55%, #4a290c 100%);
  border-bottom: 2.5px solid var(--gold-1);
  padding: 2.75rem 0 3rem;
}

.dca5-sunbeams {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg at 50% 35%,
    transparent 0deg,
    rgba(255, 228, 153, 0.14) 24deg,
    transparent 52deg,
    rgba(231, 170, 81, 0.12) 115deg,
    transparent 165deg,
    rgba(255, 228, 153, 0.14) 240deg,
    transparent 300deg
  );
  animation: wowSpinSlow 34s linear infinite;
  pointer-events: none;
}

.dca5-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dca5-particles span {
  position: absolute;
  color: var(--gold-2);
  opacity: 0.45;
  font-size: 1rem;
  animation: particleRise 9s ease-in-out infinite;
}

.dca5-particles span:nth-child(1) { left: 10%; bottom: -10%; animation-delay: 0s; }
.dca5-particles span:nth-child(2) { left: 26%; bottom: -10%; animation-delay: 1.8s; font-size: 0.75rem; }
.dca5-particles span:nth-child(3) { left: 48%; bottom: -10%; animation-delay: 3.4s; font-size: 1.2rem; }
.dca5-particles span:nth-child(4) { left: 68%; bottom: -10%; animation-delay: 1.1s; }
.dca5-particles span:nth-child(5) { left: 82%; bottom: -10%; animation-delay: 4.5s; font-size: 0.8rem; }
.dca5-particles span:nth-child(6) { left: 92%; bottom: -10%; animation-delay: 2.6s; }

@keyframes particleRise {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  30% { opacity: 0.65; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-420px) scale(1.25) rotate(120deg); opacity: 0; }
}

.dca5-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.25rem;
  align-items: center;
}

.dca5-levitate-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  transition: transform 240ms var(--ease-smooth);
}

.dca5-halo-ring {
  position: absolute;
  width: 96%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 228, 153, 0.45);
  box-shadow: 0 0 60px rgba(231, 170, 81, 0.3);
  animation: wowSpinSlow 20s linear infinite;
}

.dca5-bundle-glass {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 2.5px solid var(--gold-2);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.45);
  animation: shelfAvatarFloat 5s ease-in-out infinite;
}

.dca5-bundle-glass img { width: 100%; display: block; }

.dca5-float-tag {
  position: absolute;
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  z-index: 3;
}

.dft-top {
  top: 12px;
  left: 12px;
  background: rgba(122, 74, 29, 0.92);
  color: var(--gold-2);
  border: 1.5px solid var(--gold-2);
}

.dft-bottom {
  bottom: 12px;
  right: 12px;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border: 1.5px solid var(--brand-ivory);
}

/* Interactive Faceless <-> Face-Forward Path Switcher */
.dca-path-switch-box {
  background: rgba(241, 236, 228, 0.95);
  border: 2px solid var(--gold-1);
  border-radius: 20px;
  padding: 0.75rem;
  color: var(--brand-brown);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.dca-path-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.dca-path-btn {
  padding: 0.54rem 0.65rem;
  border-radius: 13px;
  border: 1.5px solid rgba(122, 74, 29, 0.22);
  background: var(--brand-desert);
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.dca-path-btn.is-active {
  background: var(--brand-brown);
  color: var(--gold-2);
  border-color: var(--gold-1);
  box-shadow: 0 4px 12px rgba(122, 74, 29, 0.25);
}

.dca-path-pane {
  display: none;
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.15rem 0.25rem;
}

.dca-path-pane.is-active { display: block; }

/* 10+ Income Streams Interactive Constellation */
.streams-constellation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stream-orb-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: var(--brand-ivory);
  border: 1.5px solid var(--gold-1);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms var(--ease-smooth), background 240ms ease, box-shadow 240ms ease;
}

.stream-orb-chip:hover {
  transform: translateY(-4px) scale(1.015);
  background: linear-gradient(135deg, var(--brand-ivory) 0%, var(--brand-desert) 100%);
  box-shadow: var(--shadow-lift);
}

.stream-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  font-family: var(--font-title);
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stream-orb-chip strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.stream-orb-chip small { display: block; font-size: 0.77rem; color: var(--text-muted); margin-top: 0.12rem; }

/* TRUE 3D REVOLVING COVERFLOW STAGE (Look 1) */
.cf-stage {
  position: relative;
  height: 465px;
  max-width: 920px;
  margin: 0 auto;
  perspective: 1400px;
  overflow: hidden;
}

.cf-card {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 390px;
  margin-left: -195px;
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(122, 74, 29, 0.26);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 480ms ease;
}

.cf-card.is-center {
  z-index: 5;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

.cf-card.is-left {
  z-index: 3;
  opacity: 0.72;
  cursor: pointer;
  transform: translate3d(-265px, 16px, -140px) rotateY(28deg) scale(0.86);
}

.cf-card.is-right {
  z-index: 3;
  opacity: 0.72;
  cursor: pointer;
  transform: translate3d(265px, 16px, -140px) rotateY(-28deg) scale(0.86);
}

.cf-card.is-back {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 30px, -280px) scale(0.7);
}

.cf-img-room {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-brown);
}

.cf-img-room img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cf-body { padding: 1.05rem 1.15rem 1.2rem; }

.cf-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-size: 0.82rem;
  color: var(--brand-brown);
}

.cf-bullets--light { color: var(--brand-desert); gap: 0.5rem; font-size: 0.88rem; }

.cf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.cf-dots { display: flex; gap: 0.35rem; }

.cf-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-1);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.74rem;
  cursor: pointer;
}

.cf-dot.is-active {
  background: var(--gradient-gold-button);
  border-color: var(--brand-brown);
}

/* VALUE STACK RECEIPT */
.dca-value-receipt {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border: 2.5px solid var(--gold-2);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(122, 74, 29, 0.28);
}

.dca-vr-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dca-vr-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(255, 228, 153, 0.25);
  font-size: 0.9rem;
  color: var(--brand-desert);
}

.dca-vr-list strong { color: var(--gold-2); font-size: 0.82rem; white-space: nowrap; }

.dca-vr-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  color: var(--gold-2);
}

.dca-vr-total strong { font-size: 2.1rem; line-height: 1; }

/* LOOK 2: 3D FLIP-VAULT MODULE CARDS */
.dca5-atelier-hero { position: relative; overflow: hidden; }
.dca5-atelier-frame {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  border: 3px solid var(--gold-1);
  box-shadow: 0 24px 50px rgba(122, 74, 29, 0.26);
  transition: transform 240ms var(--ease-smooth);
}
.dca5-atelier-frame img { width: 100%; display: block; }

.dca-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.dca-flip-tile {
  perspective: 1200px;
  height: 345px;
  cursor: pointer;
}

.dca-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dca-flip-tile.is-flipped .dca-flip-inner { transform: rotateY(180deg); }

.dca-flip-front,
.dca-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.dca-flip-front {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  display: flex;
  flex-direction: column;
}

.dca-flip-img {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: var(--brand-brown);
}

.dca-flip-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dca-flip-front-copy { padding: 0.9rem 1rem; }

.dca-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, #683d15 0%, var(--brand-brown) 100%);
  border: 2.5px solid var(--gold-2);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.dca-flip-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-brown);
  background: var(--gradient-gold-button);
  padding: 0.2rem 0.58rem;
  border-radius: var(--radius-pill);
}

.dca-flip-hint--light { align-self: flex-start; }

/* LOOK 3: 5D PRISM STACKED DECK */
.prism-streams-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 1rem;
}

.prism-stream-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(241, 236, 228, 0.14);
  border: 1px solid rgba(255, 228, 153, 0.4);
  color: var(--brand-ivory);
}

.prism-stream-tag--gold {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--brand-ivory);
}

.prism-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.75rem;
  align-items: center;
}

.prism-stage {
  position: relative;
  height: 440px;
  max-width: 440px;
  margin: 0 auto;
  perspective: 1300px;
}

.prism-card {
  position: absolute;
  inset: 0;
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(122, 74, 29, 0.24);
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}

.prism-card.is-front { z-index: 4; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.prism-card.is-next { z-index: 3; opacity: 0.8; transform: translate3d(16px, 14px, -40px) scale(0.94) rotate(2deg); }
.prism-card.is-far { z-index: 2; opacity: 0.5; transform: translate3d(-14px, 26px, -80px) scale(0.88) rotate(-2deg); }
.prism-card.is-hidden { z-index: 1; opacity: 0; pointer-events: none; }

.prism-img-room { position: relative; height: 195px; overflow: hidden; background: var(--brand-brown); }
.prism-img-room img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prism-copy { padding: 1rem 1.15rem; }
.prism-index-col { display: flex; flex-direction: column; gap: 0.55rem; }

/* MOBILE PERFECTION FOR ALL 3 5D DCA LOOKS (<= 820px & 390px Previewer) */
@media (max-width: 820px) {
  .dca5-hero-split,
  .streams-constellation-grid,
  .dca-flip-grid,
  .prism-workspace { grid-template-columns: 1fr; }
  .cf-card { width: 320px; margin-left: -160px; }
  .cf-card.is-left { transform: translate3d(-150px, 14px, -140px) rotateY(24deg) scale(0.84); }
  .cf-card.is-right { transform: translate3d(150px, 14px, -140px) rotateY(-24deg) scale(0.84); }
}

body.is-mobile-preview .dca5-hero-cinema { padding: 1.5rem 0 2rem !important; }
body.is-mobile-preview .dca5-hero-split,
body.is-mobile-preview .streams-constellation-grid,
body.is-mobile-preview .dca-flip-grid,
body.is-mobile-preview .prism-workspace { grid-template-columns: 1fr !important; gap: 1rem !important; }
body.is-mobile-preview .dca-path-tabs { grid-template-columns: 1fr !important; }
body.is-mobile-preview .cf-stage { height: 445px !important; }
body.is-mobile-preview .cf-card { width: 312px !important; margin-left: -156px !important; }
body.is-mobile-preview .cf-card.is-left { transform: translate3d(-130px, 12px, -140px) rotateY(22deg) scale(0.84) !important; }
body.is-mobile-preview .cf-card.is-right { transform: translate3d(130px, 12px, -140px) rotateY(-22deg) scale(0.84) !important; }
body.is-mobile-preview .prism-stage { height: 425px !important; max-width: 332px !important; }
body.is-mobile-preview .prism-index-col { display: none !important; }
body.is-mobile-preview .dca-value-receipt { padding: 1.1rem !important; }

/* ============================================================================
   DCA FULL SALES PAGE (16 SECTIONS) — 3D INTERACTIVE POLISH (WEB + 390px MOBILE)
   ============================================================================ */
.dca-who-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 28px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}

.dca-who-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.dca-who-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(221, 202, 178, 0.34);
  border: 1.5px solid rgba(231, 170, 81, 0.55);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.dca-who-check {
  color: var(--gold-3);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.dca-streams-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dca-diff-card {
  position: relative;
  border-top: 3px solid var(--gold-1);
}

.dca-diff-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

/* Section 5: Founder Keepsake Portrait + Letter */
.dca-founder-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.25rem;
  align-items: center;
}

.dca-founder-polaroid {
  position: relative;
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  border-radius: 24px;
  padding: 0.85rem 0.85rem 1rem;
  box-shadow: 0 20px 44px rgba(122, 74, 29, 0.22);
  transform: rotate(-1.5deg);
}

.dca-founder-polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 16px;
  display: block;
}

.dca-founder-seal {
  top: -16px;
  right: -12px;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

/* Section 6: 3 Dedicated 3D Image Rooms */
.dca-preview-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.dca-preview-room-card {
  transition: transform 240ms var(--ease-smooth);
}

/* Section 7: 8 Phases 3D Grid + Rhythm Pills */
.dca-rhythm-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--brand-brown);
}

.dca-rhythm-pills span {
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--brand-ivory);
  border: 1.5px solid var(--gold-1);
}

.dca-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.dca-phase-3d-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  transition: transform 240ms var(--ease-smooth), box-shadow 240ms ease;
}

.dca-phase-3d-card:hover {
  box-shadow: var(--shadow-lift);
}

.dca-phase-3d-card--gold {
  background: var(--brand-brown);
  border-color: var(--gold-2);
  box-shadow: 0 14px 32px rgba(122, 74, 29, 0.28);
}

.dca-method-callout {
  text-align: center;
  max-width: 780px;
  margin: 1.65rem auto 0;
  padding: 1.05rem 1.35rem;
  border-radius: 18px;
  background: rgba(241, 236, 228, 0.88);
  border: 1.5px dashed var(--gold-1);
}

.dca-bonus-feature-card {
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease-smooth);
}

/* Payment Badges inside Checkout */
.dca-payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pay-chip {
  padding: 0.18rem 0.52rem;
  border-radius: 7px;
  background: var(--brand-desert);
  color: var(--brand-brown);
  border: 1px solid var(--gold-1);
  font-size: 0.7rem;
}

/* Section 13: Try-Before-You-Buy Free Guide Bridge */
.dca-free-bridge-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.65rem 1.85rem;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand-ivory) 0%, var(--brand-desert) 100%);
  border: 2px solid var(--gold-1);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .dca-phases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dca-preview-rooms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .dca-who-grid,
  .dca-streams-2col,
  .dca-founder-split,
  .dca-phases-grid { grid-template-columns: 1fr; }
  .dca-founder-polaroid { transform: none; max-width: 310px; margin: 0 auto; }
}

body.is-mobile-preview .dca-who-grid,
body.is-mobile-preview .dca-streams-2col,
body.is-mobile-preview .dca-founder-split,
body.is-mobile-preview .dca-preview-rooms-grid,
body.is-mobile-preview .dca-phases-grid {
  grid-template-columns: 1fr !important;
  gap: 0.9rem !important;
}

body.is-mobile-preview .dca-founder-polaroid { transform: none !important; max-width: 280px !important; margin: 0 auto !important; }
body.is-mobile-preview .dca-free-bridge-card { padding: 1.2rem !important; }

/* ============================================================================
   DCA 3 LOW-SCROLL, SCROLL-ANIMATED + STICKY-NOTE LOOKS (?dlook=1 | 2 | 3)
   100% Brand Palette Only · Zero Clutter · Tactile Pinned Sticky Notes
   ============================================================================ */

/* Scroll-Triggered Spring Pop-In Choreography */
.scroll-pop {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-pop.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Tactile Hand-Pinned Sticky Note (Gold/Desert Paper + Tape Strip + Handwritten Font!) */
.casa-sticky-note {
  position: relative;
  background: linear-gradient(155deg, #ffe9ad 0%, #f5cf7d 100%);
  color: var(--brand-brown);
  border: 1.5px solid var(--gold-5);
  border-radius: 4px 16px 16px 16px;
  padding: 0.9rem 1.05rem 0.95rem;
  max-width: 255px;
  box-shadow: 0 12px 24px rgba(122, 74, 29, 0.22), inset 0 -10px 18px rgba(172, 112, 49, 0.14);
}

.casa-sticky-note--right { transform: rotate(2.4deg); }
.casa-sticky-note--left { transform: rotate(-2.4deg); }
.casa-sticky-note.is-in.casa-sticky-note--right { transform: rotate(2.4deg); }
.casa-sticky-note.is-in.casa-sticky-note--left { transform: rotate(-2.4deg); }

.casa-sticky-note:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.03) !important;
}

.sticky-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 58px;
  height: 18px;
  background: rgba(241, 236, 228, 0.78);
  border: 1px solid rgba(122, 74, 29, 0.2);
  border-radius: 3px;
}

.sticky-kicker {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.15rem;
}

.sticky-hand {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
  color: var(--brand-brown);
}

/* LOOK 1: Sticky-Note Atelier */
.sn-hero-section { padding: 2rem 0 2.25rem; }

.sn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.sn-hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sn-polaroid-stage {
  width: 100%;
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  border-radius: 22px;
  padding: 0.65rem;
  box-shadow: 0 18px 38px rgba(122, 74, 29, 0.2);
}

.sn-polaroid-stage img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.sn-hero-visual-col .casa-sticky-note {
  margin-top: -28px;
  margin-right: 12px;
  z-index: 3;
}

.sn-board-wrap,
.sn-studio-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.sn-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.sn-tab-pill {
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(122, 74, 29, 0.24);
  background: var(--brand-desert);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.sn-tab-pill.is-active {
  background: var(--brand-brown);
  color: var(--gold-2);
  border-color: var(--gold-1);
}

.sn-pane { display: none; }
.sn-pane.is-active { display: block; }

.sn-pane-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.sn-clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.94rem;
}

.sn-diff-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.9rem;
}

.sn-diff-grid li,
.sn-diff-grid div {
  background: rgba(221, 202, 178, 0.35);
  border: 1px solid rgba(231, 170, 81, 0.5);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
}

.sn-cas-compact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
}

.sn-cas-thumb {
  width: 112px;
  height: 112px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 22%;
  border: 2px solid var(--gold-1);
}

.sn-dual-studio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: start;
}

.sn-mini-switch {
  display: inline-flex;
  background: var(--brand-desert);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-1);
}

.sn-mini-btn {
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
}

.sn-mini-btn.is-active {
  background: var(--brand-brown);
  color: var(--gold-2);
}

.sn-stream-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(122, 74, 29, 0.18);
}

.sn-stream-row > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  font-family: var(--font-title);
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sn-stream-row strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.sn-stream-row small { display: block; font-size: 0.77rem; color: var(--text-muted); }

.sn-phase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.sn-phase-chip {
  padding: 0.32rem 0.62rem;
  border-radius: 10px;
  border: 1.5px solid rgba(122, 74, 29, 0.22);
  background: var(--brand-desert);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
}

.sn-phase-chip.is-active {
  background: var(--brand-brown);
  color: var(--gold-2);
  border-color: var(--gold-1);
}

.sn-phase-chip--gold {
  background: var(--gradient-gold-button);
  border-color: var(--gold-5);
}

.sn-phase-box {
  background: rgba(221, 202, 178, 0.32);
  border: 1.5px solid rgba(231, 170, 81, 0.55);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.sn-mini-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.sn-mini-room {
  background: var(--brand-desert);
  border: 1.5px solid var(--gold-1);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 0.45rem;
  text-align: center;
}

.sn-mini-room img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; margin-bottom: 0.35rem; }
.sn-mini-room strong { display: block; font-size: 0.78rem; padding: 0 0.35rem; }
.sn-mini-room small { display: block; font-size: 0.7rem; color: var(--text-muted); padding: 0 0.35rem; }

.sn-bonus-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.sn-bonus-mini {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(221, 202, 178, 0.45);
  border: 1.5px solid var(--gold-1);
  border-radius: 16px;
  padding: 0.85rem;
  font-size: 0.84rem;
}

.sn-bonus-mini--brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

/* LOOK 2: STICKY-STACKING SCROLL CHAPTERS (LAYERS AS YOU SCROLL!) */
.stack-deck-section { padding: 2rem 0 3rem; }
.stack-deck-container { max-width: 820px; display: flex; flex-direction: column; gap: 1.75rem; }

.stack-chapter-card {
  position: sticky;
  top: 78px;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: 0 -6px 26px rgba(122, 74, 29, 0.14), 0 18px 36px rgba(122, 74, 29, 0.18);
}

.stack-c1 { top: 74px; z-index: 1; }
.stack-c2 { top: 92px; z-index: 2; }
.stack-c3 { top: 110px; z-index: 3; }
.stack-c4 { top: 128px; z-index: 4; }

.stack-chapter-card--brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

.stack-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stack-stream-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stack-s-chip {
  font-size: 0.82rem;
  padding: 0.36rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(241, 236, 228, 0.14);
  border: 1px solid rgba(255, 228, 153, 0.45);
  color: var(--brand-ivory);
}

.stack-s-chip--ivory {
  background: var(--brand-desert);
  color: var(--brand-brown);
  border-color: var(--gold-1);
}

.stack-phases-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.stack-p-row {
  background: rgba(221, 202, 178, 0.34);
  border: 1px solid rgba(231, 170, 81, 0.5);
  border-radius: 13px;
  padding: 0.65rem 0.8rem;
  font-size: 0.84rem;
}

.stack-p-row strong { display: block; margin-bottom: 0.12rem; }
.stack-p-row span { color: var(--text-muted); font-size: 0.79rem; }

/* LOOK 3: GUIDED STUDIO CONSOLE */
.guided-studio-shell {
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.guided-nav-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
  background: var(--brand-brown);
  padding: 0.55rem;
  border-bottom: 2px solid var(--gold-1);
}

.guided-tab {
  padding: 0.55rem 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 228, 153, 0.24);
  background: rgba(241, 236, 228, 0.1);
  color: var(--brand-ivory);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.guided-tab.is-active {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--brand-ivory);
}

.guided-viewport { padding: 1.4rem; }

/* MOBILE PERFECTION (<= 820px & 390px Previewer) */
@media (max-width: 820px) {
  .sn-hero-grid,
  .sn-pane-split,
  .sn-diff-grid,
  .sn-dual-studio,
  .sn-mini-rooms,
  .sn-bonus-pair,
  .stack-phases-2col { grid-template-columns: 1fr; }
  .guided-nav-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sn-cas-compact { grid-template-columns: 1fr; }
  .sn-cas-thumb { width: 88px; height: 88px; }
}

body.is-mobile-preview .sn-hero-grid,
body.is-mobile-preview .sn-pane-split,
body.is-mobile-preview .sn-diff-grid,
body.is-mobile-preview .sn-dual-studio,
body.is-mobile-preview .sn-mini-rooms,
body.is-mobile-preview .sn-bonus-pair,
body.is-mobile-preview .stack-phases-2col,
body.is-mobile-preview .sn-cas-compact {
  grid-template-columns: 1fr !important;
  gap: 0.85rem !important;
}

body.is-mobile-preview .guided-nav-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.is-mobile-preview .sn-board-wrap,
body.is-mobile-preview .sn-studio-card,
body.is-mobile-preview .stack-chapter-card,
body.is-mobile-preview .guided-viewport { padding: 1rem !important; }
body.is-mobile-preview .casa-sticky-note { max-width: 100% !important; margin: 0.65rem 0 0 !important; }
body.is-mobile-preview .sn-cas-thumb { width: 80px !important; height: 80px !important; }

/* ============================================================================
   UPGRADED LOOK 2: LEFT<->RIGHT SCROLL CHOREOGRAPHY + 3D STICKY NOTES + SVG ICONS
   ============================================================================ */

/* Directional Left & Right Scroll Choreography inside Every Stacked Card */
.anim-item {
  opacity: 0;
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0ms),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0ms);
}

.anim-from-left {
  transform: translate3d(-34px, 10px, 0);
}

.anim-from-right {
  transform: translate3d(34px, 10px, 0);
}

.anim-item.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Luxury 3D Curled-Corner Parchment Sticky Note (Pushpin + Curled Peel Shadow!) */
.luxe-sticky {
  position: relative;
  max-width: 245px;
  padding: 0.85rem 1.05rem 0.9rem;
  border-radius: 3px 14px 3px 14px;
  background: linear-gradient(148deg, #fff5d9 0%, #f6d78e 58%, #e9b95e 100%);
  color: var(--brand-brown);
  border: 1.5px solid var(--gold-5);
  box-shadow:
    0 14px 26px -10px rgba(122, 74, 29, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.luxe-sticky::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(315deg, rgba(122, 74, 29, 0.24) 45%, rgba(255, 245, 217, 0.9) 52%);
  border-radius: 6px 0 3px 0;
  pointer-events: none;
}

.luxe-sticky--right.is-in { transform: rotate(2.2deg); }
.luxe-sticky--left.is-in { transform: rotate(-2.2deg); }

.luxe-sticky-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff5d9, var(--gold-1) 55%, var(--brand-brown) 100%);
  border: 1.5px solid var(--brand-brown);
  box-shadow: 0 3px 6px rgba(122, 74, 29, 0.42);
}

.luxe-sticky-kicker {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-brown);
  opacity: 0.78;
  margin-bottom: 0.15rem;
}

.luxe-sticky-text {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.22;
  color: var(--brand-brown);
}

/* 3D/4D Enhancements on the Stacking Cards */
.stack-3d-card {
  overflow: hidden;
}

.stack-4d-luxe {
  box-shadow:
    0 0 0 2px var(--gold-2),
    0 20px 44px rgba(122, 74, 29, 0.34);
}

.stack-who-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.stack-who-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(221, 202, 178, 0.36);
  border: 1.5px solid rgba(231, 170, 81, 0.55);
  border-radius: 15px;
  padding: 0.78rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.sw-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Custom Brand-Gold SVG Icon Grid for All 10 Income Streams */
.stack-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.stream-icon-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.68rem 0.85rem;
  border-radius: 16px;
  background: rgba(241, 236, 228, 0.11);
  border: 1.5px solid rgba(255, 228, 153, 0.34);
  color: var(--brand-ivory);
  transition: transform 240ms var(--ease-smooth), background 240ms ease, border-color 240ms ease;
}

.stream-icon-card:hover {
  background: rgba(255, 228, 153, 0.18);
  border-color: var(--gold-2);
  transform: translateY(-2px);
}

.stream-icon-medallion {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border: 1.5px solid var(--brand-ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.stream-svg-icon {
  width: 20px;
  height: 20px;
}

.stream-icon-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-ivory);
  line-height: 1.18;
}

.stream-icon-card small {
  display: block;
  font-size: 0.74rem;
  color: var(--brand-desert);
  margin-top: 0.1rem;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-brown);
  color: var(--gold-2);
  font-size: 0.72rem;
  margin-right: 0.35rem;
}

@media (max-width: 780px) {
  .stack-who-list,
  .stack-icons-grid { grid-template-columns: 1fr; }
}

body.is-mobile-preview .stack-who-list,
body.is-mobile-preview .stack-icons-grid {
  grid-template-columns: 1fr !important;
  gap: 0.55rem !important;
}

body.is-mobile-preview .luxe-sticky {
  max-width: 100% !important;
  margin-top: 0.45rem !important;
}

body.is-mobile-preview .stream-icon-medallion {
  width: 34px !important;
  height: 34px !important;
}

/* ============================================================================
   BALANCED, HIGH-CONTRAST DCA LOOKS (?dlook=1 | 2 | 3)
   Unmistakable Left -> Right & Right -> Left Scroll Glides · Zero Overlap
   ============================================================================ */
.glide-left,
.glide-right {
  opacity: 0;
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0ms),
    transform 840ms cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0ms);
  will-change: transform, opacity;
}

.glide-left { transform: translate3d(-68px, 0, 0); }
.glide-right { transform: translate3d(68px, 0, 0); }

.glide-left.is-shown,
.glide-right.is-shown {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.luxe-sticky--right.is-shown { transform: rotate(2.2deg); }
.luxe-sticky--left.is-shown { transform: rotate(-2.2deg); }

/* Balanced Ivory/Desert Layout Primitives */
.bal-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: center;
}

.bal-side-center {
  display: flex;
  justify-content: center;
}

.bal-clean-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--brand-brown);
}

.bal-streams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.bal-stream-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: var(--brand-ivory);
  border: 1.5px solid var(--gold-1);
  color: var(--brand-brown);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms var(--ease-smooth), box-shadow 220ms ease;
}

.bal-stream-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.bal-stream-pill strong { font-size: 0.96rem; }

.bal-icon-dot {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--brand-brown);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bal-icon-dot--lg {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.bal-panel-shell {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.bal-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.bal-phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.bal-phase-card {
  background: rgba(221, 202, 178, 0.32);
  border: 1.5px solid rgba(231, 170, 81, 0.55);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.bal-phase-card span {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-3);
  margin-bottom: 0.2rem;
}

.bal-phase-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.bal-phase-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Balanced Ivory "What You Get" Card (High-Contrast Easy Reading!) */
.bal-what-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.bal-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bal-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--brand-brown);
}

.bal-check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.bal-price-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1.5px dashed var(--gold-1);
  color: var(--brand-brown);
}

.bal-price-strip strong { font-size: 1.6rem; }

/* LOOK 2: SUNLIT MAGAZINE SWIPE RAILS */
.bal-hero-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bal-hero-frame > img {
  width: 100%;
  border-radius: 24px;
  border: 2.5px solid var(--gold-1);
  box-shadow: var(--shadow-lift);
}

.bal-hero-frame .luxe-sticky {
  margin-top: -26px;
  margin-right: 12px;
  z-index: 3;
}

.mag-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.mag-rail-btns { display: flex; gap: 0.45rem; flex-shrink: 0; }

.mag-rail {
  display: flex;
  gap: 0.95rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.15rem 0.85rem;
  -webkit-overflow-scrolling: touch;
}

.mag-stream-card,
.mag-phase-card {
  flex: 0 0 245px;
  scroll-snap-align: start;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 22px;
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
}

.mag-phase-card--img { padding: 0.75rem; }
.mag-phase-card--img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; display: block; }

.mag-story-strip {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  background: var(--brand-desert);
  border: 2px solid var(--gold-1);
  border-radius: 24px;
  padding: 1.25rem;
}

/* LOOK 3: INTERACTIVE TAP-TO-REVEAL ICON STUDIO */
.tap-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.tap-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-radius: 18px;
  background: rgba(221, 202, 178, 0.32);
  border: 1.5px solid rgba(122, 74, 29, 0.2);
  color: var(--brand-brown);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.tap-icon-btn.is-active,
.tap-icon-btn:hover {
  background: var(--gradient-gold-button);
  border-color: var(--brand-brown);
  transform: translateY(-2px);
}

.tap-detail-stage {
  background: var(--brand-desert);
  border: 1.5px solid var(--gold-1);
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  font-size: 0.96rem;
  color: var(--brand-brown);
}

.tap-phase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

@media (max-width: 820px) {
  .bal-split,
  .bal-streams-grid,
  .bal-phase-grid,
  .mag-story-strip { grid-template-columns: 1fr; }
  .tap-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.is-mobile-preview .bal-split,
body.is-mobile-preview .bal-streams-grid,
body.is-mobile-preview .bal-phase-grid,
body.is-mobile-preview .mag-story-strip {
  grid-template-columns: 1fr !important;
  gap: 0.9rem !important;
}

body.is-mobile-preview .tap-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.is-mobile-preview .bal-panel-shell,
body.is-mobile-preview .bal-what-card { padding: 1.1rem !important; }
body.is-mobile-preview .mag-stream-card,
body.is-mobile-preview .mag-phase-card { flex: 0 0 228px !important; }

/* ============================================================================
   PERFECTED STICKY-STACKING CARDS (LOOK 1 · LOOK 2 · LOOK 3 — ZERO CUTOFF!)
   ============================================================================ */
.pstack-section {
  padding: 2.25rem 0 3.25rem;
}

.pstack-container {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.pstack-card {
  position: sticky;
  top: 76px;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.45rem 1.6rem;
  box-shadow: 0 -10px 30px rgba(122, 74, 29, 0.1), 0 18px 36px rgba(122, 74, 29, 0.16);
  overflow: hidden;
}

.pstack-card--desert {
  background: linear-gradient(155deg, #efe4d5 0%, var(--brand-desert) 100%);
}

.pstack-1 { top: 72px; z-index: 1; }
.pstack-2 { top: 88px; z-index: 2; }
.pstack-3 { top: 104px; z-index: 3; }
.pstack-4 { top: 120px; z-index: 4; }

.pstack-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.pstack-2col,
.pstack-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.pstack-chip {
  background: rgba(221, 202, 178, 0.36);
  border: 1.5px solid rgba(231, 170, 81, 0.55);
  border-radius: 14px;
  padding: 0.72rem 0.9rem;
  font-size: 0.9rem;
  color: var(--brand-brown);
}

.pstack-chip--brown {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  border-color: var(--gold-2);
}

.pstack-icon-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--brand-ivory);
  border: 1.5px solid var(--gold-1);
  border-radius: 15px;
  padding: 0.58rem 0.8rem;
  color: var(--brand-brown);
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(122, 74, 29, 0.08);
}

.pstack-dot-sm {
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
}

.pstack-dot-sm .stream-svg-icon {
  width: 16px;
  height: 16px;
}

.pstack-phase {
  background: rgba(241, 236, 228, 0.85);
  border: 1.5px solid rgba(231, 170, 81, 0.55);
  border-radius: 14px;
  padding: 0.72rem 0.85rem;
}

.pstack-phase strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
  color: var(--brand-brown);
}

.pstack-phase span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* LOOK 3: CINEMATIC SPLIT-STICKY LAYOUT */
.split-sticky-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.split-sticky-left {
  position: sticky;
  top: 84px;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.split-sticky-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.split-sticky-right .pstack-card {
  position: relative;
  top: auto;
}

@media (max-width: 860px) {
  .split-sticky-layout { grid-template-columns: 1fr; }
  .split-sticky-left { position: static; }
  .pstack-2col,
  .pstack-icons-grid { grid-template-columns: 1fr; }
  .pstack-container { gap: 2rem; }
  .pstack-card { position: relative; top: auto !important; padding: 1.15rem; }
}

body.is-mobile-preview .split-sticky-layout,
body.is-mobile-preview .pstack-2col,
body.is-mobile-preview .pstack-icons-grid {
  grid-template-columns: 1fr !important;
  gap: 0.65rem !important;
}

body.is-mobile-preview .split-sticky-left { position: static !important; padding: 1.1rem !important; }
body.is-mobile-preview .pstack-container { gap: 1.65rem !important; }
body.is-mobile-preview .pstack-card { position: relative !important; top: auto !important; padding: 1.05rem !important; }

/* ============================================================================
   AWWWARDS 3D SCROLL-PHYSICS STACKING LOOKS (?dlook=1 | 2 | 3)
   Active Sticky Stacking on BOTH Desktop & 390px Mobile · Zero Cutoffs!
   ============================================================================ */
.aw-stack-section {
  padding: 2.25rem 0 4rem;
}

.aw-stack-wrap {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}

/* Shared 3D Sticky Positioning (Works on Web AND Mobile!) */
.aw-arch-card,
.aw-slab-card,
.aw-folder-card {
  position: sticky;
  transform-origin: top center;
  will-change: transform, filter;
  transition: box-shadow 260ms ease;
}

.aw-top-1 { top: 72px; z-index: 1; }
.aw-top-2 { top: 92px; z-index: 2; }
.aw-top-3 { top: 112px; z-index: 3; }
.aw-top-4 { top: 132px; z-index: 4; }

/* LOOK 1: 3D RECEDING ARCHITECTURAL ARCH-FOLIO STACK */
.aw-arch-card {
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-1);
  border-radius: 56px 56px 26px 26px;
  padding: 1.6rem 1.75rem;
  box-shadow:
    inset 0 0 0 6px rgba(231, 170, 81, 0.14),
    0 -10px 28px rgba(122, 74, 29, 0.12),
    0 22px 44px rgba(122, 74, 29, 0.2);
  overflow: hidden;
}

.aw-arch-card--sand {
  background: linear-gradient(155deg, #f3e9db 0%, var(--brand-desert) 100%);
}

.aw-watermark {
  position: absolute;
  top: -12px;
  right: 22px;
  font-family: var(--font-title);
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(122, 74, 29, 0.07);
  pointer-events: none;
  user-select: none;
}

/* LOOK 2: LIQUID-GOLD SCROLL-PROGRESS SLABS */
.aw-slab-card {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 26px;
  padding: 1.55rem 1.7rem;
  box-shadow: 0 -10px 26px rgba(122, 74, 29, 0.12), 0 22px 44px rgba(122, 74, 29, 0.2);
  overflow: hidden;
}

.aw-slab-card--sand {
  background: linear-gradient(155deg, #f2e8da 0%, var(--brand-desert) 100%);
}

.aw-slab-card--espresso {
  background: linear-gradient(155deg, #683d16 0%, var(--brand-brown) 100%);
  border-color: var(--gold-2);
}

.aw-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: rgba(122, 74, 29, 0.12);
}

.aw-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2), var(--gold-5));
  transition: width 80ms linear;
}

/* LOOK 3: PHYSICAL BRASS-TABBED PORTFOLIO FOLDERS! */
.aw-folder-card {
  padding-top: 34px;
}

.aw-folder-tab {
  position: absolute;
  top: 0;
  height: 36px;
  padding: 0 1.15rem;
  border-radius: 16px 16px 0 0;
  background: var(--brand-brown);
  color: var(--gold-2);
  border: 2px solid var(--gold-1);
  border-bottom: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 -4px 12px rgba(122, 74, 29, 0.16);
  transition: background 200ms ease, color 200ms ease;
}

.aw-folder-tab:hover {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
}

.ft-1 { left: 20px; }
.ft-2 { left: 165px; }
.ft-3 { left: 315px; }
.ft-4 { left: 445px; }

.aw-folder-body {
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  border-radius: 0 24px 24px 24px;
  padding: 1.45rem 1.6rem;
  box-shadow: 0 -6px 24px rgba(122, 74, 29, 0.12), 0 20px 42px rgba(122, 74, 29, 0.2);
}

.aw-folder-card--sand .aw-folder-body {
  background: linear-gradient(155deg, #f3e9db 0%, var(--brand-desert) 100%);
}

/* Mobile 390px: KEEP REAL 3D STICKY STACKING ACTIVE & COMPACT! */
@media (max-width: 780px) {
  .aw-stack-wrap { gap: 3.75rem; }
  .aw-top-1 { top: 64px; }
  .aw-top-2 { top: 76px; }
  .aw-top-3 { top: 88px; }
  .aw-top-4 { top: 100px; }
  .aw-arch-card { border-radius: 36px 36px 20px 20px; padding: 1.15rem; }
  .aw-slab-card { padding: 1.15rem; }
  .aw-folder-body { padding: 1.1rem; }
  .aw-folder-tab { font-size: 0.7rem; padding: 0 0.65rem; height: 32px; }
  .aw-folder-card { padding-top: 30px; }
  .ft-1 { left: 10px; }
  .ft-2 { left: 96px; }
  .ft-3 { left: 186px; }
  .ft-4 { left: 266px; }
}

body.is-mobile-preview .aw-stack-wrap { gap: 3.5rem !important; }
body.is-mobile-preview .aw-top-1 { top: 64px !important; }
body.is-mobile-preview .aw-top-2 { top: 76px !important; }
body.is-mobile-preview .aw-top-3 { top: 88px !important; }
body.is-mobile-preview .aw-top-4 { top: 100px !important; }
body.is-mobile-preview .aw-arch-card { border-radius: 34px 34px 18px 18px !important; padding: 1.05rem !important; }
body.is-mobile-preview .aw-slab-card { padding: 1.05rem !important; }
body.is-mobile-preview .aw-folder-card { padding-top: 30px !important; }
body.is-mobile-preview .aw-folder-body { padding: 1rem !important; }
body.is-mobile-preview .aw-folder-tab { font-size: 0.66rem !important; padding: 0 0.55rem !important; height: 32px !important; }
body.is-mobile-preview .ft-1 { left: 6px !important; }
body.is-mobile-preview .ft-2 { left: 86px !important; }
body.is-mobile-preview .ft-3 { left: 172px !important; }
body.is-mobile-preview .ft-4 { left: 248px !important; }

/* ============================================================================
   3 ICONIC "HOW DID SHE BUILD THIS?!" DCA EXPERIENCES (?dlook=1 | 2 | 3)
   ============================================================================ */

/* LOOK 1: REAL 3D PAGE-TURNING HARDCOVER BOOK */
.book3d-studio-section {
  padding: 2rem 0 3rem;
}

.book-bookmarks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.book-mark {
  padding: 0.42rem 0.9rem;
  border-radius: 12px 12px 4px 4px;
  background: var(--brand-desert);
  border: 1.5px solid var(--gold-1);
  color: var(--brand-brown);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 220ms var(--ease-smooth);
}

.book-mark.is-active,
.book-mark:hover {
  background: var(--brand-brown);
  color: var(--gold-2);
  transform: translateY(-2px);
}

.book3d-stage {
  position: relative;
  max-width: 760px;
  height: 465px;
  margin: 0 auto 1.25rem;
  perspective: 1800px;
}

.book3d-spine {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -10px;
  width: 22px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(90deg, #47270a, var(--brand-brown), var(--gold-3));
  box-shadow: -6px 10px 24px rgba(122, 74, 29, 0.34);
  z-index: 30;
}

.book-page {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  border-radius: 6px 26px 26px 6px;
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1), opacity 450ms ease;
  box-shadow: 0 18px 42px rgba(122, 74, 29, 0.22);
  overflow-y: auto;
}

.book-page.is-turned {
  transform: rotateY(-135deg);
  opacity: 0;
  pointer-events: none;
}

.book-cover {
  background: linear-gradient(155deg, #6b3f17 0%, var(--brand-brown) 60%, #4d2a0c 100%);
  border: 3px solid var(--gold-2);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-foil-border {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 228, 153, 0.65);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.book-cover-crest {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.65rem;
}

.book-cover-title {
  color: var(--brand-ivory);
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  margin: 0.45rem 0 0.25rem;
}

.book-paper {
  background: linear-gradient(90deg, #e7dccb 0%, var(--brand-ivory) 5%, var(--brand-ivory) 100%);
  border: 2px solid var(--gold-1);
  padding: 1.45rem 1.7rem;
}

.book-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  background: var(--brand-brown);
  border: 2px solid var(--gold-1);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.5rem;
}

.book-page-status {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.84rem;
}

/* LOOK 2: SPINNING BRASS VAULT + TWIN SLIDING VAULT DOORS */
.vault-studio-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.vault-dial-col { display: flex; justify-content: center; }

.vault-dial-shell {
  position: relative;
  width: 266px;
  height: 266px;
  border-radius: 50%;
  background: radial-gradient(circle, #6c4017 30%, #48270a 100%);
  border: 3px solid var(--gold-2);
  box-shadow: 0 0 0 8px rgba(255, 228, 153, 0.12), 0 20px 44px rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-dial-ring {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 3px dashed var(--gold-2);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.vault-dial-ring::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 12px var(--gold-2);
}

.vault-center-crest {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--brand-brown);
  border: 2px solid var(--gold-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
  z-index: 2;
}

.vault-center-crest img { width: 42px; height: 42px; object-fit: contain; }
.vault-center-crest strong { font-family: var(--font-title); font-size: 1.05rem; }

.vault-key {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  color: var(--brand-brown);
  font-family: var(--font-title);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 240ms var(--ease-smooth);
}

.vault-key small { font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; }

.vault-key.is-active,
.vault-key:hover {
  background: var(--gradient-gold-button);
  border-color: var(--brand-ivory);
  transform: scale(1.1);
}

.vk-1 { top: -16px; left: 50%; margin-left: -34px; }
.vk-2 { right: -16px; top: 50%; margin-top: -34px; }
.vk-3 { bottom: -16px; left: 50%; margin-left: -34px; }
.vk-4 { left: -16px; top: 50%; margin-top: -34px; }

.vault-chamber-stage {
  position: relative;
  min-height: 360px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--brand-ivory);
  border: 2.5px solid var(--gold-2);
  padding: 1.5rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
}

.vault-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: linear-gradient(155deg, #6d4118, var(--brand-brown));
  border: 2px solid var(--gold-2);
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
  font-size: 2rem;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.vault-door-l { left: 0; transform: translateX(-105%); }
.vault-door-r { right: 0; transform: translateX(105%); }
.vault-door-l.is-closed,
.vault-door-r.is-closed { transform: translateX(0); }

.vault-chamber { display: none; }
.vault-chamber.is-active { display: block; }

/* LOOK 3: REAL DRAGGABLE "STUCK -> STARTED" GOLDEN CURTAIN SLIDER */
.curtain-stage {
  position: relative;
  height: 290px;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 2.5px solid var(--gold-1);
  box-shadow: 0 22px 46px rgba(122, 74, 29, 0.24);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.curtain-layer {
  position: absolute;
  inset: 0;
  padding: 1.85rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.curtain-before {
  background: linear-gradient(155deg, var(--brand-ivory) 0%, var(--brand-desert) 100%);
  color: var(--brand-brown);
}

.curtain-after {
  background: linear-gradient(145deg, #693e16 0%, var(--brand-brown) 65%, #4a290c 100%);
  color: var(--brand-ivory);
  clip-path: inset(0 45% 0 0);
}

.curtain-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 4px;
  background: var(--gold-2);
  box-shadow: 0 0 18px rgba(255, 228, 153, 0.9);
  z-index: 6;
  pointer-events: none;
}

.curtain-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border: 2.5px solid var(--brand-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* MOBILE PERFECTION FOR ALL 3 ICONIC EXPERIENCES */
@media (max-width: 820px) {
  .book3d-stage { height: 500px; }
  .book-paper { padding: 1.05rem; }
  .vault-studio-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .vault-dial-shell { width: 224px; height: 224px; margin: 14px 0; }
  .vault-key { width: 58px; height: 58px; font-size: 0.82rem; }
  .vk-1, .vk-3 { margin-left: -29px; }
  .vk-2, .vk-4 { margin-top: -29px; }
  .curtain-stage { height: 310px; }
  .curtain-layer { padding: 1.15rem; }
}

body.is-mobile-preview .book3d-stage { height: 480px !important; }
body.is-mobile-preview .book-paper { padding: 1rem !important; }
body.is-mobile-preview .book-mark { font-size: 0.72rem !important; padding: 0.34rem 0.62rem !important; }
body.is-mobile-preview .vault-studio-grid { grid-template-columns: 1fr !important; gap: 1.35rem !important; }
body.is-mobile-preview .vault-dial-shell { width: 214px !important; height: 214px !important; margin: 12px 0 !important; }
body.is-mobile-preview .vault-key { width: 56px !important; height: 56px !important; font-size: 0.78rem !important; }
body.is-mobile-preview .vk-1, body.is-mobile-preview .vk-3 { margin-left: -28px !important; }
body.is-mobile-preview .vk-2, body.is-mobile-preview .vk-4 { margin-top: -28px !important; }
body.is-mobile-preview .vault-chamber-stage { padding: 1rem !important; }
body.is-mobile-preview .curtain-stage { height: 295px !important; }
body.is-mobile-preview .curtain-layer { padding: 1rem !important; }



/* ============================================================
   Updated Branded Footer (Explore + Connect + Legal)
   ============================================================ */
.footer-tagline-line {
  margin-top: -0.15rem;
}
.footer-group-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0.15rem 0;
}
.footer-group-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.footer-connect-row {
  font-size: 0.9rem;
  color: var(--brand-ivory);
}
.footer-copyright-line {
  font-size: 0.84rem;
  color: var(--brand-desert);
  margin-top: 0.25rem;
}

/* ============================================================
   Free Guide Opt-In Page Refinements (Web & Mobile)
   ============================================================ */
.fg-form-h2 {
  font-size: 1.48rem;
  margin-bottom: 0.35rem;
}
.fg-form-sub {
  margin-top: 0;
  font-size: 0.94rem;
}
.fg-consent-row {
  align-items: flex-start;
}
.fg-consent-text {
  font-size: 0.84rem;
  line-height: 1.48;
  display: block;
}

@media (max-width: 768px) {
  .fg-one-line {
    font-size: 0.78rem !important;
    white-space: nowrap;
    letter-spacing: -0.015em;
  }
  .fg-form-h2 {
    font-size: 1.06rem !important;
    white-space: nowrap;
  }
  .fg-form-sub {
    font-size: 0.8rem !important;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
  .fg-consent-text {
    font-size: 0.72rem !important;
    line-height: 1.44;
  }
  .footer-tagline-line {
    font-size: 0.82rem !important;
  }
}

body.is-mobile-preview .fg-one-line {
  font-size: 0.77rem !important;
  white-space: nowrap;
  letter-spacing: -0.015em;
}
body.is-mobile-preview .fg-form-h2 {
  font-size: 1.04rem !important;
  white-space: nowrap;
}
body.is-mobile-preview .fg-form-sub {
  font-size: 0.78rem !important;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
body.is-mobile-preview .fg-consent-text {
  font-size: 0.7rem !important;
  line-height: 1.42;
}
body.is-mobile-preview .footer-tagline-line {
  font-size: 0.82rem !important;
}

/* Local Preview Pop-Up Design Picker */
.fg-popup-picker {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(122, 74, 29, 0.28);
}
.fg-picker-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-brown);
  margin-bottom: 0.55rem;
}
.fg-picker-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.fg-pick-btn {
  border: 1.5px solid rgba(122, 74, 29, 0.35);
  background: var(--brand-ivory);
  color: var(--brand-brown);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms ease;
}
.fg-pick-btn:hover,
.fg-pick-btn.is-active {
  background: var(--gradient-gold-button);
  border-color: var(--gold-1);
  color: #2b1707;
}

/* ============================================================
   Free Guide Confirmation Pop-Up (3 Branded Interactive Options)
   ============================================================ */
.fg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem;
  background: rgba(43, 23, 7, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.fg-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.fg-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 26px;
  text-align: center;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}
.fg-modal-backdrop.is-open .fg-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.fg-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 74, 29, 0.25);
  background: rgba(241, 236, 228, 0.88);
  color: var(--brand-brown);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: grid;
  place-items: center;
  transition: transform 180ms ease, border-color 180ms ease;
}
.fg-modal-close:hover {
  transform: scale(1.08);
  border-color: var(--gold-1);
}
.fg-modal-switcher {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(43, 23, 7, 0.12);
  margin: 14px auto 0;
}
.fg-sw-pill {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.75;
}
.fg-sw-pill.is-active {
  background: var(--gradient-gold-button);
  color: #2b1707;
  opacity: 1;
}
.fg-modal-emblem {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-gold-button);
  color: #2b1707;
  box-shadow: 0 10px 26px rgba(231, 170, 81, 0.42);
}
.fg-modal-title {
  font-family: var(--font-title);
  font-size: clamp(1.32rem, 3.4vw, 1.62rem);
  line-height: 1.22;
  margin: 0;
}
.fg-modal-p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.58;
  margin: 0.85rem 0 0.75rem;
}
.fg-modal-bold {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0.2rem 0 0.35rem;
}
.fg-modal-grace {
  font-family: var(--font-accent);
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0;
}
.fg-modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.1rem 0 1rem;
}
.fg-modal-divider::before,
.fg-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-1), transparent);
}
.fg-modal-divider span {
  color: var(--gold-1);
  font-size: 0.95rem;
}
.fg-modal-more-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.fg-modal-more-sub {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}
.fg-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.fg-btn-main {
  width: 100%;
  justify-content: center;
}
.fg-modal-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.fg-btn-sec,
.fg-btn-done {
  width: 100%;
  justify-content: center;
}

/* OPTION 1: Sunlit Envelope Keepsake (Ivory & Gold Foil) */
.fg-style-1 {
  background: linear-gradient(180deg, #faf6ef 0%, #f1ece4 100%);
  color: var(--brand-brown);
  border: 2px solid var(--gold-1);
  box-shadow: 0 24px 60px rgba(43, 23, 7, 0.34), inset 0 0 0 6px rgba(221, 202, 178, 0.35);
  padding: 1.55rem 1.65rem 1.75rem;
}
.fg-style-1 .fg-modal-head {
  padding-top: 0.45rem;
}
.fg-style-1 .fg-modal-p,
.fg-style-1 .fg-modal-more-sub {
  color: rgba(122, 74, 29, 0.86);
}
.fg-style-1 .fg-modal-grace {
  color: var(--gold-5);
}

/* OPTION 2: Warm Espresso & Gold Lantern (Dark Luxe Editorial) */
.fg-style-2 {
  background: radial-gradient(circle at 50% 0%, rgba(231, 170, 81, 0.24), transparent 58%),
              linear-gradient(165deg, #3c220c 0%, #241305 100%);
  color: var(--brand-ivory);
  border: 2px solid var(--gold-1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  padding: 1.55rem 1.65rem 1.75rem;
}
.fg-style-2 .fg-modal-head {
  padding-top: 0.45rem;
}
.fg-style-2 .fg-modal-switcher {
  background: rgba(241, 236, 228, 0.12);
}
.fg-style-2 .fg-modal-close {
  background: rgba(241, 236, 228, 0.14);
  color: var(--brand-ivory);
  border-color: rgba(255, 228, 153, 0.35);
}
.fg-style-2 .fg-modal-title {
  background: var(--gradient-gold-button);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fg-style-2 .fg-modal-p,
.fg-style-2 .fg-modal-more-sub {
  color: var(--brand-desert);
}
.fg-style-2 .fg-modal-grace {
  color: var(--gold-2);
}
.fg-style-2 .fg-btn-sec,
.fg-style-2 .fg-btn-done {
  border-color: rgba(221, 202, 178, 0.45);
  color: var(--brand-ivory);
  background: rgba(241, 236, 228, 0.06);
}
.fg-style-2 .fg-btn-sec:hover,
.fg-style-2 .fg-btn-done:hover {
  border-color: var(--gold-2);
  background: rgba(231, 170, 81, 0.16);
}

/* OPTION 3: Split Arch Editorial Card (Desert Crest + Ivory Body) */
.fg-style-3 {
  background: var(--brand-ivory);
  color: var(--brand-brown);
  border: 2px solid var(--brand-brown);
  box-shadow: 0 24px 60px rgba(43, 23, 7, 0.36);
  overflow: hidden;
  padding: 0;
}
.fg-style-3 .fg-modal-head {
  background: linear-gradient(180deg, #e7d7c2 0%, #ddcab2 100%);
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 2px solid var(--gold-1);
}
.fg-style-3 .fg-modal-switcher {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  margin-bottom: -6px;
}
.fg-style-3 .fg-modal-body {
  padding: 1.2rem 1.55rem 1.6rem;
}
.fg-style-3 .fg-modal-more {
  background: rgba(221, 202, 178, 0.35);
  border: 1px solid rgba(122, 74, 29, 0.2);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}
.fg-style-3 .fg-modal-grace {
  color: var(--brand-brown);
}

@media (max-width: 520px) {
  .fg-style-1,
  .fg-style-2 {
    padding: 1.25rem 1.15rem 1.35rem;
  }
  .fg-style-3 .fg-modal-head {
    padding: 1.25rem 1.1rem 1.05rem;
  }
  .fg-style-3 .fg-modal-body {
    padding: 1rem 1.1rem 1.3rem;
  }
  .fg-modal-title {
    font-size: 1.22rem;
  }
  .fg-modal-p,
  .fg-modal-more-sub {
    font-size: 0.86rem;
  }
}


/* ============================================================
   Free Guide Back Cards Full-Height Fix + Option 2 Pop-Up Lines
   ============================================================ */
.guide-page-back-1,
.guide-page-back-2 {
  min-height: 215px !important;
  height: 215px;
}

.fg-modal-card {
  max-width: 580px;
}
.fg-line-1 {
  font-size: clamp(1.18rem, 2.5vw, 1.48rem);
  white-space: nowrap;
}
.fg-line-2 {
  font-size: 0.94rem;
  margin: 0.75rem 0 0.28rem;
}
.fg-pop-mob-br {
  display: none;
}
.fg-keep-together {
  white-space: nowrap;
}
.fg-line-3 {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}
.fg-line-4 {
  font-size: 0.96rem;
  margin: 0 0 0.3rem;
}
.fg-line-5 {
  font-size: 1.55rem;
  margin: 0;
}
.fg-line-6 {
  font-size: 0.98rem;
  margin: 0 0 0.3rem;
}
.fg-line-7 {
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .fg-style-2 {
    padding: 1.25rem 0.9rem 1.35rem;
  }
  .fg-line-1 {
    font-size: clamp(0.92rem, 4.1vw, 1.08rem);
    white-space: nowrap;
  }
  .fg-line-2 {
    font-size: 0.82rem;
  }
  .fg-pop-mob-br {
    display: block;
  }
  .fg-line-3 {
    font-size: 0.82rem;
    line-height: 1.4;
    white-space: normal;
    letter-spacing: -0.01em;
  }
  .fg-line-4 {
    font-size: 0.86rem;
  }
  .fg-line-5 {
    font-size: 1.38rem;
  }
  .fg-line-6 {
    font-size: 0.88rem;
  }
  .fg-line-7 {
    font-size: clamp(0.58rem, 2.48vw, 0.7rem);
    white-space: nowrap;
    letter-spacing: -0.02em;
  }
}

body.is-mobile-preview .fg-style-2 {
  max-width: 356px;
  padding: 1.2rem 0.8rem 1.3rem;
}
body.is-mobile-preview .fg-line-1 {
  font-size: 0.94rem;
  white-space: nowrap;
}
body.is-mobile-preview .fg-line-2 {
  font-size: 0.82rem;
}
body.is-mobile-preview .fg-line-3 {
  font-size: 0.56rem;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
body.is-mobile-preview .fg-line-4 {
  font-size: 0.86rem;
}
body.is-mobile-preview .fg-line-5 {
  font-size: 1.36rem;
}
body.is-mobile-preview .fg-line-6 {
  font-size: 0.88rem;
}
body.is-mobile-preview .fg-line-7 {
  font-size: 0.59rem;
  white-space: nowrap;
  letter-spacing: -0.02em;
}


/* ============================================================
   Footer Shining Gold Gradient Scripture + Handle
   ============================================================ */
.footer-scripture-glow {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 0.15rem 0 0.45rem;
  background: linear-gradient(135deg, #ffe499 0%, #e7aa51 35%, #fff0bd 60%, #e7aa51 85%, #ffe499 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 228, 153, 0.48)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  animation: casaGoldShimmer 6s ease-in-out infinite alternate;
}
.footer-mob-br {
  display: none;
}
.footer-ig-gold {
  font-weight: 700;
  background: linear-gradient(135deg, #ffe499 0%, #e7aa51 45%, #fff0bd 75%, #e7aa51 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 228, 153, 0.35));
}
@keyframes casaGoldShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@media (max-width: 768px) {
  .footer-scripture-glow {
    font-size: 1.42rem;
    line-height: 1.24;
  }
  .footer-mob-br {
    display: inline;
  }
}
body.is-mobile-preview .footer-scripture-glow {
  font-size: 1.4rem;
  line-height: 1.24;
}
body.is-mobile-preview .footer-mob-br {
  display: inline;
}


/* ============================================================
   Free Guide Pop-Up Mobile 2-Line Break (Zero Clipping)
   ============================================================ */
.fg-mob-br {
  display: none;
}
@media (max-width: 640px) {
  .fg-mob-br {
    display: inline;
  }
  .fg-line-3 {
    font-size: 0.7rem !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    letter-spacing: -0.01em !important;
  }
  .fg-line-7 {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    letter-spacing: 0 !important;
  }
}
body.is-mobile-preview .fg-mob-br {
  display: inline;
}
body.is-mobile-preview .fg-line-3 {
  font-size: 0.68rem !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  letter-spacing: -0.01em !important;
}
body.is-mobile-preview .fg-line-7 {
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  letter-spacing: 0 !important;
}


/* ============================================================
   Tools Page Typography + Clean Mobile Burger Dropdown Menu
   ============================================================ */
.tools-hero-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem;
}
.tools-edits-accent {
  margin: 0 0 0.2rem;
  font-size: 1.32rem;
}
.tools-edits-sub,
.tools-slides-sub {
  margin: 0 0 1.25rem;
}
.tools-mob-br {
  display: none;
}
.fg-desk-br {
  display: inline;
}
@media (min-width: 900px) {
  .tools-hero-sub {
    white-space: nowrap;
  }
  .tools-edits-accent {
    white-space: nowrap;
  }
}

/* Sleek Vertical Mobile Burger Dropdown (Real Mobile & Mobile Preview) */
@media (max-width: 860px) {
  .site-header {
    position: sticky;
    top: 0;
  }
  .site-header .header-inner {
    position: relative;
  }
  .site-nav[data-open="true"] {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.25rem !important;
    padding: 0.9rem 1.25rem 1.15rem !important;
    background: rgba(241, 236, 228, 0.98) !important;
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(122, 74, 29, 0.16);
    border-bottom: 2px solid var(--gold-1);
    box-shadow: 0 18px 40px rgba(43, 23, 7, 0.2);
    z-index: 65;
  }
  .site-nav[data-open="true"] a.nav-link {
    padding: 0.65rem 0.4rem !important;
    font-size: 1rem !important;
    border-bottom: 1px solid rgba(122, 74, 29, 0.1);
    text-align: left;
  }
  .site-nav[data-open="true"] .btn {
    margin-top: 0.65rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .tools-mob-br {
    display: inline;
  }
  .tools-edits-accent {
    font-size: 1.24rem;
    line-height: 1.28;
    white-space: normal;
  }
  .tools-edits-sub {
    font-size: 0.84rem !important;
    white-space: nowrap;
    letter-spacing: -0.015em;
  }
  .tools-slides-sub {
    font-size: 0.86rem !important;
    line-height: 1.48;
  }
  .fg-desk-br {
    display: none;
  }
}

body.is-mobile-preview .site-header {
  position: sticky;
  top: 0;
}
body.is-mobile-preview .site-header .header-inner {
  position: relative;
}
body.is-mobile-preview .site-nav[data-open="true"] {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.25rem !important;
  padding: 0.85rem 1.15rem 1.1rem !important;
  background: rgba(241, 236, 228, 0.98) !important;
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(122, 74, 29, 0.16);
  border-bottom: 2px solid var(--gold-1);
  box-shadow: 0 18px 40px rgba(43, 23, 7, 0.22);
  z-index: 65;
}
body.is-mobile-preview .site-nav[data-open="true"] a.nav-link {
  padding: 0.6rem 0.35rem !important;
  font-size: 0.96rem !important;
  border-bottom: 1px solid rgba(122, 74, 29, 0.1);
  text-align: left;
}
body.is-mobile-preview .site-nav[data-open="true"] .btn {
  margin-top: 0.6rem;
  width: 100%;
  text-align: center;
  justify-content: center;
}
body.is-mobile-preview .tools-mob-br {
  display: inline;
}
body.is-mobile-preview .tools-hero-sub {
  white-space: normal;
}
body.is-mobile-preview .tools-edits-accent {
  font-size: 1.24rem;
  line-height: 1.28;
  white-space: normal;
}
body.is-mobile-preview .tools-edits-sub {
  font-size: 0.83rem !important;
  white-space: nowrap;
  letter-spacing: -0.015em;
}
body.is-mobile-preview .tools-slides-sub {
  font-size: 0.86rem !important;
  line-height: 1.48;
}
body.is-mobile-preview .fg-desk-br {
  display: none;
}


/* ============================================================
   Student Login Single-Line Security Note (Web & Mobile)
   ============================================================ */
.login-sec-note {
  font-size: 0.71rem;
  text-align: center;
  margin: 0.85rem 0 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@media (max-width: 520px) {
  .login-sec-note {
    font-size: clamp(0.5rem, 2.25vw, 0.62rem);
    letter-spacing: -0.025em;
  }
}
body.is-mobile-preview .login-sec-note {
  font-size: 0.54rem;
  letter-spacing: -0.025em;
}

.login-sub-line {
  margin: 0;
  font-size: 0.86rem;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .login-sub-line {
    font-size: 0.84rem;
    white-space: normal;
  }
}
body.is-mobile-preview .login-sub-line {
  font-size: 0.84rem;
  white-space: normal;
}


/* ============================================================
   Casa Edits & Casa Slides Dedicated Waitlist Layout
   ============================================================ */
.wl-hero-intro {
  margin-bottom: 1.75rem;
}
.wl-hero-pill {
  font-size: 0.96rem !important;
  line-height: 1.48 !important;
  border-radius: 18px !important;
  padding: 0.58rem 1.25rem !important;
  display: inline-block;
}
.wl-desc-lines {
  margin: 0;
  line-height: 1.62;
}
.wl-browser-line {
  white-space: nowrap;
}
.wl-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.wl-form-col,
.wl-visual-col {
  display: flex;
  flex-direction: column;
}
.wl-equal-card,
.wl-visual-col > .reels-studio-stage,
.wl-visual-col > .interactive-slide-deck {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wl-notice {
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .wl-hero-pill {
    font-size: 0.84rem !important;
    padding: 0.5rem 1rem !important;
  }
  .wl-browser-line {
    font-size: 0.8rem;
    letter-spacing: -0.015em;
  }
  .wl-bottom-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .wl-visual-col {
    order: -1;
  }
  .wl-notice {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

body.is-mobile-preview .wl-hero-pill {
  font-size: 0.82rem !important;
  padding: 0.48rem 0.95rem !important;
}
body.is-mobile-preview .wl-browser-line {
  font-size: 0.78rem;
  letter-spacing: -0.015em;
}
body.is-mobile-preview .wl-bottom-grid {
  grid-template-columns: 1fr;
  gap: 1.35rem;
}
body.is-mobile-preview .wl-visual-col {
  order: -1;
}
body.is-mobile-preview .wl-notice {
  font-size: 0.8rem;
  line-height: 1.45;
}

/* =========================================================================
   STUDENT DASHBOARD & DCA COURSE PORTAL — 100VH SINGLE-SCREEN STUDIO
   (Zero Scrolling Up & Down · Calm, Clean & Creative · Mobile App Dock)
   ========================================================================= */

/* --- Single-Screen App Shell --- */
.studio-single-screen-app {
  width: 100%;
  height: calc(100vh - 65px);
  max-height: calc(100vh - 65px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--brand-ivory);
  position: relative;
}

@media (max-width: 960px) {
  .studio-single-screen-app {
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    padding-bottom: 56px; /* Room for mobile app dock */
  }
}

/* --- Slim Studio App Bar (Height: 52px) --- */
.studio-app-bar {
  height: 52px;
  min-height: 52px;
  background: rgba(241, 236, 228, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-subtle);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 90;
}

.app-bar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.app-bar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--brand-brown);
}

.app-bar-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-1);
}

.app-bar-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  white-space: nowrap;
}

.app-bar-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
}

.app-bar-phase-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.app-bar-phase-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.app-bar-select {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--brand-brown);
  cursor: pointer;
  outline: none;
}

.app-bar-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}

.app-bar-progress-text {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--brand-brown);
}

.app-bar-progress-track {
  flex-grow: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.12);
  overflow: hidden;
}

.app-bar-progress-fill {
  height: 100%;
  background: var(--gradient-gold-button);
}

.app-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.studio-look-toggle-pills {
  display: flex;
  gap: 0.35rem;
  background: rgba(122, 74, 29, 0.08);
  padding: 3px;
  border-radius: 999px;
}

.studio-look-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.studio-look-pill:hover {
  color: var(--brand-brown);
}

.studio-look-pill.is-active {
  background: var(--card-bg);
  color: var(--brand-brown);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.pill-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.app-bar-user-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-brown);
  background: rgba(221, 202, 178, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.user-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34A853;
}

/* --- Viewport Stages (Single-Screen Container) --- */
.student-viewport-stage {
  display: none;
  flex-grow: 1;
  height: calc(100% - 52px);
  overflow: hidden;
}

.student-viewport-stage.is-visible {
  display: block;
  animation: lookFadeIn 0.3s ease-out;
}

/* =========================================================================
   LOOK 3A: THE SKOOL CLASSROOM PRO (High-Retention Cinema Workstation)
   ========================================================================= */
.cockpit-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1rem;
  height: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
}

.ambient-cinema-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(122, 74, 29, 0.22), 0 0 25px rgba(231, 170, 81, 0.18);
  transition: all var(--duration-normal);
}

.skool-lesson-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all var(--duration-fast);
  text-decoration: none;
  color: var(--brand-brown);
  width: 100%;
  text-align: left;
}
.skool-lesson-row:hover {
  background: rgba(221, 202, 178, 0.3);
  border-color: var(--border-subtle);
}
.skool-lesson-row.is-active {
  background: linear-gradient(135deg, #FFE499 0%, #E7AA51 100%);
  color: #7A4A1D;
  font-weight: 700;
  border-color: #8D5A1B;
  box-shadow: 0 4px 14px rgba(231, 170, 81, 0.35);
}

.student-notes-area {
  width: 100%;
  min-height: 80px;
  border-radius: 8px;
  border: 1.5px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--brand-brown);
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  resize: vertical;
  outline: none;
  transition: all var(--duration-fast);
}
.student-notes-area:focus {
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(231, 170, 81, 0.2);
}

.interactive-check-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: rgba(221, 202, 178, 0.18);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--duration-fast);
  font-size: 0.82rem;
}
.interactive-check-row:hover {
  background: rgba(221, 202, 178, 0.35);
}
.interactive-check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--gold-dark);
  cursor: pointer;
}
.interactive-check-row.is-done span {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Skool 8-Phase Collapsible Accordion */
.skool-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.skool-phase-group {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: rgba(241, 236, 228, 0.55);
  overflow: hidden;
  transition: border-color var(--duration-fast);
}
.skool-phase-group.is-open {
  border-color: var(--gold-1);
  background: var(--card-bg);
}
.skool-phase-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  color: var(--brand-brown);
}
.skool-phase-trigger:hover {
  background: rgba(221, 202, 178, 0.25);
}
.skool-phase-roman {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--brand-desert);
  color: var(--brand-brown);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.skool-phase-group.is-open .skool-phase-roman {
  background: var(--gradient-gold-button);
}
.skool-phase-name {
  flex-grow: 1;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skool-phase-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.skool-phase-chevron {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.skool-phase-group.is-open .skool-phase-chevron {
  transform: rotate(180deg);
  color: var(--gold-dark);
}
.skool-phase-lessons {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.3rem 0.45rem 0.5rem;
  border-top: 1px solid var(--border-subtle);
}
.skool-phase-group.is-open .skool-phase-lessons {
  display: flex;
}
.skool-row-idx {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  width: 18px;
  flex-shrink: 0;
}
.skool-lesson-row.is-active .skool-row-idx,
.skool-lesson-row.is-active .chip-time {
  color: #7A4A1D;
}
.skool-row-check {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
}
.skool-row-check.is-done {
  color: #2E7D32;
}
.skool-lesson-row.is-active .skool-row-check {
  color: #7A4A1D;
}

/* Skool Action Dock (Below Video Player) */
.skool-action-dock {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-height: 40%;
  min-height: 205px;
  overflow: hidden;
  background: rgba(221, 202, 178, 0.12);
  border-top: 1px solid var(--border-subtle);
}
.skool-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.skool-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.slide-takeaway {
  font-size: 0.76rem;
  color: var(--brand-brown);
  margin: 0.4rem 0 0;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border-subtle);
}
@media (max-width: 960px) {
  .skool-checklist-grid,
  .skool-tools-grid {
    grid-template-columns: 1fr;
  }
  .skool-action-dock {
    max-height: none;
    flex-grow: 1;
  }
}

.cockpit-pane {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.pane-header {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pane-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-brown);
}

.cockpit-scroll-content {
  overflow-y: auto;
  flex-grow: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Compact Cover + Animated Art */
.cockpit-cover-combo {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cockpit-art-stage {
  border-radius: 10px;
  overflow: hidden;
  height: 95px;
}

.compact-cover-slot {
  width: 100%;
}

.compact-cover-frame {
  border: 1.5px dashed var(--gold-1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(221, 202, 178, 0.3) 0%, rgba(241, 236, 228, 0.7) 100%);
  padding: 0.5rem 0.65rem;
  text-align: center;
}

.compact-cover-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compact-cover-tag {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--brand-brown);
  letter-spacing: 0.05em;
}

.compact-cover-roman {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.compact-cover-prompt {
  display: none;
}

/* Compact Slide Deck Card */
.cockpit-slides-card {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: rgba(221, 202, 178, 0.2);
}

.cockpit-slides-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.cockpit-slide-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.cockpit-slide-arrows {
  display: flex;
  gap: 0.25rem;
}

.btn-micro {
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  cursor: pointer;
  color: var(--text-primary);
}

.btn-micro:hover {
  border-color: var(--gold-1);
}

.cockpit-slide-item {
  display: none;
}

.cockpit-slide-item.is-active {
  display: block;
  animation: slideFadeIn 0.25s ease-out;
}

.slide-kicker {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  display: block;
}

.slide-heading {
  font-size: 0.95rem;
  margin: 0.2rem 0 0.25rem;
  color: var(--text-primary);
}

.slide-copy {
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 0;
}

.cockpit-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.c-dot {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.2);
  border: none;
  cursor: pointer;
}

.c-dot.is-active {
  background: var(--gold-dark);
  width: 28px;
}

/* Curriculum Quick Tray */
.cockpit-lessons-tray {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tray-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cockpit-lesson-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
}

.cockpit-lesson-chip.is-current {
  background: var(--gradient-gold-button);
  font-weight: 700;
  color: var(--brand-brown);
  border-color: var(--gold-dark);
}

.chip-status {
  font-size: 0.78rem;
  font-weight: 800;
  color: #34A853;
}

.chip-name {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Center Stage (Full 16:9 Cinema Stage + Smooth Scroll) */
.cockpit-center-pane {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
}

.cockpit-stage-header {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cockpit-lesson-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  margin: 0.2rem 0 0;
  color: var(--brand-brown);
}

.cockpit-player-wrapper {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #140c06;
  overflow: hidden;
}

.cockpit-action-strip {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(221, 202, 178, 0.15);
}

.strip-left {
  display: flex;
  gap: 0.5rem;
}

/* Right Pane: Companion Tabs */
.cockpit-tab-bar {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.2);
}

.c-tab-btn {
  flex: 1;
  padding: 0.55rem 0.25rem;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.c-tab-btn.is-active {
  color: var(--brand-brown);
  border-bottom-color: var(--gold-1);
  font-weight: 700;
  background: var(--card-bg);
}

.cockpit-tab-content {
  overflow-y: auto;
  flex-grow: 1;
  padding: 0.85rem;
}

.c-tab-pane {
  display: none;
}

.c-tab-pane.is-active {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: lookFadeIn 0.25s ease-out;
}

.tab-pane-heading {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.cockpit-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.cockpit-scripture-box {
  padding: 0.85rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.cockpit-tools-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cockpit-tool-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.15);
}

.tool-code {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.tool-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}

.tool-meta span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cockpit-aff-box {
  display: flex;
  gap: 0.4rem;
}


/* =========================================================================
   LOOK 3B: THE SKOOL MOSAIC & CINEMA FOLIO STAGE
   ========================================================================= */
.mosaic-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: rgba(221, 202, 178, 0.2);
  border-bottom: 1px solid var(--border-subtle);
}
.mosaic-toggle-pills {
  display: flex;
  gap: 0.35rem;
  background: rgba(122, 74, 29, 0.08);
  padding: 3px;
  border-radius: 999px;
}
.mosaic-mode-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
}
.mosaic-mode-btn.is-active {
  background: var(--card-bg);
  color: var(--brand-brown);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.mosaic-grid-view {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 1rem;
  overflow-y: auto;
  height: 100%;
  box-sizing: border-box;
}
.mosaic-grid-view.is-visible {
  display: grid;
  animation: lookFadeIn 0.25s ease-out;
}
.mosaic-module-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-fast);
  display: flex;
  flex-direction: column;
}
.mosaic-module-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.mosaic-card-thumb {
  position: relative;
  height: 125px;
  overflow: hidden;
  background: var(--brand-desert);
}
.mosaic-card-body {
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mosaic-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-brown);
  margin: 0 0 0.25rem;
}
.mosaic-card-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.mosaic-card-prog {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mosaic-prog-track {
  flex-grow: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.12);
  overflow: hidden;
}
.mosaic-prog-fill {
  height: 100%;
  background: var(--gradient-gold-button);
  border-radius: 999px;
}
.mosaic-prog-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-brown);
}
.cinema-folio-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0.85rem;
  height: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
}
.cinema-folio-grid.is-hidden {
  display: none;
}

.folio-main-stage {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.folio-stage-bar {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.folio-lesson-heading {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin: 0.2rem 0 0;
  color: var(--brand-brown);
}

.folio-video-frame {
  flex-grow: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.folio-sub-controls {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(221, 202, 178, 0.15);
}

.folio-right-drawer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 0;
}

.drawer-segmented-control {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.25);
}

.d-seg-btn {
  flex: 1;
  padding: 0.65rem 0.35rem;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.d-seg-btn.is-active {
  color: var(--brand-brown);
  border-bottom-color: var(--gold-1);
  font-weight: 700;
  background: var(--card-bg);
}

.drawer-pane {
  display: none;
  overflow-y: auto;
  flex-grow: 1;
  padding: 0.85rem;
}

.drawer-pane.is-active {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: lookFadeIn 0.25s ease-out;
}

.folio-drawer-art-box {
  border-radius: 10px;
  overflow: hidden;
  height: 100px;
}

.folio-mini-slides {
  padding: 0.65rem;
  border-radius: 10px;
  background: rgba(221, 202, 178, 0.2);
}

.pillar-tags {
  display: flex;
  gap: 0.35rem;
}

.p-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--brand-desert);
  color: var(--brand-brown);
}

.folio-lesson-rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.folio-l-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  background: rgba(221, 202, 178, 0.2);
  cursor: pointer;
}

.folio-l-row.is-active {
  background: var(--gradient-gold-button);
  font-weight: 700;
  color: var(--brand-brown);
}


.skool-round-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-1);
  background: var(--card-bg);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.skool-round-check:hover {
  border-color: var(--gold-dark);
  color: var(--brand-brown);
  transform: scale(1.05);
}
.skool-round-check[data-completed="1"] {
  background: var(--gradient-gold-button);
  border-color: var(--gold-dark);
  color: var(--brand-brown);
  box-shadow: 0 0 12px rgba(231, 170, 81, 0.4);
}

/* =========================================================================
   LOOK 3C: THE CIRCLE PAVILION (Multi-Space Creator Hub)
   ========================================================================= */
.circle-pavilion-grid {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 0.85rem;
  height: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
}
.circle-space-rail {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
  height: 100%;
}
.circle-space-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.circle-space-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
}
.circle-space-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--brand-brown);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
  border: 1px solid transparent;
}
.circle-space-item:hover {
  background: rgba(221, 202, 178, 0.35);
  border-color: var(--border-subtle);
}
.circle-space-item.is-active {
  background: var(--gradient-gold-button);
  font-weight: 700;
  border-color: var(--gold-dark);
}
.circle-space-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--brand-desert);
  color: var(--brand-brown);
}
.circle-center-canvas {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.circle-hero-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.circle-hero-banner {
  border-radius: 10px;
  overflow: hidden;
  height: 120px;
  position: relative;
}
.circle-numbered-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(221, 202, 178, 0.18);
  border-radius: 10px;
  margin-top: 0.5rem;
}
.circle-step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
}
.circle-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand-desert);
  color: var(--brand-brown);
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.circle-companion-rail {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
  height: 100%;
}

/* =========================================================================
   LOOK 3C: THE HORIZON WORKSTATION (Horizontal Ribbon & Canvas)
   ========================================================================= */
.horizon-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  gap: 0.75rem;
}

.horizon-milestone-bar {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.35rem 0.75rem;
  overflow-x: auto;
}

.horizon-nodes-track {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
}

.horizon-node {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.horizon-node.is-active-node {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  border-color: var(--gold-dark);
  font-weight: 700;
}

.h-node-roman {
  font-weight: 800;
  font-size: 0.72rem;
}

.horizon-canvas-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0.85rem;
  flex-grow: 1;
  overflow: hidden;
  height: calc(100% - 48px);
}

.horizon-canvas-pane {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.horizon-left-canvas {
  padding: 0.85rem;
  overflow-y: auto;
  gap: 0.75rem;
}

.horizon-art-box {
  border-radius: 10px;
  overflow: hidden;
  height: 110px;
}

.horizon-right-canvas {
  display: flex;
  flex-direction: column;
}

.horizon-stage-head {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.horizon-player-frame {
  flex-grow: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.horizon-bottom-notes {
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(221, 202, 178, 0.15);
}


/* =========================================================================
   MOBILE-FIRST BOTTOM NAVIGATION DOCK (ZERO SCROLL APP EXPERIENCE)
   ========================================================================= */
.mobile-app-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: rgba(241, 236, 228, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1.5px solid var(--border-subtle);
  z-index: 100;
  padding: 0 0.5rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 960px) {
  .mobile-app-dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  /* Cockpit pane mobile switching */
  .cockpit-grid {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }
  .cockpit-left-pane,
  .cockpit-right-pane {
    display: none;
  }

  /* Folio pane mobile switching */
  .cinema-folio-grid {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }
  .folio-right-drawer {
    display: none;
  }

  /* Horizon pane mobile switching */
  .horizon-canvas-grid {
    grid-template-columns: 1fr;
  }
  .horizon-left-canvas {
    display: none;
  }

  /* Circle Pavilion mobile switching */
  .circle-pavilion-grid {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }
  .circle-space-rail,
  .circle-companion-rail {
    display: none;
  }

  .app-bar-center,
  .app-bar-phase-select {
    display: none;
  }
}

.mobile-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.mobile-dock-btn.is-active {
  color: var(--brand-brown);
  font-weight: 700;
}

.dock-glyph {
  font-size: 1.1rem;
  line-height: 1;
}

.dock-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================================================================
   STUDENT PORTAL 3-LOOK MULTI-STAGE SYSTEM
   (My Products Hub -> DCA Modules Grid/List -> Skool Classroom -> Affiliates)
   ========================================================================= */
.portal-top-bar {
  height: 54px;
  min-height: 54px;
  padding: 0 0.85rem;
  gap: 0.45rem;
  flex-wrap: nowrap;
}
.portal-brand-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.portal-main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.portal-main-nav::-webkit-scrollbar {
  display: none;
}
.portal-nav-pill {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast);
}
@media (max-width: 1380px) {
  .portal-top-bar .app-bar-title,
  .portal-top-bar .app-bar-divider {
    display: none;
  }
}
.portal-nav-pill:hover {
  color: var(--brand-brown);
  background: rgba(221, 202, 178, 0.35);
}
.portal-nav-pill.is-active {
  background: var(--brand-brown);
  color: var(--brand-ivory);
  font-weight: 700;
}
.portal-bar-actions {
  gap: 0.45rem;
  flex-shrink: 0;
}
.portal-look-switcher {
  flex-shrink: 0;
}

/* Body Shell & Stage Viewport */
.portal-body-shell {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}
.portal-stage-viewport {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.portal-stage-panel {
  display: none;
  height: 100%;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
}
.portal-stage-panel.is-visible {
  display: flex;
  animation: lookFadeIn 0.28s ease-out;
}
.portal-stage-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.4rem 1.75rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Look 2 Dedicated Executive Left Rail (Hidden in Look 1 & 3) */
.exec-side-rail {
  display: none;
  width: 235px;
  min-width: 235px;
  background: rgba(241, 236, 228, 0.92);
  border-right: 1.5px solid var(--border-subtle);
  padding: 0.9rem 0.65rem;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}
.portal-look-2 .exec-side-rail {
  display: flex;
}
.exec-rail-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.exec-rail-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
}
.exec-rail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-brown);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.exec-rail-item:hover {
  background: rgba(221, 202, 178, 0.35);
}
.exec-rail-item.is-active {
  background: var(--gradient-gold-button);
  border-color: var(--gold-dark);
  font-weight: 700;
}
.exec-rail-badge {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.12);
  color: var(--brand-brown);
}
.exec-rail-scripture {
  margin-top: auto;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--brand-brown);
  color: var(--brand-ivory);
}

/* Stage 1: Welcome Banner & Products Showcase */
.portal-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(221, 202, 178, 0.48) 0%, rgba(241, 236, 228, 0.9) 100%);
  border: 1.5px solid var(--border-subtle);
  flex-wrap: wrap;
}
.portal-welcome-kicker {
  margin: 0 0 0.1rem;
  font-size: 1.25rem;
  color: var(--gold-dark);
}
.portal-welcome-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--brand-brown);
}
.portal-welcome-sub {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.portal-welcome-metrics {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.portal-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  min-width: 108px;
}
.portal-stat-btn {
  cursor: pointer;
  border-color: var(--gold-1);
  background: linear-gradient(135deg, rgba(255, 228, 153, 0.35), rgba(231, 170, 81, 0.2));
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.portal-stat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 170, 81, 0.25);
}
.stat-pill-num {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--brand-brown);
}
.stat-pill-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Products Grid */
.portal-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.portal-product-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.portal-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-1);
  box-shadow: 0 14px 30px rgba(122, 74, 29, 0.14);
}
.portal-product-card.is-unlocked {
  border-color: var(--gold-1);
}
.product-card-visual {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: var(--brand-brown);
}
.product-status-pill {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-status-pill.pill-unlocked {
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.product-status-pill.pill-locked {
  background: rgba(59, 33, 11, 0.85);
  color: var(--brand-ivory);
  border: 1px solid rgba(255, 228, 153, 0.45);
}
.product-lock-veil {
  position: absolute;
  inset: 0;
  background: rgba(59, 33, 11, 0.42);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.25s ease;
}
.portal-product-card.is-locked:hover .product-lock-veil {
  background: rgba(59, 33, 11, 0.28);
}
.lock-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(241, 236, 228, 0.92);
  color: var(--brand-brown);
  border: 2px solid var(--gold-1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.product-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-kicker {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--gold-dark);
}
.product-card-title {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.25rem;
  color: var(--brand-brown);
}
.product-card-desc {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  flex: 1;
}
.product-progress-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.product-prog-track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.14);
  overflow: hidden;
}
.product-prog-fill {
  height: 100%;
  background: var(--gradient-gold-button);
  border-radius: 999px;
}
.product-prog-pct {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-brown);
}
.product-locked-meta,
.product-unlocked-meta {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}
.product-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.portal-affiliate-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  flex-wrap: wrap;
}

/* Stage 2: DCA Modules Grid (Default, Image 1) + List Toggle */
.modules-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.7rem 1.2rem;
  border-bottom: 1.5px solid var(--border-subtle);
  background: rgba(241, 236, 228, 0.85);
  flex-wrap: wrap;
}
.modules-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.modules-title-group {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.modules-heading {
  margin: 0;
  font-size: 1.25rem;
  color: var(--brand-brown);
}
.modules-sub-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.modules-view-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 3px;
  border-radius: 10px;
  background: rgba(122, 74, 29, 0.1);
}
.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast);
}
.view-toggle-btn.is-active {
  background: var(--card-bg);
  color: var(--brand-brown);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 8-Module Collection: Grid Mode (Default, Image 1) */
.dca-modules-collection {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.35rem 1.75rem;
  box-sizing: border-box;
}
.dca-modules-collection.is-grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-content: start;
}
.dca-modules-collection.is-list-view {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.dca-module-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.dca-module-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-1);
  box-shadow: 0 12px 26px rgba(122, 74, 29, 0.14);
}
.dca-mod-thumb {
  position: relative;
  height: 138px;
  overflow: hidden;
  background: var(--brand-brown);
}
.dca-mod-cover-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.6rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  background: rgba(59, 33, 11, 0.78);
  color: #FFE499;
  border: 1px solid rgba(255, 228, 153, 0.35);
}
.dca-mod-body {
  padding: 0.85rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}
.dca-mod-title {
  margin: 0 0 0.22rem;
  font-size: 1rem;
  color: var(--brand-brown);
}
.dca-mod-sub {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.38;
}
.dca-mod-progress {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.dca-mod-prog-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.14);
  overflow: hidden;
}
.dca-mod-prog-fill {
  height: 100%;
  background: var(--gradient-gold-button);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.dca-mod-prog-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-brown);
  min-width: 34px;
  text-align: right;
}

/* List View Variant */
.dca-modules-collection.is-list-view .dca-module-card {
  flex-direction: row;
  align-items: center;
}
.dca-modules-collection.is-list-view .dca-mod-thumb {
  width: 190px;
  min-width: 190px;
  height: 96px;
}
.dca-modules-collection.is-list-view .dca-mod-body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
}
.dca-modules-collection.is-list-view .dca-mod-progress {
  margin-top: 0;
  width: 180px;
  flex-shrink: 0;
}

/* Back-to-modules button inside Skool Classroom */
.back-to-modules-link {
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-brown);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.back-to-modules-link:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* Stage 4: Affiliate Hub */
.aff-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.aff-metric-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.aff-metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.aff-metric-value {
  font-family: var(--font-title);
  font-size: 1.65rem;
  color: var(--brand-brown);
}
.aff-link-card {
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
}
.aff-swipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.aff-swipe-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

/* =========================================================================
   LOOK 2 (EXECUTIVE HUB) BENTO OVERRIDES
   ========================================================================= */
.portal-look-2 .portal-products-grid {
  grid-template-columns: 1.35fr 1fr;
}
.portal-look-2 .portal-product-card.is-featured-product {
  grid-row: span 2;
}
.portal-look-2 .portal-product-card.is-featured-product .product-card-visual {
  height: 240px;
}

/* =========================================================================
   LOOK 3 (KINETIC SPOTLIGHT — ARCHITECTURAL GALLERY · WORKS IN LIGHT & NIGHT)
   ========================================================================= */
.portal-look-3 .portal-stage-scroll {
  max-width: 1140px;
}
.portal-look-3 .portal-hero-bento {
  grid-template-columns: 1fr;
}
.portal-look-3 .next-step-hero-card {
  text-align: center;
  align-items: center;
  border-width: 2px;
  box-shadow: 0 14px 36px rgba(231, 170, 81, 0.22);
}
.portal-look-3 .next-step-top {
  justify-content: center;
}
.portal-look-3 .next-step-actions {
  justify-content: center;
}
.portal-look-3 .portal-product-card {
  border-radius: 22px;
  border-width: 2px;
}
.portal-look-3 .product-card-visual {
  height: 180px;
}
.portal-look-3 .dca-module-card {
  border-radius: 20px;
}

/* Responsive Mobile Rules */
@media (max-width: 960px) {
  .portal-main-nav,
  .exec-side-rail,
  .app-bar-user-badge {
    display: none !important;
  }
  .portal-products-grid,
  .portal-look-2 .portal-products-grid,
  .dca-modules-collection.is-grid-view,
  .aff-stats-grid,
  .aff-swipe-grid {
    grid-template-columns: 1fr;
  }
  .dca-modules-collection.is-list-view .dca-module-card {
    flex-direction: column;
    align-items: stretch;
  }
  .dca-modules-collection.is-list-view .dca-mod-thumb {
    width: 100%;
    height: 110px;
  }
  .dca-modules-collection.is-list-view .dca-mod-body {
    flex-direction: column;
    align-items: stretch;
  }
  .dca-modules-collection.is-list-view .dca-mod-progress {
    width: 100%;
  }
  .portal-stage-scroll {
    padding: 0.85rem 0.85rem 1.5rem;
  }
}

/* =========================================================================
   INTERACTIVE DCA PORTAL PRO — LIGHT & NIGHT MODE + 3 UNIQUE LOOKS
   ========================================================================= */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-subtle);
  background: var(--card-bg);
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.theme-toggle-btn:hover {
  border-color: var(--gold-1);
}
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: inline-flex; }
[data-theme="dark"] .theme-icon-sun { display: inline-flex; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* Summit Level & Streak Card (Look 2) */
.summit-level-card {
  padding: 0.7rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 228, 153, 0.28), rgba(221, 202, 178, 0.35));
  border: 1.5px solid var(--gold-1);
  display: flex;
  flex-direction: column;
}
.summit-streak-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  margin-top: 0.35rem;
  color: var(--brand-brown);
}
.streak-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E7AA51;
  box-shadow: 0 0 8px #E7AA51;
}

/* Top Hero Bento: "Your Next Step" + Animated Roadmap / Mountain Climb */
.portal-hero-bento {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 1.1rem;
  align-items: stretch;
}
.next-step-hero-card {
  position: relative;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 248, 234, 0.96) 0%, rgba(221, 202, 178, 0.45) 100%);
  border: 1.5px solid var(--gold-1);
  box-shadow: 0 10px 28px rgba(231, 170, 81, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.next-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.lifetime-pill {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-brown);
  color: #FFE499;
}
.next-step-heading {
  margin: 0.15rem 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--brand-brown);
}
.next-step-lesson-name {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-dark);
}
.next-step-verse {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--brand-brown);
}
.running-counters-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0.45rem 0 0.55rem;
}
.counter-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.45rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.counter-val {
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1.15;
}
.gold-shimmer-num {
  background: linear-gradient(90deg, #7A4A1D, #E7AA51, #7A4A1D);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGoldText 4s linear infinite;
}
@keyframes shimmerGoldText {
  to { background-position: 200% center; }
}
.counter-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.next-step-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Animated Winding Roadmap + 8-Step Mountain Climb */
.roadmap-hero-card {
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.roadmap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.roadmap-live-msg {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.winding-roadmap-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.winding-roadmap-svg {
  width: 100%;
  height: auto;
  max-height: 145px;
}
.roadmap-track-bg {
  stroke: rgba(122, 74, 29, 0.16);
}
.roadmap-track-glow {
  stroke: #E7AA51;
  stroke-dasharray: 10 10;
  animation: roadmapDash 14s linear infinite;
}
@keyframes roadmapDash {
  to { stroke-dashoffset: -200; }
}
.roadmap-node {
  cursor: pointer;
}
.roadmap-node-dot {
  fill: var(--card-bg);
  stroke: var(--brand-brown);
  stroke-width: 2.2;
  transition: all 0.2s ease;
}
.roadmap-node:hover .roadmap-node-dot,
.roadmap-node.is-current-node .roadmap-node-dot {
  fill: #E7AA51;
  stroke: #7A4A1D;
}
.roadmap-pulse-ring {
  fill: rgba(231, 170, 81, 0.25);
  animation: pulseHalo 2s ease-in-out infinite;
}
@keyframes pulseHalo {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.18); opacity: 0.25; }
}
.roadmap-node-roman {
  font-size: 9px;
  font-weight: 800;
  fill: var(--brand-brown);
  pointer-events: none;
}

/* Mountain Climb Staircase (Featured in Look 2) */
.mountain-climb-stage {
  display: none;
  align-items: flex-end;
  gap: 0.45rem;
  height: 130px;
  padding: 0.5rem 0.25rem 0;
}
.portal-look-2 .winding-roadmap-stage { display: none; }
.portal-look-2 .mountain-climb-stage { display: flex; }
.mountain-step {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  border: 1.5px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(221, 202, 178, 0.55), rgba(241, 236, 228, 0.85));
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0.4rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.mountain-step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-1);
}
.mountain-step.is-current-step {
  background: var(--gradient-gold-button);
  border-color: var(--gold-dark);
  box-shadow: 0 6px 16px rgba(231, 170, 81, 0.35);
}
.mountain-marker {
  position: absolute;
  top: -18px;
  font-size: 0.95rem;
  color: var(--gold-dark);
  animation: floatGentle 2s ease-in-out infinite;
}
.mountain-roman {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-brown);
}
.roadmap-quick-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.quick-shortcut-pill {
  border: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.24);
  color: var(--brand-brown);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.quick-shortcut-pill:hover {
  background: var(--gradient-gold-button);
  border-color: var(--gold-dark);
}
.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Progress Ring on Phase Cards */
.dca-mod-ring-corner {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(44, 25, 9, 0.8);
  border-radius: 50%;
  padding: 2px;
}
.phase-ring-bg { stroke: rgba(241, 236, 228, 0.25); }
.phase-ring-fill { stroke: #FFE499; stroke-linecap: round; transition: stroke-dashoffset 0.5s ease; }
.phase-ring-text { fill: #FFE499; font-size: 10px; font-weight: 800; }

/* 11-Step Lesson Flow Stepper */
.lesson-11-stepper {
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stepper-track {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  padding-bottom: 2px;
}
.stepper-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}
.stepper-pill.is-active {
  background: var(--gradient-gold-button);
  color: #7A4A1D;
  border-color: #8D5A1B;
}
.stepper-pill.is-done-step {
  border-color: #2E7D32;
  color: #2E7D32;
}
.stepper-num { font-weight: 800; }
.stepper-active-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--brand-brown);
}

/* Interactive Autosave Workbook */
.autosave-tick {
  font-size: 0.72rem;
  font-weight: 800;
  color: #2E7D32;
}
.workbook-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.wb-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-brown);
}
.wb-field-full { grid-column: span 2; }

/* 10-Stream Radial Wheel */
.radial-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}
.radial-wheel-card,
.stream-detail-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem;
}
.radial-wheel-svg {
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto 0.9rem;
}
.wheel-outer-ring { fill: none; stroke: rgba(122, 74, 29, 0.16); stroke-width: 2; stroke-dasharray: 5 5; }
.wheel-inner-ring { fill: none; stroke: rgba(231, 170, 81, 0.35); stroke-width: 1.5; }
.wheel-spoke { stroke: rgba(122, 74, 29, 0.2); stroke-width: 1.5; }
.wheel-node-group { cursor: pointer; }
.wheel-node-circle { fill: var(--brand-ivory); stroke: var(--brand-brown); stroke-width: 2; transition: all 0.2s ease; }
.wheel-node-group:hover .wheel-node-circle,
.wheel-node-group.is-selected .wheel-node-circle { fill: #E7AA51; stroke: #7A4A1D; r: 24; }
.wheel-node-num { fill: var(--brand-brown); font-size: 11px; font-weight: 800; pointer-events: none; }
.wheel-center-hub { fill: var(--brand-brown); stroke: #FFE499; stroke-width: 2.5; }
.wheel-center-num { fill: #FFE499; font-family: var(--font-title); font-size: 18px; }
.wheel-center-lbl { fill: var(--brand-ivory); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.stream-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}
.stream-select-chip {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-brown);
  cursor: pointer;
}
.stream-select-chip.is-selected {
  background: var(--gradient-gold-button);
  border-color: var(--gold-dark);
}
.stream-meta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(221, 202, 178, 0.25);
  border: 1px solid var(--border-subtle);
}
.stream-launch-time {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Kanban Project Board */
.kanban-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.kanban-col {
  background: rgba(221, 202, 178, 0.2);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.kanban-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--brand-brown);
}
.kanban-count {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-brown);
  color: #FFE499;
  font-size: 0.72rem;
}
.kanban-col-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.kanban-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.kanban-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-dark);
}
.kanban-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-brown);
}

/* Content Bank & AI Prompts */
.content-bank-grid,
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.content-bank-card,
.prompt-card,
.community-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}
.prompt-card,
.community-card { padding: 1rem 1.1rem; }
.cb-preview-stage {
  position: relative;
  height: 115px;
  background: linear-gradient(135deg, #4E2E11, #7A4A1D);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cb-shimmer-motion {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 228, 153, 0.28) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.content-bank-card:hover .cb-shimmer-motion { transform: translateX(100%); }
.cb-ratio-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #FFE499;
}
.cb-play-glyph {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(241, 236, 228, 0.9);
  color: var(--brand-brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.cb-card-body { padding: 0.8rem 0.9rem; }

/* Community Wins & Prayer */
.community-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.wins-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.win-item {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(221, 202, 178, 0.22);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
}
.win-item p { margin: 0; }
.community-post-form {
  display: flex;
  gap: 0.45rem;
}

/* Trophy Shelf */
.trophy-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trophy-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.1rem 0.95rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trophy-card.is-unlocked-trophy {
  border-color: var(--gold-1);
  box-shadow: 0 8px 22px rgba(231, 170, 81, 0.2);
}
.trophy-card.is-locked-trophy {
  opacity: 0.65;
  filter: grayscale(0.45);
}
.trophy-icon-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold-button);
  color: var(--brand-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}
.trophy-card.is-locked-trophy .trophy-icon-ring {
  background: rgba(122, 74, 29, 0.14);
  color: var(--text-muted);
}

/* Floating Chat-Style Casa Help Concierge */
.casa-help-widget {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 120;
}
.casa-help-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--gold-dark);
  background: var(--gradient-gold-button);
  color: #3B210B;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(59, 33, 11, 0.28);
}
.casa-help-drawer {
  display: none;
  position: absolute;
  bottom: 50px;
  right: 0;
  width: 310px;
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  flex-direction: column;
}
.casa-help-drawer.is-open { display: flex; animation: lookFadeIn 0.2s ease-out; }
.help-drawer-head {
  padding: 0.65rem 0.85rem;
  background: var(--brand-brown);
  color: var(--brand-ivory);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.help-messages {
  padding: 0.75rem;
  max-height: 185px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.help-msg {
  font-size: 0.76rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  line-height: 1.4;
}
.help-bot { background: rgba(221, 202, 178, 0.35); color: var(--brand-brown); align-self: flex-start; }
.help-user { background: var(--brand-brown); color: var(--brand-ivory); align-self: flex-end; }
.help-quick-qs {
  padding: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.help-q-btn {
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--brand-brown);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.help-q-btn:hover { background: rgba(221, 202, 178, 0.3); }
.help-ig-link { background: var(--gradient-gold-button); color: #3B210B; text-align: center; }

/* Live Toast */
.portal-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #3B210B;
  color: #FFE499;
  border: 1px solid #E7AA51;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 150;
}
.portal-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================================
   BULLETPROOF LIGHT & NIGHT MODE CONTRAST SYSTEM (WORKS IN ALL 3 LOOKS)
   ========================================================================= */
.studio-single-screen-app[data-theme="light"] {
  background: #F1ECE4;
  color: #3B210B;
}
.studio-single-screen-app[data-theme="light"] h1,
.studio-single-screen-app[data-theme="light"] h2,
.studio-single-screen-app[data-theme="light"] h3,
.studio-single-screen-app[data-theme="light"] h4,
.studio-single-screen-app[data-theme="light"] strong,
.studio-single-screen-app[data-theme="light"] .app-bar-title,
.studio-single-screen-app[data-theme="light"] .next-step-heading,
.studio-single-screen-app[data-theme="light"] .product-card-title,
.studio-single-screen-app[data-theme="light"] .dca-mod-title,
.studio-single-screen-app[data-theme="light"] .modules-heading,
.studio-single-screen-app[data-theme="light"] .cockpit-lesson-title {
  color: #3B210B;
}
.studio-single-screen-app[data-theme="light"] .text-muted,
.studio-single-screen-app[data-theme="light"] .product-card-desc,
.studio-single-screen-app[data-theme="light"] .dca-mod-sub,
.studio-single-screen-app[data-theme="light"] .roadmap-live-msg,
.studio-single-screen-app[data-theme="light"] .counter-lbl {
  color: #6B4423;
}
.studio-single-screen-app[data-theme="light"] .next-step-lesson-name,
.studio-single-screen-app[data-theme="light"] .product-kicker,
.studio-single-screen-app[data-theme="light"] .modules-sub-pill {
  color: #8D5A1B;
}

/* NIGHT MODE — GUARANTEED HIGH CONTRAST ON EVERY ELEMENT */
.studio-single-screen-app[data-theme="dark"] {
  background: #1B0F05;
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] h1,
.studio-single-screen-app[data-theme="dark"] h2,
.studio-single-screen-app[data-theme="dark"] h3,
.studio-single-screen-app[data-theme="dark"] h4,
.studio-single-screen-app[data-theme="dark"] strong,
.studio-single-screen-app[data-theme="dark"] .app-bar-title,
.studio-single-screen-app[data-theme="dark"] .next-step-heading,
.studio-single-screen-app[data-theme="dark"] .modules-heading,
.studio-single-screen-app[data-theme="dark"] .cockpit-lesson-title,
.studio-single-screen-app[data-theme="dark"] .product-card-title,
.studio-single-screen-app[data-theme="dark"] .dca-mod-title,
.studio-single-screen-app[data-theme="dark"] .kanban-card-title,
.studio-single-screen-app[data-theme="dark"] .kanban-col-head,
.studio-single-screen-app[data-theme="dark"] .pane-title,
.studio-single-screen-app[data-theme="dark"] .skool-phase-trigger,
.studio-single-screen-app[data-theme="dark"] .skool-lesson-row,
.studio-single-screen-app[data-theme="dark"] .exec-rail-item,
.studio-single-screen-app[data-theme="dark"] .theme-toggle-btn,
.studio-single-screen-app[data-theme="dark"] .stepper-active-guide,
.studio-single-screen-app[data-theme="dark"] .wb-field,
.studio-single-screen-app[data-theme="dark"] .slide-heading,
.studio-single-screen-app[data-theme="dark"] .slide-takeaway,
.studio-single-screen-app[data-theme="dark"] .win-item,
.studio-single-screen-app[data-theme="dark"] .aff-metric-value,
.studio-single-screen-app[data-theme="dark"] .dca-mod-prog-label,
.studio-single-screen-app[data-theme="dark"] .product-prog-pct,
.studio-single-screen-app[data-theme="dark"] .summit-streak-row,
.studio-single-screen-app[data-theme="dark"] .interactive-check-row {
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .portal-nav-pill,
.studio-single-screen-app[data-theme="dark"] .text-muted,
.studio-single-screen-app[data-theme="dark"] .product-card-desc,
.studio-single-screen-app[data-theme="dark"] .dca-mod-sub,
.studio-single-screen-app[data-theme="dark"] .counter-lbl,
.studio-single-screen-app[data-theme="dark"] .roadmap-live-msg,
.studio-single-screen-app[data-theme="dark"] .tab-pane-heading,
.studio-single-screen-app[data-theme="dark"] .exec-rail-label,
.studio-single-screen-app[data-theme="dark"] .aff-metric-label,
.studio-single-screen-app[data-theme="dark"] .product-locked-meta,
.studio-single-screen-app[data-theme="dark"] .product-unlocked-meta,
.studio-single-screen-app[data-theme="dark"] .skool-phase-meta,
.studio-single-screen-app[data-theme="dark"] .chip-time,
.studio-single-screen-app[data-theme="dark"] .slide-copy,
.studio-single-screen-app[data-theme="dark"] .c-tab-btn,
.studio-single-screen-app[data-theme="dark"] .view-toggle-btn,
.studio-single-screen-app[data-theme="dark"] .studio-look-pill,
.studio-single-screen-app[data-theme="dark"] .stepper-pill,
.studio-single-screen-app[data-theme="dark"] .mobile-dock-btn {
  color: #E2CBB0;
}
.studio-single-screen-app[data-theme="dark"] .next-step-lesson-name,
.studio-single-screen-app[data-theme="dark"] .next-step-verse,
.studio-single-screen-app[data-theme="dark"] .product-kicker,
.studio-single-screen-app[data-theme="dark"] .modules-sub-pill,
.studio-single-screen-app[data-theme="dark"] .slide-kicker,
.studio-single-screen-app[data-theme="dark"] .quick-shortcut-pill,
.studio-single-screen-app[data-theme="dark"] .stream-select-chip,
.studio-single-screen-app[data-theme="dark"] .back-to-modules-link,
.studio-single-screen-app[data-theme="dark"] .help-q-btn,
.studio-single-screen-app[data-theme="dark"] .pill-num,
.studio-single-screen-app[data-theme="dark"] .kanban-card-top,
.studio-single-screen-app[data-theme="dark"] .mobile-dock-btn.is-active {
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .portal-top-bar,
.studio-single-screen-app[data-theme="dark"] .exec-side-rail,
.studio-single-screen-app[data-theme="dark"] .mobile-app-dock {
  background: rgba(27, 15, 5, 0.97);
  border-color: rgba(255, 228, 153, 0.24);
}
.studio-single-screen-app[data-theme="dark"] .next-step-hero-card,
.studio-single-screen-app[data-theme="dark"] .roadmap-hero-card,
.studio-single-screen-app[data-theme="dark"] .portal-product-card,
.studio-single-screen-app[data-theme="dark"] .dca-module-card,
.studio-single-screen-app[data-theme="dark"] .cockpit-pane,
.studio-single-screen-app[data-theme="dark"] .radial-wheel-card,
.studio-single-screen-app[data-theme="dark"] .stream-detail-card,
.studio-single-screen-app[data-theme="dark"] .kanban-card,
.studio-single-screen-app[data-theme="dark"] .content-bank-card,
.studio-single-screen-app[data-theme="dark"] .prompt-card,
.studio-single-screen-app[data-theme="dark"] .community-card,
.studio-single-screen-app[data-theme="dark"] .trophy-card,
.studio-single-screen-app[data-theme="dark"] .aff-metric-card,
.studio-single-screen-app[data-theme="dark"] .aff-link-card,
.studio-single-screen-app[data-theme="dark"] .modules-toolbar,
.studio-single-screen-app[data-theme="dark"] .theme-toggle-btn,
.studio-single-screen-app[data-theme="dark"] .casa-help-drawer,
.studio-single-screen-app[data-theme="dark"] .cockpit-slides-card {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.24);
}
.studio-single-screen-app[data-theme="dark"] .counter-box,
.studio-single-screen-app[data-theme="dark"] .skool-phase-group,
.studio-single-screen-app[data-theme="dark"] .kanban-col,
.studio-single-screen-app[data-theme="dark"] .win-item,
.studio-single-screen-app[data-theme="dark"] .stream-meta-box,
.studio-single-screen-app[data-theme="dark"] .interactive-check-row,
.studio-single-screen-app[data-theme="dark"] .studio-look-toggle-pills,
.studio-single-screen-app[data-theme="dark"] .modules-view-toggle,
.studio-single-screen-app[data-theme="dark"] .cockpit-tab-bar,
.studio-single-screen-app[data-theme="dark"] .lesson-11-stepper,
.studio-single-screen-app[data-theme="dark"] .skool-action-dock,
.studio-single-screen-app[data-theme="dark"] .summit-level-card {
  background: rgba(18, 9, 3, 0.65);
  border-color: rgba(255, 228, 153, 0.2);
}
.studio-single-screen-app[data-theme="dark"] .btn-outline,
.studio-single-screen-app[data-theme="dark"] .btn-micro {
  background: rgba(255, 228, 153, 0.08);
  color: #FAF6F0;
  border-color: rgba(255, 228, 153, 0.35);
}
.studio-single-screen-app[data-theme="dark"] .btn-outline:hover,
.studio-single-screen-app[data-theme="dark"] .btn-micro:hover {
  background: rgba(255, 228, 153, 0.18);
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .input,
.studio-single-screen-app[data-theme="dark"] .wb-autosave-input,
.studio-single-screen-app[data-theme="dark"] .student-notes-area {
  background: #1B0F05 !important;
  color: #FAF6F0 !important;
  border-color: rgba(255, 228, 153, 0.32) !important;
}
.studio-single-screen-app[data-theme="dark"] .input::placeholder {
  color: rgba(226, 203, 176, 0.65);
}
.studio-single-screen-app[data-theme="dark"] .portal-nav-pill.is-active,
.studio-single-screen-app[data-theme="dark"] .studio-look-pill.is-active,
.studio-single-screen-app[data-theme="dark"] .view-toggle-btn.is-active,
.studio-single-screen-app[data-theme="dark"] .exec-rail-item.is-active,
.studio-single-screen-app[data-theme="dark"] .stream-select-chip.is-selected,
.studio-single-screen-app[data-theme="dark"] .stepper-pill.is-active,
.studio-single-screen-app[data-theme="dark"] .skool-lesson-row.is-active,
.studio-single-screen-app[data-theme="dark"] .c-tab-btn.is-active {
  background: var(--gradient-gold-button);
  color: #3B210B !important;
  font-weight: 800;
}
.studio-single-screen-app[data-theme="dark"] .studio-look-pill.is-active .pill-num,
.studio-single-screen-app[data-theme="dark"] .skool-lesson-row.is-active .chip-time,
.studio-single-screen-app[data-theme="dark"] .skool-lesson-row.is-active .skool-row-idx {
  color: #3B210B !important;
}
.studio-single-screen-app[data-theme="dark"] .gold-shimmer-num {
  background: linear-gradient(90deg, #FFE499, #E7AA51, #FFE499);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.studio-single-screen-app[data-theme="dark"] .roadmap-node-dot,
.studio-single-screen-app[data-theme="dark"] .wheel-node-circle {
  fill: #2B1809;
  stroke: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .roadmap-node.is-current-node .roadmap-node-dot,
.studio-single-screen-app[data-theme="dark"] .wheel-node-group.is-selected .wheel-node-circle {
  fill: #E7AA51 !important;
  stroke: #FFE499 !important;
}
.studio-single-screen-app[data-theme="dark"] .roadmap-node-roman,
.studio-single-screen-app[data-theme="dark"] .wheel-node-num {
  fill: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .roadmap-node.is-current-node .roadmap-node-roman,
.studio-single-screen-app[data-theme="dark"] .wheel-node-group.is-selected .wheel-node-num {
  fill: #2B1809 !important;
}
.product-card-visual .reel-audio-tag,
.product-card-visual .brandkit-chip,
.product-card-visual .brandkit-monogram {
  color: #FFE499;
  opacity: 0.92;
}
.studio-single-screen-app[data-theme="dark"] .help-bot {
  background: rgba(255, 228, 153, 0.14);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .help-user {
  background: var(--gradient-gold-button);
  color: #3B210B;
}

/* Mobile Classroom Switcher Bar (Hidden on Desktop, Shown on Mobile) */
.mobile-classroom-bar {
  display: none;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.4rem;
}
.mobile-classroom-bar .btn-micro {
  flex: 1;
  padding: 0.4rem 0.5rem;
  font-weight: 700;
}
.mobile-classroom-bar .btn-micro.is-active {
  background: var(--gradient-gold-button);
  color: #3B210B;
  border-color: var(--gold-dark);
}

/* =========================================================================
   UNIFIED PIXEL-PERFECT MOBILE LAYOUT (REAL PHONES + MOBILE PREVIEW TOGGLE)
   ========================================================================= */
@media (max-width: 960px) {
  .portal-main-nav,
  .exec-side-rail,
  .app-bar-user-badge,
  .app-bar-divider,
  .app-bar-title {
    display: none !important;
  }
  .portal-top-bar {
    padding: 0 0.6rem;
    gap: 0.35rem;
  }
  .studio-look-pill {
    padding: 0.22rem 0.45rem;
    font-size: 0.7rem;
  }
  .theme-toggle-label {
    display: none;
  }
  .portal-hero-bento,
  .portal-products-grid,
  .portal-look-2 .portal-products-grid,
  .dca-modules-collection.is-grid-view,
  .cockpit-grid,
  .radial-hub-grid,
  .kanban-board-grid,
  .content-bank-grid,
  .prompts-grid,
  .community-split-grid,
  .trophy-shelf-grid,
  .aff-stats-grid,
  .aff-swipe-grid,
  .workbook-fields-grid,
  .skool-checklist-grid {
    grid-template-columns: 1fr !important;
  }
  .portal-look-2 .portal-product-card.is-featured-product {
    grid-row: auto !important;
  }
  .wb-field-full { grid-column: span 1 !important; }
  .running-counters-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .portal-stage-scroll,
  .dca-modules-collection {
    padding: 0.75rem 0.75rem 5.5rem !important;
  }
  .mobile-app-dock {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  .mobile-dock-btn {
    padding: 0.35rem 0.15rem !important;
    width: 100% !important;
  }
  .mobile-classroom-bar {
    display: flex !important;
  }
  .cockpit-left-pane {
    display: none;
  }
  .cockpit-left-pane.is-mob-open {
    display: flex !important;
  }
  .cockpit-center-pane.is-mob-hidden {
    display: none !important;
  }
  .casa-help-widget {
    bottom: 62px;
    right: 0.65rem;
  }
  .casa-help-fab {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }
  .casa-help-fab span {
    display: none;
  }
  .casa-help-drawer {
    width: calc(100vw - 1.5rem);
    max-width: 320px;
  }
}

/* ALSO APPLY EXACT MOBILE LAYOUT INSIDE LOCAL "📱 Mobile" PREVIEW FRAME! */
body.is-mobile-preview main:has(.studio-single-screen-app) {
  border-radius: 24px !important;
  overflow: hidden !important;
  background: transparent !important;
}
body.is-mobile-preview.is-cdc-hub main {
  background: var(--bg-page) !important;
  border-radius: 0 !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
body.is-mobile-preview .studio-single-screen-app {
  height: calc(100vh - 108px) !important;
  max-height: calc(100vh - 108px) !important;
  padding-bottom: 54px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
body.is-mobile-preview .portal-main-nav,
body.is-mobile-preview .exec-side-rail,
body.is-mobile-preview .app-bar-user-badge,
body.is-mobile-preview .app-bar-divider,
body.is-mobile-preview .app-bar-title,
body.is-mobile-preview .theme-toggle-label,
body.is-mobile-preview .portal-bar-actions a.btn-primary {
  display: none !important;
}
body.is-mobile-preview .portal-top-bar {
  padding: 0 0.55rem !important;
  gap: 0.3rem !important;
  justify-content: space-between !important;
}
body.is-mobile-preview .studio-look-pill {
  padding: 0.22rem 0.45rem !important;
  font-size: 0.68rem !important;
}
body.is-mobile-preview .next-step-hero-card,
body.is-mobile-preview .roadmap-hero-card {
  padding: 0.95rem 0.9rem !important;
}
body.is-mobile-preview .portal-hero-bento,
body.is-mobile-preview .portal-products-grid,
body.is-mobile-preview .portal-look-2 .portal-products-grid,
body.is-mobile-preview .dca-modules-collection.is-grid-view,
body.is-mobile-preview .cockpit-grid,
body.is-mobile-preview .radial-hub-grid,
body.is-mobile-preview .kanban-board-grid,
body.is-mobile-preview .content-bank-grid,
body.is-mobile-preview .prompts-grid,
body.is-mobile-preview .community-split-grid,
body.is-mobile-preview .trophy-shelf-grid,
body.is-mobile-preview .aff-stats-grid,
body.is-mobile-preview .aff-swipe-grid,
body.is-mobile-preview .workbook-fields-grid,
body.is-mobile-preview .skool-checklist-grid {
  grid-template-columns: 1fr !important;
}
body.is-mobile-preview .portal-look-2 .portal-product-card.is-featured-product {
  grid-row: auto !important;
}
body.is-mobile-preview .wb-field-full {
  grid-column: span 1 !important;
}
body.is-mobile-preview .running-counters-strip {
  grid-template-columns: repeat(2, 1fr) !important;
}
body.is-mobile-preview .portal-stage-scroll,
body.is-mobile-preview .dca-modules-collection {
  padding: 0.75rem 0.75rem 5.5rem !important;
}
body.is-mobile-preview .dca-modules-collection.is-list-view .dca-module-card {
  flex-direction: column !important;
  align-items: stretch !important;
}
body.is-mobile-preview .dca-modules-collection.is-list-view .dca-mod-thumb {
  width: 100% !important;
  height: 110px !important;
}
body.is-mobile-preview .dca-modules-collection.is-list-view .dca-mod-body {
  flex-direction: column !important;
  align-items: stretch !important;
}
body.is-mobile-preview .dca-modules-collection.is-list-view .dca-mod-progress {
  width: 100% !important;
}
body.is-mobile-preview .mobile-app-dock {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
}
body.is-mobile-preview .mobile-dock-btn {
  padding: 0.35rem 0.15rem !important;
  width: 100% !important;
}
body.is-mobile-preview .mobile-classroom-bar {
  display: flex !important;
}
body.is-mobile-preview .cockpit-left-pane {
  display: none;
}
body.is-mobile-preview .cockpit-left-pane.is-mob-open {
  display: flex !important;
}
body.is-mobile-preview .cockpit-center-pane.is-mob-hidden {
  display: none !important;
}
body.is-mobile-preview .casa-help-widget {
  position: absolute !important;
  bottom: 62px !important;
  right: 0.6rem !important;
}
body.is-mobile-preview .casa-help-fab {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  justify-content: center !important;
}
body.is-mobile-preview .casa-help-fab span {
  display: none !important;
}
body.is-mobile-preview .casa-help-drawer {
  width: 310px !important;
  max-width: calc(100% - 1rem) !important;
}

/* =========================================================================
   KINETIC SPOTLIGHT — DEDICATED DAILY SCRIPTURE CARD (LIGHT & NIGHT READY)
   ========================================================================= */
.kinetic-scripture-card {
  padding: 1.15rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #4B2B0F 0%, #7A4A1D 100%);
  border: 2px solid #E7AA51;
  box-shadow: 0 10px 28px rgba(122, 74, 29, 0.2);
  color: #FAF6F0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.studio-single-screen-app[data-theme="dark"] .kinetic-scripture-card {
  background: linear-gradient(135deg, #321C0A 0%, #4A290E 100%);
  border-color: #FFE499;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.kinetic-scripture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.kinetic-scripture-ref {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFE499;
}
.kinetic-scripture-verse {
  margin: 0.15rem 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  color: #FFE499;
  text-align: center;
}
.kinetic-scripture-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}
.kinetic-scripture-note {
  font-size: 0.78rem;
  color: #EFE5D8;
}
.kinetic-scripture-card .btn-outline {
  background: rgba(255, 228, 153, 0.14);
  color: #FFE499;
  border-color: rgba(255, 228, 153, 0.55);
}
.kinetic-scripture-card .btn-outline:hover {
  background: var(--gradient-gold-button);
  color: #3B210B;
}

/* =========================================================================
   ALL-IN-ONE OWNER COMMAND CENTER (/owner) — LIGHT & NIGHT + MOBILE READY
   ========================================================================= */
.owner-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.owner-range-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.owner-kpi-6-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.owner-kpi-card {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.owner-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-1);
}
.owner-split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}
.owner-product-bars {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.owner-prod-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.owner-prod-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}
.owner-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.owner-table-wrap {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  overflow-x: auto;
}
.owner-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.owner-table th,
.owner-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.owner-table th {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(221, 202, 178, 0.2);
}
.owner-notice-banner {
  margin: 0.65rem 1rem 0;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: rgba(231, 170, 81, 0.2);
  border: 1px solid var(--gold-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.studio-single-screen-app[data-theme="dark"] .owner-table-wrap {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.24);
}
.studio-single-screen-app[data-theme="dark"] .owner-table th {
  background: rgba(18, 9, 3, 0.6);
  color: #E2CBB0;
}
.studio-single-screen-app[data-theme="dark"] .owner-table td {
  color: #FAF6F0;
  border-bottom-color: rgba(255, 228, 153, 0.14);
}
@media (max-width: 1180px) {
  .owner-kpi-6-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 960px) {
  .owner-kpi-6-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .owner-split-2,
  .owner-quick-grid {
    grid-template-columns: 1fr !important;
  }
}
body.is-mobile-preview .owner-kpi-6-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}
body.is-mobile-preview .owner-split-2,
body.is-mobile-preview .owner-quick-grid {
  grid-template-columns: 1fr !important;
}

/* =========================================================================
   OWNER COMMAND CENTER — 3 BESPOKE INTERACTIVE LOOKS (NO BASIC / NO FLUFF)
   Cursor Lamp · Spotlight Borders · 3D Flip KPI · Vitals Ticker · Donut · Cmd+K
   ========================================================================= */
.owner-cursor-lamp {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(231, 170, 81, 0.14) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.owner-spotlight-card {
  position: relative;
  overflow: hidden;
}
.owner-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(231, 170, 81, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.owner-spotlight-card:hover::before {
  opacity: 1;
}

/* Live Vitals Scrolling Ticker (Featured in Look 2, Subtle Accent in Look 1 & 3) */
.owner-vitals-ticker {
  height: 30px;
  min-height: 30px;
  background: #3B210B;
  color: #FAF6F0;
  border-bottom: 1px solid rgba(255, 228, 153, 0.25);
  overflow: hidden;
  display: none;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.owner-look-2 .owner-vitals-ticker {
  display: flex;
}
.vitals-track {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  white-space: nowrap;
  padding-left: 1rem;
  animation: tickerScroll 28s linear infinite;
}
.vitals-track strong {
  color: #FFE499;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Look 2 Executive Left Rail */
.owner-look-2 .owner-exec-rail {
  display: flex;
}
.owner-hero-heading {
  margin: 0.2rem 0 0.15rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

/* 3D Flip & Tilt KPI Cards */
.owner-flip-wrap {
  perspective: 900px;
  min-height: 112px;
  border-radius: 14px;
  cursor: pointer;
}
.owner-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 112px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.owner-look-1 .owner-tilt-card:hover {
  transform: translateY(-4px) rotateX(3deg) rotateY(-3deg);
  transition: transform 0.25s ease;
}
.owner-look-3 .owner-flip-wrap:hover .owner-flip-inner,
.owner-look-3 .owner-flip-wrap.is-flipped .owner-flip-inner {
  transform: rotateY(180deg);
}
.owner-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}
.owner-look-3 .owner-flip-face {
  border-width: 2px;
  border-color: var(--gold-1);
}
.owner-flip-back {
  transform: rotateY(180deg);
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 228, 153, 0.24), rgba(221, 202, 178, 0.35));
}
.kpi-micro-hint {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* Bento Row: Donut + Offer Strips + Live Simulator */
.owner-bento-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}
.owner-donut-layout {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.owner-donut-box {
  flex-shrink: 0;
}
.owner-ring-bg { stroke: rgba(122, 74, 29, 0.16); }
.owner-ring-fill { stroke: #E7AA51; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }
.owner-ring-val { fill: var(--brand-brown); font-family: var(--font-title); font-size: 18px; }
.owner-ring-sub { fill: var(--text-muted); font-size: 7.5px; font-weight: 800; letter-spacing: 0.06em; }
.owner-offer-strip {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(221, 202, 178, 0.2);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.owner-offer-strip:hover {
  transform: translateX(3px);
  border-color: var(--gold-1);
}

/* Live 70% Payout Simulator */
.owner-sim-box {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(221, 202, 178, 0.24);
  border: 1px solid var(--border-subtle);
}
.owner-range-slider {
  width: 100%;
  accent-color: #8D5A1B;
  cursor: pointer;
}
.owner-sim-outputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.sim-pill {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 0.45rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-pill span {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.sim-pill strong {
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: var(--brand-brown);
}
.magnetic-cta {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.magnetic-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 170, 81, 0.35);
}

/* Command Palette (Ctrl+K / Cmd+K) */
.cmd-kbd {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.08rem 0.3rem;
  border-radius: 4px;
  background: rgba(122, 74, 29, 0.14);
}
.owner-cmd-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 15, 5, 0.62);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.owner-cmd-backdrop.is-open { display: flex; }
.owner-cmd-dialog {
  width: min(480px, calc(100vw - 1.5rem));
  background: var(--card-bg);
  border: 2px solid var(--gold-1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.owner-cmd-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}
.owner-cmd-head input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--brand-brown);
  outline: none;
}
.owner-cmd-list {
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.45rem;
}
.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--brand-brown);
}
.cmd-item:hover {
  background: rgba(221, 202, 178, 0.35);
}
.cmd-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Night Mode Overrides for Owner Interactive Components */
.studio-single-screen-app[data-theme="dark"] .owner-flip-face,
.studio-single-screen-app[data-theme="dark"] .sim-pill,
.studio-single-screen-app[data-theme="dark"] .owner-cmd-dialog {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.28);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .owner-flip-back,
.studio-single-screen-app[data-theme="dark"] .owner-sim-box,
.studio-single-screen-app[data-theme="dark"] .owner-offer-strip {
  background: rgba(18, 9, 3, 0.65);
  border-color: rgba(255, 228, 153, 0.22);
}
.studio-single-screen-app[data-theme="dark"] .owner-ring-val,
.studio-single-screen-app[data-theme="dark"] .sim-pill strong,
.studio-single-screen-app[data-theme="dark"] .kpi-micro-hint {
  fill: #FFE499;
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .owner-ring-sub,
.studio-single-screen-app[data-theme="dark"] .sim-pill span,
.studio-single-screen-app[data-theme="dark"] .cmd-item span {
  fill: #E2CBB0;
  color: #E2CBB0;
}
.studio-single-screen-app[data-theme="dark"] .owner-cmd-head input,
.studio-single-screen-app[data-theme="dark"] .cmd-item {
  color: #FAF6F0;
}

/* Mobile & Preview Frame Fit */
@media (max-width: 960px) {
  .owner-bento-row { grid-template-columns: 1fr !important; }
  .owner-donut-layout { flex-direction: column; align-items: stretch; }
  .owner-donut-box { display: flex; justify-content: center; }
  .owner-sim-outputs { grid-template-columns: 1fr !important; }
  .cmd-trigger-btn { display: none !important; }
}
body.is-mobile-preview .owner-bento-row { grid-template-columns: 1fr !important; }
body.is-mobile-preview .owner-donut-layout { flex-direction: column; align-items: stretch; }
body.is-mobile-preview .owner-donut-box { display: flex; justify-content: center; }
body.is-mobile-preview .owner-sim-outputs { grid-template-columns: 1fr !important; }
body.is-mobile-preview .cmd-trigger-btn { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .vitals-track,
  .gold-shimmer-num,
  .roadmap-track-glow { animation: none !important; }
}


/* ============================================================================
   OWNER COMMAND CENTER — EXTENDED SYSTEME.IO + KAJABI ($0/MO) COMPONENTS
   Notification Bell, Funnel Strip, CRM Kanban, IF->THEN Rules, Coupons, R2, 6 Domains
   ============================================================================ */

/* Notification Bell Popover */
.owner-notif-wrap {
  position: relative;
}
.owner-notif-btn {
  position: relative;
}
.owner-notif-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E7AA51;
  box-shadow: 0 0 0 2px var(--brand-ivory);
}
.owner-notif-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  max-width: calc(100vw - 1.5rem);
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(45, 25, 8, 0.24);
  z-index: 160;
  overflow: hidden;
}
.owner-notif-popover.is-open {
  display: block;
}
.owner-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}
.owner-notif-list {
  display: flex;
  flex-direction: column;
  max-height: 260px;
  overflow-y: auto;
}
.owner-notif-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  color: var(--brand-brown);
}
.owner-notif-item:hover {
  background: rgba(221, 202, 178, 0.32);
}
.owner-notif-item strong {
  font-size: 0.78rem;
}
.owner-notif-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Funnel Conversion & Free Stack Health Strip */
.owner-funnel-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.owner-funnel-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.owner-funnel-num {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--brand-brown);
  line-height: 1.15;
}

/* Inline Forms & Coupon Form */
.owner-inline-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.owner-inline-form .input {
  flex: 1;
  min-width: 140px;
}
.owner-coupon-form {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.7fr auto;
  gap: 0.45rem;
  align-items: center;
}

/* Lesson Drop-off Bars */
.owner-dropoff-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.owner-dropoff-row {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

/* Affiliate Leaderboard Strip */
.owner-leaderboard-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.owner-leader-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
}

/* Interactive CRM Pipeline Kanban */
.owner-crm-kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.owner-crm-col {
  background: rgba(221, 202, 178, 0.24);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 120px;
}
.owner-crm-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
}
.owner-crm-col-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.owner-crm-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.owner-crm-card strong {
  font-size: 0.76rem;
  line-height: 1.3;
}
.owner-crm-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
}

/* Visual IF -> THEN Automation Rules */
.owner-rules-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.owner-rule-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(221, 202, 178, 0.22);
  border: 1px solid var(--border-subtle);
}
.owner-rule-card strong {
  display: block;
  font-size: 0.8rem;
}
.owner-rule-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.owner-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 21px;
  flex-shrink: 0;
}
.owner-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.owner-switch span {
  position: absolute;
  inset: 0;
  background: rgba(122, 74, 29, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.owner-switch span::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--brand-ivory);
  transition: transform 0.2s ease;
}
.owner-switch input:checked + span {
  background: #8D5A1B;
}
.owner-switch input:checked + span::before {
  transform: translateX(17px);
}

/* 6-Domain Live Sites Grid */
.owner-domains-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.owner-domain-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(221, 202, 178, 0.22);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--brand-brown);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.owner-domain-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-1);
}

/* Night Mode Overrides for Extended Owner Components */
.studio-single-screen-app[data-theme="dark"] .owner-notif-popover,
.studio-single-screen-app[data-theme="dark"] .owner-funnel-card,
.studio-single-screen-app[data-theme="dark"] .owner-leader-pill,
.studio-single-screen-app[data-theme="dark"] .owner-crm-card {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.26);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .owner-crm-col,
.studio-single-screen-app[data-theme="dark"] .owner-rule-card,
.studio-single-screen-app[data-theme="dark"] .owner-domain-card {
  background: rgba(18, 9, 3, 0.65);
  border-color: rgba(255, 228, 153, 0.22);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .owner-notif-item {
  color: #FAF6F0;
  border-bottom-color: rgba(255, 228, 153, 0.14);
}
.studio-single-screen-app[data-theme="dark"] .owner-notif-item span,
.studio-single-screen-app[data-theme="dark"] .owner-rule-card span {
  color: #E2CBB0;
}
.studio-single-screen-app[data-theme="dark"] .owner-funnel-num {
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .owner-switch input:checked + span {
  background: #E7AA51;
}

/* Mobile & 390px Preview Frame Fit for Extended Owner Components */
@media (max-width: 960px) {
  .owner-funnel-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .owner-crm-kanban { grid-template-columns: 1fr !important; }
  .owner-domains-grid { grid-template-columns: 1fr !important; }
  .owner-coupon-form { grid-template-columns: 1fr 1fr !important; }
  .owner-inline-form { flex-direction: column; align-items: stretch; }
  .owner-inline-form .input { max-width: none !important; width: 100%; }
  .owner-notif-popover { right: -44px; width: 270px; }
}
body.is-mobile-preview .owner-funnel-strip { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
body.is-mobile-preview .owner-crm-kanban { grid-template-columns: 1fr !important; }
body.is-mobile-preview .owner-domains-grid { grid-template-columns: 1fr !important; }
body.is-mobile-preview .owner-coupon-form { grid-template-columns: 1fr 1fr !important; }
body.is-mobile-preview .owner-inline-form { flex-direction: column; align-items: stretch; }
body.is-mobile-preview .owner-inline-form .input { max-width: none !important; width: 100%; }
body.is-mobile-preview .owner-notif-popover { right: -44px; width: 270px; }


/* ============================================================================
   OWNER COMMAND CENTER — 3 SIGNATURE CREATIVE LOOKS ARCHITECTURES
   Look 1: Glass Atelier Bento (Aurora + Pulse Wave + Frosted Glass Tilt)
   Look 2: Executive Rail OS (Espresso Rail + Split-Pane Live Pulse Timeline)
   Look 3: Kinetic Studio Deck (8-Pillar SVG Radial Wheel + 3D Flip Cards)
   ============================================================================ */

/* Auto/Light/Night Theme Pill */
.theme-auto-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: auto !important;
  padding: 0 0.55rem !important;
  font-size: 0.72rem;
  font-weight: 700;
}
.theme-mode-lbl {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

/* Warm Desert Aurora Background (Look 1 Signature) */
.owner-aurora-bg {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(620px 380px at 14% 18%, rgba(231, 170, 81, 0.22), transparent 70%),
    radial-gradient(540px 340px at 86% 24%, rgba(141, 90, 27, 0.16), transparent 72%),
    radial-gradient(520px 320px at 52% 88%, rgba(255, 228, 153, 0.24), transparent 70%);
}
.owner-look-1 .owner-aurora-bg {
  display: block;
}
.owner-look-1[data-theme="dark"] .owner-aurora-bg {
  background:
    radial-gradient(620px 380px at 14% 18%, rgba(231, 170, 81, 0.14), transparent 70%),
    radial-gradient(540px 340px at 86% 24%, rgba(255, 228, 153, 0.10), transparent 72%),
    radial-gradient(520px 320px at 52% 88%, rgba(122, 74, 29, 0.25), transparent 70%);
}

/* Look 1 Frosted Glassmorphism Cards */
.owner-look-1 .aff-link-card,
.owner-look-1 .owner-hero-row,
.owner-look-1 .owner-funnel-card,
.owner-look-1 .owner-pulse-wave-card,
.owner-look-1 .owner-flip-face {
  background: rgba(241, 236, 228, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(231, 170, 81, 0.42);
  box-shadow: 0 10px 28px rgba(122, 74, 29, 0.08);
}
.owner-look-1[data-theme="dark"] .aff-link-card,
.owner-look-1[data-theme="dark"] .owner-hero-row,
.owner-look-1[data-theme="dark"] .owner-funnel-card,
.owner-look-1[data-theme="dark"] .owner-pulse-wave-card,
.owner-look-1[data-theme="dark"] .owner-flip-face {
  background: rgba(43, 24, 9, 0.78);
  border-color: rgba(255, 228, 153, 0.28);
}

/* Look 1 Signature Pulse Wave Card */
.owner-pulse-wave-card {
  display: none;
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.85rem;
}
.owner-look-1 .owner-pulse-wave-card {
  display: block;
}
.owner-wave-svg {
  width: 100%;
  height: 92px;
  display: block;
}
.owner-wave-stroke {
  stroke-dasharray: 900;
  stroke-dashoffset: 0;
  animation: casaWaveDraw 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes casaWaveDraw {
  from { stroke-dashoffset: 900; }
  to { stroke-dashoffset: 0; }
}
.owner-wave-dot {
  fill: #7A4A1D;
  stroke: #FFE499;
  stroke-width: 2;
}
.studio-single-screen-app[data-theme="dark"] .owner-wave-dot {
  fill: #FFE499;
  stroke: #2B1809;
}

/* Look 2 Signature Split-Pane Overview + Docked Live Pulse Timeline */
.owner-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.owner-look-2 .owner-overview-layout {
  grid-template-columns: minmax(0, 1fr) 285px;
}
.owner-exec-pulse-col {
  display: none;
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  border-radius: 16px;
  padding: 0.95rem;
  position: sticky;
  top: 0;
}
.owner-look-2 .owner-exec-pulse-col {
  display: block;
}
.owner-pulse-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.owner-pulse-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.22);
  cursor: pointer;
  color: var(--brand-brown);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.owner-pulse-item:hover {
  transform: translateX(3px);
  border-color: var(--gold-1);
}
.owner-pulse-tag {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8D5A1B;
}
.owner-pulse-item strong {
  font-size: 0.76rem;
  line-height: 1.3;
}
.owner-pulse-scripture {
  padding: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(122, 74, 29, 0.12), rgba(231, 170, 81, 0.18));
  border: 1px solid rgba(231, 170, 81, 0.45);
}

/* Look 3 Signature 8-Pillar Interactive SVG Business Command Wheel */
.owner-wheel-showcase {
  display: none;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 1.15rem;
  align-items: center;
  background: var(--card-bg);
  border: 2px solid var(--gold-1);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 14px 36px rgba(122, 74, 29, 0.12);
}
.owner-look-3 .owner-wheel-showcase {
  display: grid;
}
.owner-wheel-active-readout {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(221, 202, 178, 0.28);
  border: 1px solid var(--border-subtle);
}
.owner-wheel-dial-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.owner-wheel-svg {
  width: 270px;
  height: 270px;
  max-width: 100%;
  overflow: visible;
}
.wheel-outer-ring {
  fill: none;
  stroke: rgba(122, 74, 29, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.wheel-mid-ring {
  fill: none;
  stroke: rgba(231, 170, 81, 0.45);
  stroke-width: 1.5;
}
.wheel-node {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  transform-box: fill-box;
  transform-origin: center;
}
.wheel-node:hover,
.wheel-node.is-selected {
  transform: scale(1.12);
}
.wheel-node-bg {
  fill: var(--brand-ivory);
  stroke: #8D5A1B;
  stroke-width: 1.6;
  transition: fill 0.18s ease, stroke 0.18s ease;
}
.wheel-node.is-selected .wheel-node-bg,
.wheel-node:hover .wheel-node-bg {
  fill: #7A4A1D;
  stroke: #FFE499;
}
.wheel-node-title {
  font-family: var(--font-body);
  font-size: 8.2px;
  font-weight: 800;
  fill: #7A4A1D;
  pointer-events: none;
}
.wheel-node-val {
  font-family: var(--font-title);
  font-size: 9px;
  fill: #8D5A1B;
  pointer-events: none;
}
.wheel-node.is-selected .wheel-node-title,
.wheel-node:hover .wheel-node-title,
.wheel-node.is-selected .wheel-node-val,
.wheel-node:hover .wheel-node-val {
  fill: #FFE499;
}
.wheel-hub-bg {
  fill: #7A4A1D;
  stroke: #E7AA51;
  stroke-width: 3;
}
.wheel-hub-title {
  font-family: var(--font-title);
  font-size: 13px;
  fill: #FFE499;
}
.wheel-hub-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  fill: #F1ECE4;
}

/* Look 3 Kinetic Hero Title Sweep */
.owner-look-3 .owner-hero-heading {
  background: linear-gradient(90deg, #7A4A1D 0%, #E7AA51 45%, #8D5A1B 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerText 4.5s linear infinite;
}
.owner-look-3[data-theme="dark"] .owner-hero-heading {
  background: linear-gradient(90deg, #FAF6F0 0%, #FFE499 45%, #E7AA51 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Profile Trigger Link Button inside Tables */
.owner-profile-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(231, 170, 81, 0.65);
  text-underline-offset: 2px;
}
.owner-profile-trigger:hover {
  color: #8D5A1B;
}

/* Slide-Over Contact / Student Profile Drawer */
.owner-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 15, 5, 0.54);
  backdrop-filter: blur(4px);
  z-index: 210;
  justify-content: flex-end;
}
.owner-drawer-backdrop.is-open {
  display: flex;
}
.owner-drawer-panel {
  width: min(380px, 92vw);
  height: 100%;
  background: var(--card-bg);
  border-left: 2px solid var(--gold-1);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: -18px 0 44px rgba(0, 0, 0, 0.28);
}
.owner-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}
.owner-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Night Mode Overrides for 3 Signature Looks & Drawer */
.studio-single-screen-app[data-theme="dark"] .owner-exec-pulse-col,
.studio-single-screen-app[data-theme="dark"] .owner-wheel-showcase,
.studio-single-screen-app[data-theme="dark"] .owner-drawer-panel {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.3);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .owner-pulse-item,
.studio-single-screen-app[data-theme="dark"] .owner-wheel-active-readout {
  background: rgba(18, 9, 3, 0.65);
  border-color: rgba(255, 228, 153, 0.2);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .owner-pulse-tag {
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .wheel-node-bg {
  fill: #1C0F06;
  stroke: #E7AA51;
}
.studio-single-screen-app[data-theme="dark"] .wheel-node-title,
.studio-single-screen-app[data-theme="dark"] .wheel-node-val {
  fill: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .wheel-node.is-selected .wheel-node-bg,
.studio-single-screen-app[data-theme="dark"] .wheel-node:hover .wheel-node-bg {
  fill: #E7AA51;
  stroke: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .wheel-node.is-selected .wheel-node-title,
.studio-single-screen-app[data-theme="dark"] .wheel-node:hover .wheel-node-title,
.studio-single-screen-app[data-theme="dark"] .wheel-node.is-selected .wheel-node-val,
.studio-single-screen-app[data-theme="dark"] .wheel-node:hover .wheel-node-val {
  fill: #2B1809;
}

/* Mobile & 390px Preview Frame Fit for 3 Signature Looks */
@media (max-width: 960px) {
  .owner-look-2 .owner-overview-layout { grid-template-columns: 1fr !important; }
  .owner-exec-pulse-col { position: static !important; }
  .owner-wheel-showcase { grid-template-columns: 1fr !important; text-align: center; padding: 0.9rem; }
  .owner-wheel-active-readout { align-items: center; }
  .owner-wheel-svg { width: 245px; height: 245px; }
  .theme-mode-lbl { display: none; }
}
body.is-mobile-preview .owner-look-2 .owner-overview-layout { grid-template-columns: 1fr !important; }
body.is-mobile-preview .owner-exec-pulse-col { position: static !important; }
body.is-mobile-preview .owner-wheel-showcase { grid-template-columns: 1fr !important; text-align: center; padding: 0.9rem; }
body.is-mobile-preview .owner-wheel-active-readout { align-items: center; }
body.is-mobile-preview .owner-wheel-svg { width: 245px; height: 245px; }
body.is-mobile-preview .theme-mode-lbl { display: none; }


/* ============================================================================
   OWNER COMMAND CENTER — VISUAL QA POLISH FIXES (ZERO OVERFLOW, ZERO OVERLAP)
   ============================================================================ */

/* 1. Prevent any horizontal overflow across all 3 looks */
.owner-cc-app,
.owner-cc-app .portal-body-shell,
.owner-cc-app .portal-stage-viewport,
.owner-cc-app .portal-stage-scroll,
.owner-vitals-ticker {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* 2. High-Contrast Light & Night Text on Dark Espresso Bars (Ticker & Rail Scripture) */
.owner-vitals-ticker {
  color: #F1ECE4 !important;
}
.owner-vitals-ticker strong {
  color: #FFE499 !important;
}
.owner-exec-rail .exec-rail-scripture {
  background: rgba(18, 9, 3, 0.45) !important;
  border: 1px solid rgba(255, 228, 153, 0.35) !important;
  color: #FAF6F0 !important;
}
.owner-exec-rail .exec-rail-scripture .gold-shimmer-verse {
  color: #FFE499 !important;
  background: none !important;
  -webkit-text-fill-color: #FFE499 !important;
}

/* 3. Look 2 Desktop Split-Pane Center Column: 3x2 KPI Grid & Non-Overlapping Cards */
.owner-look-2 .owner-hero-row {
  flex-wrap: wrap;
  gap: 0.65rem;
}
.owner-look-2 .owner-kpi-6-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
}
.owner-cc-app .owner-flip-wrap {
  min-height: 112px;
  height: auto !important;
}
.owner-cc-app .owner-flip-inner {
  min-height: 112px;
}
.owner-cc-app .owner-flip-face {
  min-height: 112px;
}
.owner-look-2 .owner-bento-row {
  grid-template-columns: 1fr !important;
}

/* 4. Mobile (390px) & Preview Frame Header: Zero Logo / Look-Switcher Overlap */
@media (max-width: 960px) {
  .owner-cc-app .portal-top-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.25rem !important;
    padding: 0 0.45rem !important;
  }
  .owner-cc-app .app-bar-left {
    flex: 0 0 auto !important;
    min-width: auto !important;
  }
  .owner-cc-app .app-bar-title,
  .owner-cc-app .app-bar-divider {
    display: none !important;
  }
  .owner-cc-app .portal-look-switcher {
    position: static !important;
    transform: none !important;
    left: auto !important;
    margin: 0 !important;
    flex: 0 1 auto !important;
    gap: 2px !important;
    padding: 2px !important;
  }
  .owner-cc-app .studio-look-pill {
    padding: 0.22rem 0.36rem !important;
    font-size: 0.66rem !important;
    white-space: nowrap !important;
  }
  .owner-cc-app .portal-bar-actions {
    flex: 0 0 auto !important;
    gap: 0.25rem !important;
  }
  .owner-cc-app .portal-bar-actions .btn-micro {
    padding: 0.25rem 0.45rem !important;
    font-size: 0.68rem !important;
  }
  .owner-look-2 .owner-kpi-6-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
body.is-mobile-preview .owner-cc-app .portal-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.25rem !important;
  padding: 0 0.45rem !important;
}
body.is-mobile-preview .owner-cc-app .app-bar-left {
  flex: 0 0 auto !important;
  min-width: auto !important;
}
body.is-mobile-preview .owner-cc-app .app-bar-title,
body.is-mobile-preview .owner-cc-app .app-bar-divider {
  display: none !important;
}
body.is-mobile-preview .owner-cc-app .portal-look-switcher {
  position: static !important;
  transform: none !important;
  left: auto !important;
  margin: 0 !important;
  flex: 0 1 auto !important;
  gap: 2px !important;
  padding: 2px !important;
}
body.is-mobile-preview .owner-cc-app .studio-look-pill {
  padding: 0.22rem 0.36rem !important;
  font-size: 0.66rem !important;
  white-space: nowrap !important;
}
body.is-mobile-preview .owner-cc-app .portal-bar-actions {
  flex: 0 0 auto !important;
  gap: 0.25rem !important;
}
body.is-mobile-preview .owner-cc-app .portal-bar-actions .btn-micro {
  padding: 0.25rem 0.45rem !important;
  font-size: 0.68rem !important;
}
body.is-mobile-preview .owner-look-2 .owner-kpi-6-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}


/* ============================================================================
   OWNER COMMAND CENTER — 100% PARITY ACROSS ALL 3 CONCEPTS + DAILY SCRIPTURE STUDIO
   ============================================================================ */

/* 1. Explicit 3-Mode Theme Segmented Control (Light | Auto | Night) */
.owner-theme-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(122, 74, 29, 0.12);
  border: 1px solid var(--border-subtle);
}
.owner-theme-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.owner-theme-opt.is-active {
  background: #7A4A1D;
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .owner-theme-seg {
  background: rgba(255, 228, 153, 0.12);
  border-color: rgba(255, 228, 153, 0.25);
}
.studio-single-screen-app[data-theme="dark"] .owner-theme-opt {
  color: #F1ECE4;
}
.studio-single-screen-app[data-theme="dark"] .owner-theme-opt.is-active {
  background: #E7AA51;
  color: #2B1809;
}

/* 2. 100% Feature Parity: ALL signature modules ALWAYS visible in ALL 3 Concepts! */
.owner-cc-app .owner-wheel-showcase {
  display: grid !important;
}
.owner-cc-app .owner-pulse-wave-card {
  display: block !important;
}
.owner-cc-app .owner-exec-pulse-col {
  display: block !important;
  position: static !important;
}

/* 3. Full Interactive Daily Scripture Studio (Mandatory in ALL 3 Concepts) */
.owner-companion-col {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 0.85rem;
  align-items: start;
}
.owner-scripture-studio {
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.scripture-studio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.scripture-ref-pill {
  font-size: 0.76rem;
  font-weight: 800;
  color: #8D5A1B;
  margin-left: 0.4rem;
}
.scripture-nav-arrows {
  display: inline-flex;
  gap: 0.3rem;
}
.scripture-verse-quote {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid #E7AA51;
  background: rgba(221, 202, 178, 0.24);
  border-radius: 0 12px 12px 0;
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--brand-brown);
}
.scripture-study-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.scripture-study-box {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(221, 202, 178, 0.18);
  border: 1px solid var(--border-subtle);
}
.scripture-study-box p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--brand-brown);
}
.scripture-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.scripture-actions-bar .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.scripture-history-drawer {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-subtle);
}
.scripture-history-drawer.is-open {
  display: flex;
}
.scripture-history-tabs {
  display: flex;
  gap: 0.4rem;
}
.scripture-history-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.4rem;
  max-height: 160px;
  overflow-y: auto;
}
.scripture-history-item {
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: rgba(221, 202, 178, 0.2);
  color: var(--brand-brown);
  cursor: pointer;
}
.scripture-history-item.is-current {
  border-color: #E7AA51;
  background: rgba(231, 170, 81, 0.22);
}
.scripture-history-item strong {
  display: block;
  font-size: 0.75rem;
}
.scripture-history-item span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ============================================================================
   CONCEPT I (?olook=1): GLASS ATELIER BENTO
   Frosted Glassmorphism · 20px Soft Radius · Luminous Gold Rim · Aurora Canvas
   ============================================================================ */
.owner-look-1 .owner-scripture-studio,
.owner-look-1 .owner-wheel-showcase,
.owner-look-1 .owner-exec-pulse-col,
.owner-look-1 .aff-link-card,
.owner-look-1 .owner-hero-row,
.owner-look-1 .owner-funnel-card,
.owner-look-1 .owner-pulse-wave-card {
  border-radius: 20px;
  background: rgba(241, 236, 228, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(231, 170, 81, 0.44);
}
.owner-look-1 .owner-overview-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ============================================================================
   CONCEPT II (?olook=2): EXECUTIVE RAIL OS
   Espresso Left Rail · Crisp 10px Hairline Cards · Asymmetrical Split-Pane Deck
   ============================================================================ */
.owner-look-2 .owner-overview-layout {
  grid-template-columns: minmax(0, 1fr) 315px !important;
  gap: 0.9rem;
}
.owner-look-2 .owner-companion-col {
  grid-template-columns: 1fr !important;
  position: sticky;
  top: 0;
}
.owner-look-2 .scripture-study-blocks {
  grid-template-columns: 1fr !important;
}
.owner-look-2 .owner-scripture-studio,
.owner-look-2 .owner-wheel-showcase,
.owner-look-2 .owner-exec-pulse-col,
.owner-look-2 .aff-link-card,
.owner-look-2 .owner-hero-row,
.owner-look-2 .owner-funnel-card,
.owner-look-2 .owner-pulse-wave-card {
  border-radius: 10px !important;
  border-left: 4px solid #7A4A1D !important;
  box-shadow: 0 4px 14px rgba(122, 74, 29, 0.08);
}
.owner-look-2 .owner-wheel-showcase {
  grid-template-columns: 1fr !important;
}

/* ============================================================================
   CONCEPT III (?olook=3): KINETIC STUDIO DECK
   Gold Top Studio Ribbons · Elevated Radial Dial First · Tap-to-Flip 3D KPIs
   ============================================================================ */
.owner-look-3 .owner-overview-main {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.owner-look-3 .owner-hero-row { order: 1; }
.owner-look-3 .owner-wheel-showcase { order: 2; }
.owner-look-3 .owner-kpi-6-grid { order: 3; }
.owner-look-3 .owner-bento-row { order: 4; }
.owner-look-3 .owner-pulse-wave-card { order: 5; }
.owner-look-3 .owner-funnel-strip { order: 6; }

.owner-look-3 .owner-scripture-studio,
.owner-look-3 .owner-wheel-showcase,
.owner-look-3 .owner-exec-pulse-col,
.owner-look-3 .aff-link-card,
.owner-look-3 .owner-hero-row,
.owner-look-3 .owner-pulse-wave-card {
  border-radius: 14px;
  border-top: 4px solid #E7AA51 !important;
  box-shadow: 0 12px 30px rgba(122, 74, 29, 0.12);
}

/* Night Mode Overrides for Daily Scripture Studio & All 3 Concepts */
.studio-single-screen-app[data-theme="dark"] .owner-scripture-studio {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.32);
  color: #FAF6F0;
}
.owner-look-1[data-theme="dark"] .owner-scripture-studio,
.owner-look-1[data-theme="dark"] .owner-wheel-showcase,
.owner-look-1[data-theme="dark"] .owner-exec-pulse-col {
  background: rgba(43, 24, 9, 0.82);
}
.owner-look-2[data-theme="dark"] .owner-scripture-studio,
.owner-look-2[data-theme="dark"] .owner-wheel-showcase,
.owner-look-2[data-theme="dark"] .owner-exec-pulse-col,
.owner-look-2[data-theme="dark"] .aff-link-card,
.owner-look-2[data-theme="dark"] .owner-hero-row,
.owner-look-2[data-theme="dark"] .owner-funnel-card,
.owner-look-2[data-theme="dark"] .owner-pulse-wave-card {
  border-left-color: #E7AA51 !important;
}
.studio-single-screen-app[data-theme="dark"] .scripture-ref-pill {
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .scripture-verse-quote {
  background: rgba(18, 9, 3, 0.65);
  color: #FFE499;
}
.studio-single-screen-app[data-theme="dark"] .scripture-study-box,
.studio-single-screen-app[data-theme="dark"] .scripture-history-item {
  background: rgba(18, 9, 3, 0.58);
  border-color: rgba(255, 228, 153, 0.22);
  color: #FAF6F0;
}
.studio-single-screen-app[data-theme="dark"] .scripture-study-box p {
  color: #F1ECE4;
}
.studio-single-screen-app[data-theme="dark"] .scripture-history-item span {
  color: #E2CBB0;
}

/* Tablet (769px - 1100px) & Mobile (<= 960px + body.is-mobile-preview) Responsive Polish */
@media (max-width: 1120px) {
  .owner-look-2 .owner-overview-layout { grid-template-columns: 1fr !important; }
  .owner-look-2 .owner-companion-col { position: static !important; }
  .owner-companion-col { grid-template-columns: 1fr !important; }
}
@media (max-width: 960px) {
  .owner-theme-opt span { display: none !important; }
  .owner-theme-opt { padding: 0.22rem 0.34rem !important; }
  .owner-student-link { display: none !important; }
  .scripture-study-blocks { grid-template-columns: 1fr !important; }
  .owner-companion-col { grid-template-columns: 1fr !important; }
}
body.is-mobile-preview .owner-theme-opt span { display: none !important; }
body.is-mobile-preview .owner-theme-opt { padding: 0.22rem 0.34rem !important; }
body.is-mobile-preview .owner-student-link { display: none !important; }
body.is-mobile-preview .scripture-study-blocks { grid-template-columns: 1fr !important; }
body.is-mobile-preview .owner-companion-col { grid-template-columns: 1fr !important; }


/* ============================================================================
   SINGLE-SCREEN ALL-IN-ONE OWNER COCKPIT (MINIMAL VERTICAL SCROLL)
   3 Distinct Workspace Geometries · 100% Feature Parity · Light & Night Themes
   ============================================================================ */

.owner-cockpit-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.owner-cockpit-hero {
  padding: 0.65rem 1rem !important;
  margin-bottom: 0 !important;
}
.owner-cockpit-hero .owner-hero-heading {
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
  line-height: 1.1;
}
.owner-cockpit-kpis {
  margin-bottom: 0 !important;
}
.owner-cockpit-kpis .owner-flip-wrap,
.owner-cockpit-kpis .owner-flip-inner,
.owner-cockpit-kpis .owner-flip-face {
  min-height: 92px !important;
}
.owner-cockpit-kpis .owner-flip-face {
  padding: 0.6rem 0.75rem !important;
}
.owner-cockpit-kpis .aff-metric-value {
  font-size: 1.32rem !important;
}

/* Single-Screen 2-Pane Cockpit Stage */
.owner-cockpit-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 0.8rem;
  align-items: stretch;
}

/* Interactive 4-Lens Visual Deck */
.owner-lens-deck {
  background: var(--card-bg);
  border: 1.5px solid var(--gold-1);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.owner-lens-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(122, 74, 29, 0.09);
  border: 1px solid var(--border-subtle);
}
.owner-lens-tab {
  flex: 1 1 auto;
  padding: 0.4rem 0.65rem;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--brand-brown);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
}
.owner-lens-tab:hover {
  background: rgba(231, 170, 81, 0.2);
}
.owner-lens-tab.is-active {
  background: #7A4A1D;
  color: #FFE499;
  box-shadow: 0 4px 12px rgba(122, 74, 29, 0.2);
}
.owner-lens-pane {
  display: none;
  animation: ownerLensFade 0.24s ease;
}
.owner-lens-pane.is-active {
  display: block;
}
@keyframes ownerLensFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Clean inner wheel inside lens deck (no double border) */
.owner-lens-deck .owner-wheel-showcase {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0.15rem 0 !important;
  margin: 0 !important;
  grid-template-columns: minmax(0, 1fr) 248px !important;
}
.owner-lens-deck .owner-wheel-svg {
  width: 242px;
  height: 242px;
}

/* ============================================================================
   3 GENUINELY DIFFERENT SINGLE-SCREEN ARCHITECTURES
   ============================================================================ */

/* Concept I (?olook=1): Glass Atelier Bento — Soft 20px Glassmorphism + Aurora */
.owner-look-1 .owner-lens-deck,
.owner-look-1 .owner-scripture-studio {
  border-radius: 20px;
  background: rgba(241, 236, 228, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(231, 170, 81, 0.45);
}

/* Concept II (?olook=2): Executive Rail OS — Espresso Rail + Architectural 10px Deck */
.owner-look-2 .owner-cockpit-stage {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}
.owner-look-2 .owner-lens-deck,
.owner-look-2 .owner-scripture-studio {
  border-radius: 10px !important;
  border-left: 4px solid #7A4A1D !important;
}
.owner-look-2 .owner-lens-deck .owner-wheel-showcase {
  grid-template-columns: minmax(0, 1fr) 215px !important;
}
.owner-look-2 .owner-lens-deck .owner-wheel-svg {
  width: 210px;
  height: 210px;
}

/* Concept III (?olook=3): Kinetic Studio Deck — Inverted Editorial Cockpit (Scripture Left, Dial Right) */
.owner-look-3 .owner-cockpit-stage {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
}
.owner-look-3 .owner-scripture-studio {
  order: 1;
  border-top: 4px solid #E7AA51 !important;
}
.owner-look-3 .owner-lens-deck {
  order: 2;
  border-top: 4px solid #E7AA51 !important;
}

/* Night Mode Overrides for Cockpit Lens Deck */
.studio-single-screen-app[data-theme="dark"] .owner-lens-deck {
  background: #2B1809;
  border-color: rgba(255, 228, 153, 0.3);
  color: #FAF6F0;
}
.owner-look-1[data-theme="dark"] .owner-lens-deck {
  background: rgba(43, 24, 9, 0.82);
}
.owner-look-2[data-theme="dark"] .owner-lens-deck {
  border-left-color: #E7AA51 !important;
}
.studio-single-screen-app[data-theme="dark"] .owner-lens-bar {
  background: rgba(18, 9, 3, 0.6);
  border-color: rgba(255, 228, 153, 0.2);
}
.studio-single-screen-app[data-theme="dark"] .owner-lens-tab {
  color: #F1ECE4;
}
.studio-single-screen-app[data-theme="dark"] .owner-lens-tab.is-active {
  background: #E7AA51;
  color: #2B1809;
}

/* Tablet & Mobile Fit for Single-Screen Cockpit */
@media (max-width: 1120px) {
  .owner-cockpit-stage,
  .owner-look-2 .owner-cockpit-stage,
  .owner-look-3 .owner-cockpit-stage {
    grid-template-columns: 1fr !important;
  }
  .owner-lens-deck .owner-wheel-showcase,
  .owner-look-2 .owner-lens-deck .owner-wheel-showcase {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}
@media (max-width: 960px) {
  .owner-lens-tab { font-size: 0.7rem; padding: 0.35rem 0.45rem; }
}
body.is-mobile-preview .owner-cockpit-stage,
body.is-mobile-preview .owner-look-2 .owner-cockpit-stage,
body.is-mobile-preview .owner-look-3 .owner-cockpit-stage {
  grid-template-columns: 1fr !important;
}
body.is-mobile-preview .owner-lens-deck .owner-wheel-showcase,
body.is-mobile-preview .owner-look-2 .owner-lens-deck .owner-wheel-showcase {
  grid-template-columns: 1fr !important;
  text-align: center;
}
body.is-mobile-preview .owner-lens-tab { font-size: 0.7rem; padding: 0.35rem 0.45rem; }


/* Ensure Look 2 & all Cockpit bands never shrink or overlap */
.owner-cockpit-hero,
.owner-cockpit-kpis,
.owner-cockpit-stage {
  flex-shrink: 0 !important;
}
.owner-cockpit-hero {
  min-height: 50px;
}
.owner-look-2 .owner-cockpit-kpis {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0.45rem !important;
}
.owner-look-2 .owner-cockpit-kpis .aff-metric-value {
  font-size: 1.15rem !important;
}
@media (max-width: 1120px) {
  .owner-look-2 .owner-cockpit-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 960px) {
  .owner-look-2 .owner-cockpit-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
body.is-mobile-preview .owner-look-2 .owner-cockpit-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}


/* ============================================================================
   CASA DIGITAL CORNERS HUB WEBSITE POLISH (ONLY body.is-cdc-hub)
   1. Exact 5-Stop Metallic Gradient Gold Pill Buttons (#e7aa51 #ffe499 #8d5a1b #e7aa51 #ac7031)
   2. Larger 2-Line Pills for Casa Edits & Casa Slides (.cdc-pill-lg)
   3. Light / Night Mode Toggle for Web & Mobile
   ============================================================================ */

/* 1. Metallic 5-Stop Gradient Gold Primary Buttons (ONLY on Casa Digital Corners website) */
body.is-cdc-hub .btn-primary {
  background: linear-gradient(122deg, #e7aa51 0%, #ffe499 26%, #8d5a1b 52%, #e7aa51 78%, #ac7031 100%) !important;
  color: #231205 !important;
  border: 1.5px solid #8d5a1b !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 18px rgba(141, 90, 27, 0.28), inset 0 1px 0 rgba(255, 244, 212, 0.7) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
}
body.is-cdc-hub .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(141, 90, 27, 0.36), inset 0 1px 0 rgba(255, 244, 212, 0.85) !important;
}

/* 2. Larger Crisp 2-Line Badges for Casa Edits & Casa Slides */
.cdc-pill-lg {
  font-size: 0.98rem !important;
  line-height: 1.48 !important;
  border-radius: 18px !important;
  padding: 0.58rem 1.2rem !important;
  display: inline-block !important;
}
@media (max-width: 768px) {
  .cdc-pill-lg {
    font-size: 0.86rem !important;
    padding: 0.5rem 0.95rem !important;
  }
}
body.is-mobile-preview .cdc-pill-lg {
  font-size: 0.86rem !important;
  padding: 0.5rem 0.95rem !important;
}

/* 3. Header Light / Night Mode Toggle Button */
.site-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(122, 74, 29, 0.28);
  background: rgba(241, 236, 228, 0.9);
  color: #7A4A1D;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.site-theme-btn:hover {
  border-color: #E7AA51;
  transform: translateY(-1px);
}
.site-theme-btn .st-sun { display: none; }
.site-theme-btn .st-moon { display: block; }
html[data-site-theme="dark"] .site-theme-btn {
  background: #2B1809;
  color: #FFE499;
  border-color: rgba(255, 228, 153, 0.38);
}
html[data-site-theme="dark"] .site-theme-btn .st-sun { display: block; }
html[data-site-theme="dark"] .site-theme-btn .st-moon { display: none; }

/* 4. Full Polished Night Mode for Casa Digital Corners Website (Web + Mobile) */
html[data-site-theme="dark"] body.is-cdc-hub {
  --bg-page: #150C05;
  --bg-desert: #1E1107;
  --card-bg: #241509;
  --text-main: #FAF6F0;
  --text-muted: #DEC8AF;
  --border-subtle: rgba(255, 228, 153, 0.18);
  --border-strong: rgba(255, 228, 153, 0.36);
  background: #150C05 !important;
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .site-header {
  background: rgba(21, 12, 5, 0.94) !important;
  border-bottom-color: rgba(255, 228, 153, 0.18) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .brand-mark-text,
html[data-site-theme="dark"] body.is-cdc-hub .nav-link,
html[data-site-theme="dark"] body.is-cdc-hub .mobile-menu-btn {
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .mobile-menu-btn {
  border-color: rgba(255, 228, 153, 0.35) !important;
  background: #2B1809 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .site-nav[data-open="true"] {
  background: #1C1006 !important;
  border-bottom-color: rgba(255, 228, 153, 0.22) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .section,
html[data-site-theme="dark"] body.is-cdc-hub main {
  background: #150C05 !important;
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .section-desert {
  background: #1E1107 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub h1,
html[data-site-theme="dark"] body.is-cdc-hub h2,
html[data-site-theme="dark"] body.is-cdc-hub h3,
html[data-site-theme="dark"] body.is-cdc-hub .subtitle-text,
html[data-site-theme="dark"] body.is-cdc-hub .regular-text {
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .hero-shimmer {
  background: linear-gradient(95deg, #FAF6F0 0%, #FFE499 48%, #E7AA51 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .font-accent {
  color: #FFE499 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .text-muted {
  color: #DEC8AF !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .card,
html[data-site-theme="dark"] body.is-cdc-hub .card-desert,
html[data-site-theme="dark"] body.is-cdc-hub .hero-card-look2-front,
html[data-site-theme="dark"] body.is-cdc-hub .guide-page-card,
html[data-site-theme="dark"] body.is-cdc-hub .faq-card,
html[data-site-theme="dark"] body.is-cdc-hub .slide-card-mini {
  background: #241509 !important;
  border-color: rgba(255, 228, 153, 0.28) !important;
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .accordion-trigger {
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .btn-outline {
  color: #FFE499 !important;
  border-color: rgba(255, 228, 153, 0.45) !important;
  background: rgba(43, 24, 9, 0.55) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .chapter-step-pill {
  background: #2D190A !important;
  color: #FFE499 !important;
  border: 1px solid rgba(255, 228, 153, 0.35) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .input {
  background: #1B0F06 !important;
  color: #FAF6F0 !important;
  border-color: rgba(255, 228, 153, 0.3) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .dca-browser-body {
  background: #1B0F06 !important;
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .slide-cycle-hint {
  background: #2B1809 !important;
  color: #FFE499 !important;
  border: 1px solid rgba(255, 228, 153, 0.42) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .future-art-note {
  background: rgba(36, 21, 9, 0.85) !important;
  color: #DEC8AF !important;
  border-color: rgba(255, 228, 153, 0.32) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .reels-studio-stage,
html[data-site-theme="dark"] body.is-cdc-hub .interactive-slide-deck {
  background: #241509 !important;
  border-color: rgba(255, 228, 153, 0.28) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .reels-timeline {
  background: #1B0F06 !important;
  border: 1px solid rgba(255, 228, 153, 0.22) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .slide-card-mini.is-front-slide {
  background: linear-gradient(155deg, #3C230E 0%, #241509 100%) !important;
  border-color: #E7AA51 !important;
  box-shadow: 0 10px 26px rgba(231, 170, 81, 0.25) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .badge-gold {
  color: #3A1F0A !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .site-footer {
  background: #120A04 !important;
  border-top-color: rgba(255, 228, 153, 0.2) !important;
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .site-footer a {
  color: #FFE499 !important;
}
html[data-site-theme="dark"] body.is-mobile-preview.is-cdc-hub main {
  background: #150C05 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog {
  background: #241509 !important;
  color: #FAF6F0 !important;
  border: 1.5px solid rgba(255, 228, 153, 0.36) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog h2,
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog h3,
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog label,
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog .label {
  color: #FAF6F0 !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog .text-muted {
  color: #DEC8AF !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .modal-close {
  background: #2B1809 !important;
  color: #FFE499 !important;
  border: 1px solid rgba(255, 228, 153, 0.38) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog .input::placeholder {
  color: rgba(222, 200, 175, 0.65) !important;
}
html[data-site-theme="dark"] body.is-cdc-hub .modal-dialog .notice {
  background: #2B1809 !important;
  color: #FFE499 !important;
  border-color: rgba(255, 228, 153, 0.35) !important;
}
body.is-mobile-preview .modal-dialog {
  width: calc(100% - 28px) !important;
  max-width: 362px !important;
  padding: 1.35rem 1.15rem !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-y: auto !important;
}
body.is-mobile-preview .modal-dialog h2 {
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}
@media (max-width: 480px) {
  .modal-dialog {
    width: calc(100% - 24px) !important;
    max-width: 366px !important;
    padding: 1.35rem 1.15rem !important;
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;
  }
}


/* Mobile-Only Line Breaks & Typography Polish (Images 1–8) */
.cdc-mob-br {
  display: none;
}
.cdc-desk-dot {
  display: inline;
}
@media (max-width: 768px) {
  .cdc-mob-br { display: inline !important; }
  .cdc-desk-dot { display: none !important; }
  .cdc-pill-lg {
    font-size: 0.96rem !important;
    padding: 0.55rem 0.98rem !important;
  }
  .footer-tagline-line {
    font-size: clamp(0.84rem, 3.8vw, 0.94rem) !important;
    white-space: nowrap !important;
  }
}
body.is-mobile-preview .cdc-mob-br { display: inline !important; }
body.is-mobile-preview .cdc-desk-dot { display: none !important; }
body.is-mobile-preview .cdc-pill-lg {
  font-size: 0.96rem !important;
  padding: 0.55rem 0.98rem !important;
}
body.is-mobile-preview .footer-tagline-line {
  font-size: 0.9rem !important;
  white-space: nowrap !important;
}


/* Casa Edits Mobile-Only Polish: 1-Line Top Phrase + Copy Above Visual Card */
@media (max-width: 768px) {
  .cdc-pill-edits {
    font-size: clamp(0.74rem, 3.35vw, 0.84rem) !important;
    padding: 0.52rem 0.8rem !important;
  }
  #ch-edits .chapter-split--reverse > div:first-child { order: 2 !important; }
  #ch-edits .chapter-split--reverse > div:last-child { order: 1 !important; }
}
body.is-mobile-preview .cdc-pill-edits {
  font-size: 0.78rem !important;
  padding: 0.52rem 0.78rem !important;
}
body.is-mobile-preview #ch-edits .chapter-split--reverse > div:first-child { order: 2 !important; }
body.is-mobile-preview #ch-edits .chapter-split--reverse > div:last-child { order: 1 !important; }
