:root {
  --paper: #F5F1E8;
  --paper-2: #ECE6D8;
  --white: #FFFFFF;
  --ink: #14130F;
  --ink-2: #1E1C17;
  --muted: #5E5A50;
  --line: rgba(20, 19, 15, 0.14);
  --orange: #EC6B22;
  --orange-dark: #B8500F;
  --typewriter: 'Courier Prime', 'Courier New', Courier, monospace;
  --formal: 'Arimo', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--ink);
  padding: 8px 14px; border-radius: 6px; z-index: 100;
}
.skip:focus { left: 8px; }

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

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-block; line-height: 0; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; font-weight: 500; }
.nav nav a { text-decoration: none; opacity: 0.8; transition: opacity .15s; }
.nav nav a:hover { opacity: 1; }
.nav .nav-cta {
  opacity: 1; border: 1.5px solid var(--orange); color: var(--ink);
  padding: 7px 16px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--orange); }

.hero { background: var(--ink); color: var(--paper); padding: 88px 0 100px; }
.eyebrow {
  margin: 0 0 18px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow.dark { color: var(--orange-dark); }
.hero h1 {
  font-family: var(--typewriter); font-weight: 700;
  font-size: clamp(1.55rem, 4.3vw, 3.1rem);
  line-height: 1.25; letter-spacing: -0.01em;
  margin: 0 0 30px; max-width: 24em;
}
.hero h1 em { font-style: normal; font-weight: 400; color: var(--orange); }
.lede { font-size: 1.15rem; max-width: 40em; color: rgba(245, 241, 232, 0.78); margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 13px 26px; border-radius: 999px; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #F58444; }
.btn-ghost { border: 1px solid rgba(245, 241, 232, 0.4); color: var(--paper); }
.btn-ghost:hover { background: rgba(245, 241, 232, 0.1); }

.section { padding: 92px 0; }
.section.alt { background: var(--paper-2); }
.section h2 {
  font-family: var(--typewriter); font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 48px; max-width: 22em;
}

.grid { display: grid; gap: 22px; }
.programs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (min-width: 1000px) {
  .programs { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--orange);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(20, 19, 15, 0.35); }
.logo-panel {
  background: var(--white);
  height: 200px; padding: 22px 28px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.logo-panel img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.card-body { padding: 24px 28px 26px; flex: 1; }
.card h3 { font-family: var(--typewriter); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin: 0 0 10px; }
.card p { margin: 0 0 16px; color: var(--muted); }
.card .meta { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 11px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
}

.principles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.principles > div { border-top: 2px solid var(--orange); padding-top: 18px; }
.principles h3 { font-family: var(--typewriter); font-weight: 700; font-size: 1.2rem; margin: 0 0 10px; }
.principles p { margin: 0; color: var(--muted); }

.proof { background: var(--ink); color: var(--paper); padding: 72px 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px; }
.stats strong {
  display: block; font-family: var(--typewriter); font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem); line-height: 1; margin-bottom: 10px;
  color: var(--orange);
}
.stats span { display: block; color: rgba(245, 241, 232, 0.72); font-size: 0.98rem; max-width: 22em; }

.site-footer { background: var(--white); color: var(--ink); padding: 48px 0 28px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer .brand img { height: 52px; }
.foot-tag {
  margin: 14px 0 0; color: var(--muted); max-width: 30em;
  font-size: 0.9rem; font-family: var(--typewriter);
}
.foot-links { display: flex; gap: 24px; font-size: 0.95rem; align-items: flex-start; }
.foot-links a { text-decoration: none; opacity: 0.8; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
.legal {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { min-height: 64px; }
  .brand img { height: 38px; }
  .nav nav { gap: 14px; font-size: 0.85rem; }
  .nav nav a:nth-child(1),
  .nav nav a:nth-child(2),
  .nav nav a:nth-child(3) { display: none; }
  .hero { padding: 60px 0 68px; }
  .section { padding: 64px 0; }
  .logo-panel { height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}