/*
Theme Name: Sri Adi Shakti Parampara Yog Peeth
Theme URI: https://example.com/
Author: Rahul Gola
Author URI: https://example.com/
Description: A spiritual WordPress theme for Sri Adi Shakti Parampara Yog Peeth with an immersive homepage, daily quotes, and Elementor-friendly layouts.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sri-adi-shakti-parampara-yog-peeth
*/

:root {
  --bg: #16090a;
  --bg-deep: #090305;
  --surface: rgba(255, 244, 223, 0.07);
  --surface-strong: rgba(255, 244, 223, 0.12);
  --line: rgba(255, 222, 176, 0.16);
  --line-strong: rgba(255, 211, 137, 0.3);
  --text: #fff4e6;
  --muted: #d9c6b2;
  --accent: #f6c36f;
  --accent-strong: #ffdba0;
  --accent-deep: #c46e39;
  --content-max: 1540px;
  --content-narrow: 1180px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --pointer-x: 50%;
  --pointer-y: 35%;
  --drift-x: 0px;
  --drift-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(214, 120, 61, 0.22), transparent 18%),
    radial-gradient(circle at 83% 12%, rgba(246, 195, 111, 0.14), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(255, 211, 137, 0.15), transparent 26%),
    linear-gradient(180deg, #2a1110 0%, #140708 44%, #070204 100%);
  border-top: 4px solid rgba(246, 195, 111, 0.75);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 84%);
  opacity: 0.2;
}

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

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.cosmic-sky,
.energy-orb,
.sacred-noise,
.cosmic-flow,
.cursor-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cosmic-sky {
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 84% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 32% 74%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 68% 56%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 56% 30%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 74% 82%, rgba(255, 255, 255, 0.7), transparent);
  opacity: 0.6;
  transform: translate3d(calc(var(--drift-x) * -0.08), calc(var(--drift-y) * -0.08), 0);
  transition: transform 180ms ease-out;
}

.cosmic-flow {
  background:
    radial-gradient(circle at calc(var(--pointer-x) + 2%) calc(var(--pointer-y) - 6%), rgba(255, 225, 170, 0.18), transparent 15%),
    radial-gradient(circle at calc(var(--pointer-x) - 11%) calc(var(--pointer-y) + 8%), rgba(255, 146, 93, 0.14), transparent 18%),
    radial-gradient(circle at calc(var(--pointer-x) + 14%) calc(var(--pointer-y) + 16%), rgba(255, 204, 122, 0.1), transparent 22%),
    conic-gradient(from 180deg at 50% 50%, rgba(255, 182, 104, 0.08), rgba(255, 182, 104, 0), rgba(255, 126, 82, 0.1), rgba(255, 182, 104, 0.04), rgba(255, 182, 104, 0.08));
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(26px);
  transform: translate3d(calc(var(--drift-x) * 0.1), calc(var(--drift-y) * 0.1), 0) scale(1.04);
  transition: transform 220ms ease-out, opacity 220ms ease-out;
  animation: cosmicPulse 12s ease-in-out infinite;
}

.energy-orb {
  filter: blur(28px);
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}

.energy-orb-a {
  background: radial-gradient(circle at 28% 22%, rgba(255, 197, 97, 0.2), transparent 24%);
  transform: translate3d(calc(var(--drift-x) * 0.18), calc(var(--drift-y) * 0.12), 0);
}

.energy-orb-b {
  background: radial-gradient(circle at 76% 30%, rgba(196, 110, 57, 0.17), transparent 22%);
  transform: translate3d(calc(var(--drift-x) * -0.12), calc(var(--drift-y) * 0.18), 0);
}

.cursor-aura {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 232, 188, 0.16), transparent 0 12%),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 164, 88, 0.08), transparent 0 22%);
  opacity: 0.7;
  filter: blur(16px);
  transition: opacity 200ms ease-out;
}

.sacred-noise {
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.6) 0 0.7px, transparent 0.8px),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.65) 0 0.7px, transparent 0.8px);
  background-size: 120px 120px;
}

