/* ==========================================================================
   Urdu Worship — Design System
   Palette: YouTube Red + White  (light theme)
   Section rhythm: white → soft grey → white → red tint → white → grey
   ========================================================================== */

:root{
  /* Brand red (YouTube's own values) */
  /* sampled from Urdu-Worship-Heading-Logo.png */
  --red-700:#A80000;
  --red-600:#CC0000;
  --red-500:#ED0000;   /* logo body red — 4.57:1 on white, passes AA */
  --red-400:#FF3B3B;
  --red-100:#FFD6D6;
  --red-50:#FFF1F0;

  /* Ink */
  --ink-900:#242424;   /* the charcoal of "Urdu" in the logo */
  --ink-700:#3A3A3A;
  --ink-500:#606060;
  --ink-300:#6F6F6F;   /* 5.0:1 on white — #909090 failed WCAG AA on a light theme */

  /* Surfaces */
  --surface:#FFFFFF;
  --surface-2:#F2F2F2;      /* clearly grey against white, not a 2% whisper */
  --surface-3:#E9E9E9;
  --surface-tint:#FFEDEB;   /* readable red wash */
  --surface-hero:#FFF7F5;

  --text:var(--ink-900);
  --muted:var(--ink-500);
  --faint:var(--ink-300);

  --line:#E5E5E5;
  --line-strong:#CCCCCC;
  --line-soft:#EFEFEF;

  --radius-s:10px;
  --radius:16px;
  --radius-l:24px;

  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow:0 12px 32px -10px rgba(0,0,0,.18);
  --shadow-lg:0 22px 48px -14px rgba(0,0,0,.24);
  --shadow-red:0 12px 28px -10px rgba(255,0,0,.45);

  --wrap:1220px;
  --article-gutter:96px;   /* about one inch each side on a desktop */
  --gutter:28px;
  --header-pad:clamp(20px,3.2vw,48px);

  --ff-display:"Playfair Display",Georgia,"Times New Roman",serif;
  --ff-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  --ease:cubic-bezier(.22,.61,.36,1);
  --hero-h1:clamp(2.4rem,5.2vw,4.2rem);
  /* eyebrow line-box + margin, then Playfair's cap-height inset (.28em),
     so the video's top edge lines up with the top of the letters, not the text box */
  --hero-offset:calc(.72rem * 1.55 + 1rem + var(--hero-h1) * .28);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--surface);
  color:var(--text);
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:var(--ff-display);font-weight:700;line-height:1.15;margin:0 0 .5em;letter-spacing:-.015em;color:var(--ink-900)}
h1{font-size:var(--hero-h1)}
h2{font-size:clamp(2rem,3.6vw,2.9rem)}
h3{font-size:clamp(1.25rem,2vw,1.6rem)}
p{margin:0 0 1.1em}

.eyebrow{
  display:inline-flex;align-items:center;gap:.6em;
  font-size:.72rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;
  color:var(--red-500);margin-bottom:1rem;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--red-500);border-radius:2px}

.lead{font-size:1.12rem;color:var(--muted);max-width:62ch}
.verse{font-family:var(--ff-display);font-style:italic;color:var(--ink-700);font-size:1.05rem}

