/* ─────────────────────────────────────────────────────
   One-K Impact Hub — Design System
───────────────────────────────────────────────────── */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2A5438;
  --green-dark:  #1C3A26;
  --green-mid:   #3D7A54;
  --green-light: #EBF2EC;
  --gold:        #B8881A;
  --gold-light:  #D4A230;
  --text:        #141F17;
  --text-mid:    #3A4A3D;
  --muted:       #586B5C;
  --bg:          #F5F7F4;
  --bg-alt:      #ECF0EA;
  --white:       #FFFFFF;
  --rule:        #D0DAD2;
  --card-shadow: 0 2px 12px rgba(20, 31, 23, 0.07);
  --card-shadow-hover: 0 6px 24px rgba(20, 31, 23, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAVIGATION ──────────────────────────────────── */
.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-center a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
  position: relative;
  padding-bottom: 2px;
}

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s;
}

.nav-center a:hover,
.nav-center a.active {
  color: var(--green);
}

.nav-center a.active::after,
.nav-center a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
  padding: 0.5rem 1.4rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.18s;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  background-color: var(--green-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L57 33 L80 25 L67 46 L88 60 L64 58 L60 82 L50 62 L40 82 L36 58 L12 60 L33 46 L20 25 L43 33 Z' fill='none' stroke='white' stroke-width='0.6' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 100px;
  padding: 2.2rem 3rem 4rem 6.5rem;
}

.hero-bismillah {
  font-family: 'Amiri Quran', 'Traditional Arabic', serif;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.45);
  direction: rtl;
  unicode-bidi: embed;
  line-height: 2;
  margin-bottom: 0.75rem;
}

