/* ==========================================================================
   School Box Africa — showcase rebuild
   Design tokens from Brand Guide v1 (May 2026)
   ========================================================================== */

:root {
  --deep-space: #060810;
  --surface: #0C0F1A;
  --border: #141828;
  --mid: #4A5570;
  --light: #E8EEF8;
  --cyan: #00E5FF;
  --violet: #9B6FFF;
  --ghost-stroke: #1E2438;

  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  --z-nav: 50;
  --z-cursor: 90;
  --z-preloader: 100;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--deep-space);
  color: var(--light);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--cyan); color: var(--deep-space); }

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed; inset: 0;
  z-index: var(--z-preloader);
  background: var(--deep-space);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader--done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.preloader__mark { width: 64px; height: 64px; }
.mark-ring { transform-origin: center; animation: markPulse 2s var(--ease-out) infinite; }
.mark-ring--2 { animation-delay: 0.5s; }
@keyframes markPulse {
  0% { transform: scale(0.7); opacity: 0; }
  40% { opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}
.preloader__word {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 15px; color: var(--light);
}
.preloader__bar {
  width: 200px; height: 1px; background: var(--border);
  overflow: hidden;
}
.preloader__bar-fill {
  display: block; height: 100%; width: 0%;
  background: var(--cyan);
  transition: width 0.25s linear;
}
.preloader__pct {
  font-family: var(--font-mono); font-weight: 300;
  font-size: 10px; letter-spacing: 0.2em; color: var(--mid);
}

/* ==========================================================================
   Cursor / progress / grain
   ========================================================================== */

.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.cursor {
  width: 6px; height: 6px;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s;
}
.cursor-ring--active {
  width: 52px; height: 52px;
  border-color: rgba(155, 111, 255, 0.6);
}
body.has-cursor .cursor, body.has-cursor .cursor-ring { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  z-index: calc(var(--z-nav) + 1);
}

.grain {
  position: fixed; inset: -50%;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 4%); }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(6, 8, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out);
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  max-width: 1280px; margin: 0 auto;
  height: var(--nav-h);
  padding: 0 32px;
  display: flex; align-items: center; gap: 40px;
}

.nav__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.nav__mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav__brand-sba {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: 0.14em;
  color: var(--light);
}
.nav__brand-full {
  font-family: var(--font-mono); font-weight: 300;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.nav__links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-display); font-weight: 500;
  font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: ''; position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--light); }
.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}

.nav__hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  padding: 0 11px;
}
.nav__hamburger span {
  display: block; height: 1px; width: 100%;
  background: var(--light);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 32px 32px;
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 16, 0.97);
}
.nav__mobile-menu.is-open { display: flex; }
.nav__mobile-link {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.btn--mobile-nav { margin-top: 20px; justify-content: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  padding: 14px 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}

.btn--primary {
  background: var(--cyan);
  color: var(--deep-space);
}
.btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--light);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease-out);
}
.btn--primary:hover::before { transform: translateX(0); }
.btn--primary:hover { box-shadow: 0 0 32px rgba(0, 229, 255, 0.25); }
.btn--primary > * { position: relative; }

.btn--secondary {
  background: transparent;
  color: var(--violet);
  border: 1px solid var(--violet);
  font-weight: 600;
}
.btn--secondary:hover {
  box-shadow: 0 0 24px rgba(155, 111, 255, 0.2);
  color: var(--light);
  border-color: var(--light);
}

.btn--nav { padding: 10px 22px; background: var(--cyan); color: var(--deep-space); }
.btn--nav:hover { box-shadow: 0 0 24px rgba(0, 229, 255, 0.3); }

.btn--large { padding: 18px 40px; font-size: 15px; }

/* ==========================================================================
   Sections — shared
   ========================================================================== */

.section {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 32px;
  overflow: hidden;
}

.section__bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.section__bg img {
  width: 100%; height: 116%;
  object-fit: cover;
  opacity: 0.38;
  will-change: transform;
}
.section__bg--faint img { opacity: 0.16; }

