/* ============================================================
   Shadani Darbar — "Darshan" design system
   Mobile-first. Temple maroon, ivory and brass. Fraunces display.
   ============================================================ */

:root {
  --ink: #2b1915;
  --ink-soft: #5d443a;
  --muted: #7d675b;
  --paper: #f6efe3;
  --paper-2: #efe4d1;
  --paper-3: #e7d8c2;
  --card: #fffaf1;
  --maroon: #6b1d27;
  --maroon-deep: #3f1017;
  --maroon-ink: #260a0e;
  --gold: #b98a45;
  --gold-ink: #8a6228;
  --gold-bright: #dfb36c;
  --saffron: #cf7a2c;
  --line: rgba(94, 55, 36, .17);
  --line-strong: rgba(94, 55, 36, .28);
  --shadow-sm: 0 6px 20px rgba(48, 27, 17, .06);
  --shadow: 0 20px 52px rgba(48, 27, 17, .12);
  --shadow-lg: 0 34px 90px rgba(28, 14, 9, .24);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --dev: "Tiro Devanagari Hindi", "Noto Sans Devanagari", serif;
  --ease: cubic-bezier(.22, .72, .28, 1);
}

body.dark {
  --ink: #f4e7d7;
  --ink-soft: #dcc9ba;
  --muted: #b9a597;
  --paper: #15100f;
  --paper-2: #1e1614;
  --paper-3: #2a201c;
  --card: #221a17;
  --maroon: #d68a6a;
  --maroon-deep: #3c0f15;
  --maroon-ink: #1c0909;
  --gold: #d8ae72;
  --gold-ink: #e0b87f;
  --gold-bright: #efca8f;
  --line: rgba(235, 210, 180, .15);
  --line-strong: rgba(235, 210, 180, .26);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .25);
  --shadow: 0 20px 52px rgba(0, 0, 0, .38);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--gold-bright); color: var(--maroon-ink); }

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.section-shell {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--maroon);
  color: #fff4e2;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------
   Announcement + header
   ------------------------------------------------------------ */

.announcement {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 20px;
  background: var(--maroon-ink);
  color: #ead5bb;
  font-size: 11px;
  letter-spacing: .015em;
}
.announcement-mantra {
  font-family: var(--dev);
  font-size: 12px;
  color: var(--gold-bright);
  white-space: nowrap;
}
.announcement-text { display: none; color: #cbb7a5; }
.announcement a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f2cf9c;
  font-weight: 600;
  white-space: nowrap;
}
.announcement .icon { width: 12px; height: 12px; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 64px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: none;
  border-radius: 50%;
  background: var(--maroon);
  color: #f8dfb8;
  font-family: var(--dev);
  font-size: 21px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(246, 219, 178, .38);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; min-width: 0; }
.brand-copy b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-copy small {
  font-family: var(--dev);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: .04em;
  white-space: nowrap;
}

.desktop-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--paper-2); color: var(--maroon); border-color: var(--line-strong); }
.icon-btn .icon-sun { display: none; }
body.dark .icon-btn .icon-sun { display: block; }
body.dark .icon-btn .icon-moon { display: none; }
.desktop-only { display: none; }

.menu-btn { display: grid; }

.install-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--maroon);
  color: #fff3df;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(107, 29, 39, .16);
}
.install-btn .icon { width: 16px; height: 16px; }
.install-btn[hidden] { display: none !important; }

.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 14px;
  right: 14px;
  z-index: 95;
  display: none;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.show {
  display: block;
  animation: menuIn .24s var(--ease) both;
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px) scale(.99); }
  to { opacity: 1; transform: none; }
}
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 10px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background .16s;
}
.mobile-menu nav a:hover { background: var(--paper-2); }
.menu-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--maroon);
}
.menu-icon .icon { width: 17px; height: 17px; }
.menu-actions {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.menu-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
}
.menu-actions button:hover { background: var(--paper-2); color: var(--maroon); }
.menu-actions .icon { width: 16px; height: 16px; color: var(--gold-ink); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(100% - 24px);
  max-width: 1160px;
  min-height: min(80svh, 620px);
  margin: 12px auto 0;
  padding: 34px 22px 30px;
  border: 1px solid rgba(223, 179, 108, .2);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 95% at 50% -8%, #8d343f 0%, #631d27 32%, #3b0f16 64%, #21080c 100%);
  color: #fff6e8;
  box-shadow: var(--shadow);
}
.hero-light {
  position: absolute;
  inset: -18% -12% auto;
  z-index: -3;
  height: 78%;
  background: radial-gradient(48% 58% at 50% 42%, rgba(255, 198, 124, .26), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}
.hero-jali {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(45deg, rgba(223, 179, 108, .14) 25%, transparent 25%, transparent 75%, rgba(223, 179, 108, .14) 75%),
    linear-gradient(45deg, rgba(223, 179, 108, .14) 25%, transparent 25%, transparent 75%, rgba(223, 179, 108, .14) 75%);
  background-position: 0 0, 17px 17px;
  background-size: 34px 34px;
  opacity: .55;
  mask-image: radial-gradient(85% 70% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(85% 70% at 50% 0%, #000 10%, transparent 78%);
  pointer-events: none;
}
.hero-arch {
  position: absolute;
  top: 20px;
  bottom: 18px;
  left: 50%;
  z-index: -1;
  width: min(86%, 680px);
  transform: translateX(-50%);
  border: 1px solid rgba(235, 194, 133, .34);
  border-radius: 999px 999px 26px 26px;
  box-shadow: inset 0 0 0 1px rgba(235, 194, 133, .05), inset 0 46px 100px rgba(255, 186, 110, .06);
  pointer-events: none;
}
.hero-arch::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(235, 194, 133, .15);
  border-radius: inherit;
}
.hero-arch::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(135deg, #f4d09c, #b98a45);
  box-shadow: 0 0 18px rgba(223, 179, 108, .55);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 4px;
  text-align: center;
}
.hero-emblem {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  border: 1px solid rgba(223, 179, 108, .45);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, rgba(255, 201, 130, .18), rgba(255, 201, 130, .03) 72%);
  color: #f0c98f;
  box-shadow: 0 0 0 5px rgba(223, 179, 108, .06), 0 12px 30px rgba(0, 0, 0, .2);
  animation: riseIn .7s var(--ease) both;
}
.hero-emblem svg { width: 28px; height: 28px; }
.hero-mantra {
  font-family: var(--dev);
  font-size: 12.5px;
  letter-spacing: .14em;
  color: #f1c98f;
  animation: riseIn .7s .05s var(--ease) both;
}
.hero h1 {
  max-width: 20ch;
  margin: 14px auto;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.9rem + 3.6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.033em;
  text-wrap: balance;
  color: #fff8ec;
  animation: riseIn .8s .12s var(--ease) both;
}
.hero-lead {
  max-width: 40ch;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #e9d5c0;
  animation: riseIn .8s .2s var(--ease) both;
}
.hero-updates {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 18px;
  padding: 8px 15px;
  border: 1px solid rgba(235, 194, 133, .34);
  border-radius: 999px;
  background: rgba(255, 246, 231, .05);
  color: #f2d4a6;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: border-color .2s, background .2s, color .2s;
  animation: riseIn .8s .23s var(--ease) both;
}
.hero-updates:hover {
  border-color: rgba(244, 208, 156, .65);
  background: rgba(255, 246, 231, .1);
  color: #ffe9c4;
}
.hero-updates:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
.hero-updates .icon { width: 14px; height: 14px; }
.hero-updates-arrow { opacity: .7; transition: transform .2s var(--ease), opacity .2s; }
.hero-updates:hover .hero-updates-arrow { transform: translate(1px, -1px); opacity: 1; }
.hero-stats {
  display: flex;
  justify-content: center;
  max-width: 430px;
  margin: 20px auto 0;
  padding: 12px 0;
  border-top: 1px solid rgba(235, 194, 133, .18);
  border-bottom: 1px solid rgba(235, 194, 133, .18);
  animation: riseIn .8s .24s var(--ease) both;
}
.hero-stats span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 10px;
}
.hero-stats span + span { border-left: 1px solid rgba(235, 194, 133, .16); }
.hero-stats b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: #f3d3a0;
}
.hero-stats small {
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #c9b09a;
}
.hero-actions {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  animation: riseIn .8s .3s var(--ease) both;
}
.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding: 0 4px;
  font-size: 10px;
  color: #cbb6a2;
  animation: fadeIn 1s .5s var(--ease) both;
}
.hero-foot-note { display: inline-flex; align-items: center; gap: 7px; }
.hero-foot-mark { font-size: 9px; letter-spacing: .04em; color: rgba(232, 216, 198, .6); text-align: right; }
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(223, 179, 108, .5);
  animation: pulse 2.6s infinite;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(223, 179, 108, .45); }
  70% { box-shadow: 0 0 0 8px rgba(223, 179, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 179, 108, 0); }
}

