/* ========================================================
   BARCA PUBLISHING — HIGH-IMPACT VISUAL & CTA DESIGN SYSTEM
   ======================================================== */

/* 1. TYPOGRAPHY: STRICT NON-SERIF AUTHORITY EVERYWHERE EXCEPT LOGO */
body, h1, h2, h3, h4, p, span, button, a, div {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Cormorant Garamond exclusively locked to Brand Logo Mark */
.site-brand, .brand-logo {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

/* Manifest Headline: Bold, Modern Authority */
.tn-head h2, h1.main-title, #deck-showcase h2 {
  font-family: Inter, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(28px, 2.7vw, 42px) !important;
  letter-spacing: -0.025em !important;
  color: #161A1F !important;
  line-height: 1.2 !important;
}

/* 2. PHYSICAL SUITE TILES: DARK LUXURY & TACTILE DEPTH
   (.suite-card-tab is the class the page actually renders) */
.dc-heroes {
  gap: 16px !important;
  padding: 10px 0 !important;
}

.suite-card, .suite-card-tab {
  background: #161A1F !important;
  border: 1px solid rgba(212, 168, 67, 0.4) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  padding: 16px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.suite-card:hover, .suite-card-tab:hover {
  transform: translateY(-4px) !important;
  border-color: #D4A843 !important;
  box-shadow: 0 16px 36px rgba(212, 168, 67, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* the active suite stays visibly selected */
.suite-card-tab[aria-selected="true"] {
  border-color: #D4A843 !important;
  box-shadow: 0 0 0 1px #D4A843, 0 16px 36px rgba(212, 168, 67, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.suite-card .suite-num, .suite-card span:first-child, .suite-card-tab .suite-tag {
  color: #D4A843 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.suite-card h4, .suite-card strong, .suite-card .title, .suite-card-tab .card-title {
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin: 6px 0 4px 0 !important;
}

.suite-card p, .suite-card .desc, .suite-card-tab .card-subtitle {
  color: #A09D98 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

/* Suite Price Pill: Radiant Gold Accent */
.suite-card span[class*="price"], .suite-card .pill, .suite-card [class*="badge"], .suite-card-tab .suite-badge {
  background: linear-gradient(135deg, #E5BA55 0%, #D4A843 100%) !important;
  color: #161A1F !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

/* 3. SOVEREIGN TERMINAL: CINEMATIC BOARDROOM STAGING */
#dc-stage {
  background: #0D0F12 !important;
  border: 1px solid #D4A843 !important;
  border-radius: 10px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* 4. HIGH-CONVERTING ACTION BUTTONS */
.btn-buy, .btn-card-buy, #dc-stage button[class*="acquire"], button.primary-cta {
  background: linear-gradient(180deg, #E5BA55 0%, #D4A843 100%) !important;
  color: #161A1F !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border: 1px solid #FFE29A !important;
  border-radius: 6px !important;
  padding: 13px 24px !important;
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.35) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-buy:hover, .btn-card-buy:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(212, 168, 67, 0.5) !important;
}

/* ========================================================
   HIGH-IMPACT SUITE CARD ACTIVE / SELECTED STATE
   (.suite-card-tab is the rendered class; selection is driven by aria-selected,
    never :first-child, so the gold card follows whichever suite is chosen)
   ======================================================== */

/* 1. INACTIVE SUITE CARDS (ELEVATED DARK LUXURY) */
.suite-card, .suite-card-tab {
  background: #12141A !important;
  border: 1px solid rgba(212, 168, 67, 0.25) !important;
  opacity: 0.85;
  transform: translateY(0);
}
.suite-card:hover, .suite-card-tab:hover {
  opacity: 1 !important;
  border-color: rgba(212, 168, 67, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* Inactive card pills */
.suite-card span[class*="price"], .suite-card .pill, .suite-card [class*="badge"],
.suite-card-tab .suite-badge {
  background: rgba(212, 168, 67, 0.15) !important;
  color: #D4A843 !important;
  border: 1px solid rgba(212, 168, 67, 0.3) !important;
  box-shadow: none !important;
}

/* 2. ACTIVE / SELECTED SUITE CARD (RADIANT SOLID GOLD) */
.suite-card.active, .suite-card[aria-selected="true"], .suite-card.selected,
.suite-card-tab[aria-selected="true"] {
  background: linear-gradient(135deg, #F3D17A 0%, #D4A843 60%, #B88A28 100%) !important;
  border: 1px solid #FFE29A !important;
  opacity: 1 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 32px rgba(212, 168, 67, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
  position: relative !important;
}

/* Active card typography (deep contrast on gold) */
.suite-card.active .suite-num, .suite-card.active span:first-child,
.suite-card-tab[aria-selected="true"] .suite-tag {
  color: #5C4105 !important;
  font-weight: 800 !important;
}
.suite-card.active h4, .suite-card.active strong, .suite-card.active .title,
.suite-card-tab[aria-selected="true"] .card-title {
  color: #0E1015 !important;
  font-weight: 800 !important;
}
.suite-card.active p, .suite-card.active .desc,
.suite-card-tab[aria-selected="true"] .card-subtitle {
  color: #2D2310 !important;
  font-weight: 600 !important;
}

/* Active card price pill: contrast midnight tag */
.suite-card.active span[class*="price"], .suite-card.active .pill, .suite-card.active [class*="badge"],
.suite-card-tab[aria-selected="true"] .suite-badge {
  background: #0E1015 !important;
  color: #F7D788 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}

/* Downward pointer tab connecting the selected card to the stage */
.suite-card.active::after, .suite-card-tab[aria-selected="true"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: -9px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 9px solid transparent !important;
  border-right: 9px solid transparent !important;
  border-top: 9px solid #D4A843 !important;
}

/* ========================================================
   SLIDE THUMBNAIL STRIP: CRISP PREVIEWS & ZERO GRAY MASKS
   (the page's thumbnails are .dc-tab; the grey look came from opacity:.65 on their <img>)
   ======================================================== */
#deck-showcase .dc-tab img,
.deck-thumb img, .slide-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
}

#deck-showcase .dc-tab,
.deck-thumb, .slide-thumb {
  border-radius: 4px !important;
  overflow: hidden !important;
  border: 1px solid rgba(26, 23, 20, 0.18) !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

/* no opacity veil on inactive thumbnails: a 0.9 opacity over the cream page washes dark plates to grey */
#deck-showcase .dc-tab { opacity: 1 !important; }

#deck-showcase .dc-tab:hover,
.deck-thumb:hover, .slide-thumb:hover {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  border-color: #D4A843 !important;
  box-shadow: 0 6px 16px rgba(212, 168, 67, 0.25) !important;
}

/* active slide thumbnail: follows the selected slide (aria-selected), not :first-child */
#deck-showcase .dc-tab[aria-selected="true"],
.deck-thumb.active, .slide-thumb.active, .deck-thumb[aria-selected="true"] {
  border: 2px solid #D4A843 !important;
  box-shadow: 0 6px 18px rgba(212, 168, 67, 0.4), 0 0 0 1px #FFE29A inset !important;
  transform: translateY(-2px) scale(1.03) !important;
  opacity: 1 !important;
}

/* ========================================================
   ARCHIVAL SLIDE THUMBNAILS WITH CRISP LABELS (.dc-tab)
   white card, 16:9 real plate, gold number + real slide title
   ======================================================== */
#deck-showcase .dc-strip { gap: 10px !important; align-items: start !important; }
#deck-showcase .dc-tab {
  display: flex !important; flex-direction: column !important; align-items: stretch !important; text-align: left !important;
  aspect-ratio: auto !important; height: auto !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(212, 168, 67, 0.35) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  padding: 4px !important; gap: 4px !important;
  overflow: hidden !important; opacity: 1 !important;
}
#deck-showcase .dc-tab img {
  display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important;
  border-radius: 3px !important; object-fit: cover !important; opacity: 1 !important; filter: none !important;
}
#deck-showcase .dc-tab .dc-tab-num { font: 800 10px/1 Inter, sans-serif !important; color: #D4A843 !important; letter-spacing: .08em; padding: 2px 2px 0; }
#deck-showcase .dc-tab .dc-tab-title { font: 600 11px/1.2 Inter, sans-serif !important; color: #1A1714 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px 3px; display: block; }
#deck-showcase .dc-tab:hover { transform: translateY(-2px) !important; border-color: #D4A843 !important; box-shadow: 0 6px 16px rgba(212, 168, 67, 0.25) !important; }
#deck-showcase .dc-tab[aria-selected="true"], #deck-showcase .dc-tab.active {
  border: 2px solid #D4A843 !important; padding: 3px !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(212, 168, 67, 0.4) !important;
}

/* ========================================================
   ARCHITECTURAL PAGINATION DOCK (replaces the thumbnail strip)
   ======================================================== */
#deck-showcase .dc-strip { display: none !important; }
#deck-showcase .dc-dock { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 20px; background: #121110; border-top: 1px solid rgba(212, 168, 67, 0.25); }
#deck-showcase .dc-dock-nav { display: flex; align-items: center; gap: 12px; margin: 0 auto; padding-left: 140px; }
#deck-showcase .dc-dock-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(212, 168, 67, 0.4); background: #0E1015; color: #D4A843; font: 700 18px/1 Inter, sans-serif; cursor: pointer; transition: all .2s ease; }
#deck-showcase .dc-dock-arrow:hover { background: #D4A843; color: #0E1015; }
#deck-showcase .dc-dock-pill { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #0E1015; border: 1px solid rgba(212, 168, 67, 0.4); border-radius: 999px; padding: 9px 22px; min-width: 360px; max-width: 520px; }
#deck-showcase .dc-dots { display: flex; gap: 6px; }
#deck-showcase .dc-dot { width: 30px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(212, 168, 67, 0.28); cursor: pointer; transition: background .2s ease, transform .2s ease; }
#deck-showcase .dc-dot:hover { background: rgba(212, 168, 67, 0.6); }
#deck-showcase .dc-dot.on { background: #D4A843; box-shadow: 0 0 8px rgba(212, 168, 67, 0.55); }
#deck-showcase .dc-dock-label { font: 700 11px/1 Inter, sans-serif; letter-spacing: .1em; color: #F3EEE6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#deck-showcase .dc-dock .dc-btn { flex: 0 0 auto; }
@media (max-width: 900px) { #deck-showcase .dc-dock { justify-content: center; } #deck-showcase .dc-dock-nav { padding-left: 0; } #deck-showcase .dc-dock-pill { min-width: 0; } }

/* ========================================================
   LOCKED DOCK GEOMETRY + ADAPTIVE LIGHT / DARK PALETTE
   ======================================================== */
#deck-showcase .dc-dock-pill {
  width: 380px !important; min-width: 380px !important; max-width: 380px !important;
  box-sizing: border-box !important; flex: 0 0 380px !important;
}
#deck-showcase .dc-dock-label {
  display: block !important; width: 100% !important; text-align: center !important;
  overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important;
}
#deck-showcase .dc-dots { justify-content: center; }
#deck-showcase .dc-dock-arrow { flex: 0 0 40px !important; }
@media (max-width: 560px) {
  #deck-showcase .dc-dock-pill { width: calc(100vw - 150px) !important; min-width: 0 !important; max-width: 380px !important; flex-basis: auto !important; }
}

/* Archival Light / Daylight */
#deck-showcase .dc-stage.ed-light .dc-dock { background: #FFFFFF !important; border-top: 1px solid rgba(212, 168, 67, 0.45) !important; }
#deck-showcase .dc-stage.ed-light .dc-dock-pill { background: #FFFFFF !important; border: 1px solid rgba(212, 168, 67, 0.45) !important; }
#deck-showcase .dc-stage.ed-light .dc-dock-label { color: #1A1714 !important; }
#deck-showcase .dc-stage.ed-light .dc-dock-arrow { background: #FFFFFF !important; border: 1px solid #D4A843 !important; color: #1A1714 !important; }
#deck-showcase .dc-stage.ed-light .dc-dock-arrow:hover { background: #D4A843 !important; color: #1A1714 !important; }
#deck-showcase .dc-stage.ed-light .dc-dot { background: #DCD7CE !important; box-shadow: none !important; }
#deck-showcase .dc-stage.ed-light .dc-dot:hover { background: #C9C2B6 !important; }
#deck-showcase .dc-stage.ed-light .dc-dot.on { background: #D4A843 !important; }

/* Midnight Dark (explicit, so the two modes never bleed into each other) */
#deck-showcase .dc-stage.ed-dark .dc-dock-pill { background: #0E1015; border-color: rgba(212, 168, 67, 0.4); }
#deck-showcase .dc-stage.ed-dark .dc-dock-label { color: #FFFFFF; }

/* ========================================================
   CLEAN GAP: SUITE CARDS -> 16:9 STAGE
   ======================================================== */
#deck-showcase .dc-heroes { margin-bottom: 0 !important; }
#deck-showcase .dc-stage { margin-top: 16px !important; }

/* ========================================================
   NATURAL VIEWPORT INTEGRATION: TRIM DEAD PADDING ABOVE THE SUITE CARDS
   (the 80px top padding of the section was the dead space under the hero tabs)
   ======================================================== */
#deck-showcase { padding-top: 24px !important; }
#deck-showcase .dc-head { margin-bottom: 20px !important; }

/* ========================================================
   LOCKED DOCK CENTERING + ADAM CLEARANCE
   ======================================================== */
#deck-showcase .dc-dock-pill { margin: 0 auto !important; }
#deck-showcase .dc-stage { margin-bottom: 72px !important; }
#hero-section .hero-master { aspect-ratio: 24 / 10 !important; max-height: 580px !important; }
#hero-section .hero-master img { object-fit: contain !important; }