/* ---------- Layout ---------- */
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.section{padding:clamp(64px,8vw,110px) 0;background:var(--surface);border-top:1px solid var(--line)}
.section--tight{padding:clamp(48px,5vw,72px) 0}
.section--alt{background:var(--surface-2)}
.section--grey{background:var(--surface-3)}
.section--tint{background:var(--surface-tint)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2.6rem;flex-wrap:wrap}
.sec-head p{margin:0;color:var(--muted);max-width:56ch}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  padding:.92em 1.7em;border-radius:100px;
  font-size:.9rem;font-weight:600;letter-spacing:.02em;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s,border-color .25s,color .25s;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn--red{background:var(--red-500);color:#fff;box-shadow:var(--shadow-red)}
.btn--red:hover{background:var(--red-600);box-shadow:0 16px 34px -10px rgba(204,0,0,.55)}
.btn--ghost{border:1px solid var(--line-strong);color:var(--ink-900);background:var(--surface)}
.btn--ghost:hover{border-color:var(--red-500);color:var(--red-600);background:var(--red-50)}
.btn--sm{padding:.65em 1.2em;font-size:.82rem}
.btn svg{width:18px;height:18px}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(160%) blur(18px);
  -webkit-backdrop-filter:saturate(160%) blur(18px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s,background .3s;
}
.site-header{box-shadow:var(--shadow-sm)}
.site-header.is-stuck{background:rgba(255,255,255,.97);box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;gap:2rem;height:96px;max-width:1440px}
.site-header .wrap{padding-inline:var(--header-pad)}

.brand{display:flex;align-items:center;margin-right:auto}
.brand img{height:66px;width:auto;display:block}
.brand--footer{margin-bottom:1.1rem}
.brand--footer img{height:66px}
@media(max-width:560px){ .brand img{height:44px} }

.nav{display:flex;align-items:center;gap:.35rem}
.nav ul,.nav .nav-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.35rem}
.nav li{list-style:none}
.nav a{
  position:relative;padding:.55em .95em;border-radius:8px;
  font-size:.94rem;font-weight:600;color:var(--ink-900);transition:color .2s;
}
.nav a:hover{color:var(--ink-900)}
.nav a.is-active{color:var(--red-600);font-weight:600}
.nav a.is-active::after{
  content:"";position:absolute;left:.95em;right:.95em;bottom:.15em;height:2px;
  background:var(--red-500);border-radius:2px;
}
.header-actions{display:flex;align-items:center;gap:.6rem}
.icon-btn{
  width:40px;height:40px;border-radius:11px;display:grid;place-items:center;
  border:1px solid var(--line);color:var(--ink-500);transition:.2s;background:var(--surface);
}
.icon-btn:hover{color:var(--red-600);border-color:var(--red-400)}
.icon-btn svg{width:19px;height:19px}
.nav-toggle{display:none}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding:clamp(70px,9vw,120px) 0 clamp(70px,8vw,110px);background:var(--surface-hero)}
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(760px 460px at 82% 12%,rgba(255,0,0,.10),transparent 62%),
    radial-gradient(700px 420px at 4% 88%,rgba(255,0,0,.05),transparent 65%);
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:0;opacity:.5;
  background-image:repeating-linear-gradient(115deg,transparent 0 58px,rgba(255,0,0,.045) 58px 59px);
  mask-image:radial-gradient(70% 60% at 70% 25%,#000,transparent 75%);
  -webkit-mask-image:radial-gradient(70% 60% at 70% 25%,#000,transparent 75%);
}
.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2.5rem,5vw,4.5rem);align-items:start}
.hero .eyebrow{display:flex;width:max-content;line-height:1.55;margin-bottom:1rem}
.hero-feature{margin-top:var(--hero-offset)}
.hero h1{margin-bottom:.35em;text-wrap:balance}
.hero h1 .line1{display:block;color:var(--ink-900)}
.hero h1 .line2{display:block;color:var(--red-500)}
.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap;margin:2rem 0 1.8rem}
.hero-verse{border-left:3px solid var(--red-500);padding-left:1.1rem;max-width:44ch}
.hero-verse cite{display:block;font-style:normal;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);margin-top:.4rem}

.hero-stats{display:flex;justify-content:center;gap:clamp(2rem,4vw,3.4rem);margin-top:2.6rem;padding-top:2rem;border-top:1px solid var(--line);text-align:center}
.stat b{display:block;font-family:var(--ff-display);font-size:clamp(2.3rem,3vw,2.9rem);color:var(--red-600);line-height:1;margin-bottom:.15em}
.stat span{font-size:.86rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-500)}

/* ---------- Video card ---------- */
.vcard{
  position:relative;display:block;border-radius:var(--radius-l);overflow:hidden;
  background:var(--surface);border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease),border-color .3s,box-shadow .35s;
  cursor:pointer;
}
.vcard:hover{transform:translateY(-5px);border-color:var(--red-100);box-shadow:var(--shadow-lg)}
.vcard-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--surface-3)}
.vcard-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.vcard:hover .vcard-thumb img{transform:scale(1.06)}
.play{
  position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:2;
  width:66px;height:66px;border-radius:50%;
  background:rgba(15,15,15,.55);backdrop-filter:blur(4px);
  display:grid;place-items:center;
  transition:.3s var(--ease);
}
.play svg{width:24px;height:24px;margin-left:3px;fill:#fff}
.vcard:hover .play{background:var(--red-500);scale:1.1}
.vcard-dur{
  position:absolute;right:10px;bottom:10px;z-index:2;
  background:rgba(0,0,0,.8);padding:.15em .45em;border-radius:5px;
  font-size:.74rem;font-weight:600;font-variant-numeric:tabular-nums;color:#fff;
}
.vcard-badge{
  position:absolute;left:12px;top:12px;z-index:2;
  background:var(--red-500);color:#fff;
  padding:.25em .75em;border-radius:100px;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
}
.vcard-body{padding:1.15rem 1.25rem 1.35rem}
.vcard-title{font-family:var(--ff-display);font-size:1.16rem;font-weight:700;margin:0 0 .1rem;line-height:1.3}
.vcard-sub{font-size:.9rem;color:var(--muted);margin:.1rem 0 .6rem;font-style:italic}
.vcard-meta{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:var(--faint)}
.vcard-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--faint)}
.hero-feature .vcard{box-shadow:var(--shadow-lg)}

