/* ============================================
   NAFA — Design System
   Navy (trust/tech) / Gold (benefit, sparingly) / Ivory (clarity)
   Manrope for headings, Inter for body
   ============================================ */

:root {
  --navy: #0F2A5C;
  --navy-deep: #0A1F44;
  --navy-mid: #143a7a;
  --gold: #D4A029;
  --gold-light: #E8C468;
  --ivory: #FBF9F4;
  --pale-blue: #EAF1FB;
  --white: #FFFFFF;
  --ink: #1A2436;
  --slate: #4B5A72;
  --line: #E1E8F2;

  --font-head: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(15, 42, 92, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 42, 92, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-deep);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
.gold-emphasis { color: var(--gold); font-style: italic; font-family: var(--font-head); }

/* Compact pill email capture (Founding Community) */
.email-capture {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
}
.email-capture input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 8px;
}
.email-capture input::placeholder { color: rgba(255,255,255,0.6); }
.email-capture input:focus { outline: none; }
.email-capture button {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-deep); font-size: 1.1rem; font-weight: 700;
  transition: transform .15s ease;
}
.email-capture button:hover { transform: scale(1.06); }

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em 0; color: var(--slate); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,160,41,0.35); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: 1320px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img { height: 42px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-deep);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color 0.15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active {
  border-color: var(--gold);
}
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-cta .btn-gold-label { padding: 12px 20px; font-size: 0.88rem; }
.nav-toggle { display: none; }
.logo { flex-shrink: 0; }

@media (max-width: 1140px) {
  .header-cta .btn-gold-label { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--navy-deep); border-radius: 2px; }
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 28px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .18s ease;
    display: flex; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .logo-img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--pale-blue) 0%, var(--white) 100%);
  overflow: hidden;
  padding: 72px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}
.hero p.lead {
  font-size: 1.12rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- Page header (non-home) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--pale-blue), var(--white));
  padding: 64px 0 48px;
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 62ch; font-size: 1.08rem; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.bg-ivory { background: var(--ivory); }
.bg-pale { background: var(--pale-blue); }
.wave-divider.bg-hero-fade { background: linear-gradient(180deg, #F3F8FD 0%, #DCEBFB 100%); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; margin-bottom: 16px;
  background: var(--pale-blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.card .icon img { width: 100%; height: 100%; object-fit: contain; }
.card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card p { font-size: 0.95rem; margin: 0; }

.pillar {
  text-align: left;
}
.icon-circle {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--pale-blue);
  display: flex; align-items: center; justify-content: center;
  padding: 12px; margin-bottom: 14px;
  flex-shrink: 0;
}
.icon-circle img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Wave divider ---------- */
.wave-divider {
  width: 100%;
  display: block;
  line-height: 0;
  margin-top: -2px;
}
.wave-divider img { width: 100%; height: auto; display: block; }

/* ---------- Navy band ---------- */
.band-navy {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--navy-mid));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p { color: rgba(255,255,255,0.82); }
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 56px 0;
}
.band-navy .eyebrow { color: var(--gold-light); }
.band-navy .eyebrow::before { background: var(--gold-light); }

/* ---------- Accordion (About/Founder style dropdowns) ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--navy-deep);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .ic {
  width: 30px; height: 30px; flex-shrink: 0;
}
.accordion-item summary .ic img { width: 100%; height: 100%; object-fit: contain; }
.accordion-item summary .chev { margin-left: auto; color: var(--gold); font-size: 1.1rem; transition: transform .2s ease; }
.accordion-item[open] summary .chev { transform: rotate(180deg); }
.accordion-item .panel { padding: 0 20px 22px 64px; color: var(--slate); font-size: 0.97rem; }
.accordion-item .panel p:last-child { margin-bottom: 0; }

/* ---------- Founder ---------- */
/* ============================================
   Founder hero v3: text top, large anchored portrait below, tagline, then page wave
   ============================================ */
