/* CCS Magic Dark — kill cream/white wash on Sanctuary home + Find us
   Stamp 1790236119. Midnight purple/navy + gold. Cream is TEXT only.
   Scope: body.home / page-id-62 / page-id-1444. Does not touch shop ATC. */

/* ========== HOME: beat Additional CSS cream body.home #fff8ee ========== */
html body.home,
html body.page-id-62,
body.home,
body.page-id-62,
html[data-theme="light"] body.home,
html[data-theme="light"] body.page-id-62,
html.theme-light body.home,
html.theme-light body.page-id-62 {
  background-color: #0a1128 !important;
  background-image:
    radial-gradient(ellipse 90% 70% at 20% 10%, rgba(120, 70, 180, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 90%, rgba(180, 70, 130, 0.18), transparent 50%),
    linear-gradient(180deg, #120a1c 0%, #0a1128 42%, #06040e 100%) !important;
  color: #fff8ee !important;
}

/* Kill cream post-title card + dark-ink paragraph wash from cream Seal Breath era */
body.home .wp-block-post-title,
body.page-id-62 .wp-block-post-title {
  display: none !important;
  background: transparent !important;
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
}

body.home .wp-block-post-content p,
body.home .wp-block-post-content li,
body.home .conway-home p,
body.page-id-62 .wp-block-post-content p,
body.page-id-62 .wp-block-post-content li {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
  text-shadow: none !important;
}

body.home .wp-block-post-content a,
body.page-id-62 .wp-block-post-content a {
  color: #e8b84a !important;
  -webkit-text-fill-color: #e8b84a !important;
}

/* ========== Seal Breath lockup: readable gold/cream (beat dark-ink !important) ========== */
#ccs-seal-breath .ccs-sb-line1,
body.home #ccs-seal-breath .ccs-sb-line1,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-line1 {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45), 0 0 24px rgba(232, 184, 74, 0.22) !important;
}

#ccs-seal-breath .ccs-sb-line2,
body.home #ccs-seal-breath .ccs-sb-line2,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-line2 {
  color: #e8b84a !important;
  -webkit-text-fill-color: #e8b84a !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4), 0 0 18px rgba(232, 184, 74, 0.28) !important;
}

#ccs-seal-breath .ccs-sb-lede,
body.home #ccs-seal-breath .ccs-sb-lede,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-lede {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
  opacity: 0.92 !important;
}

#ccs-seal-breath .ccs-sb-cta a.ghost,
body.home #ccs-seal-breath .ccs-sb-cta a.ghost,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-cta a.ghost {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
  border-color: rgba(255, 248, 238, 0.38) !important;
  background: rgba(255, 248, 238, 0.08) !important;
}

#ccs-seal-breath .ccs-sb-cta a.primary,
body.home #ccs-seal-breath .ccs-sb-cta a.primary {
  color: #1a140e !important;
  -webkit-text-fill-color: #1a140e !important;
}

#ccs-seal-breath .ccs-sb-chip {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
}

/* Soft-demote foyer can stay; keep seal wrap midnight */
.ccs-seal-breath-wrap {
  background-color: #0a1128 !important;
}

/* ========== Ask Sanctuary FAB: pin clear of crest (bottom-right) ========== */
body.home #asb-bee,
body.page-id-62 #asb-bee {
  left: auto !important;
  top: auto !important;
  right: 1rem !important;
  bottom: 1.35rem !important;
  transform: none !important;
}

