@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Instrument+Serif:ital@0;1&family=Space+Mono:wght@400;700&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* =========================
   CUSTOM PROPERTIES
========================= */
:root {
  --bg: #ffffff;
  --paper: #f4f4f4;
  --ink: #111111;
  --red: #9b0000;
  --line: rgba(17, 17, 17, .12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
  --font-urdu: 'Noto Nastaliq Urdu', serif;

  --max-w: 1180px;
  --nav-h: 64px;
  --sidebar-w: 340px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 50px rgba(0, 0, 0, .10);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, .07);
}

/* =========================
   RESET & BASE
========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; }

/* =========================
   LAYOUT UTILITIES
========================= */
.container {
  width: min(var(--max-w), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section-light { background: var(--bg); }
.section-alt { background: var(--paper); }

/* =========================
   TYPOGRAPHY UTILITIES
========================= */
.kicker {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.02em;
  font-size: clamp(2.4rem, 5vw, 5rem);
  margin-bottom: .75rem;
}
.page-lead {
  max-width: 720px;
  color: rgba(17, 17, 17, .72);
  font-size: 1.05rem;
}
.section-subtitle {
  margin-top: .35rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, .66);
}

/* =========================
   REVEAL ANIMATIONS
========================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  animation: reveal-fallback 0s .9s forwards;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-solid {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-solid:hover { background: #7a0000; border-color: #7a0000; }
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover { background: #7a0000; border-color: #7a0000; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--red); box-shadow: none; transform: none; }

/* =========================
   TICKER
========================= */
.ticker {
  background: var(--ink);
  color: #fff;
  border-bottom: 2px solid var(--red);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 2.75rem;
  padding: .6rem 0;
  animation: ticker-roll 38s linear infinite;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================
   NAVIGATION — UNIFIED SYSTEM
========================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  flex-shrink: 0;
}
.brand-ur {
  height: 28px;
  width: auto;
  display: block;
}
.brand-en {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1em;
  line-height: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.nav-desktop > a,
.nav-toggle-btn {
  font-family: var(--font-mono);
  font-size: .63rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65rem .85rem;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.nav-desktop > a::after,
.nav-toggle-btn::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .3rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-desktop > a:hover::after,
.nav-toggle-btn:hover::after { transform: scaleX(1); }
.nav-desktop > a:hover,
.nav-toggle-btn:hover { color: var(--ink); }

.nav-desktop > a.is-active { color: var(--red); }
.nav-desktop > a.is-active::after { transform: scaleX(1); }

.nav-arrow {
  font-size: .55rem;
  transition: transform .2s;
  display: inline-block;
}
.nav-group.open .nav-arrow { transform: rotate(180deg); }

.nav-group { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .4rem 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 300;
}

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

@media (min-width: 769px) {
  .nav-group:hover .nav-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.nav-dropdown a {
  display: block;
  padding: .7rem 1rem;
  font-family: var(--font-mono);
  font-size: .61rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
  border-radius: 8px;
  margin: 0 .3rem;
}
.nav-dropdown a:hover { background: var(--paper); color: var(--red); }
.nav-dropdown a.is-active { color: var(--red); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color .2s;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--red); }

/* =========================
   SIDEBAR — MOBILE NAV
========================= */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 280;
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, var(--sidebar-w));
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar.open { transform: translateX(0); }

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.sidebar-brand { display: flex; flex-direction: column; line-height: 1.2; }
.sidebar-brand span { font-family: var(--font-display); font-weight: 900; font-size: .9rem; }
.sidebar-brand small { font-family: var(--font-urdu); color: var(--red); font-size: .8rem; direction: rtl; }

.sidebar-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  transition: border-color .2s, background .2s;
}
.sidebar-close:hover { border-color: var(--red); background: rgba(155, 0, 0, .06); }

.sidebar-links {
  flex: 1;
  padding: .5rem 0;
}

.sidebar-links > a {
  display: block;
  padding: .9rem 1.2rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: color .15s, background .15s;
}
.sidebar-links > a:hover { color: var(--red); background: rgba(155, 0, 0, .03); }
.sidebar-links > a.is-active { color: var(--red); }

.sidebar-links details { border-bottom: 1px solid var(--line); }
.sidebar-links details summary {
  padding: .9rem 1.2rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: color .15s;
}
.sidebar-links details summary::-webkit-details-marker { display: none; }
.sidebar-links details summary::after {
  content: "▾";
  font-size: .6rem;
  transition: transform .2s;
}
.sidebar-links details[open] summary::after { transform: rotate(180deg); }
.sidebar-links details summary:hover { color: var(--red); }

.sidebar-links details a {
  display: block;
  padding: .75rem 1.2rem .75rem 2rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: color .15s, background .15s;
}
.sidebar-links details a:last-child { border-bottom: none; }
.sidebar-links details a:hover { color: var(--red); background: rgba(155, 0, 0, .03); }
.sidebar-links details a.is-active { color: var(--red); }

.sidebar-foot {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.sidebar-tag {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .5);
}
.sidebar-urdu {
  font-family: var(--font-urdu);
  direction: rtl;
  font-size: .85rem;
  color: var(--red);
  margin-top: .3rem;
}

/* =========================
   HERO — HOME
========================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #111;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 1.4s ease;
  filter: saturate(1.02) contrast(1.02);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, .60), rgba(17, 17, 17, .25)),
    linear-gradient(180deg, rgba(17, 17, 17, .18), rgba(17, 17, 17, .38));
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1.2fr .78fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0;
}
.hero-copy { color: #fff; max-width: 760px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.03em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}
.hero-title-ur {
  display: block;
  margin-top: .4rem;
  font-family: var(--font-urdu);
  direction: rtl;
  font-size: .42em;
  line-height: 1.9;
  color: #fff2ea;
  text-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}
.hero-sub {
  display: block;
  margin-top: .6rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(.95rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .8);
  letter-spacing: 0;
  line-height: 1.55;
}
.hero-summary {
  max-width: 640px;
  margin: 1.4rem 0 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .88);
}
#hero-kicker { color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero-panel { display: flex; justify-content: flex-end; }
.hero-panel-card {
  width: min(100%, 360px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.panel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.panel-value {
  display: block;
  margin: .35rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.panel-mini {
  display: block;
  margin-bottom: .2rem;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .68);
}
.panel-grid p { font-size: 1rem; color: var(--ink); }
.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

/* =========================
   SECTION HEADS & CAROUSELS
========================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.carousel-controls { display: flex; gap: .55rem; }
.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.carousel-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--red); }

.issue-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .6rem;
  scrollbar-width: thin;
}
.issue-carousel::-webkit-scrollbar { height: 10px; }
.issue-carousel::-webkit-scrollbar-thumb { background: rgba(17, 17, 17, .18); border-radius: 999px; }
.issue-carousel .issue-card {
  flex: 0 0 clamp(240px, 30vw, 350px);
  scroll-snap-align: start;
}

/* =========================
   ISSUE CARDS
========================= */
.issue-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.issue-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(155, 0, 0, .18); }
.issue-card a, .issue-link { display: block; height: 100%; }
.issue-cover {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(17, 17, 17, .05), rgba(17, 17, 17, .02));
  overflow: hidden;
}
.issue-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.issue-card:hover .issue-cover img { transform: scale(1.05); }
.issue-body { padding: 1.1rem 1.1rem 1.2rem; }
.issue-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .55rem;
}
.issue-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.15;
}
.issue-title .urdu {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-urdu);
  direction: rtl;
  font-size: .92rem;
  line-height: 1.85;
  color: var(--red);
}
.issue-date {
  display: block;
  margin: .55rem 0;
  color: rgba(17, 17, 17, .68);
  font-size: .92rem;
}
.issue-summary {
  color: rgba(17, 17, 17, .68);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* =========================
   TAGS
========================= */
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .55rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .72);
  background: rgba(255, 255, 255, .72);
}

