/* ============ Tokens ============ */
:root {
  --ink: #0f2e2c;
  --ink-2: #16403c;
  --ink-3: #1f544f;
  --paper: #fbf8f3;
  --sand: #f3ece0;
  --line: #e4dccd;
  --text: #1b2624;
  --muted: #5d6a67;
  --gold: #c9974a;
  --gold-2: #e8c78a;
  --sage: #8fb3a8;
  --wa: #1fa855;
  --red: #c7463a;
  --surface: #ffffff;
  --body: #3a4644;
  --ink-deep: #0a201e;
  --nav-bg: rgba(15, 46, 44, .92);
  --on-gold: #1d1406;
  --gold-soft: rgba(201, 151, 74, .15);
  --gold-tint: #fdf8ef;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --arch: 220px 220px 28px 28px;
  --head-weight: 500;
  --head-track: -.01em;
  --shadow: 0 1px 2px rgba(15, 46, 44, .06), 0 10px 30px -12px rgba(15, 46, 44, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 46, 44, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Naskh reads far more clearly than Nastaliq at small sizes on phones */
  --urdu: "Noto Naskh Arabic", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink-3); text-underline-offset: 3px; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.15; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.tint { background: var(--sand); }
.center { text-align: center; }
.muted { color: var(--muted); }
/* Hidden above the page, not off to the side: a sideways offset becomes scrollable space on right-to-left pages */
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-2); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head.row > div { max-width: 720px; }
.sec-sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.sec-sub.light { color: rgba(255,255,255,.72); }

