/* ============================================================
   YORKSHIRE HINDUS — HERITAGE HUB
   Premium "Immersive Sanctuary" design system
   Scoped entirely under .yhh-scope so it never leaks into the
   active theme, and the theme never leaks into it.
   ============================================================ */

.yhh-scope {
  --yhh-bg:          #1B0509;
  --yhh-bg-alt:      #3D0F1A;
  --yhh-bg-alt2:     #2A0A13;
  --yhh-gold:        #D4AF37;
  --yhh-gold-light:  #F1C40F;
  --yhh-gold-pale:   #FFF7C2;
  --yhh-saffron:     #FF9933;
  --yhh-ivory:       #FAF9F6;
  --yhh-sandstone:   #E8DCC4;
  --yhh-lotus:       #F1A7B4;
  --yhh-peacock:     #005F73;
  --yhh-diya:        #FF7A45;
  --yhh-muted:       #C9A79E;
  --yhh-glass-bg:    rgba(61, 15, 26, 0.55);
  --yhh-glass-bg2:   rgba(61, 15, 26, 0.82);
  --yhh-glass-brd:   rgba(224, 148, 58, 0.24);
  --yhh-radius:      18px;
  --yhh-radius-sm:   12px;
  --yhh-font-head:   'Cinzel', serif;
  --yhh-font-body:   'Plus Jakarta Sans', -apple-system, sans-serif;
  --yhh-font-dev:    'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
  --yhh-accent:      var(--yhh-gold);

  box-sizing: border-box;
  font-family: var(--yhh-font-body);
  color: var(--yhh-ivory);
  line-height: 1.6;
}
.yhh-scope *, .yhh-scope *::before, .yhh-scope *::after { box-sizing: inherit; }
.yhh-scope [lang="hi"] { font-family: var(--yhh-font-dev); }
.yhh-scope img { max-width: 100%; display: block; }
.yhh-scope button { font-family: inherit; cursor: pointer; }
.yhh-scope a { color: inherit; text-decoration: none; }

/* Sections not inside the full hub get their own dark backdrop + padding */
.yhh-scope > .yhh-deities,
.yhh-scope > .yhh-texts,
.yhh-scope > .yhh-learn,
.yhh-scope > .yhh-festivals,
.yhh-scope > .yhh-panchang {
  background: radial-gradient(120% 140% at 50% -10%, #4a1220 0%, var(--yhh-bg) 60%);
  padding: 64px 20px;
  border-radius: var(--yhh-radius);
}

/* ── Section head ─────────────────────────────── */
.yhh-section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.yhh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--yhh-font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--yhh-gold);
  margin-bottom: 10px;
}
.yhh-eyebrow--light { color: var(--yhh-gold-pale); }
.yhh-section-head h2 {
  font-family: var(--yhh-font-head); font-weight: 700; font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px; background: linear-gradient(135deg, var(--yhh-ivory) 20%, var(--yhh-gold-pale) 60%, var(--yhh-gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--yhh-gold-pale);
}
.yhh-section-head p { color: var(--yhh-muted); font-size: 16px; margin: 0; }

.yhh-empty { text-align: center; color: var(--yhh-muted); padding: 40px 20px; font-style: italic; }
.yhh-empty--hidden { display: none; }

/* ── Chips ─────────────────────────────────────── */
.yhh-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: var(--yhh-sandstone);
}
.yhh-chip--accent { background: linear-gradient(135deg, var(--yhh-accent), var(--yhh-gold-light)); color: #1a1206; border-color: transparent; }
.yhh-chip--ghost { background: transparent; border-color: var(--yhh-glass-brd); color: var(--yhh-gold); }
.yhh-chip--cat { background: rgba(212,175,55,0.14); border-color: var(--yhh-glass-brd); color: var(--yhh-gold-light); text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
.yhh-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* ── Filter pills ─────────────────────────────── */
.yhh-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.yhh-filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--yhh-glass-brd);
  background: var(--yhh-glass-bg); color: var(--yhh-sandstone); font-size: 14px; font-weight: 600;
  transition: all .25s ease;
}
.yhh-filter:hover { border-color: var(--yhh-gold); color: var(--yhh-gold-pale); }
.yhh-filter.is-active { background: linear-gradient(135deg, var(--yhh-gold), var(--yhh-gold-light)); color: #1a1206; border-color: transparent; box-shadow: 0 0 24px rgba(212,175,55,0.35); }

/* ============================================================
   DEITY OF THE DAY / MANTRA OF THE DAY
   ============================================================ */
.yhh-of-day-card {
  display: flex; gap: 32px; align-items: flex-start; max-width: 780px; margin: 0 auto;
  padding: 36px; border-radius: var(--yhh-radius); background: var(--yhh-glass-bg2); border: 1px solid var(--yhh-glass-brd);
  box-shadow: 0 20px 60px -24px rgba(0,0,0,.6);
}
.yhh-of-day-card--text { flex-direction: column; }
.yhh-of-day-card__portrait {
  width: 140px; height: 140px; border-radius: 24px; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in oklch, var(--yhh-accent) 28%, transparent), transparent 72%);
  border: 2px solid color-mix(in oklch, var(--yhh-accent) 45%, transparent);
}
.yhh-of-day-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yhh-of-day-card__glyph { font-size: 64px; filter: drop-shadow(0 0 20px var(--yhh-accent)); }
.yhh-of-day-card__body { flex: 1; min-width: 0; }
.yhh-of-day-card__body h3 { font-family: var(--yhh-font-head); font-size: 26px; margin: 6px 0 10px; }
.yhh-of-day-card__mantra { font-family: var(--yhh-font-dev); font-size: 16px; color: var(--yhh-gold-pale); margin: 0; }
@media (max-width: 640px) {
  .yhh-of-day-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 22px; }
}

