/* ==========================================================================
   EduTech Africa — visual system
   Dark navy, electric blue, restrained red. Glass surfaces, strong type.
   ========================================================================== */

:root {
  --navy-950: #040b18;
  --navy-900: #07162e;
  --navy-850: #0a1d3a;
  --navy-800: #0d2447;
  --navy-700: #123263;
  --blue-600: #1f6ae0;
  --blue-500: #2f80ed;
  --blue-400: #4f9dff;
  --blue-300: #8dc0ff;
  --blue-100: #dce9ff;
  --red-500: #e5484d;
  --red-400: #ff6b6f;
  --amber-400: #f4b740;
  --ink-100: #eef4ff;
  --ink-300: #b7c6de;
  --ink-400: #8fa2c0;
  --white: #ffffff;
  --line: rgba(180, 208, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --shadow-lg: 0 30px 80px rgba(2, 8, 24, 0.55);
  --shadow-md: 0 18px 45px rgba(2, 8, 24, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-300);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

::selection {
  background: var(--blue-500);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
}

.section-tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-400), transparent);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-300);
  max-width: 62ch;
}

.muted { color: var(--ink-400); }
.text-blue { color: var(--blue-300); }
.text-red { color: var(--red-400); }

.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-head.center {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Background atmosphere
   -------------------------------------------------------------------------- */

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.orb-blue {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.55), transparent 68%);
}

.orb-red {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(229, 72, 77, 0.32), transparent 70%);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(47, 128, 237, 0.35);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 18px 40px rgba(47, 128, 237, 0.45);
}

.btn-ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--ink-100);
  backdrop-filter: blur(14px);
}

.btn-ghost:hover {
  background: var(--glass-strong);
  border-color: rgba(180, 208, 255, 0.34);
  color: var(--white);
}

.btn-red {
  background: linear-gradient(135deg, var(--red-400), #c92f35);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(229, 72, 77, 0.3);
}

.btn-red:hover { color: var(--white); }

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(4, 11, 24, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.brand:hover { color: var(--white); }
.brand img { height: 42px; width: auto; }

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-300);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: var(--glass);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 22px; height: 22px; }

.mobile-panel {
  display: none;
  padding: 10px 0 24px;
}

.mobile-panel.open { display: block; }

.mobile-panel a {
  display: block;
  padding: 13px 4px;
  color: var(--ink-100);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-panel .btn {
  margin-top: 16px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(50px, 8vw, 96px) 0 clamp(40px, 6vw, 70px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(ellipse 55% 60% at 72% 18%, rgba(47, 128, 237, 0.22), transparent 65%),
    radial-gradient(ellipse 40% 45% at 12% 70%, rgba(229, 72, 77, 0.1), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 0.35em; }

.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--blue-300), var(--blue-500) 45%, #9ad0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead { max-width: 56ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--ink-400);
  font-size: 0.86rem;
}

.hero-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-400);
  box-shadow: 0 0 0 5px rgba(229, 72, 77, 0.14);
  flex: none;
}

.hero-visual {
  position: relative;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(180, 208, 255, 0.22);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

.photo-frame img {
  width: 100%;
  height: clamp(320px, 40vw, 480px);
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 11, 24, 0.72));
}

.photo-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--ink-300);
}

.photo-caption strong {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  font-family: var(--font-display);
}

.glass-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(9, 27, 56, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  color: var(--ink-300);
  transform: translateZ(0);
  animation: float 7s ease-in-out infinite;
}

.glass-chip strong { color: var(--white); display: block; font-size: 0.95rem; }

.glass-chip .dot {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47, 128, 237, 0.18);
  color: var(--blue-300);
  flex: none;
}

.glass-chip .dot svg { width: 20px; height: 20px; }

