/* ==========================================================================
   PRANIKA — Design system
   A hand reaching to a hand: the entire visual language is built from that
   one gesture in the logo — an open line, never closed, always mid-reach.
   ========================================================================== */

:root{
  /* --- Color: warm, grounded, not-quite-nonprofit-cliché --- */
  --ink:        #241527;
  --ink-soft:   #4A3A50;
  --plum:       #3B1259;
  --plum-deep:  #22083A;
  --cream:      #FBF6EC;
  --cream-warm: #F3E9D8;
  --gold:       #B8863B;
  --gold-soft:  #E8CFA0;
  --sage:       #6E8F6B;
  --sage-soft:  #DCE7D8;
  --lavender:   #EEE3F6;
  --white:      #FFFFFF;
  --line:       rgba(36,21,39,0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -25px rgba(34,8,58,0.35);
  --shadow-card: 0 12px 30px -18px rgba(34,8,58,0.28);

  --max-width: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); color: var(--plum-deep); margin: 0 0 0.5em; font-weight: 450; line-height: 1.15; }
p{ margin: 0 0 1em; }
.sr-only{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--plum); color: var(--white);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }
:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap{ max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--plum); background: var(--lavender); padding: 7px 14px; border-radius: 999px;
}
.eyebrow.gold{ background: var(--gold-soft); color: #6B4A18; }
.eyebrow.sage{ background: var(--sage-soft); color: #3C5439; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--plum); color: var(--white); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-soft); background: var(--plum-deep); }
.btn-outline{ background: transparent; border-color: var(--plum); color: var(--plum); }
.btn-outline:hover{ background: var(--plum); color: var(--white); }
.btn-gold{ background: var(--gold); color: var(--white); }
.btn-gold:hover{ background: #9C7130; }
.btn-block{ width: 100%; justify-content: center; }
.btn-sm{ padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,236,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{ display: inline-block; width: 34px; height: 34px; color: var(--plum); flex-shrink: 0; }
.brand-mark svg, .brand-mark img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-word{ font-family: var(--font-display); font-size: 1.4rem; color: var(--plum-deep); display: flex; flex-direction: column; line-height: 1.1; }
.brand-word small{ font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.main-nav ul{ display: flex; gap: 28px; }
.main-nav a{ font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.main-nav a:hover, .main-nav a.active{ color: var(--plum); }
.main-nav a.active::after{
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold);
}
.header-cta{ flex-shrink: 0; }
.nav-toggle{ display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span{ display: block; width: 22px; height: 2px; background: var(--plum-deep); margin: 5px 0; transition: 0.2s; }

@media (max-width: 900px){
  .header-cta{ display: none; }
  .nav-toggle{ display: block; }
  .main-nav ul{
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--cream); padding: 12px 28px 24px; border-bottom: 1px solid var(--line); gap: 4px;
  }
  .main-nav ul.open{ display: flex; }
  .main-nav a{ display: block; padding: 10px 0; }
}

/* ---------- Hero ---------- */
.hero{ position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero-grid{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1{ font-size: clamp(2.4rem, 4.2vw, 3.6rem); letter-spacing: -0.01em; margin-bottom: 0.4em; }
.hero h1 em{ font-style: italic; color: var(--gold); }
.hero-lede{ font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions{ display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-meta{ display: flex; gap: 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-meta div{ display: flex; flex-direction: column; }
.hero-meta strong{ font-family: var(--font-display); font-size: 1.3rem; color: var(--plum-deep); }
.hero-meta span{ font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

/* Signature visual: the reaching-hand constellation */
.hero-visual{ position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.hv-orbit{
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--lavender) 0%, rgba(238,227,246,0) 68%);
}
.hv-core{
  position: relative; width: 46%; aspect-ratio: 1/1; border-radius: 50%;
  background: linear-gradient(150deg, var(--plum) 0%, var(--plum-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.hv-core svg{ width: 46%; height: 46%; color: var(--gold-soft); }
.hv-node{
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-card); color: var(--plum);
}
.hv-node svg{ width: 30px; height: 30px; }
.hv-node span{
  position: absolute; top: 100%; margin-top: 6px; font-size: 0.68rem; font-weight: 600;
  color: var(--ink-soft); white-space: nowrap; left: 50%; transform: translateX(-50%);
}
.hv-node.n1{ top: 2%; left: 46%; }
.hv-node.n2{ top: 18%; right: 2%; }
.hv-node.n3{ top: 56%; right: -4%; }
.hv-node.n4{ bottom: 4%; right: 22%; }
.hv-node.n5{ bottom: 4%; left: 18%; }
.hv-node.n6{ top: 56%; left: -4%; }
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 380px; margin: 0 auto; }
}

/* ---------- Section rhythm & divider (signature element) ---------- */
.section{ padding: 76px 0; }
.section-tight{ padding: 48px 0; }
.section-alt{ background: var(--cream-warm); }
.section-deep{ background: var(--plum-deep); color: rgba(255,255,255,0.92); }
.section-deep h2, .section-deep h3{ color: var(--white); }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p{ color: var(--ink-soft); font-size: 1.05rem; }
.section-deep .section-head p{ color: rgba(255,255,255,0.72); }

.hand-divider{ display: flex; align-items: center; gap: 16px; margin: 8px 0 40px; color: var(--gold); }
.hand-divider::before, .hand-divider::after{ content: ''; height: 1px; flex: 1; background: var(--line); }
.hand-divider svg{ width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Grids & cards ---------- */
.grid{ display: grid; gap: 24px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px){ .grid-3, .grid-4, .grid-6{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4, .grid-6{ grid-template-columns: 1fr; } }

.card{
  background: var(--white); border-radius: var(--radius-md); padding: 28px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.pillar-card{ position: relative; padding-top: 30px; }
.pillar-icon{
  width: 48px; height: 48px; border-radius: 50%; background: var(--lavender); color: var(--plum);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.pillar-icon svg{ width: 22px; height: 22px; }
.pillar-card h3{ font-size: 1.15rem; margin-bottom: 8px; }
.pillar-card p{ color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.stat-card{ text-align: left; padding: 22px 24px; }
.stat-value{ font-family: var(--font-mono); font-size: 1.9rem; color: var(--plum); display: block; }
.stat-value .target{ font-size: 1rem; color: var(--gold); font-weight: 500; }
.stat-label{ font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }
.stat-tag{ display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--sage-soft); color: #3C5439; padding: 3px 9px; border-radius: 999px; }

/* ---------- Timeline (journey / roadmap) — order carries real meaning here ---------- */
.timeline{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before{ content:''; position: absolute; top: 26px; left: 6%; right: 6%; height: 1px; background: var(--line); }
.timeline-step{ position: relative; padding: 0 18px; text-align: left; }
.timeline-age{
  display: inline-flex; align-items: center; justify-content: center; height: 52px; width: 52px;
  border-radius: 50%; background: var(--plum); color: var(--white); font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500; position: relative; z-index: 2; margin-bottom: 16px;
}
.timeline-step h4{ font-family: var(--font-display); font-size: 1.1rem; color: var(--plum-deep); margin-bottom: 6px; }
.timeline-step ul li{ font-size: 0.88rem; color: var(--ink-soft); padding: 3px 0; }
.timeline-step ul li::before{ content: '—'; color: var(--gold); margin-right: 6px; }
@media (max-width: 900px){ .timeline{ grid-template-columns: 1fr; gap: 32px; } .timeline::before{ display: none; } }

.roadmap-rail{ display: flex; gap: 0; overflow-x: auto; padding-bottom: 12px; }
.roadmap-item{ flex: 1; min-width: 200px; padding: 0 20px 0 0; border-left: 2px solid var(--gold-soft); padding-left: 20px; }
.roadmap-item:first-child{ border-left-color: var(--gold); }
.roadmap-year{ font-family: var(--font-mono); color: var(--gold); font-size: 0.85rem; }
.roadmap-item h4{ font-size: 1.05rem; margin: 6px 0; color: var(--plum-deep); }
.section-deep .roadmap-item h4{ color: var(--white); }
.roadmap-item p{ font-size: 0.88rem; color: var(--ink-soft); }
.section-deep .roadmap-item p{ color: rgba(255,255,255,0.68); }

/* ---------- Process cycle (Identify → Protect → Educate...) ---------- */
.cycle-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cycle-step{ display: flex; gap: 16px; align-items: flex-start; }
.cycle-num{
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); border: 1.5px solid var(--gold);
  border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cycle-step h4{ font-size: 1.02rem; margin-bottom: 4px; }
.cycle-step p{ font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px){ .cycle-grid{ grid-template-columns: 1fr; } }

/* ---------- Callout / banner ---------- */
.banner{
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: 44px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.banner h3{ color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.banner p{ color: rgba(255,255,255,0.75); margin: 0; }
@media (max-width: 720px){ .banner{ grid-template-columns: 1fr; text-align: left; } }

.quote-block{
  border-left: 3px solid var(--gold); padding-left: 24px; font-family: var(--font-display);
  font-size: 1.3rem; font-style: italic; color: var(--plum-deep);
}

/* ---------- Forms ---------- */
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full{ grid-column: 1 / -1; }
label{ display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input, select, textarea{
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: 0.96rem; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus{ border-color: var(--plum); outline: none; }
textarea{ min-height: 120px; resize: vertical; }
.field{ margin-bottom: 0; }
.hp-field{ position: absolute; left: -9999px; opacity: 0; }
.form-note{ font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.alert{ padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 20px; }
.alert-success{ background: var(--sage-soft); color: #34492F; border: 1px solid var(--sage); }
.alert-error{ background: #F8DEDE; color: #7A2222; border: 1px solid #D98686; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--plum-deep); color: rgba(255,255,255,0.72); margin-top: 40px; }
.footer-top{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 40px; overflow-x:hidden; }
.footer-top > *{ min-width: 0; }
.footer-brand p{ overflow-wrap: anywhere; }
.footer-col a, .footer-col li{ overflow-wrap: anywhere; }
.site-footer{ overflow-x: hidden; }
.footer-mark{ display: inline-block; color: var(--gold-soft); width: 30px; height: 30px; margin-bottom: 14px; }
.footer-mark svg, .footer-mark img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand p{ font-size: 0.92rem; }
.footer-pledge{ font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold-soft); }
.footer-col h3{ color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.footer-col li{ padding: 5px 0; font-size: 0.9rem; }
.footer-col a:hover{ color: var(--gold-soft); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; }
@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }

/* ---------- Misc page utilities ---------- */
.page-hero{ padding: 56px 0 20px; }
.page-hero h1{ font-size: clamp(2.1rem, 3.6vw, 3rem); max-width: 20ch; }
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px){ .two-col{ grid-template-columns: 1fr; } }
.list-check li{ padding: 6px 0 6px 28px; position: relative; color: var(--ink-soft); }
.list-check li::before{ content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.badge-row{ display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.tag{ font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.tag.pilot{ background: var(--sage-soft); border-color: var(--sage); color: #3C5439; }
.tag.roadmap{ background: var(--gold-soft); border-color: var(--gold); color: #6B4A18; }

.table{ width: 100%; border-collapse: collapse; }
.table th, .table td{ text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.table th{ font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }

.center{ text-align: center; }
.mt-0{ margin-top: 0; }
.muted{ color: var(--ink-soft); }