/* ============================================================
   DEITY PANTHEON
   ============================================================ */
.yhh-deity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.yhh-deity-card {
  position: relative; padding: 30px 20px; border-radius: var(--yhh-radius);
  background: var(--yhh-glass-bg); border: 1px solid var(--yhh-glass-brd);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  text-align: center; cursor: pointer; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
  transform-style: preserve-3d; will-change: transform;
}
.yhh-deity-card::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, var(--yhh-accent) 0%, transparent 70%); opacity: .25; pointer-events: none;
}
.yhh-deity-card:hover, .yhh-deity-card:focus-visible {
  border-color: var(--yhh-accent); box-shadow: 0 18px 50px -12px rgba(0,0,0,.6), 0 0 30px -6px var(--yhh-accent);
}
.yhh-deity-card__face { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.yhh-deity-card__portrait {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in oklch, var(--yhh-accent) 25%, transparent), transparent 72%);
  border: 2px solid color-mix(in oklch, var(--yhh-accent) 45%, transparent);
}
.yhh-deity-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yhh-deity-card__glyph { font-size: 40px; line-height: 1; filter: drop-shadow(0 0 14px var(--yhh-accent)); }
.yhh-deity-card__dev { font-family: var(--yhh-font-dev); color: var(--yhh-gold-light); font-size: 15px; }
.yhh-deity-card__name { font-family: var(--yhh-font-head); font-size: 21px; margin: 2px 0 0; color: var(--yhh-ivory); }
.yhh-deity-card__title { font-size: 12.5px; color: var(--yhh-muted); text-transform: uppercase; letter-spacing: .06em; }
.yhh-deity-card__cta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--yhh-glass-brd);
  font-size: 12.5px; font-weight: 700; color: var(--yhh-accent);
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  transition: color .2s ease, gap .2s ease;
}
.yhh-deity-card__cta:hover, .yhh-deity-card__cta:focus-visible { color: var(--yhh-gold-pale); gap: 10px; }
.yhh-deity-card[hidden] { display: none; }

/* ============================================================
   SACRED TEXTS
   ============================================================ */
