/* The Spark Group — shared website styles (preview redesign, 24 Nov 2026)
   VOICE   warm, confident, practical; plain words, generous air
   IDEA    a spark catching: orange light moving through open space
   PICTURE large real photography with soft, sweeping rounded edges
   COLOUR  Spark orange #F48C1F leads; deep teal #0B5563 is the contrast colour
   TYPE    Quicksand (echoes the logo) for headings, Inter for reading
   LAYOUT  full-width bands, few containers, hairlines instead of boxes */

:root{
  --orange:#F48C1F;--orange-hover:#E57A0B;--orange-deep:#B85600;--orange-text:#D96A00;--orange-tint:#FFF3E6;--sand:#FFF9F3;
  --teal:#0B5563;--teal-hover:#083F4A;--teal-tint:#E7F0F2;
  --ink:#1F1B17;--body:#4A433C;--muted:#6B6158;--line:#EBDFD2;--night:#0B5563;--night-deep:#083F4A;
  --radius:24px;--sweep:clamp(80px,12vw,180px);
  color-scheme:light;
}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;scroll-padding-top:96px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:#fff;color:var(--ink);font:17px/1.6 Inter,"Segoe UI",Arial,sans-serif;overflow-x:clip;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{margin:0 0 .45em;font-family:Quicksand,Inter,Arial,sans-serif;font-weight:700;line-height:1.08;color:var(--ink);text-wrap:balance}
h1{font-size:clamp(40px,5.4vw,70px)}
h2{font-size:clamp(32px,3.7vw,50px)}
h3{font-size:clamp(20px,1.7vw,24px);line-height:1.2}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:4px}

.skip{position:absolute;left:16px;top:-60px;z-index:100;padding:10px 16px;border-radius:8px;background:var(--ink);color:#fff;font-weight:700;text-decoration:none}
.skip:focus{top:12px}

.wrap{width:min(1240px,100%);margin:0 auto;padding-inline:clamp(20px,5vw,56px)}
.band{padding-block:clamp(64px,9vw,124px)}
.band.tight{padding-block:clamp(48px,6vw,80px)}
.sand{background:var(--sand)}
.label{display:block;margin:0 0 14px;color:var(--orange-deep);font-size:15px;font-weight:700}
.lead{max-width:62ch;color:var(--body);font-size:clamp(18px,1.5vw,21px);line-height:1.6}
.muted{color:var(--muted)}
.intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px clamp(32px,6vw,96px);align-items:end;margin-bottom:clamp(40px,5vw,64px)}
.intro h2{margin:0}
.intro p{color:var(--body);font-size:18px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);box-shadow:0 1px 0 var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;min-height:84px}
.brand{flex:none;display:block;padding:6px 0}
.brand img{width:clamp(196px,17vw,250px);height:auto}
.nav{display:flex;align-items:center;flex-wrap:nowrap;justify-content:flex-end;gap:4px clamp(12px,1.25vw,22px);font-size:15px;font-weight:600}
.nav a{padding:8px 0;border-bottom:2px solid transparent;text-decoration:none;white-space:nowrap;transition:border-color .2s,color .2s}
.nav a:hover{border-bottom-color:var(--orange)}
.nav a.cta{padding:10px 20px;border:0;border-radius:999px;background:var(--orange);color:var(--ink);font-weight:700}
.nav a.cta:hover{background:var(--orange-hover)}
.nav a.cta.teal{background:var(--teal);color:#fff}
.nav a.cta.teal:hover{background:var(--teal-hover)}

/* Buttons and links */
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border:2px solid var(--orange);border-radius:999px;background:var(--orange);color:var(--ink);font-weight:700;font-size:16px;text-decoration:none;text-align:center;transition:background .2s,border-color .2s,color .2s}
.btn:hover{background:var(--orange-hover);border-color:var(--orange-hover)}
.btn.ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn.ghost:hover{background:var(--ink);color:#fff}
.btn.teal{background:var(--teal);border-color:var(--teal);color:#fff}
.btn.teal:hover{background:var(--teal-hover);border-color:var(--teal-hover)}
.on-dark .btn.ghost{border-color:rgba(255,255,255,.7);color:#fff}
.on-dark .btn.ghost:hover{background:#fff;color:var(--ink)}
.more{display:inline-flex;align-items:center;gap:8px;color:var(--orange-deep);font-weight:700;text-decoration:none}
.more:after{content:"";width:18px;height:2px;background:currentColor;transition:width .2s}
.more:hover:after{width:30px}
.more.teal{color:var(--teal)}

/* Page hero for course pages */
.page-hero{position:relative;background:var(--sand);overflow:hidden}
.page-hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,72px);align-items:center;padding-block:clamp(48px,7vw,96px)}
.page-hero .kicker{margin:0 0 16px;color:var(--orange-deep);font-weight:700}
.page-hero .lead{margin-top:20px}
.hero-photo{position:relative;aspect-ratio:5/4;border-radius:var(--radius) var(--sweep) var(--radius) var(--radius);background:var(--orange-tint) center/cover no-repeat;box-shadow:0 30px 60px -30px rgba(120,60,0,.35)}
.hero-photo:before{content:"";position:absolute;z-index:-1;inset:auto -10% -14% auto;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(244,140,31,.38),rgba(244,140,31,0) 68%)}
.page-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:var(--orange)}