/* ------------------------------------------------------------
   Buttons + links
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { width: 16px; height: 16px; }
.btn:active { transform: scale(.985); }
.btn-primary {
  background: var(--maroon);
  color: #fff4e3;
  box-shadow: 0 12px 28px rgba(63, 16, 23, .2);
}
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-1px); }
.hero .btn-primary { background: var(--gold-bright); color: #35110f; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.hero .btn-primary:hover { background: #ecc78f; }
.btn-ghost {
  border-color: rgba(240, 220, 193, .4);
  background: rgba(255, 250, 240, .06);
  color: #fff1de;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 250, 240, .13); }
.btn-gold { background: var(--gold-bright); color: #35110f; }
.btn-gold:hover { background: #edc98f; transform: translateY(-1px); }
.btn-small { min-height: 44px; padding: 10px 17px; font-size: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  transition: gap .2s var(--ease), color .2s;
}
.link-arrow:hover { gap: 10px; color: var(--maroon-deep); }
.link-arrow .icon { width: 13px; height: 13px; }
.link-light { color: var(--gold-bright); border-color: rgba(223, 179, 108, .6); }
.link-light:hover { color: #ffdca7; }

/* ------------------------------------------------------------
   Quick actions
   ------------------------------------------------------------ */

.quick-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 112px;
  padding: 15px 14px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.quick-card:hover { transform: translateY(-2px); border-color: rgba(185, 138, 69, .55); box-shadow: var(--shadow); }
.quick-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--paper-2);
  color: var(--maroon);
}
.quick-icon .icon { width: 19px; height: 19px; }
.quick-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.quick-copy b { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.quick-copy small { font-size: 11px; color: var(--muted); }
.quick-arrow {
  position: absolute;
  top: 14px;
  right: 13px;
  width: 15px;
  height: 15px;
  color: var(--gold);
}

/* ------------------------------------------------------------
   Mantra interlude
   ------------------------------------------------------------ */

.mantra-band {
  position: relative;
  margin-top: 56px;
  padding: 54px 0;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(185, 138, 69, .1), transparent 68%),
    var(--paper-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.mantra-band::before,
.mantra-band::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(185, 138, 69, .16);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.mantra-band::before { left: -78px; }
.mantra-band::after { right: -78px; }
.mantra-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ornament {
  width: 190px;
  height: auto;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: .78;
}
.mantra-dev {
  font-family: var(--dev);
  font-size: 28px;
  line-height: 1.4;
  color: var(--maroon);
}
.mantra-line {
  max-width: 24ch;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.mantra-sub { max-width: 42ch; font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 2px; }

/* ------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------ */

.section-block { padding: 72px 0; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.kicker {
  font-family: var(--dev);
  font-size: 14px;
  line-height: 1.4;
  color: var(--gold-ink);
  letter-spacing: .03em;
}
.section-head h2 {
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.55rem + 2.1vw, 3.28rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.section-lede {
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}
.section-head .link-arrow { margin-top: 2px; }

.section-head-light .kicker { color: var(--gold-bright); }
.section-head-light h2 { color: #fff4e5; }
.section-head-light .section-lede { color: #c6b0a4; }

/* ------------------------------------------------------------
   Digital Granth
   ------------------------------------------------------------ */

.granth-intro {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px;
  margin-bottom: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.granth-cover {
  height: 140px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--paper-3);
  box-shadow: 0 12px 26px rgba(46, 26, 16, .16);
}
.granth-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-label {
  font-family: var(--dev);
  font-size: 11px;
  color: var(--maroon);
}
.granth-copy h3 {
  margin: 3px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.granth-copy p { font-size: 12px; line-height: 1.62; color: var(--muted); }
.granth-stats { display: flex; gap: 24px; margin-top: 12px; }
.granth-stats div { display: flex; flex-direction: column; }
.granth-stats b {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  color: var(--maroon);
}
.granth-stats small { margin-top: 3px; font-size: 10px; color: var(--muted); }

.carousel-wrap { margin-top: 2px; }
.section-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 83%;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 20px 14px;
  margin-inline: -20px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.section-grid::-webkit-scrollbar { display: none; }
.section-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 92px;
  padding: 12px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.section-card:hover { transform: translateY(-2px); border-color: rgba(185, 138, 69, .5); box-shadow: var(--shadow); }
.section-thumb {
  width: 52px;
  height: 69px;
  flex: none;
  overflow: hidden;
  border-radius: 7px;
  background: var(--paper-3);
}
.section-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.section-card-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.section-card-copy b {
  font-family: var(--dev);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-card-copy small {
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-range {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--maroon);
}
.section-arrow { width: 15px; height: 15px; margin-left: auto; color: var(--gold); flex: none; }
.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--muted);
}
.swipe-hint .icon { width: 13px; height: 13px; color: var(--gold); }

/* ------------------------------------------------------------
   Audio / bhajans
   ------------------------------------------------------------ */

.dark-band {
  position: relative;
  color: #f7eadb;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(185, 138, 69, .17), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(207, 122, 44, .1), transparent 62%),
    var(--maroon-ink);
  overflow: hidden;
}
.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 232, 199, .028) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.dark-band .section-shell { position: relative; z-index: 1; }
.audio-block { padding: 72px 0 66px; }

.player-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 246, 231, .055);
  border: 1px solid rgba(240, 214, 177, .16);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.player-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #f3d39d, #c99a58 52%, #8d5a2e 78%, #59351f);
  box-shadow: 0 0 0 1px rgba(255, 226, 180, .38), 0 14px 34px rgba(0, 0, 0, .35);
  isolation: isolate;
}
.player-art::before,
.player-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(68, 33, 17, .28);
  pointer-events: none;
}
.player-art::before { inset: 13px; }
.player-art::after { inset: 25px; }
.player-glyph { display: none; }
.player-toggle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3d1614;
  transition: transform .2s var(--ease);
}
.player-toggle:hover { transform: scale(1.04); }
.player-toggle .icon { width: 32px; height: 32px; filter: drop-shadow(0 1px 1px rgba(255, 235, 200, .5)); }
.player-toggle .icon-pause { display: none; }
body.is-playing .player-toggle .icon-play { display: none; }
body.is-playing .player-toggle .icon-pause { display: block; }

.player-body { min-width: 0; }
.player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.player-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(240, 214, 177, .22);
  border-radius: 999px;
  color: #e7ceac;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .2s, border-color .2s, color .2s;
}
.player-download .icon { width: 12px; height: 12px; }
.player-download:hover {
  background: rgba(255, 240, 219, .1);
  border-color: rgba(240, 214, 177, .4);
  color: #fff0dc;
}
.player-label {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.player-body h3 {
  margin: 3px 0 1px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  color: #fff5e6;
}
.player-artist { font-size: 11.5px; color: #bda79c; }
.player-timeline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}
.player-timeline span {
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
  color: #bda79c;
  min-width: 30px;
}
.player-timeline span:last-child { text-align: right; }
.player-timeline input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--gold-bright) 0%, var(--gold-bright) var(--p, 0%), rgba(255, 239, 216, .18) var(--p, 0%), rgba(255, 239, 216, .18) 100%);
  cursor: pointer;
}
.player-timeline input[type="range"]:disabled { cursor: default; opacity: .6; }
.player-timeline input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #f5dcb1;
  box-shadow: 0 0 0 4px rgba(245, 220, 177, .14);
}
.player-timeline input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #f5dcb1;
}
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}
.player-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(240, 214, 177, .22);
  border-radius: 50%;
  background: transparent;
  color: #f0d6b4;
  transition: background .2s;
}
.player-controls button:hover { background: rgba(255, 240, 219, .1); }
.player-controls .icon { width: 14px; height: 14px; }
.player-eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.player-eq i {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: var(--gold-bright);
  opacity: .38;
}
body.is-playing .player-eq i { animation: eq .9s ease-in-out infinite alternate; opacity: .95; }
body.is-playing .player-eq i:nth-child(2) { animation-delay: .18s; }
body.is-playing .player-eq i:nth-child(3) { animation-delay: .36s; }
body.is-playing .player-eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { from { height: 4px; } to { height: 17px; } }

