/* Starks Technology Readiness Program — design system
   Palette sampled from the STRP logo artwork:
     background  #141519  (dark slate — the logo's own plate)
     chrome      #cbced4  / highlight #ffffff
     blue        #3a79ba  / deep #1f6fbf
     cyan glow   #e5ffff  -> #5fd0e4 in use
   Standalone site, so this file owns its colours and type. */

:root{
  /* Blue-cast dark surfaces, not neutral black — the logo's plate is blue-slate,
     and a neutral grey background next to it reads as a different brand. */
  --bg:#0b1220;
  --bg-2:#0f1729;
  --panel:#121e33;
  --panel-2:#16263f;
  --line:#22375a;
  --line-soft:#1a2b47;

  --text:#c3d0e4;
  --muted:#8296b4;
  --heading:#eaf2fd;
  --chrome-hi:#ffffff;
  --chrome-lo:#93aac6;

  --blue:#3a86d6;          /* sampled from the logo crystals */
  --blue-bright:#4d9df0;
  --blue-deep:#1f6fbf;
  --cyan:#7ee0f2;          /* the logo's cyan bloom, usable as an accent */
  --cyan-dim:#3e93a8;

  --radius:10px;
  --maxw:1120px;
  --glow:0 0 30px rgba(58,134,214,.5);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  background-image:
    radial-gradient(1200px 620px at 80% -10%, rgba(58,134,214,.30), transparent 68%),
    radial-gradient(820px 460px at 2% 6%, rgba(126,224,242,.14), transparent 70%),
    radial-gradient(700px 500px at 30% 120%, rgba(31,111,191,.16), transparent 70%);
  background-repeat:no-repeat;
  background-attachment:fixed;
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{color:var(--heading);line-height:1.18;margin:0 0 .62em;letter-spacing:-.01em}
h1{font-size:clamp(2.05rem,4.6vw,3.3rem);letter-spacing:-.025em}
h2{font-size:clamp(1.5rem,2.7vw,2.1rem);margin-top:2.5em}
h3{font-size:1.12rem;margin-top:2.1em;color:var(--cyan)}
p{margin:0 0 1.08em}
a{color:#6cb8f7}
a:hover{color:var(--cyan)}
strong{color:#e7f0fb}
code{
  background:#0f1b2f;border:1px solid var(--line);border-radius:5px;
  padding:.12em .42em;font-size:.87em;color:var(--cyan);
}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;background:var(--panel);color:var(--heading);
  padding:.6rem 1rem;z-index:99;border-radius:8px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.5rem}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(11,18,32,.88);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(58,134,214,.35), 0 10px 30px rgba(3,8,18,.5);
}
.site-header .wrap{display:flex;align-items:center;gap:1.9rem;
  min-height:82px;padding-top:.6rem;padding-bottom:.6rem}
.brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.brand img{height:56px;width:auto;display:block;
  filter:drop-shadow(0 0 14px rgba(58,134,214,.28))}
.site-nav{display:flex;gap:1.15rem;margin-left:auto;font-size:.86rem;font-weight:550}
.site-nav a{color:var(--text);text-decoration:none;padding:.35rem 0;
  border-bottom:2px solid transparent;white-space:nowrap}
.site-nav a:hover{color:var(--heading);border-bottom-color:var(--cyan)}
.has-sub{position:relative}
.sub{display:none;position:absolute;top:100%;left:0;min-width:230px;
  background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:.45rem;box-shadow:0 18px 40px rgba(0,0,0,.55)}
.has-sub:hover .sub,.has-sub:focus-within .sub{display:block}
.sub a{display:block;padding:.5rem .7rem;border-radius:6px;border:0;color:var(--text)}
.sub a:hover{background:#1a2a45;color:var(--heading)}
.header-cta{display:flex;gap:.6rem;flex:0 0 auto}

.btn{display:inline-block;
  /* Top of the gradient must clear 4.5:1 for white text — #4d9df0 only reaches
     2.84:1, so the button blue is deliberately darker than the accent blue. */
  background:linear-gradient(180deg,#2574c4,#1a5fa8);
  color:#fff;text-decoration:none;
  font-weight:600;font-size:.9rem;padding:.64rem 1.1rem;border-radius:8px;
  margin:0 .4rem .5rem 0;border:1px solid rgba(150,200,255,.28);
  box-shadow:0 4px 18px rgba(31,111,191,.55);
  transition:box-shadow .15s,filter .15s}
.btn:hover{filter:brightness(1.15);box-shadow:var(--glow);color:#fff}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line);
  box-shadow:none;filter:none}
.btn.ghost:hover{background:var(--panel);color:var(--heading);box-shadow:none}

/* ---------- hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(1000px 420px at 84% 6%, rgba(58,134,214,.45), transparent 64%),
    radial-gradient(760px 380px at 4% 96%, rgba(126,224,242,.20), transparent 70%),
    radial-gradient(620px 340px at 45% 130%, rgba(31,111,191,.28), transparent 72%),
    linear-gradient(160deg,#070d18 0%,#0d1729 52%,#12233d 100%);
  border-bottom:1px solid var(--line);
  padding:4.8rem 0 4.2rem;
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.030) 0 1px, transparent 1px 9px);
  -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
  mask-image:linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
}
.hero .wrap{position:relative;z-index:1}
.hero h1{
  max-width:22ch;margin-bottom:.25em;
  background:linear-gradient(180deg,var(--chrome-hi) 22%,var(--chrome-lo) 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--chrome-hi);
}
.hero p{max-width:62ch}
.eyebrow{margin:0 0 1.1rem;text-transform:uppercase;letter-spacing:.17em;
  font-size:.72rem;font-weight:700;color:var(--cyan)}

/* ---------- content ---------- */
.content{padding:3.4rem 1.5rem 5.2rem;max-width:820px}
.content h2{padding-top:.25em;border-top:1px solid var(--line-soft)}
.content h2:first-of-type{border-top:0;margin-top:.4em}
.lead{font-size:1.07rem;color:var(--heading);font-weight:600;margin-bottom:.35em}

table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.93rem}
th,td{text-align:left;padding:.72rem .85rem;border-bottom:1px solid var(--line-soft);
  vertical-align:top}
th{background:linear-gradient(180deg,#16273f,#111e33);color:var(--cyan);
  font-weight:650;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.06em;border-bottom-color:var(--line)}
tbody tr:hover{background:#111d31}

ul{margin:0 0 1.25rem;padding-left:1.15rem}
li{margin:.38em 0}
li::marker{color:var(--cyan-dim)}

blockquote{margin:1.8rem 0;padding:1.15rem 1.35rem;
  background:linear-gradient(180deg,#132340,#0f1b30);
  border:1px solid var(--line);border-left:3px solid var(--cyan);
  border-radius:0 var(--radius) var(--radius) 0;
  box-shadow:inset 0 0 40px rgba(58,134,214,.10)}
blockquote p:last-child{margin-bottom:0}

/* ---------- footer ---------- */
.site-footer{background:#070c16;border-top:1px solid var(--line);
  color:var(--muted);padding:3rem 0 2.6rem;font-size:.86rem}
/* The STS footer shape: a brand block beside grouped link columns, then a legal row
   across the full width. The brand block takes the extra space so the columns stay even. */
.site-footer .wrap{display:block}
.foot-top{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:2rem 1.6rem;
  align-items:start}
.foot-brand{max-width:34ch}
.foot-tag{margin:.9rem 0 0;color:var(--text);font-size:.9rem;line-height:1.65}
.foot-trust{margin:.9rem 0 0;color:var(--heading);font-size:.85rem;font-weight:650;
  letter-spacing:.01em}
.foot-bottom{margin-top:2.6rem;padding-top:1.5rem;border-top:1px solid var(--line-soft);
  display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;align-items:baseline}
.foot-affil{flex:1 1 32ch;max-width:70ch;font-size:.85rem;color:var(--muted)}
.foot-legal{margin:0;font-size:.85rem;white-space:nowrap}
.site-footer ul.foot-links{list-style:none;margin:0;padding:0}
.site-footer ul.foot-links li{margin:0 0 .38em}
@media (max-width:1000px){
  .foot-top{grid-template-columns:1fr 1fr}
  .foot-brand{grid-column:1 / -1;max-width:none}
}
@media (max-width:560px){
  .foot-top{grid-template-columns:1fr}
  .foot-legal{white-space:normal}
}
.site-footer a{color:#7fc2f7;text-decoration:none}
.site-footer a:hover{color:var(--cyan);text-decoration:underline}
.foot-logo{height:62px;width:auto;margin-bottom:1rem;display:block;opacity:.95}
.site-footer p{margin:0 0 .55em}
.foot-brand{color:var(--heading);font-weight:650}

.foot-nav-title{color:var(--heading);font-weight:650;margin-bottom:.4em}
.foot-addr{color:var(--text);line-height:1.55}
.foot-doc{display:inline-block;margin-top:.15em;font-size:.88rem;font-weight:600;
  color:var(--cyan);text-decoration:none;border-bottom:1px solid rgba(58,134,214,.35)}
.foot-doc:hover{color:var(--heading);border-bottom-color:var(--cyan)}
.foot-doc::after{content:" ↓";font-weight:400}
.foot-links{line-height:2.1}
.foot-links a{display:inline-block;margin-right:.9em;white-space:nowrap}

/* ---------- pathway (the level track) ---------- */
.pathway{list-style:none;margin:2.2rem 0;padding:0;position:relative;counter-reset:none}
.pathway::before{
  /* the spine the levels climb */
  content:"";position:absolute;left:22px;top:14px;bottom:14px;width:2px;
  background:linear-gradient(180deg,var(--cyan),var(--blue),var(--blue-deep));
  opacity:.55;border-radius:2px;
}
.path-step{position:relative;display:flex;gap:1.15rem;align-items:flex-start;
  padding:0 0 1.5rem 0;margin:0}
.path-step:last-child{padding-bottom:0}
.path-num{
  flex:0 0 46px;height:46px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;
  font-weight:700;font-size:.95rem;letter-spacing:.02em;
  color:var(--heading);
  background:radial-gradient(circle at 35% 28%,#1b3255,#0d1a2e);
  border:2px solid var(--cyan);
  box-shadow:0 0 0 5px rgba(11,18,32,.95), 0 0 22px rgba(126,224,242,.32);
  position:relative;z-index:1;
}
.path-body{flex:1 1 auto;background:var(--panel);
  border:1px solid var(--line);border-radius:var(--radius);
  padding:.95rem 1.15rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.path-title{margin:0 0 .18em;font-size:1.04rem;color:var(--heading)}
.path-meta{margin:0 0 .5em;font-size:.76rem;text-transform:uppercase;
  letter-spacing:.13em;font-weight:700;color:var(--cyan)}
.path-creds{margin:0 0 .35em;font-size:.94rem;color:var(--text)}
.path-roles{margin:0;font-size:.84rem;color:var(--muted)}

/* ---------- card grid ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:1.05rem;margin:2rem 0}
.card{background:linear-gradient(180deg,var(--panel),#101b2e);
  border:1px solid var(--line);border-radius:var(--radius);
  padding:1.15rem 1.25rem;position:relative;overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;
  background:linear-gradient(180deg,var(--cyan),var(--blue-deep));opacity:.75}
.card-title{margin:0 0 .4em;font-size:.99rem;color:var(--heading)}
.card-body{margin:0;font-size:.9rem;color:var(--text)}

/* ---------- callout ---------- */
.callout{margin:2rem 0;padding:1.1rem 1.3rem;
  background:linear-gradient(180deg,#132340,#0f1b30);
  border:1px solid var(--line);border-left:3px solid var(--cyan);
  border-radius:0 var(--radius) var(--radius) 0;font-size:.92rem;
  box-shadow:inset 0 0 40px rgba(58,134,214,.10)}
.callout p:last-child{margin-bottom:0}
/* A review banner, not a warning to the reader: amber, so it reads as "this is not
   finished" rather than as an error on the page. */
.callout-warn{border-left-color:#e0a33a;
  background:linear-gradient(180deg,#2a2214,#1a1509);
  box-shadow:inset 0 0 40px rgba(224,163,58,.10)}
.callout-warn strong{color:#f0c274}

/* ---------- screenshot frame (used by the Skool page) ---------- */
.shot{margin:2.2rem 0;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;background:#0d1729;box-shadow:0 18px 44px rgba(3,8,18,.6)}
.shot-bar{display:flex;align-items:center;gap:.45rem;padding:.6rem .85rem;
  background:linear-gradient(180deg,#16273f,#111e33);border-bottom:1px solid var(--line)}
.shot-dot{width:10px;height:10px;border-radius:50%;background:var(--line)}
.shot-dot.live{background:var(--cyan);box-shadow:0 0 10px rgba(126,224,242,.7)}
.shot-url{font-size:.78rem;color:var(--muted);margin-left:.5rem}
.shot img{display:block;width:100%;height:auto}

/* ---------- page artwork ---------- */
.art{margin:0 0 2.4rem;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;background:#0a1020;box-shadow:0 18px 44px rgba(3,8,18,.55)}
.art img{display:block;width:100%;height:auto}
.art figcaption{padding:.7rem 1.1rem;font-size:.84rem;color:var(--muted);
  border-top:1px solid var(--line-soft);background:var(--panel)}

/* ---------- photography ---------- */
/* Same frame as .art so illustrations and photographs sit in one visual language,
   but with a real photo's contrast handled: a slight inner border keeps a bright
   image from bleeding into the navy, and the aspect ratio is reserved by the
   width/height attributes so the page never jumps as the image loads. */
.photo{margin:0 0 2.4rem;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;background:#0a1020;box-shadow:0 18px 44px rgba(3,8,18,.55)}
.photo img{display:block;width:100%;height:auto;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.photo figcaption{padding:.7rem 1.1rem;font-size:.84rem;color:var(--muted);
  border-top:1px solid var(--line-soft);background:var(--panel)}
.photo-missing{color:#e0a33a;font-size:.9rem}
/* a portrait or headshot should not stretch to the full column width */
.photo-portrait{max-width:320px}

/* ---------- course cards (the Skool page) ---------- */
.courses{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:1rem;margin:2rem 0}
.course{display:flex;gap:1rem;align-items:flex-start;
  background:linear-gradient(180deg,var(--panel),#101b2e);
  border:1px solid var(--line);border-radius:var(--radius);
  padding:1.05rem 1.15rem;position:relative;overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.course::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;
  background:linear-gradient(180deg,var(--cyan),var(--blue-deep));opacity:.7}
.course-mark{flex:0 0 56px;width:56px;height:56px;border-radius:9px;display:block}
.course-body{flex:1 1 auto;min-width:0}
.course-name{margin:0 0 .2em;font-size:.97rem;color:var(--heading);line-height:1.3}
.course-code{margin:0 0 .3em;font-size:.76rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--cyan)}
.course-level{margin:0 0 .35em;font-size:.78rem;color:var(--muted)}
.course-desc{margin:0;font-size:.87rem;color:var(--text)}

@media (max-width:1180px){
  .site-nav{font-size:.8rem;gap:.9rem}
  .brand img{height:46px}
}
@media (max-width:980px){
  /* Five tabs must stay reachable on a phone — wrap the nav under the logo
     rather than hiding it, because a header with no navigation is a dead end. */
  .site-header .wrap{flex-wrap:wrap;gap:.5rem 1.2rem;min-height:0;padding-bottom:.7rem}
  .site-nav{order:3;width:100%;margin-left:0;gap:1.1rem;overflow-x:auto;
    padding-bottom:.45rem;-webkit-overflow-scrolling:touch}
  .site-nav::-webkit-scrollbar{height:4px}
  .site-nav::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
  .brand img{height:40px}
  .header-cta{margin-left:auto}
  .header-cta .ghost{display:inline-block}
  .content{padding:2.5rem 1.5rem 4rem}
  .hero{padding:3.4rem 0 3rem}
}

/* ---------- stat band ---------- */
.statband{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;margin:2.2rem 0}
.stat{background:linear-gradient(180deg,#111d31,#0d1729);padding:1.4rem 1.2rem}
.stat-value{display:block;font-size:clamp(1.55rem,3vw,2.2rem);font-weight:700;color:var(--cyan);
  line-height:1.1;letter-spacing:-.02em}
.stat-label{display:block;margin-top:.45rem;font-size:.82rem;color:var(--muted);line-height:1.45}

/* ---------- faq ---------- */
.faq{margin:1.8rem 0 2.4rem;border-top:1px solid var(--line-soft)}
.faq-item{border-bottom:1px solid var(--line-soft)}
.faq-item summary{cursor:pointer;padding:1rem .2rem 1rem 1.9rem;position:relative;
  font-weight:600;color:var(--heading);list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::before{content:"+";position:absolute;left:.3rem;top:.92rem;
  color:var(--cyan);font-weight:700;font-size:1.15rem;line-height:1}
.faq-item[open] summary::before{content:"\2013"}
.faq-item summary:hover{color:var(--cyan)}
.faq-item summary:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.faq-body{padding:0 .2rem 1.15rem 1.9rem}
.faq-body p:last-child{margin-bottom:0}

/* ---------- enquiry form ---------- */
.enquiry{margin:2.4rem 0;padding:1.6rem;border:1px solid var(--line);
  border-radius:var(--radius);background:linear-gradient(180deg,#111c2e,#0d1727)}
.enquiry-title{margin-top:0}
.field{display:block;margin:0 0 1rem}
.field-label{display:block;font-size:.82rem;font-weight:600;color:var(--heading);margin-bottom:.35rem}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:0 1.1rem}
.enquiry input[type=text],.enquiry input[type=email],.enquiry input[type=tel],
.enquiry select,.enquiry textarea{
  width:100%;padding:.62rem .7rem;border-radius:8px;border:1px solid var(--line);
  background:#0b1424;color:var(--text);font:inherit;font-size:.94rem}
.enquiry select{appearance:none;-webkit-appearance:none;padding-right:2.2rem;
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),
                   linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 18px) calc(50% - 1px),calc(100% - 13px) calc(50% - 1px);
  background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.enquiry input:focus,.enquiry select:focus,.enquiry textarea:focus{
  outline:2px solid var(--cyan);outline-offset:1px;border-color:var(--cyan)}
.enquiry textarea{resize:vertical;min-height:120px;font-family:inherit}
.field-hint{display:block;margin-top:.32rem;font-size:.78rem;color:var(--muted)}
/* Honeypot: off-screen rather than display:none, because some bots skip hidden fields. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin:0 0 .8rem;font-size:.9rem;min-height:1.25em}
.form-status.is-ok{color:var(--cyan)}
.form-status.is-err{color:#ff9a9a}
.form-status.is-busy{color:var(--muted)}
.form-fine{margin:.9rem 0 0;font-size:.78rem;color:var(--muted)}

@media (max-width:640px){
  .field-row{grid-template-columns:1fr}
  .statband{grid-template-columns:1fr 1fr}
}

/* ---------- reveal on scroll ---------- */
/* Motion borrowed from the STS site: a short lift and fade, cubic-bezier(.22,1,.36,1).
   Built on TRANSITIONS, not keyframe animations, and that choice is the whole point:
   a running-but-stalled animation pins the property to its `from` keyframe, and the
   animation origin outranks a normal declaration — so `opacity:1` in the .is-in rule
   loses and the content stays invisible. A transition has no such power: if it never
   runs, the element simply has the value it was given. So:
     - visible by default;
     - only the script hides anything, and only after it knows it can observe;
     - .is-in sets the final value outright, so it reveals content on its own;
     - a 2.5s timer in the script reveals everything regardless.
   Content can never end up hidden. */
.reveal{opacity:1;transform:none;
  transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1)}
html.js .reveal.reveal-armed{opacity:0;transform:translateY(24px)}
html.js .reveal.reveal-armed.is-in{opacity:1;transform:none}

/* children stagger, for grids and card rows */
.reveal-stagger>*{opacity:1;transform:none;
  transition:opacity .5s cubic-bezier(.22,1,.36,1),transform .5s cubic-bezier(.22,1,.36,1)}
html.js .reveal-stagger.reveal-armed>*{opacity:0;transform:translateY(24px)}
html.js .reveal-stagger.reveal-armed.is-in>*{opacity:1;transform:none}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(1){transition-delay:.06s}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(2){transition-delay:.14s}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(3){transition-delay:.22s}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(4){transition-delay:.30s}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(5){transition-delay:.38s}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(6){transition-delay:.46s}
html.js .reveal-stagger.reveal-armed.is-in>*:nth-child(n+7){transition-delay:.54s}

@media (prefers-reduced-motion: reduce){
  .reveal,.reveal-stagger>*{transition:none !important;opacity:1 !important;
    transform:none !important}
  html.js .reveal.reveal-armed,
  html.js .reveal-stagger.reveal-armed>*{opacity:1 !important;transform:none !important}
}
