@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap");

:root {
  --ink-950: #201825;
  --ink-800: #3b3040;
  --ink-600: #665d69;
  --ink-500: #817985;
  --plum-950: #211128;
  --plum-900: #2d1737;
  --plum-800: #43204f;
  --plum-700: #5d2869;
  --plum-600: #74377f;
  --plum-100: #f1e8f2;
  --plum-50: #faf6fa;
  --saffron-500: #dfa72c;
  --saffron-400: #eabe58;
  --saffron-100: #faedca;
  --ivory-50: #fdfbf7;
  --ivory-100: #f7f2e9;
  --white: #ffffff;
  --success: #176b4d;
  --danger: #b42318;
  --border: rgba(45, 23, 55, 0.13);
  --border-strong: rgba(45, 23, 55, 0.24);
  --shadow-sm: 0 2px 8px rgba(38, 21, 43, 0.06);
  --shadow-md: 0 16px 40px rgba(38, 21, 43, 0.10);
  --shadow-lg: 0 28px 80px rgba(31, 16, 36, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --content: 1160px;
  --reading: 720px;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Libre Caslon Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

/* overflow-x: hidden is a safety net: a decorative/absolutely-positioned
   element bleeding a few px past the viewport (e.g. a stray max-width:
   100vw, which can render wider than the visible area once a scrollbar is
   accounted for) used to make the whole page horizontally scrollable by a
   few pixels. This doesn't clip intentionally-scrollable elements like
   .top-strips__inner (those scroll within their own box via overflow-x:
   auto); it only stops the page itself from developing extra width. */
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ivory-50);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--saffron-100);
  color: var(--plum-950);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--plum-900);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--saffron-400);
  outline-offset: 3px;
}

/* Header and navigation */
.sticky-header {
  height: 76px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(33, 17, 40, 0.94);
  box-shadow: 0 8px 32px rgba(16, 8, 19, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Quick-links strip: a slim icon-only row that visually extends the
   fixed header (same dark background, no gap) so the hero photo below
   it stays high on the page instead of being pushed down by a tall
   card strip. */
.top-strips {
  margin-top: 76px;
  padding: 10px 0;
  background: var(--plum-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.top-strips__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  /* Without this, the flex-shrink:0 icon row's intrinsic content width
     (wider than the viewport by design - that's what makes it scroll)
     leaked into the browser's mobile viewport-meta width negotiation,
     making window.innerWidth wider than the actual device width even
     though every element renders correctly within its bounds. Confirmed
     empirically: overflow-x:auto/hidden alone did not fix this: only
     containment does, because it isolates this element's internal
     layout from influencing layout/sizing outside it. */
  contain: layout;
}

.top-strips__inner::-webkit-scrollbar {
  display: none;
}

.top-strips__divider {
  flex: 0 0 auto;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.16);
}

.strip-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.strip-group-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--saffron-400);
  font-size: 0.9rem;
}

.strip-icon {
  display: block;
  flex: 0 0 auto;
  cursor: pointer;
}

.strip-icon:hover .strip-icon__ring,
.strip-icon:focus-visible .strip-icon__ring {
  transform: scale(1.08);
}

.strip-icon--soon {
  cursor: default;
}

.strip-icon--soon:hover .strip-icon__ring {
  transform: none;
}

.strip-icon__ring {
  display: block;
  width: 44px;
  height: 44px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-500), var(--plum-700));
  transition: transform 200ms var(--ease);
  animation: strip-ring-pulse 2.6s ease-in-out infinite;
}

@keyframes strip-ring-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(223, 167, 44, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(223, 167, 44, 0);
  }
}

.strip-icon__ring img {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid var(--plum-950);
  border-radius: 50%;
  object-fit: cover;
}

.strip-icon__ring i {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--plum-950);
  border-radius: 50%;
  background: var(--white);
  color: var(--plum-700);
  font-size: 0.95rem;
}

.strip-icon__ring--soon {
  background: rgba(255, 255, 255, 0.25);
  animation: none;
}

.strip-icon__ring--soon i {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-500);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 258px;
  color: var(--white) !important;
}

.site-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.site-brand__text {
  display: grid;
  line-height: 1.15;
}

.site-brand__text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.site-brand__text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sticky-header nav {
  gap: 4px;
}

.sticky-header nav > a,
.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.sticky-header nav > a:hover,
.sticky-header nav > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.sticky-header nav > a.active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--saffron-400);
}