/* ---------- Grids ---------- */
.grid{display:grid;gap:1.9rem}
.grid--2{grid-template-columns:repeat(2,1fr)}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}

/* ---------- Category tiles ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.cat{
  position:relative;overflow:hidden;
  border:1px solid var(--line);border-radius:var(--radius);
  padding:1.7rem 1.5rem 1.7rem 2.1rem;   /* room for the gradient edge */
  background:var(--surface);
  box-shadow:0 6px 20px -8px rgba(36,36,36,.20);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.cat::before{
  content:"";position:absolute;inset:0;opacity:0;transition:opacity .3s;
  background:linear-gradient(150deg,rgba(237,0,0,.06),transparent 60%);
}
/* gradient edge down the left of every tile, matching the About photo */
.cat::after{
  content:"";position:absolute;left:0;top:0;bottom:0;width:6px;z-index:2;
  background:linear-gradient(180deg,var(--red-400) 0%,var(--red-500) 45%,var(--red-700) 100%);
  transition:width .3s var(--ease);
}
.cat:hover{transform:translateY(-5px);border-color:var(--red-100);box-shadow:0 20px 40px -14px rgba(36,36,36,.32)}
.cat:hover::before{opacity:1}
.cat:hover::after{width:9px}
.cat-ico{position:relative;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--red-50);color:var(--red-500);margin-bottom:1rem}
.cat-ico svg{width:21px;height:21px}
.cat h3{position:relative;font-size:1.12rem;margin:0 0 .35rem}
.cat span.count{position:relative;font-size:.78rem;color:var(--faint);letter-spacing:.08em;text-transform:uppercase;font-weight:600}

/* ---------- About strip ---------- */
.about-strip{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,5vw,4rem);align-items:center}
/* About page: photo column and text column share the width equally (desktop only —
   must be inside a min-width query or it overrides the single-column mobile rule) */