.urdu { font-family: var(--urdu); direction: rtl; line-height: 1.8; }
.urdu-s { font-family: var(--urdu); direction: rtl; text-align: left; color: var(--gold); font-size: 1rem; font-weight: 600; line-height: 1.7; margin: 2px 0 6px; }
.urdu-i { font-family: var(--urdu); line-height: 1.8; color: var(--ink-3); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--pill); border: 1px solid transparent;
  font-weight: 600; font-size: .96rem; text-decoration: none; line-height: 1.1;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 20px -10px var(--gold); }
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); margin-top: 32px; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-text { background: none; border: 0; color: var(--muted); padding-inline: 6px; }
.btn-text.light { color: rgba(255,255,255,.7); }
.btn-yt { background: #e62117; color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1b964b; }

/* ============ Nav ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink);
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-weight: 500; font-size: 1.06rem; }
.brand-text small { font-size: .74rem; opacity: .7; letter-spacing: .04em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--pill);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 500; white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e07a5f; flex: none; }
.is-open .dot { background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--surface); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; color: #fff; padding: 140px 0 48px; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--sage) 30%, transparent), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-deep));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1.eyebrow { font-family: var(--sans); line-height: 1.5; }
.hero-title { margin: 0; font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; }
.hero-title em { color: var(--gold-2); font-weight: 400; }
.hero-urdu { font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); color: rgba(255,255,255,.75); margin: 18px 0 8px; text-align: left; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 32px; margin: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); max-width: 620px; }
.hero-stats dt { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; font-size: .82rem; color: rgba(255,255,255,.6); }

.hero-visual { position: relative; }
.portrait {
  position: relative; border-radius: var(--arch); overflow: hidden;
  aspect-ratio: 4 / 5; background: #dcd6cc; box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255,255,255,.15); outline-offset: 10px;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.float-card {
  position: absolute; background: rgba(255,255,255,.96); color: var(--text); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px;
  animation: float 6s ease-in-out infinite;
}
.fc-hours { left: -34px; bottom: 90px; }
.fc-cred { right: -20px; top: 60px; flex-direction: row; align-items: center; gap: 12px; animation-delay: -3s; max-width: 260px; }
.fc-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.float-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ink); line-height: 1.2; }
.fc-cred strong { font-size: 1rem; }
.fc-cred > div { display: flex; flex-direction: column; gap: 2px; }
.hero-urdu + .lead { margin-top: 4px; }
.fc-sub { font-size: .8rem; color: var(--muted); }
.fc-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--gold); font-size: 1.1rem; }
@keyframes float { 50% { transform: translateY(-8px); } }

.affil { list-style: none; margin: 64px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; position: relative; }
.affil li { display: flex; align-items: baseline; gap: 8px; color: rgba(255,255,255,.55); font-size: .82rem; }
.affil b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: rgba(255,255,255,.9); letter-spacing: .04em; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; min-height: 620px; }
.ph { margin: 0; position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { left: 0; top: 0; width: 72%; height: 82%; }
.ph-a img { object-position: 30% 20%; }
.ph-b { right: 0; bottom: 0; width: 50%; height: 52%; border: 8px solid var(--paper); }
.ph-b img { object-position: 50% 25%; }
.ph-badge { position: absolute; left: 24px; bottom: 40px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 16px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.ph-badge strong { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--gold-2); }
.ph-badge span { font-size: .8rem; opacity: .75; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p { color: var(--body); font-size: 1.04rem; }

.timeline { margin: 32px 0; border-left: 1px solid var(--line); padding-left: 0; }
.tl-item { display: grid; grid-template-columns: 74px 1fr; align-items: baseline; padding: 10px 0 10px 22px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper); }
.tl-year { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; }
.tl-item strong { display: block; color: var(--ink); font-weight: 600; }
.tl-item span:not(.tl-year) { font-size: .9rem; color: var(--muted); }
.mini-h { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.langs { color: var(--muted); font-size: .93rem; margin: 0; }

/* ============ Signature ============ */
.sig { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%); color: rgba(255,255,255,.78); position: relative; overflow: hidden; }
.sig::before { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold-2) 15%, transparent); box-shadow: 0 0 0 80px color-mix(in srgb, var(--gold-2) 3%, transparent), 0 0 0 160px color-mix(in srgb, var(--gold-2) 2%, transparent); }
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; }
.sig h2 { color: #fff; }
.sig h2 em { color: var(--gold-2); font-weight: 400; }
.sig-urdu { color: var(--gold-2); font-size: 1.2rem; text-align: left; margin: 10px 0 16px; }
.sig-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sig-cards li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); transition: background .25s, transform .25s; }
.sig-cards li:hover { background: rgba(255,255,255,.08); transform: translateX(-4px); }
.sig-n { grid-row: span 2; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); line-height: 1; }
.sig-cards strong { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.15rem; color: #fff; line-height: 1.35; }
.sig-cards span:last-child { font-size: .88rem; margin-top: 6px; }

/* ============ Tabs & cards ============ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab { padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: .9rem; font-weight: 500; transition: all .2s; }
.tab:hover { border-color: var(--ink-3); }
.tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s; animation: fadeUp .4s ease both; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--ink-3); font-size: 1.3rem; margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; }
.card p:last-child { margin: 0; color: var(--muted); font-size: .93rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ============ Videos ============ */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vcard { all: unset; cursor: pointer; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; animation: fadeUp .4s ease both; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vcard:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Videos are vertical; YouTube's 4:3 thumbnail holds them in the centre, so crop to it */
.vthumb { position: relative; aspect-ratio: 4 / 5; background: #1a1a1a; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform .5s; }
.vthumb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.35)); pointer-events: none; }
.vcard:hover .vthumb img { transform: scale(1.25); }
.vplay { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s, background .25s; }
.vplay svg { margin-left: 3px; }
.vcard:hover .vplay { transform: scale(1.1); background: var(--gold-2); }
.vtag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .03em; }
.vmeta { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.vur { font-family: var(--urdu); font-size: 1.05rem; font-weight: 500; line-height: 1.75; color: var(--ink); text-align: right; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ven { font-size: .86rem; color: var(--muted); line-height: 1.45; }

.vmodal { padding: 0; border: 0; background: transparent; width: min(420px, 92vw, calc((100vh - 120px) * 9 / 16)); max-width: none; overflow: visible; }
.vmodal::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); }
.vframe { aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.vframe iframe { width: 100%; height: 100%; border: 0; }
.vclose { position: absolute; right: 0; top: -52px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); font-size: 1.6rem; line-height: 1; }

