/* Dynamic Styles layer — Lord's Favour Health Center / Centre de Santé Lord's Favour (Laura Mankah) · lauramankah.48hourrfprescue.com
   Style layer ONLY: accent colours via CSS variables. It never changes
   layout, spacing, font sizes, content, prices, photos, links, forms,
   booking doors, the staff portal or any script behaviour.
   Signature palette = the clinic's own production colours, read from the
   redo's served CSS (deployment ae95675b): SKYBLUE --sky #87ceeb exactly,
   with --sky-light #e0f2fe, --sky-pale #f0f9ff, --main #0284c7,
   --deep #075985, --gold #f2c230, --edge #bae6fd.
   Seasonal palettes are calm, clinical temperature shifts of that skyblue
   family — never a foreign brand.
   (--dyn-deep and --dyn-sky are auxiliaries carrying the production --deep
   and --sky, so Signature restores the clinic's original accents exactly.) */

/* Signature (default identity — the clinic's original accents, exactly) */
:root{
  --dyn-accent:#0284c7;
  --dyn-accent-2:#f2c230;
  --dyn-deep:#075985;
  --dyn-sky:#87ceeb;
  --dyn-soft:#f0f9ff;
  --dyn-edge:#bae6fd;
  --dyn-motif:linear-gradient(180deg,#87ceeb 0%,#e0f2fe 100%);
}
/* Spring — fresh, light sky over new growth; calm clinical blue */
html[data-dyn-season="spring"]{
  --dyn-accent:#0a90c2;
  --dyn-accent-2:#f0bd2a;
  --dyn-deep:#0a6a94;
  --dyn-sky:#93dcf2;
  --dyn-soft:#f1fafc;
  --dyn-edge:#b5e3f2;
  --dyn-motif:linear-gradient(180deg,#93dcf2 0%,#e4f7fd 100%);
}
/* Summer — bright sunlit sky, vivid but still clinical */
html[data-dyn-season="summer"]{
  --dyn-accent:#0091d9;
  --dyn-accent-2:#f5b921;
  --dyn-deep:#065f8e;
  --dyn-sky:#7ed0f7;
  --dyn-soft:#eef9fe;
  --dyn-edge:#a9def8;
  --dyn-motif:linear-gradient(180deg,#7ed0f7 0%,#dcf3fd 100%);
}
/* Autumn — a calmer, deeper dusk sky; the gold deepens with the season */
html[data-dyn-season="autumn"]{
  --dyn-accent:#0369a1;
  --dyn-accent-2:#e8a91c;
  --dyn-deep:#0c4a6e;
  --dyn-sky:#6fb6d9;
  --dyn-soft:#eef6fa;
  --dyn-edge:#a8cfe4;
  --dyn-motif:linear-gradient(180deg,#6fb6d9 0%,#d9edf7 100%);
}
/* Winter — cool icy sky, pale and quiet */
html[data-dyn-season="winter"]{
  --dyn-accent:#2b7fb8;
  --dyn-accent-2:#ecc94b;
  --dyn-deep:#155e85;
  --dyn-sky:#a8d8f0;
  --dyn-soft:#f4fafd;
  --dyn-edge:#c3e2f2;
  --dyn-motif:linear-gradient(180deg,#a8d8f0 0%,#eaf6fc 100%);
}

/* ---- Accent mapping: the clinic's existing accent selectors onto the variables ----
   The clinic pages carry the sky-gradient header (Signature motif reproduces it
   exactly: #87ceeb -> #e0f2fe); the house fitting pages (Shopping, Training,
   Partners, Design, Claim, Feedback, 404) share the same header selector and
   take the same sky band, with their header text carried in the clinic's deep
   blue so it stays readable on sky. Their remaining accents (nav, buttons,
   cards, gold) map one-to-one below and restore exactly under Signature.
   The semantic emergency orange (.emergency) and the claim door's own house
   colours in partners.css are deliberately left untouched. */
body{background:var(--dyn-soft)}
header{background:var(--dyn-motif)}
header h1{color:var(--dyn-deep)}
header a{color:var(--dyn-deep)}
header p:last-child{color:var(--dyn-accent)}
nav{background:var(--dyn-deep)}
main h1{color:var(--dyn-deep);border-bottom-color:var(--dyn-edge)}
h2{color:var(--dyn-deep)}
h3{color:var(--dyn-deep)}
a{color:var(--dyn-accent)}
a:hover,a:focus{color:var(--dyn-deep)}
.card{border-color:var(--dyn-edge);border-top-color:var(--dyn-accent)}
.note{border-color:var(--dyn-edge);border-left-color:var(--dyn-accent)}
blockquote{border-left-color:var(--dyn-accent-2)}
th{background:var(--dyn-accent)}
th,td{border-color:var(--dyn-edge)}
form{border-color:var(--dyn-edge)}
button,.btn{background:var(--dyn-accent)}
button:hover,.btn:hover,button:focus,.btn:focus{background:var(--dyn-deep)}
button:disabled{background:#94a3b8}
.confirmation{border-left-color:var(--dyn-accent)}
footer{border-top-color:var(--dyn-edge)}
.portrait{border-color:var(--dyn-sky)}
.mark{color:var(--dyn-accent-2)!important}
.qr img{border-color:var(--dyn-edge)}

/* House bands (partners / design) — their scoped variables remapped onto the
   dyn variables. The redo set both bands' accent AND deep to the clinic's
   main blue #0284c7, their stone to #f0f9ff and their edge to the gold
   #f2c230, so deep maps to --dyn-accent here and Signature is exact.
   The claim band's variables are NOT remapped: the redo left the claim
   door in its own house colours, and it stays exactly as the redo left it. */
.partners-band,.partners-page{--partners-accent:var(--dyn-accent);--partners-deep:var(--dyn-accent);--partners-stone:var(--dyn-soft);--partners-edge:var(--dyn-accent-2)}
.design-band,.design-page{--design-accent:var(--dyn-accent);--design-deep:var(--dyn-accent);--design-stone:var(--dyn-soft);--design-edge:var(--dyn-accent-2)}

/* ---- Motion-polite transitions (colour only, reduced-motion safe) ---- */
@media (prefers-reduced-motion: no-preference){
  header,nav,th,button,.btn{transition:background-color .3s ease,border-color .3s ease}
  body{transition:background-color .3s ease}
  a,h2,h3,main h1,header h1,header a,header p:last-child{transition:color .3s ease}
  .card,.note,blockquote,form,footer,.confirmation,.portrait,.qr img{transition:border-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-accent);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);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}
