/* Anjuman-e-Hanifya — light luxury, Jai Hind DNA, scroll-led */

:root {
  --bg: #f7f4ef;
  --bg-elevated: #ffffff;
  --bg-soft: #efe9df;
  --bg-deep: #0a0f1a;
  --ink: #12181f;
  --ink-muted: #5c6570;
  --ink-faint: #8b939c;
  --green: #0d3d2e;
  --green-mid: #1a5c45;
  --green-soft: #e3efe9;
  --gold: #c5a059;
  --gold-hover: #d4b36e;
  --gold-soft: #f3ead2;
  --gold-glow: rgba(197, 160, 89, 0.18);
  --navy: #0e1b38;
  --teal: #0f3a2c;
  --indigo: #1e2260;
  --brown: #6b4a1e;
  --border: rgba(18, 24, 31, 0.08);
  --border-strong: rgba(197, 160, 89, 0.35);
  --shadow: 0 20px 50px rgba(10, 15, 26, 0.08);
  --shadow-lg: 0 30px 70px rgba(10, 15, 26, 0.12);
  --radius: 16px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Playfair Display", serif;
  --header-h: 80px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-mid); text-underline-offset: 3px; transition: color 0.2s ease; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--bg-deep); }

.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Grain + progress */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--green), var(--gold));
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand-logo { width: 42px; height: auto; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-en {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.02em; color: var(--green);
}
.brand-ur { font-family: var(--font-urdu); font-size: 0.78rem; color: var(--ink-muted); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  text-decoration: none; color: var(--ink-muted); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav a:hover, .nav a.is-active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--bg-deep) !important;
  padding: 0.55rem 1rem; border-radius: 4px; letter-spacing: 0.1em !important;
}
.nav-cta:hover { background: var(--gold-hover) !important; color: var(--bg-deep) !important; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-elevated); cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; margin-inline: auto;
  background: var(--green); transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1rem 1.75rem; border-radius: 4px; font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--gold); color: var(--bg-deep);
  box-shadow: 0 10px 30px var(--gold-glow);
}
.btn-primary:hover { background: var(--ink); color: #fff; box-shadow: 0 12px 32px rgba(10,15,26,0.2); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: rgba(18,24,31,0.18);
}
.btn-outline:hover { border-color: var(--gold); color: var(--green); background: var(--gold-soft); }

/* Split chars */
.split-char {
  display: inline-block;
  will-change: transform, opacity;
}
.split-word { display: inline-block; white-space: nowrap; }
.split-space { display: inline-block; width: 0.28em; }

/* Reveal defaults (JS toggles is-visible / GSAP may override) */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
[data-reveal][data-delay="1"] { --d: 1; }
[data-reveal][data-delay="2"] { --d: 2; }
[data-reveal][data-delay="3"] { --d: 3; }
[data-reveal][data-delay="4"] { --d: 4; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2.5rem) 0 5.5rem; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(48px); opacity: 0.65;
}
.hero-orb--gold {
  width: min(46vw, 420px); height: min(46vw, 420px); top: 6%; right: -4%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
}
.hero-orb--green {
  width: min(52vw, 480px); height: min(52vw, 480px); bottom: 0; left: -8%;
  background: radial-gradient(circle, var(--green-soft), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,61,46,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,61,46,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, black, transparent);
}
.hero-grid-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(197,160,89,0.06);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.35rem;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(197,160,89,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(197,160,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(197,160,89,0); }
}
.hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.6rem, 5.8vw, 4.5rem); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--green); margin: 0 0 1.35rem;
}
.hero-title .line { display: block; }
.hero-title .line-em { font-style: italic; color: var(--gold); }
.hero-lead {
  max-width: 520px; margin: 0 0 2rem; color: var(--ink-muted); font-weight: 300; font-size: 1.08rem;
}
.hero-lead strong { color: var(--green); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.25rem; }
.hero-bridge { font-size: 0.92rem; color: var(--ink-faint); margin: 0; max-width: 420px; }
.hero-bridge a { font-weight: 600; color: var(--green); }

/* Hero emblem (org mark, not catalog) */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  min-height: 340px;
}
.hero-emblem {
  position: relative;
  width: min(300px, 70vw);
  height: min(300px, 70vw);
  display: grid;
  place-items: center;
}
.hero-emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.35);
  animation: ring-breathe 8s ease-in-out infinite;
}
.hero-emblem-ring--2 {
  inset: 12%;
  border-color: rgba(13, 61, 46, 0.18);
  animation-delay: -2.5s;
  animation-duration: 10s;
}
.hero-emblem-logo {
  width: 58%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(13, 61, 46, 0.18);
  position: relative;
  z-index: 2;
  background: #fff;
}
@keyframes ring-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

/* Stats */
.hero-stats {
  position: relative; z-index: 2; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center;
}
.stat-value {
  display: block; font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600; color: var(--gold); line-height: 1.2;
}
.stat-value.static { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--green); }
.stat-label {
  display: block; margin-top: 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-muted); font-weight: 500;
}

