/* ============================================================
   ISKCON Satara — stylesheet
   One file, hand-written, no build step. See CLAUDE.md for the
   design brief this implements.
   ============================================================ */

/* ---------- Fonts (self-hosted, subset to latin + latin-ext + devanagari) ---------- */

@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/mukta-devanagari-400-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/mukta-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/mukta-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/mukta-devanagari-600-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/mukta-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/mukta-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/mukta-devanagari-700-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/mukta-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/mukta-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tiro Devanagari Marathi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/tiro-devanagari-marathi-devanagari-400-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Tiro Devanagari Marathi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/tiro-devanagari-marathi-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Tiro Devanagari Marathi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/tiro-devanagari-marathi-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */

:root {
  /* palette — see CLAUDE.md §"Design plan" for the reasoning behind each */
  --color-indigo-night: #1E2749;
  --color-indigo-night-deep: #141C36;
  --color-marigold: #E8891A;
  --color-marigold-deep: #C56E0E;
  --color-tulsi: #516B4E;
  --color-sandalwood: #FAF3E6;
  --color-sandalwood-deep: #F1E6D0;
  --color-brass: #A9812F;
  --color-brass-text: #8A6423; /* darker than --color-brass: same family, meets 4.5:1 AA as small text on ivory/sandalwood */
  --color-ink: #2A2620;
  --color-ivory: #FFFDF9;

  /* type */
  --font-display-latin: 'Lora', 'Georgia', serif;
  --font-display-mr: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', serif;
  --font-body: 'Mukta', 'Noto Sans Devanagari', sans-serif;

  /* fluid type scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.44rem, 1.3rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.73rem, 1.5rem + 1.1vw, 2.3rem);
  --step-4: clamp(2.07rem, 1.7rem + 1.8vw, 2.9rem);
  --step-5: clamp(2.4rem, 1.85rem + 3vw, 3.6rem);

  /* spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --container-max: 72rem;
  --radius: 0.6rem;
  --shadow-card: 0 10px 28px -14px rgba(20, 28, 54, 0.4);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-sandalwood);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { padding: 0; }
:lang(mr) { line-height: 1.85; }

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

/* ---------- Focus & accessibility helpers ---------- */

a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible {
  outline: 3px solid var(--color-marigold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-s);
  top: -4rem;
  background: var(--color-marigold);
  color: var(--color-indigo-night);
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Layout primitives ---------- */

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

section[class] { padding-block: var(--space-2xl); }

.section-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brass-text);
  margin-bottom: var(--space-xs);
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display-latin);
  line-height: 1.15;
  color: var(--color-indigo-night);
  font-weight: 600;
}
h1:lang(mr), h2:lang(mr), h3:lang(mr), h4:lang(mr),
h1 [lang="mr"], h2 [lang="mr"], h3 [lang="mr"], h4 [lang="mr"] {
  font-family: var(--font-display-mr);
  line-height: 1.4;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-bottom: var(--space-m); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { max-width: 62ch; }
p + p { margin-top: var(--space-s); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}
.btn--primary { background: var(--color-marigold); color: var(--color-indigo-night); }
.btn--primary:hover { background: var(--color-marigold-deep); }
.btn--dark { background: var(--color-indigo-night); color: var(--color-ivory); }
.btn--dark:hover { background: var(--color-indigo-night-deep); }
.btn--outline-invert { background: transparent; border-color: rgba(255, 253, 249, 0.5); color: var(--color-ivory); }
.btn--outline-invert:hover { background: rgba(255, 253, 249, 0.12); border-color: var(--color-ivory); }
.btn--outline { background: transparent; border-color: var(--color-indigo-night); color: var(--color-indigo-night); }
.btn--outline:hover { background: var(--color-indigo-night); color: var(--color-ivory); }

/* ---------- Site header ---------- */

.site-header {
  background: var(--color-indigo-night);
  color: var(--color-ivory);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: var(--space-xs);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  text-decoration: none;
  color: var(--color-ivory);
}
.brand__logo {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  /* source artwork is solid black on transparent; inverting makes it read as
     white against the indigo header without needing a separate light asset */
  filter: invert(1);
}
.brand__name-mr { font-family: var(--font-display-mr); font-size: var(--step-1); line-height: 1.15;   font-size: medium; }

.header-actions { display: flex; align-items: center; gap: var(--space-s); flex-shrink: 0; margin-left: auto; }

.lang-toggle {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 700;
  font-size: var(--step--1);
  text-decoration: none;
  color: var(--color-ivory);
  border: 1px solid rgba(255, 253, 249, 0.35);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.lang-toggle:hover { border-color: var(--color-marigold); }
.lang-toggle__current { color: var(--color-marigold); }
.lang-toggle__sep { opacity: 0.5; }

.nav-toggle {
  background: none;
  border: 0;
  color: var(--color-ivory);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  display: none;
}
.nav-toggle[hidden] { display: none !important; }

.primary-nav { flex: 1 1 auto; min-width: 0; margin-left: var(--space-l); }
.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m);
  list-style: none;
}
.primary-nav a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  color: var(--color-ivory);
  opacity: 0.85;
  padding: 0.4rem 0.05rem;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--color-marigold);
}

