@import url(fonts.css);

:root {
  --bg: #060709; --bg2: #0b0d12; --ink: #f3ead8; --mute: #9ba6b6; --gold: #e5bd72; --gold-hi: #f7dfa6; --gold-lo: #a8823f;
  --line: rgba(229, 189, 114, .22); --glass: rgba(10, 12, 18, .62); --blood: #e0624e; --ok: #9fe3a8; --sky: #9fd8ff;
  --head: "Anek Bangla", "Noto Serif Bengali", system-ui, sans-serif; --serif: "Noto Serif Bengali", Georgia, serif; --ar: "Amiri", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font: 400 clamp(17px, 1.25vw, 21px)/1.75 var(--serif); background: var(--bg); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #120d05; }

/* bilingual: both languages are in the page, one is shown */
html[data-lang="bn"] .en, html[data-lang="en"] .bn { display: none !important; }
html[data-lang="en"] body { font-family: Georgia, "Noto Serif Bengali", serif; }

/* film grain over everything, very faint */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.gold { background: linear-gradient(100deg, var(--gold-lo), var(--gold-hi) 45%, var(--gold) 70%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font: 600 clamp(13px, 1vw, 15px)/1.4 var(--head); color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* ---------------------------------------------------------------- navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .5s, backdrop-filter .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(6, 7, 9, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: rgba(255, 255, 255, .06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; box-shadow: 0 0 22px rgba(229, 189, 114, .35); }
.brand .mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-hi), var(--gold-lo)); }
.brand b { font: 700 20px/1 var(--head); }
.brand small { display: block; font: 600 10px/1 Georgia, serif; letter-spacing: .28em; color: var(--mute); margin-top: 5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; font: 500 15px var(--head); color: var(--mute); }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 40px; padding: 3px; font: 600 13px var(--head); }
.lang button { padding: 6px 13px; border-radius: 40px; color: var(--mute); transition: .3s; }
html[data-lang="bn"] .lang [data-set="bn"], html[data-lang="en"] .lang [data-set="en"] { background: var(--gold); color: #140f06; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .bgv { transform: scale(calc(1.06 + var(--hp, 0) * .12)); filter: saturate(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(6, 7, 9, .25), rgba(6, 7, 9, .8) 75%), linear-gradient(transparent 55%, var(--bg)); }
.hero .in { position: relative; z-index: 2; padding: 0 20px; transform: translateY(calc(var(--hp, 0) * -60px)); opacity: calc(1 - var(--hp, 0) * 1.4); }
.hero h1 { font: 800 clamp(58px, 11.5vw, 178px)/.98 var(--head); margin: 22px 0 26px; text-shadow: 0 10px 80px rgba(0, 0, 0, .6); }
.hero h1 .gold { display: block; filter: drop-shadow(0 0 40px rgba(229, 189, 114, .25)); }
html[data-lang="en"] .hero h1 { font-family: Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.hero p.lead { font: 400 clamp(18px, 1.7vw, 26px)/1.6 var(--serif); color: rgba(243, 234, 216, .86); max-width: 760px; margin: 0 auto; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 60px; font: 600 16px/1 var(--head); transition: transform .4s var(--ease), box-shadow .4s, background .4s; }
.btn.primary { background: linear-gradient(120deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); color: #140f06; box-shadow: 0 10px 40px rgba(229, 189, 114, .25); }
.btn.ghost { border: 1px solid rgba(243, 234, 216, .28); backdrop-filter: blur(8px); background: rgba(255, 255, 255, .03); }
.btn:hover { transform: translateY(-2px); }
.btn.primary:hover { box-shadow: 0 16px 60px rgba(229, 189, 114, .4); }
.btn svg { width: 16px; height: 16px; }
.scrollcue { position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%); width: 1px; height: 64px; background: rgba(243, 234, 216, .2); overflow: hidden; }
.scrollcue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------------------------------------------------------------- statement: words light up as you scroll */
.statement { padding: 22vh 0; }
.statement p { font: 600 clamp(28px, 4.2vw, 64px)/1.35 var(--head); max-width: 1100px; }
.statement .w { opacity: .14; transition: opacity .25s; }
.statement .w.on { opacity: 1; }
.statement .w.g.on { color: var(--gold); }

/* ---------------------------------------------------------------- chapters: a pinned film frame, the answer builds up as you scroll */
.chapter { position: relative; height: 260vh; }
.chapter .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.chapter .bgv { transform: scale(calc(1.12 - var(--p, 0) * .1)); opacity: .9; }
.chapter .stage::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6, 7, 9, .94) 0%, rgba(6, 7, 9, .78) 42%, rgba(6, 7, 9, .25) 100%), linear-gradient(var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.chapter .in { position: relative; z-index: 2; width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.chapter .col { max-width: 720px; }
.chapter .num { font: 800 clamp(70px, 9vw, 140px)/.8 var(--head); color: transparent; -webkit-text-stroke: 1px rgba(229, 189, 114, .5); }
.chapter h2 { font: 800 clamp(36px, 5vw, 76px)/1.12 var(--head); margin: 14px 0 22px; }
html[data-lang="en"] .chapter h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
.chapter .ans { font: 400 clamp(18px, 1.45vw, 23px)/1.8 var(--serif); color: rgba(243, 234, 216, .9); }
.chapter .ans b { color: var(--gold-hi); font-weight: 600; }
.step { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.step.in-view { opacity: 1; transform: none; filter: none; }
.proof { margin-top: 30px; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 0 10px 10px 0; }
.proof .ar { font: 700 clamp(24px, 2.3vw, 36px)/1.9 var(--ar); direction: rtl; text-align: right; color: #fbf2dc; }
.proof .tr { font: 400 17px/1.7 var(--serif); color: var(--ink); margin-top: 6px; }
.proof .ref { font: 600 14px var(--head); color: var(--gold); margin-top: 8px; }
.chapter .cta { justify-content: flex-start; margin-top: 30px; }
@media (max-width: 760px) {
  .chapter { height: 300vh; }
  .chapter .stage::before { background: linear-gradient(rgba(6, 7, 9, .55), rgba(6, 7, 9, .9) 40%, rgba(6, 7, 9, .96)); }
  .chapter .stage { align-items: flex-end; padding-bottom: 7vh; }
}

/* eclipses (chapter 3) */
.eclipse { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.ecl { display: flex; align-items: center; gap: 16px; }
.ecl .orb { width: 64px; height: 64px; border-radius: 50%; position: relative; overflow: hidden; flex: none; }
.ecl .moon { background: radial-gradient(circle at 40% 40%, #f3ead8, #8c8578); box-shadow: 0 0 30px rgba(243, 234, 216, .3); }
.ecl .moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 70% 50%, rgba(120, 30, 10, .85), rgba(60, 10, 0, .4) 60%, transparent 75%);
  transform: translateX(calc((1 - var(--p, 0) * 1.6) * 60%)); }
.ecl .sun { background: radial-gradient(circle, #fff6d8, #f2b84b 60%, #c97a1c); box-shadow: 0 0 40px rgba(242, 184, 75, .6); }
.ecl .sun::after { content: ""; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: #07080b; transform: translateX(calc((1 - var(--p, 0) * 1.6) * 75%)); }
.ecl b { display: block; font: 700 18px/1.3 var(--head); }
.ecl small { font: 500 14px var(--head); color: var(--mute); }

/* allegation topics (chapter 4) */
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.topic { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 12, 18, .55); backdrop-filter: blur(8px); font: 600 16px/1.45 var(--head); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: .4s; }
.topic small { font: 600 12px var(--head); color: var(--mute); white-space: nowrap; }
.topic.has { cursor: pointer; }
.topic.has small { color: var(--gold); }
.topic.has:hover { border-color: var(--gold); transform: translateX(4px); }
@media (max-width: 760px) { .topics { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- section heads */
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.shead h2 { font: 800 clamp(38px, 5vw, 80px)/1.05 var(--head); margin-top: 16px; }
html[data-lang="en"] .shead h2 { font-family: Georgia, serif; font-weight: 400; }
.shead p { max-width: 460px; color: var(--mute); }

/* ---------------------------------------------------------------- the series */
.series { padding: 18vh 0 10vh; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(229, 189, 114, .08), transparent 70%); }
.eps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ep { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer; isolation: isolate; border: 1px solid rgba(255, 255, 255, .06); }
.ep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.9) brightness(.8); }
.ep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(6, 7, 9, .95)); z-index: 1; }
.ep .meta { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; }
.ep .meta small { font: 600 13px var(--head); color: var(--gold); }
.ep .meta b { display: block; font: 800 30px/1.2 var(--head); margin: 6px 0 8px; }
.ep .meta span { font: 400 15px/1.6 var(--serif); color: rgba(243, 234, 216, .75); }
.ep .play { position: absolute; z-index: 2; top: 22px; right: 22px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 7, 9, .5); border: 1px solid rgba(243, 234, 216, .35); backdrop-filter: blur(6px); transition: .5s var(--ease); }
.ep:hover img { transform: scale(1.07); filter: saturate(1.1) brightness(.95); }
.ep:hover .play { background: var(--gold); color: #140f06; border-color: var(--gold); transform: scale(1.08); }
.ep:hover { border-color: rgba(229, 189, 114, .45); }
@media (max-width: 900px) { .eps { grid-template-columns: 1fr; } .ep { aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------------------- film library */
.library { padding: 10vh 0 16vh; }
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.film { cursor: pointer; }
.film .pic { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 255, 255, .06); }
.film .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.film .pic::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(229, 189, 114, 0); transition: .5s; border-radius: 12px; }
.film:hover .pic img { transform: scale(1.05); }
.film:hover .pic::after { box-shadow: inset 0 0 0 1px rgba(229, 189, 114, .6); }
.film .dur { position: absolute; right: 10px; bottom: 10px; font: 600 12px var(--head); padding: 4px 9px; border-radius: 20px; background: rgba(6, 7, 9, .75); }
.film b { display: block; font: 700 19px/1.4 var(--head); margin-top: 14px; }
.film span { font: 500 14px var(--head); color: var(--mute); }
@media (max-width: 900px) { .films { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .films { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- verdict */
.verdict { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.verdict .bgv { opacity: .55; }
.verdict::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6, 7, 9, .35), var(--bg) 80%); }
.verdict .in { position: relative; z-index: 2; padding: 0 20px; }
.verdict .lines p { font: 600 clamp(26px, 3.4vw, 48px)/1.5 var(--head); color: rgba(243, 234, 216, .8); }
.verdict h2 { font: 800 clamp(56px, 9vw, 140px)/1.05 var(--head); margin-top: 20px; }
html[data-lang="en"] .verdict h2 { font-family: Georgia, serif; font-weight: 400; font-style: italic; }

/* ---------------------------------------------------------------- footer */
footer { border-top: 1px solid rgba(255, 255, 255, .06); padding: 60px 0 50px; color: var(--mute); font: 400 15px/1.8 var(--serif); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { font: 700 15px var(--head); color: var(--ink); margin-bottom: 10px; }
footer a:hover { color: var(--gold); }
footer .fine { grid-column: 1 / -1; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .05); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- player */
.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(3, 4, 6, .92); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity .5s; }
.player.open { opacity: 1; pointer-events: auto; }
.player video { width: min(1200px, 94vw); max-height: 80vh; border-radius: 12px; background: #000; box-shadow: 0 30px 120px rgba(0, 0, 0, .8); }
.player .x { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); font-size: 22px; }
.player .t { margin-top: 18px; font: 700 20px var(--head); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 110; transform: translate(-50%, 30px); opacity: 0; transition: .5s var(--ease); padding: 14px 24px; border-radius: 40px; background: #15171d; border: 1px solid var(--line); font: 600 15px var(--head); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } body::after { animation: none; }
  .step { transition: none; opacity: 1; transform: none; filter: none; }
  .statement .w { opacity: 1; }
}

/* ---------------------------------------------------------------- topic index */
.topics-index { padding: 18vh 0 8vh; }
.search { width: 100%; padding: 18px 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink); font: 500 18px var(--head); outline: none; transition: border-color .3s, background .3s; }
.search:focus { border-color: var(--gold); background: rgba(229, 189, 114, .05); }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 26px; }
.tab { padding: 11px 18px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .1); font: 600 15px var(--head); color: var(--mute); transition: .3s; }
.tab i { font-style: normal; margin-left: 8px; padding: 1px 8px; border-radius: 20px; background: rgba(255, 255, 255, .06); font-size: 12px; }
.tab.on { color: #140f06; background: var(--gold); border-color: var(--gold); }
.tab.on i { background: rgba(0, 0, 0, .15); }
.tlist { list-style: none; display: none; columns: 2; column-gap: 40px; }
.tlist.on, .tlist.all { display: block; }
.tlist li { break-inside: avoid; display: flex; gap: 14px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); cursor: pointer; font: 500 17px/1.55 var(--head); transition: color .3s, padding .4s var(--ease); }
.tlist li:hover { color: var(--gold-hi); padding-left: 10px; }
.tlist .n { font: 600 13px var(--head); color: var(--gold); min-width: 26px; }
.tlist em { font: 600 11px var(--head); font-style: normal; color: var(--mute); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 1px 8px; margin-left: auto; white-space: nowrap; }
.tlist li.hide { display: none; }
@media (max-width: 760px) { .tlist { columns: 1; } }

/* chapter layout: answer on the left, evidence on the right; falls back to normal flow when it does not fit */
.chapter .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.chapter .col { max-width: 640px; }
.chapter .side .proof:first-child, .chapter .side > .step:first-child { margin-top: 0; }
.chapter .stage::before { background: linear-gradient(90deg, rgba(6, 7, 9, .92) 0%, rgba(6, 7, 9, .7) 45%, rgba(6, 7, 9, .55) 100%), linear-gradient(var(--bg), transparent 16%, transparent 84%, var(--bg)); }
.chapter.flow { height: auto; }
.chapter.flow .stage { position: relative; height: auto; min-height: 100svh; padding: 130px 0 90px; align-items: center; }
.chapter.flow .bgv { position: absolute; }
@media (max-width: 1100px) {
  .chapter .in { grid-template-columns: 1fr; gap: 10px; }
  .chapter .stage::before { background: linear-gradient(rgba(6, 7, 9, .6), rgba(6, 7, 9, .86) 35%, rgba(6, 7, 9, .94)); }
}
@media (max-width: 760px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
  .proof { padding: 18px 18px; }
  .chapter .num { font-size: 64px; }
}

/* ---------------------------------------------------------------- article pages */
.art-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; padding: 140px 0 70px; }
.art-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(6, 7, 9, .45), rgba(6, 7, 9, .7) 50%, var(--bg)); }
.art-hero .in { position: relative; z-index: 2; width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.crumb { font: 600 14px var(--head); color: var(--mute); }
.crumb a { color: var(--gold); }
.art-hero h1 { font: 800 clamp(38px, 5.4vw, 72px)/1.15 var(--head); margin: 18px 0 18px; }
.art-hero .dek { font: 400 clamp(19px, 1.6vw, 23px)/1.7 var(--serif); color: rgba(243, 234, 216, .86); }
.art-hero .meta { margin-top: 22px; font: 500 14px var(--head); color: var(--mute); display: flex; gap: 18px; flex-wrap: wrap; }
.article { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 60px; font: 400 clamp(18px, 1.3vw, 21px)/1.95 var(--serif); }
.article p { margin: 0 0 1.25em; }
.article h2 { font: 800 clamp(26px, 2.6vw, 36px)/1.3 var(--head); margin: 2.2em 0 .7em; }
.article strong { color: var(--gold-hi); font-weight: 600; }
.article .quran, .article .hadith { margin: 2em 0; padding: 28px 30px; border-radius: 0 12px 12px 0; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(229, 189, 114, .08), rgba(229, 189, 114, .02)); }
.article .hadith { border-left-color: var(--sky); background: linear-gradient(90deg, rgba(159, 216, 255, .07), rgba(159, 216, 255, .015)); }
.article .ar { font: 400 clamp(24px, 2.2vw, 32px)/2 var(--ar); direction: rtl; text-align: right; color: #fbf2dc; margin-bottom: 14px; }
.article .tr { font-size: .96em; }
.article .ref { font: 600 14px/1.6 var(--head); color: var(--gold); margin-top: 10px; }
.article .hadith .ref { color: var(--sky); }
.article .note { font: 500 15px/1.7 var(--head); color: var(--mute); margin-top: 6px; }
.article .pause { text-align: center; color: var(--gold); margin: 2.4em 0; font-size: 22px; }
.article .summary { margin: 3em 0 2em; padding: 30px 32px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.article .summary h3 { font: 800 22px var(--head); color: var(--gold); margin-bottom: 10px; }
.article .summary ol { padding-left: 1.3em; }
.article .summary li { margin: .45em 0; }
.article .sources { margin-top: 3em; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font: 400 15px/1.8 var(--serif); color: var(--mute); }
.article .sources h3 { font: 700 17px var(--head); color: var(--ink); margin-bottom: 8px; }
.article .sources a { color: var(--gold); }
.article .watch { margin: 2.5em 0; display: flex; gap: 20px; align-items: center; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); cursor: pointer; transition: .4s; }
.article .watch:hover { border-color: var(--gold); }
.article .watch img { width: 180px; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.article .watch b { display: block; font: 700 18px/1.4 var(--head); }
.article .watch small { font: 600 13px var(--head); color: var(--gold); }
.progress { position: fixed; left: 0; top: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); width: calc(var(--read, 0) * 100%); }
.tlist li a { display: contents; }
.tlist li.ready .tt { color: var(--ink); }
.tlist li.ready em.rd { color: #140f06; background: var(--gold); border-color: var(--gold); }
@media (max-width: 560px) { .article .watch { flex-direction: column; align-items: stretch; } .article .watch img { width: 100%; } .article .quran, .article .hadith { padding: 22px 20px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card { padding: 28px 30px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.contact-card h3 { font: 800 22px var(--head); color: var(--gold); margin-bottom: 14px; }
.contact-card .ci { display: flex; gap: 12px; margin: .4em 0; font: 500 16px/1.6 var(--head); }
.contact-card .ci span { width: 20px; color: var(--gold); flex: none; }
.contact-card a:hover { color: var(--gold); }
.article.contact .note { margin-top: 22px; color: var(--mute); font: 500 14px var(--head); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.article .sources ul.refs { padding-left: 1.2em; margin: .3em 0 1em; }
.article .sources ul.refs li { margin: .2em 0; }
.article h3 { font: 700 clamp(20px, 1.8vw, 24px)/1.45 var(--head); color: var(--gold-hi); margin: 1.8em 0 .5em; }
.article .summary h3 { margin-top: 0; }

/* ---------------- discussion */
.discuss, .related { max-width: 760px; margin: 0 auto; padding: 0 22px 70px; }
.discuss { border-top: 1px solid var(--line); padding-top: 50px; }
.d-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.d-head h2, .related h2 { font: 800 clamp(28px, 3vw, 40px)/1.2 var(--head); margin: 0; }
.c-count { font: 500 15px var(--head); color: var(--mute); }
.d-intro { color: var(--mute); font: 400 16px/1.7 var(--head); margin: 10px 0 28px; }
.c-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 12, 18, .55); margin-bottom: 14px; scroll-margin-top: 120px; }
.c-item.new { animation: cnew 2.4s var(--ease); }
@keyframes cnew { from { box-shadow: 0 0 0 2px var(--gold); } to { box-shadow: 0 0 0 0 transparent; } }
.c-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.c-head b { font: 700 16px var(--head); color: var(--gold-hi); }
.c-time { font: 400 13px var(--head); color: var(--mute); }
.c-body { white-space: pre-wrap; overflow-wrap: anywhere; font: 400 17px/1.75 var(--serif); margin-top: 8px; }
.c-reply { background: none; border: 0; color: var(--gold); font: 600 14px var(--head); padding: 8px 0 0; cursor: pointer; }
.c-replies { margin: 12px 0 0 18px; border-left: 1px solid var(--line); padding-left: 16px; }
.c-replies .c-item { background: transparent; border: 0; padding: 10px 0; margin: 0; }
.c-empty { color: var(--mute); font: 400 16px var(--head); }
.c-form { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(229, 189, 114, .06), rgba(10, 12, 18, .7)); }
.c-form label { display: block; margin-bottom: 16px; }
.c-form label span { display: block; font: 600 14px var(--head); color: var(--mute); margin-bottom: 6px; }
.c-form input, .c-form textarea { width: 100%; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: 400 17px/1.6 var(--serif); padding: 12px 14px; }
.c-form input:focus, .c-form textarea:focus { outline: none; border-color: var(--gold); }
.c-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-to { font: 500 14px var(--head); color: var(--mute); margin-bottom: 12px; }
.c-to b { color: var(--gold-hi); }
.c-to button { background: none; border: 0; color: var(--mute); cursor: pointer; }
.c-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.c-row button:disabled { opacity: .6; }
.c-note { font: 500 15px/1.5 var(--head); color: var(--gold-hi); }
.c-fine { font: 400 13px var(--head); color: var(--mute); margin: 14px 0 0; }
.c-ts:not(:empty) { margin-bottom: 14px; }

/* ---------------- read next */
.related h2 { margin-bottom: 20px; }
.rel-grid { display: grid; gap: 14px; }
.rel { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 12, 18, .55); transition: border-color .3s, transform .3s; }
.rel:hover { border-color: var(--gold); transform: translateY(-2px); }
.rel small { font: 600 13px var(--head); color: var(--gold); }
.rel b { display: block; font: 700 19px/1.4 var(--head); margin: 4px 0; }
.rel span { font: 400 15px/1.6 var(--head); color: var(--mute); }
.discuss { scroll-margin-top: 90px; }
