:root {
  --bg: #f2f5f2;
  --surface: #fff;
  --ink: #13302e;
  --muted: #546663;
  --line: #d5ddd8;
  --accent: #8a6618;
  --brass: #d4af5a;
  --deep: #0e2f2d;
  --on: #e9f0ec;
  --ok: #1f6b4f;
  --okbg: #e3f1ea;
  --err: #b3261e;
  --serif: 'Amiri', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b1d1c;
    --surface: #12292a;
    --ink: #e6eeea;
    --muted: #9db3ad;
    --line: #25403f;
    --accent: #d4af5a;
    --ok: #6ccb9f;
    --okbg: #17382f;
    --err: #ff9a92;
  }
}
:root[data-theme='dark'] {
  --bg: #0b1d1c;
  --surface: #12292a;
  --ink: #e6eeea;
  --muted: #9db3ad;
  --line: #25403f;
  --accent: #d4af5a;
  --ok: #6ccb9f;
  --okbg: #17382f;
  --err: #ff9a92;
}
html[lang='bn'] {
  --serif: 'Noto Serif Bengali', 'Amiri', Georgia, serif;
  --sans: 'Noto Sans Bengali', 'Figtree', system-ui, sans-serif;
}
html[lang='bn'] body {
  line-height: 1.85;
}
html[lang='bn'] h1,
html[lang='bn'] h2 {
  line-height: 1.5;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--header-bg, var(--deep));
  z-index: 30;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--header-bg, var(--deep));
  color: var(--on);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 var(--brand-size, 28px)/1.2 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}
nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
  overflow-x: auto;
}
nav a {
  text-decoration: none;
  opacity: 0.88;
  white-space: nowrap;
}
nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hr {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font: 600 16px var(--sans);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--brass);
  color: #10201e;
  text-decoration: none;
}
.btn:hover {
  filter: brightness(1.07);
}
.btn.d {
  background: var(--deep);
  color: var(--on);
}
.btn.g {
  background: transparent;
  color: var(--on);
  box-shadow: inset 0 0 0 1.5px rgba(233, 240, 236, 0.5);
}
.btn.o {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn.s {
  padding: 7px 14px;
  font-size: 14px;
}
.btn.x {
  background: transparent;
  color: var(--err);
  box-shadow: inset 0 0 0 1.5px var(--err);
}
header .btn {
  padding: 8px 16px;
  font-size: 14px;
}
@media (max-width: 760px) {
  header .cta {
    display: none;
  }
}
.hero-verse-row {
  max-width: 1000px;
  margin: 0 auto;
}
.hero-verse-copy {
  width: 100%;
  min-width: 0;
}
.hero-arrow,
.dua-carousel-arrow {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.hero-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--on);
  opacity: 0.85;
}
.hero-arrow:hover {
  background: var(--brass);
  color: var(--deep);
  transform: scale(1.06);
}
.hero-arrow svg,
.dua-carousel-arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dua-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px;
}
.dua-carousel > .dua-carousel-arrow:first-child {
  grid-column: 1;
  grid-row: 1;
}
.dua-carousel > .dua-track {
  grid-column: 2;
  grid-row: 1;
}
.dua-carousel > .dua-carousel-arrow:last-child {
  grid-column: 3;
  grid-row: 1;
}
.dua-carousel > .dua-track + .car-dots {
  grid-column: 2;
  grid-row: 2;
}
.slide-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ok);
  box-shadow: 0 3px 12px rgba(19, 48, 46, 0.09);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.slide-arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slide-arrow:hover {
  background: var(--ok);
  color: #fff;
  transform: scale(1.06);
}
.car-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px auto 0;
}
.car-controls .car-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
}
.ab-fr {
  position: relative;
}
.ab-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
}
.ab-arrow[data-ab-dir='-1'] {
  left: 10px;
}
.ab-arrow[data-ab-dir='1'] {
  right: 10px;
}
.ab-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}
.about-gallery {
  position: relative;
}
.about-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}
.about-arrow:first-of-type {
  left: 10px;
}
.about-arrow:last-of-type {
  right: 10px;
}
.about-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}
@media (max-width: 760px) {
  .slide-arrow {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .car-controls {
    gap: 8px;
  }
}
.dua-carousel-arrow {
  width: 40px;
  height: 40px;
  background: var(--surface);
  color: var(--ok);
  border-color: var(--line);
  box-shadow: 0 3px 12px rgba(19, 48, 46, 0.09);
}
.dua-carousel-arrow:hover {
  background: var(--ok);
  color: #fff;
  border-color: var(--ok);
  transform: scale(1.06);
}
.hero {
  background: var(--hero-bg, var(--deep));
  color: var(--on);
  text-align: center;
  padding: 80px 0 90px;
}
.verse {
  font:
    400 clamp(32px, 6vw, 62px)/1.7 'Amiri',
    serif;
  margin: 0 auto;
  max-width: 900px;
  color: var(--brass);
}
.ven {
  font: italic 400 19px var(--serif);
  opacity: 0.85;
  margin: 6px 0 0;
}
.hero h1 {
  font: 700 clamp(30px, 4.6vw, 46px)/1.25 var(--serif);
  margin: 40px auto 14px;
  max-width: 700px;
}
.hero p.lead {
  max-width: 560px;
  margin: 0 auto 28px;
  opacity: 0.9;
}
.acts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
section {
  padding: 72px 0;
}
.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
h2 {
  font: 700 clamp(27px, 4vw, 38px)/1.25 var(--serif);
  margin: 0 0 10px;
}
.sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 32px;
}
.svc-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.hero-dots button {
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--on);
  opacity: 0.55;
  cursor: pointer;
  font-size: 18px;
}
.hero-dots button[aria-current='true'] {
  opacity: 1;
  color: var(--brass);
}
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.ab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.ab.flip .ab-l {
  order: 2;
}
.ab-l {
  min-width: 0;
}
.ab-wrap {
  position: relative;
}
.ab-wrap::before,
.ab-wrap::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.ab-fr {
  position: relative;
  z-index: 1;
  aspect-ratio: 1/1.06;
  border-radius: 22px;
  overflow: hidden;
  background: var(--deep);
}
.ab-fr img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity var(--ft) ease,
    transform var(--ft) ease;
}
.ab-fr img.on {
  opacity: 1;
}
.fx-slide img {
  transform: translateX(9%);
}
.fx-zoom img {
  transform: scale(1.14);
}
.fx-slide img.on,
.fx-zoom img.on {
  transform: none;
}
.ab-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brass);
  font: 700 80px var(--serif);
}
.fr-arch .ab-fr {
  border-radius: 999px 999px 22px 22px;
}
.fr-offset::before {
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--ab);
  border-radius: 22px;
}
.fr-corners::before {
  top: -12px;
  left: -12px;
  width: 78px;
  height: 78px;
  border-top: 4px solid var(--ab);
  border-left: 4px solid var(--ab);
  border-radius: 16px 0 0 0;
}
.fr-corners::after {
  bottom: -12px;
  right: -12px;
  width: 78px;
  height: 78px;
  border-bottom: 4px solid var(--ab);
  border-right: 4px solid var(--ab);
  border-radius: 0 0 16px 0;
}
.fr-ring::before {
  top: -34px;
  right: -34px;
  width: 130px;
  height: 130px;
  border: 3px dashed var(--ab);
  border-radius: 50%;
}
.fr-ring::after {
  bottom: -26px;
  left: -26px;
  width: 110px;
  height: 110px;
  background: var(--ab);
  opacity: 0.18;
  border-radius: 50%;
}
.ab-dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
}
.ab-dots button {
  width: 22px;
  height: 22px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  background-clip: content-box;
  cursor: pointer;
}
.ab-dots button[aria-current='true'] {
  background-color: var(--ab);
}
.ab-box {
  margin-top: 12px;
  border: 2px solid var(--ab);
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--bg);
}
.ab-box h3 {
  color: var(--ab);
  text-align: center;
  font: 700 22px var(--serif);
  margin: 0 0 8px;
}
.ab-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 15.5px;
}
.ab-box li {
  padding-inline-start: 26px;
  position: relative;
}
.ab-box li::before {
  content: '\2726';
  position: absolute;
  inset-inline-start: 2px;
  color: var(--ab);
}
.ab-mis {
  margin-top: 48px;
  border-inline-start: 5px solid var(--ab);
  background: var(--surface);
  border-radius: 14px;
  padding: 24px 28px;
}
.ab-mis h3 {
  margin: 0 0 8px;
  color: var(--ab);
  font: 700 24px var(--serif);
}
.ab-mis p {
  margin: 0;
  white-space: pre-line;
  max-width: 760px;
}
.ab-eb {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.ab-h {
  font: 700 clamp(32px, 5vw, 54px)/1.15 var(--serif);
  color: var(--ab);
  margin: 0 0 18px;
}
.ab-bio {
  white-space: pre-line;
  max-width: 560px;
  margin: 0 0 28px;
}
.ab-btn {
  display: inline-block;
  border: 2px solid var(--ab);
  color: var(--ab);
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.ab-btn:hover {
  background: var(--ab);
  color: #fff;
}
.tw-on::after {
  content: '\258D';
  color: var(--ab);
  animation: twb 1s steps(2) infinite;
}
@keyframes twb {
  50% {
    opacity: 0;
  }
}
@media (max-width: 820px) {
  .ab {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ab.flip .ab-l {
    order: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-fr img,
  .ab-btn {
    transition: none;
  }
  .tw-on::after {
    animation: none;
  }
}
.car-dots {
  display: none;
}
@media (max-width: 760px) {
  .car {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .car::-webkit-scrollbar {
    display: none;
  }
  .car > * {
    flex: 0 0 100%;
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .steps.car > li {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
  }
  .car-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 14px;
  }
  .car-dots button {
    width: 24px;
    height: 24px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: var(--line);
    background-clip: content-box;
    cursor: pointer;
    transition:
      background-color 0.2s,
      transform 0.2s;
  }
  .car-dots button[aria-current='true'] {
    background-color: var(--accent);
    transform: scale(1.25);
  }
}
@media (prefers-reduced-motion: reduce) {
  .car-dots button {
    transition: none;
  }
}
.svc,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.band .svc,
.band .card {
  background: var(--bg);
}
.svc h3 {
  font: 700 22px var(--serif);
  margin: 0 0 6px;
}
.svc p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.meta {
  margin-top: 12px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent);
}
.about-gallery .ph {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
}
.about-gallery {
  min-width: 0;
}
.builder-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}
.builder-grid.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.builder-el img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
}
.builder-el p {
  white-space: pre-line;
}
.builder-el h3 {
  font: 700 26px var(--serif);
  margin: 0 0 10px;
}
.builder-image-empty {
  min-height: 240px;
  border-radius: 18px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--muted);
}
@media (max-width: 700px) {
  .builder-grid.split {
    grid-template-columns: 1fr;
  }
}
.steps {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.steps li {
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--brass);
  font: 700 20px var(--serif);
  margin-bottom: 10px;
}
.steps b {
  display: block;
  font: 700 20px var(--serif);
}
.steps span {
  color: var(--muted);
  font-size: 15.5px;
}
.book {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: start;
}
.help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) {
  .book,
  .help {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 56px 0;
  }
  section {
    padding: 54px 0;
  }
}
.lbl {
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 9px;
  display: block;
}
.group {
  margin-bottom: 24px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 14px;
  cursor: pointer;
  font: 500 15px var(--sans);
  text-align: left;
}
.chip[aria-pressed='true'] {
  background: var(--deep);
  color: var(--on);
  border-color: var(--deep);
  box-shadow: inset 0 -3px 0 var(--brass);
}
.chip[disabled] {
  opacity: 0.38;
  text-decoration: line-through;
  cursor: not-allowed;
}
.chip small {
  display: block;
  font-weight: 400;
  opacity: 0.75;
  font-size: 13px;
}
.day {
  min-width: 66px;
  text-align: center;
}
.day b {
  display: block;
  font-size: 20px;
  font-family: var(--serif);
}
input,
select,
textarea {
  width: 100%;
  font: 400 16px var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  margin-bottom: 12px;
}
.card input,
.card select,
.card textarea {
  background: var(--bg);
}
textarea {
  min-height: 90px;
  resize: vertical;
}
input[type='checkbox'],
input[type='radio'] {
  width: auto;
  margin: 0 8px 0 0;
}
input[type='color'] {
  padding: 2px;
  height: 42px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.sum {
  position: sticky;
  top: 88px;
}
.sum h3 {
  font: 700 24px var(--serif);
  margin: 0 0 10px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.row span:first-child {
  color: var(--muted);
}
.row span:last-child {
  font-weight: 600;
  text-align: right;
}
.box {
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  margin-bottom: 12px;
}
.box div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.box span {
  color: var(--muted);
}
.err {
  color: var(--err);
  font-size: 14.5px;
  min-height: 22px;
  margin: 0 0 8px;
}
.note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
small.note {
  display: block;
  margin: 6px 0 12px;
}
.okc {
  border: 1.5px solid var(--ok);
  border-radius: 14px;
  padding: 22px;
  background: var(--surface);
}
.okc h3 {
  font: 700 24px var(--serif);
  color: var(--ok);
  margin: 0 0 6px;
}
.safe {
  background: var(--bg);
  border-inline-start: 4px solid var(--brass);
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 18px;
  font-size: 15.5px;
}
details.fq {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 20px;
}
details.fq summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 600;
}
details.fq p {
  margin: 0 0 15px;
  color: var(--muted);
}
.footlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.footlinks a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
  color: var(--on);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.footlinks span {
  font-weight: 700;
}
footer {
  background: var(--deep);
  color: var(--on);
  padding: 44px 0 30px;
  font-size: 15px;
}
footer .wrap > div:first-child {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
footer b {
  font: 700 21px var(--serif);
  display: block;
  margin-bottom: 6px;
}
footer p {
  margin: 0;
  opacity: 0.85;
  white-space: pre-line;
}
.copy {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.7;
  font-size: 14px;
}
.about {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}
.about .ph {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 18px;
  object-fit: cover;
  background: var(--deep);
  display: grid;
  place-items: center;
  color: var(--brass);
  font: 700 72px var(--serif);
}
.about h3 {
  font: 700 28px var(--serif);
  margin: 0;
}
.about .role {
  color: var(--accent);
  font-weight: 600;
  margin: 2px 0 14px;
}
.about p.bio {
  white-space: pre-line;
  margin: 0 0 16px;
  max-width: 640px;
}
.creds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.creds li {
  padding-inline-start: 26px;
  position: relative;
}
.creds li::before {
  content: '\2713';
  position: absolute;
  inset-inline-start: 0;
  color: var(--ok);
  font-weight: 700;
}
@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about .ph {
    max-width: 260px;
  }
}
.fab {
  position: fixed;
  inset-inline-end: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 25;
}
.fab a {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.fab a:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.fab a:active {
  transform: scale(0.96);
}
.fab .wa {
  background: linear-gradient(145deg, #2fe07a, #1db954 55%, #12a44a);
}
.fab .tel {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #1d5a50, var(--deep));
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1.5px rgba(212, 175, 90, 0.55);
}
.fab svg {
  display: block;
}
.fab .wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: fabring 3.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fabring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fab .wa::after {
    animation: none;
    display: none;
  }
  .fab a {
    transition: none;
  }
}
@media (max-width: 520px) {
  .fab {
    gap: 8px;
    inset-inline-end: 12px;
  }
  .fab a {
    width: 54px;
    height: 54px;
  }
  .fab .tel {
    width: 46px;
    height: 46px;
    margin-inline: 4px;
  }
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cons {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  z-index: 60;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.cons p {
  margin: 0 0 12px;
  font-size: 15px;
}
.cons .tools {
  margin: 0;
}
.ph-up {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ph-up img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}
/* dashboard */
.adm {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 18px 80px;
}
.abar {
  background: var(--deep);
  color: var(--on);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
}
.abar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 15px var(--sans);
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.tabs button[aria-selected='true'] {
  color: var(--ink);
  border-color: var(--brass);
}
.adm h1 {
  font: 700 30px var(--serif);
  margin: 0 0 4px;
}
.adm label {
  font-weight: 600;
  font-size: 14.5px;
  display: block;
  margin-bottom: 5px;
}
.adm label.chk {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin: 0 0 12px;
}
.adm .bn {
  font-family: 'Noto Sans Bengali', var(--sans);
}
details.it {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 18px;
}
details.it summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
}
.tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 16px;
}
.in {
  padding-top: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th,
td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 600;
}
.st {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--okbg);
  color: var(--ok);
}
.st.w {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--accent);
  color: var(--accent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.stat b {
  display: block;
  font: 700 28px var(--serif);
}
.stat span {
  color: var(--muted);
  font-size: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--deep);
  color: var(--on);
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 40;
  display: none;
  max-width: 90%;
}
.toast.on {
  display: block;
}
.menu {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(233, 240, 236, 0.5);
  color: var(--on);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
}
.cta2 {
  display: none;
}
@media (max-width: 760px) {
  .menu {
    display: block;
  }
  header .wrap {
    height: 60px;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--header-bg, var(--deep));
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-height: 70vh;
    overflow: auto;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 13px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .cta2 {
    display: inline-block;
    margin-top: 14px;
    text-align: center;
  }
  .brand {
    font-size: min(var(--brand-size, 28px), 24px);
  }
}
.alink {
  opacity: 0.75;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.shell .adm {
  margin: 0;
  max-width: 980px;
  padding: 24px 22px 80px;
}
.side {
  background: var(--deep);
  color: var(--on);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  height: calc(100vh - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 18px 12px;
}
.side .lg {
  font: 700 21px var(--serif);
  padding: 4px 10px 12px;
  display: block;
}
.side h4 {
  margin: 16px 10px 6px;
  font: 600 13px var(--sans);
  opacity: 0.6;
}
.side button.nv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--on);
  font: 500 15.5px var(--sans);
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.side button.nv:hover {
  background: rgba(255, 255, 255, 0.08);
}
.side button.nv[aria-current='page'] {
  background: var(--brass);
  color: #10201e;
  font-weight: 600;
}
.side .bd {
  background: var(--brass);
  color: #10201e;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 8px;
}
.nv[aria-current='page'] .bd {
  background: #10201e;
  color: var(--brass);
}
.side .bt {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mainc {
  min-width: 0;
}
.atop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 15;
}
.atop b {
  font: 700 22px var(--serif);
  flex: 1;
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}
.scrim {
  display: none;
}
@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: auto;
    width: min(290px, 84vw);
    z-index: 50;
    transform: translateX(-102%);
    transition: transform 0.2s;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
  }
  .side.open {
    transform: none;
  }
  .scrim.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 45;
  }
  .burger {
    display: block;
  }
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--deep);
}
.login .card {
  width: 100%;
  max-width: 400px;
}
.login h1 {
  font: 700 28px var(--serif);
  margin: 0 0 4px;
}
.login label {
  font-weight: 600;
  font-size: 14.5px;
  display: block;
  margin-bottom: 5px;
}
@media (max-width: 700px) {
  .btn {
    min-height: 44px;
  }
  .card {
    padding: 18px;
  }
  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }
  table tr:first-child {
    display: none;
  }
  tr {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 10px;
  }
  td {
    border: 0;
    padding: 5px 0;
  }
  td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 12.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- application form (redesign) ---- */