.yhh-text-toolbar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; align-items: center; }
.yhh-search { position: relative; width: 100%; max-width: 420px; }
.yhh-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--yhh-muted); }
.yhh-search input {
  width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 1px solid var(--yhh-glass-brd);
  background: var(--yhh-glass-bg); color: var(--yhh-ivory); font-size: 14px; outline: none; transition: border-color .2s;
}
.yhh-search input:focus { border-color: var(--yhh-gold); }
.yhh-search input::placeholder { color: var(--yhh-muted); }

.yhh-text-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.yhh-text-card {
  padding: 22px; border-radius: var(--yhh-radius-sm); background: var(--yhh-glass-bg); border: 1px solid var(--yhh-glass-brd);
  cursor: pointer; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.yhh-text-card:hover, .yhh-text-card:focus-visible { transform: translateY(-4px); border-color: var(--yhh-gold); box-shadow: 0 14px 34px -14px rgba(0,0,0,.6); }
.yhh-text-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.yhh-text-card__deity { font-size: 12px; color: var(--yhh-muted); }
.yhh-text-card__dev { font-family: var(--yhh-font-dev); color: var(--yhh-gold-light); font-size: 17px; margin-bottom: 4px; }
.yhh-text-card__title { font-family: var(--yhh-font-head); font-size: 18px; margin: 0 0 8px; }
.yhh-text-card__intro { font-size: 13.5px; color: var(--yhh-muted); margin: 0 0 12px; }
.yhh-text-card__cta {
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--yhh-glass-brd);
  font-size: 12.5px; font-weight: 700; color: var(--yhh-accent);
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  transition: color .2s ease, gap .2s ease;
}
.yhh-text-card__cta:hover, .yhh-text-card__cta:focus-visible { color: var(--yhh-gold-pale); gap: 10px; }
.yhh-text-card[hidden] { display: none; }

/* ============================================================
   MODAL (shared by Deities + Sacred Texts)
   ============================================================ */
.yhh-modal-overlay {
  position: fixed; inset: 0; background: rgba(18, 4, 8, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 99999;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.yhh-modal-overlay.is-open { opacity: 1; visibility: visible; }
.yhh-modal {
  width: 100%; max-width: 620px; max-height: 86vh; overflow-y: auto; position: relative;
  background: linear-gradient(180deg, var(--yhh-bg-alt2), var(--yhh-bg-alt));
  border: 1px solid var(--yhh-glass-brd); border-radius: 22px; padding: 32px;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.7), 0 0 60px -20px var(--yhh-gold);
  transform: translateY(24px) scale(.97); opacity: 0; transition: all .35s cubic-bezier(.2,.8,.2,1);
  font-family: var(--yhh-font-body); color: var(--yhh-ivory);
}
.yhh-modal-overlay.is-open .yhh-modal { transform: translateY(0) scale(1); opacity: 1; }
.yhh-modal-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid var(--yhh-glass-brd); color: var(--yhh-ivory);
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.yhh-modal-close:hover { background: var(--yhh-gold); color: #1a1206; }
.yhh-modal-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.yhh-modal-portrait {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in oklch, var(--yhh-accent) 25%, transparent), transparent 72%);
  border: 2px solid color-mix(in oklch, var(--yhh-accent) 45%, transparent);
}
.yhh-modal-portrait__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yhh-modal-glyph { font-size: 46px; filter: drop-shadow(0 0 16px var(--yhh-accent)); }
.yhh-modal-dev { font-family: var(--yhh-font-dev); color: var(--yhh-gold-light); font-size: 16px; }
.yhh-modal-hero h3, .yhh-modal-body h3 { font-family: var(--yhh-font-head); font-size: 26px; margin: 2px 0 8px; }
.yhh-modal-desc { color: var(--yhh-sandstone); font-size: 15px; }
.yhh-modal-block { margin-top: 18px; }
.yhh-modal-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--yhh-gold); margin-bottom: 8px; }
.yhh-modal-block p { margin: 0; font-size: 14.5px; color: var(--yhh-sandstone); }
.yhh-mantra-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.yhh-mantra-list li { font-family: var(--yhh-font-dev); background: rgba(212,175,55,0.08); border-left: 3px solid var(--yhh-gold); padding: 8px 14px; border-radius: 8px; font-size: 15.5px; }