/* ========== FIND US page 1444: kill white theme chrome ========== */
html body.page-id-1444,
body.page-id-1444 {
  background-color: #0a1128 !important;
  background-image:
    radial-gradient(ellipse 90% 70% at 18% 8%, rgba(120, 70, 180, 0.32), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 95%, rgba(180, 70, 130, 0.14), transparent 48%),
    linear-gradient(180deg, #120a1c 0%, #0a1128 45%, #06040e 100%) !important;
  color: #fff8ee !important;
}

body.page-id-1444 .wp-site-blocks,
body.page-id-1444 .wp-block-post-content,
body.page-id-1444 .entry-content,
body.page-id-1444 main,
body.page-id-1444 .wp-block-group {
  background: transparent !important;
  color: #fff8ee !important;
}

/* Header / footer on Find us — dark stage, cream/gold text (not white wash) */
body.page-id-1444 header.wp-block-template-part,
body.page-id-1444 footer.wp-block-template-part,
body.page-id-1444 .wp-site-blocks > header,
body.page-id-1444 .wp-site-blocks > footer,
body.page-id-1444 .wp-block-template-part {
  background: #0c1024 !important;
  background-image: linear-gradient(180deg, #120a1c, #0a1128) !important;
  color: #fff8ee !important;
  border-color: rgba(232, 184, 74, 0.22) !important;
}

body.page-id-1444 header a,
body.page-id-1444 footer a,
body.page-id-1444 .wp-block-navigation a,
body.page-id-1444 .wp-block-site-title a,
body.page-id-1444 .wp-block-site-title,
body.page-id-1444 footer p,
body.page-id-1444 footer li {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
}

body.page-id-1444 header a:hover,
body.page-id-1444 footer a:hover {
  color: #e8b84a !important;
  -webkit-text-fill-color: #e8b84a !important;
}

/* Keep Find us purple cards intact; ensure section sits on dark stage */
body.page-id-1444 .ccs-findus {
  color: #fff4e0 !important;
}

body.page-id-1444 .ccs-findus__lede,
body.page-id-1444 .ccs-findus p.ccs-findus__lede {
  color: #ffe9c8 !important;
  -webkit-text-fill-color: #ffe9c8 !important;
}

body.page-id-1444 .ccs-findus__title,
body.page-id-1444 h2.ccs-findus__title {
  color: #ffe566 !important;
  -webkit-text-fill-color: #ffe566 !important;
}

/* Hide duplicate WP H1 (already in find-us CSS; reinforce) */
body.page-id-1444 .wp-block-post-title,
body.page-id-1444 h1.wp-block-post-title {
  display: none !important;
}

/* Home header soft dark so crest isn't framed by white chrome */
body.home header.wp-block-template-part,
body.home .wp-site-blocks > header,
body.page-id-62 header.wp-block-template-part,
body.page-id-62 .wp-site-blocks > header {
  background: transparent !important;
  color: #fff8ee !important;
}

body.home footer.wp-block-template-part,
body.home .wp-site-blocks > footer,
body.page-id-62 footer.wp-block-template-part,
body.page-id-62 .wp-site-blocks > footer {
  background: #0c1024 !important;
  color: #fff8ee !important;
}

body.home footer a,
body.home footer p,
body.home footer li,
body.page-id-62 footer a,
body.page-id-62 footer p,
body.page-id-62 footer li {
  color: #fff8ee !important;
}

/* ========== Gold shimmer sweep on key headings (Calm / reduce-motion safe) ========== */
@keyframes ccs-md-gold-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ccs-md-flame-ember {
  0%, 100% { opacity: 0.55; filter: drop-shadow(0 0 6px rgba(255, 179, 74, 0.35)); transform: scale(1); }
  50% { opacity: 1; filter: drop-shadow(0 0 14px rgba(255, 179, 74, 0.7)); transform: scale(1.04); }
}
@keyframes ccs-md-card-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(0,0,0,.32), inset 0 0 0 1px rgba(140,90,180,.18); }
  50% { box-shadow: 0 12px 32px rgba(0,0,0,.36), 0 0 22px rgba(232,184,74,.18), inset 0 0 0 1px rgba(232,184,74,.28); }
}

