:root {
  --ink: #17211d;
  --muted: #5f6b64;
  --paper: #f6f1e8;
  --paper-2: #ebe1d1;
  --teal: #0f5f64;
  --lapis: #173f70;
  --gold: #c39845;
  --night: #071311;
  --line: rgba(23, 33, 29, .14);
  --shadow: 0 22px 70px rgba(7, 19, 17, .2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

button, input, select {
  font: inherit;
}

.site-hero,
.detail-hero {
  position: relative;
  min-height: 92vh;
  color: #fff9ed;
  background-image:
    linear-gradient(90deg, rgba(4, 13, 12, .78), rgba(4, 13, 12, .44) 48%, rgba(4, 13, 12, .18)),
    linear-gradient(0deg, rgba(7, 19, 17, .88), transparent 42%),
    url("assets/images/bg-samarkand-timurid-iwan.jpg");
  background-size: cover;
  background-position: center;
}

.detail-hero {
  min-height: 72vh;
  background-image:
    linear-gradient(90deg, rgba(4, 13, 12, .8), rgba(4, 13, 12, .48) 48%, rgba(4, 13, 12, .22)),
    linear-gradient(0deg, rgba(7, 19, 17, .9), transparent 48%),
    var(--detail-bg, url("assets/images/bg-khiva-tile-niche.jpg"));
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
}

.brand,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 249, 237, .4);
  border-radius: 50%;
  color: #f8d88b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.nav-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-actions a,
select {
  border: 1px solid rgba(255, 249, 237, .34);
  border-radius: 999px;
  color: #fff9ed;
  background: rgba(7, 19, 17, .42);
  padding: 9px 14px;
}

select option { color: var(--ink); }

.hero-content,
.detail-header {
  width: min(880px, calc(100% - 36px));
  padding: clamp(70px, 12vw, 140px) 0 70px;
  margin-left: clamp(18px, 8vw, 110px);
}

.kicker,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: .95;
  font-weight: 520;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 1.05;
  font-weight: 520;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 249, 237, .84);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions,
.card-actions,
.name-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 760;
}

.button.primary,
.mini-button {
  background: var(--gold);
  color: #201506;
}

.button.ghost {
  border: 1px solid rgba(255, 249, 237, .38);
  color: #fff9ed;
  background: rgba(255, 249, 237, .08);
}

.button.ghost.dark {
  border-color: rgba(15, 95, 100, .32);
  color: var(--teal);
  background: rgba(15, 95, 100, .08);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.global-player {
  display: grid;
  grid-template-columns: auto minmax(220px, 520px);
  align-items: center;
  gap: 14px;
  width: min(620px, 100%);
  margin-top: 32px;
  padding: 14px;
  border: 1px solid rgba(255, 249, 237, .22);
  border-radius: 8px;
  background: rgba(7, 19, 17, .44);
  backdrop-filter: blur(12px);
}

.audio-note p {
  margin: 0;
  color: rgba(255, 249, 237, .76);
}

audio {
  width: 100%;
  height: 34px;
}

.intro-band,
.manual-band,
.hadith-band,
.library-shell,
.detail-main {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.hadith-band {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(246, 241, 232, .96), rgba(246, 241, 232, .86)),
    url("assets/images/bg-manuscript-arch-courtyard.jpg");
  background-size: cover;
  background-position: center;
}

.scripture-intro {
  position: sticky;
  top: 22px;
}

.scripture-intro p:not(.section-label) {
  color: #3d4943;
  max-width: 560px;
}

.scripture-quotes {
  display: grid;
  gap: 14px;
}

.hadith-band blockquote {
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 60px rgba(23, 33, 29, .09);
}

.hadith-band blockquote p {
  margin: 0 0 12px;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.06rem, 1.35vw, 1.34rem);
  line-height: 1.42;
}

.hadith-band cite {
  color: var(--teal);
  font-style: normal;
  font-weight: 760;
}

.prophetic-quote {
  background: rgba(20, 81, 86, .1);
}

.hadith-note {
  color: #3d4943;
  max-width: 760px;
}