@media(min-width:1025px){ .page-about .about-strip{grid-template-columns:1fr 1fr} }
.about-photo{position:relative;border-radius:var(--radius-l);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
.about-photo img{width:100%;height:auto;display:block}
.about-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(15,15,15,.72))}
.about-photo::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:8px;z-index:4;
  box-shadow:6px 0 22px -6px rgba(255,0,0,.4);
  background:linear-gradient(180deg,var(--red-400) 0%,var(--red-500) 45%,var(--red-700) 100%);
}
.about-photo figcaption{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:1.4rem;color:#fff}
.about-photo figcaption b{display:block;font-family:var(--ff-display);font-size:1.15rem}
.about-photo figcaption span{font-size:.8rem;color:#FFD9D6}
.credential{display:flex;gap:.7rem;align-items:flex-start;margin-bottom:.7rem;font-size:.94rem;color:var(--muted)}
.credential svg{width:17px;height:17px;flex:none;margin-top:.35em;color:var(--red-500)}
.credential b{color:var(--ink-900)}

/* ---------- Singers ---------- */
.singer{text-align:center}
.singer-avatar{
  width:118px;height:118px;border-radius:50%;margin:0 auto .9rem;
  display:grid;place-items:center;
  font-family:var(--ff-display);font-size:2.1rem;font-weight:700;color:var(--red-600);
  background:var(--surface);border:2px solid var(--line);transition:.3s var(--ease);
}
.singer:hover .singer-avatar{border-color:var(--red-400);transform:translateY(-4px);box-shadow:var(--shadow)}
.singer b{display:block;font-family:var(--ff-display);font-size:1.02rem}
.singer span{font-size:.78rem;color:var(--faint)}

/* ---------- App band (the one bold block) ---------- */
.app-band{
  position:relative;overflow:hidden;border-radius:var(--radius-l);
  background:linear-gradient(120deg,var(--red-500),var(--red-700));
  padding:clamp(2.2rem,5vw,3.6rem);color:#fff;
  box-shadow:0 24px 50px -20px rgba(204,0,0,.5);
}
.app-band::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(600px 300px at 88% 15%,rgba(255,255,255,.16),transparent 65%);
}
.app-band-inner{position:relative;display:grid;grid-template-columns:1.2fr .8fr;gap:2.5rem;align-items:center}
.app-band h2{color:#fff}
.app-band .eyebrow{color:#FFD9D6}
.app-band .eyebrow::before{background:#FFD9D6}
.app-band .lead{color:rgba(255,255,255,.9)}

/* Official App Store / Google Play badges. Google's PNG has 41px of required clear
   space baked in, so its height is set larger to land on the same 48px visual height. */
.store-badges{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:1.6rem}
.store-badge{display:inline-flex;align-items:center;border-radius:10px;transition:transform .25s var(--ease),filter .25s}
.store-badge:hover{transform:translateY(-2px);filter:brightness(1.12)}
.store-badge:focus-visible{outline:2px solid var(--red-500);outline-offset:3px}
.store-badge img{display:block;width:auto;height:auto}
.store-badge--apple img{height:48px}
.store-badge--google img{height:71px}
@media(max-width:400px){
  .store-badge--apple img{height:42px}
  .store-badge--google img{height:62px}
}

/* ---------- Newsletter ---------- */
.subscribe{text-align:center;max-width:620px;margin:0 auto}
.sub-form{display:flex;gap:.7rem;margin-top:1.6rem}
.sub-form input{
  flex:1;padding:.95em 1.3em;border-radius:100px;
  background:var(--surface);border:1px solid var(--line-strong);
  color:var(--ink-900);font:inherit;font-size:.92rem;outline:none;transition:.25s;
}
.sub-form input:focus{border-color:var(--red-500);box-shadow:0 0 0 3px var(--red-50)}
.sub-form input::placeholder{color:var(--faint)}

/* ---------- Footer ---------- */
.site-footer{background:var(--surface-3);border-top:1px solid var(--line-strong);padding-top:clamp(50px,6vw,76px)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:2.5rem;padding-bottom:3rem}
.footer-col h4{font-family:var(--ff-body);font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--red-600);margin-bottom:1.1rem}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.footer-col a{font-size:.94rem;color:var(--ink-700);transition:color .2s}
.footer-col a:hover{color:var(--red-600)}
.footer-about p{font-size:.94rem;color:var(--ink-700);max-width:36ch}
.socials{display:flex;gap:.6rem;margin-top:1.2rem}
.socials a{width:38px;height:38px;border-radius:11px;border:1px solid var(--line-strong);display:grid;place-items:center;color:var(--ink-900);background:var(--surface);transition:.25s}
.socials a:hover{color:#fff;background:var(--red-500);border-color:var(--red-500)}
.socials svg{width:17px;height:17px}
/* Copyright sits in its own full-width red band */
.footer-copyright{background:var(--red-500);color:#fff}
.footer-copyright-inner{
  display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;
  padding-block:1.15rem;font-size:.86rem;color:#fff;
}
.footer-copyright-inner a{color:#fff;text-decoration:underline}
@media(max-width:560px){
  .footer-copyright-inner{flex-direction:column;gap:.4rem;text-align:center}
}
.footer-verse{text-align:center;padding:1.8rem 0 2.4rem;border-top:1px solid var(--line-strong)}

/* ---------- Lightbox (stays dark — correct for watching video) ---------- */
.lb{
  position:fixed;inset:0;z-index:200;display:none;
  background:rgba(15,15,15,.94);backdrop-filter:blur(10px);
  align-items:center;justify-content:center;padding:clamp(16px,4vw,48px);
  opacity:0;transition:opacity .3s;
}
.lb.is-open{display:flex}
.lb.is-visible{opacity:1}
.lb-box{width:min(1180px,100%);animation:lbIn .45s var(--ease)}
@keyframes lbIn{from{transform:translateY(24px) scale(.97);opacity:0}to{transform:none;opacity:1}}
.lb-frame{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#000;box-shadow:0 40px 100px -20px rgba(0,0,0,.8)}
.lb-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.lb-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1rem;flex-wrap:wrap}
.lb-head h3{margin:0;font-size:1.35rem;color:#fff}
.lb-close{
  width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.25);
  display:grid;place-items:center;color:rgba(255,255,255,.75);flex:none;transition:.25s;
}
.lb-close:hover{color:#fff;background:var(--red-500);border-color:var(--red-500);rotate:90deg}
.lb-close svg{width:20px;height:20px}
.lb-foot{display:flex;gap:.8rem;margin-top:1.1rem;flex-wrap:wrap}
.lb-foot .btn--ghost{border-color:rgba(255,255,255,.3);color:#fff;background:transparent}
.lb-foot .btn--ghost:hover{background:var(--red-500);border-color:var(--red-500);color:#fff}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{position:relative;padding:clamp(56px,7vw,90px) 0 clamp(40px,5vw,60px);overflow:hidden;background:var(--surface-hero)}
.page-hero::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(700px 340px at 20% 0%,rgba(255,0,0,.08),transparent 65%);
}
.page-hero .wrap{position:relative}
.crumbs{display:flex;gap:.55rem;align-items:center;font-size:.82rem;color:var(--faint);margin-bottom:1.2rem;flex-wrap:wrap}
.crumbs a:hover{color:var(--red-600)}
.crumbs svg{width:13px;height:13px;opacity:.5}

/* ---------- Filters ---------- */
.filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:2.4rem}
.chips{display:flex;gap:.5rem;flex-wrap:wrap}
.chip{
  padding:.5em 1.1em;border-radius:100px;border:1px solid var(--line-strong);
  font-size:.85rem;color:var(--ink-500);transition:.25s;white-space:nowrap;background:var(--surface);
}
.chip:hover{color:var(--ink-900);border-color:var(--ink-300)}
.chip.is-active{background:var(--red-500);color:#fff;border-color:var(--red-500);font-weight:600}
.search-box{position:relative;margin-left:auto;min-width:250px}
.search-box input{
  width:100%;padding:.72em 1em .72em 2.7em;border-radius:100px;
  background:var(--surface);border:1px solid var(--line-strong);
  color:var(--ink-900);font:inherit;font-size:.88rem;outline:none;transition:.25s;
}
.search-box input:focus{border-color:var(--red-500);box-shadow:0 0 0 3px var(--red-50)}
.search-box svg{position:absolute;left:1em;top:50%;translate:0 -50%;width:16px;height:16px;color:var(--faint)}

/* ---------- Single song ---------- */
.song-layout{display:grid;grid-template-columns:1.55fr .85fr;gap:clamp(2rem,4vw,3.4rem);align-items:start}
.song-player{position:relative;aspect-ratio:16/9;border-radius:var(--radius-l);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:#000}
.song-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.song-title-block{margin:2rem 0 1.4rem}
.song-title-block h1{font-size:clamp(2rem,3.6vw,2.9rem);margin-bottom:.15em}
.song-title-block .roman{font-size:1.05rem;color:var(--muted);letter-spacing:.02em}
.song-meta-row{display:flex;gap:1.6rem;flex-wrap:wrap;padding:1.1rem 0;border-block:1px solid var(--line);margin-bottom:2rem}
.song-meta-row div small{display:block;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--faint)}
.song-meta-row div b{font-weight:600;font-size:.95rem}

.tabs{display:flex;gap:.4rem;border-bottom:1px solid var(--line);margin-bottom:1.8rem}
.tab{
  padding:.75em 1.3em;font-size:.9rem;font-weight:600;color:var(--ink-500);
  border-bottom:2px solid transparent;margin-bottom:-1px;transition:.25s;
}
.tab:hover{color:var(--ink-900)}
.tab.is-active{color:var(--red-600);border-bottom-color:var(--red-500)}
.lyrics{display:none}
.lyrics.is-active{display:block;animation:fadeUp .4s var(--ease)}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.lyrics p{margin:0 0 1.6em}
.lyrics .stanza-label{
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--red-500);
  font-family:var(--ff-body);font-weight:700;margin-bottom:.4em;display:block;
}
.lyrics--roman{font-size:1.06rem;line-height:2.1;color:var(--ink-900)}
.lyrics--en{font-size:1.02rem;line-height:2;color:var(--muted);font-style:italic}

.sidecard{
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--surface-2);padding:1.5rem;margin-bottom:1.4rem;
}
.sidecard h4{font-family:var(--ff-body);font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--red-600);margin-bottom:1rem}
.scripture-card{text-align:center;padding:2rem 1.5rem;background:var(--red-50);border-color:var(--red-100)}
.scripture-card .verse{font-size:1.12rem;line-height:1.8;display:block;margin-bottom:.8rem}
.scripture-card cite{font-style:normal;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--red-600);font-weight:600}
.share-row{display:flex;gap:.55rem;flex-wrap:wrap}
.share-btn{width:40px;height:40px;border-radius:11px;border:1px solid var(--line-strong);display:grid;place-items:center;color:var(--ink-500);background:var(--surface);transition:.25s}
.share-btn:hover{color:#fff;background:var(--red-500);border-color:var(--red-500)}
.share-btn svg{width:17px;height:17px}
.mini-song{display:flex;gap:.85rem;align-items:center;padding:.6rem 0;border-bottom:1px solid var(--line);cursor:pointer}
.mini-song:last-child{border-bottom:0}
.mini-song img{width:74px;height:44px;object-fit:cover;border-radius:8px;flex:none}
.mini-song b{display:block;font-size:.9rem;font-weight:600;line-height:1.35}
.mini-song span{font-size:.76rem;color:var(--faint)}
.mini-song:hover b{color:var(--red-600)}

/* ---------- Contact ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.field{display:flex;flex-direction:column;gap:.45rem}
.field.full{grid-column:1/-1}
.field label{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-500);font-weight:700}
.field input,.field textarea,.field select{
  padding:.85em 1.1em;border-radius:12px;
  background:var(--surface);border:1px solid var(--line-strong);
  color:var(--ink-900);font:inherit;font-size:.94rem;outline:none;transition:.25s;
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--red-500);box-shadow:0 0 0 3px var(--red-50)}
.field textarea{resize:vertical;min-height:140px}

/* ---------- Utility ---------- */
.reveal{opacity:0;transform:translateY(22px)}
.reveal.in{opacity:1;transform:none;transition:opacity .7s var(--ease),transform .7s var(--ease)}
.demo-flag{
  position:fixed;left:50%;translate:-50% 0;bottom:18px;z-index:150;
  background:var(--ink-900);color:#fff;
  padding:.5em 1.2em;border-radius:100px;font-size:.76rem;
  box-shadow:var(--shadow);
}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .hero-inner{grid-template-columns:1fr;gap:3rem}
  .hero-feature{margin-top:0}
  .song-layout{grid-template-columns:1fr}
  .about-strip{grid-template-columns:1fr}
  .about-photo{max-width:380px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .grid--4{grid-template-columns:repeat(3,1fr)}
  .app-band-inner{grid-template-columns:1fr}
}
@media(max-width:820px){
  :root{--gutter:20px}

  /* Logo on the left, hamburger on the right */
  .header-inner{position:relative;justify-content:space-between;height:92px}
  .brand{margin-right:auto}
  .brand img{height:60px}
  .header-actions{gap:0}

  .nav,.header-actions .btn{display:none}
  .nav-toggle{
    display:grid;width:52px;height:52px;border-radius:14px;
    background:var(--red-500);border-color:var(--red-500);color:#fff;
    box-shadow:0 6px 16px -6px rgba(237,0,0,.55);
  }
  .nav-toggle:hover{background:var(--red-600);border-color:var(--red-600);color:#fff}
  .nav-toggle svg{width:28px;height:28px;stroke-width:2.4}

  .nav.is-open{
    display:flex;flex-direction:column;align-items:stretch;
    position:absolute;top:92px;left:0;right:0;
    background:var(--surface);border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);z-index:70;
    padding:1rem var(--gutter) 1.6rem;gap:.2rem;
  }
  .nav.is-open ul,.nav.is-open .nav-list{flex-direction:column;align-items:stretch;width:100%;gap:0}
  .nav.is-open a{display:block;padding:.85em 0;font-size:1.05rem;text-align:center}
  .nav.is-open a.is-active::after{display:none}

  /* Every page reads centred on a phone */
  .page-hero,
  .sec-head,
  .sec-head > div,
  .subscribe,
  .cat,
  .singer,
  .footer-col,
  .footer-about,
  .song-title-block,
  .vcard-body,
  .sidecard,
  .lyrics,
  .about-strip > div{text-align:center}

  .eyebrow,
  .lead,
  .hero-verse,
  .about-photo,
  .sub-form,
  .form-grid{margin-inline:auto}

  .crumbs,
  .sec-head,
  .filters,
  .chips,
  .tabs,
  .song-meta-row,
  .share-row,
  .socials,
  .store-badges,
  .vcard-meta,
  .credential,
  .hero-cta{justify-content:center}

  .credential{text-align:left}
  .sec-head{flex-direction:column;align-items:center}
  .lyrics .stanza-label{text-align:center}
  .mini-song{text-align:left}
  .footer-col h4{text-align:center}
  .field label{text-align:center}
  .brand--footer{justify-content:center}
  .about-photo{max-width:420px}

  /* Hero reads centred on a phone */
  .hero-inner{text-align:center}
  .hero .eyebrow{margin-inline:auto}
  .hero .lead{margin-inline:auto}
  .hero-cta{justify-content:center}
  .hero-verse{
    border-left:0;border-top:3px solid var(--red-500);
    padding:1.1rem 0 0;margin-inline:auto;text-align:center;
  }
  .hero-stats{justify-content:center;text-align:center}
  .grid--3,.grid--4,.cat-grid{grid-template-columns:repeat(2,1fr)}
  .form-grid{grid-template-columns:1fr}
  .hero-stats{gap:1.6rem}
}
@media(max-width:560px){
  .grid--2,.grid--3,.grid--4,.cat-grid{grid-template-columns:1fr}
  /* avatars are small — keep them 2-up rather than one huge column */
  .grid--singers{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .sub-form{flex-direction:column}
  .search-box{margin-left:0;width:100%}
  .hero-stats{flex-wrap:wrap}
}

/* ==========================================================================
   Urdu Church App page
   ========================================================================== */
.eyebrow svg{width:15px;height:15px;flex:none}

.app-tagline{
  font-family:var(--ff-display);font-style:italic;
  font-size:clamp(1.15rem,2vw,1.5rem);color:var(--red-600);
  margin:0 0 1.1rem;
}
.app-note{font-size:.9rem;color:var(--muted);margin:1rem 0 0}

/* Quiet emphasis block — a red edge rather than a loud box */
.callout{
  border-left:5px solid var(--red-500);
  background:var(--surface-tint);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1.4rem 1.6rem;margin:0 0 1.6rem;
  font-size:1.06rem;line-height:1.75;color:var(--ink-900);
}
.callout--tight{margin:1.4rem 0 1.8rem}

.pullquote{
  font-family:var(--ff-display);font-style:italic;
  font-size:clamp(1.25rem,2.4vw,1.7rem);line-height:1.5;
  color:var(--red-600);text-align:center;
  margin:2rem auto 0;max-width:32ch;
}

/* Ticked feature lists — two columns on a wide screen, one on a phone */
.uw-list{display:grid;grid-template-columns:1fr 1fr;gap:1rem 2.2rem;margin-top:1.8rem}
.uw-list-item{
  display:flex;gap:.8rem;align-items:flex-start;
  font-size:1rem;line-height:1.65;color:var(--ink-700);
}
.uw-list-item svg{width:19px;height:19px;flex:none;margin-top:.3em;color:var(--red-500)}
.uw-list-item strong{color:var(--ink-900);font-weight:700}

.tool-chips{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.6rem}
.tool-chip{
  display:inline-block;padding:.55em 1.1em;border-radius:100px;
  background:var(--surface);border:1px solid var(--line-strong);
  font-size:.9rem;font-weight:500;color:var(--ink-900);
}

.app-founder{
  text-align:center;margin:2.4rem auto 0;max-width:60ch;
  font-size:.92rem;color:var(--muted);
}

@media(max-width:820px){
  .uw-list{grid-template-columns:1fr;gap:1rem}
  .uw-list-item{text-align:left}
  .tool-chips{justify-content:center}
  .callout{border-left:0;border-top:5px solid var(--red-500);border-radius:0 0 var(--radius) var(--radius);text-align:center}
}

/* ==========================================================================
   Page banners with media on the right
   ========================================================================== */
.page-hero--split .wrap{
  display:grid;grid-template-columns:1.1fr .9fr;
  gap:clamp(2rem,4vw,3.6rem);align-items:center;
}
.page-hero-text{min-width:0}
.page-hero-media{min-width:0}
.page-hero-media .vcard{box-shadow:var(--shadow-lg)}

/* App page: icon above the store badges */
.page-hero-media--app{display:flex;flex-direction:column;align-items:center;gap:1.4rem}
.app-icon{
  width:min(300px,70%);height:auto;
  filter:drop-shadow(0 20px 34px rgba(36,36,36,.32));
}
.page-hero-media--app .store-badges{margin-top:0;justify-content:center}

@media(max-width:1024px){
  .page-hero--split .wrap{grid-template-columns:1fr;gap:2.4rem}
  .page-hero-media{max-width:520px}
}
@media(max-width:820px){
  .page-hero-media{margin-inline:auto}
  .app-icon{width:min(240px,60%)}
}

/* ==========================================================================
   Blog — article cards and article body
   ========================================================================== */
.post-card{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-l);
  box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .3s;
}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--red-100)}
.post-card-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--surface-3)}
.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.post-card:hover .post-card-thumb img{transform:scale(1.06)}
.post-card-fallback{
  width:100%;height:100%;display:grid;place-items:center;
  background:linear-gradient(140deg,var(--surface-tint),var(--surface-3));color:var(--red-400);
}
.post-card-fallback svg{width:46px;height:46px}
.post-card-body{padding:1.25rem 1.35rem 1.4rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.post-card-cat{
  align-self:flex-start;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--red-600);
}
.post-card-title{font-family:var(--ff-display);font-size:1.2rem;line-height:1.3;margin:0}
.post-card-title a:hover{color:var(--red-600)}
.post-card-excerpt{margin:0;font-size:.94rem;color:var(--muted);line-height:1.6;flex:1}
.post-card-meta{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:var(--faint)}
.post-card-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--faint)}

