:root {
  /* WANG Brand Colors — matches wang.org.pk identity */
  --bg: #ffffff;
  --bg-strong: #f4f8fc;
  --surface: #ffffff;
  --ink: #09192f;
  --muted: #495f79;
  --line: rgba(0, 50, 121, 0.14);
  --accent: #f1cc11;           /* WANG Gold — primary accent */
  --accent-soft: rgba(241, 204, 17, 0.14);
  --accent-strong: #003279;    /* WANG Navy Blue — primary brand */
  --signal: #f1cc11;           /* WANG Gold */
  --deep: #003279;             /* WANG Navy */
  --navy: #003279;             /* Solid navy for dark sections */
  --navy-light: #055394;       /* Hover state blue */
  --shadow: 0 24px 70px rgba(0, 50, 121, 0.14);
  --radius: 15px;
  --content: min(1180px, calc(100vw - 2.4rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #ffffff;
  font-weight: 700;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

p {
  margin: 0;
}

main {
  position: relative;
  z-index: 1;
}

main:focus {
  outline: none;
}

.site-bg {
  display: none; /* Clean white background like wang.org.pk */
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header::before {
  display: none; /* Solid navy bar — no glass effect */
}

.brand,
.site-nav,
.nav-toggle {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.5rem;
  font-weight: 400;
}

.brand-mark {
  width: auto;
  height: auto;
  overflow: hidden;
  flex: none;
  display: block;
}

.brand img {
  width: 110px;
  height: auto;
  max-width: none;
}

.brand strong {
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
}

.brand span {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.75rem 1.5rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-family: "Roboto", "Poppins", sans-serif;
  font-weight: 400;
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink) !important;
  font-weight: 700 !important;
  font-size: 0.88rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 180ms ease, transform 180ms ease;
}
.nav-cta:hover {
  background: #d4aa10;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  background: transparent;
  padding: 0;
  margin-right: 0.6rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: #ffffff;
  margin: 0.33rem auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero,
.manifesto,
.initiative-band,
.poster-split,
.proof-section,
.movement-section,
.people-section,
.closing-cta,
.page-intro,
.article-shell,
.project-sheet,
.image-strip,
.model-stack,
.strategy-columns {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 5.6rem);
  padding: 8rem 0 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}

.hero-home {
  color: #ffffff;
}

.hero-home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-home-bg picture,
.hero-home-bg img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-home-bg img {
  object-fit: cover;
  min-height: 100%;
  will-change: transform;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 40, 100, 0.82) 0%, rgba(0, 40, 100, 0.45) 38%, rgba(0, 30, 80, 0.18) 68%, rgba(0, 30, 80, 0.30) 100%),
    linear-gradient(180deg, rgba(0, 30, 80, 0.15) 0%, rgba(0, 30, 80, 0.20) 50%, rgba(0, 40, 100, 0.70) 100%);
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12rem;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.86) 88%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 44rem) minmax(0, 18rem);
  grid-template-areas:
    "copy ledger"
    "media media";
  gap: 2rem;
  align-items: end;
}

@media (min-width: 1100px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) minmax(260px, 360px);
    grid-template-areas: "copy ledger media";
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-strong);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-stat-num {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.25;
}

.hero-impact-hint {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.hero-brand {
  margin: 0 0 0.35rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.45);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 14ch;
}

.hero-text,
.page-intro p:last-child,
.closing-copy p:last-child {
  max-width: 38rem;
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero .hero-text {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.closing-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 50, 121, 0.22);
  font-weight: 600;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(106, 80, 20, 0.16);
  color: var(--accent-strong);
}