/* Key facts strip, open columns with an orange rule */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:28px clamp(24px,3vw,48px)}
.facts>div{padding-top:18px;border-top:3px solid var(--orange)}
.facts strong{display:block;margin-bottom:6px;font-family:Quicksand,Inter,sans-serif;font-size:20px;line-height:1.25}
.facts span{color:var(--body);font-size:16px}

/* Hairline lists */
.rows{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.rows>li,.rows>article{padding:24px 0;border-bottom:1px solid var(--line)}

/* Dark band */
.on-dark{background:var(--night);color:#EAF4F4}
.on-dark h2,.on-dark h3{color:#fff}
.on-dark .label{color:#FFB466}
.on-dark p{color:#CFE3E3}

/* Footer */
.site-footer{padding-block:48px;background:var(--night-deep);color:#CFE3E3;font-size:15px;border-top:6px solid var(--orange)}
.site-footer .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.site-footer img{width:220px;height:auto}
.site-footer strong{color:#fff}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.site-footer a{color:#fff;font-weight:600;text-decoration:none}
.site-footer a:hover{color:#FFB466}

@media (max-width:1180px){
  .site-header .wrap{flex-direction:column;align-items:flex-start;gap:4px;min-height:0;padding-block:12px 0}
  .nav{width:100%;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding-bottom:10px;scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav a{flex:none}
}
@media (max-width:960px){
  .intro,.page-hero .wrap{grid-template-columns:minmax(0,1fr)}
  .hero-photo{aspect-ratio:16/10}
}
@media (max-width:600px){
  body{font-size:16px}
  .actions .btn{width:100%}
  .site-footer .wrap{flex-direction:column;align-items:flex-start}
}

/* ===== v3 shared components (24 Nov) ===== */
.site-header{border-top:5px solid var(--orange)}
.nav a[aria-current="page"]{border-bottom-color:var(--orange)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

/* Teal page hero used on every inner page */
.page-hero{position:relative;overflow:hidden;background:var(--night);color:#fff}
.page-hero:before{content:"";position:absolute;right:-10vw;bottom:-24vw;width:52vw;aspect-ratio:1;background:url("/spark-site-icon-transparent-512.png?v=20260910") center/contain no-repeat;opacity:.08;pointer-events:none}
.page-hero:after{background:var(--orange)}
.page-hero .wrap{position:relative;z-index:1}
.page-hero h1{color:#fff}
.page-hero .kicker,.page-hero .label{color:#FFB466}
.page-hero .lead{color:#E3EEF0}
.page-hero .btn.ghost{border-color:rgba(255,255,255,.8);color:#fff}
.page-hero .btn.ghost:hover{background:#fff;color:var(--ink)}
.page-hero .hero-photo{max-width:440px;justify-self:end;width:100%;aspect-ratio:3/2;box-shadow:0 40px 80px -40px rgba(0,0,0,.6)}
.page-hero .hero-photo:before{display:none}
.crumbs{margin:0 0 18px;font-size:14px;color:#CFE3E3}
.crumbs a{color:#fff;font-weight:600;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.status-note{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:8px 16px 8px 12px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff;font-size:14px;font-weight:600}
.status-note:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 4px rgba(244,140,31,.3)}

/* Modules / numbered steps as open rows */
.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px clamp(28px,4vw,56px)}
.modules article{padding-top:22px;border-top:3px solid var(--orange)}
.modules article:nth-child(2){border-color:var(--teal)}
.modules small{display:block;margin-bottom:8px;color:var(--orange-deep);font-weight:700;font-size:14px}
.modules article:nth-child(2) small{color:var(--teal)}
.modules p{color:var(--body)}

/* Two-column text + list */
.split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,6vw,96px);align-items:start}
.split>div>p{color:var(--body);font-size:18px}

/* Value link-back strip on course pages */
.value-link{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px;padding:clamp(32px,4vw,48px) 0}
.value-link strong{font-family:Quicksand,Inter,sans-serif;font-size:clamp(40px,5vw,64px);line-height:1;color:var(--orange-text)}
.value-link.teal strong{color:var(--teal)}
.value-link p{flex:1;min-width:260px;margin:0;color:var(--body);font-size:18px}

/* Call to action band */
.cta-band{position:relative;overflow:hidden;background:var(--orange);text-align:center}
.cta-band h2{max-width:20ch;margin-inline:auto}
.cta-band p{max-width:60ch;margin-inline:auto;font-size:18px}
.cta-band .actions{justify-content:center}
.cta-band .btn{background:var(--night);border-color:var(--night);color:#fff}
.cta-band .btn:hover{background:var(--night-deep);border-color:var(--night-deep)}
.cta-band .btn.ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.cta-band .btn.ghost:hover{background:var(--ink);color:#fff}

/* Footer v3 */
.site-footer .wrap{align-items:flex-start}
.footer-cols{display:grid;grid-template-columns:repeat(3,minmax(0,auto));gap:24px clamp(32px,5vw,72px)}
.footer-cols h3{margin:0 0 10px;color:#FFB466;font-family:Inter,sans-serif;font-size:14px;font-weight:700}
.footer-cols a{display:block;padding:3px 0;font-weight:500}
.footer-brand p{max-width:34ch;margin:14px 0 0;color:#CFE3E3}
.footer-legal{width:100%;margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.15);color:#A9C6CA;font-size:13px}

@media (max-width:860px){
  .modules,.split{grid-template-columns:minmax(0,1fr)}
  .page-hero .hero-photo{justify-self:start}
  .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.site-footer .footer-cols nav{display:block}
.footer-cols h3{display:block}

/* Portals menu */
.portals{position:relative}
.portals summary{list-style:none;cursor:pointer;padding:8px 0;border-bottom:2px solid transparent;white-space:nowrap}
.portals summary::-webkit-details-marker{display:none}
.portals summary:after{content:"";display:inline-block;width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .2s}
.portals[open] summary:after{transform:translateY(0) rotate(-135deg)}
.portals summary:hover{border-bottom-color:var(--orange)}
.portals-panel{position:absolute;right:-20px;top:calc(100% + 14px);z-index:60;width:min(560px,92vw);display:grid;grid-template-columns:1fr 1fr;gap:2px 20px;padding:20px 22px;border-radius:18px;background:#fff;box-shadow:0 30px 60px -20px rgba(8,63,74,.45),0 0 0 1px var(--line)}
.portals-panel .pg{grid-column:1/-1;margin:8px 0 2px;color:var(--orange-deep);font-size:13px;font-weight:700}
.portals-panel a{display:block;padding:9px 10px;margin:0 -10px;border:0!important;border-radius:10px;text-decoration:none;white-space:normal}
.portals-panel a:hover{background:var(--teal-tint)}
.portals-panel strong{display:block;color:var(--ink);font-size:15px}
.portals-panel small{display:block;color:var(--muted);font-size:13px;font-weight:500}
.footer-contact{margin-top:14px!important}
.footer-contact a{color:#fff;font-weight:600}
.footer-legal a{color:#CFE3E3!important;font-weight:500!important;text-decoration:underline}
.accredit{display:flex;flex-wrap:wrap;align-items:center;gap:16px;width:100%;margin-top:8px}
.accredit img{height:44px;width:auto;padding:6px 12px;border-radius:10px;background:#fff}
@media (max-width:1180px){
  .portals{position:static}
  .portals-panel{position:fixed;left:12px;right:12px;top:100%;width:auto;max-height:70vh;overflow:auto;grid-template-columns:1fr}
}
.portals-panel .all-portals{grid-column:1/-1;margin:10px -10px 0;padding:12px 10px 4px;border-top:1px solid var(--line)!important;border-radius:0;color:var(--teal);font-weight:700;font-size:14px}
.portals-panel .all-portals:hover{background:none;text-decoration:underline}