.ccs-md-shimmer,
#ccs-seal-breath .ccs-sb-line1,
#ccs-seal-breath .ccs-sb-line2,
body.home #ccs-seal-breath .ccs-sb-line1,
body.home #ccs-seal-breath .ccs-sb-line2,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-line1,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-line2,
.ccs-findus__title,
body .ccs-findus .ccs-findus__title,
body .ccs-findus h2.ccs-findus__title,
.ccs-findus__card h3,
body .ccs-findus .ccs-findus__card h3,
#ccs-wh-home h2,
.ccs-wh-home h2,
#ms-lobby .ccs-about h2,
#ms-lobby .door-body h2,
.ccs-home-shelves .door-body h2 {
  background-image: linear-gradient(
    105deg,
    #fff8ee 0%,
    #fff8ee 38%,
    #ffe566 48%,
    #e8b84a 52%,
    #fff8ee 62%,
    #e8d4f5 78%,
    #fff8ee 100%
  ) !important;
  background-size: 220% 100% !important;
  background-repeat: no-repeat !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  animation: ccs-md-gold-shimmer 5.8s ease-in-out infinite;
}

/* CANDLE SANCTUARY / store titles: slightly slower, more gold-weighted */
#ccs-seal-breath .ccs-sb-line2,
body.home #ccs-seal-breath .ccs-sb-line2,
.ccs-findus__card h3,
body .ccs-findus .ccs-findus__card h3 {
  animation-duration: 6.8s;
  animation-delay: 0.4s;
}

/* Lede stays solid cream (readable, not shimmered) */
#ccs-seal-breath .ccs-sb-lede,
body.home #ccs-seal-breath .ccs-sb-lede,
body.home .wp-block-post-content #ccs-seal-breath .ccs-sb-lede {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
  animation: none !important;
}

/* Calm Mode: static gold/cream, no sweep */
html.calm-mode #ccs-seal-breath .ccs-sb-line1,
html.calm-mode #ccs-seal-breath .ccs-sb-line2,
body.calm #ccs-seal-breath .ccs-sb-line1,
body.calm #ccs-seal-breath .ccs-sb-line2,
html.calm-mode .ccs-findus__title,
html.calm-mode .ccs-findus__card h3,
body.calm .ccs-findus__title,
body.calm .ccs-findus__card h3,
html.calm-mode #ccs-wh-home h2,
html.calm-mode .ccs-wh-home h2,
html.calm-mode #ms-lobby .ccs-about h2,
html.calm-mode #ms-lobby .door-body h2,
html.calm-mode .ccs-home-shelves .door-body h2,
body.calm #ccs-wh-home h2,
body.calm .ccs-wh-home h2,
body.calm #ms-lobby .ccs-about h2,
body.calm #ms-lobby .door-body h2,
body.calm .ccs-home-shelves .door-body h2 {
  animation: none !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

html.calm-mode #ccs-seal-breath .ccs-sb-line1,
body.calm #ccs-seal-breath .ccs-sb-line1 {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
}
html.calm-mode #ccs-seal-breath .ccs-sb-line2,
body.calm #ccs-seal-breath .ccs-sb-line2,
html.calm-mode .ccs-findus__title,
body.calm .ccs-findus__title,
html.calm-mode #ccs-wh-home h2,
html.calm-mode .ccs-wh-home h2,
html.calm-mode #ms-lobby .ccs-about h2,
body.calm #ccs-wh-home h2,
body.calm .ccs-wh-home h2,
body.calm #ms-lobby .ccs-about h2 {
  color: #e8b84a !important;
  -webkit-text-fill-color: #e8b84a !important;
}
html.calm-mode .ccs-findus__card h3,
body.calm .ccs-findus__card h3,
html.calm-mode #ms-lobby .door-body h2,
html.calm-mode .ccs-home-shelves .door-body h2,
body.calm #ms-lobby .door-body h2,
body.calm .ccs-home-shelves .door-body h2 {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
}

