/* ==========================================================================
   A Course in Miracles Chanting by Ezra — Individual Chant Template Styles
   Visual Design System: Dark Navy + Warm Gold + Cream Parchment
   ========================================================================== */

:root {
  --bg: #020912;
  --bg-deep: #01060c;
  --panel: #06111b;
  --panel2: #09151f;
  --panel-glass: rgba(6, 17, 27, 0.92);
  --gold: #c9963e;
  --gold-glow: #e6bd6a;
  --gold2: #f0d38b;
  --gold3: #8e6129;
  --cream: #f0e4cf;
  --cream-soft: #fcf8f0;
  --parchment: #faf6ee;
  --parchment-card: #fffdf9;
  --parchment-line: rgba(195, 160, 95, 0.28);
  --parchment-text: #2c241b;
  --parchment-sub: #6e6456;
  --parchment-muted: #958a7a;
  --muted: #a99f91;
  --line: rgba(213, 164, 75, 0.28);
  --line-strong: rgba(213, 164, 75, 0.48);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --caps: 'Cinzel', Georgia, serif;
  --script: 'Allura', cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--parchment-text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: min(1160px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

.shell-wide {
  width: min(1400px, calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header & Navigation (Over Hero)
   ========================================================================== */

.chant-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(2, 9, 18, 0.72) 0%, rgba(2, 9, 18, 0.2) 65%, transparent 100%);
}

.nav {
  height: 104px;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  gap: 30px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--cream);
  text-decoration: none;
}

.brand-symbol {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(213, 164, 75, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(210, 158, 62, 0.2);
  background: radial-gradient(circle, rgba(201, 150, 62, 0.18), rgba(2, 9, 18, 0.9) 75%);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-symbol img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 6px rgba(240, 211, 139, 0.35));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-title {
  display: block;
  font: 500 12px/1 var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ded3c1;
  margin-bottom: 4px;
  white-space: nowrap;
}

.brand-sub {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand-sub b {
  font: 600 16px/1 var(--caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5d898;
  display: inline-block;
}

.brand-sub em {
  display: block;
  font: 400 23px/1 var(--script);
  color: #d8a34c;
  margin-top: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 42px);
}

.nav-links a {
  position: relative;
  color: #d5cbbe;
  text-decoration: none;
  font: 500 12px/1 var(--caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold2);
}

.nav-links a.active:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px rgba(220, 166, 68, 0.5);
}

.journey-btn {
  border: 1px solid rgba(219, 169, 77, 0.65);
  border-radius: 26px;
  color: #ebd096;
  text-decoration: none;
  padding: 11px 20px;
  font-size: 15px;
  white-space: nowrap;
  background: rgba(5, 11, 17, 0.45);
  box-shadow: 0 0 16px rgba(198, 144, 47, 0.08);
  transition: all 0.2s ease;
}

.journey-btn:hover {
  background: rgba(201, 150, 62, 0.15);
  border-color: var(--gold2);
  color: #fff;
}

.journey-btn span {
  font-size: 10px;
  margin-left: 2px;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: rgba(3, 8, 13, 0.65);
  color: var(--gold2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

/* ==========================================================================
   Category Hero (Pure Artwork, No Black Overlay)
   ========================================================================== */

.chant-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1916 / 821;
  max-height: 560px;
  min-height: 320px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

/* ==========================================================================
   Floating Chant / Player Card
   ========================================================================== */

.player-card-wrap {
  position: relative;
  z-index: 10;
  margin-top: -70px;
  margin-bottom: 24px;
}

.floating-player-card {
  background: linear-gradient(135deg, rgba(6, 17, 27, 0.96) 0%, rgba(3, 11, 18, 0.98) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 235, 180, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
}

.card-cover {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  border: 1px solid rgba(220, 170, 85, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  object-fit: cover;
  display: block;
}

.card-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font: 500 10px var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-breadcrumbs a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-breadcrumbs a:hover {
  color: var(--gold2);
  text-decoration: underline;
}

.card-breadcrumbs .sep {
  opacity: 0.5;
  font-size: 8px;
}

.card-breadcrumbs .current {
  color: #ede4d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.card-title {
  margin: 0;
  font: 500 clamp(24px, 2.6vw, 34px) / 1.15 var(--serif);
  color: #ffffff;
  letter-spacing: 0.01em;
}

.card-meta-line {
  font-size: 15px;
  color: #aca293;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.card-meta-line .sep {
  opacity: 0.4;
}

.card-meta-line em {
  font: 400 22px var(--script);
  color: #d8a34c;
}

/* Floating Audio Player Controls */
.card-audio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 6px;
}

.player-play-btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 1px solid #d6a64a;
  background: radial-gradient(circle, #7e5724 0%, #0a1117 72%);
  color: #fce7b4;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(206, 151, 50, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.player-play-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(206, 151, 50, 0.35);
}

.player-time-current,
.player-time-duration {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #a9a094;
  min-width: 36px;
}

.player-time-current {
  text-align: right;
}

.player-scrubber-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.player-scrubber {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  accent-color: var(--gold2);
}

.player-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold2);
  border: 2px solid #5a3814;
  box-shadow: 0 0 8px rgba(240, 211, 139, 0.6);
  cursor: pointer;
}

.player-scrubber::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold2);
  border: 2px solid #5a3814;
  box-shadow: 0 0 8px rgba(240, 211, 139, 0.6);
  cursor: pointer;
}

.player-nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.player-step-btn {
  background: none;
  border: 0;
  color: #cbbeab;
  font-size: 16px;
  padding: 6px;
  cursor: pointer;
  border-radius: 4px;
  display: grid;
  place-items: center;
  transition: color 0.15s ease;
}

.player-step-btn:hover {
  color: var(--gold2);
}

.player-volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}