.shell,
.site-header,
.site-footer,
.mantra-ribbon,
.content-shell {
  width: min(calc(100% - 32px), var(--content-max));
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.content-shell {
  width: min(calc(100% - 32px), var(--content-narrow));
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 11, 12, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-seal {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.28), transparent 25%),
    linear-gradient(180deg, rgba(246, 195, 111, 0.26), rgba(196, 110, 57, 0.15));
  font-family: "Marcellus", serif;
  font-size: 1rem;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-family: "Marcellus", serif;
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 216, 155, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:hover,
.header-cta:hover,
.button:hover {
  color: var(--accent);
}

.header-cta,
.button,
.read-more-link,
.post-navigation a,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta,
.page-numbers,
.post-navigation a {
  border: 1px solid var(--line-strong);
  background: rgba(255, 216, 155, 0.08);
}

.button-primary {
  background: linear-gradient(135deg, #f7d494, #e6a552);
  color: #34140b;
  box-shadow: 0 16px 36px rgba(230, 165, 82, 0.25);
}

.button-secondary,
.read-more-link {
  border: 1px solid var(--line-strong);
  background: rgba(255, 244, 223, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
  padding: 72px 20px 46px;
  overflow: hidden;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: 48px 20px 24px;
  overflow: hidden;
}

.page-hero-copy h1 {
  max-width: 11ch;
}

.special-page-blog .page-hero-copy h1 {
  max-width: none;
}

.special-page-blog .page-hero-copy {
  max-width: none;
}

.special-page-blog .page-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.page-hero-orb {
  min-height: 360px;
  border-radius: 36px;
  border: 1px solid rgba(255, 221, 164, 0.16);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 219, 160, 0.18), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 44%),
    linear-gradient(180deg, rgba(46, 16, 17, 0.72), rgba(13, 5, 8, 0.78));
  position: relative;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.page-orb-core {
  position: absolute;
  inset: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 30%),
    radial-gradient(circle, rgba(255, 222, 162, 0.28), rgba(255, 172, 84, 0.1));
  box-shadow:
    0 0 44px rgba(255, 197, 97, 0.32),
    0 0 0 36px rgba(255, 222, 162, 0.05),
    0 0 0 72px rgba(255, 222, 162, 0.03);
  animation: pulseHalo 7s ease-in-out infinite;
}

.section-tag,
.vision-kicker,
.quote-label,
.archive-kicker,
.entry-meta {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3,
blockquote,
.entry-title,
.archive-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

h1 {
  margin-top: 16px;
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 0.94;
  font-weight: 600;
}

h1 span {
  display: block;
  color: var(--accent-strong);
  text-shadow: 0 0 28px rgba(246, 195, 111, 0.24);
}

h2,
.archive-title {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.98;
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 9ch;
}

.section-heading h2,
.archive-header .archive-title {
  max-width: 12ch;
}

h3,
.entry-title {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 600;
}

.hero-text,
.metric p,
.glass-panel p,
.teaching-card p,
.lineage-node p,
.vision-panel p,
.note-card p,
.journal-card p,
.quote-meta,
.entry-summary,
.entry-content,
.archive-description {
  color: var(--muted);
  line-height: 1.82;
  font-size: 1rem;
}

.hero-text {
  max-width: 62ch;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics,
.about-layout,
.teachings-grid,
.journal-grid,
.posts-grid {
  display: grid;
  gap: 18px;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.metric,
.glass-panel,
.quote-card,
.note-card,
.teaching-card,
.vision-panel,
.journal-card,
.entry-card,
.archive-header,
.entry-main,
.comments-area {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 244, 223, 0.08), rgba(255, 244, 223, 0.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.metric span,
.teaching-card span {
  display: inline-block;
  color: var(--accent);
  font-family: "Marcellus", serif;
  margin-bottom: 12px;
}

.hero-visual,
.vision-panel,
.quote-card {
  transition: transform 180ms ease;
  transform-style: preserve-3d;
}

.mandala-stage {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  border: 1px solid rgba(255, 221, 164, 0.16);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 219, 160, 0.12), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(46, 16, 17, 0.72), rgba(13, 5, 8, 0.78));
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.mandala-halo,
.mandala-ring,
.lotus-seat,
.floating-mantra {
  position: absolute;
}

.mandala-halo {
  inset: 22% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 151, 0.26), transparent 62%);
  filter: blur(20px);
  animation: pulseHalo 6s ease-in-out infinite;
}

.mandala-ring {
  left: 50%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 226, 177, 0.22);
}

.mandala-ring-outer {
  width: 430px;
  height: 430px;
  animation: slowSpin 22s linear infinite;
}

.mandala-ring-middle {
  width: 320px;
  height: 320px;
  animation: slowSpinReverse 18s linear infinite;
}

.mandala-ring-inner {
  width: 220px;
  height: 220px;
  animation: slowSpin 14s linear infinite;
}

.mandala-ring::before,
.mandala-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255, 218, 155, 0.14);
  border-radius: 50%;
}

