/* =============================================================
   શ્રી ફુલલિયા હનુમાન મંદિર — Divine Cinema Design System
   main.css — tokens, base, typography, components (all pages)
   ============================================================= */

/* ---------- Fonts (self-hosted, subsetted) ---------- */
@font-face {
  font-family: 'Anek Gujarati';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/AnekGujarati-100-800-gujarati.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
}
@font-face {
  font-family: 'Anek Gujarati';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/AnekGujarati-100-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta Vaani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/MuktaVaani-400-gujarati.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
}
@font-face {
  font-family: 'Mukta Vaani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/MuktaVaani-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta Vaani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/MuktaVaani-600-gujarati.woff2') format('woff2');
  unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
}
@font-face {
  font-family: 'Mukta Vaani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/MuktaVaani-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* palette — sacred cinema */
  --night:    #140a08;
  --night-2:  #1d0e0a;
  --night-3:  #2a140d;
  --sindoor:  #e34a1f;
  --sindoor-deep: #b93312;
  --saffron:  #ff7a1a;
  --gold:     #e8b84b;
  --gold-dim: #b08a3e;
  --ivory:    #f6ede0;
  --ivory-70: rgba(246, 237, 224, .72);
  --ivory-50: rgba(246, 237, 224, .5);
  --ivory-12: rgba(246, 237, 224, .12);
  --ivory-06: rgba(246, 237, 224, .06);
  --ember:    #ff5a2a;

  /* type */
  --font-display: 'Anek Gujarati', 'Noto Sans Gujarati', system-ui, sans-serif;
  --font-body: 'Mukta Vaani', 'Noto Sans Gujarati', system-ui, sans-serif;
  --step--1: clamp(.82rem, .78rem + .2vw, .95rem);
  --step-0:  clamp(1rem, .94rem + .3vw, 1.18rem);
  --step-1:  clamp(1.25rem, 1.1rem + .7vw, 1.7rem);
  --step-2:  clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2.6vw, 3.8rem);
  --step-4:  clamp(2.7rem, 1.8rem + 4.4vw, 5.6rem);
  --step-5:  clamp(3.4rem, 2rem + 7vw, 8rem);

  /* rhythm */
  --space-section: clamp(6rem, 14vh, 11rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --content-max: 72rem;
  --narrow-max: 46rem;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: .35s;
  --dur: .7s;

  /* chrome */
  --glass: rgba(20, 10, 8, .55);
  --glass-border: rgba(232, 184, 75, .16);
  --radius: 1rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--night);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; padding: 0; }

::selection { background: var(--sindoor); color: var(--ivory); }

/* film grain — one fixed layer, pure CSS/SVG, no JS cost */
body::after {
  content: '';
  position: fixed;
  inset: -100%;
  z-index: 999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  opacity: .5;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.44; /* gujarati matras need air */
  text-wrap: balance;
}

.t-display {
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 1.44;
  letter-spacing: -.01em;
}
.t-title   { font-size: var(--step-4); font-weight: 700; line-height: 1.44; }
.t-heading { font-size: var(--step-3); font-weight: 700; line-height: 1.44; }
.t-sub     { font-size: var(--step-2); font-weight: 600; line-height: 1.44; }
.t-lead    { font-size: var(--step-1); line-height: 1.7; color: var(--ivory-70); }
.t-body    { font-size: var(--step-0); color: var(--ivory-70); }
.t-kicker {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
.t-kicker::before {
  content: '';
  width: 2.4em;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.t-gold { color: var(--gold); }
.t-saffron { color: var(--saffron); }
.t-gradient {
  background: linear-gradient(100deg, var(--gold) 0%, var(--saffron) 45%, var(--sindoor) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* split-text lines get masked for reveals */
.js .split-mask .line-wrap { overflow: clip; display: block; }

/* ---------- Layout primitives ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--content-max)); margin-inline: auto; }
.container--narrow { max-width: var(--narrow-max); }
.section { padding-block: var(--space-section); position: relative; }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }

/* below-fold rendering hint (PHP adds .cv-auto to deep sections) */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 1000;
  padding: .8em 1.4em;
  background: var(--sindoor);
  color: var(--ivory);
  border-radius: .5rem;
  font-weight: 600;
  transform: translateY(-300%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sindoor);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.05em 2.2em;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--btn-fg);
  border-radius: 100px;
  isolation: isolate;
  overflow: clip;
  transition: color var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--btn-bg);
  border-radius: inherit;
  transition: transform var(--dur-fast) var(--ease-out);
}
/* liquid hover fill */
.btn::after {
  content: '';
  position: absolute;
  inset: -2%;
  z-index: -1;
  background: var(--gold);
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--night); }