.button-secondary:hover {
  background: rgba(212, 160, 23, 0.12);
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

@keyframes driftIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-copy {
  grid-area: copy;
  animation: driftIn 0.9s ease both;
}

.hero-ledger {
  grid-area: ledger;
  display: grid;
  gap: 0.9rem;
  align-self: end;
  padding-bottom: 0.5rem;
}

.hero-media-proof {
  grid-area: media;
  max-width: 36rem;
}

@media (min-width: 1100px) {
  .hero-media-proof {
    max-width: none;
    align-self: end;
    padding-bottom: 0.5rem;
  }
}

.hero-media-caption {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-media-caption strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

/* Partner logos trust strip */
.partner-logos-strip {
  width: var(--content);
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.partner-logos-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.partner-logos-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
}

.partner-logos-scroll img {
  display: block;
  height: 40px !important;
  width: auto !important;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-logos-scroll img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Partners page grid */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.partners-logo-grid figure {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  aspect-ratio: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partners-logo-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 50, 121, 0.10);
}

.partners-logo-grid img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.hero-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* lite-youtube facade — library provides 16:9 via ::after; widen past default 720px cap */
.hero-video-frame lite-youtube {
  width: 100%;
  max-width: none;
}

.media-card-lite-yt {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.media-card-lite-yt lite-youtube {
  display: block;
  width: 100%;
  max-width: none;
}

/* W2-L2 — journal posts: pillar + impact + CTA cluster */
.article-related-hubs {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.article-related-hubs .eyebrow {
  margin-bottom: 0.5rem;
}

.article-related-hubs p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Journal hub (/blog/) — card grid, thumbnails, WANG accents */
.journal-hub-hero {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--bg-strong) 0%,
    rgba(241, 204, 17, 0.08) 45%,
    var(--bg-strong) 100%
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.journal-hub-hero-inner {
  max-width: 52rem;
}

.journal-hub-hero .eyebrow {
  color: var(--accent-strong);
}

.journal-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.journal-hub-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.journal-hub-stat strong {
  color: var(--accent-strong);
  font-weight: 800;
}

.journal-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.35rem;
}

.journal-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 50, 121, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 50, 121, 0.14);
  border-color: rgba(241, 204, 17, 0.55);
}

.journal-card--lead {
  grid-column: span 1;
}

.journal-card--legacy {
  opacity: 0.96;
}

.journal-card--legacy .journal-card-media {
  filter: saturate(0.95);
}

.journal-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-strong);
}

.journal-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.journal-card:hover .journal-card-media img {
  transform: scale(1.04);
}

.journal-card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.15rem 1.2rem;
  flex: 1;
}