.nav-dropdown-toggle i {
  font-size: 0.65rem;
  transition: transform 180ms ease;
}

.nav-dropdown-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--saffron-400);
  color: var(--plum-950);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(223, 167, 44, 0.35);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-account:hover {
  background: var(--saffron-500);
  color: var(--plum-950);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(223, 167, 44, 0.45);
}

nav .dropdown-content {
  top: calc(100% + 10px);
  left: 50%;
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--plum-950);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
}

nav .dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  height: 10px;
}

nav .dropdown-content a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

nav .dropdown-content a:hover,
nav .dropdown-content a.active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

nav .dropdown:hover .dropdown-content,
nav .dropdown:focus-within .dropdown-content,
nav .dropdown-content.show-submenu {
  display: flex;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  min-height: 430px;
  height: auto;
  margin-top: 76px;
  padding: clamp(80px, 12vw, 150px) 24px 112px;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background-position: center 28%;
  text-shadow: none;
}

/* When the top strips precede the hero, they already clear the fixed
   header - the hero shouldn't add its own 76px on top of that. */
.top-strips + .hero {
  margin-top: 0;
}

.hero--home {
  min-height: 660px;
  padding-bottom: 142px;
}

.hero--home .hero__eyebrow {
  margin-top: 64px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -52% auto;
  z-index: -1;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035), 0 0 0 140px rgba(255, 255, 255, 0.025);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(27, 12, 32, 0.88) 0%, rgba(35, 17, 41, 0.68) 46%, rgba(35, 17, 41, 0.30) 100%),
    linear-gradient(0deg, rgba(24, 12, 28, 0.52), transparent 55%);
}

.hero__content {
  width: min(100%, var(--content));
  margin: 0 auto;
  text-align: left;
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--saffron-400);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .hero-page-title {
  width: min(820px, 100%);
  margin: 0;
  padding: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.35rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-align: left;
  text-wrap: balance;
}

.hero--page .hero-page-title {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

/* The spacer holds the full final heading (invisible) so the hero
   reserves its final size immediately - the visible text overlays it
   absolutely positioned, so typing it out char-by-char never reflows
   the lede/buttons below. Both use the same (non-balanced) wrapping
   so the overlay's line breaks always match the reserved space. */
.hero-page-title--typewriter {
  position: relative;
  text-wrap: wrap;
  white-space: pre-line;
}

.typewriter-spacer {
  visibility: hidden;
}

.typewriter-visible {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.typewriter--typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 4px;
  background: var(--saffron-400);
  vertical-align: -0.1em;
  animation: typewriter-caret 900ms steps(1) infinite;
}

@keyframes typewriter-caret {
  50% {
    opacity: 0;
  }
}

.hero__lede {
  width: min(610px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
}

.hero__actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Content and typography */
.container.page-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content));
  max-width: none;
  margin: -64px auto 72px;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid rgba(45, 23, 55, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  font-size: 1rem;
}

.page-content section {
  margin-bottom: clamp(64px, 9vw, 112px);
}

.page-content section:last-child {
  margin-bottom: 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--plum-900);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-content h1,
.page-content h2 {
  border: 0;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  text-wrap: balance;
}

.page-content h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.page-content p,
.page-content li {
  color: var(--ink-600);
}

.page-content p {
  margin-top: 0;
}

.page-content .lead {
  color: var(--ink-800);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.page-content a {
  border-bottom: 0;
  color: var(--plum-700);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-content p > a:not(.button):not(.cta-button),
.page-content li > a:not(.button):not(.cta-button) {
  text-decoration: underline;
  text-decoration-color: rgba(93, 40, 105, 0.3);
}

.page-content a:hover {
  border-bottom: 0;
  color: var(--plum-900);
}

.page-content .highlight {
  color: var(--plum-700);
  font-weight: 700;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro-grid h2 {
  margin: 0;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.featured-event {
  max-width: var(--reading);
  margin: 0 0 clamp(40px, 6vw, 72px);
}

.featured-event h2 {
  margin: 0 0 10px;
}

.featured-event__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--plum-700);
  font-weight: 700;
}

/* Hero promo card: pins the Ratha Yatra video top-right in the hero so
   it's visible without scrolling, instead of buried below the fold. */
.hero-promo {
  position: absolute;
  top: clamp(20px, 4vw, 40px);
  right: clamp(20px, 4vw, 48px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: clamp(148px, 20vw, 260px);
}

.hero-promo__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  background: var(--ink-950);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}

.hero-promo__media:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.4);
}