.scripture-note {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 8px;
  background: rgba(246, 241, 232, .84);
  text-align: center;
  font-size: 1.05rem;
}

.intro-band,
.manual-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--night);
  color: #fff9ed;
}

.intro-band {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 17, .92), rgba(7, 19, 17, .7)),
    url("assets/images/bg-bukhara-khanqah-interior.jpg");
  background-size: cover;
  background-position: center;
}

.manual-band {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 17, .92), rgba(7, 19, 17, .62)),
    url("assets/images/bg-sufi-courtyard-blue-hour.jpg");
  background-size: cover;
  background-position: center;
}

.intro-band p,
.manual-band p {
  color: rgba(255, 249, 237, .76);
}

.library-shell {
  background:
    linear-gradient(135deg, rgba(246, 241, 232, .94), rgba(246, 241, 232, .78)),
    url("assets/images/bg-khiva-tile-niche.jpg"),
    var(--paper);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

.library-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 28px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(170px, 220px);
  gap: 10px;
}

input,
.filters select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, .56);
  padding: 13px 16px;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.name-card,
.detail-grid article,
.source-note,
.paid-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 12px 40px rgba(23, 33, 29, .06);
}

.name-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 18px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.number {
  color: var(--teal);
  font-weight: 850;
}

.theme-pill {
  border-radius: 999px;
  background: rgba(15, 95, 100, .1);
  color: var(--teal);
  padding: 5px 9px;
  font-size: .78rem;
  font-weight: 760;
}

.arabic {
  margin: 24px 0 8px;
  color: var(--lapis);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 1;
  direction: rtl;
}

.name-card p:not(.arabic) {
  color: var(--muted);
}

.name-card .card-actions {
  margin-top: auto;
}

.detail-number {
  color: #f8d88b;
  font-weight: 850;
}

