/* Dynamic Styles layer — Dr Acha — Ministry · DrAcha.48HourRFPRescue.com
   Style layer ONLY: accent colours via CSS variables. It never changes
   layout, spacing, font sizes, content, prices, photos, links, forms,
   carts, doors or any script behaviour. The Daily Devotional's text and
   machinery are untouched; only the gold of her highlighted lines and the
   purple of her dateline/theme/signature ride the variables.
   Signature palette = her own production colours, read from her pages'
   inline styles (identical across the public pages):
     purple #3b2d4d (header, headings, buttons, links) · deep #2c2140
     (nav, h1) · gold #ffd98a (header rule, card tops, her highlighted
     lines) · stone ground #faf7fc · lavender edge #e5d9f2.
   Seasonal palettes are curated around that purple-and-gold identity,
   with reverence and restraint — temperature shifts only, no foreign brand.
   (--dyn-deep and --dyn-edge are auxiliaries carrying her production
   --deep/nav shade and her lavender edge, so Signature restores her
   original accents exactly.) */

/* Signature (default identity — her original accents, exactly) */
:root{
  --dyn-accent:#3b2d4d;
  --dyn-accent-2:#ffd98a;
  --dyn-deep:#2c2140;
  --dyn-soft:#faf7fc;
  --dyn-edge:#e5d9f2;
  --dyn-motif:linear-gradient(135deg,#3b2d4d 0%,#2c2140 100%);
}
/* Spring — lighter lilac purple, fresh pale gold */
html[data-dyn-season="spring"]{
  --dyn-accent:#4a3767;
  --dyn-accent-2:#ffe0a1;
  --dyn-deep:#372a52;
  --dyn-soft:#fbf8fd;
  --dyn-edge:#ecdef7;
  --dyn-motif:linear-gradient(135deg,#4a3767 0%,#372a52 100%);
}
/* Summer — warm sunlit purple, rich gold */
html[data-dyn-season="summer"]{
  --dyn-accent:#43305f;
  --dyn-accent-2:#ffd166;
  --dyn-deep:#2e2145;
  --dyn-soft:#faf7f9;
  --dyn-edge:#e9dbf1;
  --dyn-motif:linear-gradient(135deg,#43305f 0%,#2e2145 100%);
}
/* Autumn — deeper muted purple, harvest gold */
html[data-dyn-season="autumn"]{
  --dyn-accent:#382b4c;
  --dyn-accent-2:#eec27f;
  --dyn-deep:#291e3b;
  --dyn-soft:#f9f5f8;
  --dyn-edge:#e2d4ed;
  --dyn-motif:linear-gradient(135deg,#382b4c 0%,#291e3b 100%);
}
/* Winter — cool violet purple, pale candlelight gold */
html[data-dyn-season="winter"]{
  --dyn-accent:#342a4e;
  --dyn-accent-2:#f2dfae;
  --dyn-deep:#251c39;
  --dyn-soft:#f7f5fb;
  --dyn-edge:#ded4ef;
  --dyn-motif:linear-gradient(135deg,#342a4e 0%,#251c39 100%);
}

/* ---- Accent mapping: her existing accent selectors onto the variables ---- */
body{background:var(--dyn-soft)}
header{background:var(--dyn-accent);border-bottom-color:var(--dyn-accent-2)}
header a{color:var(--dyn-accent-2)}
header p:last-child{color:var(--dyn-accent-2)}
nav{background:var(--dyn-deep)}
h1{color:var(--dyn-deep);border-bottom-color:var(--dyn-edge)}
h2{color:var(--dyn-accent);border-bottom-color:var(--dyn-edge)}
a{color:var(--dyn-accent)}
footer a{color:var(--dyn-accent)}
.card{border-top-color:var(--dyn-accent-2)}
blockquote{border-left-color:var(--dyn-accent-2);color:var(--dyn-accent)}
button,.btn{background:var(--dyn-accent)}
button:hover,button:focus,.btn:hover,.btn:focus{background:var(--dyn-deep)}
footer{border-top-color:var(--dyn-edge)}
img.photo,img.poster{outline-color:var(--dyn-edge)}
.prepared-note{background:var(--dyn-soft)}
/* Daily Devotional — her highlighted lines keep the season's gold;
   her theme, dateline, signature and terms keep the season's purple.
   Her words, the poster and the subscribe machinery are untouched. */
mark{background:var(--dyn-accent-2)}
.scripture{border-left-color:var(--dyn-accent-2)}
.theme,.dateline,.signature,.terms{color:var(--dyn-accent)}
/* Inline-styled accent bands (colour only, overridden with !important) */
.referral-banner{background:var(--dyn-accent)!important;border-top-color:var(--dyn-accent-2)!important}
.referral-banner a{color:var(--dyn-accent-2)!important}
.partners-page .partners-wrap>div[aria-hidden="true"],.design-page .design-wrap>div[aria-hidden="true"]{background:var(--dyn-deep)!important;border-top-color:var(--dyn-accent-2)!important}
.partners-page .partners-wrap>div[aria-hidden="true"] svg,.design-page .design-wrap>div[aria-hidden="true"] svg{color:var(--dyn-accent-2)!important}

/* House bands (partners / design) — their scoped variables remapped.
   Their production values are her fitted purple set, so Signature is exact.
   The claim door's scoped variables are NOT remapped: in production they
   carry the generic house indigo (never fitted to her purple), and the
   claim door stands untouched, exactly as built. */
.partners-band,.partners-page{--partners-accent:var(--dyn-accent);--partners-deep:var(--dyn-deep);--partners-stone:var(--dyn-soft);--partners-edge:var(--dyn-edge)}
.design-band,.design-page{--design-accent:var(--dyn-accent);--design-deep:var(--dyn-deep);--design-stone:var(--dyn-soft);--design-edge:var(--dyn-edge)}

/* ---- Motion-polite transitions (colour only, reduced-motion safe) ---- */
@media (prefers-reduced-motion: no-preference){
  header,nav,button,.btn{transition:background-color .3s ease,border-color .3s ease}
  a,h1,h2,header a,header p:last-child,blockquote,.theme,.dateline,.signature,.terms{transition:color .3s ease}
  body,.prepared-note{transition:background-color .3s ease}
  .card,blockquote,footer,img.photo,img.poster,.scripture{transition:border-color .3s ease,outline-color .3s ease}
  mark{transition:background-color .3s ease}
}

/* ---- Visitor style switcher (injected by dyn-styles.js) ---- */
.dyn-switch{position:fixed;left:.8rem;bottom:.8rem;z-index:60;font-family:Georgia,"Palatino Linotype","Book Antiqua","Times New Roman",serif}
.dyn-switch-btn{background:var(--dyn-motif);color:#ffffff;border:2px solid var(--dyn-accent-2);padding:.45rem .95rem;font:inherit;font-size:.92rem;cursor:pointer}
.dyn-switch-panel{display:none;background:#ffffff;border:1px solid var(--dyn-edge);border-top:4px solid var(--dyn-accent-2);padding:.6rem;margin-bottom:.45rem;max-width:13rem}
.dyn-switch-panel.open{display:block}
.dyn-switch-panel p{margin:.1rem 0 .45rem;font-size:.88rem;color:var(--dyn-deep);font-weight:bold}
.dyn-switch-opt{display:block;width:100%;background:var(--dyn-soft);color:var(--dyn-deep);border:1px solid var(--dyn-edge);padding:.35rem .6rem;margin:.25rem 0;font:inherit;font-size:.92rem;cursor:pointer;text-align:left}
.dyn-switch-opt[aria-pressed="true"]{background:var(--dyn-accent);color:#ffffff}