@media (max-width: 63.99rem) {
  .site-header__inner { flex-wrap: wrap; }
  .primary-nav { flex-basis: 100%; order: 3; }
  .primary-nav__list { flex-direction: column; gap: 0; padding-block: var(--space-2xs) var(--space-s); }
  .primary-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 253, 249, 0.12); }

  .js-nav-enabled .nav-toggle:not([hidden]) { display: inline-flex; }
  .js-nav-enabled .primary-nav {
    display: none;
    max-height: 60vh;
    overflow-y: auto;
  }
  .js-nav-enabled .primary-nav.is-open { display: block; }
}

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

.hero {
  position: relative;
  color: var(--color-ivory);
  background: linear-gradient(185deg, var(--color-indigo-night) 0%, var(--color-indigo-night-deep) 60%, #0E1428 100%);
  overflow: hidden;
  padding-block: var(--space-2xl) var(--space-xl);
}
.hero__glow {
  position: absolute;
  left: 55%;
  bottom: -20rem;
  width: 55rem;
  height: 55rem;
  background: radial-gradient(circle, rgba(232, 137, 26, 0.28), transparent 62%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__motif {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: auto;
  color: var(--color-brass);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--step--1);
  color: var(--color-marigold);
  margin-bottom: var(--space-m);
}
.hero__rule { width: 3rem; height: 2px; background: var(--color-marigold); border: 0; }
.hero__heading { margin-bottom: var(--space-m); }
.hero__heading [lang="mr"] {
  display: block;
  font-family: var(--font-display-mr);
  font-size: var(--step-5);
  line-height: 1.35;
  color: var(--color-ivory);
}
.hero__heading [lang="en"] {
  display: block;
  font-family: var(--font-display-latin);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--color-sandalwood);
  margin-top: var(--space-xs);
}
.hero__subhead {
  font-size: var(--step-1);
  max-width: 34rem;
  margin-bottom: var(--space-l);
  color: rgba(250, 243, 230, 0.92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); }

/* ---------- Today's timings (noticeboard) ---------- */

.timings {
  position: relative;
  background: var(--color-ivory);
}
.timings::before, .timings::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 5px;
  background-image: radial-gradient(circle, var(--color-brass) 1.5px, transparent 1.7px);
  background-size: 16px 5px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.timings::before { top: 0; }
.timings::after { bottom: 0; }

.timings__heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-display-latin);
  font-weight: 600;
  color: var(--color-indigo-night);
  font-size: var(--step-1);
  margin-bottom: var(--space-m);
}
.timings__heading [lang="mr"] { font-family: var(--font-display-mr); font-size: 1.2em; }

.timings__list {
  display: flex;
  gap: var(--space-l);
  overflow-x: auto;
  list-style: none;
  padding-bottom: var(--space-2xs);
}
.timings__item {
  flex: 0 0 auto;
  min-width: 9.5rem;
  border-left: 3px solid var(--color-marigold);
  padding-left: 0.9rem;
}
.timings__time {
  display: block;
  font-family: var(--font-display-latin);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--color-indigo-night);
}
.timings__label { display: block; font-size: var(--step--1); opacity: 0.85; }
.timings__label--mr { font-family: var(--font-display-mr); font-size: 1.05em; }
.timings__more { margin-top: var(--space-m); font-weight: 700; font-size: var(--step--1); display: inline-block; }