.yhh-verse-block { margin-top: 16px; }
.yhh-verse-text {
  font-family: var(--yhh-font-dev); white-space: pre-wrap; background: rgba(0,0,0,.25);
  border: 1px solid var(--yhh-glass-brd); border-radius: 12px; padding: 16px; font-size: 16.5px; line-height: 1.9; color: var(--yhh-gold-pale); margin: 0;
}
.yhh-verse-en { font-size: 14.5px; color: var(--yhh-sandstone); margin: 0; }
.yhh-copy-btn {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: transparent; border: 1px solid var(--yhh-gold); color: var(--yhh-gold); font-size: 13px; font-weight: 700; transition: all .2s ease;
}
.yhh-copy-btn:hover { background: var(--yhh-gold); color: #1a1206; }

.yhh-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--yhh-gold); color: #1a1206; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 100000; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.yhh-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   KNOW ABOUT HINDUISM
   ============================================================ */
.yhh-learn-body { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.yhh-learn-rail { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 20px; }
.yhh-learn-tab {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--yhh-radius-sm);
  background: var(--yhh-glass-bg); border: 1px solid transparent; text-align: left; color: var(--yhh-sandstone);
  transition: all .25s ease;
}
.yhh-learn-tab i { font-size: 18px; color: var(--yhh-gold); width: 22px; text-align: center; flex-shrink: 0; }
.yhh-learn-tab strong { display: block; font-family: var(--yhh-font-head); font-size: 14.5px; color: var(--yhh-ivory); font-weight: 600; }
.yhh-learn-tab small { display: block; font-size: 11.5px; color: var(--yhh-muted); margin-top: 2px; }
.yhh-learn-tab:hover { border-color: var(--yhh-glass-brd); }
.yhh-learn-tab.is-active { background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.05)); border-color: var(--yhh-gold); box-shadow: inset 3px 0 0 var(--yhh-gold); }

.yhh-learn-panels { position: relative; min-height: 320px; }
.yhh-learn-panel {
  display: none; padding: 34px; border-radius: var(--yhh-radius); background: var(--yhh-glass-bg2); border: 1px solid var(--yhh-glass-brd);
  animation: yhhFadeUp .5s ease;
}
.yhh-learn-panel.is-active { display: block; }
.yhh-learn-panel__icon {
  width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.25), transparent 70%);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.yhh-learn-panel__icon i { font-size: 26px; color: var(--yhh-gold); }
.yhh-learn-panel h3 { font-family: var(--yhh-font-head); font-size: 26px; margin: 4px 0 16px; }
.yhh-learn-panel__body { color: var(--yhh-sandstone); font-size: 15px; }
.yhh-learn-panel__body p { margin: 0 0 14px; }
.yhh-learn-panel__body strong { color: var(--yhh-gold-pale); }
.yhh-learn-panel__body em { color: var(--yhh-gold-light); font-style: italic; }

@keyframes yhhFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   FESTIVALS
   ============================================================ */
.yhh-festival-hero {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(120deg, var(--yhh-glass-bg2), rgba(255,122,69,0.10));
  border: 1px solid var(--yhh-glass-brd); border-radius: var(--yhh-radius); padding: 32px; margin-bottom: 30px;
}
.yhh-festival-hero__icon { font-size: 64px; filter: drop-shadow(0 0 20px var(--yhh-gold)); }
.yhh-festival-hero__info h3 { font-family: var(--yhh-font-head); font-size: 28px; margin: 10px 0 6px; }
.yhh-festival-hero__info p { margin: 0 0 6px; color: var(--yhh-sandstone); font-size: 14px; }
.yhh-festival-hero__desc { color: var(--yhh-muted) !important; font-size: 13.5px !important; max-width: 480px; }
.yhh-ics-btn {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--yhh-gold); color: #1a1206; font-weight: 700; font-size: 13px; transition: transform .2s ease;
}
.yhh-ics-btn:hover { transform: translateY(-2px); }
.yhh-countdown { display: flex; gap: 10px; }
.yhh-countdown__unit {
  width: 64px; text-align: center; background: rgba(0,0,0,.3); border: 1px solid var(--yhh-glass-brd); border-radius: 12px; padding: 10px 4px;
}
.yhh-countdown__unit span { display: block; font-family: var(--yhh-font-head); font-size: 26px; font-weight: 700; color: var(--yhh-gold-pale); }
.yhh-countdown__unit small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--yhh-muted); }