/* =========================
   PAGE HERO
========================= */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  background: linear-gradient(180deg, rgba(17, 17, 17, .04), transparent), var(--paper);
  border-bottom: 1px solid var(--line);
}

/* =========================
   ABOUT / CTA / CONNECT GRIDS
========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 1.5rem;
}
.about-copy p {
  max-width: 720px;
  color: rgba(17, 17, 17, .72);
  font-size: 1.05rem;
  margin-top: 1rem;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.team-grid-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.connect-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
}

.cta-card,
.team-copy,
.quick-links {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.cta-card p:not(.kicker),
.team-copy p:not(.kicker) {
  margin: 1rem 0 1.1rem;
  font-size: 1.03rem;
  color: rgba(17, 17, 17, .72);
}
.team-visual {
  display: grid;
  gap: 1rem;
}

.visual-card {
  min-height: 280px;
  border-radius: 22px;
  border: 1px dashed var(--line);
  background: linear-gradient(135deg, rgba(17, 17, 17, .04), rgba(17, 17, 17, .015)), var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.visual-card.dark { background: #111; color: #fff; }

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}
.quote-card p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.quote-card span { display: block; margin-top: .5rem; color: rgba(17, 17, 17, .68); font-size: .92rem; font-style: italic; }

/* =========================
   FOOTER SOCIALS + LINKS
========================= */
.footer-socials {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}
.social-icons { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-icons a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.social-icons a:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }

