/* ==========================================================================
   Inayat Malik — public site styles
   Tokens mirror the Claude Design file (light / dark / RTL Urdu).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

.im {
  --bg:#FAF7F0; --surface:#FFFFFF; --ink:#1B2F45; --muted:#5B6874; --gold:#B08646; --goldText:#8A6427; --tint:#F4EBDA;
  --line:#E6DECF; --hero:#F3EAD8; --dot:#E3D9C6;
  --shadow:0 1px 2px rgba(27,47,69,.05),0 10px 28px -14px rgba(27,47,69,.22);
  --shadowUp:0 2px 4px rgba(27,47,69,.06),0 22px 40px -18px rgba(27,47,69,.32);
  --ok:#2E6B4C; --okbg:#E2EFE6; --bad:#9C3B2E; --badbg:#F6E2DD; --btn:#1B2F45; --btnFg:#FAF7F0;
  --navy:#12233A; --navy2:#0F1D2E; --cream:#F1ECE2; --sand:#D4A660;
  --fd:'Cormorant Garamond',Georgia,serif; --ft:'Inter',system-ui,sans-serif; --falt:'Noto Nastaliq Urdu',serif;
  --fur:'Noto Nastaliq Urdu',serif; --fcg:'Cormorant Garamond',Georgia,serif; --fin:'Inter',system-ui,sans-serif;
  --lh:1.65; --lhh:1.15; --lhb:1.1; --lsb:.08em; --lsalt:0; --tt:uppercase;
  --wrap:1280px;
}
.im[data-theme=dark] {
  --bg:#0D1722; --surface:#142130; --ink:#F1ECE2; --muted:#A6AFB9; --gold:#D4A660; --goldText:#DDB373; --tint:#2A2518;
  --line:#243447; --hero:#132232; --dot:#1E2F42;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 10px 28px -14px rgba(0,0,0,.6);
  --shadowUp:0 2px 4px rgba(0,0,0,.3),0 22px 40px -18px rgba(0,0,0,.75);
  --ok:#7CC49C; --okbg:#17322A; --bad:#E79A8C; --badbg:#3A1E1B; --btn:#D4A660; --btnFg:#0D1722;
}
.im[lang=ur] { --fd:'Noto Nastaliq Urdu',serif; --ft:'Noto Nastaliq Urdu',serif; --falt:'Inter',sans-serif; --lh:2.15; --lhh:1.9; --lhb:1.75; --lsb:0; --lsalt:.3em; --tt:none; }
/* Admin-selected accent colours */
.im.has-accent { --gold:var(--accent-g); --goldText:var(--accent-t); --tint:var(--accent-n); }
.im.has-accent[data-theme=dark] { --gold:var(--accent-gd); --goldText:var(--accent-td); --tint:var(--accent-nd); }

