/* Sand page theme (t643u–t650u).
   Canvas is the site's existing light tan mat color #EFE4C8, a little deeper
   and sandier than the old parchment #FBF5E6, with a soft sand shift toward
   #E9DCC0 / #EAD9B8. Body and other copy use the deep site maroon #5A0E1A
   (links #6E0B1C). Popping headings are a slightly brighter gold #F3D078
   (from site gold #E8C877) with a crisp blue outline (#1E5BFF / #2A6FDB)
   and a soft electric-blue neon glow (#3FA9FF), strong enough to stay
   readable on the sand. Cards use the lighter parchment #FBF5E6.
   Do not link this file from the choir landing, the hacked page, or game canvases. */

:root{
  --sand:#EFE4C8;
  --sand-top:#E9DCC0;
  --sand-deep:#EAD9B8;
  --sand-card:#FBF5E6;
  --maroon:#5A0E1A;
  --maroon-link:#6E0B1C;
  --maroon-hover:#A3122A;
  --gold:#F3D078;
  --gold-site:#E8C877;
  --neon-stroke:#1E5BFF;
  --neon-edge:#2A6FDB;
  --neon-glow:#3FA9FF;
}

html{
  background-color:#EFE4C8;
  background-image:linear-gradient(165deg,#E9DCC0 0%,#EFE4C8 45%,#EAD9B8 100%);
  background-attachment:fixed;
}
html,body{
  background-color:#EFE4C8;
  background-image:linear-gradient(165deg,#E9DCC0 0%,#EFE4C8 45%,#EAD9B8 100%);
  background-attachment:fixed;
  color:#5A0E1A;
}

header{background-color:#EFE4C8}

/* Body and other copy: deep maroon, not the near-black blood red. */
main,article,section,p,li,td,th,label,
.lead,.preview > .lead,.clip,.cta-box,.sitrep,.mat,.where,.member,
.ep-mat,.card,.sec,.in,.tag,.oc-sub,.oc-meta p{
  color:#5A0E1A;
  -webkit-text-stroke:0;
  text-shadow:none;
}

/* In-content links stay in the same maroon family. */
main a,article a,section a,.where a,.ytlink a,.member a{
  color:#6E0B1C;
}
main a:hover,article a:hover,section a:hover,.where a:hover,.ytlink a:hover,.member a:hover{
  color:#A3122A;
}

/* Popping titles: slightly brighter gold with a crisp blue outline and neon glow. */
h1,h2,h3,h4,h5,.brand-name,.sitrep h1,.day-h,.vrow h3,
.our-churches h2,.preview h1,.sb-row-title,.cta-box h2,.cast h2,.cast h3.side,.stories h2,.clips h2{
  color:#F3D078 !important;
  -webkit-text-stroke:0.9px #1E5BFF;
  paint-order:stroke fill;
  text-shadow:
    0 1px 0 #2A6FDB,
    1px 0 0 #2A6FDB,
    0 -1px 0 #2A6FDB,
    -1px 0 0 #2A6FDB,
    1px 1px 0 #1E5BFF,
    -1px -1px 0 #1E5BFF,
    1px -1px 0 #1E5BFF,
    -1px 1px 0 #1E5BFF,
    0 0 5px #3FA9FF,
    0 0 12px rgba(63,169,255,.7),
    0 0 20px rgba(30,91,255,.35);
}

/* Cards and mats: lighter cream on the sand canvas, still edged in site gold. */
.cta-box,.mat,.clip,.sitrep,.staff-daynav,.card .in,.ep-mat,
.member input,.member textarea,.member .form-msg.ok,
.oc-btn,.oc-fyp-banner.jcs-split,.oc-fyp-banner.jcs-split .jcs-badge,
.fy-banner.jcs-split,.fy-banner.jcs-split .jcs-badge,
.give-modal .gm-box,
.sec{
  background-color:#FBF5E6 !important;
}

/* -------- Chrome that must stay burgundy / gold -------- */
.site-nav,
.site-nav a,
.site-nav button,
.site-nav .nav-toggle{
  color:#FBF5E6;
  -webkit-text-stroke:0;
  text-shadow:none;
}
.site-nav{background:#6E0B1C;background-image:none;background-attachment:scroll}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"]{color:#E8C877}

footer,
footer a,
footer p,
footer .ftr-name,
footer .ftr-policies,
footer .ftr-compliance,
footer .ftr-links a{
  color:#E8C877;
  -webkit-text-stroke:0;
  text-shadow:none;
  background-image:none;
}
footer{background:#6E0B1C;background-attachment:scroll}

.btn,.cta-btn,.honor-cta,.staff-daynav a.sdn-btn,.gm-submit{
  -webkit-text-stroke:0;
  paint-order:normal;
  text-shadow:none;
}

/* Book reader scans keep a cream page behind the image. */
.spread img{background-color:#FBF5E6}

/* Arcade page intro sits on the sand canvas in maroon. */
p.lead,.preview > .lead,.our-churches .oc-sub{color:#5A0E1A !important;-webkit-text-stroke:0;text-shadow:none}