/* ---------- Signature panel: abhanga + Gita diptych ---------- */

.verse-section__intro { text-align: center; max-width: 40rem; margin-inline: auto; margin-bottom: var(--space-l); }

.verse-panel {
  position: relative;
  background: var(--color-ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-l) var(--space-m);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-l);
  align-items: stretch;
}
.verse-panel::before, .verse-panel::after {
  content: "";
  position: absolute;
  width: 1.9rem;
  height: 1.9rem;
  border: 2px solid var(--color-brass);
  opacity: 0.55;
}
.verse-panel::before { top: 0.8rem; left: 0.8rem; border-width: 2px 0 0 2px; }
.verse-panel::after { bottom: 0.8rem; right: 0.8rem; border-width: 0 2px 2px 0; }

.verse-panel__col { min-width: 0; }
.verse-panel__kicker {
  display: block;
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-tulsi);
  margin-bottom: var(--space-s);
}
.verse-panel__col--gita .verse-panel__kicker { color: var(--color-brass-text); }
.verse-panel__text {
  font-family: var(--font-display-mr);
  font-size: var(--step-2);
  line-height: 1.8;
  color: var(--color-indigo-night);
  margin-bottom: var(--space-xs);
}
.verse-panel__translit {
  font-family: var(--font-display-latin);
  font-style: italic;
  color: var(--color-ink);
  opacity: 0.7;
  font-size: var(--step--1);
  margin-bottom: var(--space-s);
}
.verse-panel__meaning { font-size: var(--step-0); }
.verse-panel__ref { display: block; margin-top: var(--space-s); font-weight: 700; font-size: var(--step--1); color: var(--color-brass-text); }

.verse-panel__divider {
  position: relative;
  width: 2px;
  background: var(--color-brass);
  opacity: 0.55;
  justify-self: center;
}
.verse-panel__divider::before, .verse-panel__divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--color-brass);
  transform: translateX(-50%) rotate(45deg);
}
.verse-panel__divider::before { top: -0.35rem; }
.verse-panel__divider::after { bottom: -0.35rem; }

@media (max-width: 47.99rem) {
  .verse-panel { grid-template-columns: 1fr; }
  .verse-panel__divider { width: 100%; height: 2px; margin-block: var(--space-2xs); }
  .verse-panel__divider::before, .verse-panel__divider::after { top: 50%; left: auto; transform: translateY(-50%) rotate(45deg); }
  .verse-panel__divider::before { left: -0.35rem; }
  .verse-panel__divider::after { right: -0.35rem; left: auto; }
}

/* ---------- Seva call-to-action band ---------- */

.seva-band { background: var(--color-marigold); color: var(--color-indigo-night); }
.seva-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}
.seva-band__text { max-width: 36rem; }
.seva-band h2 { color: var(--color-indigo-night); margin-bottom: var(--space-2xs); }
.seva-band h2 [lang="mr"] { font-family: var(--font-display-mr); }
.seva-band p { color: var(--color-indigo-night); opacity: 0.85; }

/* ---------- Home grid: next festival / visit teaser ---------- */

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-l);
}
@media (max-width: 47.99rem) {
  .home-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--color-ivory);
  border-radius: var(--radius);
  padding: var(--space-l);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-tulsi);
}
.card--festival { border-top-color: var(--color-marigold); }
.card__eyebrow {
  display: block;
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brass-text);
  margin-bottom: var(--space-xs);
}
.card h3 { margin-bottom: var(--space-xs); }
.card h3 [lang="mr"] { display: block; }
.card p { margin-bottom: var(--space-m); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-indigo-night-deep);
  color: var(--color-sandalwood);
  padding-block: var(--space-xl) var(--space-l);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-l);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid rgba(250, 243, 230, 0.15);
  margin-bottom: var(--space-m);
}
.footer__heading {
  color: var(--color-ivory);
  font-family: var(--font-display-latin);
  font-weight: 600;
  font-size: var(--step-0);
  margin-bottom: var(--space-s);
}
.footer__heading [lang="mr"] { font-family: var(--font-display-mr); }
.footer__list { list-style: none; display: grid; gap: var(--space-2xs); font-size: var(--step--1); }
.footer__list a { text-decoration: none; color: var(--color-sandalwood); opacity: 0.85; }
.footer__list a:hover { opacity: 1; text-decoration: underline; }
.footer__list p { opacity: 0.85; font-size: inherit; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s);
  font-size: var(--step--1);
  opacity: 0.7;
}