.chip-one { left: -26px; top: 34px; animation-delay: -1.5s; }
.chip-two { right: -18px; bottom: 46px; animation-delay: -3.4s; }
.chip-two .dot { background: rgba(229, 72, 77, 0.16); color: var(--red-400); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-band {
  position: relative;
  margin-top: clamp(40px, 6vw, 70px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat {
  padding: clamp(22px, 3vw, 34px);
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat .num .suffix { color: var(--blue-400); }

.stat .label {
  display: block;
  margin-top: 10px;
  color: var(--ink-400);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-400);
}

/* --------------------------------------------------------------------------
   Cards / features
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.glass-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(16px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 208, 255, 0.4), transparent);
  opacity: 0.6;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(180, 208, 255, 0.32);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue-300);
  background: rgba(47, 128, 237, 0.15);
  border: 1px solid rgba(79, 157, 255, 0.22);
}

.icon-box svg { width: 25px; height: 25px; }

.partner-logo {
  height: 54px;
  width: auto;
  margin: 0 0 18px;
  display: block;
}

.icon-box.red {
  color: var(--red-400);
  background: rgba(229, 72, 77, 0.12);
  border-color: rgba(229, 72, 77, 0.22);
}

.icon-box.amber {
  color: var(--amber-400);
  background: rgba(244, 183, 64, 0.12);
  border-color: rgba(244, 183, 64, 0.22);
}

.glass-card p:last-child { margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-300);
}

.card-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.card-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Split layout
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.split.reverse .split-media { order: 2; }

.split-media {
  position: relative;
}

/* --------------------------------------------------------------------------
   Slideshow
   -------------------------------------------------------------------------- */

.slideshow {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(180, 208, 255, 0.22);
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}

.slides {
  display: flex;
  transition: transform 0.75s var(--ease);
  will-change: transform;
}

.slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 7s linear;
}

.slide.is-active img { transform: scale(1.1); }

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 11, 24, 0.05) 30%, rgba(4, 11, 24, 0.86));
}

.slide-caption {
  position: absolute;
  left: clamp(20px, 4vw, 40px);
  right: clamp(20px, 4vw, 40px);
  bottom: clamp(20px, 4vw, 34px);
  z-index: 2;
}

.slide-caption .place {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 6px;
}

.slide-caption h3 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.9rem); }
.slide-caption p { margin: 6px 0 0; color: var(--ink-300); font-size: 0.88rem; max-width: 60ch; }

.slide-controls {
  position: absolute;
  right: clamp(20px, 4vw, 34px);
  bottom: clamp(20px, 4vw, 34px);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slide-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(9, 27, 56, 0.6);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.2s var(--ease);
}

.slide-btn:hover { background: rgba(47, 128, 237, 0.5); }
.slide-btn svg { width: 18px; height: 18px; }

.slide-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.slide-dot {
  width: 30px;
  height: 4px;
  border-radius: 99px;
  border: 0;
  background: rgba(180, 208, 255, 0.22);
  cursor: pointer;
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}

.slide-dot.is-active {
  background: var(--blue-400);
  width: 46px;
}

.slide-credit {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--ink-400);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Quote / CTA
   -------------------------------------------------------------------------- */

.quote-band {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(229, 72, 77, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.quote-band cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.86rem;
  color: var(--ink-400);
}

.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px);
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(47, 128, 237, 0.4), transparent 65%),
    linear-gradient(135deg, #0a2350, #07162e 60%);
  border: 1px solid rgba(79, 157, 255, 0.28);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -60px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 72, 77, 0.22), transparent 65%);
  filter: blur(30px);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { margin: 0; color: var(--ink-300); max-width: 55ch; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: clamp(52px, 7vw, 88px) 0 clamp(28px, 4vw, 42px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 110%;
  background: radial-gradient(ellipse 45% 60% at 70% 20%, rgba(47, 128, 237, 0.2), transparent 65%);
  z-index: -1;
}

.page-hero h1 { max-width: 900px; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.founder-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(180, 208, 255, 0.22);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 20%;
}

.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 11, 24, 0.8));
}

.founder-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(7, 22, 46, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.founder-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.founder-badge span { font-size: 0.78rem; color: var(--blue-300); letter-spacing: 0.08em; text-transform: uppercase; }

.about-quote {
  border-left: 3px solid var(--red-500);
  padding-left: 20px;
  margin: 26px 0;
  color: var(--ink-300);
  font-size: 1.02rem;
  font-style: italic;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 30px 38px;
  margin: 0;
  border-left: 1px solid var(--line);
  margin-left: 8px;
}

.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 5px rgba(47, 128, 237, 0.15);
}

.timeline .year {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 4px;
}

.timeline h4 { margin: 0 0 4px; }
.timeline p { margin: 0; color: var(--ink-400); font-size: 0.9rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass);
}

.value h4 { margin: 0 0 6px; }
.value p { margin: 0; font-size: 0.9rem; color: var(--ink-400); }

/* --------------------------------------------------------------------------
   Login
   -------------------------------------------------------------------------- */

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--navy-950);
}

.login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(30px, 5vw, 70px);
}