.player-volume-btn {
  background: none;
  border: 0;
  color: #cbbeab;
  font-size: 16px;
  padding: 6px;
  cursor: pointer;
  border-radius: 4px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: color 0.15s ease;
}

.player-volume-btn:hover {
  color: var(--gold2);
}

.player-volume-slider {
  width: 70px;
  min-width: 50px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  accent-color: var(--gold2);
  flex-shrink: 0;
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold2);
  border: 2px solid #5a3814;
  box-shadow: 0 0 6px rgba(240, 211, 139, 0.5);
  cursor: pointer;
}

/* ==========================================================================
   Primary Action Buttons (Below Player Card)
   ========================================================================== */

.action-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  border-radius: 10px;
  font: 500 14px var(--serif);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.action-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.action-btn-gold {
  background: linear-gradient(145deg, #c9963e 0%, #8e6129 100%);
  border: 1px solid #e6bd6a;
  color: #fff9ea;
  box-shadow: 0 6px 20px rgba(184, 123, 36, 0.2);
}

.action-btn-gold:hover {
  background: linear-gradient(145deg, #d8a44b 0%, #9e6d32 100%);
  box-shadow: 0 8px 24px rgba(184, 123, 36, 0.3);
  color: #ffffff;
}

.action-btn-parchment {
  background: #fdfbf7;
  border: 1px solid rgba(190, 150, 85, 0.42);
  color: #433626;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.action-btn-parchment:hover {
  background: #ffffff;
  border-color: var(--gold);
  color: #271e14;
}

.action-btn-disabled {
  background: #f7f4ed;
  border: 1px solid rgba(190, 150, 85, 0.25);
  color: #9c9284;
  cursor: default;
  box-shadow: none;
}

/* ==========================================================================
   Share Chant Modal Dialog
   ========================================================================== */
.share-popover-tray {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 14, 10, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.share-popover-tray:not([hidden]),
.share-popover-tray.active {
  opacity: 1;
  visibility: visible;
}

.share-popover-tray[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.share-modal-card {
  background: #fdfbf7;
  border: 1px solid rgba(195, 160, 95, 0.55);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  max-width: 500px;
  width: 100%;
  padding: 26px 28px;
  position: relative;
  transform: translateY(15px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.share-popover-tray:not([hidden]) .share-modal-card,
.share-popover-tray.active .share-modal-card {
  transform: translateY(0) scale(1);
}

.share-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(195, 160, 95, 0.12);
  border: 1px solid rgba(195, 160, 95, 0.3);
  font-size: 20px;
  line-height: 1;
  color: #635340;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.share-modal-close:hover {
  background: rgba(195, 160, 95, 0.28);
  color: #1a120b;
  transform: rotate(90deg);
}

.share-modal-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(195, 160, 95, 0.25);
}

.share-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(201, 150, 62, 0.12);
  border: 1px solid rgba(201, 150, 62, 0.3);
  font: 600 11px var(--caps);
  letter-spacing: 0.14em;
  color: #8c5d15;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.share-modal-badge svg {
  width: 14px;
  height: 14px;
  fill: #8c5d15;
}

.share-modal-title {
  font: 600 24px var(--display);
  color: #23190e;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.share-modal-sub {
  font: 400 13px var(--serif);
  font-style: italic;
  color: #7d6f5c;
  margin: 0;
}

.share-copy-box {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.share-url-input {
  flex: 1;
  background: #f7f4ed;
  border: 1px solid rgba(195, 160, 95, 0.4);
  border-radius: 8px;
  padding: 10px 14px;
  font: 400 13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #4a3e30;
  outline: none;
  min-width: 0;
  user-select: all;
  -webkit-user-select: all;
}

.share-url-input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(201, 150, 62, 0.2);
}

.share-copy-btn-primary {
  flex-shrink: 0;
  background: linear-gradient(135deg, #d8a855 0%, #b88126 100%) !important;
  color: #1a1208 !important;
  border: 1px solid #a36f1c !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(181, 128, 40, 0.25) !important;
  transition: all 0.18s ease;
}

.share-copy-btn-primary:hover {
  background: linear-gradient(135deg, #e5b663 0%, #c48c30 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(181, 128, 40, 0.35) !important;
}

.share-copy-btn-primary.copy-success {
  background: linear-gradient(135deg, #5b9e64 0%, #3d7845 100%) !important;
  color: #ffffff !important;
  border-color: #2e6035 !important;
}

.share-native-wrap {
  margin-bottom: 16px;
}

.share-native-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px dashed rgba(195, 160, 95, 0.6);
  background: rgba(201, 150, 62, 0.08);
  color: #6d4b14;
  font: 500 13px var(--serif);
  cursor: pointer;
  transition: all 0.15s ease;
}

.share-native-btn:hover {
  background: rgba(201, 150, 62, 0.18);
  border-color: var(--gold);
}

.share-channels-title {
  font: 600 11px var(--caps);
  letter-spacing: 0.12em;
  color: #8c7e6c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.share-popover-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.share-option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(195, 160, 95, 0.35);
  background: #fbf9f4;
  color: #3d3022;
  font: 500 13.5px var(--serif);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.share-option-btn:hover {
  background: #ffffff;
  border-color: var(--gold);
  color: #1a120b;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(181, 128, 40, 0.15);
}

.share-option-btn svg {
  width: 16px;
  height: 16px;
  color: #8c5d15;
}

/* Active Highlight for Share Button in Grid */
.action-btn.share-active,
.action-btn#shareActionBtn[aria-expanded="true"] {
  background: #f4ecdc !important;
  border-color: var(--gold) !important;
  color: #784f10 !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 62, 0.28), 0 3px 8px rgba(39, 30, 20, 0.1) !important;
}

/* ==========================================================================
   Main Parchment Content Section
   ========================================================================== */

.parchment-wrapper {
  background: var(--parchment);
  color: var(--parchment-text);
  padding-top: 36px;
  padding-bottom: 72px;
  position: relative;
}

.content-two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 56px;
  align-items: start;
}

.main-column {
  min-width: 0;
}

/* Headings with delicate right-extending line */
.section-heading-with-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
}

.section-heading-with-line h2,
.section-heading-with-line h3 {
  margin: 0;
  font: 500 clamp(22px, 2.6vw, 36px) / 1.25 var(--serif);
  color: #241c13;
  min-width: 0;
}

.section-heading-with-line:after {
  content: '';
  flex: 1;
  min-width: 16px;
  height: 1px;
  background: var(--parchment-line);
}

/* The Words */
.words-section {
  margin-bottom: 40px;
  position: relative;
}

.chant-lyrics-body {
  font: 400 clamp(19px, 1.9vw, 22px) / 1.75 var(--serif);
  color: #2e251b;
  white-space: pre-line;
  margin-bottom: 20px;
  letter-spacing: 0.005em;
  transition: max-height 0.35s ease;
}

.words-section.words-collapsed .chant-lyrics-body {
  max-height: 250px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
  margin-bottom: 4px;
}

.words-toggle-row {
  margin-top: 8px;
  margin-bottom: 22px;
  text-align: center;
}

.words-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fbf8f2;
  border: 1px solid rgba(195, 160, 95, 0.45);
  border-radius: 20px;
  padding: 8px 18px;
  font: 600 12px var(--caps);
  letter-spacing: 0.1em;
  color: #7d5b1d;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(39, 30, 20, 0.04);
}

.words-toggle-btn:hover {
  background: #ffffff;
  border-color: var(--gold);
  color: #52380d;
  box-shadow: 0 4px 12px rgba(181, 128, 40, 0.18);
  transform: translateY(-1px);
}

.words-toggle-btn .toggle-icon {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.words-source-line {
  font-size: 15px;
  color: var(--parchment-muted);
  font-style: italic;
  margin: 0;
}

/* Ornamental Centered Section Divider */
.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 44px 0;
  color: var(--gold);
}

.ornamental-divider:before,
.ornamental-divider:after {
  content: '';
  height: 1px;
  width: 140px;
  max-width: 35%;
  background: var(--parchment-line);
}

.ornamental-divider span {
  font-size: 14px;
}

/* The Sharing Section */
.sharing-section {
  margin-bottom: 40px;
}

.sharing-intro-text {
  font-size: 19px;
  line-height: 1.65;
  color: #4a3e30;
  margin: 0 0 24px;
}

/* The Sharing Audio Card */
.sharing-audio-card {
  background: var(--parchment-card);
  border: 1px solid rgba(195, 160, 95, 0.38);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}

.sharing-cover {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  border: 1px solid rgba(195, 160, 95, 0.3);
  object-fit: cover;
  display: block;
}

.sharing-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sharing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(181, 128, 40, 0.12);
  border: 1px solid rgba(181, 128, 40, 0.35);
  color: #8c5d15;
  padding: 3px 10px;
  border-radius: 12px;
  font: 600 10.5px var(--caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sharing-meta-line {
  font: 500 11px var(--caps);
  letter-spacing: 0.16em;
  color: #8c7f6e;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
}

.sharing-meta-line .sep {
  opacity: 0.5;
}

.sharing-title {
  margin: 0;
  font: 500 24px / 1.2 var(--serif);
  color: #241c13;
}

.sharing-subtitle {
  font-size: 15px;
  color: #726757;
}

.sharing-subtitle em {
  font: 400 21px var(--script);
  color: #b58028;
}

/* Sharing Audio Player */
.sharing-player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  min-width: 0;
}

.sharing-play-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid #c9963e;
  background: radial-gradient(circle, #f9ecd1 0%, #ecd8b2 100%);
  color: #5a3814;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(184, 123, 36, 0.15);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.sharing-play-btn:hover {
  transform: scale(1.05);
}

.sharing-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: #786d5e;
  min-width: 32px;
  flex-shrink: 0;
}

.sharing-scrubber {
  flex: 1;
  min-width: 60px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(195, 160, 95, 0.3);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  accent-color: #b58028;
}

.sharing-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  flex-shrink: 0;
}