.apply {
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(14, 47, 45, 0.1);
  border-color: rgba(14, 47, 45, 0.14);
}
.apply .apphead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.apply .apphead b {
  font: 700 22px var(--serif);
}
.apply .seat {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ok);
  background: var(--okbg);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.apply .bar {
  height: 8px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}
.apply .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ok), var(--brass));
  border-radius: 99px;
  min-width: 4px;
}
.apply .freebox {
  background: var(--okbg);
  border-inline-start: 4px solid var(--ok);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 6px;
  font-size: 15px;
}
.apply .freebox b {
  display: block;
  color: var(--ok);
  font-size: 16.5px;
  margin-bottom: 2px;
}
.apply .freebox span {
  color: var(--ink);
}
.apply label {
  display: block;
  font: 600 15.5px var(--sans);
  margin: 18px 0 8px;
}
.apply .opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.apply .opt {
  min-height: 46px;
  border: 1.5px solid #b8c9bf;
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  padding: 9px 16px;
  cursor: pointer;
  font: 500 15.5px var(--sans);
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.1s;
}
.apply .opt:hover:not([disabled]) {
  border-color: var(--deep);
}
.apply .opt:active:not([disabled]) {
  transform: scale(0.97);
}
.apply .opt[aria-checked='true'] {
  background: var(--deep);
  color: var(--on);
  border-color: var(--deep);
  box-shadow: inset 0 -3px 0 var(--brass);
}
.apply .opt[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.apply input,
.apply textarea {
  background: var(--surface);
  min-height: 50px;
  border: 1.5px solid #b8c9bf;
  border-radius: 12px;
  margin-bottom: 4px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.apply textarea {
  min-height: 96px;
}
.apply input:focus,
.apply textarea:focus {
  outline: 0;
  border-color: var(--ok);
  box-shadow: 0 0 0 4px rgba(31, 107, 79, 0.18);
}
.apply .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.apply .btn.d {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  margin-top: 6px;
  box-shadow: 0 8px 20px rgba(14, 47, 45, 0.22);
}
.apply .btn.d:hover:not([disabled]) {
  transform: translateY(-1px);
}
.apply .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.aside {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
.aside h3 {
  font: 700 22px var(--serif);
  margin: 0 0 14px;
}
.aside ol {
  list-style: none;
  counter-reset: a;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.aside li {
  counter-increment: a;
  position: relative;
  padding-inline-start: 46px;
}
.aside li::before {
  content: counter(a);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--brass);
  display: grid;
  place-items: center;
  font: 700 17px var(--serif);
}
.aside li b {
  display: block;
}
.aside li span {
  color: var(--muted);
  font-size: 15px;
}
.aside-free {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--okbg);
  color: var(--ok);
  font-weight: 700;
  border-radius: 12px;
  font-size: 15px;
}
@media (max-width: 820px) {
  .aside {
    position: static;
  }
  .apply {
    padding: 22px 18px;
  }
}

/* ---- v3: country/phone, text grids, mobile polish ---- */
html {
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: clip;
}
img,
video {
  max-width: 100%;
}
.apply .opts.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
}
.apply .opts.cols .opt {
  text-align: center;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apply select {
  background: var(--surface);
  min-height: 50px;
  border: 1.5px solid #b8c9bf;
  border-radius: 12px;
  margin-bottom: 4px;
}
.apply select:focus {
  outline: 0;
  border-color: var(--ok);
  box-shadow: 0 0 0 4px rgba(31, 107, 79, 0.18);
}
.apply .phone {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #b8c9bf;
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  margin-bottom: 4px;
}
.apply .phone:focus-within {
  border-color: var(--ok);
  box-shadow: 0 0 0 4px rgba(31, 107, 79, 0.18);
}
.apply .phone .pfx {
  display: grid;
  place-items: center;
  padding: 0 16px;
  background: var(--okbg);
  color: var(--ok);
  font-weight: 700;
  min-width: 76px;
  border-inline-end: 1.5px solid #b8c9bf;
}
.apply .phone input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  flex: 1;
  min-width: 0;
  background: transparent;
}
.apply .phone input:focus {
  box-shadow: none;
  border: 0;
}
.apply .note {
  line-height: 1.7;
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }
  .apply {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .apply .apphead b {
    font-size: 20px;
  }
  .apply label {
    margin-top: 16px;
  }
  .apply .opts.cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .apply .btn.d {
    position: sticky;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
  }
  section {
    padding: 44px 0;
  }
  .hero {
    padding: 44px 0 52px;
  }
}

/* ---- v4: country code inside the WhatsApp box, service cards ---- */
.apply .phone .cc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--okbg);
  border-inline-end: 1.5px solid #b8c9bf;
  min-width: 104px;
  flex: 0 0 auto;
}
.apply .phone .ccv {
  padding: 0 14px;
  font-weight: 700;
  color: var(--ok);
  pointer-events: none;
  white-space: nowrap;
}
.apply .phone .cc select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 16px;
}
.apply .phone .cc select:focus {
  box-shadow: none;
}
.apply .phone:focus-within .cc {
  background: var(--okbg);
}
.svcpick {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--okbg);
  border: 1.5px solid var(--ok);
  border-radius: 12px;
  padding: 8px 8px 8px 14px;
  margin: 10px 0 0;
}
.svcpick span {
  font-size: 14px;
  color: var(--muted);
}
.svcpick b {
  color: var(--ok);
  flex: 1;
  min-width: 120px;
}
.svcpick .x {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
}
.svc {
  display: flex;
  flex-direction: column;
}
.svc p {
  margin-bottom: 6px;
}
.svc .svc-apply {
  margin-top: auto;
  width: 100%;
  padding: 13px 18px;
  font-size: 16px;
}
.svc h3 {
  margin-top: 2px;
}
html[data-atmosphere='ember'] .svc {
  position: relative;
  min-height: 300px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--brass) 35%, var(--line));
  border-radius: 20px;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--surface) 91%, var(--brass) 9%),
    var(--surface)
  );
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
html[data-atmosphere='ember'] .svc::before {
  content: '';
  position: absolute;
  inset: 0 18px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), var(--ember), transparent);
  opacity: 0.78;
}
html[data-atmosphere='ember'] .svc:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.32),
    0 0 26px color-mix(in srgb, var(--ember) 14%, transparent);
}
html[data-atmosphere='ember'] .svc-photo {
  height: 164px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--brass) 28%, transparent);
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  html[data-atmosphere='ember'] .svc {
    transition: none;
  }
  html[data-atmosphere='ember'] .svc:hover {
    transform: none;
  }
}
@media (max-width: 520px) {
  .apply .phone .cc {
    min-width: 96px;
  }
}

