/* ==========================================================================
   Ogbontor Engineering Enterprise — design system
   Dark-first. Light theme is a full token swap, not an afterthought.
   ========================================================================== */

/* ---------- Tokens ----------
   Blue and white is the brand. Light is the DEFAULT theme; dark is a deep-navy
   variant of the same palette, opted into via [data-theme="dark"].            */
:root {
  --ink:        #FFFFFF;
  --surface:    #F4F8FE;
  --surface-2:  #FFFFFF;
  --surface-3:  #E9F1FC;
  --line:       rgba(10, 42, 94, .12);
  --line-2:     rgba(10, 42, 94, .22);
  --text:       #0A1B33;
  --text-muted: #455973;
  --text-subtle:#6B7E99;

  --accent:      #0B57D0;
  --accent-hi:   #2E7BF6;
  --accent-deep: #063A93;
  --accent-soft: rgba(11, 87, 208, .09);
  --accent-line: rgba(11, 87, 208, .28);
  --cyan:        #0A8FB3;
  --cyan-soft:   rgba(10, 143, 179, .10);

  --grad:      linear-gradient(135deg, #2E7BF6 0%, #0B57D0 100%);
  --grad-text: linear-gradient(100deg, #2E7BF6 0%, #0B57D0 55%, #063A93 100%);
  --glow:      0 10px 34px -12px rgba(11, 87, 208, .45);

  --shadow-sm: 0 1px 2px rgba(10, 27, 51, .06);
  --shadow:    0 8px 28px -12px rgba(10, 27, 51, .18);
  --shadow-lg: 0 24px 58px -24px rgba(10, 27, 51, .26);

  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --container: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 68px;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink:        #060C18;
  --surface:    #0B1424;
  --surface-2:  #101B2F;
  --surface-3:  #16233B;
  --line:       rgba(255, 255, 255, .10);
  --line-2:     rgba(255, 255, 255, .18);
  --text:       #EAF1FB;
  --text-muted: #9DAFC7;
  --text-subtle:#6E819B;

  --accent:      #5C9BFF;
  --accent-hi:   #8CBAFF;
  --accent-deep: #2E7BF6;
  --accent-soft: rgba(92, 155, 255, .14);
  --accent-line: rgba(92, 155, 255, .32);
  --cyan:        #35C7E4;
  --cyan-soft:   rgba(53, 199, 228, .13);

  --grad:      linear-gradient(135deg, #5C9BFF 0%, #2E7BF6 100%);
  --grad-text: linear-gradient(100deg, #8CBAFF 0%, #5C9BFF 52%, #2E7BF6 100%);
  --glow:      0 10px 40px -12px rgba(92, 155, 255, .45);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow:    0 8px 30px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .75);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Type ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
p  { text-wrap: pretty; }
.lede { font-size: clamp(1rem, 1.7vw, 1.16rem); color: var(--text-muted); line-height: 1.75; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600;
  transition: top .18s;
}
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: .38rem .78rem; border-radius: 999px;
}
.eyebrow svg { width: 13px; height: 13px; }
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: 1rem; }
.sec-head p { margin-top: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .92rem; line-height: 1;
  padding: .82rem 1.35rem; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { box-shadow: 0 14px 44px -10px rgba(255,107,26,.6); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent-line); }
.btn--solid { background: var(--text); color: var(--ink); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--ink) 92%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .06em; line-height: 1.15; }
.brand-sub { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-subtle); }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
  padding: .5rem .78rem; border-radius: var(--r-sm); transition: color .16s, background .16s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.is-active { color: var(--text); font-weight: 600; }
.nav-links a.is-active::after {
  content: ""; display: block; height: 2px; width: 18px; margin: 3px auto -6px;
  background: var(--grad); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; color: var(--text-muted); transition: color .16s, border-color .16s, background .16s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); }
.icon-btn svg { width: 17px; height: 17px; }
.nav-toggle { display: none; }
.theme-icon-moon { display: block; }
.theme-icon-sun  { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun  { display: block; }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem .5rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { color: var(--accent); }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
}