html.im { scroll-behavior: smooth; }
body {
  margin:0; min-height:100vh; background:var(--bg); color:var(--ink); font-family:var(--ft); line-height:var(--lh);
  font-size:15.5px; transition:background .3s,color .3s; -webkit-font-smoothing:antialiased;
}
.im a { color:var(--goldText); text-decoration:none; }
.im a:hover { color:var(--ink); }
:where(.im) input, :where(.im) select, :where(.im) textarea, :where(.im) button { font:inherit; color:inherit; }
.im ::placeholder { color:var(--muted); opacity:.8; }
.im :focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
img { max-width:100%; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.skip-link { position:absolute; inset-inline-start:12px; top:-60px; z-index:100; background:var(--btn); color:var(--btnFg)!important; padding:8px 16px; border-radius:999px; }
.skip-link:focus { top:12px; }

/* Emblem swaps with theme */
.im[data-theme=dark] .em-l { display:none !important; }
.im:not([data-theme=dark]) .em-d { display:none !important; }

.wrap { max-width:var(--wrap); margin:0 auto; padding-inline:24px; }
.ur { font-family:var(--fur); direction:rtl; }
.cg { font-family:var(--fcg); }
.ltr { direction:ltr; }
.num { font-family:var(--fin); font-variant-numeric:tabular-nums; }
.flip { display:inline-block; }
.im[dir=rtl] .flip { transform:scaleX(-1); }
.muted { color:var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:999px; cursor:pointer;
  background:var(--btn); color:var(--btnFg)!important; padding:13px 28px; font-size:15px; font-weight:500; line-height:var(--lhh);
  transition:transform .2s, background .2s, box-shadow .2s; text-decoration:none;
}
.btn:hover { transform:translateY(-2px); color:var(--btnFg)!important; }
.btn-sm { padding:8px 18px; font-size:13px; }
.btn-md { padding:11px 24px; font-size:14px; }
.btn-shadow { box-shadow:var(--shadow); }
.btn-ghost { background:transparent; color:var(--ink)!important; border:1px solid var(--gold); }
.btn-ghost:hover { background:var(--tint); transform:none; color:var(--ink)!important; }
.btn-line { background:transparent; color:var(--ink)!important; border:1px solid var(--line); }
.btn-line:hover { border-color:var(--gold); transform:none; color:var(--ink)!important; }
.btn-surface { background:var(--surface); color:var(--ink)!important; border:1px solid var(--line); }
.btn-surface:hover { border-color:var(--gold); transform:none; }
.btn-ok { background:var(--ok); color:#fff!important; }
.btn-bad { background:transparent; color:var(--bad)!important; border:1px solid var(--bad); }
.btn-bad:hover { background:var(--badbg); transform:none; }
.btn-block { width:100%; }
.link-btn { background:none; border:0; cursor:pointer; color:var(--goldText); font-size:14px; display:inline-flex; gap:6px; align-items:center; line-height:var(--lhh); padding:0; }
.link-btn:hover { color:var(--ink); }
.pill { display:inline-block; border-radius:999px; padding:4px 12px; font-size:12px; line-height:var(--lhh); }
.pill-tint { background:var(--tint); color:var(--goldText); }
.pill-line { border:1px solid var(--line); color:var(--muted); }
.pill-ok { background:var(--okbg); color:var(--ok); }
.pill-bad { background:var(--badbg); color:var(--bad); }

.chip {
  border:1px solid var(--line); background:transparent; color:var(--ink); border-radius:999px; padding:5px 14px;
  cursor:pointer; font-size:13px; line-height:var(--lhh); transition:all .2s; text-decoration:none; display:inline-flex; gap:8px; align-items:center; white-space:nowrap;
}
.chip:hover { border-color:var(--gold); color:var(--ink); }
.chip.on, .chip[aria-pressed=true] { background:var(--btn); color:var(--btnFg); border-color:var(--btn); }
.chip .cnt { font-family:var(--fin); font-size:11px; opacity:.8; }

.seg { display:flex; border:1px solid var(--line); border-radius:999px; padding:3px; background:var(--bg); }
.seg > * { border:0; border-radius:999px; padding:5px 14px; cursor:pointer; font-size:13px; background:transparent; color:var(--muted); line-height:var(--lhh); flex:1; text-align:center; }
.im .seg > a { color:var(--muted); }
.im .seg > a.on { color:var(--ink); }
.seg > .on { background:var(--surface); color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,.06); }

.divider { display:flex; align-items:center; gap:10px; width:200px; }
.divider span:not(.d) { flex:1; height:1px; background:var(--gold); }
.divider .d { width:7px; height:7px; background:var(--gold); transform:rotate(45deg); }
.divider.sm { width:160px; }

/* ---------------------------------------------------------------- topbar & header */
.topbar { background:var(--navy); color:#E9E2D3; font-size:12.5px; }
.topbar .wrap { padding-block:6px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.topbar .contact { display:flex; gap:14px; align-items:center; font-family:var(--fin); direction:ltr; opacity:.85; line-height:1.6; }
.topbar .contact a { color:#E9E2D3; }
.topbar .contact a:hover { color:var(--sand); }
.topbar .tools { display:flex; gap:10px; align-items:center; line-height:1.6; }
.lang-sw { display:flex; border:1px solid rgba(233,226,211,.28); border-radius:999px; padding:2px; direction:ltr; }
.lang-sw a { border-radius:999px; padding:1px 12px; font-size:12px; line-height:1.9; color:#E9E2D3; }
.lang-sw a.ur-l { font-family:var(--fur); }
.lang-sw a.en-l { font-family:var(--fin); }
.lang-sw a.on { background:var(--sand); color:var(--navy); }
.theme-btn { width:28px; height:28px; border-radius:999px; border:1px solid rgba(233,226,211,.28); background:transparent; color:#E9E2D3; cursor:pointer; display:grid; place-items:center; padding:0; }
.theme-btn .i-sun { display:none; }
.im[data-theme=dark] .theme-btn .i-sun { display:block; }
.im[data-theme=dark] .theme-btn .i-moon { display:none; }

.site-header {
  position:sticky; top:0; z-index:40; background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line); transition:box-shadow .3s;
}
.site-header.scrolled { box-shadow:var(--shadow); }
.site-header .bar { padding-block:10px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:flex; align-items:center; gap:12px; flex-shrink:0; color:var(--ink)!important; }
.brand img { height:46px; width:auto; display:block; }
.brand .names { display:flex; flex-direction:column; gap:2px; }
.brand .n1 { font-family:var(--fd); font-size:23px; font-weight:600; line-height:var(--lhb); letter-spacing:var(--lsb); color:var(--ink); }
.brand .n2 { font-family:var(--falt); font-size:10.5px; letter-spacing:var(--lsalt); color:var(--goldText); line-height:1.6; }
.main-nav { display:flex; align-items:center; gap:2px; flex-wrap:wrap; justify-content:center; }
.main-nav a { position:relative; padding:6px 11px; font-size:14px; color:var(--ink); line-height:var(--lhh); transition:color .2s; }
.main-nav a::after { content:''; position:absolute; inset-inline:11px; bottom:0; height:1.5px; background:var(--gold); transform:scaleX(0); transition:transform .3s; }
.main-nav a:hover { color:var(--goldText); }
.main-nav a.on { color:var(--goldText); }
.main-nav a.on::after { transform:scaleX(1); }
.head-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.head-actions .pillbtn { border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:6px 14px; font-size:13px; line-height:var(--lhh); color:var(--ink); cursor:pointer; }
.head-actions .pillbtn:hover { border-color:var(--gold); }
.head-actions .plain { border:0; background:none; font-size:13px; color:var(--muted); padding:6px 8px; line-height:var(--lhh); cursor:pointer; }
.head-actions .login { padding:8px 20px; font-size:13.5px; }
.menu-btn { display:none; width:42px; height:42px; border-radius:999px; border:1px solid var(--line); background:var(--surface); cursor:pointer; place-items:center; color:var(--ink); padding:0; }
.search-btn { width:38px; height:38px; border-radius:999px; border:1px solid var(--line); background:var(--surface); cursor:pointer; display:grid; place-items:center; color:var(--ink); padding:0; }
.search-btn:hover { border-color:var(--gold); color:var(--ink); }
.mobile-menu { display:none; border-top:1px solid var(--line); background:var(--surface); padding:12px 24px 20px; flex-direction:column; gap:2px; }
.mobile-menu a.item { text-align:start; border-bottom:1px solid var(--line); padding:12px 4px; font-size:16px; color:var(--ink); line-height:var(--lhh); }
.mobile-menu a.item.on { color:var(--goldText); }
.mobile-menu .acts { display:flex; gap:8px; margin-top:14px; flex-wrap:wrap; }
.mobile-menu .acts > * { flex:1; }
.site-header.open .mobile-menu { display:flex; }

@media (max-width:1179px) {
  .main-nav, .head-actions .desk { display:none; }
  .menu-btn { display:grid; }
}

/* ---------------------------------------------------------------- inner page hero */
.page-hero { position:relative; overflow:hidden; background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0/22px 22px, linear-gradient(var(--hero), var(--bg)); border-bottom:1px solid var(--line); }
.page-hero .bg-em { position:absolute; inset-inline-end:-60px; top:50%; transform:translateY(-50%); width:420px; opacity:.05; pointer-events:none; }
.page-hero .inner { position:relative; padding-block:44px 40px; }
.crumbs { display:flex; gap:8px; align-items:center; font-size:12.5px; color:var(--muted); line-height:var(--lhh); flex-wrap:wrap; }
.crumbs .sep { opacity:.6; }
.page-hero h1 { margin:14px 0 6px; font-family:var(--fd); font-weight:600; font-size:clamp(34px,5vw,52px); line-height:var(--lhh); }
.page-hero p { margin:0; max-width:640px; color:var(--muted); font-size:16px; }
.page-hero .divider { margin-top:22px; }

/* ---------------------------------------------------------------- section headings */
.eyebrow { font-size:12px; letter-spacing:var(--lsalt); color:var(--goldText); text-transform:var(--tt); font-family:var(--ft); line-height:var(--lhh); }
.h2 { margin:8px 0 0; font-family:var(--fd); font-weight:600; font-size:clamp(30px,4vw,42px); line-height:var(--lhh); }
.sec-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:28px; flex-wrap:wrap; }
.sec-head.center { justify-content:center; text-align:center; flex-direction:column; align-items:center; margin-bottom:32px; }
.grid { display:grid; gap:22px; }

/* ---------------------------------------------------------------- home hero */
.hero { position:relative; overflow:hidden; background:radial-gradient(ellipse 70% 60% at 50% 0%, var(--hero), transparent 70%), radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0/24px 24px; border-bottom:1px solid var(--line); }
.hero .bg-em { position:absolute; left:50%; top:48%; transform:translate(-50%,-50%); width:min(900px,120%); opacity:.045; pointer-events:none; }
.hero .inner { position:relative; max-width:960px; margin:0 auto; padding:72px 24px 80px; text-align:center; display:flex; flex-direction:column; align-items:center; }
.bismillah { display:flex; align-items:center; gap:14px; color:var(--goldText); }
.bismillah .ln { width:56px; height:1px; background:var(--gold); }
.bismillah .tx { font-family:var(--fur); font-size:17px; line-height:2; }
.hero h1 { margin:18px 0 0; font-family:var(--fur); font-weight:700; font-size:clamp(64px,11vw,128px); line-height:1.75; color:var(--ink); direction:rtl; white-space:nowrap; }
.hero .sub { margin:0; font-family:var(--fcg); font-style:italic; font-size:clamp(22px,3vw,32px); color:var(--goldText); line-height:1.3; direction:ltr; }
.hero .divider { margin:26px 0; }
.hero .desc { margin:0; max-width:600px; font-size:17px; color:var(--muted); }
.hero .ctas { display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; justify-content:center; }
.hero-search { margin-top:40px; width:100%; max-width:560px; display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:6px; padding-inline-start:20px; box-shadow:var(--shadow); }
.hero-search svg { color:var(--muted); flex-shrink:0; }
.hero-search input { flex:1; min-width:0; border:0; background:transparent; outline:none; font-size:15px; padding:6px 0; line-height:var(--lhh); }
.hero-search button { border:0; background:var(--tint); color:var(--goldText); border-radius:999px; padding:9px 20px; cursor:pointer; font-size:14px; font-weight:500; line-height:var(--lhh); }

.stats-strip { background:var(--surface); border-bottom:1px solid var(--line); }
.stats-strip .wrap { padding-block:26px; display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; }
.stat { text-align:center; padding:6px 8px; border-inline-start:1px solid var(--line); }
.stat .v { font-family:var(--fcg); font-size:40px; font-weight:600; line-height:1.1; color:var(--goldText); }
.stat .l { font-size:13px; color:var(--muted); line-height:var(--lhb); }

/* ---------------------------------------------------------------- cards */
.card { background:var(--surface); border:1px solid var(--line); border-radius:12px; }
.card-hover { transition:transform .25s, box-shadow .25s, border-color .25s; }
.card-hover:hover { transform:translateY(-4px); box-shadow:var(--shadowUp); border-color:var(--gold); }
.art-card { padding:26px; display:flex; flex-direction:column; gap:12px; box-shadow:var(--shadow); color:var(--ink)!important; }
.art-card .tags { display:flex; gap:8px; flex-wrap:wrap; line-height:var(--lhh); }
.art-card h3 { margin:4px 0 0; font-family:var(--fd); font-weight:600; font-size:24px; line-height:var(--lhb); }
.art-card h3 a { color:var(--ink); }
.art-card h3 a:hover { color:var(--goldText); }
.art-card .desc { margin:0; color:var(--muted); font-size:14.5px; flex:1; }
.art-card .foot { display:flex; justify-content:space-between; gap:10px; border-top:1px solid var(--line); padding-top:14px; font-size:13px; color:var(--muted); line-height:var(--lhh); }
.art-card .foot .who { color:var(--ink); }
.art-card .meta { display:flex; gap:14px; flex-wrap:wrap; font-size:13px; color:var(--muted); line-height:var(--lhh); }
.art-card .meta .who { color:var(--ink); }
.art-card .acts { display:flex; gap:8px; border-top:1px solid var(--line); padding-top:14px; margin-top:4px; align-items:center; flex-wrap:wrap; }
.art-card.list { padding:24px; gap:10px; box-shadow:none; }
.art-card.list h3 { font-size:23px; margin-top:2px; }
.art-card.list:hover { transform:translateY(-3px); }
.bm-btn { margin-inline-start:auto; width:34px; height:34px; border-radius:999px; border:1px solid var(--line); background:transparent; display:grid; place-items:center; cursor:pointer; color:var(--muted); padding:0; }
.bm-btn:hover { border-color:var(--gold); color:var(--goldText); }
.bm-btn.on { color:var(--goldText); border-color:var(--gold); background:var(--tint); }
.bm-btn.on svg { fill:currentColor; }

/* daily */
.daily-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:20px; }
.dark-card { position:relative; overflow:hidden; background:var(--navy); color:var(--cream); border-radius:14px; padding:28px; display:flex; flex-direction:column; gap:10px; }
.dark-card .bg-em { position:absolute; inset-inline-end:-40px; bottom:-30px; width:220px; opacity:.06; pointer-events:none; }
.dark-card .eb { font-size:12px; color:var(--sand); letter-spacing:var(--lsalt); text-transform:var(--tt); line-height:var(--lhh); }
.couplet { margin:6px 0 0; font-family:var(--fur); font-size:23px; line-height:2.25; direction:rtl; text-align:center; }
.couplet-tr { margin:0; font-family:var(--fcg); font-style:italic; font-size:17px; color:#C9C2B3; direction:ltr; text-align:center; line-height:1.4; }
.dark-card .poet { margin-top:auto; padding-top:12px; border-top:1px solid rgba(241,236,226,.12); font-size:13px; color:var(--sand); text-align:center; line-height:var(--lhb); }
.word-card { padding:28px; display:flex; flex-direction:column; gap:12px; border-radius:14px; }
.word-card .top { display:flex; align-items:baseline; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding-bottom:10px; }
.word-card .w { font-family:var(--fur); font-size:52px; font-weight:700; line-height:1.8; color:var(--ink); }
.word-card .tl { font-family:var(--fcg); font-style:italic; font-size:22px; color:var(--goldText); direction:ltr; }
.word-card dl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 14px; font-size:14px; margin:0; }
.word-card dt { color:var(--muted); }
.word-card dd { margin:0; }
.cols-card { padding:28px; display:flex; flex-direction:column; border-radius:14px; }
.cols-card .hd { display:flex; justify-content:space-between; align-items:center; }
.cols-card a.it { text-align:start; border-bottom:1px solid var(--line); padding:14px 0; color:var(--ink); display:flex; flex-direction:column; gap:4px; }
.cols-card a.it:hover { color:var(--goldText); }
.cols-card .t { font-family:var(--fd); font-size:19px; font-weight:600; line-height:var(--lhb); }
.cols-card .m { font-size:12.5px; color:var(--muted); line-height:var(--lhb); }

/* sections tiles */
.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:18px; }
.tile { text-align:start; padding:26px; display:flex; flex-direction:column; gap:10px; color:var(--ink)!important; }
.tile .row { display:flex; justify-content:space-between; align-items:center; width:100%; }
.tile .roman { width:48px; height:48px; border-radius:999px; background:var(--tint); color:var(--goldText); display:grid; place-items:center; font-family:var(--fcg); font-size:22px; font-style:italic; font-weight:600; }
.tile .cnt { font-family:var(--fcg); font-size:34px; font-weight:600; color:var(--goldText); line-height:1; }
.tile .tt { font-family:var(--fd); font-size:24px; font-weight:600; line-height:var(--lhb); margin-top:6px; }
.tile .dd { font-size:14px; color:var(--muted); }

.band { background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0/22px 22px, var(--hero); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.topic-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:14px; }
.topic { padding:22px 14px; display:flex; flex-direction:column; align-items:center; gap:2px; color:var(--ink)!important; text-align:center; }
.topic .u { font-family:var(--fur); font-size:28px; line-height:1.9; font-weight:600; }
.topic .e { font-family:var(--fcg); font-style:italic; font-size:17px; color:var(--goldText); line-height:1.2; }
.topic .c { font-size:12px; color:var(--muted); margin-top:8px; line-height:var(--lhb); }

/* listen & watch */
.lw-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr)); gap:22px; }
.feat-audio { position:relative; overflow:hidden; background:var(--navy); color:var(--cream); border-radius:16px; padding:32px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; min-height:320px; }
.feat-audio .bg-em { position:absolute; inset-inline-end:-60px; top:-40px; width:320px; opacity:.07; pointer-events:none; }
.feat-audio .badge { display:inline-block; border:1px solid rgba(212,166,96,.5); color:var(--sand); border-radius:999px; padding:3px 12px; font-size:12px; line-height:var(--lhb); white-space:nowrap; }
.feat-audio h3 { margin:16px 0 6px; font-family:var(--fd); font-weight:600; font-size:clamp(26px,3vw,34px); line-height:var(--lhb); }
.feat-audio .who { font-size:14px; color:#C9C2B3; line-height:var(--lhb); }
.feat-audio .player { position:relative; display:flex; align-items:center; gap:16px; }
.feat-audio .play { width:64px; height:64px; background:var(--sand); color:var(--navy); }
.feat-audio .track { background:rgba(241,236,226,.15); }
.feat-audio .fill { background:var(--sand); }
.feat-audio .times { color:#C9C2B3; }
.feat-audio .speed { border-color:rgba(241,236,226,.25); color:var(--cream); background:transparent; }
.vid-list { display:flex; flex-direction:column; gap:14px; }
.vid-row { display:grid; grid-template-columns:150px minmax(0,1fr); gap:16px; align-items:center; text-align:start; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px; cursor:pointer; color:var(--ink); transition:border-color .2s, transform .2s; width:100%; }
.vid-row:hover { border-color:var(--gold); transform:translateY(-2px); }
.vid-row .th { position:relative; aspect-ratio:16/9; border-radius:8px; background:radial-gradient(rgba(212,166,96,.18) 1px, transparent 1.2px) 0 0/12px 12px, var(--navy); display:grid; place-items:center; overflow:hidden; }
.vid-row .th img.yt { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.85; }
.vid-row .pl { position:relative; width:34px; height:34px; border-radius:999px; background:var(--sand); display:grid; place-items:center; color:var(--navy); }
.vid-row .du { position:absolute; bottom:5px; inset-inline-end:5px; background:rgba(0,0,0,.65); color:#fff; font-family:var(--fin); font-size:10.5px; padding:1px 6px; border-radius:4px; }
.vid-row .tx { display:flex; flex-direction:column; gap:4px; min-width:0; }
.vid-row .t { font-family:var(--fd); font-size:19px; font-weight:600; line-height:var(--lhb); }
.vid-row .s { font-size:12.5px; color:var(--muted); line-height:var(--lhb); }

/* books */
.books { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:28px 22px; }
.book { background:none; border:0; padding:0; cursor:pointer; text-align:start; color:var(--ink); display:flex; flex-direction:column; gap:12px; transition:transform .3s; width:100%; }
.book:hover { transform:translateY(-6px); }
.book .cover { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; aspect-ratio:2/3; width:100%; border-radius:4px 10px 10px 4px; box-shadow:inset 6px 0 10px -6px rgba(0,0,0,.5),0 18px 30px -16px rgba(0,0,0,.45); padding:22px 18px; overflow:hidden; }
.book .cover .fr { position:absolute; inset:10px; border:1px solid rgba(212,166,96,.55); border-radius:3px 7px 7px 3px; }
.book .cover img { width:46px; opacity:.9; }
.book .cover .bu { font-family:var(--fur); font-size:20px; line-height:1.9; color:var(--cream); text-align:center; direction:rtl; }
.book .cover .ln { width:30px; height:1px; background:var(--sand); }
.book .cover .ba { font-family:var(--fur); font-size:12px; color:var(--sand); line-height:1.8; direction:rtl; }
.book .bt { font-family:var(--fd); font-size:18px; font-weight:600; line-height:var(--lhb); }
.book .by { font-family:var(--fin); font-size:12px; color:var(--muted); }

/* about teaser */
.about-card { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)); gap:48px; align-items:center; padding:clamp(24px,4vw,48px); border-radius:16px; }
.portrait { position:relative; aspect-ratio:4/5; max-height:460px; border-radius:12px; background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0/18px 18px, var(--hero); border:1px solid var(--line); display:grid; place-items:center; overflow:hidden; }
.portrait > img.em { width:55%; opacity:.14; }
.portrait > img.photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.portrait .lbl { position:absolute; bottom:14px; inset-inline-start:14px; font-family:var(--fin); font-size:11px; letter-spacing:.14em; color:var(--muted); background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:4px 10px; }
.about-card h2 { margin:10px 0 16px; font-family:var(--fd); font-weight:600; font-size:clamp(32px,4vw,46px); line-height:var(--lhh); }
.about-card p { margin:0 0 14px; color:var(--muted); font-size:16px; }

/* timeline */
.timeline { position:relative; display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:24px 16px; }
.tl-item { position:relative; text-align:center; padding-top:30px; }
.tl-item .ln { position:absolute; top:8px; inset-inline:-8px; height:1px; background:var(--gold); opacity:.5; }
.tl-item .dt { position:absolute; top:2px; left:50%; margin-left:-7px; width:14px; height:14px; border-radius:999px; border:2px solid var(--gold); background:var(--surface); }
.tl-item:last-child .dt { background:var(--gold); }
.tl-item .y { font-family:var(--fcg); font-size:32px; font-weight:600; color:var(--goldText); line-height:1.1; }
.tl-item .x { font-size:14px; color:var(--muted); margin-top:6px; line-height:var(--lhb); }

/* quote band */
.quote-band { background:var(--navy); color:var(--cream); position:relative; overflow:hidden; }
.quote-band .bg-em { position:absolute; inset-inline-start:-80px; bottom:-60px; width:420px; opacity:.05; pointer-events:none; }
.quote-band .inner { position:relative; max-width:900px; margin:0 auto; padding:80px 24px; text-align:center; }
.quote-band .qm { font-family:var(--fcg); font-size:64px; line-height:.5; color:var(--sand); }
.quote-band .ur { margin:18px 0 0; font-size:clamp(24px,3.4vw,36px); line-height:2.2; }
.quote-band .tr { margin:12px 0 0; font-family:var(--fcg); font-style:italic; font-size:19px; color:#C9C2B3; direction:ltr; line-height:1.5; }
.quote-band .by { margin-top:18px; font-size:13px; color:var(--sand); letter-spacing:var(--lsalt); }

/* events & testimonials */
.two-col { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr)); gap:48px; }
.event { display:grid; grid-template-columns:72px minmax(0,1fr) auto; gap:18px; align-items:center; padding:18px 0; border-top:1px solid var(--line); }
.event .date { text-align:center; background:var(--tint); border-radius:10px; padding:8px 4px; }
.event .dd { font-family:var(--fcg); font-size:32px; font-weight:600; line-height:1; color:var(--goldText); }
.event .mm { font-size:12px; color:var(--ink); line-height:var(--lhb); }
.event .t { font-family:var(--fd); font-size:20px; font-weight:600; line-height:var(--lhb); }
.event .p { font-size:13px; color:var(--muted); margin-top:4px; line-height:var(--lhb); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.event .rm { border:1px solid var(--line); background:transparent; border-radius:999px; padding:7px 14px; cursor:pointer; font-size:12.5px; line-height:var(--lhh); white-space:nowrap; color:var(--ink); }
.event .rm:hover { border-color:var(--gold); color:var(--ink); }
.testi { margin:0; padding:20px 22px; display:flex; gap:16px; }
.testi .qm { font-family:var(--fcg); font-size:48px; line-height:.8; color:var(--gold); }
.testi blockquote { margin:0; font-size:15px; }
.testi figcaption { display:flex; align-items:center; gap:10px; font-size:13px; line-height:var(--lhb); margin-top:10px; }
.avatar { width:30px; height:30px; border-radius:999px; background:var(--tint); color:var(--goldText); display:grid; place-items:center; font-weight:600; font-size:13px; flex-shrink:0; }

/* cta */
.cta-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr)); gap:22px; }
.cta-write { position:relative; overflow:hidden; background:var(--tint); border:1px solid var(--line); border-radius:16px; padding:clamp(28px,4vw,44px); display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
.cta-write .bg-em { position:absolute; inset-inline-end:-50px; bottom:-40px; width:260px; opacity:.08; pointer-events:none; }
.cta-write h2 { position:relative; margin:0; font-family:var(--fd); font-weight:600; font-size:clamp(28px,3.4vw,38px); line-height:var(--lhh); }
.cta-write p { position:relative; margin:0; color:var(--muted); max-width:460px; }
.cta-write .btn { position:relative; margin-top:8px; padding:12px 26px; font-size:14.5px; }
.srv-teaser { padding:clamp(24px,3vw,36px); border-radius:16px; }
.srv-teaser .hd { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; }
.srv-teaser h2 { margin:0; font-family:var(--fd); font-weight:600; font-size:30px; line-height:var(--lhh); }
.srv-teaser a.it { width:100%; display:flex; align-items:center; gap:16px; border-bottom:1px solid var(--line); padding:14px 0; color:var(--ink); }
.srv-teaser a.it:hover { color:var(--goldText); }
.srv-teaser .n { font-family:var(--fcg); font-style:italic; font-size:22px; color:var(--goldText); width:30px; }
.srv-teaser .tt { flex:1; font-size:16px; line-height:var(--lhb); }

/* newsletter */
.nl { display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:40px 0; }
.nl h2 { margin:0 0 6px; font-family:var(--fd); font-weight:600; font-size:32px; line-height:var(--lhh); }
.nl p { margin:0; color:var(--muted); }
.nl form { display:flex; gap:8px; flex:1; max-width:460px; min-width:280px; }
.nl input { flex:1; min-width:0; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:12px 18px; font-family:var(--fin); font-size:14px; direction:ltr; text-align:start; }
.nl button { padding:12px 22px; font-size:14px; }

/* ---------------------------------------------------------------- forms */
.field { display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--muted); }
.input, .field input, .field select, .field textarea {
  border:1px solid var(--line); border-radius:10px; padding:11px 14px; background:var(--bg); color:var(--ink); font-size:14.5px; line-height:var(--lhh); width:100%;
}
.field textarea { resize:vertical; line-height:var(--lh); }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color:var(--gold); outline:none; }
.field input.ltr, .field input[type=email], .field input[type=password] { direction:ltr; text-align:start; font-family:var(--fin); }
.field .err { color:var(--bad); font-size:12px; line-height:1.6; min-height:0; }
.field.has-err input { border-color:var(--bad); }
.form-card { padding:28px; display:flex; flex-direction:column; gap:14px; box-shadow:var(--shadow); border-radius:14px; }
.form-card h2 { margin:0 0 4px; font-family:var(--fd); font-weight:600; font-size:28px; line-height:var(--lhh); }

