/* ==========================================================================
   Friends With Purpose — Site Stylesheet
   Palette and fonts pulled directly from the existing branded survey tool
   so the whole site (site + survey) feels like one product.
   ========================================================================== */

:root {
  --primary: #3d6fa8;
  --primary-dark: #2f5a86;
  --primary-light: #7ca7dc;
  --blue-bg: #e8f1fb;
  --blue-bg-2: #c5d9f2;
  --green: #2a4a2c;
  --green-light: #b8d4b8;
  --green-bg: #f0f7f0;
  --ink: #1a1a1a;
  --ink-muted: #4a4a4a;
  --ink-faint: #7a7a7a;
  --border: #e0e0e0;
  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 10px;
  --max-width: 1120px;
  --shadow: 0 2px 10px rgba(26, 26, 26, 0.06);
  --shadow-hover: 0 8px 24px rgba(61, 111, 168, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--ink);
}

.brand:hover { text-decoration: none; }

.logo-mark {
  width: 48px;
  height: 26px;
  background-image: url('../images/(C) FWP Logo Mark v2.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 6px;
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--blue-bg);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.main-nav a.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  margin-left: 8px;
}
.main-nav a.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.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;
  transition: 0.2s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--blue-bg);
  color: var(--primary-dark);
}

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: #1f381f;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(180deg, var(--blue-bg) 0%, #ffffff 100%);
  padding: 72px 0 56px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy { flex: 1.2; }
.hero-art { flex: 0.8; text-align: center; }
.hero-art img { max-width: 320px; margin: 0 auto; }
.hero-art img.hero-logo { max-width: 480px; width: 100%; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--blue-bg-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* ---- Sections ---- */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-blue {
  background: var(--blue-bg);
}
.section-green {
  background: var(--green-bg);
}
.section-header {
  max-width: 640px;
  margin: 0 0 40px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ---- Cards / Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.card p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* ---- Framework pillars ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pillar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 28px;
  border-left: 1px dashed var(--border);
}
.pillar:first-child { border-left: none; }

.pillar .icon {
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-bg);
  margin-bottom: 14px;
}

.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  line-height: 1.3;
}

.pillar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pillar ul li {
  color: var(--ink-muted);
  font-size: 0.95rem;
  padding-left: 18px;
  position: relative;
}

.pillar ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 760px) {
  .pillar { border-left: none; border-top: 1px dashed var(--border); }
  .pillar:first-child { border-top: none; }
}

.card .flyer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
}

/* ---- Framework steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 22px;
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: bold;
  margin-bottom: 14px;
}
.step .time {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

/* ---- Bio cards ---- */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.bio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.bio-photo {
  width: 100%;
  max-width: 260px;
  height: 260px;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.bio-card .school {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--blue-bg);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.bio-card p {
  color: var(--ink-muted);
}
.bio-card .email {
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---- Pull quote ---- */
.pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary-light);
  padding: 6px 0 6px 24px;
  margin: 36px 0;
}

/* ---- Prose ---- */
.prose {
  max-width: 74ch;
}
.prose p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ---- Values ---- */
.values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.value {
  text-align: center;
  padding: 22px 16px;
}
.value h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
}
.value p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ---- Partner note ---- */
.partner-note {
  background: var(--green-bg);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 28px;
}
.partner-note h3 {
  color: var(--green);
}

/* ---- Contact cards ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-bg-2);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.contact-card .avatar-photo {
  object-fit: cover;
  border: 2px solid var(--blue-bg-2);
}

/* ---- Callout box ---- */
.callout {
  background: var(--blue-bg);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.callout h2 { margin-bottom: 10px; }
.callout p {
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 auto 8px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: #d8dde3;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}
.site-footer .tagline {
  color: #9aa4b1;
  font-size: 0.9rem;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9aa4b1;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: #d8dde3;
  font-size: 0.94rem;
  margin-bottom: 8px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #7d8894;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-art img { max-width: 220px; }
  .hero-art img.hero-logo { max-width: 300px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    display: none;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 44px 0; }
  .hero { padding: 48px 0 40px; }
}
