/* =====================================================================
   SPOTLIGHT: the homepage look (black stage, gold light, serif headlines)
   carried to every other page. Each page keeps its own layout and content;
   this file only re-dresses it. Load it AFTER the page's own <style>, put
   class="spotlight" on <body>, and load /js/spotlight.js at the end of <body>.
   The script tags the bits that were light (backgrounds, dark text, blue or
   teal accents, cards, photos) so the rules below can turn them dark and gold.
   ===================================================================== */
body.spotlight {
  --sp-bg: #050505; --sp-bg-2: #0A0907; --sp-panel: #0F0D0A; --sp-accent: #E2B866; --sp-gold-soft: #F2CF83;
  --sp-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sp-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sp-goldtext: linear-gradient(100deg, #9C7333 0%, #F6DE9C 28%, #C99A4B 50%, #FFF0C4 68%, #A97D38 100%);
  --gold: #E2B866;
  --sp-light: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(226,184,102,.13), rgba(226,184,102,0) 70%);
  background: var(--sp-bg) !important; color: #fff; overflow-x: clip;
}
body.spotlight ::selection { background: var(--sp-accent); color: #000; }

/* ---------- top menu: same as the homepage ---------- */
body.spotlight .sitenav { background: rgba(0,0,0,.55); border-bottom-color: rgba(255,255,255,.08); }
body.spotlight .sitenav .sitenav-brand { color: #fff; font-family: var(--sp-display); font-style: italic; font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; }
body.spotlight .sitenav .sitenav-cta { text-transform: uppercase; letter-spacing: .24em; font-size: 12px; color: var(--sp-accent); }
body.spotlight .sitenav .sitenav-links a:hover, body.spotlight .sitenav .sitenav-links a[aria-current="page"], body.spotlight .sitenav .sitenav-cta:hover, body.spotlight .sitenav .sitenav-phone:hover { color: var(--sp-accent); }
@media (max-width: 1240px) { body.spotlight .sitenav .sitenav-links { background: rgba(0,0,0,.96); } }
@media (max-width: 600px) { body.spotlight .sitenav .sitenav-cta, body.spotlight .sitenav .sitenav-phone { letter-spacing: 0; font-size: 11px; } body.spotlight .sitenav .sitenav-brand { font-size: 1.15rem; } }

/* ---------- type: serif headlines, as on the homepage ---------- */
body.spotlight h1, body.spotlight h2, body.spotlight h3 { font-family: var(--sp-display) !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
body.spotlight h1 { font-size: clamp(46px, 5.6vw, 96px) !important; line-height: .98 !important; }
body.spotlight h2 { font-size: clamp(38px, 4.4vw, 76px) !important; line-height: 1.02 !important; }
body.spotlight h3 { font-size: clamp(22px, 1.75vw, 28px) !important; line-height: 1.15 !important; }
body.spotlight h1 em, body.spotlight h2 em, body.spotlight h1 i, body.spotlight h2 i { font-style: italic; }
/* the words that were coloured inside a headline become italic shining gold */
@keyframes spShine { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
body.spotlight .sp-goldword {
  font-style: italic; background: var(--sp-goldtext); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent; animation: spShine 7s linear infinite; padding-right: .06em; }
body.spotlight .sp-accent { color: var(--sp-accent) !important; }
body.spotlight .sp-display { font-family: var(--sp-display) !important; font-weight: 600 !important; letter-spacing: -.005em !important; font-size-adjust: .46; line-height: 1.1 !important; }
body.spotlight .sp-before-gold::before, body.spotlight .sp-after-gold::after { color: var(--sp-accent) !important; border-color: var(--sp-accent) !important; }
body.spotlight .sp-before-goldbg::before, body.spotlight .sp-after-goldbg::after { background-color: var(--sp-accent) !important; }
body.spotlight .sp-before-dark::before, body.spotlight .sp-after-dark::after { background-color: var(--sp-panel) !important; }
/* small capitals labels above headlines */
body.spotlight .sp-eyebrow { color: var(--sp-accent) !important; letter-spacing: .3em !important; }

/* ---------- every section is a dark stage, lit from above ---------- */
body.spotlight .sp-stage { background: var(--sp-light), var(--sp-bg) !important; border-color: rgba(226,184,102,.14) !important; }
body.spotlight .sp-stage.sp-alt { background: var(--sp-light), var(--sp-bg-2) !important; }
body.spotlight .sp-dark { background-color: var(--sp-panel) !important; }
body.spotlight .sp-text { color: rgba(255,255,255,.88) !important; }
body.spotlight .sp-text-muted { color: rgba(255,255,255,.72) !important; }
body.spotlight .sp-text-head { color: #fff !important; }
body.spotlight .sp-line { border-color: rgba(226,184,102,.2) !important; }
body.spotlight .sp-line-gold { border-color: var(--sp-accent) !important; }
/* policy pages: quieter headings */
body.spotlight.sp-doc h1 { font-size: clamp(42px, 4.6vw, 72px) !important; }
body.spotlight.sp-doc h2 { font-size: clamp(28px, 2.6vw, 40px) !important; margin-top: 1.6em; }

/* cards: square corners, a thin gold edge, deep shadow */
body.spotlight .sp-card { border-radius: 0 !important; border: 1px solid rgba(226,184,102,.28) !important; background: rgba(226,184,102,.03) !important; box-shadow: 0 40px 120px rgba(0,0,0,.6) !important; }
body.spotlight .sp-card .sp-card { box-shadow: none !important; }
body.spotlight .sp-pill { border-radius: 0 !important; border-color: rgba(226,184,102,.35) !important; color: var(--sp-accent) !important; background: transparent !important; }

/* photos: square, gold frame set slightly off the picture */
body.spotlight .sp-photo { border-radius: 0 !important; outline: 1px solid rgba(242,207,131,.38); outline-offset: 12px; filter: saturate(.85) contrast(1.05); }
body.spotlight .sp-photo-box { border-radius: 0 !important; }

/* ---------- buttons ---------- */
body.spotlight .btn-primary, body.spotlight .cta-primary, body.spotlight button[type="submit"], body.spotlight input[type="submit"], body.spotlight .sp-btn {
  background: var(--sp-goldtext) !important; background-size: 200% 100% !important; color: #000 !important; border: 0 !important;
  border-radius: 0 !important; text-transform: uppercase; letter-spacing: .22em !important; font-size: 12px !important; font-weight: 600 !important;
  min-height: 54px; padding: 0 32px !important; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: none !important;
  transition: background-position .6s ease, transform .3s ease !important; text-decoration: none !important; }
body.spotlight .btn-primary:hover, body.spotlight .cta-primary:hover, body.spotlight button[type="submit"]:hover, body.spotlight .sp-btn:hover { background-position: 100% 50% !important; transform: translateY(-1px); }
body.spotlight .btn-secondary, body.spotlight .btn-ghost, body.spotlight .cta-secondary, body.spotlight .sp-btn-ghost {
  background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.5) !important; border-radius: 0 !important;
  text-transform: uppercase; letter-spacing: .22em !important; font-size: 12px !important; font-weight: 600 !important;
  min-height: 54px; padding: 0 30px !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: none !important; text-decoration: none !important; }
body.spotlight .btn-secondary:hover, body.spotlight .btn-ghost:hover, body.spotlight .cta-secondary:hover, body.spotlight .sp-btn-ghost:hover { border-color: var(--sp-accent) !important; color: var(--sp-accent) !important; }
@media (max-width: 600px) { body.spotlight .btn-primary, body.spotlight .cta-primary, body.spotlight .btn-secondary, body.spotlight .btn-ghost, body.spotlight .cta-secondary, body.spotlight .sp-btn, body.spotlight .sp-btn-ghost { letter-spacing: .16em !important; padding: 0 22px !important; } }

/* the phone's bottom bar of quick actions (Calm page) */
body.spotlight .mobile-bar { background: rgba(0,0,0,.92) !important; border-top: 1px solid rgba(226,184,102,.2) !important; }
body.spotlight .mobile-bar a, body.spotlight .mobile-bar button { border-radius: 0 !important; text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px !important; }
body.spotlight .mobile-bar a { background: var(--sp-goldtext) !important; color: #000 !important; border: 0 !important; }
body.spotlight .mobile-bar button { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; }

/* ---------- forms ---------- */
body.spotlight input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), body.spotlight select, body.spotlight textarea {
  background: rgba(255,255,255,.05) !important; color: #fff !important; border: 1px solid rgba(226,184,102,.28) !important; border-radius: 0 !important; }
body.spotlight input::placeholder, body.spotlight textarea::placeholder { color: rgba(255,255,255,.42) !important; }
body.spotlight input:focus, body.spotlight select:focus, body.spotlight textarea:focus { border-color: var(--sp-accent) !important; box-shadow: none !important; outline: none; }
body.spotlight select option { background: #111; color: #fff; }

/* ---------- footer ---------- */
body.spotlight footer { background: #000 !important; border-top: 1px solid rgba(226,184,102,.14) !important; }
body.spotlight a:focus-visible, body.spotlight button:focus-visible, body.spotlight summary:focus-visible { outline-color: var(--sp-accent); }

/* ---------- motion: the homepage's soft rise out of a blur ---------- */
/* the page's own scroll reveals, made softer and slower to match the homepage */
body.spotlight .reveal { transform: translateY(44px); filter: blur(8px); transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1), filter 1.2s cubic-bezier(.2,.7,.2,1) !important; }
body.spotlight .reveal.reveal-left { transform: translateX(-60px); }
body.spotlight .reveal.reveal-right { transform: translateX(60px); }
body.spotlight .reveal.visible { opacity: 1; transform: none; filter: none; }
body.spotlight .reveal-stagger > * { transform: translateY(36px); filter: blur(6px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.1s cubic-bezier(.2,.7,.2,1) !important; }
/* every child shows, however many there are (the pages only listed six) */
body.spotlight .reveal-stagger.visible > * { opacity: 1 !important; transform: none !important; filter: none !important; }
body.spotlight .reveal-stagger.visible > *:nth-child(n+7) { transition-delay: .48s; }
/* added by the script on pages that had no scroll motion */
body.spotlight.sp-rv-on .sp-rv { opacity: 0; transform: translateY(44px); filter: blur(8px); transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1), filter 1.2s cubic-bezier(.2,.7,.2,1); }
body.spotlight.sp-rv-on .sp-rv.sp-rv-x { transform: translateX(-60px); }
body.spotlight.sp-rv-on .sp-rv.sp-in { opacity: 1; transform: none; filter: none; }
/* the first screen: each line arrives in reading order */
@keyframes spHeroSoft { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
body.spotlight .sp-hero-in { animation: spHeroSoft 1.4s cubic-bezier(.22,.61,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
  body.spotlight .reveal, body.spotlight .reveal-stagger > *, body.spotlight .sp-rv { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  body.spotlight .sp-hero-in, body.spotlight .sp-goldword { animation: none !important; }
}

/* even line breaks: no lonely last words in headlines and quotes */
body.spotlight h1, body.spotlight h2, body.spotlight h3, body.spotlight blockquote, body.spotlight q, body.spotlight [class*="quote"], body.spotlight .principle { text-wrap: balance; }
body.spotlight p, body.spotlight li { text-wrap: pretty; }