.hero-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.hero-source {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-divider {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 0.75rem;
}

.hero-mission {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PAGE HEADER (inner pages) ───────────────────── */
.page-header {
  background-color: var(--green-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L57 33 L80 25 L67 46 L88 60 L64 58 L60 82 L50 62 L40 82 L36 58 L12 60 L33 46 L20 25 L43 33 Z' fill='none' stroke='white' stroke-width='0.6' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 100px;
  padding: 2.3rem 3rem;
  text-align: center;
}

.ph-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: normal;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.page-header-left {
  text-align: left;
  padding-left: 6.5rem;
  padding-right: 6.5rem;
}
.page-header-left h1 { max-width: 55%; }
.page-header-left p  { margin: 0; max-width: 65%; }

/* ── SECTION SCAFFOLDING ─────────────────────────── */
.section {
  padding: 6rem 3rem;
}

.section-alt    { background: var(--bg-alt); }
.section-white  { background: var(--white); }
.section-green  { background: var(--green-dark); }

.section-inner    { max-width: 1040px; margin: 0 auto; }
.section-inner-md { max-width: 780px;  margin: 0 auto; }
.section-inner-sm { max-width: 640px;  margin: 0 auto; }
.section-inner > h2.serif { margin-bottom: 15px; }
.section-flush { padding-left: 6.5rem; padding-right: 6.5rem; }
.section-flush .section-inner { max-width: none; margin: 0; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.eyebrow-white {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
  display: block;
}

h2.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 3.8vw, 3rem);
  font-weight: normal;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

h2.serif-white {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 3.8vw, 3rem);
  font-weight: normal;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

h2.serif-center {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 3rem;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #9A7215;
  border-color: #9A7215;
}

.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

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

/* ── FOCUS CARDS ─────────────────────────────────── */
.focus-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  align-items: center;
}

.focus-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-label h2.serif {
  margin-bottom: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.focus-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.focus-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.focus-card-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-mid);
  background: transparent;
  border: 2px solid var(--green-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.focus-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.focus-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.focus-card .focus-tags {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  line-height: 1.5;
}

.focus-card .focus-tags span {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.focus-card .focus-tags span + span::before {
  content: ' · ';
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

/* ── PROCESS STEPS ───────────────────────────────── */
.process-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  align-items: center;
}

.process-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-label h2.serif {
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-step {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.5rem 1rem 1rem;
}

.process-bg-num {
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 7rem;
  font-weight: 600;
  color: var(--green);
  opacity: 0.06;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.process-bar {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 0.6rem;
  position: relative;
}

.process-step-label {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  position: relative;
}

.process-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  position: relative;
}

.process-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  position: relative;
}

/* ── PRINCIPLES ──────────────────────────────────── */
.principles-list {
  display: flex;
  flex-direction: column;
}

.principle {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}

.principle:first-child { border-top: 1px solid var(--rule); }

.p-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gold);
  padding-top: 0.2rem;
  text-align: right;
}

.p-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.p-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── PRINCIPLES SPLIT ────────────────────────────── */
.principles-split {
  display: grid;
  grid-template-columns: 29fr 71fr;
  gap: 0;
}

.principles-label {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 4rem 6.5rem;
}

.principles-label h2.serif { margin-bottom: 0; }

.principles-right {
  background: var(--green);
  padding: 3.2rem 6.5rem 3.2rem 3.5rem;
}

.principles-right .principle          { border-color: rgba(255,255,255,0.12); }
.principles-right .principle:first-child { border-top-color: rgba(255,255,255,0.12); }
.principles-right .p-icon             { background: rgba(255,255,255,0.1); }
.principles-right .p-icon svg         { stroke: rgba(255,255,255,0.75); }
.principles-right .p-text strong      { color: var(--white); }
.principles-right .p-text span        { color: rgba(255,255,255,0.65); }

/* ── ROLES SPLIT ─────────────────────────────────── */
.roles-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  align-items: center;
}

.roles-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roles-label h2.serif { margin-bottom: 0; }

.p-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.p-text span {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── ROLES CARDS ─────────────────────────────────── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.role-card-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.role-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.role-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── HADITH PULL QUOTE ───────────────────────────── */
.hadith-pull {
  background: var(--green);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hadith-attr {
  font-family: 'Amiri Quran', serif;
  direction: rtl;
  text-align: right;
  font-weight: 400;
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.hadith-arabic {
  font-family: 'Amiri Quran', serif;
  direction: rtl;
  text-align: right;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  font-size: 1.15rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hadith-pull blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.hadith-pull cite {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  font-style: normal;
}

/* ── CONTRIBUTE BLOCK ────────────────────────────── */
.contribute-section {
  background-color: var(--green-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L57 33 L80 25 L67 46 L88 60 L64 58 L60 82 L50 62 L40 82 L36 58 L12 60 L33 46 L20 25 L43 33 Z' fill='none' stroke='white' stroke-width='0.6' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 100px;
  padding: 5px 6.5rem;
}

.contribute-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contribute-img img {
  width: 100%;
  max-width: 260px;
  object-fit: contain;
}

.contribute-split {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contribute-left {
  display: flex;
  flex-direction: column;
}

.contribute-right {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contribute-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.min-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.25rem;
}

.min-callout {
  margin-bottom: 2rem;
  margin-top: 0;
  padding: 1.5px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  width: 100%;
}

.min-amount {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
  font-weight: 700;
  text-align: right;
  padding: 0.5rem 0;
}

.account-table {
  display: flex;
  flex-direction: column;
}

.at-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.at-row + .at-row {
  border-top: 1px solid rgba(255,255,255,0.18);
}

.at-key {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.5);
}

.at-val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-align: right;
}

.at-num {
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.policy-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}

/* ── CONTACT CARDS ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.focus-split .contact-grid { margin-top: 0; }

.contact-reason-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
}

.cr-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--green-light);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cr-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-reason-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.contact-reason-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT REACH SPLIT ─────────────────────────── */
.contact-reach-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
}

.contact-reach-label {
  margin-bottom: 25px;
}

.contact-bismillah {
  font-family: 'Amiri Quran', serif;
  direction: rtl;
  text-align: right;
  font-size: 1.6rem;
  color: rgba(42, 84, 56, 0.3);
  display: block;
  margin-bottom: 1.5rem;
}

.contact-reach-label h2.serif {
  margin-bottom: 0.75rem;
}

.contact-reach-label p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
}

.contact-reach-main {
  display: flex;
  flex-direction: column;
}

.contact-reach-main .pd-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.contact-reach-main .phone-link {
  display: block;
}

.contact-privacy {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: 2rem;
}

/* ── HELP SECTION (contact page) ────────────────── */
.help-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.help-eyebrow { justify-content: center; }
.help-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.ht-line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: var(--rule);
}
.ht-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.help-title-h {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green);
  font-weight: normal;
  margin: 0;
}

.help-split {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  align-items: center;
}
.help-label { display: flex; flex-direction: column; justify-content: center; }
.help-label h2.serif { margin-bottom: 0; }

.help-items {
  display: flex;
  flex-direction: column;
}
.help-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.help-item:first-child { border-top: 1px solid var(--rule); }
.help-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  text-align: right;
  min-width: 3.5rem;
}
.help-tag {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
  display: block;
}
.help-item-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── HELP GRID (contact — 2×2 layout) ───────────── */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
}