.yhh-festival-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.yhh-festival-card {
  position: relative; padding: 22px; border-radius: var(--yhh-radius-sm); background: var(--yhh-glass-bg); border: 1px solid var(--yhh-glass-brd);
  transition: transform .25s ease, border-color .25s ease;
}
.yhh-festival-card:hover { transform: translateY(-4px); border-color: var(--yhh-gold); }
.yhh-festival-card__icon { font-size: 30px; margin-bottom: 10px; }
.yhh-festival-card__days {
  position: absolute; top: 18px; right: 18px; background: rgba(212,175,55,.15); color: var(--yhh-gold-light);
  border-radius: 999px; padding: 4px 10px; font-size: 11.5px; font-weight: 700;
}
.yhh-festival-card h4 { font-family: var(--yhh-font-head); font-size: 17px; margin: 0 0 6px; }
.yhh-festival-card__date { font-size: 13px; color: var(--yhh-gold-light); margin: 0 0 6px; }
.yhh-festival-card__venue { font-size: 12.5px; color: var(--yhh-muted); margin: 0; }

/* ============================================================
   DAILY PANCHANG
   ============================================================ */
.yhh-panchang-empty { text-align: center; max-width: 420px; margin: 0 auto; padding: 40px 20px; color: var(--yhh-muted); }
.yhh-panchang-empty i { font-size: 40px; color: var(--yhh-gold); margin-bottom: 14px; display: block; }

.yhh-panchang-widget { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.yhh-pc-dial { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.yhh-pc-dial__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.yhh-pc-dial__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; }
.yhh-pc-dial__arc { fill: none; stroke: var(--yhh-gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 553; stroke-dashoffset: 553; transition: stroke-dashoffset 1s ease; filter: drop-shadow(0 0 6px var(--yhh-gold)); }
.yhh-pc-dial__inner { fill: var(--yhh-bg-alt); stroke: var(--yhh-glass-brd); stroke-width: 1; }
.yhh-pc-dial__center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 30px;
}
.yhh-pc-dial__date { font-size: 11px; color: var(--yhh-muted); text-transform: uppercase; letter-spacing: .05em; }
.yhh-pc-dial__tithi { font-family: var(--yhh-font-head); font-size: 19px; color: var(--yhh-gold-pale); margin: 6px 0 4px; }
.yhh-pc-dial__paksha { font-size: 11px; color: var(--yhh-sandstone); }
.yhh-pc-marker { position: absolute; font-size: 20px; top: 6px; left: 50%; transform: translate(-50%, -50%); transition: all 1s ease; filter: drop-shadow(0 0 8px var(--yhh-gold)); }

.yhh-pc-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.yhh-pc-fact {
  background: var(--yhh-glass-bg); border: 1px solid var(--yhh-glass-brd); border-radius: var(--yhh-radius-sm); padding: 14px 16px;
}
.yhh-pc-fact__label { display: flex; align-items: center; gap: 8px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--yhh-muted); margin-bottom: 6px; }
.yhh-pc-fact__label i { color: var(--yhh-gold); }
.yhh-pc-fact__val { font-family: var(--yhh-font-head); font-size: 16px; color: var(--yhh-ivory); }
.yhh-pc-fact--warn { border-color: rgba(255,122,69,.4); }
.yhh-pc-fact--warn .yhh-pc-fact__label i { color: var(--yhh-diya); }
.yhh-pc-fact--wide { grid-column: span 2; }
.yhh-pc-fact__val small { display: block; font-family: var(--yhh-font-body, inherit); font-size: 11.5px; color: var(--yhh-muted); margin-top: 2px; }
@media (max-width: 480px) { .yhh-pc-fact--wide { grid-column: span 1; } }
.yhh-pc-footnote { text-align: center; color: var(--yhh-muted); font-size: 12.5px; margin: 24px 0 0; }

