/* ============================================
   REACH Collaborative — v3, matches finalized logo
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #12213D;
  --orange: #FF5A1F;
  --orange-dark: #E04A12;
  --cream: #FAF7F2;
  --paper: #F3EEE4;
  --slate: #5B6B82;
  --line: rgba(18, 33, 61, 0.12);
  --font: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; }
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; max-width: var(--container); margin: 0 auto;
}
.logo-img { height: 52px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--orange); transition: width 0.2s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.nav-cta {
  background: var(--ink); color: var(--cream) !important; padding: 13px 28px; font-weight: 700; font-size: 0.95rem;
  border-radius: 4px; box-shadow: 0 1px 3px rgba(18,33,61,0.2); transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--orange); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem;
  padding: 15px 28px; border: 2px solid transparent; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ffd8c4; }
.btn-ghost { border-color: rgba(250, 247, 242, 0.5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(250, 247, 242, 0.08); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--orange); color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--cream); }

/* ---------- Section scaffolding ---------- */

section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.eyebrow {
  font-family: var(--font); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange-dark); display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.section-title {
  font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 16px;
}
.section-desc { color: var(--slate); font-size: 1.05rem; max-width: 560px; }

/* ---------- Partner / services grids ---------- */

.partner-grid, .services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.partner-item, .service-card { background: var(--cream); padding: 36px 30px; }
.partner-item h4, .service-card h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }
.partner-item p, .service-card p { color: var(--slate); font-size: 0.94rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(250,247,242,0.7); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(250,247,242,0.15); margin-bottom: 32px;
}
.footer-logo { height: 46px; width: auto; margin-bottom: 16px; }
.footer-grid p { font-size: 0.92rem; max-width: 280px; }
.footer-col h5 {
  font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--orange); margin-bottom: 16px;
}
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; margin-bottom: 10px; color: rgba(250,247,242,0.75); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(250,247,242,0.5); flex-wrap: wrap; gap: 12px; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--orange); padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); max-width: 520px; line-height: 1.1; }

/* ---------- Area badges ---------- */

.area-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.area-badge { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; padding: 10px 18px; border: 2px solid var(--ink); color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .services-grid, .partner-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .main-nav {
    display: flex; position: fixed; top: 65px; left: 0; right: 0; bottom: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start; padding: 32px; gap: 24px; z-index: 99;
  }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}
