/* SBS Foundation (CIO) — skybased.org
   Brand system shared with skybased.co (Sky Based Specialists Ltd). */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/barlow-condensed-800.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2'); }

:root {
  --color-graphite: #0E1517;
  --color-graphite-2: #141F22;
  --color-graphite-3: #1B272B;
  --color-purple: #6E3884;
  --color-orange: #FAAC1E;
  --color-orange-2: #FFC04A;
  --color-white: #FFFFFF;
  --color-off-white: #F2F2F2;
  --color-muted: #8B989D;
  --color-line: rgba(255,255,255,0.08);
  --color-line-strong: rgba(255,255,255,0.16);

  --accent: var(--color-orange);
  --accent-on: #101819;
  --font-heading: 'Barlow Condensed', 'Roboto Condensed', 'DIN Condensed', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --header-bg: rgba(14,21,23,0.88);
}

/* Light theme (same token names, swapped values; toggled from the
   accessibility panel, persisted as localStorage 'sbsf-theme'). */
[data-theme="light"] {
  --color-graphite: #F4F5F6;
  --color-graphite-2: #FFFFFF;
  --color-graphite-3: #ECEEEF;
  --color-white: #161413;
  --color-off-white: #231F1E;
  --color-muted: #5C666B;
  --color-line: rgba(20,20,20,0.12);
  --color-line-strong: rgba(20,20,20,0.22);
  --accent: #B26B07; /* darker gold meets AA as text on light */
  --accent-on: #FFFFFF;
  --header-bg: rgba(255,255,255,0.88);
}
html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
[data-theme="light"] :is(.brand img, .band img) { filter: brightness(0) !important; opacity: 0.85; }
[data-theme="light"] .hero::before { opacity: 0.5; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-graphite);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-on);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Type */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: clamp(21px, 1.9vw, 28px); letter-spacing: 0.01em; }
p  { margin: 0 0 1em; }
.muted { color: var(--color-muted); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(64px, 9vw, 120px) 0; }
.tint { background: var(--color-graphite-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--color-orange-2); }
.btn-ghost { border-color: var(--color-line-strong); color: var(--color-off-white); }
.btn-ghost:hover { border-color: var(--accent); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand-words {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.brand-words small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  margin-top: 4px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-off-white);
  opacity: 0.85;
  transition: opacity .15s ease, color .15s ease;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav-ctas { display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .nav-ctas .btn-ghost { display: none; }
}

/* Hero */
.hero {
  padding: clamp(48px, 7vw, 88px) 0 0;
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 130%;
  background:
    radial-gradient(560px 420px at 18% 18%, rgba(250,172,30,0.13), transparent 65%),
    radial-gradient(640px 480px at 85% 75%, rgba(110,56,132,0.22), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .lead { max-width: 44ch; margin: 22px 0 32px; color: var(--color-off-white); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-line-strong);
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; }
}

/* Client logo band */
.clients { padding: clamp(44px, 6vw, 72px) 0; }
.clients .band {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 30px 0;
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  flex-wrap: wrap;
}
.clients .band-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted);
}
.clients .band img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity .2s ease;
}
.clients .band img:hover { opacity: 1; }

/* Split sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-line-strong);
  pointer-events: none;
}
.prose p { color: var(--color-off-white); }
.prose p + p { margin-top: 1em; }
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; }
}

/* Field pills */
.fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.fields li {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  color: var(--color-muted);
}

/* Why join: 2x2 typographic grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(36px, 5vw, 64px);
}
.why-cell {
  padding: clamp(28px, 3.4vw, 48px);
  border-top: 1px solid var(--color-line);
}
.why-cell:nth-child(odd) { border-right: 1px solid var(--color-line); padding-left: 0; }
.why-cell:nth-child(even) { padding-right: 0; }
.why-cell h3 { color: var(--accent); margin-bottom: 12px; }
.why-cell p { margin: 0; color: var(--color-muted); max-width: 44ch; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cell:nth-child(odd) { border-right: 0; }
  .why-cell { padding-left: 0; padding-right: 0; }
}

/* Framework timeline */
.frame-head { max-width: 60ch; }
.frame-head p { color: var(--color-muted); }
.steps {
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 56px) clamp(32px, 5vw, 80px);
}
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.step h3 { font-size: clamp(19px, 1.6vw, 24px); margin-bottom: 8px; }
.step p { margin: 0; color: var(--color-muted); font-size: 15px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* About */
.about-photo { max-width: 420px; }
.about-photo img { border-radius: var(--radius-lg); }
.about-photo figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted);
}

