/* ═══════════════════════════════════════════════════════
   SWAMI PARAMANANDA SARASWATI — OFFICIAL WEBSITE
   Design: Sacred Minimalism | Advaita Vedanta Tradition
   ═══════════════════════════════════════════════════════ */

/*
   TYPOGRAPHY DECISIONS FOR 45–70 AUDIENCE (mobile-first):
   ─────────────────────────────────────────────────────────
   • Base font size: 18px (up from 16px) — comfortable reading without zoom
   • Body line-height: 1.85 — more breathing room between lines
   • Cormorant Garamond kept for headings — warm, dignified, very readable at large sizes
   • Jost replaced with Lato — humanist, extremely legible at all sizes, used in health/govt sites
   • Minimum font size anywhere: 14px (labels, badges)
   • Minimum touch target: 52px height on all buttons
   • Nav items: 15px — large enough to tap confidently
   • All small-caps/tracking labels: 13px min, high contrast colour
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Variables ─────────────────────────────────── */
:root {
  --saffron:      #C85A14;
  --saffron-light:#E06A20;
  --saffron-pale: #FDF0E8;
  --gold:         #A67C20;
  --gold-light:   #C49A30;
  --gold-pale:    #FAF3E0;
  --cream:        #FAF7F2;
  --ivory:        #F5F0E8;
  --charcoal:     #1A1714;
  --brown:        #3D2B1A;
  --warm-gray:    #6B5E52;   /* darkened from #8A7B6E for better contrast on cream */
  --border:       rgba(166,124,32,0.22);
  --border-hover: rgba(166,124,32,0.5);

  --font-serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:        76px;      /* slightly taller for easier tap on mobile */
  --max-w:        1100px;
  --section-pad:  88px;

  --ease-soft:    cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Touch targets — minimum 52px for 45-70 audience */
  --touch-min:    52px;
}

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px;           /* Up from 16px — comfortable for 45-70 */
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.85;         /* More generous line spacing */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 13px;           /* was 11px — minimum for comfortable reading */
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 20px;
}

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 32px;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 120px;
}

/* Scroll fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--brown);
  font-weight: 400;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;           /* up from 12px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--warm-gray);
  transition: color 0.25s;
  position: relative;
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-soft);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-hamburger span {
  width: 100%;
  height: 1.5px;
  background: var(--brown);
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 16px;           /* large, easy to tap */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--warm-gray);
  padding: 16px 0;           /* tall touch target */
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--saffron); }

/* ══════════════════════════════════════════════════════
   HM ICON — CSS badge, renders perfectly everywhere
═══════════════════════════════════════════════════════ */
/* ── HM circle icon ── */
.nav-hm-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7722, #FFA366);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255,119,34,0.3);
}

.nav-hm-circle span {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════
   BUTTONS — base styles
═══════════════════════════════════════════════════════ */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--saffron);
  color: white;
}
.btn-primary:hover {
  background: #c85a00;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--saffron);
  color: white;
}
.btn-secondary:hover {
  background: #c85a00;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: white;
}

/* ══════════════════════════════════════════════════════
   ABOUT — unified dark section (hero + bio combined)
═══════════════════════════════════════════════════════ */
#about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #2A1A0A 0%, #1A1714 55%, #0D0A08 100%);
  padding: calc(var(--nav-h) + 48px) 0 64px;
}

.about-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 75% 35%, rgba(200,90,20,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 75%, rgba(166,124,32,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.about-mandala {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  opacity: 0.055;
  animation: mandala-spin 90s linear infinite;
  pointer-events: none;
}

@keyframes mandala-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Two-column layout */
.about-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Photo column ── */
.about-photo-col {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.about-photo-ring {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.about-photo-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--saffron), var(--gold-light), var(--gold));
  animation: ring-spin 9s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.about-photo-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1A1714;
  z-index: 0;
}

.about-photo-ring-inner {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #3D2B1A, #1A1714);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-ring-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-om {
  font-family: var(--font-serif);
  font-size: 110px;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}

/* ── Content column ── */
.about-content-col { min-width: 0; }

.about-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
  margin-bottom: 14px;
}

.about-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  color: rgba(250,240,224,0.96);
  line-height: 1.1;
  margin-bottom: 10px;
}

.about-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.75;
  margin-bottom: 0;
}

.about-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

