/* ═══════════════════════════════════════════════════════════════
   emziniwecode.com — Main Site Stylesheet
   Design system: mint / terracotta / warm cream
   Fonts: Fraunces (display) · Inter (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --bg:       #fbf8f1;
  --bg-2:     #f5f1e8;
  --surface:  #ffffff;
  --ink:      #13141a;
  --ink-2:    #3d4148;
  --ink-3:    #6b6f78;
  --ink-4:    #9aa0a8;
  --border:   #e8e2d3;

  --brand:        #4dbba0;
  --brand-deep:   #2e8a73;
  --brand-fg:     #0c5a4a;
  --brand-bg:     #e8f5f0;
  --brand-border: #b8e0d2;

  --accent:    #c9683a;
  --accent-fg: #7a3e1f;
  --accent-bg: #f5e6dc;

  --max-w:     1080px;
  --radius:    8px;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brand-fg); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Topbar ───────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
  height: 60px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 36, 'SOFT' 20;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark:hover { text-decoration: none; }
.wordmark-dot { color: var(--brand); }

.topbar nav {
  margin-left: auto;
  min-width: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.topbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.topbar-links a:hover { color: var(--ink); background: var(--bg-2); text-decoration: none; }
.topbar-links .btn-apply {
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 1rem;
}
.topbar-links .btn-apply:hover { background: var(--ink-2); color: #fff; }

/* ── Shared layout ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }

.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-2, var(--border)); }
.btn-outline:hover { border-color: var(--ink-3); background: var(--bg-2); }

.btn-lg { font-size: 1.0625rem; padding: 0.875rem 2rem; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 1.5rem 4.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-fg);
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  border-radius: 100px;
  padding: 0.25rem 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 72, 'SOFT' 20;
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.hero-headline em {
  font-style: italic;
  color: var(--brand-fg);
  font-variation-settings: 'opsz' 72, 'SOFT' 60;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ── Section rule ─────────────────────────────────────────────── */
.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Impact strip ─────────────────────────────────────────────── */
.impact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.impact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.impact-stat {
  text-align: center;
}

.impact-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--brand-fg);
  font-variation-settings: 'opsz' 72, 'SOFT' 20;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.impact-label {
  font-size: 0.875rem;
  color: var(--ink-3);
  font-weight: 500;
}

/* ── Programs ─────────────────────────────────────────────────── */
.programs {
  padding: 5rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.programs .section-title { margin-bottom: 2.5rem; }

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-fg);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: 'opsz' 48, 'SOFT' 20;
  letter-spacing: -0.015em;
  margin-bottom: 2.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.program-card:hover {
  border-color: var(--brand-border);
  box-shadow: 0 4px 16px rgba(77, 187, 160, 0.08);
}

.program-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-icon svg { width: 20px; height: 20px; stroke: var(--brand-fg); }

.program-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.program-desc {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.55;
  flex: 1;
}

.program-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-fg);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.program-link:hover { text-decoration: underline; }

.program-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent-bg);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  width: fit-content;
}

/* ── About strip ──────────────────────────────────────────────── */
.about-strip {
  background: var(--ink);
  padding: 5rem 1.5rem;
}

.about-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: #f0ece4;
  font-variation-settings: 'opsz' 48, 'SOFT' 20;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-body {
  color: #9aa0a8;
  font-size: 1rem;
  line-height: 1.7;
}

.about-body p + p { margin-top: 0.875rem; }

.about-visual {
  background: #1c1d24;
  border: 1px solid #2e3038;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.about-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #2e3038;
}
.about-fact:last-child { border-bottom: none; padding-bottom: 0; }

.about-fact-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.about-fact-text {
  font-size: 0.9rem;
  color: #b8b3aa;
  line-height: 1.5;
}

.about-fact-text strong { color: #f0ece4; }

/* ── Apply CTA ────────────────────────────────────────────────── */
.apply-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.apply-cta {
  background: var(--brand-bg);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.apply-cta-inner { max-width: 600px; margin: 0 auto; }

.apply-cta-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--brand-fg);
  font-variation-settings: 'opsz' 48, 'SOFT' 30;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.apply-cta-sub {
  font-size: 1rem;
  color: var(--brand-deep);
  margin-bottom: 2rem;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: 3.5rem 1.5rem 2rem; }

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #2e3038;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #d8d3c5;
  margin-bottom: 0.75rem;
  font-variation-settings: 'opsz' 36, 'SOFT' 20;
}

.footer-desc {
  font-size: 0.875rem;
  color: #6b6f78;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-email a {
  font-size: 0.875rem;
  color: #8b8780;
}
.footer-email a:hover { color: var(--brand); }

.footer-col-head {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4e57;
  margin-bottom: 0.875rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: #6b6f78;
}
.footer-col a:hover { color: #d8d3c5; text-decoration: none; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright { font-size: 0.8125rem; color: #4a4e57; }

.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: #4a4e57; transition: color 0.15s; }
.footer-social a:hover { color: var(--brand); }
.footer-social svg { width: 18px; height: 18px; }

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .topbar nav { display: none; }

  .hero { padding: 3.5rem 1rem 3rem; }
  .hero-headline { font-size: 2.25rem; }
  .hero-sub { font-size: 1rem; }

  .impact-inner { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .impact-number { font-size: 2.25rem; }

  .programs { padding: 3.5rem 1rem; }
  .programs-grid { grid-template-columns: 1fr; gap: 1rem; }

  .about-strip { padding: 3.5rem 1rem; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 2rem; }

  .apply-cta { padding: 3.5rem 1rem; }
  .apply-cta-heading { font-size: 1.75rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .impact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