.sharing-volume-icon {
  background: none;
  border: 0;
  color: #786d5e;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  line-height: 1;
}

.sharing-volume-slider {
  width: 55px;
  min-width: 50px;
  height: 4px;
  accent-color: #b58028;
  cursor: pointer;
  flex-shrink: 0;
}

.sharing-side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}

.sharing-side-actions .action-btn {
  padding: 10px 14px;
  font-size: 14px;
  width: 100%;
}

/* Post-Lyrics Share Invite */
.share-chant-invite {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px dashed rgba(195, 160, 95, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.share-chant-invite .invite-label {
  font: italic 400 17px / 1.3 var(--serif);
  color: #6a5d4d;
}

.share-chant-invite .invite-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.invite-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(195, 160, 95, 0.4);
  background: #fffdfa;
  color: #6d5b45;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0;
}

.invite-icon-btn:hover {
  background: var(--gold-grad);
  border-color: #c9963e;
  color: #2e1e0a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 128, 40, 0.2);
}

.invite-icon-btn svg {
  width: 17px;
  height: 17px;
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #141f2d;
  color: #f7ede0;
  border: 1px solid rgba(195, 160, 95, 0.45);
  padding: 12px 24px;
  border-radius: 30px;
  font: 500 14px var(--serif);
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  pointer-events: none;
}

.copy-toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Full Transcription Accordion */
.transcript-accordion {
  border: 1px solid rgba(195, 160, 95, 0.35);
  border-radius: 12px;
  background: var(--parchment-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.transcript-accordion[open] {
  border-color: rgba(195, 160, 95, 0.6);
}

.transcript-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  cursor: pointer;
  font: 500 17px var(--serif);
  color: #2b2217;
  user-select: none;
}

.transcript-summary::-webkit-details-marker {
  display: none;
}

.transcript-summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.transcript-summary-left svg {
  width: 20px;
  height: 20px;
  color: #a0742f;
}

.transcript-chevron {
  font-size: 14px;
  color: #a0742f;
  transition: transform 0.25s ease;
}

.transcript-accordion[open] .transcript-chevron {
  transform: rotate(180deg);
}

.transcript-body {
  padding: 0 24px 24px;
  font-size: 18px;
  line-height: 1.7;
  color: #3b3023;
  border-top: 1px solid rgba(195, 160, 95, 0.2);
  margin-top: 6px;
  padding-top: 20px;
  white-space: pre-line;
}

/* ==========================================================================
   Sidebar: Chant Facts Panel
   ========================================================================== */

.sidebar-column {
  min-width: 0;
}

.chant-facts-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 0;
}

.fact-row {
  display: grid;
  grid-template-columns: 44px 105px 1fr;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(195, 160, 95, 0.16);
}

.fact-row:last-child {
  border-bottom: 0;
}

.fact-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(195, 160, 95, 0.4);
  background: rgba(214, 164, 74, 0.08);
  display: grid;
  place-items: center;
  color: #9e712a;
}