.section__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, var(--deep-space) 0%, rgba(6, 8, 16, 0.55) 22%, rgba(6, 8, 16, 0.55) 78%, var(--deep-space) 100%);
}
.section__overlay--heavy {
  background:
    linear-gradient(180deg, var(--deep-space) 0%, rgba(6, 8, 16, 0.8) 30%, rgba(6, 8, 16, 0.8) 70%, var(--deep-space) 100%);
}

.section__content {
  position: relative; z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.section__content--center { text-align: center; }

.section__eyebrow {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--cyan);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.eyebrow__index {
  color: var(--mid);
  padding-right: 14px;
  border-right: 1px solid var(--border);
}
.section__content--center .section__eyebrow { justify-content: center; }

.section__title {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(34px, 5vw, 64px);
  color: var(--light);
  margin-bottom: 28px;
}
.section__title--xl { font-size: clamp(44px, 8vw, 110px); }

.section__body {
  font-size: 16px;
  color: rgba(232, 238, 248, 0.82);
  max-width: 640px;
  margin-bottom: 20px;
}
.section__body--measure { max-width: 680px; }
.section__body--center { margin-left: auto; margin-right: auto; }

/* Reveal states */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* clip the inner img, not the observed element — Chromium treats a target's own
   clip-path as part of its intersection rect, so a fully clipped target never fires IO */
.reveal[data-reveal="clip"] {
  transform: none;
  transition: opacity 0.4s;
}
.reveal[data-reveal="clip"] img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out);
}
.reveal[data-reveal="clip"].is-in img { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   Hero
   ========================================================================== */

.section--hero { padding-top: calc(var(--nav-h) + 100px); }

.hero__canvas {
  position: absolute; inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
}

.section__content--hero { max-width: 1100px; }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: clamp(40px, 7.2vw, 96px);
  margin-bottom: 36px;
}
.hero__line { display: block; overflow: hidden; }
.hero__line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
body.is-loaded .hero__line-inner { transform: translateY(0); }
.hero__line:nth-child(2) .hero__line-inner { transition-delay: 0.15s; }

.hero__line--ghost .hero__line-inner {
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}

.hero__sub {
  font-size: 17px;
  color: rgba(232, 238, 248, 0.8);
  max-width: 620px;
  margin-bottom: 44px;
}

.hero__ctas { display: flex; gap: 20px; flex-wrap: wrap; }

.hero__scroll-cue {
  position: absolute; bottom: 0; left: 50%;
  z-index: 2;
  width: 1px; height: 90px;
  overflow: hidden;
}
.hero__scroll-line {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, var(--cyan));
  animation: scrollCue 2.2s var(--ease-out) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   Product (split)
   ========================================================================== */

.section--hub { background: var(--deep-space); }

.section__content--split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.section__media {
  position: relative;
}
.section__media img {
  width: 100%;
  border-radius: 2px;
  filter: saturate(0.85) contrast(1.05);
}
.section__media-frame {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  pointer-events: none;
}

.feature-list {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid var(--border);
}
.feature-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: rgba(232, 238, 248, 0.85);
}
.feature-list__icon {
  flex-shrink: 0;
  width: 12px; height: 12px;
  color: var(--cyan);
  transform: translateY(1px);
}
.feature-list__icon svg { width: 100%; height: 100%; }

/* ==========================================================================
   Technology
   ========================================================================== */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.tech-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 32px 36px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  --mx: 50%; --my: 50%;
}
.tech-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(0, 229, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.tech-card:hover::before { opacity: 1; }
.tech-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.tech-card__bar {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.tech-card:hover .tech-card__bar { transform: scaleX(1); }

.tech-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 12px;
}
.tech-card p {
  font-size: 14px;
  color: rgba(232, 238, 248, 0.62);
  line-height: 1.7;
}

/* ==========================================================================
   Phase One / ticker
   ========================================================================== */

.ticker {
  position: relative; z-index: 2;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex; align-items: center;
  flex-shrink: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.badge {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 238, 248, 0.75);
  white-space: nowrap;
  padding: 0 36px;
  position: relative;
}
.badge::after {
  content: ''; position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--cyan);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.6;
}

/* ==========================================================================
   Off-grid stats
   ========================================================================== */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}
.stat {
  padding-top: 28px;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}
.stat:last-child { border-right: none; }