.journal-card-tag {
  display: inline-block;
  align-self: start;
  width: fit-content;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.journal-card-date {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal-card h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.journal-card h2 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

.journal-card h2 a:hover {
  color: var(--accent-strong);
}

.journal-card-body > p:not(.journal-card-date) {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.journal-card-link {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.journal-card-link::after {
  content: "→";
  transition: transform 0.15s ease;
}

.journal-card-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .journal-featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-hub-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Journal hub — relax ultra-narrow H1 rule from .page-intro */
.journal-hub-main .page-intro h1 {
  max-width: min(100%, 22rem);
  line-height: 1.06;
}

.video-thumb lite-youtube {
  display: block;
  width: 100%;
  max-width: none;
}

.hero-ledger span {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.split-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  align-items: start;
  gap: 1.5rem;
}

.section-aside {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1rem;
}

.compact-heading h2 {
  max-width: 15ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-heading h2,
.page-intro h1 {
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  max-width: 13ch;
}

.manifesto,
.stats-ribbon,
.initiative-band,
.proof-section,
.video-section,
.movement-section,
.people-section,
.closing-cta,
.page-intro,
.project-sheet,
.model-stack,
.strategy-columns {
  padding: 3rem 0;
}

.page-hero-photo {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 var(--page-gutter, 1.25rem);
}
.page-hero-photo picture {
  display: block;
  width: 100%;
}
.page-hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  max-height: 480px;
}

.manifesto-grid,
.proof-grid,
.people-grid,
.strategy-columns {
  display: grid;
  gap: 1.25rem;
}

.manifesto-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.2rem;
}

.manifesto-head .section-heading {
  margin-bottom: 0;
}

.manifesto-head .section-heading h2 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.manifesto-intro {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.manifesto-grid {
  grid-template-columns: repeat(3, 1fr);
}

.manifesto-grid > div,
.proof-panel,
.person,
.model-layer {
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.manifesto-grid p,
.project-body p,
.strategy-columns p,
.poster-copy p,
.proof-panel p,
.person p,
.model-layer p {
  color: var(--muted);
  font-size: 1rem;
}

.manifesto-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.initiative-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.initiative-row {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.initiative-row:hover {
  transform: translateX(10px);
  border-color: rgba(212, 160, 23, 0.44);
}

.initiative-row a,
.project-body a {
  color: var(--accent-strong);
  font-weight: 400;
}

.initiative-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.initiative-index,
.project-header span,
.model-layer span {
  color: var(--signal);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.stats-ribbon {
  width: 100%;
  margin: 0;
}

.stats-ribbon-inner {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
}

.stats-ribbon article {
  min-height: 7.5rem;
  padding: 1.5rem 1.25rem 0;
  border-top: 2px solid var(--accent);
  text-align: center;
}

.stats-ribbon strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats-ribbon span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

.initiative-row h3,
.person h3,
.project-header h2,
.model-layer h2 {
  font-size: 1.7rem;
}

.proof-panel h3 {
  font-size: 1.45rem;
}

.initiative-row p {
  color: var(--muted);
}

.poster-split {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.poster-image,
.poster-copy {
  min-height: 32rem;
}

.poster-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.poster-image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.signal-list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
}

.proof-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.movement-section .section-heading h2 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.movement-section .split-heading {
  align-items: center;
}

.movement-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.stat-aside {
  display: grid;
  gap: 1rem;
}

.movement-photo {
  overflow: hidden;
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
  aspect-ratio: 1.18 / 0.88;
}

.movement-photo picture {
  display: block;
  height: 100%;
}

.movement-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aside-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.aside-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(106, 80, 20, 0.12);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.movement-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.movement-grid .proof-panel {
  align-content: start;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* Media page — mixed cards (highlight + lite-youtube) */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.video-card {
  display: grid;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.44);
}

.video-thumb {
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: rgba(106, 80, 20, 0.08);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-copy {
  display: grid;
  gap: 0.55rem;
}

.video-source {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-copy h3 {
  font-size: 1.45rem;
}

.video-copy p {
  color: var(--muted);
}

.proof-panel {
  display: grid;
  gap: 1rem;
}

.accent-panel {
  grid-template-columns: 120px 1fr;
  align-items: center;
}

.accent-panel img {
  width: 100%;
  max-width: 120px;
}

.people-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.person {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.3rem;
  align-items: start;
}

.person picture {
  display: block;
  width: 100%;
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 1.4rem;
  box-shadow: 0 18px 40px rgba(106, 80, 20, 0.12);
}

/* Team page — card roster (aligned with wang.org.pk/team/) */
.team-roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem 1.25rem;
}

.team-card {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.team-card picture {
  display: block;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(106, 80, 20, 0.1);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: 1.15rem;
  margin: 0.35rem 0 0;
  line-height: 1.25;
}

.team-card .team-role {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  gap: 2rem;
  align-items: center;
  padding-bottom: 3rem;
}

[data-page="blog"] .closing-cta {
  margin-top: 3rem;
  padding: 3rem 2rem;
  background: var(--bg-strong);
  border-radius: var(--radius);
  border-top: none;
}

[data-page="blog"] .closing-cta .closing-copy h2 {
  max-width: 16ch;
}

.closing-copy h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.3vw, 3.8rem);
}

.closing-side {
  display: grid;
  gap: 1.15rem;
  justify-self: end;
  max-width: 31rem;
}

.closing-photo {
  overflow: hidden;
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  aspect-ratio: 1.28 / 1;
}

.closing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-kicker {
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing-list {
  margin-top: 0;
}

.closing-list li {
  padding: 1rem 0;
  color: var(--text);
  font-size: 0.98rem;
}

.urduai-cta-banner {
  width: var(--content);
  margin: 0 auto 2.75rem;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--navy);
  border: 1px solid var(--accent);
  color: #ffffff;
}

.urduai-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.urduai-cta-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 0.35rem 0 0.5rem;
  max-width: 32ch;
  line-height: 1.2;
  color: #ffffff;
}

.urduai-cta-copy .eyebrow {
  color: var(--accent);
}

.urduai-cta-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  max-width: 44ch;
}

.urduai-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .urduai-cta-inner {
    grid-template-columns: 1fr;
  }

  .urduai-cta-actions {
    justify-content: flex-start;
  }
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 2.5rem 0 2.75rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}
.site-footer-legal {
  width: var(--content);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.95fr;
  gap: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--accent);
  width: var(--content);
  margin: 0 auto;
}

.footer-ecosystem-bar {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.footer-ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  align-items: center;
}

.footer-ecosystem-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-ecosystem-links a:hover {
  color: var(--accent-strong);
}

.footer-social-bar {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  align-items: center;
}

.footer-social-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-social-links a:hover {
  color: var(--accent-strong);
}

.footer-title {
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-copy p:last-child,
.footer-links {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.inner-page {
  padding-top: 3rem;
}

.page-intro {
  display: grid;
  gap: 1rem;
}

.page-intro h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.project-sheet {
  display: grid;
  gap: 0;
}

.project-block {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.8rem 0;
}

.project-header {
  display: grid;
  gap: 0.65rem;
}

.project-body {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.image-strip {
  padding: 0 0 5rem;
}

.image-strip img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.model-stack {
  display: grid;
  gap: 1rem;
}

.model-layer h2 {
  margin-top: 0.35rem;
}

.strategy-columns {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.story-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(106, 80, 20, 0.08);
  border-radius: 1.4rem;
  box-shadow: 0 18px 42px rgba(106, 80, 20, 0.06);
}

.story-card h3 {
  font-size: 1.35rem;
  line-height: 1.24;
}

.story-card p {
  color: var(--muted);
}

.story-card a {
  color: var(--accent-strong);
  font-weight: 600;
}

.story-meta,
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.15rem 0.7rem;
  border: 1px solid rgba(106, 80, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: 52rem;
}

/* Blog post layout — editorial style */
[data-page="blog"] .inner-page {
  padding-top: 0;
}

[data-page="blog"] .page-intro {
  max-width: 100%;
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg-strong) 0%, var(--bg) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-page="blog"] .page-intro .eyebrow {
  margin-bottom: 0.5rem;
}

[data-page="blog"] .page-intro h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
}

[data-page="blog"] .page-intro > p:not(.eyebrow) {
  max-width: 38ch;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.article-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.article-meta span {
  position: relative;
}

.article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 1rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-figure {
  margin: 0 0 2rem;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* In-article CTA banner — overrides inline styles */
.article-body .urduai-cta-banner {
  background: var(--navy) !important;
  color: #fff;
  border-radius: var(--radius) !important;
  padding: 3rem 2.5rem !important;
  margin-top: 3rem !important;
  text-align: center;
  border: none !important;
}

.article-body .urduai-cta-banner h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.article-body .urduai-cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 36ch;
  margin-inline: auto;
}

.article-main {
  display: grid;
  gap: 1rem;
  padding-inline: 1.1rem;
}

.article-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1.45 / 1;
  width: min(100%, 52rem);
  margin-inline: auto;
}

.article-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  width: min(100%, 46rem);
  margin-inline: auto;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  max-width: 42rem;
  margin-inline: auto;
  width: 100%;
  font-family: "Roboto", "Georgia", serif;
}

.article-body p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #1a2a3a;
}

/* Drop cap on first paragraph after the figure */
.article-body .article-figure + h3 + p::first-letter,
.article-body > p:first-child::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: 0.85;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: var(--navy);
  margin: 0.05em 0.12em 0 0;
}

.article-body h3 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
}