.footer-links {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.footer-links-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.footer-links-row a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer-links-row a:hover { transform: translateY(-2px); border-color: var(--red); color: var(--red); }

/* =========================
   SITE FOOTER
========================= */
.site-footer {
  background: #111;
  color: #f4f4f4;
  padding: 2.4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
}
.footer-brand { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; }
.footer-urdu { margin-top: .2rem; font-family: var(--font-urdu); color: #d48a8a; direction: rtl; }
.footer-text { color: rgba(244, 244, 244, .72); margin-top: .7rem; font-size: .95rem; }
.footer-text a { color: rgba(244, 244, 244, .72); transition: color .2s; }
.footer-text a:hover { color: #d48a8a; }
.footer-head {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d0c7bf;
  margin-bottom: .4rem;
}
.footer-sub {
  margin-top: .5rem;
  font-family: var(--font-urdu);
  color: #d48a8a;
  direction: rtl;
  font-size: .9rem;
  line-height: 1.8;
}

/* =========================
   ARCHIVE PAGE
========================= */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.archive-grid .issue-card { height: 100%; }

/* =========================
   ISSUE VIEWER PAGE
========================= */
.issue-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 1.5rem;
  align-items: start;
}
.issue-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: grid;
  gap: 1rem;
}
.issue-cover-card { padding: 0; overflow: hidden; }
.issue-cover-card img { width: 100%; height: 100%; object-fit: cover; }
.issue-meta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}
.issue-meta p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(17, 17, 17, .06);
  padding: .55rem 0;
}
.issue-meta p:last-child { border-bottom: 0; }
.issue-meta span {
  color: rgba(17, 17, 17, .68);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.issue-meta strong { text-align: right; font-weight: 700; }

.issue-main { display: grid; gap: 1rem; }
.pdf-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.pdf-frame {
  width: 100%;
  min-height: 78vh;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #fff;
}
.issue-note {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(155, 0, 0, .06);
  color: rgba(17, 17, 17, .72);
  font-size: .92rem;
}

/* =========================
   TOC TOGGLE + TOC CONTENT
========================= */
.toc-wrap {
  display: grid;
  gap: .7rem;
}

.toc-toggle {
  width: 100%;
}

#issue-toc[hidden] {
  display: none !important;
}

.toc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.toc-section {
  text-align: center;
  font-family: var(--font-urdu);
  direction: rtl;
  font-size: 1.15rem;
  line-height: 1.9;
  font-weight: 700;
  color: var(--red);
  margin: 1rem 0 .8rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(155, 0, 0, 0.1);
}

.toc-section:first-child {
  margin-top: 0;
}

.toc-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .25rem;
  border-bottom: 1px solid rgba(17, 17, 17, .05);
  transition: background .2s ease;
}

.toc-item:last-child {
  border-bottom: none;
}

.toc-item:hover {
  background: rgba(155, 0, 0, .03);
}

.toc-title {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
}

.toc-page {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .55);
  padding-top: .22rem;
}