/* ============================================================
   FULL HUB EXPERIENCE  [yh_hub_all]
   ============================================================ */
.yhh-hub-all { background: var(--yhh-bg); border-radius: var(--yhh-radius); overflow: hidden; }
.yhh-hub-nav {
  position: sticky; top: 0; z-index: 500; display: flex; gap: 6px; overflow-x: auto; padding: 14px 18px;
  background: rgba(27,5,9,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--yhh-glass-brd);
}
.yhh-hub-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--yhh-sandstone); white-space: nowrap; transition: all .2s ease;
}
.yhh-hub-nav a:hover { background: rgba(212,175,55,0.12); color: var(--yhh-gold-pale); }
.yhh-hub-nav a i { color: var(--yhh-gold); }

.yhh-hero {
  position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #4a1220 0%, var(--yhh-bg) 70%);
  padding: 80px 20px;
}
.yhh-hero__particles { position: absolute; inset: 0; pointer-events: none; }
.yhh-hero__content { position: relative; z-index: 2; max-width: 640px; }
.yhh-hero h1 {
  font-family: var(--yhh-font-head); font-weight: 800; font-size: clamp(44px, 8vw, 80px); margin: 10px 0 18px;
  background: linear-gradient(135deg, var(--yhh-ivory) 10%, var(--yhh-gold-pale) 45%, var(--yhh-gold) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--yhh-gold-pale);
  text-shadow: 0 0 60px rgba(212,175,55,0.25);
}
.yhh-hero p { color: var(--yhh-sandstone); font-size: 17px; }

.yhh-hub-section { padding: 70px 24px; }
.yhh-hub-section--alt { background: linear-gradient(180deg, var(--yhh-bg-alt2), var(--yhh-bg)); }
.yhh-hub-section > .yhh-scope,
.yhh-hub-section .yhh-deities, .yhh-hub-section .yhh-texts, .yhh-hub-section .yhh-learn,
.yhh-hub-section .yhh-festivals, .yhh-hub-section .yhh-panchang { background: none; padding: 0; }

/* ── Sparkle particle (JS-injected) ─────────────── */
.yhh-sparkle {
  position: fixed; pointer-events: none; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, var(--yhh-gold-pale) 0%, var(--yhh-gold) 100%);
  z-index: 99998; opacity: .9;
}

/* ── Reveal-on-scroll ─────────────────────────── */
.yhh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.yhh-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Scrollbar ─────────────────────────────────── */
.yhh-scope { scrollbar-width: thin; scrollbar-color: var(--yhh-gold) var(--yhh-bg); }
.yhh-scope ::-webkit-scrollbar { width: 8px; height: 8px; }
.yhh-scope ::-webkit-scrollbar-track { background: var(--yhh-bg); }
.yhh-scope ::-webkit-scrollbar-thumb { background: var(--yhh-gold); border-radius: 4px; }

/* ============================================================
   GALLERY — animated hero, album grid, homepage mosaic, lightbox
   ============================================================ */
.yhh-gallery-hero {
  position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; border-radius: var(--yhh-radius);
  background: radial-gradient(120% 140% at 50% -10%, #4a1220 0%, var(--yhh-bg) 65%);
}
.yhh-gallery-hero__canvas-wrap {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.yhh-gallery-hero__canvas-wrap--empty { background: none; }
.yhh-gallery-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,4,8,.55) 0%, rgba(18,4,8,.35) 45%, rgba(18,4,8,.85) 100%);
}
.yhh-gallery-hero__content { position: relative; z-index: 2; max-width: 640px; padding: 0 24px; }
.yhh-gallery-hero__content h1 {
  font-family: var(--yhh-font-head); font-weight: 800; font-size: clamp(40px, 7vw, 68px); margin: 10px 0 16px;
  background: linear-gradient(135deg, var(--yhh-ivory) 10%, var(--yhh-gold-pale) 45%, var(--yhh-gold) 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--yhh-gold-pale);
}
.yhh-gallery-hero__content p { color: var(--yhh-sandstone); font-size: 16.5px; margin: 0; }