.founder-hero-v3 { padding-bottom: 0; }
.fh-top { max-width: 640px; margin-bottom: 22px; }
.fh-top h1 { margin-bottom: 2px; }
.fh-intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.fh-desc { font-size: 1.05rem; max-width: 46ch; margin: 0; }
.fh-quote {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  max-width: 30ch;
  text-align: right;
  border-right: 3px solid var(--gold);
  padding-right: 14px;
  margin: 0;
  flex-shrink: 0;
}
.fh-portrait-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  max-height: 480px;
}
.fh-portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.fh-tagline {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  opacity: 0.65;
  margin: 18px 0 30px;
}
@media (max-width: 640px) {
  .fh-intro-row { flex-direction: column; gap: 14px; }
  .fh-quote { text-align: left; border-right: none; border-left: 3px solid var(--gold); padding-left: 14px; padding-right: 0; max-width: none; }
  .fh-portrait-wrap { max-height: 340px; border-radius: 14px; }
}
@media (min-width: 900px) {
  .fh-portrait-wrap { max-width: 560px; max-height: 640px; margin: 0 auto; }
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.founder-grid .f-header .eyebrow { margin-bottom: 10px; }
.founder-grid .f-header h1 { margin-bottom: 4px; }
.founder-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.founder-desc { font-size: 1.05rem; max-width: 52ch; }
.founder-quote {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin: 6px 0 0;
}
.f-portrait {
  aspect-ratio: 4 / 3.6;
}
.f-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; }
@media (min-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "header portrait" "copy portrait";
    gap: 20px 48px;
    align-items: center;
  }
  .founder-grid .f-header { grid-area: header; align-self: end; }
  .founder-grid .f-copy { grid-area: copy; align-self: start; }
  .founder-grid .f-portrait { grid-area: portrait; aspect-ratio: 4 / 4.6; }
}


/* ---------- Model diagram (MVNO) ---------- */
.model-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 10px 0 38px;
}
.model-node {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  width: 260px;
  text-align: left;
}
.model-node .ic { width: 40px; height: 40px; margin-bottom: 12px; }
.model-node .ic img { width: 100%; height: 100%; object-fit: contain; }
.model-node h4 { font-family: var(--font-head); color: var(--navy-deep); margin: 0 0 10px; }
.model-node ul { margin: 0; padding-left: 18px; color: var(--slate); font-size: 0.92rem; }
.model-node li { margin-bottom: 4px; }
.model-arrow { color: var(--gold); font-size: 1.6rem; }
@media (max-width: 900px) { .model-arrow { transform: rotate(90deg); } }

/* ---------- Steps (partners "how it works") ---------- */
.steps { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.step { flex: 1; min-width: 180px; text-align: center; }
.step .num-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--pale-blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; padding: 14px;
}
.step .num-circle img { width: 100%; height: 100%; object-fit: contain; }
.step h4 { font-family: var(--font-head); font-size: 1rem; color: var(--navy-deep); margin-bottom: 6px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Planned tech strip ---------- */
.tech-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  background: var(--pale-blue);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.tech-item { text-align: center; }
.tech-item .ic { width: 42px; height: 42px; margin: 0 auto 10px; }
.tech-item .ic img { width: 100%; height: 100%; object-fit: contain; }
.tech-item span { font-size: 0.82rem; font-weight: 600; color: var(--navy-deep); }
@media (max-width: 900px) { .tech-strip { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .tech-strip { grid-template-columns: repeat(2,1fr); } }

/* ---------- Notice box ---------- */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--pale-blue);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: var(--navy-deep);
  margin-top: 30px;
}
.notice .ic { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.notice .ic img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Impact split ---------- */
.impact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.impact-split .photo { position: relative; min-height: 340px; background-size: cover; background-position: center; }
.impact-split .photo-caption {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,0.05), rgba(10,31,68,0.55));
  display: flex; align-items: flex-end; padding: 26px;
}
.impact-split .photo-caption span {
  color: #fff; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; line-height: 1.7;
}
.impact-split .text { background: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: 48px; }
@media (max-width: 860px) { .impact-split { grid-template-columns: 1fr; } .impact-split .photo { min-height: 260px; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: flex-start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .ic {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--pale-blue); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 11px;
}
.contact-item .ic img { width: 100%; height: 100%; object-fit: contain; }
.contact-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.contact-item p { margin: 0; font-size: 0.94rem; }
.contact-item a.mail { color: var(--navy); font-weight: 600; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 56px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-img { height: 40px; width: auto; margin-bottom: 10px; }
.footer-logo .word { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; vertical-align: middle; margin-left: 10px; }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 32ch; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 14px; font-family: var(--font-head); }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); margin-left: 18px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band bottom (used on every page) ---------- */
.cta-band .band-inner h2 { max-width: 20ch; margin-bottom: 6px;}
.cta-band .band-inner .sub { max-width: 44ch; margin: 0; }
.cta-band .band-inner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- misc ---------- */
.mt-0 { margin-top: 0; }
.muted { color: var(--slate); }
.center { text-align: center; }
.small { font-size: 0.85rem; }