.mandala-ring::after {
  inset: 34px;
}

.lotus-seat {
  left: 50%;
  top: 56%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
}

.lotus-core {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 230, 187, 0.22);
  background: radial-gradient(circle, rgba(255, 222, 162, 0.26), rgba(255, 172, 84, 0.08));
  box-shadow: 0 0 34px rgba(255, 197, 97, 0.24);
}

.om-breath {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  color: var(--accent-strong);
  animation: breath 4s ease-in-out infinite;
}

.lotus-petal {
  position: absolute;
  width: 74px;
  height: 130px;
  left: 50%;
  bottom: 18px;
  transform-origin: center bottom;
  border-radius: 60% 60% 50% 50%;
  background: linear-gradient(180deg, rgba(255, 217, 155, 0.55), rgba(196, 110, 57, 0.12));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.18);
}

.petal-1 { transform: translateX(-50%) rotate(-60deg); }
.petal-2 { transform: translateX(-50%) rotate(-36deg); }
.petal-3 { transform: translateX(-50%) rotate(-12deg); }
.petal-4 { transform: translateX(-50%) rotate(12deg); }
.petal-5 { transform: translateX(-50%) rotate(36deg); }
.petal-6 { transform: translateX(-50%) rotate(60deg); }

.floating-mantra {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 228, 182, 0.16);
  border-radius: 999px;
  color: #f5ddae;
  font-family: "Marcellus", serif;
  background: rgba(255, 248, 231, 0.05);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.mantra-a { top: 18%; left: 14%; animation: floatWord 7s ease-in-out infinite; }
.mantra-b { top: 24%; right: 12%; animation: floatWord 8s ease-in-out infinite 0.4s; }
.mantra-c { bottom: 22%; left: 10%; animation: floatWord 7.6s ease-in-out infinite 0.7s; }
.mantra-d { bottom: 18%; right: 14%; animation: floatWord 8.2s ease-in-out infinite 0.9s; }

.mantra-ribbon {
  overflow: hidden;
  padding: 10px 0 26px;
}

.mantra-track {
  display: flex;
  gap: 22px;
  min-width: max-content;
  color: rgba(245, 221, 174, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  animation: ribbonMove 30s linear infinite;
}

.mantra-track span::after {
  content: "•";
  margin-left: 22px;
  color: rgba(245, 221, 174, 0.35);
}

.section,
.archive-shell,
.entry-shell {
  padding: 82px 20px 0;
}

.special-page .entry-main {
  margin-top: 20px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.about-layout,
.quote-layout,
.lineage-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.quote-card {
  min-height: 100%;
  display: grid;
  gap: 18px;
  align-content: center;
}

blockquote {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.15;
  color: var(--accent-strong);
}

.quote-notes {
  display: grid;
  gap: 18px;
}

.teachings-grid,
.posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teaching-card h3,
.lineage-node h3,
.journal-card h3,
.note-card h3 {
  margin-top: 4px;
  margin-bottom: 10px;
}

.lineage-column {
  display: grid;
  gap: 18px;
}

.lineage-node {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 244, 223, 0.05);
}

.lineage-dot {
  width: 14px;
  height: 14px;
  margin-top: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe3b7, #d98a45);
  box-shadow: 0 0 18px rgba(246, 195, 111, 0.46);
}

.journal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 82px;
}

.archive-header,
.entry-main {
  margin-bottom: 24px;
}

.archive-description p,
.entry-content p,
.entry-content li {
  margin: 0 0 1rem;
}

.posts-grid {
  padding-bottom: 72px;
}

.entry-card h2,
.entry-card h3 {
  margin-bottom: 12px;
}

.entry-card .entry-meta,
.entry-main .entry-meta {
  display: block;
  margin-bottom: 14px;
}

.entry-main .entry-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 16px;
  max-width: none;
}