/* =========================
   ABOUT PAGE LAYOUT
========================= */
.about-page-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: start;
}
.about-blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(155, 0, 0, .04);
  border-radius: 0 12px 12px 0;
}
.about-blockquote p {
  font-family: var(--font-urdu);
  direction: rtl;
  text-align: right;
  font-size: 1.2rem;
  line-height: 2;
  color: var(--ink);
}
.about-blockquote span {
  display: block;
  margin-top: .4rem;
  font-size: .88rem;
  color: rgba(17, 17, 17, .6);
  font-style: italic;
}
.about-urdu-block {
  font-family: var(--font-urdu);
  direction: rtl;
  text-align: right;
  font-size: 1.1rem;
  line-height: 2.2;
  color: var(--red);
  background: rgba(155, 0, 0, .04);
  border: 1px solid rgba(155, 0, 0, .12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.about-visual-block {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.about-visual-block .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-manifesto-body p {
  color: rgba(17, 17, 17, .72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* =========================
   TEAM PAGE
========================= */
.team-section-head { margin-bottom: 1.3rem; max-width: 72ch; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: .08em;
  color: var(--red);
  background: rgba(155, 0, 0, .07);
  border: 1px solid rgba(155, 0, 0, .12);
  margin-bottom: 1rem;
}
.team-card h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.team-role {
  margin: 0 0 .75rem;
  font-size: .86rem;
  color: var(--red);
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.team-bio { margin: 0; color: rgba(17, 17, 17, .72); line-height: 1.75; font-size: .98rem; }

.join-panel {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.5rem;
  align-items: center;
  background: rgba(155, 0, 0, .04);
  border: 1px solid rgba(155, 0, 0, .12);
  border-radius: 24px;
  padding: 1.5rem 2rem;
}
.join-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* =========================
   BLOG PAGE
========================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(155, 0, 0, .18); }
.blog-card-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(155, 0, 0, .08), rgba(17, 17, 17, .04));
  overflow: hidden;
}
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.blog-card:hover .blog-card-cover img { transform: scale(1.05); }
.blog-card-body {
  padding: 1.1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
}
.blog-date {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .55);
}
.blog-author {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}
.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: .6rem;
}
.blog-summary {
  color: rgba(17, 17, 17, .68);
  font-size: .92rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-read-link {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .2s;
}
.blog-card:hover .blog-read-link { gap: .5rem; }

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr .38fr;
  gap: 2.5rem;
  align-items: start;
}
.blog-post-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: grid;
  gap: 1rem;
}
.blog-post-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(17, 17, 17, .86);
}
.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 2.2rem 0 .8rem;
  letter-spacing: -.01em;
}
.blog-post-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin: 1.8rem 0 .6rem;
}
.blog-post-body p { margin-bottom: 1.25rem; }
.blog-post-body blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(155, 0, 0, .04);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.1rem;
}
.blog-post-body .urdu-block {
  font-family: var(--font-urdu);
  direction: rtl;
  text-align: right;
  font-size: 1.1rem;
  line-height: 2.2;
  color: var(--red);
  background: rgba(155, 0, 0, .04);
  border: 1px solid rgba(155, 0, 0, .12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

/* =========================
   MOVEMENT & CHAPTERS PAGES
========================= */
.movement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.movement-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.movement-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(155, 0, 0, .2); }
.movement-card .kicker { margin-bottom: .5rem; }
.movement-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: .75rem;
  line-height: 1.1;
}
.movement-card p { color: rgba(17, 17, 17, .72); font-size: 1.02rem; line-height: 1.7; }

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.chapter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, border-color .2s;
}
.chapter-card:hover { transform: translateY(-2px); border-color: rgba(155, 0, 0, .2); }
.chapter-location {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .4rem;
}
.chapter-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.chapter-desc { color: rgba(17, 17, 17, .68); font-size: .92rem; line-height: 1.65; }

/* =========================
   ABOUT IMAGE UTIL
========================= */
.about-img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .cta-grid,
  .team-grid-home,
  .connect-grid,
  .issue-layout,
  .footer-grid,
  .about-page-grid,
  .blog-post-layout,
  .movement-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner { min-height: auto; padding: 4rem 0 5rem; }
  .hero-panel { justify-content: flex-start; }
  .issue-sidebar { position: static; }
  .pdf-frame { min-height: 68vh; }
  .about-sidebar { order: -1; }
  .join-panel { grid-template-columns: 1fr; }
  .blog-post-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 1rem; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .carousel-controls { align-self: flex-start; }
  .issue-carousel .issue-card { flex-basis: 82vw; }
  .page-lead { font-size: 1rem; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc-section {
    font-size: 1.02rem;
  }
  .toc-title {
    font-size: .98rem;
  }
}

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

@media (max-width: 560px) {
  .container { width: min(var(--max-w), calc(100% - 1rem)); }
  .hero-title { font-size: clamp(2.4rem, 12vw, 4.3rem); }
  .hero-summary { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .panel-grid { grid-template-columns: 1fr; }
  .issue-meta p { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .footer-grid { grid-template-columns: 1fr; }
     }