/* ============================================
   REDESIGN v2 additions: progressive disclosure
   ============================================ */

/* Back link on detail pages */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 22px;
}
.back-link:hover { color: var(--gold); }
.back-link .arrow { font-size: 1.1rem; }

/* Clickable row cards (Explore More lists) */
.rowlist { display: flex; flex-direction: column; gap: 10px; }
.rowcard {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.rowcard:hover { box-shadow: var(--shadow); transform: translateX(2px); border-color: var(--gold); }
.rowcard .ric {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--pale-blue); display: flex; align-items: center; justify-content: center; padding: 9px;
}
.rowcard .ric img { width: 100%; height: 100%; object-fit: contain; }
.rowcard .rtext { flex: 1; min-width: 0; }
.rowcard .rtext h3 { margin: 0 0 2px; font-size: 1rem; overflow-wrap: anywhere; word-break: normal; }
.rowcard .rtext p { margin: 0; font-size: 0.88rem; overflow-wrap: anywhere; word-break: normal; }
.rowcard .rarrow { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

/* Fixed responsive grid for the 6 partner category cards (no fixed inline column overrides) */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}
.partner-grid .rowcard { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-grid .rowcard { padding: 14px 12px; }
  .partner-grid .ric { width: 34px; height: 34px; }
  .partner-grid .rtext h3 { font-size: 0.88rem; }
  .partner-grid .rtext p { font-size: 0.78rem; }
}

/* Simple 3-step partnership process (numbered circles + connecting line) */
.process-3 {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 620px;
  margin: 0 auto;
  gap: 8px;
}
.process-line {
  position: absolute;
  top: 26px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--pale-blue);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  text-align: center;
}
.process-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 14px;
}
.process-step h4 { font-family: var(--font-head); color: var(--navy-deep); font-size: 0.98rem; margin: 0 0 4px; }
.process-step p { font-size: 0.85rem; margin: 0; line-height: 1.4; }
@media (max-width: 480px) {
  .process-circle { width: 42px; height: 42px; font-size: 1.05rem; margin-bottom: 10px; }
  .process-line { top: 21px; }
  .process-step h4 { font-size: 0.86rem; }
  .process-step p { font-size: 0.76rem; }
}

.edilist { display: flex; flex-direction: column; }
.edirow {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .15s ease;
}
.edirow:first-child { padding-top: 4px; }
.edirow:last-child { border-bottom: none; }
.edirow:hover { padding-left: 6px; }
.edirow .eic { width: 34px; height: 34px; flex-shrink: 0; margin-top: 2px; }
.edirow .eic img { width: 100%; height: 100%; object-fit: contain; }
.edirow .etext { flex: 1; min-width: 0; }
.edirow .etext h3 { font-size: 1.02rem; margin: 0 0 3px; display: flex; align-items: center; gap: 8px; }
.edirow .etext h3 .rarrow { color: var(--gold); font-size: 1.05rem; font-weight: 400; }
.edirow .etext p { font-size: 0.92rem; margin: 0; }
@media (min-width: 860px) {
  .edilist-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .edilist-2col .edirow:nth-child(3), .edilist-2col .edirow:nth-child(4) { border-bottom: none; }
}

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
.mini-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card .mic { width: 34px; height: 34px; margin-bottom: 10px; }
.mini-card .mic img { width: 100%; height: 100%; object-fit: contain; }
.mini-card h3 { font-size: 0.95rem; margin: 0 0 4px; }
.mini-card p { font-size: 0.83rem; margin: 0; line-height: 1.45; }