.btn--ghost {
  --btn-bg: transparent;
  box-shadow: inset 0 0 0 1px var(--glass-border);
}
.btn--ghost::before { background: rgba(246, 237, 224, .04); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--night); }
.btn--gold::after { background: var(--ivory); }

.btn .btn-icon { font-size: 1.1em; line-height: 1; }

/* magnetic wrapper moves; inner label counter-moves slightly (JS) */
.magnetic { display: inline-block; will-change: transform; }

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  .js.has-cursor, .js.has-cursor a, .js.has-cursor button { cursor: none; }
  .js.has-cursor input, .js.has-cursor textarea, .js.has-cursor select { cursor: auto; }
}
/* The cursor IS Hanuman's gada (mace). Built by cursor.js inside .cursor. */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 1001;
  pointer-events: none;
  display: none;
  will-change: transform;
}
@media (pointer: fine) { .js .cursor { display: block; } }

/* the gada — its finial tip sits exactly on the pointer (the hotspot).
   The wrapper (HTML span) carries the transforms; the SVG just draws. */
.cursor__gada {
  position: absolute;
  left: -11px; top: -2px;
  width: 22px; height: 60px;
  transform-origin: 11px 2px;
  will-change: transform;
}
.cursor__gada-svg {
  display: block;
  width: 22px; height: 60px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .45)) drop-shadow(0 0 6px rgba(255, 122, 26, .3));
  transition: filter .3s var(--ease-out);
}
/* glowcore = the mace head; pulses while "charged" over interactives */
.cursor__glowcore { transform-box: fill-box; transform-origin: center; }

/* precise hotspot dot so the click point is unambiguous under the big gada */
.cursor__tip {
  position: absolute;
  top: -2px; left: -2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 7px 1px rgba(255, 122, 26, .9);
}
/* hover ring — doubles as the click shockwave (scaled by JS) */
.cursor__halo {
  position: absolute;
  top: -19px; left: -19px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  transform: scale(.35);
  transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), border-color .3s;
  will-change: transform, opacity;
}
.cursor__label {
  position: absolute;
  top: 12px; left: 14px;
  padding: .32em .7em;
  border-radius: 100px;
  background: var(--gold);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.5) translateY(6px);
  transform-origin: left center;
  transition: opacity .2s, transform .3s var(--ease-out);
}

/* contextual states (data-state set by JS) */
.cursor[data-state="hover"] .cursor__halo { opacity: .42; transform: scale(1); }
.cursor[data-state="hover"] .cursor__gada-svg {
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .5)) drop-shadow(0 0 12px rgba(232, 184, 75, .8));
}
.cursor[data-state="label"] .cursor__halo { opacity: .55; transform: scale(1.1); }
.cursor[data-state="label"] .cursor__gada-svg { filter: drop-shadow(0 0 18px rgba(232, 184, 75, .95)); }
.cursor[data-state="label"] .cursor__label { opacity: 1; transform: scale(1) translateY(0); }
.cursor[data-state="hover"] .cursor__glowcore,
.cursor[data-state="label"] .cursor__glowcore { animation: gada-charge .9s ease-in-out infinite; }
.cursor[data-state="hidden"] { opacity: 0; }
.cursor.is-strike .cursor__halo { border-color: var(--saffron); border-width: 2px; }
@keyframes gada-charge {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.4) saturate(1.2); }
}