.fact-icon-badge svg {
  width: 20px;
  height: 20px;
}

.fact-label {
  font: 600 11px var(--caps);
  letter-spacing: 0.18em;
  color: #8c7f6e;
  text-transform: uppercase;
}

.fact-value {
  font: 500 17px var(--serif);
  color: #241c13;
  word-break: break-word;
}

.fact-value a {
  color: #ab7927;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fact-value a:hover {
  color: #6d4b12;
}

/* ==========================================================================
   Section: More from [Theme]
   ========================================================================== */

.related-chants-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--parchment-line);
}

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.related-head h2 {
  margin: 0;
  font: 500 clamp(28px, 2.6vw, 36px) / 1.15 var(--serif);
  color: #241c13;
}

.related-head a {
  font: 500 13px var(--caps);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ab7927;
  text-decoration: none;
  white-space: nowrap;
}

.related-head a:hover {
  text-decoration: underline;
}

.related-subtitle {
  margin: 0 0 32px;
  font-size: 17px;
  color: #6a5e4e;
  max-width: 780px;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--parchment-card);
  border: 1px solid rgba(195, 160, 95, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(195, 160, 95, 0.65);
}

.related-card-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(195, 160, 95, 0.2);
}

.related-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card-theme {
  font: 600 10px var(--caps);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a0742f;
  margin-bottom: 6px;
}