.track-list { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.track {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 9px 12px;
  text-align: left;
  background: rgba(255, 246, 231, .035);
  border: 1px solid transparent;
  border-radius: 14px;
  color: inherit;
  transition: background .18s, border-color .18s;
}
.track:hover { background: rgba(255, 246, 231, .07); }
.track.active { background: rgba(223, 179, 108, .12); border-color: rgba(223, 179, 108, .28); }
.track-main {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.track-download {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(240, 214, 177, .18);
  border-radius: 50%;
  color: #cbb29c;
  transition: color .18s, border-color .18s, background .18s;
}
.track-download .icon { width: 14px; height: 14px; }
.track-download:hover {
  color: var(--gold-bright);
  border-color: rgba(223, 179, 108, .45);
  background: rgba(255, 246, 231, .07);
}
.track-play {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(240, 214, 177, .26);
  border-radius: 50%;
  background: transparent;
  color: #efd3ad;
}
.track-play .icon { width: 13px; height: 13px; }
.track-play .icon-pause { display: none; }
.track.playing .track-play .icon-play { display: none; }
.track.playing .track-play .icon-pause { display: block; }
.track-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.track-copy b {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track-copy small { font-size: 10.5px; color: #ad9689; }
.track-state { display: none; }
.track.playing .track-state { display: block; }
.track-state i {
  display: block;
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--gold-bright);
  animation: eq .8s ease-in-out infinite alternate;
}
.content-note { margin-top: 14px; font-size: 10.5px; line-height: 1.6; color: #a28d82; }

/* ------------------------------------------------------------
   Video
   ------------------------------------------------------------ */

.video-feature { display: flex; flex-direction: column; gap: 12px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #1d1214;
  box-shadow: var(--shadow);
}
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #1d1214;
  color: #fff;
  text-align: left;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-poster img[hidden] { display: none; }
.video-frame.no-poster { background: radial-gradient(90% 80% at 70% 10%, #5a2226, #1d1214 70%); }
.video-poster:hover img { transform: scale(1.035); }
.video-poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 8, 9, .08) 30%, rgba(20, 8, 9, .72) 100%);
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: #3c1213;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .34), 0 0 0 8px rgba(255, 241, 218, .12);
  transition: transform .22s var(--ease);
}
.video-poster:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.06); }
.video-play-btn .icon { width: 24px; height: 24px; margin-left: 3px; }
.video-poster-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #f7e8d6;
}
.video-poster-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9634f;
  flex: none;
}
.video-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--maroon);
}
.video-badge i { width: 6px; height: 6px; border-radius: 50%; background: #bc4e3f; }
.video-info h3 {
  margin: 11px 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.video-info > p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 9px 0 17px;
  font-size: 10.5px;
  color: var(--muted);
}
.video-meta .icon { width: 12px; height: 12px; color: var(--maroon); }
.video-fallback { margin-top: 9px !important; font-size: 10.5px !important; line-height: 1.55 !important; }
.channel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 13px 15px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s, background .2s;
}
.channel-card:hover { border-color: var(--gold); background: var(--paper-3); }
.channel-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: #b9433a;
  color: #fff;
}
.channel-mark .icon { width: 16px; height: 16px; }
.channel-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.channel-copy b { font-size: 12px; font-weight: 600; }
.channel-copy small { font-size: 10.5px; line-height: 1.4; color: var(--muted); }
.channel-card .link-arrow { display: none; }

/* ------------------------------------------------------------
   Locations + map
   ------------------------------------------------------------ */