.dua-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 2px 2px 8px;
}
.dua-track::-webkit-scrollbar {
  display: none;
}
.dua-track > * {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  height: 350px;
  min-height: 350px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.dua-track .dua-card {
  display: flex;
  height: 350px;
  min-height: 350px;
  padding: 20px;
}
.dua-track .dua-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.dua-track .dua-kind {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--okbg);
  color: var(--ok);
  font-size: 12px;
  margin: 0 0 10px;
}
.dua-track .dua-actions {
  margin-top: auto;
  padding: 8px 0;
}
.dua-track + .car-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 12px;
}
.dua-track + .car-dots button {
  width: 26px;
  height: 26px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  background-clip: content-box;
  cursor: pointer;
}
.dua-track + .car-dots button[aria-current='true'] {
  background-color: var(--ok);
  transform: scale(1.2);
}
@media (max-width: 760px) {
  .dua-carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 5px;
  }
  .dua-carousel-arrow {
    width: 34px;
    height: 34px;
  }
  .hero-verse-row {
    padding: 0 42px;
  }
  .dua-track > * {
    flex-basis: 100% !important;
    height: 330px;
    min-height: 330px;
  }
  .dua-track .dua-card {
    height: 330px;
    min-height: 330px;
  }
}
.dua-groups {
  display: grid;
  gap: 34px;
}
.dua-group h3 {
  font: 700 24px/1.4 var(--serif);
  margin: 0 0 14px;
}
.dua-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: stretch;
}
.dua-card {
  min-height: 100%;
  padding: 20px;
}
.dua-card h3 {
  margin-bottom: 8px;
}
.dua-summary {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.7;
}
.dua-actions {
  margin-top: 14px;
}
.dua-detail-link {
  font-weight: 700;
  color: var(--ok);
  text-underline-offset: 3px;
}
.dua-detail .dua-card {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 36px);
}
.dua-detail .dua-ar {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 2.1;
}
.dua-detail .dua-meaning {
  font-size: 18px;
}
.dua-back {
  margin-top: 20px;
}
.dua-library {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(250px, 330px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  min-height: 650px;
}
.dua-pane {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.dua-categories {
  padding: 20px 14px;
}
.dua-pane-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.dua-pane-title h3 {
  font: 700 17px var(--sans);
  letter-spacing: 0.04em;
  margin: 0;
}
.dua-category-list {
  display: grid;
  gap: 4px;
}
.dua-category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: start;
  font: 500 14px/1.55 var(--sans);
  cursor: pointer;
}
.dua-category-btn:hover,
.dua-category-btn[aria-current='true'] {
  background: var(--okbg);
  color: var(--ok);
}
.dua-count {
  flex: none;
  color: var(--muted);
  font-size: 12px;
}
.dua-listpane {
  display: flex;
  flex-direction: column;
  padding: 16px;
  min-height: 650px;
}
.dua-filterbar {
  display: flex;
  gap: 3px;
  align-self: flex-start;
  padding: 4px;
  border-radius: 999px;
  background: var(--okbg);
  margin-bottom: 14px;
}
.dua-filter {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--muted);
  font: 500 13px var(--sans);
  cursor: pointer;
}
.dua-filter[aria-pressed='true'] {
  background: var(--ok);
  color: #fff;
}
.dua-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.dua-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 10px 12px;
  font: 14px var(--sans);
}
.dua-search button {
  border: 0;
  border-radius: 12px;
  background: var(--deep);
  color: var(--on);
  padding: 0 14px;
  cursor: pointer;
}
.dua-mobile-category {
  display: none;
  margin-bottom: 12px;
}
.dua-mobile-category select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 10px;
  font: 14px var(--sans);
}
.dua-results {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  max-height: 540px;
  padding-inline-end: 3px;
}
.dua-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font: 500 14px/1.5 var(--sans);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.dua-item:hover,
.dua-item[aria-current='true'] {
  border-color: var(--ok);
  background: var(--okbg);
  color: var(--ok);
}
.dua-item-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--okbg);
  color: var(--ok);
}
.dua-reader {
  display: flex;
  flex-direction: column;
  min-height: 650px;
}
.dua-reader-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.dua-reader-head button {
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.dua-reader-head button:hover {
  background: var(--okbg);
  color: var(--ok);
}
.dua-reader-content {
  overflow: auto;
  padding: 22px 24px;
  max-height: 620px;
}
.dua-reader-content .dua-card {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 0;
  box-shadow: none;
}
.dua-reader-content .dua-card h3 {
  font-size: 25px;
  margin: 0 0 20px;
}
.dua-reader-content .dua-ar {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 2.25;
  padding: 22px;
  margin-bottom: 20px;
}
.dua-reader-content .dua-meaning {
  font-size: 17px;
  line-height: 1.9;
}
.dua-reader-content .dua-audio {
  margin-top: 28px;
  padding-top: 18px;
}
.dua-reader-content .dua-detail-link {
  display: none;
}
.dua-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 960px) {
  .dua-library {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    min-height: 0;
  }
  .dua-categories {
    display: none;
  }
  .dua-listpane,
  .dua-reader {
    min-height: 620px;
  }
  .dua-mobile-category {
    display: block;
  }
}
@media (max-width: 680px) {
  .dua-library {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dua-listpane {
    min-height: 0;
    padding: 13px;
  }
  .dua-results {
    max-height: none;
    overflow: visible;
  }
  .dua-item {
    min-height: 60px;
  }
  .dua-reader {
    display: none;
  }
  .dua-filter {
    padding: 8px 12px;
  }
  .dua-mobile-category {
    display: block;
  }
}
@media print {
  header,
  footer,
  .dua-categories,
  .dua-listpane,
  .dua-reader-head,
  .dua-back {
    display: none !important;
  }
  .dua-library {
    display: block;
  }
  .dua-reader,
  .dua-pane {
    display: block;
    border: 0;
    min-height: 0;
  }
  .dua-reader-content {
    max-height: none;
    overflow: visible;
  }
  .dua-reader-content .dua-card {
    display: block;
  }
}

.dua-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}
.dua-card h3 {
  margin: 0 0 14px;
  font: 700 22px/1.45 var(--serif);
  color: var(--ink);
}
.dua-ar {
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--okbg);
  color: var(--deep);
  font: 500 clamp(23px, 3vw, 30px)/2 var(--serif);
  text-align: right;
}
.dua-translit {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}
.dua-meaning {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-line;
}
.dua-source {
  margin: 0 0 10px;
}
.dua-audio {
  margin-top: auto;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.dua-audio strong {
  display: block;
  color: var(--deep);
  font-size: 14px;
}
.dua-audio audio,
.audio-up audio {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
}
.audio-up {
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--okbg);
}
.audio-up input[type='file'] {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.audio-up .note {
  margin: 6px 0 0;
}
/* ---- About মডেল: Royal / Story / Bento ---- */
.ab-chips {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ab-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid color-mix(in srgb, var(--ab, var(--accent)) 55%, transparent);
}
.ab-chips li::before {
  content: '\2726';
  color: var(--ab, var(--accent));
  font-size: 12px;
}
.ab-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 54px;
}
.ab-stats > div {
  text-align: center;
  padding: 22px 14px;
  border-radius: 18px;
}
.ab-stats b {
  display: block;
  font: 700 clamp(32px, 4.4vw, 46px)/1.1 var(--serif);
  color: var(--ab, var(--accent));
}
.ab-stats span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  opacity: 0.85;
}
.ab-quote {
  margin: 54px auto 0;
  max-width: 820px;
  text-align: center;
  position: relative;
  padding: 34px 8px 0;
}
.ab-quote::before {
  content: '\201C';
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  font: 700 120px/1 var(--serif);
  color: var(--ab, var(--accent));
  opacity: 0.35;
}
.ab-quote blockquote {
  margin: 0;
  font: 400 clamp(21px, 2.8vw, 28px)/1.75 var(--serif);
  white-space: pre-line;
}
.ab-quote figcaption {
  margin-top: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: var(--ab, var(--accent));
}
/* Royal */
.ab-royal {
  --ab: var(--brass);
  position: relative;
  color: var(--on);
  padding: 92px 0 84px;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(212, 175, 90, 0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(212, 175, 90, 0.12), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--deep) 86%, #fff 14%), var(--deep));
  overflow: hidden;
}
.ab-royal::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23D4AF5A' stroke-width='1.2'%3E%3Cpath d='M36 4l8 20 20-8-8 20 20 8-20 8 8 20-20-8-8 20-8-20-20 8 8-20-20-8 20-8-8-20 20 8z'/%3E%3C/svg%3E");
}
.ab-royal::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ab), transparent);
}
.ab-royal .wrap {
  position: relative;
  z-index: 1;
}
.r-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 46px;
}
.r-orn {
  color: var(--ab);
  font-size: 22px;
  line-height: 1;
}
.r-top .ab-eb {
  margin: 0;
  color: var(--ab);
  letter-spacing: 0.14em;
  font-size: 15px;
}
.r-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.r-ph {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.r-arch {
  position: relative;
  padding: 12px;
  border-radius: 999px 999px 26px 26px;
  border: 1.5px solid var(--ab);
  box-shadow:
    0 0 0 8px rgba(212, 175, 90, 0.1),
    0 30px 60px rgba(0, 0, 0, 0.35);
}
.r-arch .ab-fr {
  aspect-ratio: 1/1.22;
  border-radius: 999px 999px 16px 16px;
  background: #0a2422;
}
.r-plaque {
  position: relative;
  margin: -30px auto 0;
  width: 84%;
  text-align: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ab), color-mix(in srgb, var(--ab) 70%, #fff 30%));
  color: #10201e;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  z-index: 3;
}
.r-plaque b {
  display: block;
  font: 700 22px/1.4 var(--serif);
}
.r-plaque span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}
.r-tx .ab-h {
  color: var(--ab);
  font-size: clamp(30px, 4.4vw, 48px);
}
.r-tx .ab-bio {
  max-width: none;
  opacity: 0.92;
  font-size: 17.5px;
}
.ab-royal .ab-chips li {
  border-color: rgba(212, 175, 90, 0.45);
  background: rgba(255, 255, 255, 0.04);
}
.ab-royal .ab-btn {
  background: var(--ab);
  color: #10201e;
}
.ab-royal .ab-btn:hover {
  background: transparent;
  color: var(--ab);
}
.ab-royal .ab-stats > div {
  border: 1px solid rgba(212, 175, 90, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.ab-royal .ab-quote blockquote {
  color: var(--on);
}
/* Royal section: clean white background, without the green tint or pattern */
.ab-royal {
  color: var(--ink);
  background: #fff;
  background-image: none;
}
.ab-royal::before,
.ab-royal::after {
  display: none;
}
.ab-royal .r-top .ab-eb,
.ab-royal .r-tx .ab-h {
  color: var(--deep);
}
.ab-royal .r-tx .ab-bio,
.ab-royal .ab-quote blockquote {
  color: var(--ink);
}
.ab-royal .ab-chips li {
  color: var(--ink);
  background: #fff;
  border-color: color-mix(in srgb, var(--deep) 35%, #fff);
}
.ab-royal .ab-chips li::before {
  color: var(--deep);
}
.ab-royal .ab-stats > div {
  background: #fff;
  border-color: color-mix(in srgb, var(--deep) 25%, #fff);
}
/* Story */
.ab-story {
  --ab: var(--accent);
}
.s-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}
.s-ph {
  position: relative;
  padding: 0 0 38px 0;
}
.s-back {
  position: absolute;
  z-index: 0;
  left: -18px;
  top: 26px;
  right: 34px;
  bottom: 12px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--ab), color-mix(in srgb, var(--ab) 35%, transparent));
  opacity: 0.28;
}
.s-fr {
  aspect-ratio: 1/1.1;
  border-radius: 30px 30px 120px 30px;
  box-shadow: 0 24px 50px rgba(14, 47, 45, 0.22);
}
.s-card {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: 0;
  max-width: 78%;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(14, 47, 45, 0.2);
  border-inline-start: 5px solid var(--ab);
}
.s-card b {
  display: block;
  font: 700 21px/1.4 var(--serif);
}
.s-card span {
  color: var(--muted);
  font-size: 14.5px;
}
.s-tx .ab-eb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ab);
  letter-spacing: 0.1em;
}
.s-tx .ab-eb i {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--ab);
}
.s-tx .ab-h {
  color: var(--ink);
}
.s-tx .ab-bio {
  max-width: none;
}
.s-tx .ab-bio::first-letter {
  float: left;
  font: 700 3.6em/0.85 var(--serif);
  color: var(--ab);
  padding: 6px 10px 0 0;
}
html[lang='bn'] .s-tx .ab-bio::first-letter {
  font-size: 3em;
}
.ab-story .ab-chips li {
  background: var(--surface);
}
.ab-story .ab-btn {
  background: var(--ab);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ab) 35%, transparent);
}
.ab-story .ab-btn:hover {
  filter: brightness(1.08);
  color: #fff;
}
.ab-story .ab-stats > div {
  background: var(--surface);
  border: 1px solid var(--line);
}
/* Bento */
.ab-bento {
  --ab: var(--accent);
}
.ab-bento .ab-eb {
  color: var(--ab);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.ab-bento .ab-h {
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 28px;
}
.bn-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.bn-t {
  border-radius: 24px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.bn-photo {
  grid-column: 1/3;
  grid-row: 1/4;
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 380px;
}
.bn-photo .ab-fr {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}
.bn-id {
  grid-column: 3/7;
  background: linear-gradient(135deg, var(--deep), color-mix(in srgb, var(--deep) 70%, var(--ab)));
  color: var(--on);
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bn-id span {
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.06em;
  font-size: 14.5px;
}
.bn-id h3 {
  margin: 4px 0 0;
  font: 700 clamp(26px, 3.4vw, 38px)/1.3 var(--serif);
}
.bn-bio {
  grid-column: 3/7;
}
.bn-bio .ab-bio {
  max-width: none;
  margin: 0 0 18px;
}
.bn-bio .ab-btn {
  background: var(--ab);
  color: #fff;
}
.bn-bio .ab-btn:hover {
  filter: brightness(1.08);
  color: #fff;
}
.bn-cr {
  grid-column: 3/5;
}
.bn-mi {
  grid-column: 5/7;
  background: color-mix(in srgb, var(--ab) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--ab) 40%, var(--line));
}
.bn-t h4 {
  margin: 0 0 12px;
  font: 700 19px var(--serif);
  color: var(--ab);
}
.bn-cr .ab-chips {
  flex-direction: column;
  margin: 0;
  gap: 8px;
}
.bn-cr .ab-chips li {
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: 15px;
  align-items: flex-start;
}
.bn-mi p {
  margin: 0;
  font: 400 18px/1.8 var(--serif);
  white-space: pre-line;
}
.bn-st {
  grid-column: span 2;
  text-align: center;
}
.bn-st b {
  display: block;
  font: 700 clamp(34px, 4.6vw, 50px)/1.1 var(--serif);
  color: var(--ab);
}
.bn-st span {
  color: var(--muted);
}
@media (max-width: 900px) {
  .r-grid,
  .s-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .bn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bn-photo {
    grid-column: 1/3;
    grid-row: auto;
    min-height: 340px;
  }
  .bn-id,
  .bn-bio,
  .bn-cr,
  .bn-mi {
    grid-column: 1/3;
  }
  .bn-st {
    grid-column: span 1;
  }
  .bn-st:last-child {
    grid-column: 1/3;
  }
  .ab-royal {
    padding: 68px 0;
  }
  .s-card {
    right: 6px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .r-arch {
    transition: box-shadow 0.4s;
  }
  .r-arch:hover {
    box-shadow:
      0 0 0 12px rgba(212, 175, 90, 0.14),
      0 34px 70px rgba(0, 0, 0, 0.4);
  }
  .bn-t {
    transition:
      transform 0.25s,
      box-shadow 0.25s;
  }
  .bn-t:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(14, 47, 45, 0.12);
  }
  .bn-photo:hover {
    transform: none;
  }
}
/* ---- Dashboard: সেভ স্ট্যাটাস, ব্যাখ্যা, মডেল বাছাই ---- */
.svst {
  font-size: 13.5px;
  font-weight: 600;
  margin-inline-start: auto;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  max-width: 48vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svst.ok {
  color: var(--ok);
  background: var(--okbg);
}
.svst.dirty {
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.svst.busy {
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.svst.bad {
  color: #fff;
  background: var(--err);
  white-space: normal;
  max-width: min(60vw, 560px);
}
.atop .btn.s[disabled] {
  opacity: 0.5;
  cursor: default;
}
.atop b {
  flex: 0 1 auto !important;
}
.hlp {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 14px 0 6px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.hlp i {
  font-style: normal;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--okbg);
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}
.tabintro {
  background: var(--okbg);
  border-inline-start: 4px solid var(--ok);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.7;
}
.tabintro b {
  display: block;
  color: var(--ok);
  margin-bottom: 2px;
}
.mdls {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin: 10px 0 6px;
}
.mdl {
  display: block;
  text-align: left;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  font: 500 14px var(--sans);
}
.mdl svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.mdl b {
  display: block;
  font-size: 14.5px;
}
.mdl span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 2px;
}
.mdl[aria-pressed='true'] {
  border-color: var(--ok);
  box-shadow: 0 0 0 3px rgba(31, 107, 79, 0.2);
}
.mdl[aria-pressed='true'] b::after {
  content: ' ✓';
  color: var(--ok);
}
@media (max-width: 600px) {
  .svst {
    max-width: 34vw;
    font-size: 12px;
    padding: 4px 8px;
  }
  .atop > span.note {
    display: none;
  }
}

/* Soft spiritual mist and floating light canvas */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.34;
  contain: strict;
}
@media (max-width: 760px) {
  #ambientCanvas {
    opacity: 0.24;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ambientCanvas {
    opacity: 0.18;
  }
}

.blog-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 48px auto 88px;
}
.blog-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px 54px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(
      ellipse at 50% 0,
      color-mix(in srgb, var(--brass) 20%, transparent),
      transparent 62%
    ),
    linear-gradient(145deg, var(--surface), var(--bg));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
}
.blog-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.blog-hero h1 {
  margin: 14px 0;
  font: 700 clamp(2.2rem, 5vw, 3.8rem)/1.2 var(--serif);
  color: var(--ink);
}
.blog-hero p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.blog-ornament {
  position: absolute;
  right: 7%;
  top: 10%;
  font-size: 3rem;
  color: var(--brass);
  opacity: 0.2;
}
.blog-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 20px;
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 520px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.blog-search span {
  font-size: 1.45rem;
  color: var(--accent);
}
.blog-search input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.blog-tools select {
  width: auto;
  min-width: 180px;
  margin: 0;
}
.blog-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}
.blog-card-media {
  height: 210px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep), var(--surface));
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-media-icon {
  font-size: 3.2rem;
  color: var(--brass);
  opacity: 0.85;
}
.blog-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 5px 11px;
  background: color-mix(in srgb, var(--deep) 9%, var(--surface));
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.blog-card-media .blog-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(8, 24, 22, 0.82);
  color: #f6e8bd;
}
.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px;
}
.blog-card-body small,
.blog-date {
  color: var(--muted);
  font-size: 0.82rem;
}
.blog-card-body h2 {
  margin: 9px 0;
  font: 700 1.2rem/1.5 var(--serif);
}
.blog-card-body p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
}
.blog-empty {
  padding: 62px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.blog-empty > span {
  font-size: 2rem;
  color: var(--brass);
}
.blog-empty h2 {
  font: 700 1.5rem var(--serif);
}
.blog-empty p {
  color: var(--muted);
}
.blog-detail {
  max-width: 850px;
}
.blog-back {
  display: inline-block;
  margin: 0 0 20px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.blog-detail-head {
  margin: 0 0 26px;
}
.blog-detail-head h1 {
  font: 700 clamp(2rem, 5vw, 3.2rem)/1.3 var(--serif);
  margin: 14px 0;
}
.blog-detail-head p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}
.blog-detail-cover,
.blog-detail-video {
  display: block;
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: 20px;
  margin: 22px 0;
  background: #091412;
}
.blog-content {
  font: 400 1.1rem/2 var(--serif);
  color: var(--ink);
  white-space: normal;
  margin: 28px auto 36px;
}
.blog-no-results {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}
.blog-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.blog-admin-head h2,
.blog-editor h2 {
  margin: 0 0 8px;
}
.blog-admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.blog-admin-row h3 {
  margin: 8px 0 4px;
}
.blog-admin-row p {
  margin: 0;
  color: var(--muted);
}
.blog-admin-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.blog-badge.is-live {
  background: #e3f3e8;
  color: #17653b;
}
.blog-badge.is-draft {
  background: #fff1d8;
  color: #845500;
}
.blog-danger {
  background: #9a3030 !important;
  color: #fff !important;
}
.blog-editor {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.blog-editor label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}
.blog-editor textarea {
  min-height: 84px;
}
.blog-upload-preview {
  display: block;
  max-width: 220px;
  max-height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 8px;
}
.blog-editor .tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-admin .card {
  margin-bottom: 16px;
}
@media (max-width: 800px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-card-media {
    height: 180px;
  }
}
@media (max-width: 560px) {
  .blog-wrap {
    width: calc(100% - 28px);
    margin: 24px auto 58px;
  }
  .blog-hero {
    padding: 48px 18px 40px;
    border-radius: 20px;
  }
  .blog-tools {
    flex-wrap: wrap;
  }
  .blog-search {
    flex-basis: 100%;
    max-width: none;
  }
  .blog-tools select {
    flex: 1;
  }
  .blog-count {
    margin-left: auto;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .blog-card-media {
    height: 220px;
  }
  .blog-admin-head,
  .blog-admin-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-admin-actions {
    width: 100%;
  }
  .blog-detail-cover,
  .blog-detail-video {
    border-radius: 14px;
  }
}

.blog-home-grid {
  width: 100%;
  margin: 0 auto;
}
.blog-home-grid .blog-card {
  min-height: 100%;
}
.blog-home-grid .blog-card-media {
  height: 190px;
}
.blog-home-more {
  text-align: center;
  margin-top: 26px;
}
.blog-home-more .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 760px) {
  .blog-home-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82%, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .blog-home-grid::-webkit-scrollbar {
    display: none;
  }
  .blog-home-grid .blog-card {
    scroll-snap-align: center;
  }
}

/* Cinematic charcoal and ember atmosphere, with the page content kept above the smoke layer. */
body {
  position: relative;
  isolation: isolate;
}
#app {
  position: relative;
  z-index: auto;
}
.wrap,
#app .blog-wrap {
  position: relative;
  z-index: 2;
}
#ambientCanvas {
  z-index: 1;
  opacity: var(--smoke-opacity, 0.78);
}
@media (max-width: 760px) {
  #ambientCanvas {
    opacity: 0.62;
  }
}
html[data-atmosphere='ember'] body {
  background:
    radial-gradient(
      ellipse 72% 42% at 8% 8%,
      color-mix(in srgb, var(--ember) 13%, transparent),
      transparent 74%
    ),
    radial-gradient(
      ellipse 55% 38% at 96% 28%,
      color-mix(in srgb, var(--brass) 8%, transparent),
      transparent 75%
    ),
    radial-gradient(ellipse 62% 42% at 46% 88%, rgba(83, 31, 42, 0.22), transparent 74%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--deep) 16%, var(--bg)));
  color: var(--ink);
}
html[data-atmosphere='ember'] body::after {
  content: '';
  position: fixed;
  z-index: 0;
  inset: auto 0 0;
  height: min(58vh, 560px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 7% 100%, rgba(146, 16, 31, 0.36), transparent 54%),
    radial-gradient(ellipse at 91% 100%, rgba(118, 13, 27, 0.33), transparent 55%),
    radial-gradient(ellipse at 52% 100%, rgba(52, 20, 24, 0.25), transparent 70%);
  animation: ruhaniSmokeDrift 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes ruhaniSmokeDrift {
  0% {
    transform: translate3d(-1.2%, 14px, 0) scaleY(0.92);
    opacity: 0.68;
  }
  100% {
    transform: translate3d(1.2%, -22px, 0) scaleY(1.08);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-atmosphere='ember'] body::after {
    animation: none;
    will-change: auto;
  }
}
html[data-atmosphere='ember'] header {
  background: var(--header-bg, var(--deep));
  color: var(--on);
}
html[data-atmosphere='ember'] .hero:not(.cinematic-hero) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 4% 100%, rgba(131, 15, 29, 0.27), transparent 43%),
    radial-gradient(ellipse at 97% 98%, rgba(111, 12, 24, 0.24), transparent 45%),
    linear-gradient(180deg, rgba(5, 4, 5, 0.96), rgba(13, 7, 9, 0.86) 58%, rgba(9, 6, 7, 0.94)),
    var(--hero-bg, var(--deep));
  color: var(--on);
}
html[data-atmosphere='ember'] section.band {
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--surface) 92%, var(--ember) 8%),
    color-mix(in srgb, var(--surface) 96%, var(--deep) 4%)
  );
  border-block: 1px solid color-mix(in srgb, var(--brass) 18%, var(--line));
}
html[data-atmosphere='ember'] .ab-royal {
  background: linear-gradient(135deg, rgba(18, 10, 12, 0.9), rgba(29, 12, 16, 0.86)) !important;
  color: var(--ink);
  border-color: var(--line);
}
html[data-atmosphere='ember'] .ab-royal .ab-eb {
  color: var(--brass) !important;
}
html[data-atmosphere='ember'] #app h1,
html[data-atmosphere='ember'] #app h2,
html[data-atmosphere='ember'] #app h3 {
  color: var(--ink) !important;
}
html[data-atmosphere='ember'] #app strong,
html[data-atmosphere='ember'] #app b {
  color: var(--ink) !important;
}
html[data-atmosphere='ember'] #app section button:not(.btn) {
  color: var(--brass) !important;
  background: var(--surface);
  border-color: var(--line);
}
html[data-atmosphere='ember'] #app .ab-btn {
  background: linear-gradient(
    135deg,
    var(--ember),
    color-mix(in srgb, var(--ember) 78%, #240d12)
  ) !important;
  color: #fff8ec !important;
  border: 1px solid var(--brass) !important;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ember) 28%, transparent);
}
html[data-atmosphere='ember'] .ab-royal .ab-chips li {
  color: #f4eee5;
  background: rgba(10, 8, 10, 0.64);
  border-color: color-mix(in srgb, var(--brass) 48%, transparent);
}
html[data-atmosphere='ember'] .ab-royal .ab-chips li::before {
  color: var(--brass);
}
html[data-atmosphere='ember'] .card,
html[data-atmosphere='ember'] .blog-card {
  border-color: var(--line);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(105, 14, 28, 0.07);
}
html[data-atmosphere='ember'] .hero .btn:not(.g),
html[data-atmosphere='ember'] .btn:not(.g):not(.o):not(.x) {
  background: linear-gradient(135deg, #9d1d2a, #650f19);
  color: #fff8ec;
  box-shadow:
    0 0 24px rgba(165, 19, 34, 0.27),
    inset 0 0 0 1px rgba(231, 190, 117, 0.65);
}
html[data-atmosphere='ember'] .hero .btn.g,
html[data-atmosphere='ember'] header .btn.g {
  box-shadow: inset 0 0 0 1px rgba(223, 190, 125, 0.78);
  color: #f4e8d6;
}
html[data-atmosphere='ember'] .verse,
html[data-atmosphere='ember'] h2 {
  text-shadow: 0 2px 22px rgba(173, 31, 41, 0.14);
}
html[data-atmosphere='off'] #ambientCanvas {
  opacity: 0;
}
html[data-atmosphere='off'] body::after {
  display: none;
}
/* Reference-inspired cinematic header and hero, configured from the dashboard. */
.cinematic-header {
  background: var(--header-bg, #080708);
  color: #f7f0e5;
  border-bottom: 1px solid color-mix(in srgb, var(--ember, #a51e24) 78%, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}
.cinematic-header .cinematic-nav-wrap {
  max-width: 1500px;
  width: 100%;
  height: 88px;
  padding: 10px 24px;
  gap: clamp(10px, 1.25vw, 22px);
}
.cinematic-brand {
  min-width: 250px;
  max-width: 430px;
  gap: 12px;
  white-space: normal;
  color: #f7f0e5;
  text-decoration: none;
}
.cinematic-brand img,
.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  object-fit: contain;
  border: 1px solid rgba(211, 174, 105, 0.6);
  border-radius: 50% 50% 12px 12px;
  background: radial-gradient(circle at 50% 25%, rgba(225, 192, 125, 0.26), rgba(0, 0, 0, 0.55));
  color: #e4c27c;
  font: 700 26px/1 var(--serif);
  box-shadow: 0 0 18px rgba(206, 47, 40, 0.22);
}
.cinematic-brand .brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.cinematic-brand .brand-copy strong {
  font: 700 clamp(17px, var(--brand-size, 26px), 29px)/1.18 var(--serif);
  letter-spacing: 0.025em;
  white-space: normal;
}
.cinematic-brand .brand-copy small {
  margin-top: 3px;
  color: #d9bf89;
  font: 600 10px/1.35 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: normal;
}
.cinematic-header .cinema-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.9vw, 16px);
  flex: 1;
  overflow: visible;
  white-space: nowrap;
  font-size: 14px;
}
.cinematic-header .cinema-link,
.cinematic-header .cinema-dropdown summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 9px;
  border-radius: 999px;
  color: #f3ebdd;
  text-decoration: none;
  opacity: 0.91;
  cursor: pointer;
  transition:
    color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}
