/* ===== Elevate 4:14 — brand colors pulled from the logo ===== */
:root {
  --purple: #782F9A;
  --purple-dark: #4E1D66;
  --purple-tint: #F5EEF9;
  --orange: #F2511B;
  --orange-text: #C7400F;   /* darker orange for readable text */
  --orange-tint: #FEF0EA;
  --green: #A1D61D;
  --green-text: #4F7A0A;    /* darker green for readable text */
  --green-tint: #F3F9E4;
  --ink: #2A2233;
  --muted: #5F5668;
  --line: #E7E1EC;
  --bg: #FFFFFF;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(78, 29, 102, .25);
  --head: "Nunito", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--purple-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--purple); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--orange-text); margin-bottom: .75em; }

/* ===== Buttons ===== */
.btn { display: inline-block; font-family: var(--head); font-weight: 800; text-decoration: none; background: var(--orange); color: #fff; padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--orange); transition: transform .15s, background .15s, box-shadow .15s; box-shadow: 0 6px 16px -6px rgba(242, 81, 27, .55); }
.btn:hover { transform: translateY(-2px); background: #DB4410; border-color: #DB4410; }
.btn-ghost { background: transparent; color: var(--purple); border-color: var(--purple); box-shadow: none; }
.btn-ghost:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-block { display: block; text-align: center; margin-top: 1.25rem; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 170px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { font-family: var(--head); font-weight: 700; color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--purple); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 3px; background: var(--purple); border-radius: 2px; margin: 4px 0; transition: .2s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 3rem;
  background: radial-gradient(900px 500px at 100% 0%, var(--green-tint), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, var(--purple-tint), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hl { color: var(--purple); background: linear-gradient(transparent 68%, rgba(161,214,29,.45) 68%); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-card { position: relative; background: #fff; border-radius: 24px; padding: 2.2rem 2rem 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero-arc { position: absolute; top: -34px; left: 10px; right: 10px; width: calc(100% - 20px); height: 70px; }
.hero-arc path { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; }
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.path li { display: flex; gap: 1rem; align-items: flex-start; padding: .7rem 0; position: relative; }
.path strong { display: block; font-family: var(--head); color: var(--purple-dark); font-size: 1.08rem; }
.path small { color: var(--muted); font-size: .95rem; }
.dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 2px currentColor; margin-top: 2px; }
.d1 { background: var(--purple); color: var(--purple); }
.d2 { background: var(--green); color: var(--green); }
.d3 { background: var(--orange); color: var(--orange); }
.d4 { background: var(--purple-dark); color: var(--purple-dark); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.stats strong { display: block; font-family: var(--head); font-size: 1.35rem; font-weight: 900; color: var(--purple); }
.stats span { color: var(--muted); font-size: .95rem; }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tint { background: #FBF8FD; border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.prose p { font-size: 1.12rem; }
.prose p:first-child::first-line { font-weight: 700; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .2s, box-shadow .2s; border-top: 5px solid var(--c); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--t); margin-bottom: 1rem; }
.icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ct); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-purple { --c: var(--purple); --t: var(--purple-tint); --ct: var(--purple); }
.c-green  { --c: var(--green);  --t: var(--green-tint);  --ct: var(--green-text); }
.c-orange { --c: var(--orange); --t: var(--orange-tint); --ct: var(--orange-text); }

.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.5rem; }
.term { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.term h3 { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.pill { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: .3em .8em; border-radius: 999px; color: #fff; }
.p-green { background: var(--green-text); }
.p-purple { background: var(--purple); }
.checks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.checks li { padding: .3rem 0 .3rem 1.8rem; position: relative; break-inside: avoid; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%234F7A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }

.full-list { margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.full-list summary { cursor: pointer; padding: 1.2rem 1.8rem; font-family: var(--head); font-weight: 800; color: var(--purple); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.full-list summary::-webkit-details-marker { display: none; }
.full-list summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.full-list[open] summary::after { transform: rotate(45deg); }
.full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; padding: .5rem 1.8rem 2rem; }
.full-grid h4 { color: var(--orange-text); font-size: 1.05rem; border-bottom: 2px solid var(--orange-tint); padding-bottom: .4rem; }
.full-grid dl { margin: 0; }
.full-grid dt { font-weight: 700; margin-top: .8rem; }
.full-grid dd { margin: 0; color: var(--muted); font-size: .98rem; }
.note { color: var(--muted); font-style: italic; margin: -.2rem 0 0; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
.steps li { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--purple-tint); }
.steps p { color: var(--muted); margin: 0; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--head); font-weight: 900; font-size: 1.2rem; margin-bottom: 1rem; }
.steps li:nth-child(2) .num { background: var(--green-text); }
.steps li:nth-child(3) .num { background: var(--orange); }
.steps li:nth-child(4) .num { background: var(--purple-dark); }

.meet { margin-top: 3rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.meet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.meet-grid div { border-left: 4px solid var(--green); padding-left: 1rem; }
.meet-grid strong { display: block; font-family: var(--head); color: var(--purple-dark); font-size: 1.08rem; }
.meet-grid span { color: var(--muted); }
.privacy { display: flex; gap: .7rem; align-items: center; margin: 1.8rem 0 0; padding-top: 1.4rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .97rem; }
.privacy svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--purple); stroke-width: 2; }

/* Who we serve */
.serve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.serve-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.sub { margin-top: 1.6rem; }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; }
.areas em { font-style: normal; font-size: .78rem; font-weight: 700; background: var(--orange); color: #fff; border-radius: 999px; padding: .15em .6em; margin-left: .3rem; }
.referral { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.referral > p { color: var(--muted); }
.referral ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.referral li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.referral li strong { display: block; color: var(--purple-dark); }
.referral li span { color: var(--muted); font-size: .95rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; }
.person { text-align: center; padding: 1.6rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.person h3 { margin: .9rem 0 .2rem; font-size: 1.15rem; }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }
.avatar { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; font-family: var(--head); font-weight: 900; font-size: 1.6rem; color: #fff; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.a1 { background: var(--purple); }
.a2 { background: var(--orange); }
.a3 { background: var(--green-text); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--purple), var(--green), var(--orange)); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 1.8rem 2.6rem; display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--purple); }
.timeline li:last-child::before { border-color: var(--orange); background: var(--orange); }
.timeline time { font-family: var(--head); font-weight: 900; color: var(--purple); }
.timeline p { margin: 0; }

/* Footer */
.site-footer { background: #2B1239; color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.site-footer img { width: 170px; height: auto; }
.tagline { margin: .8rem 0 0; font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--green); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .9rem; }
.footer-base p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .serve-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { margin-top: 2rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .9rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .cards, .steps, .terms, .meet-grid, .full-grid { grid-template-columns: 1fr; }
  .checks { columns: 1; }
  .timeline li { grid-template-columns: 1fr; gap: .1rem; }
  .full-grid { padding-inline: 1.2rem; }
  .brand img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Multi-page additions ===== */
.site-nav a[aria-current="page"]:not(.btn) { color: var(--purple); box-shadow: inset 0 -3px 0 var(--green); }
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: radial-gradient(800px 400px at 100% 0%, var(--green-tint), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, var(--purple-tint), transparent 60%);
  border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16em; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h1-sm { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.text-link { font-family: var(--head); font-weight: 800; text-decoration: none; color: var(--purple); }
.text-link:hover { color: var(--orange-text); }
.center { text-align: center; margin: 2.2rem 0 0; }
.resource-cards { grid-template-columns: repeat(2, 1fr); }
.resource-cards .card { display: flex; flex-direction: column; }
.resource-cards .card p { margin-bottom: 1.2rem; }
.resource-cards .text-link { margin-top: auto; }
@media (max-width: 640px) { .resource-cards { grid-template-columns: 1fr; } }