.login-visual img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 11, 24, 0.94) 10%, rgba(7, 22, 46, 0.6) 60%, rgba(4, 11, 24, 0.9)),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(47, 128, 237, 0.35), transparent 70%);
}

.login-visual-inner {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.login-visual h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.login-visual p { color: var(--ink-300); }

.login-visual .brand { margin-bottom: 44px; }

.login-quote {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
  color: var(--ink-300);
}

.login-quote strong { color: var(--white); display: block; margin-top: 8px; font-size: 0.8rem; }

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 60px);
  position: relative;
}

.login-card {
  width: min(100%, 440px);
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 9px 14px;
  margin-bottom: 18px;
}

.login-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.login-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.login-card .sub { color: var(--ink-400); font-size: 0.92rem; margin-bottom: 26px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-300);
  margin-bottom: 7px;
}

.input-wrap { position: relative; }

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.55);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder { color: rgba(183, 198, 222, 0.45); }

.field input:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.16);
}

.input-wrap input { padding-right: 78px; }

.reveal-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ink-400);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
}

.reveal-btn:hover { color: var(--white); background: var(--glass); }

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 20px;
  font-size: 0.84rem;
  color: var(--ink-400);
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-500);
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.form-status.show { display: block; }
.form-status.error {
  background: rgba(229, 72, 77, 0.12);
  border-color: rgba(229, 72, 77, 0.3);
  color: #ffb4b6;
}

.form-status.success {
  background: rgba(61, 220, 151, 0.1);
  border-color: rgba(61, 220, 151, 0.28);
  color: #a9f5ce;
}

.login-help {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--ink-400);
}

.login-help a { font-weight: 600; }

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--ink-400);
}

.login-back svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   Donate
   -------------------------------------------------------------------------- */

.donate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.amount {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass);
  cursor: pointer;
  text-align: left;
  color: var(--ink-100);
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.amount:hover { transform: translateY(-3px); border-color: rgba(180, 208, 255, 0.32); }

.amount.is-selected {
  border-color: var(--blue-400);
  background: rgba(47, 128, 237, 0.14);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.12);
}

.amount strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.amount span { font-size: 0.78rem; color: var(--ink-400); }

.custom-amount {
  margin-top: 14px;
  display: none;
}

.custom-amount.show { display: block; }

.custom-amount input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 11, 24, 0.55);
  color: var(--white);
  font-size: 0.95rem;
}

.donate-aside {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.donate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.donate-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 0.92rem; color: var(--ink-300); }

.donate-list .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(244, 183, 64, 0.12);
  color: var(--amber-400);
}

.donate-list .mark svg { width: 16px; height: 16px; }

.fine-print {
  font-size: 0.78rem;
  color: var(--ink-400);
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.7);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #0c2144, #07162e);
  box-shadow: var(--shadow-lg);
}

.modal-card h3 { margin-bottom: 10px; }
.modal-card p { color: var(--ink-300); font-size: 0.92rem; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 0 28px;
  background: linear-gradient(180deg, transparent, rgba(7, 22, 46, 0.6));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}

.footer-brand p { color: var(--ink-400); font-size: 0.9rem; max-width: 34ch; margin-top: 16px; }

.footer-col h4 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--ink-300); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-400);
}

.socials { display: flex; gap: 8px; }

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-300);
  background: var(--glass);
}

.socials a:hover { color: var(--white); border-color: rgba(180, 208, 255, 0.34); }
.socials svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .chip-one { left: 10px; }
  .chip-two { right: 10px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 460px; aspect-ratio: 4 / 4.2; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .login-page { grid-template-columns: 1fr; }
  .login-visual { min-height: 320px; padding: 40px 24px; }
  .login-visual .brand { margin-bottom: 24px; }
  .login-visual h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .login-visual .login-quote { display: none; }
  .login-panel { padding: 32px 20px 60px; }
  .shot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions .btn { width: 100%; }
  .slide { aspect-ratio: 4 / 3.4; }
  .slide-controls { bottom: auto; top: 16px; }
  .slide-caption { bottom: 18px; }
  .browser-bar span { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
}

@media (max-width: 480px) {
  .glass-chip { display: none; }
  .stat { padding: 20px 12px; }
  .stat .label { font-size: 0.68rem; letter-spacing: 0.07em; }
  .photo-frame { transform: none; }
  .donate-grid { grid-template-columns: 1fr; }
  .login-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .slide img { transition: none; }
}