.article-meta{display:flex;align-items:center;gap:.6rem;font-size:.86rem;color:var(--faint);margin-top:.4rem}
.article-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--faint)}
.article-figure{margin:0 0 2.2rem;border-radius:var(--radius-l);overflow:hidden;border:1px solid var(--line)}

.article-body{font-size:1.08rem;line-height:1.85;color:var(--ink-700)}
.article-body h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:2.2rem 0 .7rem}
.article-body h3{font-size:1.25rem;margin:1.8rem 0 .5rem}
.article-body p{margin:0 0 1.3em}
.article-body a{color:var(--red-600);text-decoration:underline;text-underline-offset:3px}
.article-body a:hover{color:var(--red-700)}
.article-body ul,.article-body ol{margin:0 0 1.4em;padding-left:1.4em}
.article-body li{margin-bottom:.5em}
.article-body img{border-radius:var(--radius);margin:1.4rem 0}
.article-body blockquote{
  margin:1.8rem 0;padding:1.2rem 1.5rem;border-left:5px solid var(--red-500);
  background:var(--surface-tint);border-radius:0 var(--radius) var(--radius) 0;
  font-family:var(--ff-display);font-style:italic;font-size:1.12rem;color:var(--ink-900);
}
.article-body blockquote p:last-child{margin-bottom:0}