.hero-arabic {
  color: #f8d88b;
  font-size: clamp(4rem, 10vw, 9rem);
  text-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.detail-meaning {
  margin: 18px 0 0;
  max-width: 640px;
  color: rgba(255, 249, 237, .8);
  font-size: 1.35rem;
}

.detail-audio {
  display: grid;
  grid-template-columns: auto minmax(220px, 430px);
  gap: 14px;
  align-items: center;
  max-width: 600px;
  margin-top: 26px;
}

.detail-main {
  background: var(--paper);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid article,
.source-note,
.paid-panel {
  padding: clamp(22px, 4vw, 36px);
}

.detail-grid h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
}

.source-note {
  margin-top: 16px;
  background: rgba(15, 95, 100, .08);
}

.name-profile {
  display: grid;
  gap: 16px;
}

.name-profile article,
.profile-intro {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 12px 40px rgba(23, 33, 29, .06);
  padding: clamp(22px, 4vw, 38px);
}

.name-profile h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  line-height: 1.08;
  font-weight: 520;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.profile-facts p {
  display: grid;
  gap: 4px;
  min-height: 86px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(15, 95, 100, .07);
}

.profile-facts strong {
  color: var(--teal);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quran-panel blockquote {
  margin: 18px 0;
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(7, 19, 17, .9);
  color: #fff9ed;
}

.quran-panel blockquote p {
  color: rgba(255, 249, 237, .9);
}

.quran-panel cite {
  color: #f8d88b;
  font-style: normal;
  font-weight: 760;
}

.quran-reference-panel {
  border: 1px solid rgba(15, 95, 100, .18);
  background:
    linear-gradient(135deg, rgba(246, 241, 232, .96), rgba(255, 255, 255, .9)),
    url("assets/images/bg-manuscript-arch-courtyard.jpg");
  background-size: cover;
  background-position: center;
}

.reference-ayah {
  margin: 18px 0;
  padding: clamp(18px, 3vw, 28px);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(7, 19, 17, .9);
  color: #fff9ed;
}

.reference-ayah p {
  margin: 0 0 12px;
  color: rgba(255, 249, 237, .92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  line-height: 1.45;
}

.reference-ayah cite {
  color: #f8d88b;
  font-style: normal;
  font-weight: 760;
}

.reference-rows {
  display: grid;
  gap: 12px;
}

.reference-rows > div {
  padding: 14px;
  border: 1px solid rgba(15, 95, 100, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
}

.reference-rows strong {
  color: var(--teal);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.practice-panel {
  background-image:
    linear-gradient(90deg, rgba(7, 19, 17, .9), rgba(15, 95, 100, .78)),
    url("assets/images/bg-bukhara-khanqah-interior.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff9ed;
}

.practice-panel p,
.practice-panel .section-label {
  color: rgba(255, 249, 237, .86);
}

.paid-panel {
  margin-top: 16px;
  background-image:
    linear-gradient(90deg, rgba(7, 19, 17, .94), rgba(7, 19, 17, .76)),
    url("assets/images/bg-manuscript-arch-courtyard.jpg");
  background-size: cover;
  background-position: center;
  color: #fff9ed;
  box-shadow: var(--shadow);
}

.paid-panel p,
.paid-panel li {
  color: rgba(255, 249, 237, .78);
}

.manual-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}

.manual-columns div {
  border: 1px solid rgba(255, 249, 237, .16);
  border-radius: 8px;
  padding: 18px;
}

.name-nav {
  justify-content: space-between;
  margin-top: 24px;
}

.name-nav a {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  color: var(--teal);
  font-weight: 780;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255, 249, 237, .68);
  background: #06100e;
}

footer p {
  margin: 0;
  max-width: 720px;
}

.backgrounds-body {
  background: #071311;
}

.about-body {
  background: var(--paper);
}

.about-hero {
  min-height: 72vh;
  color: #fff9ed;
  background-image:
    linear-gradient(90deg, rgba(4, 13, 12, .82), rgba(4, 13, 12, .44) 52%, rgba(4, 13, 12, .2)),
    linear-gradient(0deg, rgba(7, 19, 17, .86), transparent 46%),
    url("assets/images/bg-manuscript-arch-courtyard.jpg");
  background-size: cover;
  background-position: center;
}

.about-main {
  background:
    linear-gradient(135deg, rgba(246, 241, 232, .96), rgba(246, 241, 232, .86)),
    url("assets/images/bg-khiva-tile-niche.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: clamp(34px, 6vw, 84px) clamp(18px, 5vw, 72px);
}

.about-section {
  width: min(1060px, 100%);
  margin: 0 auto 18px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 60px rgba(23, 33, 29, .08);
}

.about-section h2 {
  max-width: 900px;
  margin-bottom: 18px;
}

.about-section p {
  max-width: 900px;
  color: #3d4943;
  font-size: 1.04rem;
}

.about-section blockquote {
  margin: 26px 0;
  padding: clamp(20px, 4vw, 34px);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 19, 17, .92), rgba(15, 95, 100, .78)),
    url("assets/images/bg-bukhara-khanqah-interior.jpg");
  background-size: cover;
  color: #fff9ed;
}

.about-section blockquote p {
  color: rgba(255, 249, 237, .9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.quote-arabic {
  direction: rtl;
  font-size: clamp(2rem, 5vw, 4rem) !important;
}

.about-section cite {
  color: #f8d88b;
  font-style: normal;
  font-weight: 760;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.method-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(15, 95, 100, .08);
}

.sources ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.sources a {
  color: var(--teal);
  border-bottom: 1px solid rgba(15, 95, 100, .34);
  font-weight: 740;
}

.backgrounds-header {
  min-height: 58vh;
  color: #fff9ed;
  background-image:
    linear-gradient(90deg, rgba(4, 13, 12, .82), rgba(4, 13, 12, .34)),
    url("assets/images/bg-samarkand-timurid-iwan.jpg");
  background-size: cover;
  background-position: center;
}

.background-gallery {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 72px);
}

.background-option {
  display: grid;
  grid-template-columns: minmax(280px, 58vw) minmax(260px, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(255, 249, 237, .14);
  border-radius: 8px;
  background: rgba(255, 249, 237, .06);
  color: #fff9ed;
}

.background-option img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.background-option h2 {
  font-size: clamp(1.7rem, 3vw, 3.1rem);
}

.background-option p:not(.section-label) {
  color: rgba(255, 249, 237, .72);
}

.compass-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 13, 12, .84), rgba(4, 13, 12, .5) 50%, rgba(4, 13, 12, .24)),
    linear-gradient(0deg, rgba(7, 19, 17, .92), transparent 48%),
    url("assets/images/bg-bukhara-khanqah-interior.jpg");
}

.meditation-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 13, 12, .88), rgba(4, 13, 12, .55) 48%, rgba(4, 13, 12, .2)),
    linear-gradient(0deg, rgba(7, 19, 17, .94), transparent 52%),
    url("assets/images/bg-sufi-courtyard-blue-hour.jpg");
}