.tiktok { margin-top: 80px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow); }
.tt-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: 14px; }
.tt-copy p { color: var(--muted); }
.tt-phone {
  justify-self: center; width: min(340px, 100%); padding: 12px; border-radius: 44px; text-decoration: none;
  background: #111; box-shadow: var(--shadow-lg); transition: transform .3s;
}
.tt-phone:hover { transform: translateY(-6px) rotate(-1deg); }
.tt-screen {
  display: flex; flex-direction: column; gap: 22px; min-height: 440px; padding: 34px 24px 26px; border-radius: 34px; color: #fff;
  background:
    radial-gradient(260px 200px at 0% 0%, rgba(37,244,238,.28), transparent 70%),
    radial-gradient(260px 220px at 100% 100%, rgba(254,44,85,.32), transparent 70%),
    #0d0d0d;
}
.tt-head { display: flex; align-items: center; gap: 14px; }
.tt-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 3px solid #fff; }
.tt-head span { display: flex; flex-direction: column; min-width: 0; }
.tt-head b { font-size: 1.05rem; }
.tt-head small { font-size: .78rem; opacity: .65; overflow-wrap: anywhere; }
.tt-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.tt-topics span { padding: 5px 11px; border-radius: var(--pill); background: rgba(255,255,255,.1); font-size: .78rem; font-weight: 500; }
.tt-quote { font-size: 1.25rem; font-weight: 600; line-height: 1.8; color: #fff; text-align: right; flex: 1; display: flex; align-items: center; }
.tt-open { align-self: stretch; text-align: center; padding: 13px; border-radius: 12px; background: #fe2c55; font-weight: 600; font-size: .95rem; }

/* ============ Timings ============ */
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.live-card { display: flex; align-items: center; gap: 16px; margin: 28px 0; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.live-card strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.live-card .muted { font-size: .85rem; }
.dot.big { width: 14px; height: 14px; }
.notes { display: grid; gap: 14px; }
.note { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.note b { color: var(--ink); }
.note span { color: var(--muted); }

.schedule { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.sch-head { display: flex; justify-content: space-between; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); padding: 0 16px 14px; }
.schedule ol { list-style: none; margin: 0; padding: 0; }
.schedule li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; border-radius: 12px; border-top: 1px solid rgba(255,255,255,.08); text-align: right; }
.schedule li span:first-child { text-align: left; font-weight: 500; }
.schedule li.is-today { background: color-mix(in srgb, var(--gold-2) 14%, transparent); border-color: transparent; }
.schedule li.is-today + li { border-color: transparent; }
.schedule li.is-closed span:last-child { color: rgba(255,255,255,.4); }
.today-tag { font-style: normal; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--gold-2); color: var(--ink); padding: 3px 8px; border-radius: var(--pill); margin-left: 8px; vertical-align: 2px; }
.sch-foot { margin: 18px 16px 0; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ============ Reviews ============ */
.rev-top { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.rev-score { display: flex; align-items: center; gap: 20px; }
.rev-score > strong { font-family: var(--serif); font-weight: 500; font-size: 5.5rem; line-height: 1; color: var(--ink); }
.rev-score div { display: flex; flex-direction: column; gap: 4px; }
.stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 3px; }
.rev-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.rev-bars li { display: grid; grid-template-columns: 140px 1fr 44px; gap: 14px; align-items: center; font-size: .9rem; }
.rev-bars i { height: 6px; border-radius: 6px; background: var(--sand); position: relative; overflow: hidden; }
.rev-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: linear-gradient(90deg, var(--ink-3), var(--sage)); border-radius: 6px; }
.rev-bars b { text-align: right; color: var(--ink); }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quotes blockquote { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; position: relative; }
.quotes blockquote::before { content: "“"; font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--gold-2); }
.quotes p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink); margin: 0; flex: 1; }
.quotes cite { font-style: normal; font-size: .84rem; color: var(--muted); }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: 1.18rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--sans); font-size: 1.2rem; color: var(--ink); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold-2); }
.faq details p { margin: 0 0 22px; color: var(--body); max-width: 640px; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: stretch; }
.contact-grid h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); margin-bottom: 20px; }
address { font-style: normal; font-size: 1.06rem; color: var(--body); margin-bottom: 28px; }
.contacts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; }
.contacts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .94rem; flex-wrap: wrap; }
.contacts span { color: var(--muted); }
.contacts a { font-weight: 600; color: var(--ink); text-decoration: none; }
.contacts a:hover { color: var(--gold); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.socials a { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 500; transition: all .2s; }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ============ Crisis + footer ============ */
.crisis { background: #fbeae6; border-top: 1px solid #f0cfc7; }
.crisis-inner { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 18px 0; text-align: center; font-size: .94rem; }
.crisis strong { color: #8a2a20; }
.crisis a { color: #8a2a20; font-weight: 700; }
.footer { background: var(--ink-deep); color: rgba(255,255,255,.65); padding: 64px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h5 { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-2); margin-bottom: 14px; font-weight: 600; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: #fff; }
.brand.light .brand-text strong { font-size: 1.1rem; }
.foot-urdu { margin: 18px 0 0; font-size: 1.2rem; color: rgba(255,255,255,.5); text-align: left; }
.foot-urdu-s { margin: 8px 0 0; font-size: .92rem; color: rgba(255,255,255,.45); text-align: left; max-width: 460px; }
.foot-bottom { padding-top: 24px; font-size: .8rem; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.credit { color: rgba(255,255,255,.6); }
.credit b { color: var(--gold-2); font-weight: 600; }
.credit a { color: rgba(255,255,255,.85); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31,168,85,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ============ Motion ============ */
/* Hidden starting states only apply once motion.js adds .motion to <html>,
   so the page still looks complete without JavaScript or with reduced motion. */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

@media (min-width: 921px) {
  .nav-inner, .brand-mark { transition: height .3s, width .3s; }
  .nav.is-scrolled .nav-inner { height: 62px; }
  .nav.is-scrolled .brand-mark { width: 36px; height: 36px; }
}

.hero-bg::before {
  content: ""; position: absolute; inset: -10%; will-change: transform;
  background:
    radial-gradient(500px 360px at 30% 35%, color-mix(in srgb, var(--sage) 16%, transparent), transparent 70%),
    radial-gradient(420px 320px at 75% 75%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(6%, -4%, 0) scale(1.08); } }
.hero-title .w { display: inline-block; animation: wordIn .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + .15s); }
@keyframes wordIn { from { opacity: 0; transform: translateY(.35em); } }
.motion .hero-urdu { width: fit-content; animation: inkIn 1.6s ease-out .9s both; }
@keyframes inkIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.motion .portrait img { animation: slowZoom 9s ease-out both; }
@keyframes slowZoom { from { transform: scale(1.12); } }
.hero-stats dt, .rev-score > strong { font-variant-numeric: tabular-nums; }

.affil-mask { margin: 64px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.affil-mask .affil { margin: 0; padding: 0; border: 0; width: max-content; flex-wrap: nowrap; justify-content: flex-start; gap: 0; }
.affil-mask .affil li { padding-right: 56px; }

.motion .stagger:not(.in) > * { opacity: 0; animation: none; }
.motion .stagger.in > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.timeline { position: relative; }
.motion .timeline { border-left-color: transparent; }
.motion .timeline::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--gold), var(--line)); transform: scaleY(0); transform-origin: top; transition: transform 1.4s cubic-bezier(.4,0,.2,1); }
.motion .tl-item { opacity: 0; transform: translateX(-8px); transition: opacity .6s, transform .6s; }
.motion .tl-item::before { transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.motion .timeline.in::before, .motion .timeline.in .tl-item, .motion .timeline.in .tl-item::before { opacity: 1; transform: none; }
.motion .timeline.in .tl-item:nth-child(1), .motion .timeline.in .tl-item:nth-child(1)::before { transition-delay: .2s; }
.motion .timeline.in .tl-item:nth-child(2), .motion .timeline.in .tl-item:nth-child(2)::before { transition-delay: .6s; }
.motion .timeline.in .tl-item:nth-child(3), .motion .timeline.in .tl-item:nth-child(3)::before { transition-delay: 1s; }

/* Three illnesses joined to one cause */
.sig-cards { position: relative; margin-left: 28px; }
.sig-cards li { position: relative; }
.sig-cards::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--gold-2) 50%, transparent); transform-origin: top; }
.sig-cards li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 24px; height: 1px; background: color-mix(in srgb, var(--gold-2) 50%, transparent); transform-origin: left; }
.sig-cards::after { content: ""; position: absolute; left: -29px; top: 50%; width: 11px; height: 11px; margin-top: -5px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold-2) 50%, transparent); }
.motion .sig-cards::before { transform: scaleY(0); transition: transform .9s ease .2s; }
.motion .sig-cards li::before { transform: scaleX(0); transition: transform .5s ease; }
.motion .sig-cards::after { transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) 1.4s; }
.motion .sig-cards.in::before, .motion .sig-cards.in li::before { transform: none; }
.motion .sig-cards.in::after { transform: none; animation: causePulse 2.4s ease-out 2s infinite; }
.motion .sig-cards.in li:nth-child(1)::before { transition-delay: .9s; }
.motion .sig-cards.in li:nth-child(2)::before { transition-delay: 1.05s; }
.motion .sig-cards.in li:nth-child(3)::before { transition-delay: 1.2s; }
@keyframes causePulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.schedule li.is-today { position: relative; }
.schedule li.is-today::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold-2) 60%, transparent), 0 0 22px color-mix(in srgb, var(--gold-2) 25%, transparent); animation: todayGlow 3s ease-in-out infinite; }
@keyframes todayGlow { 50% { opacity: 1; } }