.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--cyan);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono); font-weight: 300;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta__rings {
  position: absolute;
  z-index: 1;
  top: 50%; left: 50%;
  width: min(140vmin, 1100px); height: min(140vmin, 1100px);
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
.cta__ring {
  transform-origin: center;
  animation: ringExpand 6s var(--ease-out) infinite;
}
.cta__ring--2 { animation-delay: 2s; }
.cta__ring--3 { animation-delay: 4s; }
@keyframes ringExpand {
  0% { transform: scale(0.4); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: scale(4.4); opacity: 0; }
}

.cta-actions {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin: 44px 0 56px;
}

.social-links {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
}
.social-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 300;
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.25s;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { color: var(--cyan); }

/* ==========================================================================
   Team
   ========================================================================== */

.team-section {
  position: relative;
  padding: 140px 32px;
  background: var(--deep-space);
  border-top: 1px solid var(--border);
}
.team-section__inner { max-width: 1280px; margin: 0 auto; }

.team-section__title {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(34px, 5vw, 64px);
  margin-bottom: 48px;
}
.team-section__title--sub { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 24px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Compact card — avatar + name/role header, clamped bio, See more toggle */
.team-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 26px 22px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.team-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--violet);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover {
  border-color: rgba(155, 111, 255, 0.35);
  transform: translateY(-3px);
}

.team-card__head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.team-card__avatar {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(155, 111, 255, 0.07);
  border: 1px solid var(--ghost-stroke);
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: 0.04em;
  color: var(--mid);
  object-fit: cover;
  filter: grayscale(1);
  transition: border-color 0.3s, filter 0.3s, color 0.3s;
}
.team-card__avatar--photo { background: none; }
.team-card:hover .team-card__avatar {
  border-color: rgba(155, 111, 255, 0.55);
  filter: grayscale(0);
  color: var(--light);
}
.team-card__id { min-width: 0; }

.team-card__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 5px;
}
.team-card__role {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.team-card__bio {
  font-size: 13.5px;
  color: rgba(232, 238, 248, 0.62);
  line-height: 1.7;
}
.team-card__bio.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card__more {
  align-self: flex-start;
  margin-top: 12px;
  background: none; border: none; padding: 4px 0;
  font-family: var(--font-mono); font-weight: 400;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
  cursor: pointer;
  transition: opacity 0.2s;
}
.team-card__more::after {
  content: ' →'; transition: transform 0.2s;
}
.team-card__more[aria-expanded="true"]::after { content: ' ←'; }
.team-card__more:hover { opacity: 0.7; }

.cd-intro { margin-top: 88px; }
.cd-intro .team-section__title { margin-bottom: 24px; }
.team-grid--directors { margin-top: 36px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  background: var(--deep-space);
  padding: 80px 32px 0;
}
.footer__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  padding-bottom: 64px;
}

.footer__brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__tagline {
  font-family: var(--font-mono); font-weight: 300;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 12px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  text-decoration: none;
  color: rgba(232, 238, 248, 0.75);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer__bottom p {
  max-width: 1280px; margin: 0 auto;
  font-family: var(--font-mono); font-weight: 300;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--mid);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .section__content--split { grid-template-columns: 1fr; gap: 48px; }
  .tech-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .btn--nav { display: none; }
  .btn--mobile-nav { display: inline-flex; }
  .nav__hamburger { display: flex; }
  .nav__brand-full { display: none; }

  .section { padding: 110px 22px; min-height: auto; }
  .section--hero { min-height: 100svh; padding-top: calc(var(--nav-h) + 60px); }

  .tech-grid, .team-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 0; }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
  }
  .stat:last-child { border-bottom: none; }

  .footer { padding: 56px 22px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: 1fr; gap: 32px; }

  .team-section { padding: 100px 22px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero__line-inner { opacity: 1; transform: none; }
  .reveal[data-reveal="clip"] img { clip-path: none; }
  .hero__canvas, .grain, .cursor, .cursor-ring, .hero__scroll-cue { display: none; }
  .ticker__track { animation: none; flex-wrap: wrap; }
  .ticker__group[aria-hidden="true"] { display: none; }
}