.post-thumbnail {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 24px;
}

.post-thumbnail img {
  display: block;
  width: 100%;
}

.entry-content a,
.comment-content a {
  color: var(--accent-strong);
}

.entry-content blockquote {
  border-left: 2px solid var(--line-strong);
  padding-left: 20px;
  margin: 0 0 1.5rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.2rem;
}

.site-footer {
  padding: 0 20px 48px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.1rem;
}

.site-footer small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.theme-debug-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 222, 176, 0.35);
  border-radius: 999px;
  background: rgba(42, 17, 16, 0.88);
  color: #ffe2b2;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.motion-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.alignwide {
  width: calc(100% + 120px);
  margin-left: -60px;
  max-width: none;
}

.alignfull {
  width: 100%;
  margin-left: 0;
  max-width: none;
}

.elementor-page .site-main,
.page-template-template-elementor-full-width .site-main {
  width: 100%;
}

.elementor-page-shell,
.elementor-page-shell .entry-main,
.elementor-page-shell .entry-content {
  width: 100%;
  max-width: none;
}

.elementor-page-shell .entry-main {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.elementor-page-shell .entry-content > :first-child {
  margin-top: 0;
}

.front-page-shell.editor-page-shell .front-page-entry,
.front-page-shell.editor-page-shell .front-page-entry .entry-content {
  width: 100%;
  max-width: none;
}

.front-page-shell.editor-page-shell .front-page-entry {
  padding: 0;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.front-page-shell.editor-page-shell .front-page-entry .entry-content > :first-child {
  margin-top: 0;
}

.front-page-shell.editor-page-shell .front-page-entry .entry-content > :last-child {
  margin-bottom: 0;
}

.front-page-shell .entry-content,
.front-page-shell .entry-content > * {
  max-width: 100%;
}

.front-page-shell .wp-block-group,
.front-page-shell .wp-block-columns,
.front-page-shell .wp-block-cover,
.front-page-shell .wp-block-gallery {
  max-width: 100%;
}

.page-template-template-elementor-full-width .entry-main,
.page-template-template-elementor-full-width .content-shell {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

@keyframes slowSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes slowSpinReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulseHalo {
  0%, 100% { transform: scale(0.96); opacity: 0.72; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes breath {
  0%, 100% { transform: scale(0.94); opacity: 0.82; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes floatWord {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ribbonMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cosmicPulse {
  0%, 100% { opacity: 0.42; transform: translate3d(calc(var(--drift-x) * 0.1), calc(var(--drift-y) * 0.1), 0) scale(1.02); }
  50% { opacity: 0.62; transform: translate3d(calc(var(--drift-x) * 0.16), calc(var(--drift-y) * 0.14), 0) scale(1.08); }
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .about-layout,
  .quote-layout,
  .lineage-layout,
  .teachings-grid,
  .journal-grid,
  .hero-metrics,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .site-header {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav,
  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mandala-stage {
    min-height: 540px;
  }

  .alignwide {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .shell,
  .site-header,
  .site-footer,
  .mantra-ribbon,
  .content-shell {
    width: min(calc(100% - 22px), var(--content-max));
  }

  .site-header {
    padding: 16px 18px;
    top: 8px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: center;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    gap: 28px;
    padding: 42px 8px 28px;
  }

  .page-hero {
    gap: 24px;
    padding: 24px 8px 18px;
  }

  .section,
  .archive-shell,
  .entry-shell {
    padding: 64px 8px 0;
  }

  .metric,
  .glass-panel,
  .quote-card,
  .note-card,
  .teaching-card,
  .vision-panel,
  .journal-card,
  .entry-card,
  .archive-header,
  .entry-main,
  .comments-area,
  .lineage-node {
    padding: 20px;
    border-radius: 22px;
  }

  .mandala-stage {
    min-height: 460px;
    border-radius: 26px;
  }

  .page-hero-orb {
    min-height: 260px;
    border-radius: 26px;
  }

  .mandala-ring-outer { width: 320px; height: 320px; }
  .mandala-ring-middle { width: 240px; height: 240px; }
  .mandala-ring-inner { width: 168px; height: 168px; }
  .lotus-seat { width: 190px; height: 190px; }
  .lotus-petal { width: 56px; height: 100px; }

  blockquote {
    font-size: 1.8rem;
  }
}