/* Signup */
.signup .container { max-width: 880px; }
.signup-head { text-align: left; max-width: 56ch; }
.signup-head p { color: var(--color-muted); }
.signup-form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.field { display: grid; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input {
  font-family: inherit;
  font-size: 16px;
  color: var(--color-off-white);
  background: var(--color-graphite-3);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  width: 100%;
  transition: border-color .15s ease;
}
.field input::placeholder { color: rgba(139,152,157,0.75); }
.field input:focus { outline: none; border-color: var(--accent); }
.field .err {
  display: none;
  font-size: 13px;
  color: var(--color-orange-2);
}
.field.invalid input { border-color: var(--color-orange-2); }
.field.invalid .err { display: block; }
.signup-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.signup-note { font-size: 13px; color: var(--color-muted); margin: 0; }
.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.form-status.ok { display: block; background: rgba(250,172,30,0.12); border: 1px solid rgba(250,172,30,0.4); }
.form-status.fail { display: block; background: rgba(255,255,255,0.05); border: 1px solid var(--color-line-strong); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 640px) {
  .signup-form { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding: clamp(40px, 6vw, 64px) 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-grid .brand-words small { max-width: none; }
.footer-links { display: grid; gap: 10px; font-size: 14px; }
.footer-links a { color: var(--color-muted); transition: color .15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-muted);
}
.footer-bottom .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }

/* Compact page hero (inner pages) */
.page-hero { padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(38px, 5vw, 68px); }
.page-hero .lead { max-width: 56ch; margin-top: 18px; color: var(--color-off-white); }
.nav-links a[aria-current="page"] { color: var(--accent); opacity: 1; }

/* Wide photo band */
.photo-band { padding: 0; }
.photo-band img {
  width: 100%;
  height: clamp(260px, 44vw, 520px);
  object-fit: cover;
}

/* Photo gallery strip */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figure::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-line);
  pointer-events: none;
}
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* CTA strip */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  background: var(--color-graphite-2);
}
.cta-strip h2 { font-size: clamp(26px, 3vw, 40px); }
.cta-strip p { margin: 8px 0 0; color: var(--color-muted); max-width: 48ch; }
.tint .cta-strip { background: var(--color-graphite-3); }

/* Founder: small inline portrait */
.founder {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}
.founder img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-line-strong);
}
.founder .who strong { display: block; font-size: 16px; }
.founder .who span { font-size: 13.5px; color: var(--color-muted); }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}
.stat .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}
.stat p { color: var(--color-muted); font-size: 14.5px; margin: 10px 0 0; max-width: 30ch; }
.stat .src { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--color-muted); opacity: 0.7; margin-top: 8px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }

/* Theory of change: five-column map mirroring the ToC document
   (Focus area -> Doing this -> Ensures -> Pre-condition for -> Culminates in).
   Wide diagram scrolls inside its own container; never the page. */
.toc-scroll { overflow-x: auto; margin-top: clamp(32px, 4vw, 48px); padding-bottom: 12px; }
.toc-map {
  display: grid;
  grid-template-columns: 180px 290px 310px 290px 200px;
  gap: 0;
  min-width: 1270px;
}
.toc-map > div { padding: 0 22px; }
.toc-map > div:first-child { padding-left: 0; }
.toc-map > div:last-child { padding-right: 0; }
.toc-map > div + div { border-left: 1px dashed var(--color-line-strong); }
.toc-map > div > h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--color-off-white);
  font-weight: 700;
  margin-bottom: 6px;
}
.toc-map .rail {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
/* the two right-hand columns sit mid-height, converging like the document */
.toc-map > div:nth-child(4), .toc-map > div:nth-child(5) { align-self: center; }
.toc-card {
  background: var(--color-graphite-2);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.tint .toc-card { background: var(--color-graphite-3); }
.toc-card h4 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-off-white);
  margin: 0;
}
.toc-card p { font-size: 12px; line-height: 1.5; color: var(--color-muted); margin: 5px 0 0; }
.toc-group-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted);
  margin: 20px 0 8px;
}
.toc-group-label:first-of-type { margin-top: 0; }
.toc-card.focus {
  border-left: 3px solid var(--accent);
  padding: 16px 14px;
  margin-bottom: 14px;
}
.toc-card.focus h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1.15;
}
.toc-card.change {
  border-color: rgba(250,172,30,0.45);
  background: rgba(250,172,30,0.08);
  padding: 24px 20px;
}
.toc-card.change p {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.14;
  color: var(--color-off-white);
  margin: 0;
}
@media (max-width: 720px) {
  .toc-map { min-width: 0; grid-template-columns: 1fr; }
  .toc-map > div { padding: 0; }
  .toc-map > div + div { border-left: 0; border-top: 1px dashed var(--color-line-strong); padding-top: 22px; margin-top: 22px; }
  .toc-map > div:nth-child(4), .toc-map > div:nth-child(5) { align-self: stretch; }
}