.about-bio-text p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(250,240,224,0.7);
  margin-bottom: 16px;
}

.about-bio-text p:last-child { margin-bottom: 0; }

.about-pullquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: rgba(166,124,32,0.08);
  line-height: 1.55;
}

.about-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Mobile */
@media (max-width: 799px) {
  .about-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 36px;
    text-align: center;
  }

  .about-photo-col { position: static; }

  .about-photo-ring {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }

  .about-om { font-size: 76px; }

  .about-divider { margin-left: auto; margin-right: auto; }

  .about-pullquote { text-align: left; }

  .about-ctas { justify-content: center; }

  .about-mandala { width: 300px; height: 300px; right: -60px; }
}

@media (min-width: 800px) and (max-width: 1059px) {
  .about-inner {
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 0 32px;
  }

  .about-photo-ring { width: 300px; height: 300px; }
  .about-inner { grid-template-columns: 300px 1fr; }
}

/* ══════════════════════════════════════════════════════
   TEACHINGS
═══════════════════════════════════════════════════════ */
#teachings {
  padding: var(--section-pad) 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.teachings-header {
  text-align: center;
  margin-bottom: 64px;
}

.teachings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.teaching-card {
  background: var(--ivory);
  padding: 48px 36px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.teaching-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-soft);
}

.teaching-card:hover {
  background: white;
}

.teaching-card:hover::after {
  transform: scaleX(1);
}

.teaching-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}

.teaching-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 12px;
}

.teaching-card p {
  font-size: 14.5px;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   EVENTS
═══════════════════════════════════════════════════════ */
#events {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.events-header {
  margin-bottom: 48px;
}

.event-filters,
.events-filter-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn,
.evt-filter-btn {
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
  background: white;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover,
.evt-filter-btn.active,
.evt-filter-btn:hover {
  background: var(--saffron);
  color: white;
  border-color: var(--saffron);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.event-card {
  border: 1px solid var(--border);
  background: white;
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.event-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.event-date-badge {
  flex-shrink: 0;
  width: 80px;
  background: var(--saffron);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: white;
}

.event-date-badge .month {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
}

.event-date-badge .day {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.1;
}

.event-date-badge .year {
  font-size: 10px;
  opacity: 0.7;
}

.event-body {
  padding: 24px 28px;
  flex: 1;
}

.event-type-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.event-type-badge.in-person {
  background: rgba(184,137,42,0.12);
  color: var(--gold);
}

.event-type-badge.online {
  background: rgba(212,98,26,0.1);
  color: var(--saffron);
}

.event-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
  line-height: 1.3;
}

.event-location {
  font-size: 12px;
  color: var(--warm-gray);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-desc {
  font-size: 13.5px;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.event-link:hover { gap: 10px; }

/* ── Past Events ───────────────────────────────────── */
#past-events {
  padding: 80px 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
}

.past-events-header {
  margin-bottom: 40px;
}

.past-events-list {
  border-top: 1px solid var(--border);
}

.past-event-row {
  display: grid;
  grid-template-columns: 120px 1fr 160px;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.past-event-row:hover {
  background: rgba(184,137,42,0.04);
}

.past-event-date {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--saffron);
}

.past-event-title {
  font-size: 15px;
  color: var(--brown);
  font-weight: 400;
}

.past-event-location {
  font-size: 12px;
  color: var(--warm-gray);
  text-align: right;
}

.show-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.show-more-btn {
  padding: 12px 32px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
  background: white;
  border-radius: 2px;
  transition: all 0.25s;
}

.show-more-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   WEEKLY CLASSES
═══════════════════════════════════════════════════════ */
#classes {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.classes-header {
  margin-bottom: 48px;
}

.classes-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--border);
}

.classes-table thead {
  background: var(--brown);
  color: rgba(250,240,224,0.7);
}

.classes-table thead th {
  padding: 16px 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.classes-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: middle;
}

.classes-table td:last-child,
.classes-table th:last-child {
  border-right: none;
}

.classes-table tr:last-child td {
  border-bottom: none;
}

.classes-table tr.today-row {
  background: var(--saffron-pale);
}

.today-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--saffron);
  color: white;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.class-day {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--brown);
  font-weight: 500;
}

.class-time {
  color: var(--saffron);
  font-weight: 500;
  font-size: 15px;
}