.cinematic-header .cinema-link:hover,
.cinematic-header .cinema-dropdown summary:hover,
.cinematic-header .cinema-dropdown[open] summary {
  color: #f3c879;
  background: rgba(146, 32, 34, 0.25);
  box-shadow: 0 0 18px rgba(196, 29, 34, 0.2);
  text-decoration: none;
}
.cinema-icon {
  display: inline-grid;
  place-items: center;
  color: #d8ba78;
  font-size: 17px;
  line-height: 1;
  min-width: 16px;
}
.cinema-dropdown {
  position: relative;
  display: block;
}
.cinematic-header .cinema-dropdown summary {
  list-style: none;
}
.cinema-dropdown summary::-webkit-details-marker {
  display: none;
}
.dropdown-chevron {
  margin-left: 1px;
  color: #d7be8b;
  font-size: 13px;
  transition: transform 0.18s;
}
.cinema-dropdown[open] .dropdown-chevron {
  transform: rotate(180deg);
}
.cinema-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 50;
  min-width: 230px;
  max-width: 320px;
  padding: 9px;
  background: rgba(12, 9, 10, 0.98);
  border: 1px solid rgba(209, 174, 104, 0.42);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}
.cinema-menu-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #f4ebdd;
  text-decoration: none;
  white-space: normal;
}
.cinema-menu-link:hover {
  background: rgba(176, 37, 40, 0.24);
  color: #f4cb7c;
  text-decoration: none;
}
.cinema-menu-empty {
  display: block;
  padding: 10px;
  color: #cdbfa9;
  font-size: 13px;
}
.cinematic-header .appointment-cta {
  border: 1px solid #d7b975;
  background: linear-gradient(125deg, var(--ember, #a51e24), #5d1118);
  color: #fff7e9;
  box-shadow: 0 0 17px rgba(160, 25, 30, 0.26);
  white-space: nowrap;
}
.cinematic-header .appointment-cta:hover {
  filter: brightness(1.16);
  box-shadow: 0 0 24px rgba(205, 50, 46, 0.42);
}
.cinematic-header .lang-toggle {
  border-color: rgba(221, 192, 132, 0.55);
  box-shadow: inset 0 0 0 1px rgba(221, 192, 132, 0.25);
  border-radius: 999px;
}
.cinematic-header .menu {
  border-color: rgba(221, 192, 132, 0.55);
  color: #f5ebdd;
}
.classic-header {
  background: var(--header-bg, var(--deep));
  color: var(--on);
}
html[data-atmosphere='ember'] .hero.cinematic-hero,
html[data-atmosphere='off'] .hero.cinematic-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(760px, calc(100svh - 88px));
  padding: clamp(46px, 6vw, 86px) 0 72px;
  background-color: var(--hero-bg, #10090d);
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 4, 6, 0.18) 0%,
      rgba(7, 5, 8, var(--scene-overlay, 0.42)) 47%,
      rgba(5, 4, 6, 0.62) 100%
    ),
    var(--hero-block-image, var(--scene-image, url('/images/ruqyah-hero-background-clean.jpg')));
  background-size: cover;
  background-position: center;
  color: #fff8ef;
}
html[data-scene='off'] .hero.cinematic-hero {
  background-image:
    radial-gradient(ellipse at 15% 90%, rgba(142, 22, 31, 0.24), transparent 45%),
    linear-gradient(120deg, #090708, var(--hero-bg, #160c10));
}
.hero.cinematic-hero > .wrap {
  z-index: 2;
  max-width: 1450px;
}
.cinematic-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(44px, 7vw, 120px);
}
.hero-portrait-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  margin: 0 0 26px;
  padding: 9px;
  border: 1px solid rgba(228, 189, 111, 0.62);
  border-radius: 50% 50% 9px 9px;
  background: linear-gradient(145deg, rgba(205, 162, 81, 0.2), rgba(26, 10, 13, 0.3));
  box-shadow:
    0 0 0 8px rgba(4, 4, 5, 0.18),
    0 0 36px rgba(204, 39, 40, 0.25);
}
.hero-portrait-frame {
  overflow: hidden;
  border: 2px solid rgba(215, 176, 100, 0.78);
  border-radius: 50% 50% 5px 5px;
  background: #09080a;
}
.hero-portrait {
  display: block;
  width: 100%;
  height: clamp(350px, 43vw, 570px);
  max-height: 570px;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.86) contrast(1.04);
}
.hero-portrait-empty {
  display: grid;
  place-items: center;
  color: #d7b975;
  font: 700 96px var(--serif);
}
.hero-name-card {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 13px 14px 12px;
  text-align: center;
  color: #f3d08b;
  background: linear-gradient(135deg, rgba(14, 9, 10, 0.98), rgba(53, 17, 19, 0.98));
  border: 1px solid #b78a4d;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.44);
}
.hero-name-card strong {
  font: 700 clamp(17px, 1.55vw, 23px)/1.45 var(--serif);
}
.hero-name-card span {
  font-size: 13px;
  color: #d9c7a5;
}
.cinematic-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 730px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 390px;
  margin: 0 auto 14px;
  color: #d9bb7c;
}
.hero-ornament span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #d9bb7c);
}
.hero-ornament span:last-child {
  transform: scaleX(-1);
}
.hero-ornament b {
  font: 700 29px/1 var(--serif);
}
.cinematic-hero .hero-verse-row {
  max-width: 680px;
  margin: 0 auto 10px;
  text-align: center;
}
.cinematic-hero .hero-verse-copy {
  display: block;
  width: 100%;
  min-width: 0;
}
.cinematic-hero .verse {
  margin: 0 auto 9px;
  color: #f1d594;
  font: 700 clamp(24px, 2.5vw, 38px)/1.7 var(--serif);
  text-shadow: 0 0 23px rgba(222, 164, 77, 0.25);
}
.cinematic-hero .ven {
  margin: 0 auto;
  color: #f7eee0;
  font-size: 15px;
}
.cinematic-hero h1 {
  max-width: 760px;
  margin: 16px auto 12px;
  text-align: center;
  color: #fff9f1;
  font: 700 clamp(34px, 4.4vw, 66px)/1.24 var(--serif);
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.7);
}
.cinematic-hero .lead {
  max-width: 690px;
  margin: 0 auto 23px;
  padding-left: 17px;
  border-left: 3px solid #bb3034;
  color: #f1e8df;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.8;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  max-width: 700px;
  margin: 0 auto 22px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(205, 166, 95, 0.72);
  border-radius: 999px;
  background: rgba(10, 8, 9, 0.55);
  color: #f5ead8;
  font-size: 14px;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}