/* ---------------------------------------------------------------- articles page */
.filters { padding:18px; display:flex; flex-direction:column; gap:16px; box-shadow:var(--shadow); }
.filters .row1 { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; }
.search-box { display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:10px; padding:0 14px; background:var(--bg); }
.search-box svg { color:var(--muted); flex-shrink:0; }
.search-box input { flex:1; min-width:0; border:0; background:transparent; outline:none; padding:10px 0; font-size:14px; line-height:var(--lhh); }
.filters select { border:1px solid var(--line); border-radius:10px; padding:10px 12px; background:var(--bg); font-size:14px; cursor:pointer; line-height:var(--lhh); }
.filters .row2 { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.filters .lbl { font-size:13px; color:var(--muted); margin-inline-end:4px; line-height:var(--lhh); }
.results-bar { display:flex; justify-content:space-between; align-items:center; margin:26px 0 16px; font-size:13.5px; color:var(--muted); line-height:var(--lhh); }
.art-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr)); gap:18px; }
.empty { text-align:center; padding:64px 24px; border:1px dashed var(--line); border-radius:12px; background:var(--surface); }
.empty img { width:90px; opacity:.25; }
.empty h3 { margin:16px 0 6px; font-family:var(--fd); font-size:26px; font-weight:600; line-height:var(--lhb); }
.empty p { margin:0 0 20px; color:var(--muted); }
.loading { opacity:.5; pointer-events:none; transition:opacity .2s; }