.article-body h3:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.article-body h3 strong {
  font-weight: inherit;
}

.article-body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(0, 50, 121, 0.25);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.article-body a:hover {
  color: var(--navy-light);
  text-decoration-color: var(--navy-light);
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-strong);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}

.article-body a:hover {
  text-decoration-color: var(--accent-strong);
}

.article-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 46rem);
  margin-inline: auto;
}

.article-kpi-grid article {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(106, 80, 20, 0.08);
  border-radius: 1.1rem;
}

.article-kpi-grid strong {
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.article-kpi-grid span,
.aside-note {
  color: var(--muted);
}

.article-body h2 {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 1.3;
}

.article-body ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.article-body li + li {
  margin-top: 0.55rem;
}

.article-aside {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(106, 80, 20, 0.08);
  border-radius: 1.4rem;
}

.article-aside h3 {
  font-size: 1.2rem;
}

.article-aside .signal-list {
  margin-top: 0;
}

.crumbs a:hover {
  color: var(--ink);
}

/* Trust bar */
.trust-bar {
  width: var(--content);
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.trust-bar span,
.trust-bar a.trust-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-strong);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.trust-bar a.trust-badge:hover {
  border-color: var(--accent-strong);
  color: var(--ink);
}

/* Partner marquee — infinite scroll logo strip */
.partner-marquee {
  width: 100%;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.partner-marquee-label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.partner-marquee:hover .partner-marquee-track {
  animation-play-state: paused;
}

.partner-marquee-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 160px;        /* fixed slot — enforces visual uniformity across logos */
  height: 60px;
  opacity: 0.75;
  filter: grayscale(80%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.partner-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;    /* constrain within slot */
  max-width: 120px;    /* constrain within slot — prevents wide text logos from clipping */
  object-fit: contain;
}

/* Larger treatment for specific logos that need more room */
.partner-logo-item--lg img {
  max-height: 58px;
  max-width: 160px;
}

/* Legacy static strip (partners page etc.) */
.partner-logo-strip {
  width: var(--content);
  margin: 0 auto;
  padding: 0.5rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
}
.partner-logo-strip-label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.partner-logo-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}
.partner-logo-strip-inner a,
.partner-logo-strip-inner .partner-logo-item {
  height: 80px;
}
.partner-logo-strip-inner img {
  display: block;
  height: 80px;
  width: auto;
  max-width: min(280px, 35vw);
  object-fit: contain;
}

/* Verification bar under partner logos */
.partner-verification-bar {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  letter-spacing: 0.03em;
}
.partner-verification-bar strong {
  color: var(--fg);
  font-weight: 600;
}

/* Media outlet badges (text “logos” linking to public coverage) */
.media-outlet-strip {
  width: var(--content);
  margin: 0 auto 1.5rem;
  padding: 1rem 0 0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  justify-content: center;
}

.media-outlet-strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.media-outlet-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

a.media-outlet-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 1.1rem;
  border-radius: 0.65rem;
  background: #1a1a1a;
  color: #f5f5f5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.media-outlet-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

a.media-outlet-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--accent);
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.timeline-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