/* ---------- Janmashtami / festival spotlight banner ----------
   A deliberate one-off departure from the site palette toward the deep
   maroon + gold of the temple's own festival pamphlets — used only for a
   live, time-limited festival announcement, never site-wide. */

.festival-spotlight {
  --spotlight-maroon: #5C1830;
  --spotlight-maroon-deep: #3E1020;
  --spotlight-gold: #E8C468;
  background: linear-gradient(135deg, var(--spotlight-maroon) 0%, var(--spotlight-maroon-deep) 100%);
  color: var(--color-ivory);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--spotlight-gold);
}
.festival-spotlight::before, .festival-spotlight::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 5px;
  background-image: radial-gradient(circle, var(--spotlight-gold) 1.5px, transparent 1.7px);
  background-size: 16px 5px;
  background-repeat: repeat-x;
  opacity: 0.7;
}
.festival-spotlight::before { top: 0; }
.festival-spotlight::after { bottom: -3px; }

.festival-spotlight__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.15fr;
  align-items: center;
  gap: var(--space-l);
  padding-block: var(--space-l);
}
.festival-spotlight__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.55);
}
.festival-spotlight__image img {
  display: block;
  width: 100%;
  height: auto;
}

.festival-spotlight__body { min-width: 0; }
.festival-spotlight__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--step--1);
  color: var(--spotlight-gold);
  margin-bottom: var(--space-2xs);
}
.festival-spotlight__body h2 { color: var(--color-ivory); margin-bottom: var(--space-xs); }
.festival-spotlight__body h2 [lang="mr"] { display: block; font-family: var(--font-display-mr); font-size: var(--step-3); }
.festival-spotlight__body h2 [lang="en"] { display: block; font-family: var(--font-display-latin); font-weight: 600; font-size: var(--step-1); color: var(--spotlight-gold); margin-top: 0.2rem; }
.festival-spotlight__body p { color: rgba(255, 253, 249, 0.92); max-width: 46rem; }
.festival-spotlight__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-top: var(--space-m); }
.btn--gold { background: var(--spotlight-gold); color: var(--spotlight-maroon-deep); }
.btn--gold:hover { background: #f0d485; }

@media (max-width: 48rem) {
  section.festival-spotlight { padding-top: 0; }
  .festival-spotlight__inner { grid-template-columns: 1fr; padding-top: var(--space-2xs); }
  .festival-spotlight__body h2 [lang="en"] { font-size: var(--step-0); }
}

/* ---------- Interior page banner ---------- */

.page-banner {
  background: linear-gradient(185deg, var(--color-indigo-night) 0%, var(--color-indigo-night-deep) 100%);
  color: var(--color-ivory);
  padding-block: var(--space-xl) var(--space-l);
}
.page-banner .section-eyebrow { color: var(--color-marigold); }
.page-banner h1 { color: var(--color-ivory); margin-bottom: var(--space-s); }
.page-banner h1 [lang="mr"] {
  display: block;
  font-family: var(--font-display-mr);
  font-size: var(--step-4);
  line-height: 1.35;
}
.page-banner h1 [lang="en"] {
  display: block;
  font-family: var(--font-display-latin);
  font-weight: 600;
  font-size: var(--step-2);
  color: var(--color-sandalwood);
  margin-top: var(--space-xs);
}
.page-banner p { color: rgba(250, 243, 230, 0.92); max-width: 46rem; font-size: var(--step-1); }

/* ---------- Long-form content (prose) ---------- */

.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 51rem) {
  .content-layout { grid-template-columns: 1fr; }
}
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--space-l); }
.prose h2:first-child, .prose > *:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--space-s); }
.prose ul, .prose ol { padding-left: 1.25em; margin: var(--space-s) 0; display: grid; gap: var(--space-2xs); }
.prose blockquote {
  border-left: 3px solid var(--color-marigold);
  padding-left: var(--space-m);
  margin: var(--space-m) 0;
  font-family: var(--font-display-latin);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--color-indigo-night);
}