/* ---------- Backdrop ---------- */
.backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.backdrop::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px;
  background:
    radial-gradient(620px circle at 15% 12%, var(--accent-soft), transparent 62%),
    radial-gradient(560px circle at 85% 26%, var(--cyan-soft), transparent 62%);
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 100% 62% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 62% at 50% 0%, #000 30%, transparent 78%);
  opacity: .5;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-top: 1.4rem; }
.hero .lede { margin-top: 1.35rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-note {
  margin-top: 1.15rem; font-size: .82rem; color: var(--text-subtle);
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
}
.hero-note svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.hero-note > span { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }

/* Hero collage */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.collage figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow); }
.collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.collage figure:hover img { transform: scale(1.05); }
.collage figure:first-child { grid-column: 1 / -1; }
.collage figure:first-child img { aspect-ratio: 16/9; }
.collage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem .85rem .7rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.82));
}

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: clamp(1.3rem, 3vw, 2rem) 1.2rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stat-label { margin-top: .5rem; font-size: .76rem; color: var(--text-muted); letter-spacing: .04em; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.3rem, 2.6vw, 1.85rem);
  position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s, box-shadow .25s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
.card-ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: 1.1rem;
}
.card-ico svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .92rem; color: var(--text-muted); }
.card-num {
  position: absolute; top: 1.25rem; right: 1.35rem;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-subtle);
}

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

/* ---------- Project cards ---------- */
.project {
  display: flex; flex-direction: column;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; height: 100%;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s, box-shadow .25s;
}
.project:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-3); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.3,1); }
.project:hover .project-media img { transform: scale(1.06); }
.project-body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.project-body h3 { font-size: 1.02rem; }
.project-body p { font-size: .88rem; color: var(--text-muted); flex: 1; }
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
  background: var(--surface-3); border: 1px solid var(--line); color: var(--text-muted);
}
.tag--live { background: var(--cyan-soft); border-color: color-mix(in srgb, var(--cyan) 35%, transparent); color: var(--cyan); }
.tag--wip  { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.badge-float { position: absolute; top: .8rem; left: .8rem; z-index: 1; backdrop-filter: blur(8px); }

/* ---------- Curriculum ---------- */
.tier { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); overflow: hidden; }
.tier + .tier { margin-top: 1.1rem; }
.tier-head {
  display: flex; align-items: center; gap: 1rem; padding: 1.15rem clamp(1.1rem, 2.4vw, 1.6rem);
  background: var(--surface-3); border-bottom: 1px solid var(--line);
}
.tier-rn {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none;
}
.tier-head h3 { font-size: 1.02rem; }
.tier-head p { font-size: .8rem; color: var(--text-muted); }
.modules { list-style: none; padding: .9rem; margin: 0; display: grid; gap: .5rem; }
@media (min-width: 720px) { .modules { grid-template-columns: 1fr 1fr; } }
.modules li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .7rem .85rem; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .89rem; transition: border-color .2s, background .2s;
}
.modules li:hover { border-color: var(--accent-line); background: var(--surface-3); }
.mod-n { font-family: var(--font-mono); font-size: .7rem; color: var(--accent); flex: none; padding-top: .12rem; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery figure {
  break-inside: avoid; margin: 0 0 1rem; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); cursor: zoom-in; position: relative;
}
.gallery img { width: 100%; transition: transform .5s cubic-bezier(.2,.8,.3,1), filter .3s; }
.gallery figure:hover img { transform: scale(1.04); filter: brightness(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff;
  font-size: .78rem; opacity: 0; transition: opacity .28s;
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4,6,9,.94); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox-cap { margin-top: 1rem; text-align: center; color: #C9D3E0; font-size: .85rem; }
.lightbox-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); }

/* ---------- Team & partners ---------- */
.person { text-align: center; }
.person img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-2);
  transition: border-color .25s, transform .25s;
}
.person:hover img { border-color: var(--accent-line); transform: translateY(-3px); }
.person h3 { margin-top: .95rem; font-size: .98rem; }
.person p { font-size: .8rem; color: var(--accent); font-family: var(--font-mono); letter-spacing: .05em; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.partners > div { background: var(--surface); display: grid; place-items: center; padding: 1.5rem 1rem; }
.partners img { max-height: 52px; width: auto; opacity: .75; transition: opacity .25s; }
.partners > div:hover img { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem clamp(1.1rem, 2.4vw, 1.6rem); cursor: pointer; list-style: none;
  font-weight: 600; font-size: .96rem; font-family: var(--font-display);
  transition: background .18s, color .18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-3); color: var(--accent); }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s; opacity: .55;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.faq details[open] summary { color: var(--accent); }