/* columns list */
.col-row { display:grid; grid-template-columns:84px minmax(0,1fr); gap:24px; padding:30px 8px; border-bottom:1px solid var(--line); transition:background .2s; border-radius:4px; color:var(--ink)!important; }
.col-row:hover { background:var(--surface); }
.col-row .date { text-align:center; border-inline-end:1px solid var(--line); padding-inline-end:20px; }
.col-row .dd { font-family:var(--fcg); font-size:44px; font-weight:600; line-height:1; color:var(--goldText); }
.col-row .mm { font-size:12.5px; color:var(--muted); margin-top:6px; line-height:var(--lhh); }
.col-row h3 { margin:0 0 8px; font-family:var(--fd); font-weight:600; font-size:clamp(22px,2.6vw,28px); line-height:var(--lhb); }
.col-row p { margin:0 0 12px; color:var(--muted); font-size:15.5px; }
.col-row .meta { display:flex; gap:14px; flex-wrap:wrap; font-size:13px; color:var(--muted); line-height:var(--lhh); }
.col-row .meta .who { color:var(--ink); }

/* audio */
.audio-list { display:flex; flex-direction:column; gap:16px; }
.audio-item { padding:22px 24px; display:flex; gap:20px; align-items:center; flex-wrap:wrap; box-shadow:var(--shadow); transition:border-color .2s; }
.audio-item.playing { border-color:var(--gold); }
.audio-item .body { flex:1; min-width:240px; }
.audio-item h3 { margin:0; font-family:var(--fd); font-weight:600; font-size:22px; line-height:var(--lhb); }
.audio-item .meta { display:flex; gap:12px; font-size:13px; color:var(--muted); margin-top:4px; line-height:var(--lhh); flex-wrap:wrap; }
.audio-item .meta .who { color:var(--ink); }
.audio-item .ctrl { display:flex; align-items:center; gap:12px; margin-top:14px; }
.play { width:56px; height:56px; border-radius:999px; border:0; background:var(--gold); color:var(--navy); cursor:pointer; display:grid; place-items:center; flex-shrink:0; transition:transform .2s; padding:0; }
.play:hover { transform:scale(1.06); }
.play .i-pause { display:none; }
.is-playing .play .i-pause { display:block; }
.is-playing .play .i-play { display:none; }
.seek { flex:1; height:18px; display:flex; align-items:center; cursor:pointer; touch-action:none; }
.track { position:relative; width:100%; height:4px; border-radius:4px; background:var(--line); }
.fill { position:absolute; inset-inline-start:0; top:0; bottom:0; width:0; background:var(--gold); border-radius:4px; }
.knob { position:absolute; inset-inline-start:0; top:50%; width:12px; height:12px; margin-inline-start:-6px; margin-top:-6px; border-radius:999px; background:var(--gold); box-shadow:0 0 0 3px var(--tint); }
.times { font-family:var(--fin); font-size:12px; color:var(--muted); min-width:40px; font-variant-numeric:tabular-nums; }
.speed { border:1px solid var(--line); background:var(--bg); border-radius:999px; padding:3px 10px; font-family:var(--fin); font-size:12px; cursor:pointer; min-width:48px; color:var(--ink); }
.audio-item .dl { width:36px; height:36px; border-radius:999px; border:1px solid var(--line); display:grid; place-items:center; color:var(--muted); }
.audio-item .dl:hover { border-color:var(--gold); color:var(--goldText); }