.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  text-decoration: none; color: var(--ink-faint); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase; z-index: 3;
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Marquee */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border);
  background: var(--bg-elevated); padding: 1rem 0;
}
.marquee-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink-muted);
  white-space: nowrap;
}
.marquee-track span:nth-child(odd) { color: var(--green); font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 6.5rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 3.25rem; }
.section-header.align-left { text-align: left; }
.section-header.align-left .section-rule { margin-inline: 0; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.85rem); color: var(--green);
  margin: 0 0 1rem; letter-spacing: -0.01em;
}
.section-rule {
  width: 72px; height: 2px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 2px;
}
.section-intro {
  max-width: 560px; margin: 1.25rem auto 0; color: var(--ink-muted); font-size: 1.02rem;
}

/* Mission */
.mission { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.mission-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; margin-bottom: 3.5rem;
}
.mission-quote {
  margin: 0; padding: 2rem 2rem 2rem 2.25rem; background: var(--bg);
  border-radius: var(--radius); border-left: 3px solid var(--gold); position: relative;
}
.quote-mark {
  font-family: var(--font-serif); font-size: 4rem; line-height: 1; color: var(--gold);
  position: absolute; top: 0.5rem; left: 1.1rem; opacity: 0.5;
}
.mission-quote p {
  margin: 0; font-family: var(--font-serif); font-size: 1.4rem; font-style: italic;
  line-height: 1.45; color: var(--green); position: relative; z-index: 1;
}
.mission-body p { margin: 0 0 1.1rem; color: var(--ink-muted); }
.mission-body p:last-child { margin-bottom: 0; }
.mission-body strong { color: var(--green); font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.pillar {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.35rem; transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.pillar:hover {
  transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong);
}
.pillar-num {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); margin-bottom: 0.75rem; font-weight: 600;
}
.pillar h3 {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--green);
}
.pillar p { margin: 0; font-size: 0.95rem; color: var(--ink-muted); line-height: 1.55; }

/* Story pin / morph */
.story-pin {
  position: relative; height: 220vh; background:
    linear-gradient(160deg, #0a0f1a 0%, #122018 50%, #0a0f1a 100%);
  color: #fff;
}
.story-pin-inner {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.story-kicker {
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin: 0 0 1.5rem; font-weight: 600;
}
.morph-stage {
  position: relative; min-height: clamp(3.5rem, 10vw, 6rem); width: min(90vw, 720px);
  display: grid; place-items: center;
}
.morph-word {
  grid-area: 1 / 1; font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6.5rem); font-weight: 600; line-height: 1;
  color: var(--gold); opacity: 0; transform: translateY(40px) scale(0.92);
  filter: blur(8px); transition: none; pointer-events: none;
}
.morph-word.is-active { opacity: 1; }
.story-sub {
  margin: 1.75rem 0 0; color: rgba(255,255,255,0.55); font-size: 0.95rem; letter-spacing: 0.04em;
}
.story-progress {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  width: min(280px, 60vw); height: 2px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden;
}
.story-progress-bar {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), #fff);
}

