@font-face { font-family: "Noto Nastaliq Urdu"; font-weight: 700; font-display: swap; src: url(/fonts/nastaliq-title.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-normal-500.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-italic-500.woff2) format("woff2"); }

:root { color-scheme: dark; --bg: #4e0f1c; --ink: #f6e7cf; --gold: #f2b544; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 max(16px, 4vw) max(48px, env(safe-area-inset-bottom)); }

header { display: grid; justify-items: center; text-align: center; gap: 4px; padding-block: 40px 30px; }
.fa { font: 700 clamp(64px, 12vw, 140px)/1.9 "Noto Nastaliq Urdu", serif; color: var(--gold); }
h1 { margin: 0; font: italic 500 clamp(20px, 2.4vw, 26px) "Cormorant Garamond", Georgia, serif; letter-spacing: .04em; }
#q { margin-top: 22px; width: min(420px, 100%); text-align: center; background: transparent; color: inherit; border: 0; border-bottom: 1px solid rgba(242, 181, 68, .5); border-radius: 0; padding: 8px; font: 500 20px "Cormorant Garamond", Georgia, serif; -webkit-appearance: none; appearance: none; }
#q:focus { outline: none; border-bottom-color: var(--gold); }
#q::placeholder { color: rgba(246, 231, 207, .6); }

section { padding-block: 30px; border-top: 1px solid rgba(242, 181, 68, .25); }
h2 { margin: 0 0 18px; text-align: center; font-size: 30px; font-weight: 600; color: var(--gold); }
ul { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; columns: 3 220px; column-gap: 40px; }
li { break-inside: avoid; padding: 4px 0; font-size: 21px; font-weight: 500; }
li::before { content: "◆"; font-size: 9px; color: var(--gold); margin-right: 12px; vertical-align: 3px; opacity: .8; }
li > a:hover { color: var(--gold); }
.alt { font-size: .72em; opacity: .75; margin-left: .35em; }
.alt a:hover { text-decoration: underline; }
#none { text-align: center; font-size: 21px; opacity: .7; padding-block: 32px; }
[hidden] { display: none !important; }