.help-grid .help-item {
  padding: 2rem;
  border-top: none;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  align-items: start;
}

.help-grid .help-item:first-child  { border-top: none; }
.help-grid .help-item:nth-child(2) { border-top: none; }
.help-grid .help-item:nth-child(even) { border-right: none; }
.help-grid .help-item:nth-child(3),
.help-grid .help-item:nth-child(4)    { border-bottom: none; }

/* ── HELP CONNECTOR DOTS ─────────────────────────── */
.help-connector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
}

.help-dot-l,
.help-dot-r {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
}

.help-connector-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ── CONTACT CHANNELS ────────────────────────────── */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.contact-channel-item:hover {
  border-color: var(--green);
  background: rgba(42,84,56,0.03);
}
.cch-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cch-icon svg { width: 20px; height: 20px; }
.cch-whatsapp  { background: #25D366; }
.cch-phone     { background: var(--green); }
.cch-community { background: #128C7E; }
.cch-text { display: flex; flex-direction: column; gap: 0.1rem; }
.cch-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.cch-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

/* ── PHONE DISPLAY ───────────────────────────────── */
.phone-display {
  text-align: center;
  padding: 5rem 3rem;
}

.phone-display .bismillah {
  font-family: 'Amiri Quran', 'Traditional Arabic', serif;
  font-size: 1.5rem;
  color: rgba(42, 84, 56, 0.35);
  direction: rtl;
  unicode-bidi: embed;
  margin-bottom: 2.5rem;
  display: block;
}

.phone-display .pd-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.phone-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  color: var(--green);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.15s;
}

.phone-link:hover { color: var(--green-mid); }

.phone-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.85rem;
}

.privacy-callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-callout p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-callout strong { color: var(--green); }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--text);
  padding: 4rem 6.5rem 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .f-logo {
  display: block;
  margin-bottom: 0.6rem;
}

