/* Shared across every page on the site: palette, reset, nav, section framing
   and footer. Page-specific rules stay inline in the page that uses them.

   Pages link this with a relative path, so the site does not care what host or
   sub-path it is served from. */
:root {
  --turf: #0a1a0a;
  --turf-light: #0f2810;
  --chalk: #f0efe8;
  --chalk-dim: #b8b5a8;
  --lime: #4ade80;
  --lime-glow: #22c55e;
  --amber: #fbbf24;
  --sky: #38bdf8;
  --whistle: #ef4444;
  /* Added for the We Do Blocks card: the education work sits outside the
     field-green / sky / amber family the sports apps use. */
  --violet: #a78bfa;
  --surface: #111c11;
  --surface-raised: #162416;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--chalk);
  line-height: 1.6;
  background: var(--turf);
  overflow-x: hidden;
}

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(10, 26, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.logo {
  font-family: 'Space Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--chalk);
  text-decoration: none;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--lime);
  color: var(--turf);
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
nav a.nav-link {
  color: var(--chalk-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s;
}
nav a.nav-link:hover {
  color: var(--lime);
  background: rgba(74, 222, 128, 0.08);
}

/* ═══ SECTIONS ═══ */
section { padding: 6rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-header {
  margin-bottom: 3.5rem;
}
.section-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-number::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, var(--lime), transparent);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}

/* ═══ FOOTER ═══ */
footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--turf);
  border-top: 1px solid rgba(74,222,128,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  color: rgba(240,239,232,0.3);
  font-size: 0.8rem;
}
.footer-mark {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: rgba(74,222,128,0.3);
  letter-spacing: 2px;
}


/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  section { padding: 4rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; }
}