.faq-body { padding: 0 clamp(1.1rem, 2.4vw, 1.6rem) 1.35rem; color: var(--text-muted); font-size: .92rem; max-width: 78ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--accent-line); border-radius: var(--r-xl);
  background: var(--surface-2);
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.4rem, 4vw, 3rem);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px circle at 50% -10%, var(--accent-soft), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band p { margin: 1rem auto 0; max-width: 54ch; color: var(--text-muted); }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Forms ---------- */
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.field .req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: .78rem .9rem; font-size: .92rem;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-subtle); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface-2);
}
.textarea { resize: vertical; min-height: 128px; }
.form-note { font-size: .78rem; color: var(--text-subtle); margin-top: .75rem; }
.form-status { margin-top: .9rem; font-size: .88rem; padding: .75rem .9rem; border-radius: var(--r-sm); display: none; }
.form-status.is-ok  { display: block; background: var(--cyan-soft); border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent); color: var(--cyan); }
.form-status.is-err { display: block; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 4.5rem) 2rem; margin-top: clamp(2rem,5vw,4rem); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px)  { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.9fr 1fr 1fr 1.2fr; } }
.footer-brand p { font-size: .88rem; color: var(--text-muted); margin-top: 1rem; max-width: 42ch; }
.footer-col h2 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col a { font-size: .88rem; color: var(--text-muted); transition: color .16s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { font-size: .88rem; color: var(--text-muted); display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: .22rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.3rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-muted); transition: all .18s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--text-subtle);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Utilities & motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.8,.3,1), transform .6s cubic-bezier(.2,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.prose p + p { margin-top: 1rem; }
.prose { color: var(--text-muted); max-width: 70ch; }
.prose strong { color: var(--text); font-weight: 600; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 1.1rem; font-size: clamp(1.9rem, 5vw, 3.1rem); }
.page-hero .lede { margin-top: 1.1rem; max-width: 62ch; }
.crumbs { font-family: var(--font-mono); font-size: .72rem; color: var(--text-subtle); letter-spacing: .06em; }
.crumbs a:hover { color: var(--accent); }

/* Split feature rows */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip > *:first-child { order: 2; } }
.split figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check-list { list-style: none; padding: 0; display: grid; gap: .75rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--text-muted); }
.check-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .18rem; }

/* Notice / callout */
.callout {
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--r); padding: 1.1rem 1.25rem; font-size: .9rem;
  display: flex; gap: .8rem; align-items: flex-start;
}
.callout svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .18rem; }

/* ---------- Video stage ----------
   The 3D-printer clip is shot portrait. Rather than letterbox it into black, the
   stage is a landscape 16:9 frame with a blurred copy of the same footage filling
   the background and the sharp video centred on top. */
.video-stage {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  max-width: 920px; margin-inline: auto;
  border-radius: var(--r-lg); overflow: hidden;
  background: #08152B; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.video-stage video { display: block; }
.video-stage .video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(30px) brightness(.5) saturate(1.25);
  transform: scale(1.2);
}
/* Absolutely positioned with top/bottom pinned, so height:100% resolves against a
   definite containing block (it does NOT resolve on an aspect-ratio'd auto grid
   row — that made the portrait clip overflow the stage). width:auto then lets the
   element hug the video's own aspect ratio, so the frame sits on the picture
   itself rather than on the letterboxed box. */
.video-stage .video-main {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%; width: auto; max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 20px 55px -18px rgba(0,0,0,.8);
}
/* If the clip turns out to be sideways-recorded rather than truly portrait,
   add class "is-rotated" to .video-stage. */
.video-stage.is-rotated .video-main { transform: translateX(-50%) rotate(90deg); }
.video-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 1.5rem; color: #DCE7F7; font-size: .9rem; gap: .4rem;
}
.video-cap {
  margin-top: .85rem; font-size: .8rem; color: var(--text-subtle); text-align: center;
}