.motion .rev-bars i::after { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.motion .rev-top.in .rev-bars i::after { transform: none; }
.motion .rev-top.in .rev-bars li:nth-child(2) i::after { transition-delay: .15s; }
.motion .rev-top.in .rev-bars li:nth-child(3) i::after { transition-delay: .3s; }
.motion .rev-top.in .rev-bars li:nth-child(4) i::after { transition-delay: .45s; }
.stars .st { display: inline-block; }
.motion .rev-top:not(.in) .stars .st { opacity: .15; }
.motion .rev-top.in .stars .st { animation: starPop .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * 120ms + .3s); }
@keyframes starPop { from { opacity: .15; transform: scale(.5); } }

.vplay::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); opacity: 0; pointer-events: none; }
.vcard:hover .vplay::after { animation: playRing 1.3s ease-out infinite; }
@keyframes playRing { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }

.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--wa); opacity: 0; animation: waRing 10s ease-out 4s infinite; }
.wa-float::after { animation-delay: 4.3s; }
.wa-float svg { animation: waWiggle 10s ease-in-out 4s infinite; }
@keyframes waRing { 0% { opacity: .55; transform: scale(1); } 12% { opacity: 0; transform: scale(1.9); } 100% { opacity: 0; } }
@keyframes waWiggle { 0%, 10%, 100% { transform: none; } 2%, 6% { transform: rotate(-12deg); } 4%, 8% { transform: rotate(12deg); } }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .status-pill { display: none; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .rev-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 0; flex-direction: column; gap: 0; padding: 24px 20px;
    background: var(--ink); transform: translateX(100%); transition: transform .3s ease; margin: 0;
  }
  .nav-links.is-open { transform: none; }
  .nav-links a { font-family: var(--serif); font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
  .nav-cta { margin-left: auto; }
  .hero { padding-top: 112px; }
  .hero-grid, .about-grid, .sig-grid, .time-grid, .faq-grid, .contact-grid, .tiktok { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .fc-hours { left: -8px; }
  .fc-cred { right: -8px; }
  .about-media { min-height: 520px; order: 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .affil { justify-content: flex-start; gap: 14px 28px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-cta .btn-sm { display: none; }
  .brand-text small { display: none; }
  .quotes { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vmeta { padding: 10px 12px 14px; }
  .vur { font-size: .95rem; }
  .ven { font-size: .78rem; }
  .vplay { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .rev-bars { grid-template-columns: 1fr; }
  .rev-bars li { grid-template-columns: 120px 1fr 40px; }
  .rev-score > strong { font-size: 4.2rem; }
  .about-media { min-height: 420px; }
  .ph-badge { bottom: 20px; left: 12px; }
  .note { grid-template-columns: 1fr; gap: 4px; }
  .schedule { padding: 20px 12px; }
  .float-card { padding: 10px 14px; }
  .fc-cred { top: 24px; max-width: 220px; }
  .fc-hours { bottom: 40px; }
  .hero-stats dt { font-size: 1.7rem; }
  .map, .map iframe { min-height: 340px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
.served { font-size: .92rem; margin: -12px 0 24px; }

/* ============ Language switch ============ */
.lang { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.32); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background .2s; }
.lang:hover { background: rgba(255,255,255,.12); }
.lang[lang="ur"] { font-family: "Noto Naskh Arabic", serif; font-size: 1rem; }
.lang[lang="en"] { font-family: "Inter", system-ui, sans-serif; }

/* ============ Urdu page (ur.html, right to left) ============ */
:root[lang="ur"] { --serif: var(--urdu); --sans: var(--urdu); --head-weight: 700; --head-track: 0; }
/* Letter-spacing breaks the joins between Urdu letters, and Naskh has no italic */
:root[lang="ur"] * { letter-spacing: 0 !important; font-style: normal !important; }
[lang="ur"] body { font-size: 17px; line-height: 1.9; }
[lang="ur"] h1, [lang="ur"] h2, [lang="ur"] h3, [lang="ur"] h4, [lang="ur"] h5 { line-height: 1.55; }
[lang="ur"] .hero-title { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.8rem); line-height: 1.45; font-weight: 700; }
[lang="ur"] .eyebrow { font-size: .92rem; }
[lang="ur"] .mini-h, [lang="ur"] .footer h5, [lang="ur"] .fc-label, [lang="ur"] .sch-head { font-size: .95rem; }
[lang="ur"] .nav-links a { font-size: 1rem; }
[lang="ur"] .btn { line-height: 1.4; padding-block: 11px; }
[lang="ur"] .btn-sm { padding-block: 8px; }
[lang="ur"] .sig-cards strong, [lang="ur"] .quotes p { line-height: 1.8; }
[lang="ur"] .en-s { direction: ltr; text-align: right; font-family: "Inter", system-ui, sans-serif; color: var(--gold); font-size: .85rem; font-weight: 600; margin: 0 0 8px; }

/* Keep "30+" and "1M+" from turning into "+30" and "+1M" */
[dir="rtl"] .hero-stats dt { direction: ltr; text-align: right; }
[dir="rtl"] .urdu-s, [dir="rtl"] .sig-urdu, [dir="rtl"] .foot-urdu, [dir="rtl"] .foot-urdu-s { text-align: right; }
[dir="rtl"] .timeline { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"].motion .timeline { border-right-color: transparent; }
[dir="rtl"].motion .timeline::before { left: auto; right: -1px; }
[dir="rtl"] .tl-item { padding: 10px 22px 10px 0; }
[dir="rtl"] .tl-item::before { left: auto; right: -5px; top: 24px; }
[dir="rtl"] .ticks li { padding: 0 28px 0 0; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; top: 13px; }
[dir="rtl"] .sig-cards { margin-left: 0; margin-right: 28px; }
[dir="rtl"] .sig-cards::before, [dir="rtl"] .sig-cards li::before { left: auto; right: -24px; }
[dir="rtl"] .sig-cards li::before { transform-origin: right; }
[dir="rtl"] .sig-cards::after { left: auto; right: -29px; }
[dir="rtl"] .sig-cards li:hover { transform: translateX(4px); }
[dir="rtl"] .faq summary { padding: 22px 0 22px 44px; }
[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
[dir="rtl"] .progress { transform-origin: right; }
[dir="rtl"] .rev-bars i::after { inset: 0 0 0 auto; transform-origin: right; }
[dir="rtl"] .rev-bars b { text-align: left; }
[dir="rtl"] .schedule li { text-align: left; }
[dir="rtl"] .schedule li span:first-child { text-align: right; }
[dir="rtl"] .today-tag { margin: 0 8px 0 0; }