/* gold-dust trail + strike sparks (body-level, follow/burst via JS) */
.cursor-ember, .cursor-spark {
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform, opacity;
}
.cursor-ember { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: radial-gradient(circle, var(--saffron) 0%, rgba(255, 122, 26, 0) 70%); }
.cursor-spark { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: radial-gradient(circle, #ffe9b0 0%, var(--sindoor) 55%, transparent 75%); }

/* hidden on touch / mobile (requested) and under reduced motion */
@media (max-width: 48rem), (pointer: coarse) {
  .cursor, .cursor-ember, .cursor-spark { display: none !important; }
  .js.has-cursor, .js.has-cursor a, .js.has-cursor button { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor, .cursor-ember, .cursor-spark { display: none !important; }
}

/* ---------- Site header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background-color .4s, backdrop-filter .4s, box-shadow .4s, transform .45s var(--ease-out);
}
.site-header.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--glass-border);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner {
  width: min(100% - 2 * var(--gutter), 90rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}
.brand__mark { width: 2.2rem; height: 2.2rem; color: var(--sindoor); flex: none; }
.brand__name { font-size: clamp(.95rem, 2.4vw, 1.15rem); }
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .68em;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: .14em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .5em 1.1em;
  border-radius: 100px;
  background: var(--ivory-06);
  box-shadow: inset 0 0 0 1px var(--ivory-12);
  font-size: var(--step--1);
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
}
@media (max-width: 30rem) {
  .status-chip { font-size: .72rem; padding: .45em .9em; }
}
.status-chip__dot {
  width: .55em; height: .55em;
  border-radius: 50%;
  background: #57d97c;
  box-shadow: 0 0 0 0 rgba(87, 217, 124, .5);
  animation: status-pulse 2.4s infinite;
}
.status-chip.is-closed .status-chip__dot { background: #e0654a; animation: none; }
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(87, 217, 124, .45); }
  70% { box-shadow: 0 0 0 .55em rgba(87, 217, 124, 0); }
  100% { box-shadow: 0 0 0 0 rgba(87, 217, 124, 0); }
}

/* menu trigger */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .2em;
  padding: .6em .4em;
}
.menu-btn__lines { position: relative; width: 2rem; height: .9rem; }
.menu-btn__lines span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), width .4s var(--ease-out);
}
.menu-btn__lines span:nth-child(1) { top: 0; }
.menu-btn__lines span:nth-child(2) { bottom: 0; width: 62%; }
.menu-btn:hover .menu-btn__lines span:nth-child(2) { width: 100%; }
body.menu-open .menu-btn__lines span:nth-child(1) { transform: translateY(.35rem) rotate(45deg); }
body.menu-open .menu-btn__lines span:nth-child(2) { width: 100%; transform: translateY(-.35rem) rotate(-45deg); }

