/* Muslamic Makers Archive — brand styles
   Teal #2BD4DB · Navy #14133B · Blue #2B91BC · Green #23A455
   Poppins headings · Inter body */

:root {
  --teal: #2BD4DB;
  --navy: #14133B;
  --blue: #2B91BC;
  --indigo: #4054B2;
  --green: #23A455;
  --ink: #1c1b33;
  --grey: #5c5b70;
  --paper: #ffffff;
  --tint: #f2fbfc;
  --line: #e3e8ee;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.0625rem;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* Archive banner */
.archive-banner {
  background: var(--teal);
  color: var(--navy);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.archive-banner a { color: var(--navy); }

/* Header */
header.site {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nav .logo img { height: 44px; width: auto; }
.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .years {
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 1.25rem;
}
.hero p { max-width: 640px; margin: 0 auto 1rem; color: #d8d7e8; }
.hero img.hero-logo { height: 110px; width: auto; margin: 0 auto 2rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d8d7e8; max-width: 700px; margin-top: 0.75rem; }
.page-hero .kicker {
  color: var(--teal);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Sections */
section { padding: 3.5rem 0; }
section.tint { background: var(--tint); }
section.navy { background: var(--navy); }
section.navy h2, section.navy h3 { color: #fff; }
section.navy p { color: #d8d7e8; }
.kicker {
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}
section.navy .kicker { color: var(--teal); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}
.stat .num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
}
.stat .label {
  font-size: 0.95rem;
  color: var(--grey);
  margin-top: 0.25rem;
}
section.navy .stat .label { color: #b9b8d0; }

/* Stats — bento grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  grid-auto-flow: dense;
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--teal); background: rgba(255,255,255,0.07); }
.stat-card .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--teal);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
}
.stat-card .label {
  font-size: 0.85rem;
  color: #b9b8d0;
  margin-top: 0.4rem;
}
.stat-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(43,212,219,0.18), rgba(43,212,219,0.02));
  border-color: var(--teal);
}
.stat-card.featured .num { font-size: clamp(2.6rem, 6vw, 4rem); }
.stat-card.featured .label { font-size: 1.05rem; color: #fff; margin-top: 0.6rem; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card.featured { grid-column: span 2; grid-row: span 1; }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20,19,59,0.12); }
.card img { height: 190px; object-fit: cover; width: 100%; }
.card .body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card .body p { font-size: 0.97rem; color: var(--grey); flex: 1; }
.card .meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.card a.more {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
}
.card a.more::after { content: " →"; color: var(--teal); }
.card .logo-badge {
  align-self: flex-start;
  height: 56px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 56px;
  object-fit: contain !important;
  object-position: left center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn:hover { background: #4be0e6; }
.btn.ghost {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.btn.ghost:hover { background: rgba(43,212,219,0.12); }

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.split img { border-radius: 14px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.gallery figure { position: relative; }
.gallery figcaption {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 0.35rem;
}

/* People */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
.person { text-align: center; }
.person img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.8rem;
  border: 4px solid var(--teal);
}
.person h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.person .role {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.person p { font-size: 0.9rem; color: var(--grey); margin-top: 0.5rem; }

/* Quotes */
blockquote {
  border-left: 4px solid var(--teal);
  background: var(--tint);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
}
blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

/* Timeline */
.timeline { margin-top: 2.5rem; position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--teal);
  border-radius: 2px;
}
.timeline .entry { position: relative; padding-bottom: 2rem; }
.timeline .entry::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--teal);
}
.timeline .year {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
}
.timeline p { margin: 0.25rem 0 0; color: var(--grey); }

/* Logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
.logo-strip img { height: 80px; width: auto; border-radius: 12px; }

/* Prose (story pages) */
.prose { padding: 3rem 0 4rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose img { border-radius: 12px; margin: 1.75rem auto; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.post-meta { color: var(--grey); font-size: 0.92rem; margin-top: 0.5rem; }

/* Footer */
footer.site {
  background: var(--navy);
  color: #b9b8d0;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site img.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.4rem; }
footer.site a { color: var(--teal); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .fin {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