.class-name {
  color: var(--brown);
  font-weight: 500;
}

.class-format-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
}

.class-format-badge.zoom {
  background: rgba(212,98,26,0.1);
  color: var(--saffron);
}

.class-format-badge.in-person {
  background: rgba(184,137,42,0.12);
  color: var(--gold);
}

.class-format-badge.both {
  background: rgba(61,43,26,0.08);
  color: var(--brown);
}

.class-level {
  font-size: 13px;
  color: var(--warm-gray);
}

.class-join-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.class-join-link:hover { gap: 8px; }

/* ══════════════════════════════════════════════════════
   VIDEOS
═══════════════════════════════════════════════════════ */
#videos {
  padding: var(--section-pad) 0;
  background: var(--brown);
  position: relative;
  overflow: hidden;
}

#videos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(212,98,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.videos-header {
  margin-bottom: 48px;
}

.videos-header .section-label {
  color: var(--gold-light);
}

.videos-header .section-title {
  color: #FAF0E0;
}

.videos-header .divider {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

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

.video-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,137,42,0.4);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-soft);
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.video-card:hover .video-play-btn {
  background: rgba(0,0,0,0.1);
}

.video-play-btn svg {
  width: 52px;
  height: 52px;
  fill: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.3s;
}

.video-card:hover .video-play-btn svg {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 2px;
}

.video-info {
  padding: 18px 20px;
}

.video-date {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 6px;
  opacity: 0.7;
}

.video-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(250,240,224,0.9);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.video-watch-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.video-watch-link:hover { gap: 10px; }

/* Skeleton loading */
.video-skeleton {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.skeleton-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body { padding: 18px 20px; }

.skeleton-line {
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 8px;
}

.skeleton-line.short { width: 60%; }

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.videos-youtube-link {
  text-align: center;
  margin-top: 48px;
}

/* ══════════════════════════════════════════════════════
   SOCIAL / CONNECT
═══════════════════════════════════════════════════════ */
#connect {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.connect-header {
  text-align: center;
  margin-bottom: 64px;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.social-card {
  border: 1px solid var(--border);
  background: white;
  padding: 40px;
}

.social-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.social-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon-wrap.fb { background: #1877F2; }
.social-icon-wrap.li { background: #0077B5; }
.social-icon-wrap.yt { background: #FF0000; }
.social-icon-wrap.wa { background: #25D366; }

.social-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.social-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brown);
}

.social-card-sub {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 2px;
}

.fb-page-embed {
  overflow: hidden;
  width: 100%;
}

.fb-placeholder {
  text-align: center;
  padding: 40px;
}

.fb-placeholder p {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.linkedin-manual-posts { display: flex; flex-direction: column; gap: 16px; }

.li-post {
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--ivory);
  transition: border-color 0.2s;
}

.li-post:hover { border-color: var(--border-hover); }

.li-post-date {
  font-size: 11px;
  color: var(--warm-gray);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.li-post-text {
  font-size: 14px;
  color: var(--brown);
  line-height: 1.6;
}

.wa-community-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.wa-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: white;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}
.wa-join-btn:hover {
  background: #1EB85A;
  transform: translateY(-1px);
}

.social-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  transition: gap 0.2s;
}

.social-follow-link:hover { gap: 12px; }

/* ══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
#footer {
  background: var(--charcoal);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--saffron), var(--gold), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo-name { color: #FAF0E0; font-size: 18px; }
.footer-brand .nav-logo-sub { color: rgba(250,240,224,0.5); font-style: italic; margin-top: 2px; display: block; }

.footer-desc {
  font-size: 14px;
  color: rgba(250,240,224,0.4);
  line-height: 1.7;
  margin-top: 16px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(250,240,224,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(250,240,224,0.9); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,240,224,0.5);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(184,137,42,0.1);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(250,240,224,0.3);
}

.footer-lotus {
  color: rgba(184,137,42,0.5);
  font-size: 20px;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { position: static; max-width: 320px; }

  .teachings-grid { grid-template-columns: repeat(2, 1fr); }

  .events-grid { grid-template-columns: 1fr; }

  .videos-grid { grid-template-columns: repeat(2, 1fr); }

  .connect-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .past-event-row { grid-template-columns: 100px 1fr; }
  .past-event-location { display: none; }
}

@media (max-width: 600px) {
  :root { --section-pad: 56px; }

  .teachings-grid { grid-template-columns: 1fr; gap: 0; }
  .videos-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .classes-table { font-size: 13px; }
  .classes-table td, .classes-table th { padding: 12px 14px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; max-width: 280px; justify-content: center; }
}

/* ── Print ──────────────────────────────────────────── */
@media print {
  #nav, #hero, #videos, #connect, #footer { display: none; }
  body { background: white; font-size: 12pt; }
  .section-title { font-size: 18pt; }
  .event-card, .past-event-row { break-inside: avoid; }
}

/* ══════════════════════════════════════════════════════
   MESSAGE FROM SWAMIJI SECTION
═══════════════════════════════════════════════════════ */
#message {
  padding: var(--section-pad) 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.message-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}

/* Single-column message layout */
.message-single {
  max-width: 740px;
}

.message-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.message-actions .btn-outline {
  color: var(--brown);
  border-color: var(--brown);
}
.message-actions .btn-outline:hover {
  background: var(--brown);
  color: white;
  border-color: var(--brown);
}

.message-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--saffron);
}