/* ---------- Full-screen nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  visibility: hidden;
  display: grid;
  align-items: end;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(227, 74, 31, .22), transparent 55%),
    radial-gradient(80% 70% at 10% 95%, rgba(232, 184, 75, .12), transparent 50%),
    var(--night-2);
  clip-path: inset(0 0 100% 0);
}
.nav-overlay__inner {
  width: min(100% - 2 * var(--gutter), 90rem);
  margin-inline: auto;
  padding-block: 7rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
}
.nav-overlay__list { display: grid; gap: .1em; counter-reset: nav; }
.nav-overlay__link {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.4vh, 3.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ivory);
  transition: color .3s, translate .45s var(--ease-out);
}
@counter-style guj-pad {
  system: extends gujarati;
  pad: 2 '૦';
}
.nav-overlay__link::before {
  counter-increment: nav;
  content: counter(nav, guj-pad);
  font-size: .38em;
  font-weight: 400;
  color: var(--gold-dim);
  letter-spacing: .15em;
}
.nav-overlay__link:hover { color: var(--saffron); translate: .35em 0; }
.nav-overlay__meta {
  display: grid;
  gap: 1.6rem;
  font-size: var(--step--1);
  color: var(--ivory-70);
  line-height: 2;
}
.nav-overlay__meta strong { color: var(--gold); font-family: var(--font-display); display: block; margin-bottom: .3em; }
.nav-overlay .line-row { overflow: clip; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(227, 74, 31, .11) 0%, transparent 58%),
    linear-gradient(180deg, var(--night) 0%, #0a0403 100%);
  overflow: clip;
}
.site-footer__rim {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--sindoor-deep) 18%, var(--gold) 50%, var(--sindoor-deep) 82%, transparent 100%);
  opacity: .9;
}
.site-footer__body {
  padding-top: clamp(4rem, 10vh, 7rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.site-footer__brand {
  display: grid;
  gap: 1.1rem;
  max-width: 30rem;
}
.site-footer__dhwaja {
  width: clamp(42px, 5vw, 54px);
  color: var(--sindoor);
}
.site-footer__name {
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.44;
  color: var(--ivory);
}
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: .22em;
  color: var(--gold);
}
.site-footer__status { margin-top: .2rem; }
.site-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .5rem;
}
.site-footer__actions .btn {
  padding: .82em 1.55em;
  font-size: var(--step--1);
}
.site-footer__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.site-footer__panel {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--ivory-06);
  box-shadow: inset 0 0 0 1px var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-footer__label {
  font-size: var(--step--1);
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 1.1rem;
  line-height: 1.44;
}
.site-footer__label + .site-footer__label { margin-top: 1.6rem; }
.site-footer__links,
.site-footer__panel ul {
  list-style: none;
  display: grid;
  gap: .55rem;
}
.site-footer__links a,
.site-footer__panel ul a {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  color: var(--ivory-70);
  font-size: var(--step--1);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.85;
  transition: color .25s, translate .35s var(--ease-out);
}
.site-footer__links a::before {
  content: '✦';
  font-size: .55em;
  color: var(--sindoor);
  opacity: .75;
}
.site-footer__links a:hover {
  color: var(--saffron);
  translate: .35rem 0;
}
.site-footer__hours {
  display: grid;
  gap: .45rem;
}
.site-footer__hours li {
  display: flex;
  align-items: baseline;
  gap: .75em;
  color: var(--ivory-70);
  font-size: var(--step--1);
  line-height: 1.85;
}
.site-footer__hours li::before {
  content: '';
  width: .42em;
  height: .42em;
  border-radius: 50%;
  background: var(--saffron);
  flex: none;
  opacity: .8;
}
.site-footer__address {
  font-style: normal;
  color: var(--ivory-70);
  font-size: var(--step--1);
  line-height: 2;
}
.site-footer__contact {
  display: grid;
  gap: .35rem;
  margin-top: .2rem;
}
.site-footer__contact a {
  color: var(--ivory-70);
  font-size: var(--step--1);
  transition: color .25s;
}
.site-footer__contact a:hover { color: var(--saffron); }
.site-footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-top: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
}
.site-footer__map-link:hover { color: var(--saffron); }
.site-footer__sanctum {
  position: relative;
  text-align: center;
  padding-block: clamp(3.5rem, 8vh, 5.5rem);
  border-top: 1px solid var(--ivory-06);
  overflow: clip;
}
.site-footer__sanctum-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 120%;
  background: radial-gradient(55% 70% at 50% 100%, rgba(232, 184, 75, .08) 0%, transparent 68%);
  pointer-events: none;
}
.site-footer__sanctum-dhwaja {
  position: relative;
  width: 46px;
  margin: 0 auto 1.5rem;
  color: var(--sindoor);
}
.site-footer__blessing {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-footer__blessing p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.9;
}
.site-footer__jay {
  position: relative;
  margin-top: 1.35rem;
  font-weight: 600;
  color: var(--ivory-70);
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 2.8rem);
  flex-wrap: wrap;
  font-size: var(--step--1);
  letter-spacing: .12em;
  font-family: var(--font-display);
}
.site-footer__base {
  position: relative;
  padding-bottom: .35rem;
}
.site-footer__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: .78rem;
  color: var(--ivory-50);
  letter-spacing: .1em;
  padding-block: 1rem .15rem;
}
/* giant watermark name at footer base */
.site-footer__watermark {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 10rem);
  line-height: 1.3;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 184, 75, .14);
  user-select: none;
  pointer-events: none;
  padding-block: .15em .05em;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--night);
}
.preloader__mark { width: clamp(64px, 12vw, 110px); color: var(--sindoor); }
.preloader__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__text {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  display: flex;
  gap: .08em;
}
.preloader__text span { display: inline-block; transform: translateY(120%); opacity: 0; }
.preloader__center { display: grid; place-items: center; text-align: center; }
.no-js .preloader { display: none; }