.related-card-title {
  margin: 0 0 6px;
  font: 500 22px / 1.2 var(--serif);
}

.related-card-title a {
  color: #231b12;
  text-decoration: none;
}

.related-card-title a:hover {
  color: #a0742f;
}

.related-card-meta {
  font-size: 14px;
  color: #8c8070;
  margin-bottom: 10px;
}

.related-card-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: #55493a;
  margin: 0 0 18px;
  flex: 1;
}

.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(195, 160, 95, 0.16);
  padding-top: 12px;
}

.related-card-duration {
  font-size: 13px;
  color: #8c8070;
  display: flex;
  align-items: center;
  gap: 6px;
}

.related-play-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #c9963e;
  background: #fdfaf3;
  color: #5a3814;
  display: grid;
  place-items: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.related-play-link:hover {
  background: var(--gold);
  color: #fff;
}

/* ==========================================================================
   Section: Discover More Chants CTA (Pure CSS)
   ========================================================================== */

.discover-cta-banner {
  margin-top: 48px;
  padding: 32px 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9f0 0%, #f6ecdb 100%);
  border: 1px solid rgba(205, 165, 88, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.discover-cta-copy {
  max-width: 600px;
}

.discover-cta-kicker {
  font: 600 10px var(--caps);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a0742f;
  margin-bottom: 6px;
}

.discover-cta-title {
  margin: 0 0 8px;
  font: 500 clamp(24px, 2.4vw, 32px) var(--serif);
  color: #241c13;
}

.discover-cta-desc {
  margin: 0;
  font-size: 16px;
  color: #675c4e;
}

.discover-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Global Footer (Mountains Sunset)
   ========================================================================== */

.chant-footer {
  position: relative;
  background-color: #020811;
  background-image:
    linear-gradient(180deg, #020811 0%, rgba(2, 8, 17, 0.6) 100px, rgba(2, 8, 17, 0.2) 100%),
    url('footer-mountains.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: var(--cream);
  padding: 64px 0 40px;
  overflow: hidden;
  border-top: 1px solid rgba(213, 164, 75, 0.35);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(213, 164, 75, 0.2);
}

.footer-brand .brand-symbol {
  width: 48px;
  height: 48px;
  font-size: 28px;
}

.footer-brand .brand-title {
  font-size: 11px;
  margin-bottom: 3px;
}

.footer-brand .brand-sub b {
  font-size: 13.5px;
}

.footer-brand .brand-sub em {
  font-size: 20px;
}

.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #c9bfb1;
  text-decoration: none;
  font: 500 12px var(--caps);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--gold2);
}

.footer-mid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 30px 0;
}

.footer-mission {
  margin: 0;
  max-width: 580px;
  font-size: 16px;
  line-height: 1.6;
  color: #b5aba0;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
}

.social-circle-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(213, 164, 75, 0.4);
  background: rgba(4, 11, 18, 0.6);
  display: grid;
  place-items: center;
  color: #d8c093;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-circle-link:hover {
  border-color: var(--gold2);
  color: #ffffff;
  background: rgba(201, 150, 62, 0.2);
}