.hero-promo__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-promo__sound {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(20, 10, 24, 0.55);
  color: var(--white);
  font-size: 0.7rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.hero-promo__sound:hover {
  background: rgba(20, 10, 24, 0.8);
}

.hero-promo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(20, 10, 24, 0.6);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
}

.hero-promo__play.is-visible {
  display: flex;
}

.hero-promo__play:hover {
  background: rgba(20, 10, 24, 0.85);
}

.hero-promo__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
  color: var(--white);
  font-size: 0.76rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.hero-promo__caption:hover {
  text-decoration: underline;
}

.hero-promo__caption strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 36px;
}

.section-heading > div {
  max-width: 650px;
}

.section-heading > p {
  max-width: 430px;
  margin-bottom: 4px;
}

.section-heading h2,
.section-heading .section-kicker {
  margin-top: 0;
}

.section-heading--compact {
  align-items: start;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.text-link span,
.card-link span {
  transition: transform 180ms var(--ease);
}

.text-link:hover span,
.card-link:hover span {
  transform: translateX(4px);
}

/* Buttons */
.button,
a.cta-button,
button.btn-primary,
a.preview-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button:hover,
a.cta-button:hover,
button.btn-primary:hover,
a.preview-button:hover {
  transform: translateY(-2px);
}

.button--primary,
a.cta-button,
button.btn-primary,
a.preview-button {
  background: var(--plum-700);
  color: var(--white) !important;
  box-shadow: 0 10px 24px rgba(93, 40, 105, 0.22);
}

.button--primary:hover,
a.cta-button:hover,
button.btn-primary:hover,
a.preview-button:hover {
  background: var(--plum-900);
  color: var(--white) !important;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
  backdrop-filter: blur(10px);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.button--light {
  background: var(--white);
  color: var(--plum-900) !important;
  box-shadow: var(--shadow-md);
}

button.btn-primary {
  min-width: 180px;
  margin-top: 12px;
}

button.btn-primary:disabled {
  background: var(--ink-500);
  box-shadow: none;
  transform: none;
}

/* Feature and content cards */
.offer-section {
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--plum-50);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  border-color: rgba(93, 40, 105, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--saffron-100);
  color: var(--plum-800);
  font-size: 1.05rem;
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
}

.preview-section {
  padding: 0;
  background: transparent;
}

.preview-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: none;
}

.preview-card {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.preview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.preview-card__image {
  display: block;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.preview-card__image img,
.preview-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.preview-card:hover .preview-card__image img {
  transform: scale(1.035);
}

.preview-card__body {
  padding: 26px;
}

.preview-card h3,
.preview-card__body h3 {
  margin: 10px 0 12px;
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
}

.preview-card p,
.preview-card__body p {
  margin: 0 0 22px;
  color: var(--ink-600);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Community Moments gallery */
.moments-section {
  padding: 0;
  background: transparent;
}

.moments-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.moments-tabs::-webkit-scrollbar {
  display: none;
}

.moments-tab {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 80px;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}

.moments-tab__ring {
  display: block;
  width: 72px;
  height: 72px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-500), var(--plum-700));
  transition: transform 200ms var(--ease);
}

.moments-tab__ring img {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid var(--ivory-50);
  border-radius: 50%;
  object-fit: cover;
}

.moments-tab__ring--all {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.moments-tab:hover .moments-tab__ring,
.moments-tab.is-active .moments-tab__ring {
  transform: scale(1.06);
}

.moments-tab.is-active .moments-tab__ring {
  box-shadow: 0 0 0 3px var(--ivory-50), 0 0 0 5px var(--saffron-500);
}

.moments-tab__label {
  color: var(--ink-800);
  font-size: 0.78rem;
  font-weight: 600;
}

.moments-tab.is-active .moments-tab__label {
  color: var(--plum-700);
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.moment-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}

.moment-card--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.moment-card--filtered-out {
  display: none;
}

.moment-card:hover,
.moment-card:focus-visible {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.moment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.moment-card:hover img {
  transform: scale(1.04);
}

.moment-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  background: linear-gradient(to top, rgba(32, 24, 37, 0.78), rgba(32, 24, 37, 0));
  text-align: left;
}

.moment-card__caption strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.moment-card__caption span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
}

.moment-card--wide .moment-card__caption {
  padding: 22px;
}

.moment-card--wide .moment-card__caption strong {
  font-size: 1.1rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(32, 24, 37, 0.92);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.gallery-lightbox__frame img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: var(--plum-950);
}

.gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 24, 37, 0.5);
  color: var(--white);
  cursor: pointer;
}