/* ---------- Darshan ticker (marquee) ---------- */
.ticker {
  --ticker-bg: var(--sindoor-deep);
  position: relative;
  background: linear-gradient(90deg, var(--sindoor-deep), var(--sindoor) 50%, var(--sindoor-deep));
  padding-block: 1.1rem;
  overflow: clip;
  transform: rotate(-1.2deg) scale(1.02);
  border-block: 1px solid rgba(246, 237, 224, .25);
}
.ticker__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  will-change: transform;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--ivory);
  white-space: nowrap;
}
.ticker__item .sep { color: var(--gold); }

/* ---------- Shared: section transitions / seams ---------- */
.seam {
  position: relative;
  height: clamp(4rem, 10vh, 8rem);
  margin-top: calc(-1 * clamp(4rem, 10vh, 8rem));
  background: linear-gradient(180deg, transparent, var(--night));
  pointer-events: none;
  z-index: 2;
}

/* ---------- Reveal primitives (JS adds .is-inview) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(2.2rem); }
.js [data-reveal].is-inview {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

/* image frames: every image lives in a masked frame w/ parallax inner */
.frame {
  position: relative;
  overflow: clip;
  border-radius: var(--radius);
  isolation: isolate;
}
.frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--ivory-12);
  border-radius: inherit;
  pointer-events: none;
}
.js .frame[data-mask] > img { transform: scale(1.18); }
.js .frame[data-mask] { clip-path: inset(8% 6% 8% 6% round var(--radius)); }
.js .frame[data-mask].is-inview {
  clip-path: inset(0 0 0 0 round var(--radius));
  transition: clip-path 1.1s var(--ease-in-out);
}
.js .frame[data-mask].is-inview > img {
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}

/* ---------- Reduced motion: calm everything ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  body::after { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .frame[data-mask] { clip-path: none; }
  .js .frame[data-mask] > img { transform: none; }
  .ticker { transform: none; }
  .ticker__track { animation: none !important; }
}

/* ---------- Responsive chrome ---------- */
@media (max-width: 56rem) {
  .nav-overlay__inner { grid-template-columns: 1fr; align-content: end; gap: 2rem; }
  .nav-overlay__meta { grid-template-columns: 1fr 1fr; display: grid; }
  .site-footer__main { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer__panels { grid-template-columns: 1fr 1fr; }
  .status-chip .status-chip__text-long { display: none; }
}
@media (max-width: 40rem) {
  .brand__tag { display: none; }
  .nav-overlay__link { font-size: clamp(1.7rem, 4.6vh, 2.4rem); }
  .site-footer__panels { grid-template-columns: 1fr; }
  .site-footer__actions { flex-direction: column; align-items: flex-start; }
}