.message-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s;
}

.message-contact-item:hover { color: var(--saffron); }

.message-text p {
  font-size: 18px;
  line-height: 1.9;
  color: #4A3D32;
  margin-bottom: 18px;
}

.message-sign-off {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brown);
  line-height: 1.8;
}

.message-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 24px;
  background: var(--cream);
  border-left: 3px solid var(--saffron);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--saffron);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(200,90,20,0.2);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200,90,20,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(200,90,20,0.08); }
}

.status-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--brown);
}

/* Quote card */
.message-quote-card {
  background: var(--brown);
  padding: 40px 36px 36px;
  position: relative;
  margin-bottom: 24px;
}

.message-quote-mark {
  font-family: var(--font-serif);
  font-size: 100px;
  color: var(--gold);
  opacity: 0.25;
  line-height: 0.6;
  position: absolute;
  top: 28px; left: 28px;
}

.message-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(250,240,224,0.92);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.message-cite {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
  font-weight: 700;
}

/* Next event teaser in message section */
.message-next-event {
  border: 1.5px solid var(--border);
  background: white;
  padding: 24px 28px;
}

.next-event-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.next-event-label svg {
  width: 14px; height: 14px;
  fill: currentColor;
}

.next-event-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
  line-height: 1.3;
}

.next-event-date {
  font-size: 16px;
  color: var(--warm-gray);
  margin-bottom: 16px;
}

.next-event-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 22px;
  background: var(--saffron);
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  min-height: var(--touch-min);
  transition: background 0.2s;
  text-decoration: none;
}

.next-event-cta:hover { background: var(--saffron-light); }