/* Detail page hero (compact) */
.detail-hero { padding: 34px 0 8px; }
.detail-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); max-width: 20ch; }
.detail-body { max-width: 640px; }
.detail-body p { font-size: 1.02rem; }
.detail-visual {
  width: 84px; height: 84px; border-radius: 20px;
  background: var(--pale-blue);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; margin-bottom: 22px;
}
.detail-visual img { width: 100%; height: 100%; object-fit: contain; }

/* Integrated home hero */
.hero-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(15,42,92,0.07), transparent 55%),
    linear-gradient(180deg, #DCEBFB 0%, #EAF3FC 55%, #F3F8FD 100%);
  padding: 56px 0 26px;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,42,92,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,42,92,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 55% 40% at 82% 46%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 40% at 82% 46%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}
.hero-home-visual {
  position: relative;
  min-height: 460px;
}
.hero-home-visual img {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-42%);
  width: 105%;
  max-width: 480px;
  height: auto;
}
@media (max-width: 900px) {
  .hero-home { padding: 20px 0 0; overflow: hidden; }
  .hero-home-grid { display: block; position: relative; }
  .hero-home-text { position: relative; z-index: 2; padding-right: 34%; }
  .hero-home-visual {
    position: absolute;
    top: 0;
    right: -20px;
    left: auto;
    bottom: auto;
    width: 92%;
    height: auto;
    min-height: 0;
    z-index: 1;
    pointer-events: none;
  }
  .hero-home-visual img {
    position: absolute;
    top: 0; left: auto; right: 0; bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 52%, transparent 82%);
    mask-image: linear-gradient(to bottom, black 0%, black 52%, transparent 82%);
  }
  .hero-home-actions { position: relative; z-index: 2; padding-right: 0; margin-top: 6px; }
}
@media (max-width: 480px) {
  .hero-home-text { padding-right: 30%; }
  .hero-home-visual { width: 84%; }
}

/* Overview hero 2-col (Building/Impact/Partners/About-story style heroes) */
.overview-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.overview-hero-grid img { width: 100%; }
@media (max-width: 860px) {
  .overview-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .overview-hero-grid img { max-width: 100%; margin: 4px auto 0; display: block; }
}

.overview-hero {
  padding: 40px 0 14px;
  background: linear-gradient(180deg, #DCEBFB 0%, #EEF5FC 70%, var(--white) 100%);
  overflow: hidden;
}
.overview-hero .lead { max-width: 58ch; }

/* Bleed a hero visual off the right edge, no visible box */
.bleed-right-wrap { position: relative; min-height: 320px; }
.bleed-right-wrap img {
  position: absolute;
  top: 50%; right: -8%;
  transform: translateY(-50%);
  width: 128%;
  max-width: 620px;
}
@media (max-width: 860px) {
  .bleed-right-wrap { min-height: 220px; }
  .bleed-right-wrap img { width: 118%; right: -12%; }
}
.map-caption {
  position: absolute;
  bottom: 8%;
  right: 4%;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.55;
}
@media (max-width: 640px) {
  .map-caption { font-size: 0.62rem; bottom: 4%; right: 3%; }
}
.overview-hero.founder-bg {
  position: relative;
  overflow: hidden;
  padding-bottom: 30px;
}
.overview-hero.founder-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/illustrations/founder-bg-circles.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 60% auto;
  opacity: 0.9;
  pointer-events: none;
}
.overview-hero.founder-bg .wrap { position: relative; z-index: 1; }

/* Section spacing tightened for redesign */
.section-tight2 { padding: 34px 0; }

/* mobile spacing tightening */
@media (max-width: 640px) {
  section { padding: 40px 0; }
  h1 { margin-bottom: 0.4em; }
  .hero-home p.lead { font-size: 1rem; margin-bottom: 0.7em; }
}