.map-section {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.locations-block { padding: 72px 0; }

.map-filter-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.map-filter {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.map-filter::-webkit-scrollbar { display: none; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-pill span { font-size: 10px; opacity: .6; }
.filter-pill:hover { border-color: var(--gold); }
.filter-pill.active { background: var(--maroon); border-color: var(--maroon); color: #fff2e0; }
.map-caption { font-size: 10px; color: var(--muted); }

.map-layout { display: flex; flex-direction: column; gap: 12px; }
.map-canvas-wrap {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #ddd2bf;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 76px;
}
.map-back {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  margin-top: -2px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  color: var(--maroon);
  font-size: 11.5px;
  font-weight: 600;
}
.map-back.show { display: inline-flex; }
.map-back .icon { width: 13px; height: 13px; }
.map-back[hidden] { display: none; }
#darbarMap { position: absolute; inset: 0; z-index: 1; background: #e1d6c4; }
body.dark #darbarMap { background: #2a231e; }
.map-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px;
  border: 0;
  text-align: left;
  color: #f7e9d7;
  background:
    radial-gradient(90% 70% at 80% 10%, rgba(185, 138, 69, .3), transparent 58%),
    radial-gradient(70% 70% at 10% 100%, rgba(207, 122, 44, .18), transparent 62%),
    linear-gradient(145deg, #3a151b, #250b10 70%);
  overflow: hidden;
}
.map-poster::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(235, 194, 133, .22);
  border-radius: 16px;
  pointer-events: none;
}
.map-poster-lines {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    repeating-radial-gradient(circle at 78% 18%, transparent 0 24px, rgba(239, 202, 143, .8) 24px 25px, transparent 25px 50px),
    linear-gradient(112deg, transparent 47.6%, rgba(239, 202, 143, .7) 47.6% 48.2%, transparent 48.2%),
    linear-gradient(20deg, transparent 61.6%, rgba(239, 202, 143, .5) 61.6% 62.2%, transparent 62.2%);
  pointer-events: none;
}
.map-poster-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.map-poster-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: #3d1113;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.map-poster-icon .icon { width: 20px; height: 20px; }
.map-poster-copy b { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.map-poster-copy small { font-size: 11px; color: #cdb8a3; }
.map-load {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #f8e9d3;
  color: #4a1717;
  font-size: 11.5px;
  font-weight: 700;
}
.map-load .icon { width: 13px; height: 13px; }
.map-poster.loading { opacity: .72; pointer-events: none; }
.map-poster.loading .map-load { opacity: .7; }
.map-status {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 600;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 250, 241, .97);
  color: #594237;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.map-status[hidden] { display: none; }
.map-unavailable { padding: 22px; font-size: 12px; line-height: 1.7; color: var(--ink-soft); }
body.dark .map-status { background: rgba(38, 30, 25, .97); color: #f0e2d4; }
body.dark .leaflet-control-attribution { background: rgba(35, 28, 24, .92) !important; }
body.dark .leaflet-control-attribution a { color: #ead6c3 !important; }

.location-list { display: flex; flex-direction: column; gap: 10px; }
.location-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.location-card:hover, .location-card.selected { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.location-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.location-country { font-size: 10px; font-weight: 700; color: var(--maroon); letter-spacing: .04em; }
.location-kind {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
}
.location-card h3 {
  margin: 8px 0 2px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -.022em;
}
.locality { font-size: 11px; color: var(--muted); }
.location-card p { margin: 9px 0 9px; font-size: 12.5px; line-height: 1.62; color: var(--muted); }
.location-precision {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 10px;
  color: var(--gold-ink);
}
.location-source { margin-bottom: 10px; font-size: 10px; }
.location-source a { color: var(--maroon); font-weight: 600; border-bottom: 1px dotted var(--gold); }
.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.location-actions button,
.location-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  transition: background .18s, border-color .18s, color .18s;
}
.location-actions button:hover,
.location-actions a:hover { background: var(--paper-3); border-color: var(--gold); color: var(--maroon); }
.location-actions .icon { width: 13px; height: 13px; }
.location-actions a { color: var(--maroon); }

.accuracy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 15px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.accuracy-note .icon { width: 17px; height: 17px; margin-top: 1px; color: var(--gold-ink); }
.accuracy-note p { font-size: 10.5px; line-height: 1.65; color: var(--muted); }
.accuracy-note b { color: var(--ink); }

/* ------------------------------------------------------------
   Events
   ------------------------------------------------------------ */

.events-block { padding: 72px 0; }
.event-status-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.event-status-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--maroon);
}
.event-status-icon .icon { width: 22px; height: 22px; }
.status-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.event-status-copy h3 {
  margin: 3px 0 6px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.event-status-copy > p { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.event-status-copy .btn { margin-top: 14px; }
.event-date-side {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: var(--maroon);
}
.event-date-side span { font-family: var(--serif); font-size: 48px; line-height: .9; }
.event-date-side small { font-size: 9.5px; font-weight: 700; line-height: 1.25; letter-spacing: .1em; }
.event-date-side i { margin-top: 8px; font-style: normal; font-size: 9px; color: var(--muted); }

.archive-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 38px 0 15px;
}
.archive-head .kicker { margin-bottom: 4px; font-size: 12px; }
.archive-head h3 { font-family: var(--serif); font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.archive-tag {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
}
.event-archive { display: flex; flex-direction: column; gap: 10px; }
.archive-card {
  padding: 15px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 4px var(--r-sm) var(--r-sm) 4px;
}
.archive-date { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; color: var(--maroon); }
.archive-card h4 {
  margin: 5px 0 5px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.archive-card p { font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------
   About + FAQ
   ------------------------------------------------------------ */

.about-band { padding: 60px 0 8px; }
.about-layout { display: grid; gap: 22px; }
.about-copy { max-width: 64ch; }
.about-copy p { font-size: 13px; line-height: 1.88; color: var(--ink-soft); }
.about-copy p + p { margin-top: 12px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.about-fact {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.about-fact b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}
.about-fact small { font-size: 10.5px; line-height: 1.5; color: var(--muted); }
.faq-list { display: grid; gap: 8px; margin-top: 26px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 14px; height: 14px; flex: none; color: var(--gold-ink); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 16px 15px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* ------------------------------------------------------------
   Socials
   ------------------------------------------------------------ */

.socials-band { padding: 52px 0 6px; }
.socials-head { max-width: 46ch; margin-bottom: 20px; }
.socials-head h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 1.5rem + 1.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.028em;
}
.socials-lede { margin-top: 8px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.socials-grid { display: grid; gap: 8px; }
.social-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 138, 69, .55);
  box-shadow: var(--shadow-sm);
}
.social-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--maroon);
}
.social-icon .icon { width: 17px; height: 17px; }
.social-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.social-copy b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.social-copy small {
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-arrow { width: 14px; height: 14px; color: var(--gold-ink); }
.socials-note { margin-top: 14px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------
   Closing + footer
   ------------------------------------------------------------ */

.closing-band {
  position: relative;
  padding: 58px 0 62px;
  text-align: center;
  color: #f6e7d5;
  background:
    radial-gradient(90% 100% at 50% 0%, rgba(185, 138, 69, .18), transparent 62%),
    var(--maroon-deep);
  overflow: hidden;
}
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ornament-light { stroke: var(--gold-bright); margin-bottom: 4px; }
.closing-mantra { font-family: var(--dev); font-size: 16px; color: var(--gold-bright); }
.closing-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.55rem + 1.6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.closing-band p { max-width: 44ch; font-size: 13px; line-height: 1.7; color: #cdb7a8; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }

.site-footer {
  padding: 40px 0 calc(108px + env(safe-area-inset-bottom));
  background: #1b080b;
  color: #d8c6b6;
}
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-brand-wrap { display: flex; flex-direction: column; gap: 15px; }
.footer-brand .brand-mark { background: #7a2530; }
.footer-brand .brand-copy b { color: #fff1df; }
.footer-brand .brand-copy small { color: #b39e8e; }
.footer-note { max-width: 44ch; font-size: 11px; line-height: 1.65; color: #ab9788; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a { font-size: 11.5px; color: #cbb8a7; transition: color .2s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(235, 210, 180, .14);
  font-size: 10.5px;
  color: #9d8a7c;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  flex: 1 1 260px;
  font-size: 10.5px;
  line-height: 1.7;
}
.footer-sep { color: rgba(235, 210, 180, .32); }
.footer-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #cbb8a7;
  font-size: 10.5px;
  font-weight: 600;
}
.footer-share:hover { color: var(--gold-bright); }
.footer-share .icon { width: 13px; height: 13px; }

/* ------------------------------------------------------------
   Bottom nav + mini player
   ------------------------------------------------------------ */

.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2px;
  padding: 7px 6px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(41, 20, 14, .2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}
.bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  padding: 2px 4px;
  color: var(--muted);
  font-size: 10px;
}
.bottom-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 28px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.bottom-icon .icon { width: 19px; height: 19px; }
.bottom-link small { font-size: 10px; font-weight: 600; line-height: 1.2; }
.bottom-link.active { color: var(--maroon); }
.bottom-link.active .bottom-icon { background: var(--maroon); color: #fff3df; }
body.dark .bottom-link.active .bottom-icon { background: var(--gold); color: #2b0f0a; }

.mini-player {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 115;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(38, 11, 15, .97);
  border: 1px solid rgba(223, 179, 108, .3);
  border-radius: 17px;
  color: #f7eadb;
  box-shadow: 0 18px 44px rgba(20, 6, 8, .42);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.mini-player.show { opacity: 1; transform: none; pointer-events: auto; }
.mini-art {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #f3d39d, #b9854b 62%, #6e4426);
  color: #451816;
  font-family: var(--dev);
  font-size: 19px;
}
.mini-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mini-copy b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-copy small { font-size: 9.5px; color: #b9a396; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid rgba(223, 179, 108, .32);
  border-radius: 50%;
  background: rgba(223, 179, 108, .13);
  color: #f2d5ab;
}
.mini-toggle .icon { width: 16px; height: 16px; }
.mini-toggle .icon-pause { display: none; }
body.is-playing .mini-toggle .icon-play { display: none; }
body.is-playing .mini-toggle .icon-pause { display: block; }
.mini-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a98f80;
}
.mini-close .icon { width: 15px; height: 15px; }
.mini-close:hover { color: #f2d5ab; }
.mini-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 240, 219, .16);
  overflow: hidden;
}
.mini-progress span { display: block; width: 0; height: 100%; background: var(--gold-bright); }

/* ------------------------------------------------------------
   Reader + install modals
   ------------------------------------------------------------ */

.reader-modal, .install-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(24, 9, 11, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.reader-modal.show, .install-modal.show { display: flex; }
.reader-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.reader-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.reader-heading { min-width: 0; }
.reader-heading .kicker { font-size: 11px; margin-bottom: 1px; }
.reader-top h2 {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.reader-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
}
.reader-close .icon { width: 17px; height: 17px; }
.reader-close:hover { background: var(--paper-3); }
.reader-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 12px 0 10px;
}
.reader-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--maroon);
  font-size: 11px;
  font-weight: 600;
}
.reader-controls button:first-child { justify-self: start; }
.reader-controls button:last-child { justify-self: end; }
.reader-controls button:disabled { opacity: .35; cursor: not-allowed; }
.reader-controls .icon { width: 14px; height: 14px; }
.reader-controls span { font-size: 10px; color: var(--muted); text-align: center; }
.reader-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background: var(--paper-3);
  border-radius: var(--r-sm);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.reader-image-wrap img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: auto;
  cursor: zoom-in;
  box-shadow: 0 8px 28px rgba(30, 15, 8, .23);
  background: #fff;
}
.reader-image-wrap.zoomed { align-items: flex-start; justify-content: flex-start; }
.reader-image-wrap.zoomed img { width: 190%; max-width: none; cursor: zoom-out; }
.reader-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 9.5px;
  color: var(--muted);
}
.reader-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--maroon);
  font-weight: 700;
  border-bottom: 1px dotted var(--gold);
}
.reader-bottom .icon { width: 12px; height: 12px; }
.reader-zoom {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}
.reader-zoom[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff3df; }

.install-dialog {
  position: relative;
  width: min(420px, calc(100% - 28px));
  padding: 28px 24px 24px;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.install-close { position: absolute; top: 12px; right: 12px; }
.install-symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 4px auto 14px;
  border-radius: 50%;
  background: var(--maroon);
  color: #f8dfb8;
  font-family: var(--dev);
  font-size: 32px;
  box-shadow: inset 0 0 0 1px rgba(246, 219, 178, .38);
}
.install-dialog h2 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.install-instructions {
  margin: 12px 0 20px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}
.install-instructions b { color: var(--ink); }
.install-dialog .btn { border: 0; }

/* ------------------------------------------------------------
   Toast + Leaflet
   ------------------------------------------------------------ */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(150px + env(safe-area-inset-bottom));
  z-index: 700;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--maroon-ink);
  color: #f7e8d6;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 16px 40px rgba(20, 8, 6, .34);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .24s, transform .24s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.leaflet-container { z-index: 1; font-family: var(--sans); }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-family: var(--sans); font-size: 11px; line-height: 1.6; }
.leaflet-popup-content b { font-family: var(--serif); font-size: 14px; }
.leaflet-popup-content a { color: #712d2e; font-weight: 700; }
.leaflet-control-attribution {
  font-size: 9px !important;
  padding: 2px 5px !important;
  background: rgba(255, 253, 248, .9) !important;
}
.leaflet-control-attribution a { color: #5d4b3d !important; }

/* ------------------------------------------------------------
   Desktop / tablet
   ------------------------------------------------------------ */

@media (min-width: 560px) {
  .announcement-text { display: inline; }
  .announcement { gap: 12px; }
  .announcement a { margin-left: 8px; }
  .hero { min-height: 600px; padding: 36px 28px 72px; }
  .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
  .hero .btn { flex: 0 0 auto; }
  .hero-foot { position: absolute; left: 34px; right: 34px; bottom: 24px; margin-top: 0; padding: 0; }
  .hero-inner { padding: 0; }
  .quick-strip { grid-template-columns: repeat(4, 1fr); }
  .quick-card { min-height: 124px; }
  .socials-band { padding: 64px 0 10px; }
  .socials-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .social-card { flex-direction: column; align-items: flex-start; gap: 11px; min-height: 148px; padding: 16px; }
  .social-arrow { position: absolute; top: 15px; right: 15px; }
  .social-copy small { white-space: normal; }
  .mantra-line { font-size: 32px; }
  .granth-intro { grid-template-columns: 124px 1fr; gap: 20px; padding: 18px; }
  .granth-cover { height: 184px; }
  .granth-copy h3 { font-size: 25px; }
  .granth-copy p { font-size: 12.5px; }
  .section-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; margin-inline: 0; padding: 0; }
  .swipe-hint { display: none; }
  .player-card { grid-template-columns: 116px 1fr; gap: 22px; padding: 22px; }
  .player-art { width: 116px; height: 116px; }
  .player-toggle .icon { width: 38px; height: 38px; }
  .video-poster-label { font-size: 12px; }
  .channel-card .link-arrow { display: inline-flex; flex: none; }
  .channel-copy small { font-size: 11px; }
  .map-layout { gap: 14px; }
  .location-list { display: grid; grid-template-columns: 1fr 1fr; }
  .event-status-card { grid-template-columns: 52px 1fr; padding: 22px; }
  .event-status-icon { width: 52px; height: 52px; }
  .event-status-copy h3 { font-size: 26px; }
  .event-archive { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-inner { display: grid; grid-template-columns: 1.3fr .7fr; align-items: start; }
  .footer-brand-wrap { grid-row: span 2; }
  .footer-links { justify-content: flex-end; }
  .footer-copy { grid-column: 1 / -1; }
}

@media (min-width: 760px) {
  .section-block, .audio-block, .locations-block, .events-block { padding: 96px 0; }
  .section-shell { width: min(100% - 64px, 1160px); }
  .section-head { gap: 14px; margin-bottom: 38px; }
  .section-head h2 { max-width: 18ch; }
  .section-lede { font-size: 15px; }
  .kicker { font-size: 15px; }
  .hero { width: min(100% - 48px, 1160px); margin-top: 20px; min-height: 660px; padding: 44px 38px 84px; border-radius: 34px; }
  .hero-inner { padding: 0; }
  .hero h1 { font-size: clamp(3.4rem, 2.4rem + 4vw, 5.4rem); }
  .hero-lead { font-size: 16px; max-width: 42ch; }
  .hero-foot { left: 48px; right: 48px; bottom: 30px; font-size: 11px; }
  .quick-strip { margin-top: 16px; gap: 12px; }
  .quick-card { min-height: 132px; padding: 18px 16px; }
  .mantra-band { margin-top: 84px; padding: 76px 0; }
  .mantra-dev { font-size: 38px; }
  .mantra-line { font-size: 38px; }
  .mantra-sub { font-size: 14px; }
  .about-band { padding: 88px 0 12px; }
  .about-layout { grid-template-columns: 1.35fr .8fr; gap: 32px; align-items: start; }
  .about-copy p { font-size: 13.5px; }
  .about-facts { grid-template-columns: 1fr; }
  .granth-intro { grid-template-columns: 168px 1fr; padding: 22px 26px; }
  .granth-cover { height: 222px; }
  .granth-copy h3 { font-size: 31px; }
  .granth-copy p { font-size: 13.5px; max-width: 52ch; }
  .granth-stats { gap: 38px; margin-top: 18px; }
  .granth-stats b { font-size: 25px; }
  .granth-stats small { font-size: 10.5px; }
  .section-grid { gap: 13px; }
  .section-card { min-height: 104px; padding: 14px; }
  .section-thumb { width: 58px; height: 76px; }
  .section-card-copy b { font-size: 14.5px; }
  .section-card-copy small { font-size: 10.5px; }
  .track-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .video-feature { display: grid; grid-template-columns: 1.42fr 1fr; align-items: stretch; gap: 18px; }
  .video-frame { height: 100%; min-height: 300px; }
  .video-info { padding: 26px; justify-content: center; }
  .map-filter-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .map-canvas-wrap { min-height: 360px; }
  .locations-block .map-layout { display: grid; grid-template-columns: 1fr; }
  .location-card { padding: 18px; }
  .event-status-card { grid-template-columns: 60px 1fr; gap: 20px; padding: 26px; }
  .event-status-copy h3 { font-size: 30px; }
  .event-status-copy > p { font-size: 13px; }
  .closing-band { padding: 76px 0 80px; }
  .site-footer { padding-bottom: 48px; }
}

@media (min-width: 900px) {
  html { scroll-padding-top: 96px; }
  body { padding-bottom: 0; }
  .app-header { height: 76px; padding: 0 32px; gap: 24px; }
  .brand-mark { width: 44px; height: 44px; font-size: 25px; }
  .brand-copy b { font-size: 19px; }
  .brand-copy small { font-size: 10px; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); margin-left: auto; }
  .nav-link {
    position: relative;
    padding: 26px 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    transition: color .2s;
  }
  .nav-link:hover, .nav-link.active { color: var(--maroon); }
  .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
  }
  .header-actions { margin-left: 0; }
  .desktop-only { display: grid; }
  .install-btn.desktop-only { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
  .bottom-nav { display: none; }
  .mini-player {
    left: auto;
    right: 24px;
    bottom: 20px;
    width: 350px;
  }
  .toast { bottom: 34px; }
  .quick-card { flex-direction: row; align-items: center; gap: 12px; min-height: 96px; padding: 16px; }
  .quick-card .quick-arrow { position: static; margin-left: auto; }
  .quick-copy b { font-size: 13.5px; }
  .quick-copy small { font-size: 10.5px; }
  .section-block, .audio-block, .locations-block, .events-block { padding: 112px 0; }
  .section-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-block .map-layout { grid-template-columns: 1.18fr .82fr; align-items: start; }
  .map-canvas-wrap { position: sticky; top: 96px; min-height: 540px; }
  .map-back, .map-back.show { display: none; }
  .locations-block .location-list { display: flex; flex-direction: column; max-height: 596px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
  .location-list::-webkit-scrollbar { width: 6px; }
  .location-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
  .event-status-card { grid-template-columns: 64px 1fr 128px; }
  .event-date-side { display: flex; }
  .events-block .event-archive { grid-template-columns: 1fr 1fr; }
  .player-card { grid-template-columns: 148px 1fr; gap: 30px; padding: 28px; }
  .player-art { width: 148px; height: 148px; }
  .player-art::before { inset: 19px; }
  .player-art::after { inset: 38px; }
  .player-toggle .icon { width: 46px; height: 46px; }
  .player-body h3 { font-size: 30px; }
  .player-timeline { margin-top: 18px; }
  .player-controls { max-width: 260px; }
  .player-controls button { width: 40px; height: 40px; }
  .track-list { margin-top: 18px; }
  .video-info h3 { font-size: 30px; }
  .footer-inner { grid-template-columns: 1.4fr .9fr; }
  .footer-copy { font-size: 11px; }
}

@media (min-width: 1024px) {
  .hero { min-height: 700px; padding: 48px 48px 92px; }
  .hero h1 { font-size: clamp(3.8rem, 3rem + 4vw, 5.2rem); }
  .hero-inner { max-width: 790px; }
  .hero-arch { width: min(80%, 780px); }
  .mantra-band { padding: 88px 0; }
  .mantra-dev { font-size: 44px; }
  .mantra-line { font-size: 44px; }
  .granth-intro { grid-template-columns: 198px 1fr; padding: 26px 32px; gap: 30px; }
  .granth-cover { height: 264px; }
  .granth-copy h3 { font-size: 37px; }
  .granth-copy p { font-size: 14px; }
  .section-grid { gap: 15px; }
  .section-card { padding: 16px; min-height: 112px; }
  .section-thumb { width: 64px; height: 84px; }
  .section-card-copy b { font-size: 15px; }
  .location-list { gap: 12px; }
  .map-canvas-wrap { min-height: 580px; }
  .locations-block .location-list { max-height: 636px; }
  .event-status-copy h3 { font-size: 34px; }
  .closing-band { padding: 92px 0 96px; }
  .closing-band h2 { font-size: 44px; }
}

@media (min-width: 1200px) {
  .hero-stats { max-width: 460px; }
}

/* ------------------------------------------------------------
   Motion + print + small screens
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 359px) {
  .brand-copy small { display: none; }
  .hero h1 { font-size: 2.35rem; }
  .quick-copy b { font-size: 12.5px; }
  .quick-copy small { font-size: 10px; }
  .section-grid { grid-auto-columns: 92%; }
  .player-card { grid-template-columns: 76px 1fr; gap: 13px; padding: 15px; }
  .player-art { width: 76px; height: 76px; }
  .player-body h3 { font-size: 18px; }
  .location-actions { grid-template-columns: 1fr; }
}

@media print {
  .announcement, .app-header, .quick-strip, .bottom-nav, .mini-player, .reader-modal, .install-modal, .toast { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .hero { min-height: auto; color: #000; background: #fff; box-shadow: none; }
  .hero-light, .hero-jali, .hero-arch { display: none; }
}

/* ============================================================
   App views, page heroes and install prompt
   ============================================================ */

.view[hidden] { display: none !important; }
.view { animation: viewIn .38s var(--ease) both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Compact, page-level hero used by every section except home. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff5e6;
  background:
    radial-gradient(120% 130% at 90% 0%, rgba(185, 138, 69, .2), transparent 58%),
    var(--maroon-ink);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 44px 0 40px;
}
.page-hero h1 {
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.65rem + 3vw, 3.55rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.page-hero .kicker { color: var(--gold-bright); }
.page-hero-lede {
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.7;
  color: #d9c5b3;
}
.page-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.page-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(235, 200, 150, .24);
  border-radius: 999px;
  background: rgba(255, 246, 231, .05);
  color: #e4cdb3;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.page-hero-arch {
  position: absolute;
  z-index: 0;
  top: -54px;
  right: -76px;
  width: 300px;
  height: calc(100% + 108px);
  border: 1px solid rgba(223, 179, 108, .2);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}
.page-hero-arch::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(223, 179, 108, .11);
  border-radius: inherit;
}

.page-hero--granth::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(100deg, rgba(32, 9, 13, .98) 34%, rgba(41, 11, 17, .84) 66%, rgba(32, 9, 13, .72)),
    url("assets/pages/page-01.png");
  background-size: cover, auto 158%;
  background-position: center, 84% 18%;
  background-repeat: no-repeat;
  opacity: .96;
}
.page-hero--granth .page-hero-inner { padding-right: 8px; }

.page-hero--satsang {
  background:
    radial-gradient(95% 130% at 92% 5%, rgba(223, 179, 108, .24), transparent 52%),
    radial-gradient(80% 90% at 6% 100%, rgba(207, 122, 44, .12), transparent 58%),
    var(--maroon-ink);
}
.page-hero--satsang::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(115deg, rgba(255, 232, 199, .04) 0 1px, transparent 1px 11px);
  pointer-events: none;
}

.page-hero--darbars {
  background:
    linear-gradient(105deg, rgba(32, 9, 13, .97), rgba(45, 13, 19, .9)),
    var(--maroon-ink);
}
.page-hero--darbars::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(223, 179, 108, .18) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 34%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 34%, #000 100%);
  opacity: .8;
}

.page-hero--updates {
  color: var(--ink);
  background:
    radial-gradient(90% 130% at 88% 0%, rgba(185, 138, 69, .18), transparent 60%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero--updates .kicker { color: var(--maroon); }
.page-hero--updates .page-hero-lede { color: var(--muted); }
.page-hero--updates .page-chips span { border-color: var(--line-strong); background: color-mix(in srgb, var(--card) 60%, transparent); color: var(--ink-soft); }
.page-hero--updates .page-hero-arch { border-color: rgba(107, 29, 39, .14); }
.page-hero--updates .page-hero-arch::after { border-color: rgba(107, 29, 39, .08); }

/* Segmented control on the satsang page. */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.segmented-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: background .2s, color .2s, box-shadow .2s;
}
.segmented-btn .icon { width: 16px; height: 16px; }
.segmented-btn.active {
  background: var(--maroon);
  color: #fff3df;
  box-shadow: 0 7px 18px rgba(63, 16, 23, .18);
}
body.dark .segmented-btn.active { color: #2b0f0a; }
.satsang-panel[hidden] { display: none !important; }
.satsang-panel .dark-band { margin-top: 18px; }
#panelVideo { padding-top: 34px; }

/* Video playlist under the feature. */
.video-list { display: grid; gap: 8px; margin-top: 14px; }
.video-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s;
}
.video-mini:hover { transform: translateY(-1px); border-color: rgba(185, 138, 69, .5); }
.video-mini-thumb {
  position: relative;
  width: 108px;
  height: 61px;
  flex: none;
  overflow: hidden;
  border-radius: 8px;
  background: #1d1214;
}
.video-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-mini-thumb .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  color: #fff3df;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5));
}
.video-mini-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.video-mini-copy b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}
.video-mini-copy small { font-size: 10px; color: var(--muted); }

.video-error {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 22px;
  color: #f6e7d5;
  background: radial-gradient(90% 100% at 70% 0%, #5a2226, #1d1214 74%);
}
.video-error b { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.video-error p { max-width: 42ch; font-size: 11.5px; line-height: 1.6; color: #cbb6a2; }
.video-error-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.video-error .btn { min-height: 42px; padding: 9px 16px; font-size: 11px; }

/* Install button is always available; compact on phones. */
.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--maroon);
  color: #fff3df;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(107, 29, 39, .16);
}
.install-btn span { display: none; }
.install-btn .icon { width: 17px; height: 17px; }
.install-btn[hidden] { display: none !important; }
.app-standalone .install-btn,
.app-standalone .install-prompt,
.app-standalone .quick-card--install { display: none !important; }

.quick-card--install { font: inherit; cursor: pointer; text-align: left; }

.install-prompt {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(142px + env(safe-area-inset-bottom));
  z-index: 118;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(41, 20, 14, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.install-prompt.show { opacity: 1; visibility: visible; transform: none; }
.install-prompt-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--maroon);
  color: #f8dfb8;
  font-family: var(--dev);
  font-size: 20px;
}
.install-prompt-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.install-prompt-copy b { font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.install-prompt-copy small { font-size: 10px; color: var(--muted); }
.install-prompt-add {
  flex: none;
  min-height: 36px;
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  background: var(--maroon);
  color: #fff3df;
  font-size: 11px;
  font-weight: 700;
}
.install-prompt-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}
.install-prompt-close .icon { width: 14px; height: 14px; }

.page-note-row { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.page-note-row .content-note { margin-top: 0; color: var(--muted); }
.events-source-note { max-width: 62ch; }
.events-source-note a { color: var(--maroon); font-weight: 700; border-bottom: 1px dotted var(--gold); }

@media (min-width: 560px) {
  .install-btn {
    width: auto;
    height: 42px;
    padding: 0 17px;
    gap: 8px;
    border: 0;
    border-radius: 999px;
  }
  .install-btn span { display: inline; }
  .page-hero-inner { padding: 56px 0 52px; gap: 15px; }
  .page-hero-lede { font-size: 15px; }
  .page-hero-arch { right: -40px; width: 380px; }
  .segmented { width: min(430px, 100%); }
  .video-list { grid-template-columns: 1fr 1fr; }
  .page-note-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .install-prompt { left: auto; right: 20px; width: 390px; bottom: calc(94px + env(safe-area-inset-bottom)); }
}

@media (min-width: 760px) {
  .page-hero-inner { padding: 76px 0 70px; }
  .page-hero h1 { max-width: 20ch; }
  .page-hero-lede { font-size: 16px; max-width: 56ch; }
  .page-chips span { min-height: 31px; padding: 6px 13px; font-size: 11px; }
  .page-hero-arch { width: 470px; right: -24px; }
  #panelVideo { padding-top: 54px; }
  .video-list { grid-template-columns: 1fr; }
  .install-prompt { bottom: 24px; right: 24px; }
}

@media (min-width: 900px) {
  .page-hero-inner { padding: 88px 0 78px; }
  .page-hero-arch { width: 560px; right: 0; }
  .satsang-panel .dark-band { margin-top: 24px; border-radius: 28px 28px 0 0; }
  .install-prompt { bottom: 92px; right: 24px; }
  .video-list { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------
   Bhajan search
   ------------------------------------------------------------ */

.audio-toolbar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 18px 0 2px;
}
.track-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 8px 0 14px;
  background: rgba(255, 246, 231, .06);
  border: 1px solid rgba(240, 214, 177, .2);
  border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.track-search:focus-within {
  border-color: rgba(223, 179, 108, .56);
  background: rgba(255, 246, 231, .09);
}
.track-search > .icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: #d9bea0;
  opacity: .8;
}
.track-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff3df;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.track-search input::placeholder { color: #bca894; opacity: .8; }
.track-search input::-webkit-search-cancel-button { display: none; }
.track-search-clear {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 246, 231, .1);
  color: #f0d6b4;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, background .2s;
}
.track-search.has-value .track-search-clear { opacity: 1; pointer-events: auto; }
.track-search-clear:hover { background: rgba(255, 246, 231, .18); }
.track-search-clear .icon { width: 13px; height: 13px; }
.track-count {
  padding-left: 4px;
  font-size: 10.5px;
  color: #c6b0a4;
  letter-spacing: .02em;
}
.track-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 30px 20px;
  text-align: center;
  border: 1px dashed rgba(240, 214, 177, .22);
  border-radius: var(--r-md);
  background: rgba(255, 246, 231, .03);
}
.track-empty-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(223, 179, 108, .12);
  color: var(--gold-bright);
}
.track-empty-icon .icon { width: 18px; height: 18px; }
.track-empty b { font-family: var(--serif); font-size: 19px; font-weight: 400; color: #fff4e5; }
.track-empty p { max-width: 36ch; font-size: 11.5px; line-height: 1.6; color: #c6b0a4; }

/* ------------------------------------------------------------
   History page
   ------------------------------------------------------------ */

.page-hero--history {
  background:
    radial-gradient(90% 130% at 84% 0%, rgba(223, 179, 108, .22), transparent 58%),
    radial-gradient(80% 100% at 8% 100%, rgba(207, 122, 44, .1), transparent 60%),
    var(--maroon-ink);
}
.page-hero--history::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(223, 179, 108, .1) 0 1px, transparent 1px 44px);
  mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
  pointer-events: none;
  opacity: .65;
}

.history-block { padding-top: 54px; }
.history-intro { display: grid; gap: 22px; }
.history-intro-copy h2 {
  max-width: 22ch;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.history-intro-copy > p:not(.kicker) {
  max-width: 62ch;
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.history-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.history-stats div {
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.history-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--maroon);
}
body.dark .history-stats b { color: var(--gold); }
.history-stats small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
}

.history-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.history-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 19px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 4%, var(--line-strong) 92%, transparent);
  opacity: .65;
}
.history-item { position: relative; padding-left: 48px; }
.history-dot {
  position: absolute;
  left: 0;
  top: 3px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--maroon);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--paper);
}
.history-item--founder .history-dot {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff3df;
}
.history-item--present .history-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-ink);
}
body.dark .history-item--founder .history-dot { color: #2b0f0a; }
.history-card {
  padding: 16px 16px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.history-item--founder .history-card {
  border-color: rgba(185, 138, 69, .46);
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 8%, var(--card)), var(--card));
}
.history-item--present .history-card { border-color: var(--line-strong); }
.history-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.history-role {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.history-years {
  padding-left: 8px;
  border-left: 1px solid var(--line-strong);
  font-size: 10px;
  color: var(--muted);
}
.history-card h3 {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.history-summary {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.history-details { margin-top: 11px; border-top: 1px solid var(--line); }
.history-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--maroon);
}
.history-details summary::-webkit-details-marker { display: none; }
.history-details summary .icon {
  width: 14px;
  height: 14px;
  color: var(--gold-ink);
  transition: transform .2s var(--ease);
}
.history-details[open] summary .icon { transform: rotate(45deg); }
.history-details .details-open { display: none; }
.history-details[open] .details-closed { display: none; }
.history-details[open] .details-open { display: inline; }
.history-detail-copy { padding: 2px 0 4px; }
.history-detail-copy p {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.history-source {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.history-source p:not(.kicker) {
  max-width: 66ch;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}
.history-source a:not(.btn) {
  color: var(--maroon);
  font-weight: 600;
  border-bottom: 1px dotted var(--gold);
}
.history-source .btn { align-self: flex-start; }

/* Keep six primary links comfortable on smaller laptops. */
@media (min-width: 900px) and (max-width: 1100px) {
  .desktop-nav { gap: 13px; }
  .nav-link { font-size: 12px; }
  .install-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }
  .install-btn span { display: none; }
}

@media (max-width: 359px) {
  .bottom-link { min-width: 44px; padding-inline: 2px; }
  .bottom-icon { width: 36px; }
  .bottom-link small { font-size: 9px; }
}

@media (min-width: 560px) {
  .audio-toolbar { flex-direction: row; align-items: center; gap: 14px; }
  .track-search { flex: 1; }
  .track-count { flex: none; padding-left: 0; }
  .history-intro { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 28px; }
  .history-source { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .history-source .btn { flex: none; }
}

@media (min-width: 760px) {
  .history-block { padding-top: 72px; }
  .history-intro { gap: 40px; }
  .history-intro-copy > p:not(.kicker) { font-size: 14px; }
  .history-stats div { padding: 17px; }
  .history-stats b { font-size: 31px; }
  .history-stats small { font-size: 10.5px; }
  .history-timeline { gap: 18px; margin-top: 40px; }
  .history-item { padding-left: 66px; }
  .history-timeline::before { left: 25px; }
  .history-dot { width: 51px; height: 51px; font-size: 18px; }
  .history-card { padding: 22px 24px; }
  .history-card h3 { font-size: 24px; }
  .history-summary { max-width: 64ch; font-size: 13.5px; }
  .history-detail-copy p { max-width: 66ch; font-size: 12.5px; }
  .history-source { margin-top: 32px; padding: 22px 24px; }
}

@media (min-width: 900px) {
  .history-intro { grid-template-columns: 1.35fr .65fr; gap: 48px; }
  .history-stats { gap: 12px; }
  .history-stats div { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
}