.footer-brand .f-tag {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  display: block;
  white-space: nowrap;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover { color: rgba(255,255,255,0.85); }

/* ── FOOTER CHANNEL ICONS ────────────────────────── */
.footer-channels {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.f-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  position: relative;
}

.f-ch-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.f-channel:hover .f-ch-icon { opacity: 0.85; }

.f-ch-icon svg { width: 17px; height: 17px; }

.f-ch-wa      { background: #25D366; }
.f-ch-phone   { background: var(--green-mid); }
.f-ch-group   { background: #128C7E; }

.f-ch-label {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* ── PURPOSE SPLIT (about page) ─────────────────── */
.purpose-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.purpose-hadith {
  display: flex;
  flex-direction: column;
}

.purpose-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ── WHO WE ARE SPLIT (home) ─────────────────────── */
.who-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.who-text {
  padding: 5rem 4rem 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 3.5rem;
}

.who-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 1rem;
}

.who-text .btn { margin-top: 2rem; align-self: flex-start; }

.who-accent {
  background: var(--green);
  padding: 5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.who-accent blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 0.6rem;
}

.who-arabic {
  font-family: 'Amiri Quran', serif;
  font-size: 1.25rem;
  color: #fff;
  direction: rtl;
  text-align: right;
  line-height: 2;
  margin-bottom: 0.6rem;
  display: block;
}

.who-quote-sep {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 1.75rem 0;
  display: block;
}

.who-accent cite {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  font-style: normal;
  display: block;
}

/* ── STAT BAR ────────────────────────────────────── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat-item {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── CTA STRIP ───────────────────────────────────── */
.cta-strip {
  background: var(--bg-alt);
  padding: 4.5rem 3rem;
  text-align: center;
}

.cta-strip p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ──────────────────────────────────── */

/* Mobile-only nav CTA: hidden on desktop (hamburger menu adds it) */
@media (min-width: 641px) { .nav-cta-mob { display: none; } }

/* ── Tablet (≤900px) ─────────────────────────────── */
@media (max-width: 900px) {
  /* grids */
  .focus-grid        { grid-template-columns: repeat(2, 1fr); }
  .steps-grid        { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .steps-grid::before { display: none; }
  .process-split     { grid-template-columns: 1fr; gap: 2rem; }
  .process-label h2.serif { margin-bottom: 1.25rem; }
  .process-grid      { grid-template-columns: repeat(2, 1fr); }

  /* about layouts */
  .purpose-split     { grid-template-columns: 1fr; gap: 2rem; }
  .principles-split  { grid-template-columns: 1fr; }
  .principles-label  { padding: 4rem 3rem; }
  .principles-right  { padding: 3.5rem 3rem; }
  .roles-split       { grid-template-columns: 1fr; gap: 2rem; }
  .roles-label h2.serif { margin-bottom: 1.25rem; }

  /* contact layouts */
  .help-split           { grid-template-columns: 1fr; gap: 1.5rem; }
  .help-label h2.serif  { margin-bottom: 0.5rem; }
  .contact-reach-split  { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-reach-label  { margin-bottom: 0; }

  /* who-we-are */
  .who-split  { grid-template-columns: 1fr; }
  .who-text   { padding: 4rem 3rem; max-width: 100%; margin: 0; }
  .who-accent { padding: 3.5rem 3rem; }

  /* focus / process labels — restore margin when stacked */
  .focus-split  { align-items: start; }
  .roles-split  { align-items: start; }

  /* footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── Mobile (≤640px) ─────────────────────────────── */
@media (max-width: 640px) {
  /* nav */
  .nav { padding: 0 1.25rem; }
  .nav-center { display: none; }
  .nav-center.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 1.25rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }

  /* section spacing */
  .hero              { padding: 1.5rem 1.25rem 1.75rem; }
  .section           { padding: 3rem 1.5rem; }
  .section-flush     { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-header       { padding: 2.875rem 1.5rem; }
  .page-header-left  { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-header-left h1 { max-width: 100%; font-size: clamp(1.625rem, 7vw, 2.1rem); }
  .page-header-left p  { max-width: 100%; font-size: 0.9rem; }
  .contribute-section  { padding: 3rem 1.5rem; }
  .cta-strip         { padding: 3rem 1.5rem; }

  /* headings — tighten vertical rhythm */
  h2.serif           { font-size: clamp(1.875rem, 6.5vw, 2.25rem); margin-bottom: 1.5rem; }
  h2.serif-white     { font-size: clamp(1.875rem, 6.5vw, 2.25rem); }
  .page-header h1    { font-size: clamp(1.75rem, 7vw, 2.25rem); }

  /* hero — tighter fonts and spacing on mobile */
  .hero-bismillah    { font-size: 1.05rem; margin-bottom: 0.5rem; }
  .hero-quote        { font-size: 1.05rem; margin-bottom: 0.4rem; }
  .hero-source       { margin-bottom: 0.5rem; }
  .hero-divider      { margin-bottom: 0.5rem; }
  .hero-mission      { font-size: 0.82rem; margin-bottom: 0.9rem; }

  /* grids → single column */
  .focus-split  { grid-template-columns: 1fr; gap: 1.5rem; }
  .focus-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }
  .roles-grid   { grid-template-columns: 1fr; }
  .process-split { gap: 1.25rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
  .process-step:first-child { border-top: 1px solid var(--rule); }

  /* focus card tag dot separator — smaller on mobile */
  .focus-card .focus-tags span + span::before { font-size: 0.9rem; }
  .focus-card { padding: 1.5rem; }

  /* stat bar — center orphaned last item */
  .stat-bar  { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 1.5rem; }
  .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat-num  { font-size: 1.5rem; }

  /* contribute — stack, hide image */
  .contribute-split { grid-template-columns: 1fr; gap: 1.75rem; }
  .contribute-img   { display: none; }
  .min-callout      { margin-bottom: 1rem; }
  .contribute-right { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); }

  /* account table — reduce font sizes to prevent overflow */
  .at-val  { font-size: 1rem; }
  .at-num  { font-size: 1.4rem; letter-spacing: 0.03em; }

  /* about — who we are */
  .who-text   { padding: 3rem 1.5rem; margin-left: 0; }
  .who-accent { padding: 3rem 1.5rem; }
  .who-accent blockquote { font-size: 1.05rem; }
  .who-arabic { font-size: 1.1rem; }

  /* about — principles */
  .principles-label { padding: 2.5rem 1.5rem; }
  .principles-right { padding: 2.5rem 1.5rem; }

  /* about — hadith */
  .hadith-arabic  { font-size: 1rem; }
  .hadith-pull blockquote { font-size: 0.95rem; }
  .hadith-pull    { padding: 2rem 1.5rem; }

  /* contact — help grid: single column on mobile */
  .help-grid { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .help-grid .help-item { border-right: none; padding: 1.25rem 0; }
  .help-grid .help-item:nth-child(3) { border-bottom: 1px solid var(--rule); }
  .help-grid .help-item:nth-child(1) { border-top: 1px solid var(--rule); }
  .help-num { font-size: 2.5rem; min-width: 2.25rem; }
  .help-grid .help-num { font-size: 2rem; min-width: 2rem; }

  /* contact — help section header: tighter on mobile */
  .help-section-header { margin-bottom: 0; }
  .ht-line { max-width: 32px; }

  /* contact — channel cards */
  .contact-channel-item { padding: 0.9rem 1rem; }
  .cch-value { font-size: 0.9rem; }

  /* contact — reach label margin */
  .contact-reach-label h2.serif { margin-bottom: 0.5rem; }

  /* who-we-are — show Quranic verse + one hadith; hide third quote + its separator */
  .who-accent > :nth-child(n+4) { display: none; }
  .who-accent { padding: 2.5rem 1.5rem; }

  /* focus areas — restore h2 margin when label stacks above grid */
  .focus-label h2.serif  { margin-bottom: 1rem; }

  /* process steps — shrink ghost number to prevent overflow */
  .process-bg-num { font-size: 5rem; }

  /* footer tagline — prevent single-line overflow on narrow screens */
  .footer-brand .f-tag { white-space: normal; }

  /* mobile hamburger — Request Support button */
  .nav-cta-mob {
    padding-top: 0.5rem;
    border-top: 1px solid var(--rule);
  }
  .nav-cta-mob a {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 0.45rem 1.25rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  /* footer — keep brand + Contact only */
  footer                           { padding: 2.5rem 1.5rem 2rem; }
  .footer-inner                    { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner > div:nth-child(2) { display: none; }
  .footer-inner > div:nth-child(3) { display: none; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Small mobile (≤400px) ───────────────────────── */
@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
  .stat-bar     { grid-template-columns: 1fr; }
  .stat-item    { border-right: none; }
  .page-header-left h1 { font-size: 1.5rem; }
  .hero-quote   { font-size: 1.1rem; }
  .cch-value    { font-size: 0.85rem; }
}