.gallery-lightbox__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(32, 24, 37, 0.88), rgba(32, 24, 37, 0));
}

.gallery-lightbox__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}

.gallery-lightbox__subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}

body.lightbox-open {
  overflow: hidden;
}

.content-tag {
  display: inline-flex;
  color: var(--plum-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 6vw, 62px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 10%, rgba(234, 190, 88, 0.22), transparent 30%),
    var(--plum-900);
  color: var(--white);
  overflow: hidden;
}

.closing-cta h2 {
  margin: 0 0 12px;
  color: var(--white);
}

.closing-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.closing-cta--compact {
  padding-block: 42px;
}

/* Events */
.event-list,
.page-content ul.event-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.event-list li {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 118px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms ease, border-color 200ms ease;
}

.event-list li:hover {
  border-color: rgba(93, 40, 105, 0.24);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.event-date {
  width: 70px;
  height: 76px;
  display: grid;
  place-content: center;
  border-radius: 16px;
  background: var(--plum-50);
  color: var(--plum-800);
  text-align: center;
}

.event-date span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-date strong {
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.event-details h3,
.event-list li strong {
  display: block;
  margin: 4px 0 3px;
  color: var(--plum-900);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.event-details p {
  margin: 0;
  font-size: 0.9rem;
}

.event-action {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum-100);
  color: var(--plum-800) !important;
}

/* Forms */
.registration-heading {
  max-width: var(--reading);
  margin: 0 auto 30px;
  text-align: center;
}

.registration-heading h2 {
  margin: 0;
}

.registration-form {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--plum-50);
  box-shadow: var(--shadow-sm);
}

.registration-form > p:first-child {
  margin: 0 0 30px;
  padding: 20px 22px;
  border: 1px solid rgba(223, 167, 44, 0.25);
  border-radius: var(--radius-md);
  background: rgba(250, 237, 202, 0.5);
  color: var(--ink-800);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 7px;
  color: var(--ink-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.donation-group label {
  font-weight: normal;
}

.helper-text {
  display: block;
  margin-top: 6px;
  color: var(--ink-600);
  font-size: 0.82rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea,
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(31, 16, 36, 0.035);
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(93, 40, 105, 0.42);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--plum-600);
  outline: none;
  box-shadow: 0 0 0 4px rgba(116, 55, 127, 0.12);
}

.consent-section,
.payment-section {
  margin: 30px 0 24px !important;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.consent-section h3,
.payment-section h3 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.form-group .checkbox-option {
  border-color: var(--border);
  border-radius: 12px;
  background: var(--ivory-50);
  transition: border 160ms ease, background 160ms ease;
}

.form-group .checkbox-option:hover {
  border-color: rgba(93, 40, 105, 0.26);
  background: var(--plum-50);
}

.form-group .category-options .checkbox-option {
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.radio-group {
  flex-wrap: wrap;
}

.radio-group h3 {
  flex-basis: 100%;
  margin-top: 6px;
  margin-bottom: 0;
}

.radio-option span {
  padding: 10px 18px;
  border-color: var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
}

.radio-option input:checked + span {
  border-color: var(--plum-700);
  background: var(--plum-700);
}

.child-card {
  padding: 22px 22px 4px;
  border-color: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.child-card h4 {
  color: var(--plum-800);
  font-family: var(--font-body);
  font-weight: 700;
}

#card-element {
  min-height: 25px;
  padding: 10px 2px 10px 2px;
  border-color: var(--border-strong);
  border-radius: var(--radius-sm);
}

#card-errors {
  color: var(--danger);
}

.form-message,
.registration-success-message {
  color: var(--success);
}

/* Sadhana tracker */
.sadhana-view-toggle {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
}

.sadhana-view-toggle button {
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink-800);
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.sadhana-view-toggle button.active {
  border-color: var(--plum-700);
  background: var(--plum-700);
  color: var(--white);
}

.sadhana-chart-wrap {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.sadhana-chart-canvas {
  position: relative;
  height: 320px;
}

@media (max-width: 700px) {
  .sadhana-chart-canvas {
    height: 260px;
  }
}

.sadhana-share {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.sadhana-share h3 {
  margin: 0 0 10px;
}

.sadhana-share-result:not([hidden]) {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.sadhana-share-result input {
  flex: 1;
}

/* Campaign booking workflow (Damodar Puja: dham rep + facilitator) */
.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  margin: 4px 0;
}

.status-pill.status-unassigned {
  background: var(--saffron-100);
  color: #6b4d0f;
}

.status-pill.status-assigned {
  background: var(--plum-100);
  color: var(--plum-800);
}

.status-pill.status-completed {
  background: #e4f3ec;
  color: var(--success);
}

.booking-summary {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--plum-50);
  color: var(--ink-600);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.feedback-share {
  text-align: center;
  padding: 8px 4px 4px;
}

.feedback-share h3 {
  margin-bottom: 8px;
}

.feedback-share p {
  color: var(--ink-600);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.feedback-share__qr {
  display: block;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.feedback-share__link {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.feedback-share__link input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--plum-50);
  color: var(--ink-600);
  font-size: 0.82rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.remove-contact {
  background: transparent;
  border: 0;
  color: var(--ink-500);
  font-size: 1rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 640px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

.dham-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dham-table th,
.dham-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}

.dham-table th {
  color: var(--ink-500);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.dham-table td.num,
.dham-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dham-table tr.total td {
  font-weight: 700;
  border-top: 2px solid var(--border-strong);
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.week-tile {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--plum-50);
}

.week-tile .wk-label {
  font-size: 0.72rem;
  color: var(--ink-500);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.week-tile .wk-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-top: 4px;
}

/* Damodar Puja floating homepage nudge */
.damodar-avatar {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 340px;
}

.damodar-avatar[hidden] {
  display: none;
}

.damodar-avatar.is-visible {
  animation: damodar-avatar-pop-in 420ms var(--ease) both;
}

@keyframes damodar-avatar-pop-in {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .damodar-avatar.is-visible {
    animation: none;
  }
}

.damodar-avatar__bubble {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink-800);
  transition: transform 180ms var(--ease), box-shadow 180ms ease;
}

.damodar-avatar__bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(38, 21, 43, 0.16);
}

.damodar-avatar__icon {
  display: block;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--saffron-400);
  object-fit: cover;
  object-position: 50% 25%;
  box-shadow: var(--shadow-sm);
}

.damodar-avatar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.damodar-avatar__text strong {
  display: block;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.25;
}

.damodar-avatar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--plum-700);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.damodar-avatar__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-600);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.damodar-avatar__close:hover {
  background: var(--plum-50);
  color: var(--ink-800);
}

@media (max-width: 500px) {
  .damodar-avatar {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}

/* Devotee Portal sadhana-recording nudge */
.app-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 320px;
  padding: 16px 40px 16px 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.app-toast[hidden] {
  display: none;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .app-toast {
    transition: none;
  }
}

.app-toast__text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-600);
  margin-bottom: 12px;
}

.app-toast__text strong {
  display: block;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: 4px;
}

/* Doubled class beats .page-content a's higher specificity (0,1,1 vs
   a plain .app-toast__cta at 0,1,0) - this toast renders inside
   .page-content, unlike the homepage avatar widget which sits outside it. */
.app-toast .app-toast__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--plum-700);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
}