/* Theory of change (legacy vertical bands, kept for reuse) */
.toc-flow { display: grid; gap: 18px; margin-top: clamp(32px, 4vw, 48px); }
.toc-band {
  background: var(--color-graphite-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
}
.tint .toc-band { background: var(--color-graphite-3); }
.toc-band > h3 {
  color: var(--accent);
  font-size: clamp(18px, 1.6vw, 22px);
  margin-bottom: 16px;
}
.toc-band .toc-note { font-size: 13.5px; color: var(--color-muted); margin: -8px 0 16px; }
.toc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.toc-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 10px;
}
.toc-col ul { list-style: none; padding: 0; margin: 0; }
.toc-col li { font-size: 13.5px; color: var(--color-muted); padding: 6px 0; border-top: 1px solid var(--color-line); }
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toc-chips span {
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  color: var(--color-off-white);
}
.toc-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.toc-outcomes .oc h4 { font-family: var(--font-heading); text-transform: uppercase; font-size: 17px; margin-bottom: 6px; }
.toc-outcomes .oc p { font-size: 13px; color: var(--color-muted); margin: 0; }
.toc-arrow { text-align: center; color: var(--accent); font-size: 20px; line-height: 1; }
.toc-change {
  text-align: center;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(250,172,30,0.4);
  background: rgba(250,172,30,0.07);
}
.toc-change p {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0;
}
@media (max-width: 860px) {
  .toc-cols, .toc-outcomes { grid-template-columns: 1fr; }
}

/* Feature list (hubs) */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 26px; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--color-off-white); }
.feature-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateY(-1px); }
.feature-list li span { color: var(--color-muted); }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

/* Scroll reveal (disabled under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   ACCESSIBILITY TOOLBAR (ported from skybased.co; owned code,
   no third-party dependency). Launcher + panel injected by
   site.js. Utility classes toggle on <html>. Settings persist
   via localStorage 'sbsf-a11y'.
   ============================================================ */
.a11y-launch {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: var(--accent-on);
  border: 2px solid rgba(0,0,0,0.15); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45); transition: transform .2s ease;
}
.a11y-launch:hover { transform: translateY(-2px); }
.a11y-launch svg { width: 30px; height: 30px; }
@media print { .a11y-launch, .a11y-panel, .a11y-reading-guide { display: none !important; } }

.a11y-panel {
  position: fixed; left: 18px; bottom: 84px; z-index: 91;
  width: 330px; max-width: calc(100vw - 36px); max-height: 76vh; overflow-y: auto;
  background: var(--color-graphite-2); color: var(--color-off-white);
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0,0,0,0.5); padding: 18px 18px 20px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.a11y-panel.open { opacity: 1; visibility: visible; transform: none; }
.a11y-panel h2 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .02em; font-size: 20px; color: var(--color-white); margin: 0 0 2px; }
.a11y-panel .a11y-sub { font-size: 12px; color: var(--color-muted); margin: 0 0 12px; }
.a11y-panel .a11y-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--color-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.a11y-panel .a11y-close:hover { color: var(--color-white); }
.a11y-grp { border-top: 1px solid var(--color-line); padding: 12px 0 4px; }
.a11y-grp:first-of-type { border-top: 0; padding-top: 4px; }
.a11y-grp > .lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 8px; display: block; }
.a11y-row { display: flex; gap: 8px; flex-wrap: wrap; }
.a11y-btn {
  flex: 1; min-width: 72px; background: var(--color-graphite-3); border: 1px solid var(--color-line-strong);
  color: var(--color-off-white); border-radius: 9px; padding: 10px 10px; font: inherit; font-size: 13px;
  font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: border-color .15s, background .15s;
}
.a11y-btn:hover { border-color: var(--accent); }
.a11y-btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.a11y-btn[disabled] { opacity: .5; cursor: default; }
.a11y-textsize { display: flex; align-items: center; gap: 10px; }
.a11y-textsize .a11y-btn { flex: none; width: 46px; font-size: 16px; }
.a11y-textsize .a11y-level { flex: 1; text-align: center; font-size: 13px; color: var(--color-muted); }
.a11y-reset { width: 100%; margin-top: 10px; background: transparent; border: 1px solid var(--color-line-strong); color: var(--color-off-white); border-radius: 9px; padding: 11px; font: inherit; font-weight: 600; cursor: pointer; }
.a11y-reset:hover { border-color: var(--accent); color: var(--color-white); }
.a11y-note { font-size: 11px; color: var(--color-muted); margin: 10px 0 0; }