/* ---------- Bootcamp banner ---------- */
.bootcamp {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0B57D0 0%, #063A93 62%, #05286A 100%);
  color: #fff; padding: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(255,255,255,.14);
}
.bootcamp::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 100% at 85% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 85% 0%, #000 10%, transparent 72%);
}
.bootcamp > * { position: relative; }
.bootcamp .eyebrow {
  color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.30);
}
.bootcamp h2 { margin-top: 1rem; }
.bootcamp .theme-line {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.3rem); color: #BFD8FF; margin-top: .6rem;
}
.bootcamp p { color: #D6E4FA; margin-top: 1rem; max-width: 58ch; }
.bootcamp .btn--primary { background: #fff; color: #0B57D0; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.bootcamp .btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.bootcamp .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.bootcamp-facts {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem;
}
.bootcamp-facts span {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  padding: .42rem .8rem; border-radius: 999px;
}
.bootcamp-facts svg { width: 14px; height: 14px; flex: none; }

/* ---------- Sponsorship ---------- */
.sponsor-cta {
  border: 1px dashed var(--accent-line); border-radius: var(--r-lg);
  background: var(--accent-soft); padding: clamp(1.4rem, 3vw, 2rem);
  display: grid; gap: 1rem; align-content: center; text-align: center;
}
.sponsor-cta h3 { color: var(--accent); }
.sponsor-cta p { font-size: .9rem; color: var(--text-muted); }

/* ---------- Logo on dark ----------
   The mark is a navy disc, which sits too close to the dark theme's own navy.
   A hairline white ring separates it; on the light theme none is needed. */
[data-theme="dark"] .brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .92);
}

/* ---------- Project card with video ----------
   The clip is portrait; the card is 16:10. Rather than crop most of it away, the
   poster is reused as a blurred backdrop and the video sits centred at its own
   aspect ratio — same treatment as the equipment stage, scaled to a card. */
.project-media--video { background: #08152B; }
.project-media--video .media-blur {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(18px) brightness(.45) saturate(1.2);
  transform: scale(1.18);
}
.project-media--video video {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%; width: auto; max-width: 100%;
  background: transparent;
}
/* the media box no longer zooms on hover when it holds a video — the controls
   need to stay where the pointer expects them */
.project:hover .project-media--video video { transform: translateX(-50%); }

/* ---------- Registration alert bar ---------- */
.alert-bar {
  background: var(--grad); color: #fff; position: relative; z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.alert-bar .container {
  display: flex; align-items: center; justify-content: center; gap: .5rem 1rem;
  flex-wrap: wrap; padding-block: .6rem; text-align: center;
}
.alert-bar p { font-size: .86rem; font-weight: 500; display: flex; align-items: center; gap: .5rem; }
.alert-bar strong { font-weight: 700; }
.alert-bar svg { width: 15px; height: 15px; flex: none; }
.alert-bar .pill {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.34);
  padding: .16rem .6rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.alert-bar a.alert-cta {
  background: #fff; color: var(--accent); font-weight: 700; font-size: .82rem;
  padding: .4rem .95rem; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: transform .18s, box-shadow .18s;
}
.alert-bar a.alert-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); }
.alert-bar a.alert-cta svg { width: 14px; height: 14px; }