.timeline-year {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* Contact form layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.2rem;
}

.contact-info h3 {
  font-size: 1.3rem;
}

.contact-info p,
.contact-info a {
  color: var(--muted);
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--accent-strong);
}

/* FAQ accordion style */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(106, 80, 20, 0.08);
  border-radius: 1.4rem;
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Initiative cards grid for initiatives page */
.initiative-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.initiative-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(106, 80, 20, 0.08);
  border-radius: 1.4rem;
  box-shadow: 0 18px 42px rgba(106, 80, 20, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.initiative-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.44);
}

.initiative-card h3 {
  font-size: 1.35rem;
}

.initiative-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.initiative-card .card-metric {
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.initiative-card a {
  color: var(--accent-strong);
  font-weight: 500;
}

/* Policy page */
.policy-body {
  max-width: 46rem;
  display: grid;
  gap: 1.2rem;
  padding: 2rem 0 4rem;
}

.policy-body h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.policy-body p,
.policy-body li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.policy-body ul {
  margin: 0;
  padding-left: 1.4rem;
}

/* Error page */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  max-width: none;
  color: var(--accent);
}

.error-page p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 28rem;
}

@media (max-width: 980px) {
  .site-header {
    padding-top: 0.75rem;
  }

  .site-header::before {
    transform: translateY(0.2rem);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0.5rem;
    background: var(--navy);
    border: 1px solid rgba(241, 204, 17, 0.2);
    border-radius: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .poster-split,
  .closing-cta,
  .project-block,
  .strategy-columns,
  .story-grid,
  .article-kpi-grid,
  .article-shell,
  .split-heading,
  .manifesto-head,
  .manifesto-grid,
  .stats-ribbon-inner,
  .people-grid,
  .proof-grid,
  .video-grid,
  .initiative-row,
  .site-footer-grid,
  .contact-grid,
  .initiative-cards {
    grid-template-columns: 1fr;
  }

  .footer-social-bar {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "ledger"
      "media";
    align-items: end;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .hero-ledger {
    max-width: 30rem;
  }

  .people-grid {
    gap: 1rem;
  }

  .team-roster {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem 1rem;
  }

  .person {
    grid-template-columns: 1fr;
  }

  .poster-image,
  .poster-copy {
    min-height: auto;
  }

  .initiative-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --content: min(100vw - 1.3rem, 1180px);
  }

  .brand {
    padding: 0.9rem 0.85rem;
  }

  .brand-mark {
    width: auto;
    height: auto;
  }

  .brand img {
    width: 80px;
  }

  .brand strong {
    font-size: 1.7rem;
  }

  .brand span {
    font-size: 0.63rem;
  }

  .hero {
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-brand {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .section-heading h2,
  .page-intro h1,
  .closing-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 100%;
  }

  .hero-actions,
  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ledger {
    gap: 0.5rem;
  }

  .accent-panel {
    grid-template-columns: 1fr;
  }

  .stats-ribbon-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Partner marquee — tighter on mobile */
  .partner-logo-item {
    width: 110px;
    height: 44px;
  }
  .partner-logo-item img {
    max-height: 34px;
    max-width: 80px;
  }
  .partner-marquee-inner {
    gap: 1.25rem;
  }
}

/* Annual report — illustrative expense mix (donor-facing summary) */
.annual-pie-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0 0.5rem;
}

.annual-pie {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.annual-pie-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}

.annual-pie-legend li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.annual-pie-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Footer copyright bar */
.footer-copyright {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-copyright p,
.footer-copyright a {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.footer-copyright a:hover {
  color: var(--accent);
}

/* Print — journal posts and long reads */
@media print {
  .site-bg,
  .site-header,
  .site-footer,
  .site-footer-legal,
  .nav-toggle,
  .skip-link,
  .urduai-cta-banner,
  .sticky-action-bar,
  .hero-media-proof {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  .article-shell,
  .article-body,
  .inner-page {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .article-actions {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }
}

/* Trust & Legal Bits — added for Ad Grant/Authority compliance */
.footer-legal-bits {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(241, 204, 17, 0.3);
  padding-top: 1rem;
}

.footer-legal-bits strong {
  color: var(--accent);
}

.trust-badge {
  color: var(--accent) !important;
  font-weight: 700 !important;
  background: rgba(241, 204, 17, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Dark navy section — alternating layout like wang.org.pk */
.section-dark {
  background: var(--navy);
  color: #ffffff;
  padding: 3.5rem 0;
  width: 100%;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark .eyebrow {
  color: var(--accent);
}

.section-dark .section-aside,
.section-dark p {
  color: rgba(255, 255, 255, 0.82);
}

/* Media Highlighting — added for Karachi Awards 2025 */
.media-card.highlight-card {
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: var(--accent);
  color: var(--navy);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ── Impact Sector Sections ── */
.impact-sector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}
.impact-sector--reverse {
  direction: rtl;
}
.impact-sector--reverse > * {
  direction: ltr;
}
.impact-sector-photo picture {
  display: block;
}
.impact-sector-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.impact-sector-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 20ch;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.impact-sector-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: 1.25rem;
}
.impact-sector-stat strong {
  display: block;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--accent-strong);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.impact-sector-stat span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.impact-sector-body p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.impact-sector-body .button {
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .impact-sector,
  .impact-sector--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  .impact-sector-photo img {
    height: 220px;
  }
  .impact-sector-body h2 {
    max-width: none;
  }
}

/* ── Program Row (programs-overview page) ── */
.program-list {
  display: grid;
  gap: 0;
}
.program-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.program-photo picture {
  display: block;
}
.program-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}
.program-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.program-body p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.program-tag {
  font-size: 0.75rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .program-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .program-photo img {
    height: 160px;
  }
}