@media (prefers-reduced-motion: reduce) {
  #ccs-seal-breath .ccs-sb-line1,
  #ccs-seal-breath .ccs-sb-line2,
  .ccs-findus__title,
  .ccs-findus__card h3,
  #ccs-wh-home h2,
  .ccs-wh-home h2,
  #ms-lobby .ccs-about h2,
  #ms-lobby .door-body h2,
  .ccs-home-shelves .door-body h2,
  #ccs-seal-breath .ccs-sb-glint.apex,
  .ccs-findus__card:hover,
  #ccs-wh-home .ccs-wh-home__card:hover,
  .ccs-wh-home__card:hover {
    animation: none !important;
  }
  #ccs-seal-breath .ccs-sb-line1,
  #ccs-seal-breath .ccs-sb-line2,
  .ccs-findus__title,
  .ccs-findus__card h3,
  #ccs-wh-home h2,
  .ccs-wh-home h2,
  #ms-lobby .ccs-about h2,
  #ms-lobby .door-body h2,
  .ccs-home-shelves .door-body h2 {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
  }
  #ccs-seal-breath .ccs-sb-line1 { color: #fff8ee !important; -webkit-text-fill-color: #fff8ee !important; }
  #ccs-seal-breath .ccs-sb-line2,
  .ccs-findus__title,
  #ccs-wh-home h2,
  .ccs-wh-home h2,
  #ms-lobby .ccs-about h2 { color: #e8b84a !important; -webkit-text-fill-color: #e8b84a !important; }
  .ccs-findus__card h3,
  #ms-lobby .door-body h2,
  .ccs-home-shelves .door-body h2 { color: #fff8ee !important; -webkit-text-fill-color: #fff8ee !important; }
}

/* ========== Alive: crest flame ember pulse (apex glint) ========== */
#ccs-seal-breath .ccs-sb-glint.apex {
  animation: ccs-sb-node-glint var(--motion-glint, 5.2s) ease-in-out infinite,
             ccs-md-flame-ember 2.8s ease-in-out infinite !important;
}
html.calm-mode #ccs-seal-breath .ccs-sb-glint.apex,
body.calm #ccs-seal-breath .ccs-sb-glint.apex {
  animation: none !important;
  opacity: 0.85 !important;
}

/* Soft hover glow on Find us + wholesale cards */
.ccs-findus__card {
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease !important;
}
.ccs-findus__card:hover {
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(232, 184, 74, 0.22),
    inset 0 0 0 1px rgba(232, 184, 74, 0.35) !important;
  border-color: rgba(232, 184, 74, 0.45) !important;
  transform: translateY(-2px);
}
#ccs-wh-home .ccs-wh-home__card,
.ccs-wh-home__card,
#ccs-wh-home article,
.ccs-wh-home a.card {
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease !important;
}
#ccs-wh-home .ccs-wh-home__card:hover,
.ccs-wh-home__card:hover {
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(180, 120, 220, 0.22),
    inset 0 0 0 1px rgba(232, 184, 74, 0.3) !important;
  transform: translateY(-2px);
}
html.calm-mode .ccs-findus__card:hover,
body.calm .ccs-findus__card:hover,
html.calm-mode #ccs-wh-home .ccs-wh-home__card:hover,
body.calm #ccs-wh-home .ccs-wh-home__card:hover {
  transform: none !important;
}

/* Broad readable fallbacks — home + Find us copy never dark-on-dark or cream-on-white */
body.home .wp-block-post-content h1,
body.home .wp-block-post-content h2,
body.home .wp-block-post-content h3,
body.page-id-62 .wp-block-post-content h1,
body.page-id-62 .wp-block-post-content h2,
body.page-id-62 .wp-block-post-content h3,
body.page-id-1444 .wp-block-post-content h1,
body.page-id-1444 .wp-block-post-content h2,
body.page-id-1444 .wp-block-post-content h3 {
  color: #e8b84a !important;
}
body.page-id-1444 .wp-block-post-content p,
body.page-id-1444 .entry-content > p {
  color: #fff8ee !important;
  -webkit-text-fill-color: #fff8ee !important;
}