/* ---------- Hero carousel ---------- */
.carousel { position: relative; }
.carousel-window {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-3);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 980px) { .carousel-window { aspect-ratio: 5 / 4; } }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .7s ease, transform .7s ease;
  transform: scale(1.03);
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide img.slide-photo { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1.1rem .95rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(3,10,24,.88));
}
/* text slides */
.slide--cta {
  display: grid; place-content: center; text-align: center; gap: .9rem;
  padding: clamp(1.4rem, 4vw, 2.4rem); color: #fff;
  background: linear-gradient(140deg, #0B57D0 0%, #063A93 60%, #041F55 100%);
}
.slide--cta::before {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 10%, transparent 72%);
}
.slide--cta > * { position: relative; }
.slide--cta .kicker {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: #BFD8FF;
}
.slide--cta h2 { font-size: clamp(1.4rem, 4.4vw, 2.1rem); line-height: 1.1; }
.slide--cta p { font-size: .88rem; color: #D6E4FA; max-width: 34ch; margin-inline: auto; }
.slide--cta .btn { background: #fff; color: var(--accent); box-shadow: 0 10px 26px -10px rgba(0,0,0,.55); }
.slide--cta .btn:hover { background: #F2F7FF; }
.slide-inset {
  width: min(210px, 62%); margin: .35rem auto 0; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.55); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
}
.slide-inset img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center 35%; display: block;
}

/* controls */
.carousel-dots {
  display: flex; gap: .4rem; justify-content: center; align-items: center;
  margin-top: .9rem;
}
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--line-2); transition: all .25s;
}
.carousel-dots button.is-active { width: 26px; background: var(--accent); }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8,20,43,.55); color: #fff; border: 1px solid rgba(255,255,255,.28);
  cursor: pointer; opacity: 0; transition: opacity .25s, background .2s;
  backdrop-filter: blur(6px);
}
.carousel:hover .carousel-nav, .carousel-nav:focus-visible { opacity: 1; }
.carousel-nav:hover { background: rgba(8,20,43,.8); }
.carousel-nav svg { width: 17px; height: 17px; }
.carousel-nav--prev { left: .7rem; }
.carousel-nav--next { right: .7rem; }
.carousel-nav--prev svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- Track chips (what the bootcamp covers) ---------- */
.tracks { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.track {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem .9rem; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: .89rem; font-weight: 500;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.track:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.track .t-ico {
  width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.track .t-ico svg { width: 17px; height: 17px; }

/* ---------- Checkbox grid (form) ---------- */
.check-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.check-grid label {
  display: flex; align-items: center; gap: .55rem; cursor: pointer;
  padding: .62rem .75rem; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 500; transition: all .18s;
}
.check-grid label:hover { border-color: var(--accent-line); background: var(--surface-3); }
.check-grid input { accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check-grid input:checked + span { color: var(--accent); font-weight: 600; }

/* ---------- Registration panel ---------- */
.reg-hero {
  display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center;
}
@media (min-width: 900px) { .reg-hero { grid-template-columns: 1.05fr .95fr; } }
.reg-hero figure {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative;
}
.reg-hero figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.reg-hero figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem .95rem .8rem; color: #fff;
  background: linear-gradient(transparent, rgba(3,10,24,.85));
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
}
.reg-form {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.reg-form h3 { margin-bottom: .3rem; }
.fieldset { border: 0; padding: 0; margin: 0 0 1.35rem; }
.fieldset legend {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-subtle); font-weight: 600;
  padding: 0; margin-bottom: .75rem;
}
.field-row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
.free-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--cyan-soft); color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 38%, transparent);
  padding: .3rem .7rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.free-badge svg { width: 13px; height: 13px; }

/* ---------- R&D / portfolio ---------- */
.rnd {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--surface-2); height: 100%;
  display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s, box-shadow .25s;
}
.rnd:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
.rnd-top {
  padding: 1.5rem 1.4rem 1.2rem; display: flex; align-items: center; gap: .9rem;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border-bottom: 1px solid var(--line);
}
.rnd-top .card-ico { margin: 0; }
.rnd-body { padding: 1.2rem 1.4rem 1.5rem; }
.rnd-body p { font-size: .9rem; color: var(--text-muted); }

.company {
  display: flex; flex-direction: column; gap: .9rem; height: 100%;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.3rem, 2.6vw, 1.8rem);
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s, box-shadow .25s;
}
.company:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
.company-logo {
  width: 68px; height: 68px; flex: none; border-radius: 16px;
  object-fit: cover; background: var(--surface-3); border: 1px solid var(--line);
}
.company h3 { font-size: 1.05rem; }
.company p { font-size: .9rem; color: var(--text-muted); flex: 1; }
.company-link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600;
  font-size: .88rem; color: var(--accent); font-family: var(--font-mono);
}
.company-link:hover { text-decoration: underline; }
.company-link svg { width: 14px; height: 14px; }