.social-circle-link svg {
  width: 17px;
  height: 17px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(213, 164, 75, 0.15);
  font-size: 13px;
  color: #8c8376;
}

.footer-bottom-row a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(213, 164, 75, 0.35);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-bottom-row a:hover {
  color: var(--gold2);
  text-decoration-color: var(--gold2);
}

.footer-tagline {
  font: 500 11px var(--caps);
  letter-spacing: 0.2em;
  color: #a39682;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 260px 1fr auto;
  }
  .brand-title {
    font-size: 11px;
  }
  .brand-sub b {
    font-size: 14px;
  }
  .brand-sub em {
    font-size: 21px;
  }
  .nav-links {
    gap: 18px;
  }
  .action-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-two-column-grid {
    grid-template-columns: 1fr 310px;
    gap: 40px;
  }
  .sharing-audio-card {
    grid-template-columns: 120px minmax(0, 1fr) 180px;
    gap: 20px;
  }
  .sharing-cover {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 900px) {
  .nav {
    height: 84px;
    grid-template-columns: 1fr auto;
  }
  .brand-symbol {
    width: 48px;
    height: 48px;
  }
  .brand-title {
    font-size: 10.5px;
  }
  .brand-sub b {
    font-size: 13.5px;
  }
  .brand-sub em {
    font-size: 20px;
  }
  .nav-links,
  .journey-btn {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 9, 18, 0.98);
    padding: 110px 30px 40px;
    display: none;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    color: #eeddbb;
    text-decoration: none;
    font: 500 18px var(--caps);
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .chant-hero {
    aspect-ratio: auto;
    height: 380px;
    min-height: 340px;
  }
  .player-card-wrap {
    margin-top: -50px;
  }
  .floating-player-card {
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 20px;
  }
  .card-cover {
    width: 130px;
    height: 130px;
  }
  .action-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-two-column-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sidebar-column {
    order: 2;
    background: #fffdf9;
    border: 1px solid rgba(195, 160, 95, 0.3);
    border-radius: 14px;
    padding: 24px;
  }
  .sharing-audio-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .sharing-side-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 12px;
  }
  .sharing-side-actions .action-btn {
    flex: 1;
  }
  .related-cards-grid {
    grid-template-columns: 1fr;
  }
  .discover-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-top-row,
  .footer-mid-row,
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .brand-symbol {
    width: 42px;
    height: 42px;
  }
  .brand-title {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .brand-sub {
    gap: 6px;
  }
  .brand-sub b {
    font-size: 11.5px;
    letter-spacing: 0.16em;
  }
  .brand-sub em {
    font-size: 17px;
  }
  .section-heading-with-line {
    flex-wrap: wrap;
    gap: 8px;
  }
  .section-heading-with-line:after {
    display: none;
  }
  .chant-hero {
    height: 290px;
    min-height: 270px;
  }
  .player-card-wrap {
    margin-top: -40px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .floating-player-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .card-cover {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }
  .card-breadcrumbs {
    justify-content: center;
  }
  .card-meta-line {
    justify-content: center;
  }
  .card-audio-player {
    flex-wrap: wrap;
    justify-content: center;
  }
  .player-volume-wrap {
    margin-left: 6px;
  }
  .player-volume-slider {
    width: 45px;
  }
  .player-scrubber-wrap {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }
  .action-buttons-grid {
    grid-template-columns: 1fr;
  }
  .sharing-audio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sharing-badge {
    align-self: center;
    margin: 0 auto 6px;
  }
  .sharing-cover {
    margin: 0 auto;
  }
  .sharing-meta-line {
    justify-content: center;
  }
  .sharing-player-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
  .sharing-scrubber {
    order: 3;
    width: 100%;
  }
  .sharing-side-actions {
    flex-direction: column;
  }
  .fact-row {
    grid-template-columns: 38px 90px 1fr;
    font-size: 15px;
  }
}