.yhh-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.yhh-gallery-card {
  border-radius: var(--yhh-radius); background: var(--yhh-glass-bg); border: 1px solid var(--yhh-glass-brd);
  overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.yhh-gallery-card:hover { transform: translateY(-4px); border-color: var(--yhh-gold); box-shadow: 0 18px 44px -18px rgba(0,0,0,.6); }
.yhh-gallery-card[hidden] { display: none; }
.yhh-gallery-card__link { display: block; }
.yhh-gallery-card__cover {
  position: relative; height: 170px; background-size: cover; background-position: center;
  background-color: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center;
}
.yhh-gallery-card__placeholder { font-size: 32px; color: var(--yhh-muted); opacity: .5; }
.yhh-gallery-card__count {
  position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(18,4,8,.7); backdrop-filter: blur(4px); color: var(--yhh-ivory); font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.yhh-gallery-card__body { padding: 18px 20px 22px; }
.yhh-gallery-card__body h3 { font-family: var(--yhh-font-head); font-size: 18px; margin: 10px 0 6px; }
.yhh-gallery-card__deity { font-size: 12.5px; color: var(--yhh-muted); display: inline-flex; align-items: center; gap: 6px; }

.yhh-gallery-preview__canvas-wrap {
  position: relative; height: 420px; border-radius: var(--yhh-radius); overflow: hidden;
  background-size: cover; background-position: center; border: 1px solid var(--yhh-glass-brd);
  box-shadow: 0 20px 60px -24px rgba(0,0,0,.6);
}

.yhh-lightbox {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 2, 3, 0.92); opacity: 0; visibility: hidden; transition: opacity .3s ease; padding: 40px;
}
.yhh-lightbox.is-open { opacity: 1; visibility: visible; }
.yhh-lightbox__img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.yhh-lightbox__close, .yhh-lightbox__nav {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--yhh-glass-brd);
  color: var(--yhh-ivory); font-size: 16px; transition: all .2s ease;
}
.yhh-lightbox__close:hover, .yhh-lightbox__nav:hover { background: var(--yhh-gold); color: #1a1206; }
.yhh-lightbox__close { top: 24px; right: 24px; }
.yhh-lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.yhh-lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.yhh-lightbox__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: var(--yhh-muted); background: rgba(255,255,255,.06); padding: 5px 14px; border-radius: 999px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .yhh-learn-body { grid-template-columns: 1fr; }
  .yhh-learn-rail { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 6px; }
  .yhh-learn-tab { flex: 0 0 auto; min-width: 220px; }
  .yhh-panchang-widget { grid-template-columns: 1fr; }
  .yhh-festival-hero { grid-template-columns: 1fr; text-align: center; }
  .yhh-festival-hero__desc { margin: 0 auto; }
  .yhh-countdown { justify-content: center; }
  .yhh-gallery-preview__canvas-wrap { height: 320px; }
}
@media (max-width: 560px) {
  .yhh-scope > .yhh-deities, .yhh-scope > .yhh-texts, .yhh-scope > .yhh-learn,
  .yhh-scope > .yhh-festivals, .yhh-scope > .yhh-panchang { padding: 44px 14px; }
  .yhh-deity-grid, .yhh-text-grid, .yhh-festival-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .yhh-modal { padding: 22px; }
  .yhh-gallery-hero { min-height: 46vh; }
  .yhh-gallery-preview__canvas-wrap { height: 240px; }
  .yhh-lightbox__nav { width: 38px; height: 38px; font-size: 13px; }
  .yhh-lightbox__nav--prev { left: 8px; }
  .yhh-lightbox__nav--next { right: 8px; }
  .yhh-lightbox__close { top: 12px; right: 12px; }
}

/* ── Reduced motion ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .yhh-scope, .yhh-scope * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