.a11y-reading-guide { position: fixed; left: 0; right: 0; top: 0; height: 44px; background: rgba(250,172,30,0.12); border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); pointer-events: none; z-index: 89; display: none; }
html.a11y-guide .a11y-reading-guide { display: block; }

/* ---- utility classes toggled on <html> ---- */
/* Content text-scale. zoom reflows content like browser zoom; the toolbar is
   counter-scaled so it never grows past the viewport. */
html.a11y-text-1 { zoom: 1.10; } html.a11y-text-2 { zoom: 1.22; } html.a11y-text-3 { zoom: 1.36; }
html.a11y-text-1 :is(.a11y-launch, .a11y-panel) { zoom: 0.909; }
html.a11y-text-2 :is(.a11y-launch, .a11y-panel) { zoom: 0.820; }
html.a11y-text-3 :is(.a11y-launch, .a11y-panel) { zoom: 0.735; }
html.a11y-readable :is(p,li,a,span,td,th,figcaption,label,button,input,select,textarea,.lead,.prose) { font-family: Verdana, 'Segoe UI', Arial, system-ui, sans-serif !important; }
html.a11y-readable :is(p,li,.lead) { line-height: 1.9 !important; letter-spacing: .015em; }
html.a11y-spacing :is(p,li,a,.lead) { letter-spacing: .12em !important; word-spacing: .18em !important; line-height: 2.1 !important; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid var(--accent); outline-offset: 2px; background: rgba(250,172,30,0.16); }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 32 32'%3E%3Cpath d='M5 2l0 23 6.2-6.2 4 9.2 4.4-1.9-4-9.1 8.4 0z' fill='%23000' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .reveal { opacity: 1 !important; transform: none !important; }
html.a11y-read [data-a11y-spoken] { outline: 3px solid var(--accent); outline-offset: 3px; background: rgba(250,172,30,0.12); }

/* high-contrast (black/yellow) */
html.a11y-contrast {
  --color-graphite:#000000; --color-graphite-2:#000000; --color-graphite-3:#0a0a0a;
  --color-off-white:#ffffff; --color-white:#ffffff; --color-muted:#ededed;
  --color-line:rgba(255,255,255,0.55); --color-line-strong:rgba(255,255,255,0.85);
  --accent:#ffe500; --accent-on:#000000;
}
html.a11y-contrast body { background:#000; color:#fff; }
html.a11y-contrast .site-header { background:#000; }

/* reading-friendly cream */
html.a11y-cream {
  --color-graphite:#f7f1e3; --color-graphite-2:#fbf7ec; --color-graphite-3:#efe6d0;
  --color-off-white:#241a0c; --color-white:#1a1208; --color-muted:#5a4a30;
  --color-line:rgba(26,18,8,0.18); --color-line-strong:rgba(26,18,8,0.32);
  --accent:#7a4600; --accent-on:#ffffff;
}
html.a11y-cream body { background:#f7f1e3; color:#2a1f10; }
html.a11y-cream .site-header { background:rgba(247,241,227,0.92); }
/* white-on-transparent artwork flips to dark so it stays visible on cream */
html.a11y-cream :is(.brand img, .clients .band img) { filter: brightness(0) !important; opacity: 0.85; }
html.a11y-cream .hero::before { opacity: 0; }