/* video */
.video-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); gap:24px; }
.video-card { cursor:pointer; display:flex; flex-direction:column; gap:12px; transition:transform .25s; background:none; border:0; padding:0; text-align:start; color:var(--ink); width:100%; }
.video-card:hover { transform:translateY(-4px); }
.video-card .th { position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; background:radial-gradient(rgba(212,166,96,.18) 1px, transparent 1.2px) 0 0/16px 16px, var(--navy); display:grid; place-items:center; box-shadow:var(--shadow); }
.video-card .th .em { position:absolute; width:40%; opacity:.08; }
.video-card .th img.yt { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.video-card .pl { position:relative; width:62px; height:62px; border-radius:999px; background:rgba(212,166,96,.95); display:grid; place-items:center; color:var(--navy); transition:transform .2s; }
.video-card:hover .pl { transform:scale(1.08); }
.video-card .du { position:absolute; bottom:10px; inset-inline-end:10px; background:rgba(0,0,0,.65); color:#fff; font-family:var(--fin); font-size:11.5px; padding:2px 8px; border-radius:6px; }
.video-card h3 { margin:0; font-family:var(--fd); font-weight:600; font-size:21px; line-height:var(--lhb); }
.video-card .meta { display:flex; gap:12px; font-size:13px; color:var(--muted); line-height:var(--lhh); }
.video-card .meta .who { color:var(--ink); }

/* modal */
.modal { position:fixed; inset:0; z-index:90; display:none; align-items:center; justify-content:center; padding:20px; }
.modal.open { display:flex; }
.modal .scrim { position:absolute; inset:0; background:rgba(10,18,28,.72); backdrop-filter:blur(4px); }
.modal .box { position:relative; width:min(960px,100%); max-height:92vh; overflow:auto; background:var(--surface); border-radius:16px; box-shadow:var(--shadowUp); animation:pop .25s ease; }
.modal .box.video { background:#000; }
.modal .x { position:absolute; top:10px; inset-inline-end:10px; z-index:2; width:38px; height:38px; border-radius:999px; border:1px solid rgba(255,255,255,.25); background:rgba(0,0,0,.45); color:#fff; cursor:pointer; display:grid; place-items:center; padding:0; }
.modal .frame { aspect-ratio:16/9; width:100%; }
.modal iframe { width:100%; height:100%; border:0; display:block; }
.modal .novid { aspect-ratio:16/9; display:grid; place-items:center; color:#E9E2D3; text-align:center; padding:24px; background:radial-gradient(rgba(212,166,96,.18) 1px, transparent 1.2px) 0 0/16px 16px, var(--navy); }
.modal .cap { padding:16px 22px; color:#E9E2D3; background:var(--navy); font-family:var(--fd); font-size:20px; }
.modal .box.book { width:min(720px,100%); display:grid; grid-template-columns:220px minmax(0,1fr); gap:28px; padding:28px; }
.modal .box.book .x { background:var(--bg); color:var(--ink); border-color:var(--line); }
@media (max-width:640px){ .modal .box.book { grid-template-columns:1fr; } .modal .box.book .book { max-width:200px; margin:auto; } }
@keyframes pop { from { transform:translateY(12px) scale(.98); opacity:0; } to { transform:none; opacity:1; } }

/* fehrist */
.ix-bar { position:sticky; top:78px; z-index:5; padding:14px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; box-shadow:var(--shadow); }
.ix-bar .search-box { flex:1; min-width:220px; }
.ix-jumps { display:flex; gap:6px; flex-wrap:wrap; width:100%; }
.ix-jumps a { border:1px solid var(--line); background:transparent; border-radius:999px; padding:4px 12px; font-size:12.5px; display:flex; gap:6px; align-items:center; line-height:var(--lhh); color:var(--ink); }
.ix-jumps a:hover { border-color:var(--gold); }
.ix-jumps .c { font-family:var(--fin); color:var(--goldText); font-size:11.5px; }
.ix-group { margin-top:40px; scroll-margin-top:200px; }
.ix-group .hd { display:flex; align-items:baseline; gap:14px; border-bottom:1px solid var(--gold); padding-bottom:8px; }
.ix-group h2 { margin:0; font-family:var(--fd); font-weight:600; font-size:30px; line-height:var(--lhh); }
.ix-group .c { font-family:var(--fin); font-size:12px; color:var(--muted); }
.ix-item { width:100%; display:grid; grid-template-columns:36px minmax(0,1fr) auto; gap:14px; align-items:center; text-align:start; border-bottom:1px dashed var(--line); padding:14px 4px; color:var(--ink)!important; transition:background .2s; }
.ix-item:hover { background:var(--surface); }
.ix-item .n { font-family:var(--fcg); font-size:18px; color:var(--goldText); font-style:italic; }
.ix-item .t { font-size:15.5px; line-height:var(--lhb); }
.ix-item .d { font-size:12.5px; color:var(--muted); white-space:nowrap; }
.ix-none { color:var(--muted); font-size:14px; padding:14px 4px; margin:0; }

/* services */
.srv-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)); gap:20px; }
.srv { padding:28px; display:flex; flex-direction:column; gap:12px; }
.srv .n { font-family:var(--fcg); font-style:italic; font-size:40px; font-weight:600; color:var(--goldText); line-height:1; }
.srv h3 { margin:6px 0 0; font-family:var(--fd); font-weight:600; font-size:24px; line-height:var(--lhb); }
.srv p { margin:0; color:var(--muted); font-size:14.5px; flex:1; }
.srv .acts { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.srv .acts a { display:flex; align-items:center; gap:8px; border-radius:999px; padding:9px 16px; font-size:13px; line-height:var(--lhh); }
.srv .acts a.p { background:var(--btn); color:var(--btnFg); }
.srv .acts a.s { border:1px solid var(--line); color:var(--ink); }
.srv .acts a.s:hover { border-color:var(--gold); }

/* about page */
.about-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr)); gap:56px; align-items:start; }
.about-grid h2 { margin:10px 0 18px; font-family:var(--fd); font-weight:600; font-size:clamp(30px,4vw,42px); line-height:var(--lhh); }
.about-grid .lead { margin:0 0 16px; font-size:16.5px; }
.mission { margin-top:28px; background:var(--tint); border-radius:12px; padding:28px; }
.mission p { margin:10px 0 0; font-family:var(--fd); font-size:clamp(20px,2.4vw,25px); line-height:var(--lhb); font-style:italic; }
.bio-card { overflow:hidden; box-shadow:var(--shadow); border-radius:14px; }
.bio-card .portrait { aspect-ratio:5/4; border:0; border-radius:0; max-height:none; }
.bio-card .portrait > img.em { width:45%; }
.bio-card .in { padding:26px; }
.bio-card h3 { margin:0; font-family:var(--fd); font-weight:600; font-size:28px; line-height:var(--lhb); }
.bio-card .role { color:var(--goldText); font-size:13.5px; margin-top:4px; line-height:var(--lhh); }
.bio-card p { margin:14px 0 0; color:var(--muted); font-size:14.5px; }
.facts { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:20px; border-top:1px solid var(--line); padding-top:18px; text-align:center; }
.facts .v { font-family:var(--fcg); font-size:30px; font-weight:600; color:var(--goldText); line-height:1.1; }
.facts .l { font-size:12px; color:var(--muted); line-height:var(--lhb); }
.values { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; margin-top:64px; }
.value { padding:30px; text-align:center; transition:transform .25s, border-color .25s; }
.value:hover { transform:translateY(-4px); border-color:var(--gold); }
.value .u { font-family:var(--fur); font-size:46px; line-height:1.9; color:var(--goldText); }
.value .e { font-family:var(--fcg); font-style:italic; font-size:22px; line-height:1.2; }
.value p { margin:14px 0 0; color:var(--muted); font-size:14.5px; }

/* contact */
.contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr)); gap:32px; align-items:start; }
.channel { display:flex; gap:16px; align-items:center; padding:20px; color:var(--ink)!important; transition:border-color .2s, transform .2s; }
.channel:hover { border-color:var(--gold); transform:translateY(-2px); }
.channel .ab { width:46px; height:46px; border-radius:999px; background:var(--tint); color:var(--goldText); display:grid; place-items:center; font-family:var(--fin); font-weight:600; font-size:14px; flex-shrink:0; }
.channel .tx { flex:1; min-width:0; }
.channel .l { display:block; font-weight:500; line-height:var(--lhb); }
.channel .v { display:block; font-family:var(--fin); font-size:13px; color:var(--muted); direction:ltr; text-align:start; }
.channel .ar { color:var(--goldText); }
.hours { border:1px solid var(--line); border-radius:12px; padding:20px; font-size:14px; color:var(--muted); }
.hours b { display:block; color:var(--ink); font-weight:500; margin-bottom:4px; }