.side-panel {
  background: var(--color-ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-l);
}
.side-panel h2 { font-size: var(--step-1); margin-bottom: var(--space-m); }
.side-panel--narrow { max-width: 32rem; }
.fact-list { display: grid; gap: var(--space-m); }
.fact-list dt {
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brass-text);
}
.fact-list dd { margin: 0.2rem 0 0; }

/* ---------- Info cards grid (visit.html etc.) ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-l);
}

/* ---------- FAQ (native <details>, no JS required) ---------- */

.faq { display: grid; gap: var(--space-s); max-width: 56rem; }
.faq-item {
  background: var(--color-ivory);
  border-radius: var(--radius);
  padding: var(--space-s) var(--space-m);
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display-latin);
  font-size: var(--step-0);
  color: var(--color-indigo-night);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3em;
  color: var(--color-marigold);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item summary::after { transition: transform 0.2s ease; }
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: var(--space-s); }

/* ---------- Schedule table ---------- */

.table-scroll { overflow-x: auto; }
.schedule-table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  background: var(--color-ivory);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.schedule-table caption {
  text-align: left;
  font-weight: 600;
  padding: var(--space-s) var(--space-m);
  background: var(--color-indigo-night);
  color: var(--color-ivory);
  font-family: var(--font-display-latin);
  font-size: var(--step-1);
}
.schedule-table th, .schedule-table td { text-align: left; padding: var(--space-xs) var(--space-m); border-bottom: 1px solid var(--color-sandalwood-deep); }
.schedule-table th { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-brass-text); }
.schedule-table tr:last-child td { border-bottom: 0; }
.schedule-table td:first-child { font-family: var(--font-display-latin); font-weight: 700; color: var(--color-indigo-night); white-space: nowrap; }

/* ---------- Seva cards ---------- */

.seva-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-l); }
.seva-card {
  background: var(--color-ivory);
  border-radius: var(--radius);
  padding: var(--space-l);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--color-marigold);
}
.seva-card__amount { font-family: var(--font-display-latin); font-weight: 700; font-size: var(--step-1); color: var(--color-indigo-night); margin-bottom: var(--space-2xs); }
.seva-card p { flex-grow: 1; }
.seva-card .btn { margin-top: var(--space-m); align-self: flex-start; }

.upi-block {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
  align-items: center;
  background: var(--color-ivory);
  border-radius: var(--radius);
  padding: var(--space-l);
  box-shadow: var(--shadow-card);
}
.upi-block__qr {
  width: 9rem;
  height: 9rem;
  background: var(--color-sandalwood-deep);
  border: 1px dashed var(--color-brass);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--step--1);
  text-align: center;
  color: var(--color-ink);
  flex-shrink: 0;
  padding: var(--space-2xs);
}

.notice-box {
  background: var(--color-sandalwood-deep);
  border-left: 4px solid var(--color-brass);
  padding: var(--space-m);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--step--1);
}
.notice-box + .notice-box { margin-top: var(--space-s); }

/* ---------- Darshan gallery + lightbox ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: var(--space-s);
}
.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-sandalwood-deep);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .gallery-item img { transition: transform 0.3s ease; }
  .gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
}
.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(20, 28, 54, 0.85), transparent);
  color: var(--color-ivory);
  font-size: var(--step--1);
  padding: var(--space-s) var(--space-xs) var(--space-2xs);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 20, 40, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--space-l);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: var(--radius); }
.lightbox__caption { color: var(--color-ivory); text-align: center; margin-top: var(--space-s); max-width: 40rem; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255, 253, 249, 0.12);
  border: 1px solid rgba(255, 253, 249, 0.4);
  color: var(--color-ivory);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox__close { top: var(--space-m); right: var(--space-m); }
.lightbox__prev { left: var(--space-m); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-m); top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 253, 249, 0.25); }

/* ---------- Featured festival (e.g. Janmashtami detail block) ---------- */