/* Pagination */
.pagination{display:flex;justify-content:center;margin-top:3rem}
.pagination .nav-links{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center}
.pagination .page-numbers{
  min-width:42px;height:42px;padding:0 .8em;border-radius:11px;
  display:grid;place-items:center;border:1px solid var(--line-strong);
  background:var(--surface);color:var(--ink-900);font-size:.92rem;font-weight:600;transition:.25s;
}
.pagination .page-numbers:hover{border-color:var(--red-400);color:var(--red-600)}
.pagination .page-numbers.current{background:var(--red-500);border-color:var(--red-500);color:#fff}
.pagination .dots{border:0;background:none}

@media(max-width:820px){
  .post-card-body{text-align:center;align-items:center}
  .post-card-cat{align-self:center}
  .article-meta{justify-content:center}
  .article-body{text-align:left}
}

/* Tables inside an article — used for the prize list */
.article-body table{
  width:100%;border-collapse:collapse;margin:1.6rem 0;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
}
.article-body table td{
  padding:.85rem 1.1rem;border-bottom:1px solid var(--line);font-size:1rem;
}
.article-body table tr:last-child td{border-bottom:0}
.article-body table tr:nth-child(odd){background:var(--surface-2)}
.article-body table td:last-child{text-align:right;color:var(--red-600);white-space:nowrap}
@media(max-width:560px){ .article-body table td{padding:.7rem .8rem;font-size:.94rem} }

/* ==========================================================================
   Embeds inside an article — song rows and single videos
   ========================================================================== */
.uw-embed{
  margin:2.4rem 0;padding:1.6rem 1.5rem 1.7rem;
  background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-l);
}
.uw-embed-title{
  margin:0 0 1.1rem;font-size:.74rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--red-600);text-align:center;
}
.uw-embed-note{
  margin:1.1rem 0 0;font-size:.88rem;color:var(--muted);text-align:center;font-style:italic;
}
.uw-embed .grid{gap:1.1rem}
.uw-embed .vcard-body{padding:.9rem 1rem 1.05rem}
.uw-embed .vcard-title{font-size:1rem}
.uw-embed .vcard-sub{font-size:.82rem;margin:.05rem 0 .4rem}
.uw-embed .vcard-meta{font-size:.74rem}
.uw-embed .play{width:52px;height:52px}
.uw-embed .play svg{width:19px;height:19px}