.split-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 42px);
}

.meditation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.meditation-grid article,
.source-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 18px 55px rgba(23, 33, 29, .08);
}

.meditation-grid article {
  padding: 22px;
}

.meditation-grid h3 {
  margin-top: 0;
  color: var(--teal);
}

.practice-feature {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(8, 47, 49, .92), rgba(15, 95, 100, .82)),
    url("assets/images/bg-khiva-tile-niche.jpg");
  background-size: cover;
  background-position: center;
  color: var(--cream);
}

.practice-feature .section-label,
.practice-feature h2 {
  color: var(--cream);
}

.practice-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.practice-steps li {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 249, 237, .24);
  border-radius: 8px;
  background: rgba(255, 249, 237, .1);
  color: rgba(255, 249, 237, .86);
}

.practice-steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cream);
}

.source-panel {
  margin: clamp(42px, 6vw, 72px) clamp(18px, 6vw, 80px);
  padding: clamp(24px, 4vw, 40px);
}

.source-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.source-panel a {
  color: var(--teal);
  font-weight: 800;
}

.compass-header {
  width: min(980px, calc(100% - 36px));
}

.compass-main {
  background: var(--paper);
}

.compass-foundation,
.compass-shell,
.compass-result {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.compass-foundation {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(246, 241, 232, .95), rgba(255, 255, 255, .88)),
    url("assets/images/bg-manuscript-arch-courtyard.jpg");
  background-size: cover;
  background-position: center;
}

.compass-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 380px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.compass-panel,
.compass-aside,
.result-card,
.compass-warning {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 55px rgba(23, 33, 29, .08);
}

.compass-panel {
  padding: clamp(22px, 4vw, 38px);
}

.compass-aside,
.result-card,
.compass-warning {
  padding: 22px;
}

.compass-progress {
  display: inline-flex;
  gap: 4px;
  min-height: 34px;
  align-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(15, 95, 100, .1);
  color: var(--teal);
  font-weight: 800;
}

.compass-options {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.compass-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 58px;
  padding: 15px;
  border: 1px solid rgba(15, 95, 100, .16);
  border-radius: 8px;
  background: rgba(246, 241, 232, .62);
  cursor: pointer;
}

.compass-option.selected {
  border-color: rgba(195, 152, 69, .8);
  background: rgba(195, 152, 69, .16);
}

.compass-option input {
  margin-top: 4px;
  accent-color: var(--teal);
}

.compass-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.compass-disclaimer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.compass-result[hidden] {
  display: none;
}

.result-head {
  width: min(780px, 100%);
  margin-bottom: 24px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.result-card .arabic {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.compass-practice {
  margin-top: 18px;
}

.compass-warning {
  margin-top: 18px;
}

@media (max-width: 820px) {
  .topbar,
  .library-head,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content,
  .detail-header {
    margin-left: 18px;
  }

  .intro-band,
  .hadith-band,
  .manual-band,
  .detail-grid,
  .manual-columns,
  .profile-facts,
  .method-grid,
  .background-option,
  .compass-foundation,
  .compass-shell,
  .result-grid,
  .split-copy,
  .meditation-grid,
  .practice-steps {
    grid-template-columns: 1fr;
  }

  .scripture-intro {
    position: static;
  }

  .filters {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .global-player,
  .detail-audio {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-hero,
  .detail-hero {
    min-height: auto;
  }

  .nav-actions a {
    display: none;
  }

  h1 {
    font-size: clamp(2.5rem, 16vw, 4.2rem);
  }

  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }

}