.festival-feature {
  background: var(--color-ivory);
  border-top: 4px solid var(--color-marigold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-l);
}
.festival-feature .schedule-table caption { font-size: var(--step-0); }
.festival-feature .table-scroll + .table-scroll { margin-top: var(--space-l); }

/* ---------- Festival + Ekadashi list ---------- */

.festival-list { display: grid; gap: var(--space-m); }
.festival-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--space-m);
  background: var(--color-ivory);
  border-radius: var(--radius);
  padding: var(--space-m);
  box-shadow: var(--shadow-card);
  align-items: center;
}
.festival-item__date {
  background: var(--color-indigo-night);
  color: var(--color-ivory);
  border-radius: var(--radius);
  text-align: center;
  padding: var(--space-2xs);
  font-family: var(--font-display-latin);
}
.festival-item__date .day { display: block; font-size: var(--step-2); font-weight: 700; line-height: 1; }
.festival-item__date .month { display: block; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.05em; }
.festival-item__type {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-tulsi);
  margin-bottom: var(--space-3xs);
}
.festival-item__type--ekadashi { color: var(--color-brass-text); }
@media (max-width: 36rem) {
  .festival-item { grid-template-columns: 4rem 1fr; }
  .festival-item__date .day { font-size: var(--step-1); }
}

/* ---------- Contact embeds ---------- */

.embed-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.embed-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-l);
  background: var(--color-sandalwood-deep);
  border: 1px dashed var(--color-brass);
  box-shadow: none;
  color: var(--color-ink);
}
.embed-frame--placeholder code {
  background: rgba(169, 129, 47, 0.15);
  padding: 0.1em 0.4em;
  border-radius: 0.25em;
  font-size: 0.9em;
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--space-2xl);
}
.error-page__code {
  font-family: var(--font-display-latin);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--color-marigold);
  line-height: 1;
}
.error-page h1 [lang="mr"] { display: block; font-family: var(--font-display-mr); }
.error-page h1 [lang="en"] {
  display: block;
  font-family: var(--font-display-latin);
  font-weight: 600;
  font-size: var(--step-2);
  margin-top: var(--space-xs);
}
.error-page .hero__actions { justify-content: center; }

/* ---------- Floating WhatsApp channel button ---------- */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 500;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float { transition: transform 0.15s ease; }
  .whatsapp-float:hover { transform: scale(1.07); }
}
@media (max-width: 30rem) {
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 3rem; height: 3rem; }
}

/* ---------- Footer social row ---------- */

.footer__social {
  display: flex;
  gap: var(--space-s);
  padding-bottom: var(--space-m);
  margin-bottom: var(--space-m);
  border-bottom: 1px solid rgba(250, 253, 249, 0.15);
}
.footer__social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(250, 253, 249, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sandalwood);
}
.footer__social a:hover { background: var(--color-marigold); color: var(--color-indigo-night); }

/* ---------- Donation panel: large QR + amount picker ---------- */

.donate-panel {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}
.donate-panel__qr {
  width: min(100%, 300px);
  margin-inline: auto;
  margin-bottom: var(--space-m);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--color-ivory);
  padding: var(--space-s);
}
.donate-panel__qr img { display: block; width: 100%; height: auto; }
.donate-panel > p { margin-bottom: 0; }
.donate-panel .btn { margin-top: var(--space-m); }

/* ---------- Janmashtami seva posters ---------- */

.seva-poster-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}
.seva-poster {
  width: 100%;
  max-width: 26rem;
  text-align: center;
}
.seva-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.seva-poster figcaption {
  margin-top: var(--space-s);
  font-weight: 700;
  color: var(--color-indigo-night);
}

/* ---------- Utility ---------- */

.mt-l { margin-top: var(--space-l); }
.text-center { text-align: center; }