/* auth */
.auth-wrap { min-height:78vh; display:grid; place-items:center; padding:56px 20px; background:radial-gradient(ellipse 60% 50% at 50% 0%, var(--hero), transparent 70%), radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0/22px 22px; }
.auth-card { width:100%; max-width:440px; padding:36px; box-shadow:var(--shadowUp); display:flex; flex-direction:column; gap:14px; border-radius:16px; }
.auth-card > img { height:54px; align-self:center; }
.auth-card h1 { margin:4px 0 0; text-align:center; font-family:var(--fd); font-weight:600; font-size:30px; line-height:var(--lhh); }
.auth-card .sub { margin:0 0 6px; text-align:center; color:var(--muted); font-size:14px; }
.auth-card .seg > * { padding:7px; font-size:13.5px; }
.auth-card .hint { margin:0; text-align:center; font-size:12.5px; color:var(--muted); }
.alert { border-radius:10px; padding:10px 14px; font-size:13.5px; }
.alert-bad { background:var(--badbg); color:var(--bad); }
.alert-ok { background:var(--okbg); color:var(--ok); }

/* submit */
.submit-form { padding:clamp(20px,3vw,32px); display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:16px; box-shadow:var(--shadow); border-radius:14px; }
.submit-form .full { grid-column:1/-1; }
.drop { border:1.5px dashed var(--gold); border-radius:12px; background:var(--tint); padding:28px; text-align:center; cursor:pointer; display:block; transition:background .2s; }
.drop.over { background:color-mix(in srgb, var(--tint) 60%, var(--gold)); }
.drop svg { color:var(--goldText); }
.drop .t { font-weight:500; margin-top:6px; color:var(--ink); }
.drop .h { font-size:12.5px; color:var(--muted); }
.drop .bar { max-width:360px; margin:14px auto 0; height:5px; border-radius:5px; background:var(--line); overflow:hidden; display:none; }
.drop .bar i { display:block; height:100%; width:0; background:var(--gold); transition:width .2s; }
.drop.busy .bar { display:block; }
.subs-table { overflow:hidden; }
.subs-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:16px; align-items:center; padding:16px 20px; border-bottom:1px solid var(--line); }
.subs-row:last-child { border-bottom:0; }
.subs-row .t { font-weight:500; line-height:var(--lhb); }
.subs-row .c { font-size:12.5px; color:var(--muted); line-height:var(--lhb); }

