@font-face {
  font-family: "Noto Sans Arabic";
  src: url("fonts/noto-sans-arabic-arabic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-08FF,U+200C-200E,U+FB50-FDFF,U+FE70-FEFC;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("fonts/noto-sans-arabic-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212;
}
@font-face {
  font-family: "Amiri";
  src: url("fonts/amiri-arabic-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Amiri Quran";
  src: url("fonts/amiri-quran-arabic-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --card: #fffdf7;
  --ink: #172f26;
  --muted: #526258;
  --forest: #174436;
  --deep: #102b24;
  --line: #e0d8c7;
  --gold: #e5c480;
  --gold-dark: #977339;
  --serif: "Amiri", "Noto Sans Arabic", serif;
  font: 16px / 1.8 "Noto Sans Arabic", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--forest); text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #a27121; outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.3; }
p { overflow-wrap: anywhere; }
.shell { width: min(1140px, calc(100% - 56px)); margin-inline: auto; }
main.shell { flex: 1; }
.site-header { border-block-end: 1px solid var(--line); background: var(--card); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand strong { font: 700 1.82rem / 1 var(--serif); }
.brand small { font-size: .74rem; margin-block-start: .2rem; color: var(--muted); }
.mark, .track-mark {
  display: inline-grid; place-items: center; flex: none;
  inline-size: 44px; block-size: 44px; border-radius: 13px;
  color: var(--gold); background: var(--deep); font: 1.75rem/1 sans-serif;
}
.site-header nav { display: flex; align-items: center; gap: .3rem; }
.site-header nav a {
  display: grid; align-items: center; min-height: 42px; padding: .3rem .85rem;
  color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 9px;
}
.site-header nav a[aria-current], .site-header nav a:hover { background: #e8eee5; color: var(--deep); }
.nav-roll { display: block; position: relative; overflow: hidden; line-height: 1.85; }
.nav-roll span { display: block; transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.nav-roll span + span { position: absolute; inset: 100% 0 auto; }
.site-header a:is(:hover, :focus-visible) .nav-roll span { transform: translateY(-100%); }

.landing { padding-block: clamp(22px, 4vh, 38px) 12px; }
.memorial { display: grid; gap: clamp(16px, 3vw, 24px); max-width: 960px; margin-inline: auto; }
.memorial-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: 184px;
  border: 1px solid #446050; border-radius: 22px; background: var(--deep);
  box-shadow: 0 16px 34px #282c2220;
}
.memorial-art {
  position: absolute; inset: 0 auto 0 0; inline-size: 62%; z-index: -2;
  background: url("hero.webp") 21% 58% / cover;
  animation: reveal-art .9s ease-out both;
}
.memorial-banner::before {
  position: absolute; inset: 0; z-index: -1; content: "";
  background: linear-gradient(to left, #102b24 28%, #102b24f0 42%, #102b2440 74%, #102b241a);
}
.memorial-content {
  color: var(--card); padding: 22px clamp(19px, 5vw, 55px) 18px; max-width: 68%;
  overflow-wrap: anywhere;
}
.memorial-signature {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold); font-size: .85rem; font-weight: 750; line-height: 1.8;
}
.memorial-signature::before {
  content: ""; inline-size: 7px; block-size: 7px; border: 1px solid currentColor; transform: rotate(45deg);
}
.memorial-label { color: #f1dfb6; margin-block-start: .5rem; font-weight: 650; font-size: .91rem; }
.memorial h1 {
  margin-block-start: clamp(.85rem, 1.8vw, 1.2rem);
  font: 700 clamp(2.5rem, 5.4vw, 4.05rem) / 1.3 var(--serif);
}
.ornament {
  color: var(--gold-dark); inline-size: 100px; display: flex; align-items: center; gap: 9px;
  margin-block-end: 1rem;
}
.ornament::before, .ornament::after { content: ""; block-size: 1px; flex: 1; background: currentColor; opacity: .65; }
.ornament span { flex: none; inline-size: 9px; block-size: 9px; border: 1px solid currentColor; transform: rotate(45deg); }
.fatiha-card {
  position: relative; isolation: isolate; inline-size: min(100%, 810px); margin-inline: auto;
  padding: clamp(24px, 3.3vw, 36px) clamp(20px, 5vw, 58px) 27px; text-align: center;
  border: 1px solid #aa8c53; border-radius: 22px; color: #fff9ed;
  background: radial-gradient(ellipse at top, #234838, transparent 76%), #102c24;
  box-shadow: 0 15px 38px #24271e24;
}
.fatiha-card::before {
  content: ""; z-index: -1; position: absolute; inset: 7px; pointer-events: none;
  border: 1px solid #d3b5794d; border-radius: 15px;
}
.fatiha-card .ornament { color: var(--gold); margin: 0 auto .5rem; }
.fatiha-card h2 { color: #ebd198; font: 700 clamp(1.65rem, 4vw, 2.25rem) / 1.4 var(--serif); }
.fatiha-text {
  margin-block: .4rem .65rem;
  font: 400 clamp(1.5rem, 3.55vw, 2.04rem) / 1.9 "Amiri Quran", var(--serif);
}
.fatiha-text p + p { margin-block-start: .07rem; }
.fatiha-text .bismillah { font-size: 1.08em; margin-block-end: .17rem; }
.verse-number {
  display: inline-grid; place-items: center; vertical-align: .16em;
  inline-size: 1.7em; block-size: 1.7em; margin-inline: .35em .4em;
  border: 1px solid #c5a968a8; border-radius: 50%;
  color: #efdba5; font: 650 .46em / 1 "Noto Sans Arabic", sans-serif;
}
.fatiha-actions { padding-block-start: .9rem; }
.fatiha-actions::before {
  content: ""; display: block; inline-size: min(46%, 210px); block-size: 1px; margin: 0 auto .9rem;
  background: linear-gradient(to right, transparent, #caac6e9c, transparent);
}
.fatiha-actions .button { font-size: .9rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.button {
  display: inline-flex; position: relative; isolation: isolate; overflow: hidden; gap: .65rem;
  align-items: center; justify-content: center; min-height: 46px; padding: .47rem 1.15rem;
  border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 760;
  transition: background-color .2s ease, transform .2s ease;
}
.button:active { transform: translateY(1px); }
.gold { background: var(--gold); color: #192c21; border-color: #f0d7a0; }
.gold:hover { background: #f1d499; }
.shine::before {
  content: ""; z-index: -1; pointer-events: none; position: absolute; inset-block: 0; inline-size: 40%;
  background: linear-gradient(100deg, #fff0, #fff7, #fff0); inset-inline-start: -55%; transform: skewX(-22deg);
  transition: inset-inline-start .55s ease;
}
.shine:is(:hover, :focus-visible)::before { inset-inline-start: 125%; }
.primary { background: var(--forest); color: var(--card); }
.primary:hover { background: #0f3429; }
.secondary { border-color: var(--line); color: var(--ink); background: var(--card); }
.secondary:hover { background: var(--paper); }
.arrow { font-size: 1.2em; }

.listening { padding-block: clamp(25px, 6vh, 55px) 12px; }
.listen-heading { text-align: center; margin-block-end: 1.45rem; }
.listen-heading .ornament { margin-inline: auto; margin-block-end: .55rem; }
.listen-heading h1 { font: 700 clamp(2.35rem, 5vw, 3.55rem) / 1.3 var(--serif); }
.listen-heading p { margin-block-start: .15rem; color: var(--muted); }
.listen-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(17px, 3vw, 29px); min-width: 0; box-shadow: 0 10px 25px #2f2d1f09;
}
.player {
  color-scheme: dark; color: var(--card); border-color: #345346;
  background: radial-gradient(ellipse at top left, #254c3b, transparent 63%), var(--deep);
}
.now-playing { display: flex; align-items: center; gap: 13px; margin-block-end: 1.1rem; }
.track-mark { background: #ffffff0b; border: 1px solid #e5c48054; width: 52px; height: 52px; }
.now-playing h2 { font: 700 1.95rem / 1.25 var(--serif); }
.now-playing p { color: #ccd9ce; font-size: .88rem; }
audio { width: 100%; display: block; direction: ltr; }
.audio-controls {
  display: grid; gap: .78rem; background: #091f19a8;
  border: 1px solid #dce9de36; border-radius: 15px; padding: 14px;
}
.play-button { width: 100%; min-height: 49px; }
.control-icon, .row-play::before {
  display: inline-block; width: 0; height: 0; border: solid transparent;
  border-width: 6px 0 6px 10px; border-left-color: currentColor;
}
.play-button[data-playing="true"] .control-icon {
  width: 10px; height: 13px; border: solid currentColor; border-width: 0 3px;
}
.timeline, .volume-controls input { direction: ltr; }
.timeline input, .volume-controls input { display: block; width: 100%; cursor: pointer; accent-color: var(--gold); margin: 0; }
.timeline input:disabled { cursor: default; }
.times {
  display: flex; justify-content: space-between; color: #d5ded5;
  font-size: .78rem; font-variant-numeric: tabular-nums; margin-block-start: .2rem;
}
.volume-controls { display: flex; align-items: center; gap: .7rem; }
.icon-button {
  color: var(--card); background: #ffffff0e; border: 1px solid #cbd9cc42;
  border-radius: 8px; min-height: 35px; padding: .2rem .6rem; white-space: nowrap; font-size: .78rem;
}
.icon-button:hover { background: #ffffff1c; }
.volume-controls input { max-width: 110px; }
.audio-status { font-size: .87rem; color: #f9dda9; margin-block-start: .65rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.player-settings { grid-template-columns: 1.3fr 1fr; border-block-start: 1px solid #dce9de38; padding-block-start: .8rem; margin-block-start: 1rem; }
.stack { display: grid; gap: 1rem; }
.stack button { justify-self: start; }
label { display: block; font-size: .9rem; font-weight: 700; min-width: 0; }
input:not([type="checkbox"]):not([type="hidden"]):not([type="range"]), select, textarea {
  margin-block-start: .3rem; display: block; width: 100%; min-height: 46px;
  color: var(--ink); background: #f7f4ec; border: 1px solid #d8cfbc; padding: .45rem .7rem;
  border-radius: 9px; font-weight: 500;
}
.player select { color: var(--card); background: #214638; border-color: #7f9b87; }
textarea { resize: vertical; }
.player-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block-start: .85rem; }
.player-bottom button {
  color: var(--gold); background: transparent; border: 0; padding: .28rem 0; font-weight: 700; font-size: .9rem;
}
.player-bottom button:disabled { opacity: .5; }
.checkbox { display: flex; align-items: center; gap: .4rem; font-weight: 500; }
.checkbox input { accent-color: var(--gold); width: 17px; height: 17px; }
.direct-link { display: inline-block; margin-block-start: .65rem; color: #e3e9df; font-size: .84rem; }
.directory-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; }
.directory-heading h2 { font: 700 1.9rem / 1.25 var(--serif); }
.directory-heading span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.search-label { margin-block: .8rem; }
.sura-list { overflow: auto; max-height: 340px; scrollbar-color: #a8ad93 transparent; padding-inline-end: .3rem; }
.sura-row {
  display: grid; grid-template-columns: 37px 1fr 28px; align-items: center; gap: .65rem;
  min-height: 48px; padding: .25rem .5rem; border-block-end: 1px solid #eee8da; text-decoration: none;
}
.sura-row:is(:hover, [aria-current]) { background: #e9eee3; border-radius: 8px; }
.sura-number { color: var(--muted); text-align: center; border-inline-end: 1px solid var(--line); font-size: .8rem; }
.row-play { display: grid; place-items: center; color: var(--forest); }
.row-play::before { content: ""; border-width: 4px 0 4px 7px; }
#no-suras { padding-block: .5rem; }
.muted { color: var(--muted); }
.page-heading { padding-block: 32px 16px; }
.page-heading h1, .centered h1 { font: 700 clamp(1.9rem, 4vw, 2.65rem) / 1.3 var(--serif); }
.page-heading p { margin-block-start: .35rem; }
.centered { max-width: 520px; margin: 42px auto; }
.centered .mark, .centered h1, .admin-editor h2 { margin-block-end: .9rem; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-editor { max-width: 680px; }
.notice, .error { padding: .65rem .85rem; border-radius: 8px; margin-block: .8rem; }
.notice { background: #e4eee0; }
.error { color: #782d28; background: #f8e8e2; }
.site-footer {
  border-block-start: 1px solid var(--line); padding-block: 17px; margin-block-start: 14px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem;
  color: var(--muted); font-size: .82rem;
}
.company-credit { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.company-credit img { object-fit: contain; }
.company-credit strong, .company-credit bdi { display: block; line-height: 1.55; }
.company-credit bdi { width: fit-content; color: var(--muted); }
.company-credit:hover strong { text-decoration: underline; }
.icon-button[aria-pressed="true"] { color: #14241a; background: var(--gold); }
.sr-only, .skip:not(:focus) {
  position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: absolute; z-index: 3; inset: 5px 5px auto auto; background: var(--card); padding: .5rem; }
@keyframes reveal-art {
  from { opacity: .28; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 30px); }
  .listen-grid { grid-template-columns: 1fr; gap: 14px; }
  .memorial-banner { min-height: 165px; }
  .memorial-banner::before { background: linear-gradient(to left, #102b24 18%, #102b24e8 42%, #102b242e 100%); }
  .memorial-art { inline-size: 76%; background-position: 14% 63%; }
  .memorial-content { max-width: 90%; }
  .memorial h1 { font-size: clamp(2.18rem, 8.8vw, 3.65rem); }
  .fatiha-text { line-height: 1.82; }
  .fatiha-verse { display: block; }
  .site-header nav a { padding-inline: .65rem; }
}
@media (max-width: 400px) {
  .header-inner { min-height: 66px; gap: .25rem; }
  .brand { gap: .4rem; }
  .brand .mark { width: 35px; height: 35px; }
  .brand strong { font-size: 1.5rem; }
  .brand small { font-size: .6rem; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding-inline: .42rem; font-size: .79rem; }
}
@media (max-width: 360px) {
  .player-settings { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ALULA V2 — ornamental, motion-aware memorial experience.
   Motion concepts adapted in vanilla CSS/JS from Skiper UI's stagger/reveal,
   Vengeance UI's glow interactions and Animmaster Lib's scroll reveals.
   No React runtime or paid proprietary components are included. */
:root { --paper:#081c18; --card:#0e2a23; --ink:#f7f0dc; --muted:#c2cabd; --forest:#194b3c; --deep:#071b17; --line:#345346; --gold:#ebce88; --gold-dark:#a88a52; color-scheme:dark; }
html { scroll-behavior:smooth; }
body { background: radial-gradient(ellipse 75% 37% at 50% 18%,#22473677,transparent 82%), radial-gradient(ellipse at 80% 94%,#173a2f,transparent 53%),#081c18; color:var(--ink); }
body::before { content:""; pointer-events:none; position:fixed; inset:0; z-index:-1; opacity:.11; background-image:radial-gradient(#e4c98e 0.65px,transparent 0.65px); background-size:28px 28px; mask-image:linear-gradient(#0007,transparent 75%); }
a { color:var(--gold); }
.site-header { background:#081c18eb; border-block-end:1px solid #bfa66c31; backdrop-filter:blur(16px); position:relative; z-index:5; }
.header-inner { min-height:86px; }
.brand strong { color:#f9edcd; } .brand small { color:#c1bda8; }
.mark { background:linear-gradient(145deg,#244a39,#09251e); color:#f9d68c; border:1px solid #c6a8676d; box-shadow:0 0 23px #e4b75f1c; }
.site-header nav a { color:#d6d8c9; border:1px solid transparent; }
.site-header nav a[aria-current],.site-header nav a:hover { color:#f4d895; background:#debd7230; border-color:#d1b2732d; }
.landing { padding-block:36px 28px; }
.memorial-v2 { max-width:1120px; gap:0; }
.memorial-hero { min-height:575px; display:grid; place-items:center; text-align:center; border-radius:28px; border:1px solid #cbb27380; box-shadow:0 24px 84px #0008, inset 0 0 0 7px #ebd9a00b; background:#09241b; }
.memorial-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#061a17ed 0%,#09221cb5 45%,#071a16e9 100%),linear-gradient(0deg,#061714f2,transparent 38%,#071b17a6); }
.memorial-hero::after {content:"";pointer-events:none;position:absolute;inset:12px;border:1px solid #d7bb7845;border-radius:19px; }
.memorial-hero .memorial-art { inset:0; inline-size:100%; background:url('hero.webp') center 54%/cover; opacity:.61; transform:scale(1.01); animation:reveal-art 1.4s ease-out both; }
.memorial-hero .memorial-content { position:relative; z-index:1; max-width:900px; padding:65px 35px 77px; width:100%; }
.hero-kicker { display:flex; justify-content:center; align-items:center; gap:16px; color:#f1d899; font-size:.93rem; font-weight:750; letter-spacing:.05em; }
.hero-kicker-line { width:49px; height:1px; background:linear-gradient(90deg,transparent,#f1d899); }
.hero-kicker-line:last-child { transform:rotate(180deg); }
.memorial-hero .memorial-label { margin:23px auto 0; max-width:610px; font-size:.95rem; color:#f3e6c9; font-weight:550; }
.memorial-hero .luminous-name { margin:11px auto 3px; font:700 clamp(3rem,7.4vw,6.3rem)/1.5 var(--serif); color:#f9dfab; text-shadow:0 0 7px #fff5d75c,0 0 27px #f0c67999,0 0 72px #efc36d77,0 5px 0 #4f412b; background:linear-gradient(115deg,#d3ad61 0%,#fffce4 29%,#e7c47c 48%,#fff8ce 63%,#bd914a 100%); background-size:230% 100%; background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent; animation:name-enter 1s ease-out both,name-shimmer 7s ease-in-out 1.2s infinite; filter:drop-shadow(0 0 15px #f3c9796e); }
.hero-divider { display:flex; align-items:center; justify-content:center; gap:17px; color:#f0d69b; font:1.7rem var(--serif); }
.hero-divider span { width:clamp(40px,10vw,115px); height:1px; background:linear-gradient(90deg,transparent,#d9bc77,transparent); }
.hero-prayer { color:#fff4d8; font:700 clamp(.99rem,1.7vw,1.22rem)/2 var(--serif); }
.hero-link { display:inline-flex; gap:10px; align-items:center; margin-block-start:26px; padding:9px 23px; text-decoration:none; border:1px solid #dfbf82a8; border-radius:100px; color:#ffedbd; background:#092019c9; transition:transform .25s,background .25s,box-shadow .25s; }
.hero-link:hover { background:#264936;box-shadow:0 0 23px #f0c97055;transform:translateY(-3px); }
.hero-bottom-ornament { position:absolute;bottom:17px;inset-inline:0;color:#dfc78c99;letter-spacing:.25rem;font-size:1.1rem; }
.hero-stars { position:absolute;inset:0;pointer-events:none;overflow:hidden; }
.hero-stars i { position:absolute;width:3px;height:3px;border-radius:50%;background:#ffe6a4;box-shadow:0 0 12px 3px #ffda7d83;animation:twinkle 4s ease-in-out infinite; }
.hero-stars i:nth-child(1) {top:24%;left:17%}.hero-stars i:nth-child(2) {top:17%;left:76%;animation-delay:.8s}.hero-stars i:nth-child(3) {top:75%;left:85%;animation-delay:1.4s}.hero-stars i:nth-child(4) {top:64%;left:12%;animation-delay:2s}.hero-stars i:nth-child(5) {top:31%;left:91%;animation-delay:2.8s}
.section-bridge { display:flex;align-items:center;justify-content:center;gap:16px;margin:33px auto 10px;width:min(100%,740px);color:#e1c68b; }
.bridge-line { flex:1;height:1px;background:linear-gradient(90deg,transparent,#bca06c88); }
.bridge-line:last-child {transform:rotate(180deg)}
.bridge-rosette { display:grid;place-items:center;width:40px;height:40px;border:1px solid #bfa56c8a;transform:rotate(45deg);color:#f6d78c; font-size:22px; }
.chapter-intro {text-align:center;margin:17px auto 28px;}
.section-eyebrow,.dedication-eyebrow { color:#dfc083;font-size:.76rem;letter-spacing:.05em; }
.chapter-intro h2 { font:700 clamp(2.15rem,5vw,3.6rem)/1.4 var(--serif);color:#fff4d8;margin-top:5px; }
.chapter-intro p { color:#bfb89f;font:700 1.08rem var(--serif);margin-top:3px; }
.fatiha-card { width:min(100%,920px); padding:47px clamp(22px,7vw,86px) 39px; border-radius:27px; border:1px solid #cbaa6cc2; background:radial-gradient(ellipse at 50% -10%,#275746 0%,#12382c 43%,#0a241d 90%); box-shadow:0 0 0 8px #e5c7830c,0 30px 75px #0007, inset 0 0 68px #ebc97a10; }
.fatiha-card::before {inset:11px;border:1px solid #b99a5c70;border-radius:17px;}
.fatiha-card::after {content:"";position:absolute;pointer-events:none;inset:20px;border:1px solid #c4a66b20;border-radius:13px;z-index:-1;}
.surah-top-motif {color:#d3b77f;font:1.35rem var(--serif);letter-spacing:.4rem;}
.fatiha-card h2 { color:#f7d999; font:700 clamp(2.1rem,4.6vw,3.15rem)/1.65 var(--serif); }
.surah-rule { display:flex;align-items:center;gap:12px;color:#e5c585;justify-content:center;margin:5px auto 14px;width:min(85%,300px); }
.surah-rule span { flex:1;height:1px;background:linear-gradient(90deg,transparent,#cbb175a8,transparent); }
.fatiha-text { font-size:clamp(1.45rem,3vw,2.05rem);line-height:2.25;color:#fff8e9;text-shadow:0 1px 8px #0003; }
.fatiha-text p {overflow-wrap:normal;}
.fatiha-text p + p {margin-top:.2rem;}
.verse-number { color:#f6d48a;border-color:#ba9d5d;background:#bca05c13; }
.fatiha-actions { padding-block-start:22px; }
.fatiha-actions::before { margin-block-end:21px; }
.fatiha-actions .button { min-height:56px;padding-inline:29px; border-radius:40px;box-shadow:0 8px 28px #e9bd6652;font-weight:800; }
.gold {color:#183122;background:linear-gradient(115deg,#b9985c,#ffe2a0 48%,#c8a464);border-color:#f7da9c;}
.gold:hover {background:#ffe7b3;}
.section-bridge-bottom {margin-top:46px;margin-bottom:19px;}
.dedication {display:flex;align-items:center;justify-content:center;gap:22px;text-align:center;padding:0 35px 22px;max-width:920px;margin:0 auto;color:#eadcc1;}
.dedication p {max-width:690px;font:700 clamp(1.05rem,2.25vw,1.35rem)/2 var(--serif);margin-top:7px;}
.dedication-symbol {color:#dfbf79;font-size:2rem;opacity:.6;}
.site-footer {margin-top:30px;padding-block:24px;border-color:#bfa66c36;}
.site-footer .company-credit bdi,.site-footer a {color:#d1caad;}
.site-footer .company-credit strong {color:#f6e3b7;}
.card {background:#123228;border-color:#b698603c;color:#f8eed8;}
.player {background:radial-gradient(ellipse at top left,#28543e,transparent 63%),#0d2d24;}
.listen-heading p,.directory-heading span,.muted {color:#d0c7ad;}
.sura-row {border-color:#cdb37424;color:#f9e7c4;}
.sura-row:is(:hover,[aria-current]) {background:#375a46;}
.sura-number {color:#d3c59f;border-color:#bda36b44;}
.row-play {color:#eccb83;}
input:not([type="checkbox"]):not([type="hidden"]):not([type="range"]),select,textarea {background:#f7f4eb;color:#153226;}
.page-heading p {color:#dbcba9;}
.notice {background:#244735;color:#f8e7bf;}
@keyframes name-shimmer {0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes name-enter {from{opacity:0;transform:translateY(22px);filter:blur(7px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes twinkle {0%,100%{opacity:.15;transform:scale(.6)}50%{opacity:1;transform:scale(1.5)}}
@media(max-width:760px){
 .landing{padding-block:18px 20px}.memorial-hero{min-height:520px;border-radius:22px}.memorial-hero .memorial-content{padding:58px 20px 75px;max-width:100%}
 .memorial-hero::before{background:linear-gradient(#061a17d9,#061a17d9)}
 .memorial-hero .memorial-art{background-position:38% center;opacity:.4}
 .memorial-hero .memorial-label{font-size:.83rem;max-width:330px}
 .memorial-hero .luminous-name{font-size:clamp(2.85rem,10vw,5rem);line-height:1.5}
 .hero-prayer{font-size:.95rem;max-width:320px;margin:auto}
 .fatiha-card{padding:32px 20px 27px;border-radius:20px}.fatiha-card::before{inset:7px}
 .fatiha-text{font-size:clamp(1.35rem,5.1vw,1.85rem);line-height:2.2}
 .fatiha-verse{display:inline}
 .chapter-intro{margin:14px auto 22px}
 .dedication{gap:10px;padding-inline:10px}.dedication-symbol{font-size:1.2rem}
 .site-footer{justify-content:center;text-align:center}
}
@media(max-width:440px){
 .memorial-hero{min-height:490px}
 .hero-kicker-line{width:25px}
 .hero-link{font-size:.84rem}
 .fatiha-text{font-size:1.42rem;line-height:2.2}
 .fatiha-verse{display:inline}
 .fatiha-card{padding-inline:16px}
 .fatiha-actions .button{font-size:.78rem;padding-inline:17px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.memorial-hero .luminous-name{animation:none}.hero-stars i{animation:none}}


/* Home page recitation: appears immediately beneath the luminous memorial name. */
.home-recitation { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin: 1.15rem auto .6rem; text-align: center; }
.welcome-fatiha-button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid rgba(229,191,112,.75); color: #f8e8bd; background: linear-gradient(120deg,rgba(19,57,42,.96),rgba(40,61,41,.85)); border-radius: 999px; padding: .72rem 1.15rem; cursor: pointer; font: inherit; box-shadow: 0 0 18px rgba(217,171,82,.12), inset 0 0 14px rgba(217,171,82,.08); transition: transform .2s ease,box-shadow .2s ease; }
.welcome-fatiha-button:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(217,171,82,.25); }
.welcome-fatiha-button:focus-visible { outline: 3px solid #fff1c5; outline-offset: 4px; }
.welcome-fatiha-button[aria-pressed="true"] { background: linear-gradient(120deg, #4c3b18,#13382d); }
.welcome-fatiha-status { margin: 0; color: #d2c7a9; font-size: .75rem; line-height: 1.7; max-width: 36rem; }
@media(max-width: 540px) { .welcome-fatiha-button { font-size: .85rem; padding: .65rem .8rem; } .welcome-fatiha-status { font-size: .7rem; } }


/* ALULA V4: polished optical hierarchy, distinct section dividers, reduced visual gaps.
   Vanilla browser implementation, inspired by the requested motion libraries, not their original components. */
.memorial-v2 { gap:0; }
.memorial-hero { min-height:540px; background:#102e24; box-shadow:0 25px 74px #0007,0 0 32px #d7b76e11; }
.memorial-hero::before { background:linear-gradient(90deg,rgba(4,21,17,.73),rgba(5,25,19,.59) 48%,rgba(4,21,17,.77)),linear-gradient(0deg,#061b16d9,transparent 35%,#071e18b2); }
.memorial-hero .memorial-art { opacity:.90; filter:brightness(1.22) saturate(1.10); }
.memorial-hero .memorial-content { padding-block:50px 68px; }
.memorial-hero .luminous-name { margin-block:14px 6px; letter-spacing:.008em; text-shadow:0 0 12px #ffe4a886,0 0 36px #ffd28b7d,0 0 70px #d5a6556c; }
.memorial-hero .luminous-name::selection { background:#e4bd72;color:#081c18;-webkit-text-fill-color:#081c18; }
.hero-prayer { margin-block:7px 0; }
.hero-link { margin-block-start:20px; }
.section-bridge { margin-block:22px 8px; }
.chapter-intro { margin-block:9px 20px; }
.chapter-intro p { opacity:.9; }
.fatiha-card { background:radial-gradient(ellipse at 50% -15%,#33634e 0%,#164333 43%,#0b2c22 100%); }
.fatiha-text { max-width:755px; margin-inline:auto; font-size:clamp(1.5rem,2.65vw,2.02rem);line-height:2.36; }
.fatiha-text p { margin-block:.15rem; }
.fatiha-verse { display:inline; }
.verse-number { display:inline-grid;vertical-align:middle;position:relative;top:-.1em; margin-inline:.2em; }
.section-bridge-bottom { margin-block:28px 16px; }
.bridge-floral .bridge-flower { font:2.25rem/1 var(--serif); color:#f0d38e; filter:drop-shadow(0 0 9px #d7ac595e); }
.bridge-floral .bridge-line { height:2px; background:linear-gradient(90deg,transparent,#d7bc7c92,transparent); }
.dedication { border:1px solid #ddbc794a; border-radius:20px; background:linear-gradient(145deg,#2049368c,#0a261f66); padding:20px clamp(16px,4vw,30px); margin-block:0 0; box-shadow:inset 0 0 30px #d6b46f0a; }
.dedication-eyebrow { display:block; }
.dedication p { margin-block-start:5px; }
.bridge-arch { margin-block:20px 22px; }
.bridge-arch-icon { font-size:1.8rem; padding-inline:8px; }
.listen-invite { display:flex;align-items:center;gap:23px; background:linear-gradient(115deg,#153b2e,#0c281f); border:1px solid #c8ad7061; border-radius:23px; padding:25px clamp(22px,4vw,42px); box-shadow:0 12px 46px #0004; }
.listen-invite-emblem { flex:none; display:grid;place-items:center; width:76px;height:76px;border-radius:50%;color:#f5d896; font-size:2rem; background:radial-gradient(circle,#345b42,#0c3025);border:1px solid #d5b7778c;box-shadow:0 0 0 7px #d1b06e12; }
.listen-invite-copy { flex:1; }
.listen-invite-copy h2 {font:700 clamp(1.6rem,3vw,2.25rem)/1.4 var(--serif);color:#f5dfa9;margin:4px 0 2px;}
.listen-invite-copy p {color:#e0dbc9;font-size:.9rem;line-height:1.9;max-width:510px;}
.listen-invite-link {display:inline-flex;align-items:center;justify-content:center;min-height:48px;flex:none;gap:10px;text-decoration:none;border-radius:100px;padding:9px 20px;}
/* Scroll reveal is progressive enhancement: content remains visible when JS is disabled. */
.js-motion .reveal-on-scroll { opacity:0;transform:translateY(24px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1); }
.js-motion .reveal-on-scroll.is-visible {opacity:1;transform:none;}
@media(max-width:760px) {
 .memorial-hero {min-height:500px;}
 .memorial-hero::before {background:linear-gradient(#061a17ca,#061a17b5);}
 .memorial-hero .memorial-art {opacity:.62;filter:brightness(1.13);}
 .memorial-hero .memorial-content {padding-block:47px 70px;}
 .fatiha-text {font-size:clamp(1.38rem,5vw,1.78rem); line-height:2.3;}
 .listen-invite {flex-wrap:wrap;justify-content:center;text-align:center;gap:13px;padding:24px 19px;}
 .listen-invite-copy {flex-basis:calc(100% - 100px);text-align:start;}
 .listen-invite-link {width:100%;}
}
@media(max-width:480px) {
 .shell {width:min(100% - 24px,1140px);}
 .header-inner {min-height:70px;}
 .site-header nav a {padding-inline:.49rem;font-size:.8rem;}
 .memorial-hero {border-radius:19px;min-height:470px;}
 .memorial-hero .memorial-content {padding-inline:14px;}
 .memorial-hero .luminous-name {font-size:clamp(2.65rem,10vw,3.75rem);line-height:1.43;}
 .memorial-hero .memorial-label {line-height:1.95;}
 .fatiha-card {padding-inline:14px;}
 .fatiha-text {font-size:clamp(1.24rem,5.4vw,1.52rem);line-height:2.38;}
 .fatiha-text p + p {margin-top:.35rem;}
 .dedication {border-radius:16px;}
 .dedication-symbol {display:none;}
 .listen-invite-emblem {width:55px;height:55px;font-size:1.45rem;}
 .listen-invite-copy {flex-basis:calc(100% - 72px);}
 .listen-invite-copy h2 {font-size:1.35rem;}
 .listen-invite-copy p {font-size:.78rem;}
}
@media(prefers-reduced-motion:reduce) {
 .js-motion .reveal-on-scroll {opacity:1;transform:none;transition:none;}
 .memorial-hero .memorial-art {animation:none;}
}


/* ALULA V5 — content-first layout and reliable accessibility. */
/* Never conceal primary content behind an observer or a scroll animation. */
.js-motion .reveal-on-scroll,
.js-motion .reveal-on-scroll:not(.is-visible) {
  opacity: 1;
  transform: none;
  transition: box-shadow .5s ease, border-color .5s ease;
  visibility: visible;
}
.js-motion .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
.memorial-v2 { display: flex; flex-direction: column; gap: 0; }
.memorial-v2 > .dedication,
.memorial-v2 > .listen-invite { width: min(100%, 970px); align-self: center; }
.memorial-v2 > .section-bridge { flex: 0 0 auto; }
.dedication { min-height: 136px; color: #f5e9d5; background: linear-gradient(130deg,#21503c,#09291f); box-shadow: 0 12px 45px #0003,inset 0 0 22px #dfb86e0a; }
.dedication p { color:#f6ecda; }
.dedication-eyebrow { color:#ecd291; }
.listen-invite { margin-block-end: 16px; min-height: 160px; }
.listen-invite-copy { min-width:0; }
/* Readable native controls in Firefox/Chrome on Kali, even when disabled. */
.player select, .player select:disabled {
  color: #102d24;
  background: #f9f3e5;
  border-color: #cfb77e;
  opacity: 1;
  color-scheme: light;
}
.player select option { background:#f9f3e5; color:#102d24; }
.player select:focus-visible, .search-label input:focus-visible,
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #f3d38e;
  outline-offset: 3px;
}
.player .audio-controls { background:#09241ccc; border-color:#d8c28e65; }
.player .timeline input, .player .volume-controls input { accent-color:#e8c47a; }
.player .times { color: #f6e9cf; }
.player .volume-controls .icon-button { color:#f6e9cf; background:#1a4435; border-color:#d4b77a88; }
.player .volume-controls .icon-button[aria-pressed="true"] {background:#735d36;}
.player-bottom button { color:#f0d08c; }
.player .direct-link { color:#f8dfaa; }
.listening .sura-list { max-height: 420px; }
.listening .sura-row { min-height: 52px; }
.listening .sura-row:hover, .listening .sura-row[aria-current] { background:#e1e9db; }
@media (max-width:760px) {
  .dedication { min-height:auto; }
  .listen-invite { min-height:auto; }
  .player-settings {grid-template-columns:1fr;}
}
@media (prefers-reduced-motion:reduce) {
  .js-motion .reveal-on-scroll { transition:none; }
}