.hero-pill i {
  font-style: normal;
  color: #e3bf77;
  font-size: 17px;
}
.cinematic-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}
.hero-about-cta {
  border: 1px solid #d6ab68 !important;
  background: linear-gradient(120deg, var(--ember, #a51e24), #691117) !important;
  color: #fff7eb !important;
  box-shadow: 0 0 21px rgba(201, 35, 38, 0.28);
}
.hero-about-cta span {
  font-size: 22px;
  line-height: 0;
  vertical-align: -1px;
}
.hero-book-cta {
  border: 1px solid rgba(223, 189, 124, 0.8) !important;
  background: rgba(7, 7, 8, 0.48) !important;
  color: #fff2dd !important;
}
.hero-whatsapp {
  display: inline-block;
  padding: 9px 2px;
  color: #f1d08a;
  text-underline-offset: 4px;
}
@media (max-width: 1120px) {
  .cinematic-header .cinematic-nav-wrap {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
  }
  .cinematic-header .cinematic-brand {
    min-width: 205px;
  }
  .cinematic-header .cinema-nav {
    gap: 5px;
  }
  .cinematic-header .cinema-link,
  .cinematic-header .cinema-dropdown summary {
    padding: 8px 5px;
    font-size: 13px;
  }
  .cinematic-header .header-tools {
    gap: 6px;
  }
  .cinematic-header .appointment-cta {
    padding: 8px 12px;
  }
}
@media (max-width: 900px) {
  .cinematic-header .cinematic-nav-wrap {
    height: 76px;
    min-height: 76px;
    flex-wrap: nowrap;
  }
  .cinematic-header .cinematic-brand {
    min-width: 0;
    max-width: calc(100% - 135px);
  }
  .cinematic-header .brand-copy strong {
    font-size: min(var(--brand-size, 24px), 23px);
  }
  .cinematic-header .brand-copy small {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .cinematic-header .cinema-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 30;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    max-height: 75vh;
    overflow: auto;
    padding: 9px 20px 19px;
    background: rgba(10, 8, 9, 0.99);
    border-top: 1px solid rgba(211, 174, 105, 0.35);
    border-bottom: 1px solid rgba(211, 174, 105, 0.3);
  }
  .cinematic-header .cinema-nav.open {
    display: flex;
  }
  .cinematic-header .cinema-link,
  .cinematic-header .cinema-dropdown summary {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 10px;
    border-radius: 9px;
    font-size: 15px;
  }
  .cinematic-header .cinema-dropdown {
    width: 100%;
  }
  .cinematic-header .cinema-menu {
    position: static;
    min-width: 0;
    max-width: none;
    margin: 0 0 4px 24px;
    box-shadow: none;
    background: rgba(27, 16, 18, 0.94);
  }
  .cinematic-header .cta2 {
    display: inline-flex;
    margin: 7px 0 0 5px;
    text-align: center;
  }
  .cinematic-header .header-tools .cta {
    display: none;
  }
  .cinematic-header .lang-toggle {
    padding: 7px 10px;
  }
  .cinematic-header .menu {
    display: block;
    flex: none;
  }
  .cinematic-hero-grid {
    grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.22fr);
    gap: 34px;
  }
  .hero-portrait-wrap {
    width: min(100%, 330px);
  }
  .hero-portrait {
    height: 420px;
  }
  .cinematic-hero h1 {
    font-size: clamp(31px, 5vw, 49px);
  }
}
@media (max-width: 620px) {
  .cinematic-header .cinematic-nav-wrap {
    padding: 8px 14px;
  }
  .cinematic-brand {
    gap: 8px;
  }
  .cinematic-brand img,
  .brand-mark {
    width: 43px;
    height: 43px;
  }
  .cinematic-brand .brand-copy strong {
    font-size: 18px;
  }
  .cinematic-brand .brand-copy small {
    max-width: 230px;
    font-size: 7px;
  }
  .cinematic-header .header-tools {
    gap: 6px;
  }
  .cinematic-header .lang-toggle {
    font-size: 12px;
    padding: 6px 9px;
  }
  .cinematic-hero-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .hero.cinematic-hero {
    min-height: 0;
    padding: 36px 0 53px;
    background-position: center;
  }
  .hero-portrait-wrap {
    width: min(72vw, 300px);
    margin: 0 auto 10px;
  }
  .hero-portrait {
    height: 360px;
  }
  .hero-name-card {
    bottom: -25px;
    padding: 10px;
  }
  .cinematic-hero-copy {
    max-width: 100%;
  }
  .hero-ornament {
    margin-bottom: 10px;
  }
  .cinematic-hero .verse {
    font-size: 25px;
  }
  .cinematic-hero .ven {
    font-size: 14px;
  }
  .cinematic-hero h1 {
    font-size: 34px;
    margin: 13px auto 10px;
  }
  .cinematic-hero .lead {
    font-size: 15px;
  }
  .hero-pills {
    gap: 7px;
    margin-bottom: 16px;
  }
  .hero-pill {
    font-size: 12px;
    padding: 8px 11px;
  }
  .cinematic-hero .hero-actions {
    gap: 8px;
  }
  .cinematic-hero .hero-actions .btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-header *,
  .cinematic-hero * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Four selectable menu-bar treatments. */
.cinematic-header.header-style-classic {
  background: var(--header-bg, var(--deep));
  border-bottom: 2px solid var(--brass, #d9b66f);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.22);
}
.cinematic-header.header-style-classic .appointment-cta {
  background: var(--brass, #d9b66f);
  color: #15100a;
  box-shadow: none;
}
.cinematic-header.header-style-minimal {
  background: var(--header-bg, #080708);
  border-bottom: 2px solid var(--brass, #d9b66f);
  box-shadow: none;
}
.cinematic-header.header-style-minimal .cinema-link:hover {
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-color: var(--brass, #d9b66f);
  text-underline-offset: 8px;
}
.cinematic-header.header-style-minimal .appointment-cta {
  background: var(--brass, #d9b66f);
  color: #15100a;
  box-shadow: none;
}
.cinematic-header.header-style-glass {
  background: color-mix(in srgb, var(--header-bg, #080708) 76%, transparent);
  backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid rgba(217, 182, 111, 0.45);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.2);
}
.cinematic-header.header-style-glass .appointment-cta {
  background: rgba(165, 30, 36, 0.78);
  backdrop-filter: blur(8px);
}
/* The arch frame is removed. The uploaded founder portrait, book, shadow and light path form one layered scene. */
.ruqyah-stage {
  position: relative;
  justify-self: stretch;
  width: 100%;
  max-width: 650px;
  min-height: 480px;
  aspect-ratio: 1.08/1;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 47% 54%, rgba(118, 44, 41, 0.22), transparent 59%),
    linear-gradient(180deg, rgba(4, 4, 7, 0.04), rgba(7, 5, 8, 0.35));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.stage-moonlight {
  position: absolute;
  z-index: 0;
  left: 9%;
  top: 5%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(227, 194, 129, 0.22),
    rgba(181, 93, 71, 0.09) 34%,
    transparent 70%
  );
  filter: blur(5px);
}
.reader-photo {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -2%;
  width: 76%;
  height: 91%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}
.reader-face {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.62));
  animation: none;
}
.reader-placeholder {
  display: grid;
  place-items: center;
  color: #d9b66f;
  font: 700 90px var(--serif);
}
.reader-light {
  position: absolute;
  left: 49%;
  top: 34%;
  width: 9px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 231, 181, 0.65);
  opacity: 0.45;
  box-shadow: 0 0 12px 4px rgba(255, 215, 144, 0.28);
  pointer-events: none;
}
.reader-caption {
  position: absolute;
  left: 7%;
  top: 8%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 12px;
  border-left: 2px solid var(--brass, #d9b66f);
  background: rgba(6, 5, 7, 0.55);
  color: #f5e4c5;
  text-shadow: 0 1px 6px #000;
}
.reader-caption strong {
  font: 700 14px/1.5 var(--serif);
}
.reader-caption span {
  font-size: 11px;
  color: #d9c7a5;
}
.shadow-entity {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: 7%;
  width: 31%;
  height: 70%;
  opacity: 0.52;
  filter: drop-shadow(0 0 16px rgba(80, 30, 38, 0.36));
  transform-origin: 50% 88%;
}
.shadow-entity > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.shadow-fire {
  position: absolute;
  inset: 24% 15% 0;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    ellipse at 50% 70%,
    rgba(255, 62, 24, 0.92),
    rgba(197, 25, 27, 0.52) 34%,
    rgba(185, 44, 44, 0.08) 70%,
    transparent
  );
  filter: blur(12px);
  mix-blend-mode: screen;
}
.recitation-flow {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow-trail {
  fill: none;
  stroke: url(#flowGold);
  stroke-linecap: round;
  stroke-dasharray: 13 25;
  stroke-dashoffset: 1500;
  opacity: 0;
}
.flow-trail-wide {
  stroke-width: 21;
  filter: url(#flowGlow);
  opacity: 0;
}
.flow-trail-core {
  stroke-width: 4;
  filter: url(#flowGlow);
}
.flow-spark {
  fill: #fff4cd;
  filter: url(#flowGlow);
  opacity: 0;
}
.open-quran {
  position: absolute;
  z-index: 6;
  left: 5%;
  bottom: 2%;
  width: 51%;
  max-width: 350px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.66));
  transform: perspective(600px) rotateX(5deg);
}
.open-quran svg {
  display: block;
  width: 100%;
  height: auto;
}
.stage-embers {
  position: absolute;
  z-index: 4;
  right: 10%;
  bottom: 12%;
  width: 30%;
  height: 44%;
  pointer-events: none;
}
.stage-embers i {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb35b;
  opacity: 0;
  box-shadow: 0 0 11px 3px rgba(239, 71, 34, 0.7);
}
.stage-embers i:nth-child(1) {
  left: 16%;
}
.stage-embers i:nth-child(2) {
  left: 35%;
}
.stage-embers i:nth-child(3) {
  left: 55%;
}
.stage-embers i:nth-child(4) {
  left: 73%;
}
.stage-embers i:nth-child(5) {
  left: 86%;
}
.stage-embers i:nth-child(6) {
  left: 47%;
  width: 3px;
  height: 3px;
}
html[data-ruqyah-animation='on'] .reader-face {
  animation: readerBreath var(--ruqyah-duration, 12s) ease-in-out infinite;
}
html[data-ruqyah-animation='on'] .reader-light {
  animation: reciterGlow var(--ruqyah-duration, 12s) ease-in-out infinite;
}
html[data-ruqyah-animation='on'] .shadow-entity {
  animation: shadowApproach var(--ruqyah-duration, 12s) ease-in-out infinite;
}
html[data-ruqyah-animation='on'] .shadow-fire {
  animation: shadowIgnite var(--ruqyah-duration, 12s) ease-in-out infinite;
}
html[data-ruqyah-animation='on'] .flow-trail-core,
html[data-ruqyah-animation='on'] .flow-trail-wide {
  animation: breathFlow var(--ruqyah-duration, 12s) ease-in-out infinite;
}
html[data-ruqyah-animation='on'] .flow-spark {
  animation: flowSpark var(--ruqyah-duration, 12s) ease-in-out infinite;
}
html[data-ruqyah-animation='on'] .stage-embers i {
  animation: embersRise var(--ruqyah-duration, 12s) ease-out infinite;
}
html[data-ruqyah-animation='on'] .stage-embers i:nth-child(2) {
  animation-delay: calc(var(--ruqyah-duration, 12s) * 0.04);
}
html[data-ruqyah-animation='on'] .stage-embers i:nth-child(3) {
  animation-delay: calc(var(--ruqyah-duration, 12s) * 0.09);
}
html[data-ruqyah-animation='on'] .stage-embers i:nth-child(4) {
  animation-delay: calc(var(--ruqyah-duration, 12s) * 0.13);
}
html[data-ruqyah-animation='on'] .stage-embers i:nth-child(5) {
  animation-delay: calc(var(--ruqyah-duration, 12s) * 0.17);
}
html[data-ruqyah-animation='on'] .stage-embers i:nth-child(6) {
  animation-delay: calc(var(--ruqyah-duration, 12s) * 0.2);
}
html[data-ruqyah-animation='off'] .flow-trail,
html[data-ruqyah-animation='off'] .flow-spark,
html[data-ruqyah-animation='off'] .shadow-fire,
html[data-ruqyah-animation='off'] .stage-embers i {
  display: none;
}
@keyframes readerBreath {
  0%,
  28%,
  100% {
    transform: translateY(0);
  }
  35%,
  45% {
    transform: translateY(-2px);
  }
  53% {
    transform: translateY(0);
  }
}
@keyframes reciterGlow {
  0%,
  30%,
  100% {
    opacity: 0.24;
  }
  36%,
  51% {
    opacity: 0.95;
    box-shadow: 0 0 19px 8px rgba(255, 226, 165, 0.55);
  }
  60% {
    opacity: 0.3;
  }
}
@keyframes shadowApproach {
  0%,
  100% {
    opacity: 0.22;
    transform: translate(35px, 8px) scale(0.94);
  }
  18% {
    opacity: 0.56;
    transform: translate(18px, 2px) scale(0.97);
  }
  30%,
  40% {
    opacity: 0.68;
    transform: translate(0, 0) scale(1);
  }
  48%,
  57% {
    opacity: 0.9;
    transform: translate(-3px, -2px) scale(1.035);
  }
  70%,
  82% {
    opacity: 0;
    transform: translate(-10px, -10px) scale(1.14);
    filter: blur(13px);
  }
  92% {
    opacity: 0.04;
    transform: translate(28px, 8px) scale(0.95);
  }
}
@keyframes shadowIgnite {
  0%,
  42%,
  66%,
  100% {
    opacity: 0;
    transform: scale(0.76);
  }
  48%,
  60% {
    opacity: 0.95;
    transform: scale(1.16);
  }
  55% {
    opacity: 0.68;
    transform: scale(1.32);
  }
}
@keyframes breathFlow {
  0%,
  27% {
    stroke-dashoffset: 1500;
    opacity: 0;
  }
  33% {
    opacity: 0.4;
  }
  48% {
    stroke-dashoffset: 650;
    opacity: 0.95;
  }
  61% {
    stroke-dashoffset: 0;
    opacity: 0.95;
  }
  70%,
  100% {
    stroke-dashoffset: -450;
    opacity: 0;
  }
}
@keyframes flowSpark {
  0%,
  30% {
    opacity: 0;
    transform: translate(0, 0);
  }
  39% {
    opacity: 0.9;
  }
  58% {
    opacity: 1;
    transform: translate(315px, 20px);
  }
  68%,
  100% {
    opacity: 0;
    transform: translate(340px, 20px);
  }
}
@keyframes embersRise {
  0%,
  42%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.4);
  }
  49% {
    opacity: 0.8;
  }
  67% {
    opacity: 0.5;
    transform: translateY(-125px) scale(1.3);
  }
  78% {
    opacity: 0;
    transform: translateY(-175px) scale(0.2);
  }
}
@media (max-width: 900px) {
  .ruqyah-stage {
    min-height: 400px;
  }
  .reader-caption {
    top: 5%;
    left: 4%;
  }
  .open-quran {
    width: 48%;
  }
}
@media (max-width: 620px) {
  .ruqyah-stage {
    width: min(100%, 500px);
    min-height: 0;
    aspect-ratio: 1/1;
    margin: 0 auto;
  }
  .reader-photo {
    width: 78%;
    height: 91%;
  }
  .shadow-entity {
    right: 0;
    width: 30%;
    height: 63%;
  }
  .reader-face {
    object-position: center bottom;
  }
  .reader-caption {
    top: 4%;
    left: 3%;
    padding: 5px 8px;
  }
  .reader-caption strong {
    font-size: 12px;
  }
  .reader-caption span {
    font-size: 10px;
  }
  .open-quran {
    left: 1%;
    bottom: 1%;
    width: 49%;
  }
  .cinematic-hero-grid {
    gap: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ruqyah-stage * {
    animation: none !important;
    transition: none !important;
  }
  .shadow-entity {
    opacity: 0.36;
  }
  .flow-trail,
  .flow-spark,
  .shadow-fire,
  .stage-embers i {
    display: none;
  }
}

html[data-scene='on'] .hero.cinematic-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 4, 6, 0.1) 0%,
      rgba(5, 4, 6, 0.2) 38%,
      rgba(5, 4, 6, calc(var(--scene-overlay, 0.42) + 0.3)) 100%
    ),
    var(--hero-block-image, var(--scene-image, url('/images/ruqyah-hero-background-clean.jpg'))) !important;
  background-size: cover;
  background-position: center;
  color: #fff8ef;
}
html[data-scene='off'] .hero.cinematic-hero {
  background-image: linear-gradient(120deg, #090708, var(--hero-bg, #160c10)) !important;
}
.cinematic-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: inherit;
  gap: clamp(20px, 5vw, 80px);
}
.cinematic-hero-copy {
  grid-column: 2;
  width: 100%;
  max-width: 700px;
  justify-self: center;
}
.cinematic-hero .hero-verse-row {
  max-width: 680px;
  margin: 0 auto 10px;
  text-align: center;
}
.cinematic-hero h1 {
  max-width: 760px;
  margin: 16px auto 12px;
  text-align: center;
}
.cinematic-hero .lead {
  margin: 0 auto 23px;
  padding: 0;
  border: 0;
  text-align: center;
}
.cinematic-hero .hero-actions {
  justify-content: center;
}
@media (max-width: 900px) {
  .cinematic-hero-grid {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
    gap: 18px;
  }
  .cinematic-hero-copy {
    grid-column: 2;
  }
}
@media (max-width: 620px) {
  .hero.cinematic-hero {
    min-height: 560px;
    padding: 40px 0 48px;
    background-position: 43% center;
  }
  .cinematic-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: inherit;
  }
  .cinematic-hero-copy {
    grid-column: 1;
    max-width: 100%;
    padding: 22px 16px;
    border-radius: 18px;
    background: rgba(8, 6, 7, 0.4);
    backdrop-filter: blur(2px);
  }
  .cinematic-hero .verse {
    font-size: clamp(23px, 7vw, 29px);
  }
  .cinematic-hero h1 {
    font-size: clamp(31px, 8vw, 40px);
  }
  .cinematic-hero .lead {
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  html[data-scene='on'] .hero.cinematic-hero {
    min-height: 0;
    padding: 56.25vw 0 42px;
    background-color: #080708;
    background-image:
      linear-gradient(
        180deg,
        rgba(5, 4, 6, 0.02) 0%,
        rgba(5, 4, 6, 0.08) 55%,
        rgba(5, 4, 6, 0.94) 100%
      ),
      var(--hero-block-image, var(--scene-image, url('/images/ruqyah-hero-background-clean.jpg'))) !important;
    background-size:
      100% 100%,
      100% auto;
    background-position:
      center,
      center top;
    background-repeat: no-repeat;
  }
  .cinematic-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .cinematic-hero-copy {
    grid-column: 1;
    max-width: 100%;
    padding: 22px 16px 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }
}
@media (max-width: 900px) {
  html[data-scene='off'] .hero.cinematic-hero {
    min-height: 0;
    padding: 36px 0 42px;
  }
} /* Place hero text in the image's quiet center; keep the full image on narrow screens. */
@media (min-width: 901px) {
  .cinematic-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .cinematic-hero-copy {
    grid-column: 1;
    width: min(40vw, 640px);
    max-width: 640px;
    justify-self: center;
    margin: 0;
    transform: none;
  }
  .cinematic-hero .verse {
    font-size: clamp(20px, 2.1vw, 34px);
  }
  .cinematic-hero h1 {
    font-size: clamp(28px, 3.2vw, 50px);
    margin: 10px auto;
  }
  .cinematic-hero .ven {
    font-size: 14px;
  }
  .cinematic-hero .lead {
    font-size: clamp(13px, 1.1vw, 17px);
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .cinematic-hero .hero-actions {
    gap: 8px;
    margin-top: 9px;
  }
}
@media (max-width: 900px) {
  html[data-scene='on'] .hero.cinematic-hero {
    min-height: max(56.25vw, 230px);
    padding: 0;
    background-color: #080708;
    background-image:
      linear-gradient(180deg, rgba(5, 4, 6, 0.02), rgba(5, 4, 6, 0.1) 78%, rgba(5, 4, 6, 0.24)),
      var(--hero-block-image, var(--scene-image, url('/images/ruqyah-hero-background-clean.jpg'))) !important;
    background-size:
      100% 100%,
      100% auto;
    background-position:
      center,
      center top;
    background-repeat: no-repeat;
  }
  .cinematic-hero-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    display: block;
  }
  .cinematic-hero-copy {
    position: absolute;
    left: 34%;
    top: 50%;
    transform: translateY(-50%);
    width: 38%;
    max-width: none;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.92);
  }
  .cinematic-hero .hero-verse-row {
    margin: 0 auto 2px;
  }
  .cinematic-hero .verse {
    font-size: clamp(11px, 2.2vw, 17px);
    line-height: 1.28;
    margin: 0 auto 1px;
  }
  .cinematic-hero .ven {
    font-size: clamp(7px, 1.25vw, 10px);
    line-height: 1.12;
  }
  .cinematic-hero h1 {
    font-size: clamp(12px, 2.5vw, 20px);
    line-height: 1.15;
    margin: 3px auto;
  }
  .cinematic-hero .lead {
    max-width: none;
    font-size: clamp(8px, 1.25vw, 11px);
    line-height: 1.18;
    margin: 0 auto 4px;
  }
  .cinematic-hero .hero-actions {
    gap: 3px;
    margin-top: 3px;
    justify-content: center;
  }
  .cinematic-hero .hero-actions .btn {
    padding: 3px 5px;
    font-size: clamp(7px, 1.2vw, 10px);
    line-height: 1.2;
  }
  .cinematic-hero .hero-whatsapp {
    padding: 3px 1px;
    font-size: clamp(7px, 1.2vw, 10px);
  }
}
/* Mobile hero: show the full artwork first and keep every word readable below it. */
@media (max-width: 900px) {
  html[data-scene='on'] .hero.cinematic-hero {
    display: flow-root;
    min-height: 0;
    padding: 0 0 26px !important;
    background-color: var(--hero-bg, #10090d);
    background-image: none !important;
    overflow: hidden;
  }
  html[data-scene='on'] .hero.cinematic-hero::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 2048/1153;
    background-image:
      linear-gradient(180deg, rgba(7, 6, 8, 0.03), rgba(7, 6, 8, 0.12)),
      var(--hero-block-image, var(--scene-image, url('/images/ruqyah-hero-background-clean.jpg')));
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }
  html[data-scene='off'] .hero.cinematic-hero {
    display: flow-root;
    min-height: 0;
    padding: 28px 0 !important;
    background-image: none !important;
  }
  html[data-scene='off'] .hero.cinematic-hero::before {
    display: none;
  }
  .cinematic-hero-grid {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(850px, calc(100% - 28px));
    max-width: 850px;
    min-height: 0;
    margin: -16px auto 0;
  }
  .cinematic-hero-copy {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(18px, 4.5vw, 30px);
    border: 1px solid color-mix(in srgb, var(--brass) 42%, transparent);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(20, 14, 16, 0.97), rgba(10, 8, 10, 0.96));
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.42),
      0 0 28px color-mix(in srgb, var(--ember) 12%, transparent);
    backdrop-filter: blur(5px);
    text-shadow: none;
  }
  .cinematic-hero .hero-verse-row {
    max-width: 680px;
    margin: 0 auto 8px;
  }
  .cinematic-hero .verse {
    font-size: clamp(22px, 5.8vw, 30px);
    line-height: 1.7;
    margin: 0 auto 7px;
  }
  .cinematic-hero .ven {
    font-size: 14px;
    line-height: 1.6;
  }
  .cinematic-hero h1 {
    max-width: 760px;
    margin: 10px auto 12px;
    font-size: clamp(27px, 7.4vw, 38px);
    line-height: 1.3;
  }
  .cinematic-hero .lead {
    max-width: 690px;
    margin: 0 auto 17px;
    font-size: 15px;
    line-height: 1.75;
  }
  .cinematic-hero .hero-actions {
    justify-content: center;
    gap: 9px;
    margin-top: 12px;
  }
  .cinematic-hero .hero-actions .btn {
    padding: 11px 16px;
    font-size: 14px;
  }
}