/* 404 */
.nf { min-height:75vh; display:grid; place-items:center; padding:64px 24px; text-align:center; background:radial-gradient(var(--dot) 1px, transparent 1.2px) 0 0/22px 22px; }
.nf .big { font-family:var(--fcg); font-size:clamp(110px,18vw,180px); font-weight:600; line-height:1; color:var(--goldText); }
.nf .ur { margin:18px 0 0; font-size:clamp(22px,3vw,30px); line-height:2.2; }
.nf .by { margin:6px 0 0; color:var(--muted); font-size:13px; }
.nf .d { margin:24px auto 26px; max-width:420px; color:var(--muted); }

/* ---------------------------------------------------------------- reader (article / column detail) */
.progress { position:fixed; top:0; inset-inline-start:0; height:3px; width:0; background:var(--gold); z-index:60; transition:width .1s; }
.reader { max-width:1180px; margin:0 auto; padding:40px 24px 80px; display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:48px; align-items:start; }
@media (max-width:980px){ .reader { grid-template-columns:minmax(0,1fr); } }
.reader article { min-width:0; }
.reader .tags { display:flex; gap:8px; flex-wrap:wrap; }
.reader h1 { margin:16px 0 12px; font-family:var(--fd); font-weight:600; font-size:clamp(32px,4.6vw,50px); line-height:var(--lhh); }
.reader .lede { font-size:18px; color:var(--muted); margin:0 0 20px; }
.reader .byline { display:flex; gap:14px; align-items:center; flex-wrap:wrap; padding:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); font-size:13.5px; color:var(--muted); }
.reader .byline .who { color:var(--ink); font-weight:500; }
.reader .tools { display:flex; gap:8px; align-items:center; margin-inline-start:auto; flex-wrap:wrap; }
.icon-btn { width:36px; height:36px; border-radius:999px; border:1px solid var(--line); background:var(--surface); display:grid; place-items:center; cursor:pointer; color:var(--ink); padding:0; font-family:var(--fin); font-size:13px; }
.icon-btn:hover { border-color:var(--gold); color:var(--goldText); }
.prose { --fs:18px; font-size:var(--fs); margin-top:28px; }
.im[lang=ur] .prose { --fs:20px; line-height:2.35; }
.prose p { margin:0 0 1.1em; }
.prose p:first-child::first-letter { font-family:var(--fcg); font-size:3.2em; float:inline-start; line-height:.9; padding-inline-end:10px; color:var(--goldText); font-weight:600; }
.im[lang=ur] .prose p:first-child::first-letter { font-family:inherit; font-size:inherit; float:none; padding:0; color:inherit; font-weight:inherit; }
.pdf-panel { margin-top:28px; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); }
.pdf-panel .hd { display:flex; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.pdf-panel .ic { width:40px; height:48px; border-radius:4px; background:var(--badbg); color:var(--bad); display:grid; place-items:center; font-family:var(--fin); font-size:10px; font-weight:700; flex-shrink:0; }
.pdf-panel iframe { width:100%; height:78vh; border:0; display:block; background:#525659; }
.aside-box { position:sticky; top:96px; display:flex; flex-direction:column; gap:18px; }
.aside-box .card { padding:20px; }
.aside-box h4 { margin:0 0 10px; font-size:12px; letter-spacing:var(--lsalt); text-transform:var(--tt); color:var(--goldText); font-weight:500; }
.share { display:flex; gap:8px; flex-wrap:wrap; }
.rel a { display:block; padding:12px 0; border-bottom:1px solid var(--line); color:var(--ink); }
.rel a:last-child { border-bottom:0; }
.rel a:hover { color:var(--goldText); }
.rel .t { font-family:var(--fd); font-size:18px; font-weight:600; line-height:var(--lhb); display:block; }
.rel .d { font-size:12px; color:var(--muted); }
.back-link { display:inline-flex; gap:8px; align-items:center; font-size:13.5px; }
@media print {
  .topbar, .site-header, .site-footer, .aside-box, .reader .tools, .to-top, .progress, .page-hero .divider, .back-link { display:none !important; }
  .reader { grid-template-columns:1fr; padding:0; }
  body { background:#fff; color:#000; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background:var(--navy2); color:#D8D1C3; }
.site-footer .cols { padding-block:64px 36px; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:40px; }
.site-footer .brandf { display:flex; align-items:center; gap:12px; }
.site-footer .brandf img { height:44px; }
.site-footer .brandf .n1 { font-family:var(--fd); font-size:22px; font-weight:600; color:var(--cream); line-height:var(--lhb); letter-spacing:var(--lsb); display:block; }
.site-footer .brandf .n2 { font-family:var(--falt); font-size:10.5px; letter-spacing:var(--lsalt); color:var(--sand); line-height:1.6; display:block; }
.site-footer .tag { margin:16px 0 0; font-size:14px; color:#A9B1BA; }
.site-footer h4 { margin:0 0 14px; color:var(--sand); font-size:13px; letter-spacing:var(--lsalt); text-transform:var(--tt); font-weight:500; line-height:var(--lhh); }
.site-footer .links { display:grid; grid-template-columns:1fr 1fr; gap:4px 16px; }
.site-footer .links a { padding:3px 0; color:#C9C2B3; font-size:14px; line-height:var(--lhb); }
.site-footer .links a:hover { color:var(--sand); }
.site-footer .ct { font-family:var(--fin); font-size:14px; display:flex; flex-direction:column; gap:6px; direction:ltr; text-align:start; }
.site-footer .ct a { color:#D8D1C3; }
.socials { display:flex; gap:8px; margin-top:16px; }
.socials a { width:38px; height:38px; border-radius:999px; border:1px solid rgba(216,209,195,.25); display:grid; place-items:center; color:#D8D1C3; font-family:var(--fin); font-size:13px; font-weight:600; }
.socials a:hover { border-color:var(--sand); color:var(--sand); }
.site-footer .nlp { margin:0 0 12px; font-size:13.5px; color:#A9B1BA; }
.site-footer form { display:flex; gap:6px; }
.site-footer form input { flex:1; min-width:0; border:1px solid rgba(216,209,195,.25); background:rgba(255,255,255,.04); color:var(--cream); border-radius:999px; padding:9px 14px; font-family:var(--fin); font-size:13px; direction:ltr; }
.site-footer form button { border:0; background:var(--sand); color:var(--navy); border-radius:999px; padding:9px 16px; cursor:pointer; font-size:13px; font-weight:500; line-height:var(--lhh); }
.site-footer .bottom { border-top:1px solid rgba(216,209,195,.12); }
.site-footer .bottom .wrap { padding-block:16px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12.5px; color:#8E97A1; line-height:var(--lhb); }

.to-top { position:fixed; bottom:24px; inset-inline-end:24px; z-index:50; width:48px; height:48px; border-radius:999px; border:0; background:var(--gold); color:var(--navy); cursor:pointer; display:grid; place-items:center; box-shadow:var(--shadowUp); transition:transform .2s, opacity .3s; opacity:0; pointer-events:none; padding:0; }
.to-top.show { opacity:1; pointer-events:auto; }
.to-top:hover { transform:translateY(-3px); }

.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%,20px); z-index:95; background:var(--navy); color:var(--cream); border:1px solid rgba(212,166,96,.4); border-radius:999px; padding:10px 20px; font-size:14px; box-shadow:0 12px 30px -10px rgba(0,0,0,.4); display:flex; gap:10px; align-items:center; max-width:90vw; line-height:var(--lhb); opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.toast .d { width:7px; height:7px; background:var(--sand); transform:rotate(45deg); flex-shrink:0; }

/* reveal on scroll */
.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce) { .reveal { opacity:1; transform:none; transition:none; } * { scroll-behavior:auto !important; } }

@media (max-width:640px) {
  .wrap { padding-inline:16px; }
  .hero .inner { padding:56px 16px 64px; }
  .event { grid-template-columns:60px minmax(0,1fr); }
  .event .rm { grid-column:2; justify-self:start; }
  .col-row { grid-template-columns:64px minmax(0,1fr); gap:16px; }
  .col-row .date { padding-inline-end:12px; }
  .vid-row { grid-template-columns:120px minmax(0,1fr); }
  .subs-row { grid-template-columns:minmax(0,1fr) auto; }
  .subs-row .date { display:none; }
  .topbar .contact span.sep, .topbar .contact .ph { display:none; }
  .ix-bar { top:66px; }
}