/* ---------- Bootcamp banner: text + Africa graphic ---------- */
.bootcamp-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 940px) { .bootcamp-grid { grid-template-columns: 1.25fr .75fr; } }
.bootcamp-art { display: grid; place-items: center; }
.bootcamp-art img {
  width: 100%; max-width: 330px; height: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
@media (max-width: 939px) { .bootcamp-art { display: none; } }

/* ---------- Project cards: product logo + outbound link ---------- */
.project-logo {
  position: absolute; bottom: .7rem; right: .7rem; z-index: 1;
  width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  background: #fff; border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 6px 18px -6px rgba(3,10,24,.55);
}
.project-out {
  display: inline-flex; align-items: center; gap: .4rem;
  color: inherit; transition: color .18s;
}
.project-out svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.project-out::after { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.project--linked { position: relative; }
.project--linked:hover .project-out { color: var(--accent); }
.project--linked:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- SIWES highlight ---------- */
.siwes-panel {
  position: relative; overflow: hidden;
  border: 1px solid var(--accent-line); border-radius: var(--r-xl);
  background: var(--surface-2);
  padding: clamp(1.6rem, 4vw, 2.8rem) clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.siwes-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px circle at 88% -20%, var(--accent-soft), transparent 62%);
}
.siwes-panel::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--grad);
}
.siwes-panel > * { position: relative; }
.siwes-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: center; }
@media (min-width: 900px) { .siwes-grid { grid-template-columns: 1.15fr .85fr; } }
.siwes-points { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: 1.3rem; }
.siwes-points li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.siwes-points svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: .2rem; }
.rnd-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.rnd-chips span {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
  padding: .5rem .85rem; border-radius: 999px; font-size: .84rem; font-weight: 600;
}
.rnd-chips svg { width: 15px; height: 15px; flex: none; }
.rnd-chips .chip-note {
  background: var(--surface-3); border-color: var(--line); color: var(--text-muted); font-weight: 500;
}

/* the SIWES block on the programs page gets the same accent treatment */
.section--highlight {
  background:
    radial-gradient(760px circle at 92% -10%, var(--accent-soft), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--accent-line);
  position: relative;
}
.section--highlight::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad);
}

/* ---------- Founder ---------- */
.founder {
  display: grid; gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); max-width: 900px; margin-inline: auto;
}
@media (min-width: 720px) { .founder { grid-template-columns: 220px 1fr; } }
.founder img {
  width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line); margin-inline: auto; display: block;
}
.founder-role {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.founder h3 { margin: .35rem 0 .8rem; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.founder-bio { font-size: .94rem; color: var(--text-muted); }
.founder-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.founder-links .btn { font-size: .86rem; padding: .62rem 1rem; }

/* ---------- Touch targets on small screens ----------
   Footer and breadcrumb links are small text by design; on touch devices they
   need a target you can actually hit, so give them height without changing the
   visual type size. */
@media (max-width: 720px) {
  .footer-col ul { gap: .1rem; }
  .footer-col li a,
  .footer-contact li a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .footer-contact li { align-items: center; }
  .crumbs a { display: inline-block; padding-block: .6rem; }
  .footer-bottom { gap: .35rem 1.5rem; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* Pointer-coarse devices of any width get the same treatment */
@media (pointer: coarse) {
  .footer-col li a, .footer-contact li a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (pointer: coarse) {
  .alert-bar a.alert-cta { padding-block: .6rem; }
  .socials a { width: 44px; height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* ---------- Alert bar on small screens ----------
   The full strapline wraps into unreadable columns below ~720px, so it drops out
   and the bar keeps the pill, the headline and the call to action. */
.alert-bar p { flex-wrap: wrap; justify-content: center; }
@media (max-width: 720px) {
  .alert-bar .alert-tagline { display: none; }
  .alert-bar .container { padding-block: .55rem; gap: .5rem; }
  .alert-bar p { font-size: .8rem; gap: .45rem; }
  .alert-bar .pill { font-size: .58rem; padding: .14rem .5rem; }
}
@media (max-width: 420px) {
  .alert-bar p > svg { display: none; }
  .alert-bar a.alert-cta { font-size: .78rem; padding-inline: .8rem; }
}