/* Publications */
.publications {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, var(--gold-soft), transparent),
    var(--bg);
}
.pub-bridge {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  padding: 2rem; border-radius: var(--radius); margin-bottom: 3rem;
  background: linear-gradient(135deg, rgba(10,15,26,0.96), #122018);
  color: #fff; border: 1px solid rgba(197,160,89,0.3);
  box-shadow: var(--shadow-lg);
}
.pub-bridge-tag {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 0.65rem;
}
.pub-bridge-copy h3 {
  font-family: var(--font-serif); font-size: 1.85rem; margin: 0 0 0.75rem; color: #fff;
}
.pub-bridge-copy p { color: rgba(255,255,255,0.65); margin: 0 0 1.35rem; max-width: 460px; }
.jh-covers {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jh-cover {
  position: absolute;
  width: 110px;
  height: auto;
  border-radius: 4px 8px 8px 4px;
  box-shadow: -8px 12px 28px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.jh-cover--1 { transform: rotate(-12deg) translate(-52px, 8px); z-index: 1; }
.jh-cover--2 { transform: rotate(-4deg) translate(-18px, 0); z-index: 2; }
.jh-cover--3 { transform: rotate(4deg) translate(18px, -4px); z-index: 3; }
.jh-cover--4 { transform: rotate(11deg) translate(52px, 6px); z-index: 4; }
.pub-bridge:hover .jh-cover--1 { transform: rotate(-16deg) translate(-64px, 4px); }
.pub-bridge:hover .jh-cover--2 { transform: rotate(-6deg) translate(-22px, -6px); }
.pub-bridge:hover .jh-cover--3 { transform: rotate(6deg) translate(22px, -8px); }
.pub-bridge:hover .jh-cover--4 { transform: rotate(14deg) translate(64px, 2px); }

.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.book-card { display: flex; flex-direction: column; gap: 0.9rem; }
.book-cover {
  position: relative; aspect-ratio: 3 / 4.15; border-radius: 4px 12px 12px 4px;
  overflow: hidden; color: #fff; box-shadow: var(--shadow);
  border-left: 6px solid rgba(0,0,0,0.3);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
  transform-style: preserve-3d;
}
.book-card:hover .book-cover {
  transform: translateY(-10px) rotateY(-6deg); box-shadow: var(--shadow-lg);
}
.book-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), transparent);
}
.book-cover-body {
  position: relative; z-index: 1; height: 100%; padding: 1.5rem 1.2rem;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.book-cover--navy { background: linear-gradient(160deg, #14203a, #0d1528); }
.book-cover--teal { background: linear-gradient(160deg, #176b58, #0f4d3f); }
.book-cover--gold { background: linear-gradient(160deg, #8a6420, #6b4a1e); }
.book-cover--indigo { background: linear-gradient(160deg, #1e2260, #141842); }
.book-year { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; margin-bottom: 0.85rem; color: var(--gold); font-weight: 600; }
.book-cover h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; margin: 0 0 0.55rem;
}
.book-subtitle { font-size: 0.8rem; opacity: 0.85; margin: 0 0 0.45rem; font-style: italic; }
.book-ur { font-family: var(--font-urdu); font-size: 0.95rem; opacity: 0.85; margin: 0.75rem 0 0; }
.book-scales { margin-top: 1.1rem; color: rgba(255,255,255,0.85); }
.book-scales svg { width: 68px; height: auto; margin-inline: auto; }
.book-meta { padding-inline: 0.2rem; }
.book-role { margin: 0; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.book-author { margin: 0.2rem 0 0; font-family: var(--font-serif); font-size: 1.05rem; color: var(--green); font-weight: 500; }

/* Author */
.author { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.author-layout {
  display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 3.5rem; align-items: center;
}
.author-visual { text-align: center; }
.author-card-deco {
  position: relative; aspect-ratio: 1; max-width: 320px; margin: 0 auto 1.25rem;
  border-radius: 28px; background: linear-gradient(145deg, var(--green-soft), var(--bg));
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden;
}
.author-card-deco::before {
  content: ""; position: absolute; inset: 18%;
  border: 1px dashed rgba(197,160,89,0.45); border-radius: 50%;
}
.author-initial {
  font-family: var(--font-serif); font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 600; color: var(--green); letter-spacing: 0.08em;
}
.author-badge {
  position: absolute; bottom: 1.25rem; right: 1.25rem; width: 64px; height: 64px;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow);
  display: grid; place-items: center; padding: 6px;
}
.author-badge img { width: 100%; height: auto; }
.author-role-tag { font-size: 0.9rem; color: var(--ink-muted); margin: 0; font-weight: 500; }
.author-text p { margin: 0 0 1.1rem; color: var(--ink-muted); }
.author-text p:last-child { margin-bottom: 0; }
.author-text strong { color: var(--green); }

/* Creed */
.creed {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, rgba(13,61,46,0.96), rgba(14,27,56,0.96));
  color: #fff;
}
.creed-inner { max-width: 760px; text-align: center; }
.creed-text {
  font-family: var(--font-serif); font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  line-height: 1.4; margin: 0; font-weight: 500;
}
.creed-text em { font-style: italic; color: var(--gold-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.contact-card h3 { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 0.75rem; color: var(--green); }
.contact-card p { margin: 0; color: var(--ink-muted); line-height: 1.65; }
.contact-card a { text-decoration: none; font-weight: 600; }

/* Footer */
.site-footer {
  padding: 2.75rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-soft);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.footer-brand img { width: 36px; height: auto; border-radius: 50%; }
.footer-brand div { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.footer-brand strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--green); font-weight: 600; }
.footer-brand span { font-family: var(--font-urdu); font-size: 0.8rem; color: var(--ink-muted); }
.footer-note { margin: 0; font-size: 0.9rem; color: var(--ink-muted); }
.footer-copy { margin: 0; font-size: 0.82rem; color: var(--ink-faint); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-cue-line, .pulse-dot { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .morph-word { filter: none; transition: opacity 0.2s ease; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid-layout, .mission-grid, .author-layout, .pub-bridge { grid-template-columns: 1fr; }
  .pillars, .book-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 260px; margin-top: 1rem; }
  .jh-covers { height: 180px; }
  .jh-cover { width: 88px; }
  .section-header.align-left { text-align: center; }
  .section-header.align-left .section-rule { margin-inline: auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    gap: 0; background: rgba(247,244,239,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 0.5rem 0;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.9rem 1.5rem; width: 100%; }
  .nav-cta { margin: 0.5rem 1.5rem 1rem; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .story-pin { height: 180vh; }
}
@media (max-width: 520px) {
  .pillars, .book-grid { grid-template-columns: 1fr; }
  .book-grid { max-width: 300px; margin-inline: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-stats { gap: 1.25rem; }
}