/* Single video — YouTube and Facebook are wide, TikTok is tall */
.uw-embed--video{margin-inline:0}
.uw-embed-frame{position:relative;overflow:hidden;border-radius:var(--radius);background:#000}
.uw-embed--wide .uw-embed-frame{aspect-ratio:16/9}
.uw-embed--tall .uw-embed-frame{aspect-ratio:9/16;max-width:340px;margin:0 auto;background:var(--surface)}
.uw-embed-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.uw-embed--video figcaption{
  margin-top:.9rem;font-size:.88rem;color:var(--muted);text-align:center;font-style:italic;
}

@media(max-width:820px){
  .uw-embed{padding:1.3rem 1.1rem 1.4rem;margin-inline:0}
  .uw-embed .grid{grid-template-columns:1fr}
}

/* Article link styling must not leak into embedded cards */
.article-body .uw-embed a{color:inherit;text-decoration:none}
.article-body .uw-embed .vcard-title a{color:var(--ink-900)}
.article-body .uw-embed .vcard:hover .vcard-title a{color:var(--red-600)}

/* Article pages run full width, with about an inch of margin either side */
.article-wrap{
  max-width:none;
  padding-inline:clamp(20px,6.5vw,var(--article-gutter));
}

/* A single embedded song reads better as a horizontal card than a wide block */
.uw-embed--songs .grid--1{max-width:none}
.uw-embed--songs .grid--1 .vcard{display:grid;grid-template-columns:44% 1fr;align-items:stretch}
.uw-embed--songs .grid--1 .vcard-thumb{height:100%}
.uw-embed--songs .grid--1 .vcard-body{
  padding:1.1rem 1.25rem;display:flex;flex-direction:column;justify-content:center;
}
.uw-embed--songs .grid--1 .vcard-title{font-size:1.14rem}
.uw-embed--songs .grid--1 .vcard-sub{font-size:.9rem}
@media(max-width:560px){
  .uw-embed--songs .grid--1 .vcard{grid-template-columns:1fr}
  .uw-embed--songs .grid--1 .vcard-body{text-align:center}
}