.app-toast__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-600);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.app-toast__close:hover {
  background: var(--plum-50);
  color: var(--ink-800);
}

@media (max-width: 500px) {
  .app-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}

.bg-quote {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-left: 4px solid var(--saffron-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--plum-50);
}

/* Footer */
footer {
  padding: 64px 24px 24px;
  background: var(--plum-950);
  color: var(--white);
  text-align: left;
}

.footer__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 1.4fr) 1fr auto;
  gap: 54px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.footer__brand p {
  max-width: 390px;
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 28px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--saffron-400);
}

footer .social-links {
  display: flex;
  gap: 9px;
}

footer .social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--saffron-400);
  transform: translateY(-2px);
}

.footer__legal {
  width: min(100%, var(--content));
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .site-header__inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .menu-toggle {
    display: flex;
  }

  .sticky-header nav {
    position: fixed;
    inset: 76px 0 auto;
    max-height: calc(100vh - 76px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    padding: 18px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--plum-950);
    box-shadow: var(--shadow-lg);
  }

  .sticky-header nav.show {
    display: flex;
  }

  .sticky-header nav > a,
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .sticky-header nav .dropdown {
    width: 100%;
  }

  nav .dropdown:hover .dropdown-content,
  nav .dropdown:focus-within .dropdown-content {
    display: none;
  }

  nav .dropdown .dropdown-content.show-submenu {
    display: flex;
  }

  nav .dropdown-content {
    position: static;
    min-width: 0;
    margin: 2px 8px 8px;
    padding: 5px;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transform: none;
  }

  .feature-grid,
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-card:last-child {
    grid-column: 1 / -1;
  }

  .moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moment-card--wide {
    grid-column: span 2;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  footer .social-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-brand {
    min-width: 0;
  }

  .site-brand__text strong {
    font-size: 0.92rem;
  }

  .nav-account__label {
    display: none;
  }

  .nav-account {
    padding: 0 11px;
  }

  .hero,
  .hero--home {
    min-height: 520px;
    padding: 80px 20px 100px;
    background-position: center;
  }

  .hero--page {
    min-height: 380px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(27, 12, 32, 0.9), rgba(35, 17, 41, 0.56));
  }

  .hero__actions .button {
    width: 100%;
    box-sizing: border-box;
  }

  .container.page-content {
    width: min(calc(100% - 20px), var(--content));
    margin-top: -48px;
    margin-bottom: 36px;
    padding: 32px 10px;
    border-radius: 22px;
  }

  .strip-icon__ring {
    width: 38px;
    height: 38px;
  }

  .moments-tabs {
    gap: 18px;
  }

  .moments-tab {
    width: 68px;
  }

  .moments-tab__ring {
    width: 60px;
    height: 60px;
  }

  .moments-grid {
    gap: 14px;
  }

  .intro-grid,
  .feature-grid,
  .preview-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .hero-promo {
    top: 16px;
    right: 16px;
  }

  .hero--home .hero__content {
    padding-top: 250px;
  }

  .preview-card:last-child {
    grid-column: auto;
  }

  .section-heading,
  .closing-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-heading > p {
    max-width: none;
  }

  .offer-section {
    padding: 30px 20px;
  }

  .event-list li {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .event-date {
    width: 60px;
    height: 68px;
  }

  .event-action {
    display: none;
  }

  .registration-form {
    padding: 22px 10px;
    border-radius: 18px;
  }

  .consent-section,
  .payment-section {
    padding: 18px 10px;
  }

  .footer__inner {
    gap: 34px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }

  footer .social-links {
    grid-column: auto;
  }

  .modal-content {
    width: 100%;
    margin: 1rem auto;
  }
}

@media (max-width: 430px) {
  .site-brand__text strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-brand__text small {
    display: none;
  }

  .hero .hero-page-title {
    font-size: 2.55rem;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .radio-group {
    align-items: stretch;
    flex-direction: column;
  }

  .radio-group label,
  .radio-option span {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Motion supports reading order and interaction, without shifting layout. */
.sticky-header {
  transition: background 250ms ease, box-shadow 250ms ease;
}

.sticky-header.is-scrolled {
  background: var(--plum-950);
  box-shadow: 0 8px 28px rgba(16, 8, 19, 0.22);
}

.hero::after {
  transform: translateY(var(--hero-drift, 0px));
}

.feature-card__icon {
  transition: transform 350ms var(--ease), background 250ms ease;
}

.button:active,
a.cta-button:active,
button.btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

.preview-card:focus-within {
  box-shadow: var(--shadow-md);
}

.preview-card:focus-within .card-link span {
  transform: translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .feature-card__icon {
    transform: translateY(-3px) rotate(-6deg);
    background: var(--saffron-400);
  }
}

@keyframes navigation-enter {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  nav .dropdown-content {
    animation: navigation-enter 220ms var(--ease) both;
  }

  @media (max-width: 980px) {
    .sticky-header nav.show {
      animation: navigation-enter 280ms var(--ease) both;
    }
  }
}

@keyframes hero-promo-float-in {
  from {
    opacity: 0;
    transform: translateX(64px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-promo {
    animation: hero-promo-float-in 700ms var(--ease) 250ms both;
  }
}

.reading-progress {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 3px;
  background: var(--saffron-400);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

@media print {
  .reading-progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reading-progress { display: none; }
  .hero::after,
  .feature-card:hover .feature-card__icon {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