/* Responsive */
@media (max-width: 900px) {
  .message-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ══════════════════════════════════════════════════════
   MOBILE-FIRST FIXES — All Sections
   Base styles here are mobile. Scale up at breakpoints.
══════════════════════════════════════════════════════ */

/* ── GLOBAL MOBILE ── */
@media (max-width: 639px) {
  :root {
    --section-pad: 56px;
    --nav-h: 64px;
  }

  .container { padding: 0 16px; }

  .section-title { font-size: 1.75rem; }

  /* ── NAV ── */
  #nav { padding: 0 16px; }

  .nav-logo-text { display: flex; }
  .nav-logo-name { font-size: 16px; }
  .nav-logo-sub  { font-size: 10px; }

  .nav-links { display: none; }     /* hidden — hamburger used instead */

  /* ── ABOUT HERO STRIP ── */
  .about-hero {
    padding: calc(var(--nav-h) + 20px) 16px 36px;
  }

  .about-hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .about-hero .hero-mandala {
    width: 300px; height: 300px;
    right: -60px;
  }

  .about-hero-photo-ring {
    width: 110px;
    height: 110px;
  }

  .about-hero-photo-om { font-size: 42px; }

  .about-hero-name { font-size: 1.7rem; }

  .about-hero-role { font-size: 11px; letter-spacing: 0.14em; }

  .about-hero-tagline { font-size: 1.05rem; margin-bottom: 20px; }

  .about-hero-actions {
    justify-content: center;
    gap: 10px;
  }

  .about-hero-actions .btn-primary,
  .about-hero-actions .btn-outline {
    padding: 13px 20px;
    font-size: 13px;
    min-height: 48px;
  }

  /* ── ABOUT BIO PANEL ── */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .about-photo-wrap { display: none; } /* hide duplicate photo — already in header strip */

  .about-bio p { font-size: 16px; }

  .about-quote {
    padding: 24px 20px;
    margin: 32px 0;
  }

  .about-quote blockquote { font-size: 1.15rem; }

  .about-actions { flex-direction: column; gap: 10px; }
  .about-actions .btn-primary,
  .about-actions .btn-outline-dark { width: 100%; justify-content: center; }

  /* ── MESSAGE SECTION ── */
  .message-layout {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .message-quote-card { padding: 28px 20px 24px; }
  .message-quote { font-size: 1.1rem; }
  .message-quote-mark { font-size: 72px; top: 16px; left: 16px; }

  .message-text p { font-size: 16px; }

  .status-item { gap: 10px; }
  .status-label { font-size: 15px; }

  .message-next-event { padding: 18px 16px; }

  /* ── EVENTS ── */
  .events-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .event-card.is-highlight { grid-column: 1; }

  .event-card.is-highlight .event-card-body {
    grid-template-columns: 1fr !important;
  }

  .event-card.is-highlight .event-side-info { display: none; }

  .event-card-body { padding: 16px !important; }

  .event-title { font-size: 1.1rem !important; }
  .event-card.is-highlight .event-title { font-size: 1.2rem !important; }

  .event-card-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn-event-register,
  .btn-event-details,
  .btn-brochure {
    width: 100% !important;
    justify-content: center;
    font-size: 14px !important;
    padding: 14px 16px !important;
    min-height: 50px !important;
  }

  .event-card:not(.is-highlight) .event-cover { height: 150px; }
  .event-card.is-highlight .event-cover { height: 190px; }

  .events-filter-bar {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
  }
  .evt-filter-btn {
    padding: 6px 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
    min-height: unset;
  }

  /* ── ARCHIVE ── */
  .archive-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .archive-card-thumb { height: 130px; }

  /* ── CLASSES TABLE ── */
  #classes .container { padding: 0 12px; }

  .classes-table { font-size: 14px; }

  /* Stack table as cards on mobile */
  .classes-table thead { display: none; }
  .classes-table tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 3px;
    margin-bottom: 12px;
    padding: 16px;
    background: white;
  }
  .classes-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border: none;
    font-size: 15px;
  }
  .classes-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    flex-shrink: 0;
    margin-right: 12px;
  }

  /* ── VIDEOS ── */
  .videos-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* ── CONNECT ── */
  .connect-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .social-card { padding: 24px 16px !important; }

  /* ── MODAL ── */
  .modal-backdrop { padding: 0 !important; align-items: flex-end !important; }

  .modal-box {
    max-width: 100% !important;
    max-height: 92dvh;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .modal-cover { height: 180px !important; flex-shrink: 0; }
  .modal-cover-title { font-size: 1.25rem; }
  .modal-cover-info { left: 16px; bottom: 14px; right: 60px; }

  .modal-body {
    grid-template-columns: 1fr !important;
    padding: 18px 16px 28px !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
  }

  .modal-sidebar {
    border-top: 1px solid var(--border);
    padding-top: 20px;
  }

  .modal-sidebar-actions .btn-event-register { width: 100%; justify-content: center; }

  .modal-close { width: 44px !important; height: 44px !important; }

  .schedule-row {
    grid-template-columns: 60px 1fr;
    gap: 6px;
    font-size: 13px;
  }

  /* ── FOOTER ── */
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
    text-align: center;
  }

  .footer-links { align-items: center; }

  .footer-social { justify-content: center; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── TABLET (640–899px) ── */
@media (min-width: 640px) and (max-width: 899px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .about-photo-wrap { display: none; } /* hide on tablet too — in header strip */

  .about-hero-inner { gap: 32px; }

  .events-grid { grid-template-columns: 1fr !important; }

  .event-card.is-highlight .event-card-body {
    grid-template-columns: 1fr 180px !important;
  }

  .archive-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .videos-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .connect-grid { grid-template-columns: 1fr !important; }

  .message-layout { grid-template-columns: 1fr !important; }

  .modal-body { grid-template-columns: 1fr 200px !important; }

  .footer-inner { grid-template-columns: 1fr 1fr !important; }
}


