/* =====================================================================
   HelpDwarka design system (v3 – brand edition)
   Brand: HelpDwarka Crimson #CF2B45 with the white compass star (Dwarkvyn brand kit).
   Supporting: Midnight Ink #111827 · Warm Ivory #FAF7F2 · Temple Saffron #E99A32 · Antique Gold #C9A45C.
   Type: Outfit (display) + Inter (text) + Anek Devanagari / Anek Gujarati – all self-hosted variable fonts.
   Light and dark themes share one set of semantic tokens.
   ===================================================================== */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-ext-wght-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: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/outfit-latin-wght-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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext-wght-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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-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: "Anek Devanagari"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/anek-devanagari-devanagari-wght-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: "Anek Gujarati"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/anek-gujarati-gujarati-wght-normal.woff2") format("woff2"); unicode-range: U+0951-0952,U+0964-0965,U+0A80-0AFF,U+200C-200D,U+20B9,U+25CC,U+A830-A839; }

:root {
  /* brand */
  --brand: #CF2B45; --brand-deep: #A81E36; --brand-ink: #7C1227; --brand-soft: #FCEAED;
  --blue: var(--brand); --teal: #E99A32; --teal-deep: #9A5B0E; --accent-red: #CF2B45; --sun: #FFC400;
  --gray-50: #FBF9F6; --gray-100: #F4F0EA; --gray-200: #E7E0D4; --gray-300: #D6CEC0; --gray-400: #A39B8E;
  --gray-500: #6F6A62; --gray-600: #55514A; --gray-700: #3D3A36; --gray-800: #1B2233; --gray-900: #111827;
  --grad: linear-gradient(135deg, #CF2B45 0%, #E4582F 58%, #F0A23A 100%);
  --grad-btn: linear-gradient(135deg, #D8334D 0%, #AE1F38 100%);
  --grad-ink: linear-gradient(160deg, #1A2033 0%, #111827 60%, #0B0F1A 100%);
  /* legacy names used across components, mapped onto the brand palette */
  --navy: #111827; --navy-2: #1B2233; --saffron: #E99A32; --saffron-deep: #9A5B0E; --ivory: #FAF7F2; --ivory-2: #F3EEE6;
  --gold: #C9A45C; --green: var(--brand); --green-2: #B32039; --white: #fff; --red: #B42318; --amber: #8A5A00; --ok: #17694A;
  /* semantic (light) */
  --c-bg: #FAF7F2; --c-surface: #FFFFFF; --c-surface-2: #F6F1E9; --c-section: #F3EEE6; --c-text: #111827; --c-muted: #4B5563; --c-faint: #6B7280;
  --c-border: #E7E0D4; --c-primary: var(--brand); --c-on-primary: #fff; --c-accent: var(--teal);
  --c-accent-text: #B0213A; --c-link: #B0213A; --c-saffron: var(--teal); --c-focus: #1D4ED8;
  --c-tint: rgba(207, 43, 69, .07); --c-control: rgba(17, 24, 39, .055); --c-control-hover: rgba(17, 24, 39, .1);
  --c-glass: rgba(255, 252, 247, .78); --c-glass-border: rgba(17, 24, 39, .08); --c-shadow: 17, 24, 39;
  --c-warn-bg: #FFF4DF; --c-warn-text: #7A4A00; --c-err-bg: #FDECEA; --c-ok-bg: #E6F5EE; --c-info-bg: #F5EEF0;
  /* type */
  --font: "Inter", "Anek Devanagari", "Anek Gujarati", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Anek Devanagari", "Anek Gujarati", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-0: .8125rem; --fs-1: .9375rem; --fs-2: 1.0625rem; --fs-3: 1.25rem; --fs-4: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  --fs-5: clamp(2rem, 1.35rem + 2.7vw, 3.3rem); --fs-6: clamp(2.9rem, 1.3rem + 6.6vw, 6.75rem);
  --lh: 1.6; --lh-tight: 1.08;
  /* space & shape */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;
  --r-sm: .5rem; --r: .875rem; --r-lg: 1.375rem; --r-xl: 1.75rem; --r-pill: 999px;
  --shadow-1: 0 1px 2px 0 rgba(var(--c-shadow), .06);
  --shadow-2: 0 6px 16px -6px rgba(var(--c-shadow), .16), 0 2px 4px -2px rgba(var(--c-shadow), .08);
  --shadow-3: 0 24px 48px -18px rgba(var(--c-shadow), .28), 0 8px 16px -8px rgba(var(--c-shadow), .1);
  --shadow-brand: 0 12px 28px -12px rgba(207, 43, 69, .6);
  --ease: cubic-bezier(.2, 0, 0, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.4, .64, 1); --t-fast: 160ms; --t: 240ms; --t-slow: 600ms;
  --container: 1200px; --header-h: 76px; --dock-h: 68px;
  color-scheme: light;
}
[data-theme="dark"] {
  --brand: #E5475F; --brand-deep: #CF2B45; --brand-soft: #2A1620; --teal: #F2B04F; --teal-deep: #F6C784;
  --grad-btn: linear-gradient(135deg, #D8334D 0%, #A81E36 100%);
  --gray-50: #141A2A; --gray-100: #1B2233; --gray-200: #252C3D; --gray-300: #3A4256; --gray-400: #6B7385; --gray-500: #8E96A6;
  --c-bg: #0C111D; --c-surface: #141A2A; --c-surface-2: #182032; --c-section: #101625; --c-text: #F5F1EA; --c-muted: #C5CAD3; --c-faint: #9BA3B0;
  --c-border: #252C3D; --c-primary: #D4334D; --c-on-primary: #fff; --c-accent: var(--teal);
  --c-accent-text: #FF93A3; --c-link: #FF93A3; --c-focus: #9DB7FF; --navy: #070A12; --ivory-2: #182032;
  --c-tint: rgba(229, 71, 95, .12); --c-control: rgba(255, 255, 255, .07); --c-control-hover: rgba(255, 255, 255, .13);
  --c-glass: rgba(14, 19, 32, .74); --c-glass-border: rgba(255, 255, 255, .1); --c-shadow: 0, 0, 0;
  --c-warn-bg: #33250B; --c-warn-text: #FFD28A; --c-err-bg: #3B1512; --c-ok-bg: #0F2E25; --c-info-bg: #251722;
  --shadow-1: 0 1px 2px 0 rgba(0, 0, 0, .4);
  --shadow-2: 0 6px 16px -6px rgba(0, 0, 0, .55), 0 2px 4px -2px rgba(0, 0, 0, .4);
  --shadow-3: 0 24px 48px -18px rgba(0, 0, 0, .7), 0 8px 16px -8px rgba(0, 0, 0, .5);
  --shadow-brand: 0 12px 28px -12px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
.lang-hi, .lang-gu { --lh: 1.75; --lh-tight: 1.3; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-2); line-height: var(--lh); color: var(--c-text); background: var(--c-bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: var(--lh-tight); margin: 0 0 var(--s-3); letter-spacing: -.01em; font-weight: 800; }
.lang-hi h1, .lang-hi h2, .lang-gu h1, .lang-gu h2 { letter-spacing: 0; }
p { margin: 0 0 var(--s-4); }
ul, ol { padding-left: 1.2em; }
[role="list"] { list-style: none; padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--saffron); color: var(--navy); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--c-primary); color: var(--c-on-primary); padding: .7rem 1rem; border-radius: var(--r-sm); font-weight: 700; transition: top var(--t-fast); }
.skip:focus { top: 1rem; }
main { display: block; min-height: 60vh; outline: none; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-0); }
.warn-text { color: var(--c-warn-text); font-weight: 600; }
.row-gap { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin: var(--s-4) 0; }

/* icons */
.ic { width: 1.25rem; height: 1.25rem; flex: none; display: inline-block; vertical-align: -.22em; }
.ic-xs { width: .95rem; height: .95rem; } .ic-sm { width: 1.05rem; height: 1.05rem; } .ic-lg { width: 1.75rem; height: 1.75rem; } .ic-xl { width: 2.6rem; height: 2.6rem; }
.flip { transform: rotate(180deg); }

/* ---------------------------------------------------------------- type */
.kicker { font-size: var(--fs-0); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: var(--s-3); display: inline-flex; gap: .4rem; align-items: center; }
.lang-hi .kicker, .lang-gu .kicker { letter-spacing: .02em; text-transform: none; font-size: var(--fs-1); }
.kicker-light { color: #F6C784; }
.h-display { font-size: var(--fs-5); font-weight: 800; }
.h-section { font-size: var(--fs-4); }
.h-card { font-size: var(--fs-3); display: flex; gap: .5rem; align-items: center; }
.h-small { font-size: var(--fs-2); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--c-muted); max-width: 68ch; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; color: var(--c-link); }
.link-arrow .ic { transition: transform var(--t) var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------------------------------------------------------------- buttons */
.btn { --b-bg: var(--c-surface); --b-fg: var(--c-text); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.25rem; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: var(--fs-1); text-decoration: none; line-height: 1.2; transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --b-bg: var(--c-primary); --b-fg: var(--c-on-primary); }
.btn-ghost { --b-bg: transparent; border-color: var(--c-border); }
.btn-ghost:hover { --b-bg: var(--c-surface); }
.btn-glass { --b-bg: rgba(255, 255, 255, .14); --b-fg: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-wa { --b-bg: #128C4B; --b-fg: #fff; }
.btn-sm { min-height: 40px; padding: .5rem .95rem; font-size: var(--fs-0); }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: var(--fs-2); }
.btn-block { width: 100%; }
.btn .num { font-variant-numeric: tabular-nums; opacity: .85; font-weight: 600; }
/* radial glow button: glow follows pointer via --mx/--my */
.btn-radial::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(233, 154, 50, .55), transparent 70%); opacity: 0; transition: opacity var(--t); }
.btn-radial:hover::before { opacity: 1; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; color: inherit; position: relative; transition: background var(--t-fast); }
.icon-btn:hover { background: rgba(127, 127, 127, .14); }
.icon-btn.glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------------------------------------------------------------- header / spotlight navbar / mega menu */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--c-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--c-border); transition: background var(--t), color var(--t), border-color var(--t), transform var(--t) var(--ease); }
.site-header.is-overlay { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-overlay.is-scrolled { background: color-mix(in srgb, var(--c-bg) 88%, transparent); color: var(--c-text); border-color: var(--c-border); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-shell { height: 100%; display: flex; align-items: center; gap: var(--s-4); width: min(100% - 2rem, 1400px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 34px; height: 34px; color: var(--c-accent); }
.site-header.is-overlay:not(.is-scrolled) .brand-mark { color: #F6C784; }
.brand-text { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; font-family: "Onest", var(--font); }
.brand-text b { color: var(--c-accent); font-weight: 800; }
.nav-main { position: relative; margin-inline: auto; }
.nav-main > ul { display: flex; gap: .15rem; align-items: center; }
.nav-main > ul > li > a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .7rem; border-radius: var(--r-pill); color: inherit; text-decoration: none; font-weight: 600; font-size: var(--fs-1); white-space: nowrap; }
.nav-main > ul > li > a.is-active { color: var(--c-accent-text); }
.site-header.is-overlay:not(.is-scrolled) .nav-main > ul > li > a.is-active { color: #F6C784; }
.nav-main .spot { position: absolute; z-index: 0; top: 0; height: 100%; border-radius: var(--r-pill); background: rgba(127, 127, 127, .15); opacity: 0; transition: transform var(--t) var(--ease-out), width var(--t) var(--ease-out), opacity var(--t-fast); pointer-events: none; }
.nav-main:hover .spot { opacity: 1; }
.has-mega { position: static; }
.mega { position: absolute; left: 50%; top: calc(100% + 14px); width: min(760px, 92vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); color: var(--c-text); }
.has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-5); padding: var(--s-5); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.mega-aside { padding: var(--s-4); border-radius: var(--r); background: linear-gradient(160deg, var(--green), #1A2033); color: rgba(255, 255, 255, .86); }
.mega-aside p { font-size: var(--fs-0); }
.mega-aside .link-arrow { color: #F6C784; font-size: var(--fs-0); }
.mega-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(233, 154, 50, .18); color: #F6C784; margin-bottom: var(--s-3); }
.mega-title { font-weight: 800; font-size: var(--fs-3); color: #fff; margin-bottom: var(--s-2); }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem var(--s-4); align-content: start; }
.mega-links a { display: block; padding: .55rem .7rem; border-radius: var(--r-sm); color: var(--c-text); text-decoration: none; font-weight: 600; font-size: var(--fs-1); }
.mega-links a:hover { background: var(--c-surface-2); color: var(--c-accent-text); }
.nav-tools { display: flex; align-items: center; gap: .15rem; flex: none; }
.bell-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 2px var(--c-bg); animation: pulse 2s infinite; }
.lang-menu { position: relative; }
.lang-btn { width: auto; padding: 0 .6rem; gap: .25rem; display: inline-flex; }
.lang-code { font-size: .72rem; font-weight: 800; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: .4rem; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--t-fast) var(--ease); }
.lang-menu.is-open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: block; padding: .55rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: inherit; font-weight: 600; }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--c-surface-2); color: var(--c-accent-text); }
[data-theme="light"] .theme-moon, [data-theme="dark"] .theme-sun { display: none; }
.nav-burger { display: none; }
.nav-help span { display: none; }
@media (min-width: 1700px) { .nav-help span { display: inline; } }
@media (max-width: 1180px) { .nav-main { display: none; } .nav-burger { display: inline-grid; } .nav-tools { margin-left: auto; } .nav-help { display: none; } }
@media (max-width: 640px) { .nav-shell { gap: .25rem; width: calc(100% - 1rem); } .brand-text { font-size: 1.1rem; } .brand-mark { width: 28px; height: 28px; } .nav-tools [data-theme-toggle], .nav-tools .lang-menu { display: none; } .icon-btn { width: 42px; height: 42px; } }

/* ---------------------------------------------------------------- glass dock (mobile bottom nav) */
.dock { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .dock { position: fixed; z-index: 60; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(96vw, 460px); height: var(--dock-h); display: grid; grid-template-columns: repeat(5, 1fr); padding: .35rem; border-radius: 22px; background: var(--c-glass); border: 1px solid var(--c-glass-border); box-shadow: var(--shadow-3); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
  .dock-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; border-radius: 16px; color: var(--c-muted); text-decoration: none; font-size: .68rem; font-weight: 700; line-height: 1.1; min-width: 44px; transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease); }
  .dock-item .ic { width: 1.35rem; height: 1.35rem; transition: transform var(--t) var(--ease-out); }
  .dock-item:active .ic { transform: scale(.88); }
  .dock-item.is-active { color: var(--c-text); background: color-mix(in srgb, var(--saffron) 22%, transparent); }
  .dock-item.is-active .ic { color: var(--c-accent-text); transform: translateY(-2px); }
  .dock-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
}

/* ---------------------------------------------------------------- drawers, overlays, sheet, popup, toast */
.drawer, .search-overlay, .sheet { position: fixed; inset: 0; z-index: 100; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(8, 12, 22, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade var(--t) both; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(88vw, 400px); z-index: 1; background: var(--c-surface); padding: var(--s-5); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-4); box-shadow: var(--shadow-3); }
.drawer-left .drawer-panel { left: 0; animation: slideL var(--t) var(--ease-out) both; }
.drawer-right .drawer-panel { right: 0; animation: slideR var(--t) var(--ease-out) both; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head h2 { margin: 0; font-size: var(--fs-3); }
.drawer-links a { display: flex; gap: .8rem; align-items: center; padding: .8rem .6rem; border-radius: var(--r); color: var(--c-text); text-decoration: none; font-weight: 700; }
.drawer-links a:hover, .drawer-links a[aria-current] { background: var(--c-surface-2); color: var(--c-accent-text); }
.drawer-links .ic { color: var(--c-accent-text); }
.drawer-langs { display: flex; gap: .5rem; flex-wrap: wrap; }
.drawer-note { font-size: var(--fs-0); color: var(--c-muted); margin-top: auto; }
.notif-list { display: grid; gap: var(--s-3); }
.notif-item { padding: var(--s-4); border-radius: var(--r); background: var(--c-surface-2); border-left: 4px solid var(--gold); }
.notif-item.prio-high, .notif-item.prio-critical { border-left-color: var(--red); }
.notif-item h3 { font-size: var(--fs-2); margin-bottom: .25rem; }
.notif-item p { font-size: var(--fs-1); margin-bottom: .4rem; }
.notif-item .cat { font-size: var(--fs-0); font-weight: 700; color: var(--c-accent-text); }
.push-box { padding: var(--s-4); border: 1px dashed var(--c-border); border-radius: var(--r); font-size: var(--fs-1); }
.push-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.push-status { margin: .5rem 0 0; font-size: var(--fs-0); }
.search-overlay .search-panel { position: relative; z-index: 1; width: min(94vw, 720px); margin: 12vh auto 0; padding: var(--s-5); background: var(--c-surface); border-radius: var(--r-xl); box-shadow: var(--shadow-3); animation: pop var(--t) var(--ease-out) both; }
.search-close { position: absolute; top: -56px; right: 0; color: #fff; }
.sheet .sheet-panel { position: absolute; z-index: 1; left: 50%; bottom: 0; width: min(100%, 520px); transform: translateX(-50%); padding: var(--s-4) var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom)); background: var(--c-surface); border-radius: var(--r-xl) var(--r-xl) 0 0; animation: sheetUp var(--t) var(--ease-out) both; }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--c-border); margin: 0 auto var(--s-4); }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-bottom: var(--s-4); }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: var(--s-4) .5rem; border-radius: var(--r); border: 1px solid var(--c-border); background: var(--c-surface-2); color: var(--c-text); text-decoration: none; font-weight: 700; font-size: var(--fs-0); min-height: 44px; }
.share-opt .ic { width: 1.6rem; height: 1.6rem; color: var(--c-accent-text); }
.share-url { word-break: break-all; font-size: var(--fs-0); }
.popup { position: fixed; z-index: 90; right: 1.25rem; bottom: 1.25rem; width: min(92vw, 420px); animation: pop var(--t-slow) var(--ease-out) both; }
@media (max-width: 860px) { .popup { left: .75rem; right: .75rem; width: auto; bottom: calc(var(--dock-h) + 22px); } }
.popup-card { padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-3); border: 1px solid var(--c-border); }
.popup h2 { font-size: var(--fs-3); }
.popup-cat { font-size: var(--fs-0); font-weight: 800; color: var(--c-accent-text); display: flex; gap: .35rem; align-items: center; margin-bottom: .4rem; }
.popup.prio-critical .popup-card, .popup.prio-high .popup-card { border-top: 4px solid var(--red); }
.popup-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(var(--dock-h) + 30px); transform: translateX(-50%); padding: .75rem 1.1rem; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 700; box-shadow: var(--shadow-3); animation: pop var(--t) var(--ease-out) both; }
@media (min-width: 861px) { .toast { bottom: 2rem; } }

/* ---------------------------------------------------------------- hero / ripple displacement slider / aurora */
.hero { position: relative; min-height: 100svh; min-height: 100vh; color: #fff; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--navy); }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero-stage, .hero-slides, .hero-canvas, .hero-shade, .aurora { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide figcaption { position: absolute; right: 1.25rem; bottom: 6.5rem; font-size: var(--fs-0); opacity: .75; background: rgba(0, 0, 0, .25); padding: .25rem .6rem; border-radius: var(--r-pill); }
.hero-canvas { z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.hero.has-webgl .hero-canvas { opacity: 1; }
.hero.has-webgl .hero-slide img { visibility: hidden; }
.hero-shade { z-index: 2; background: linear-gradient(180deg, rgba(9, 12, 22, .55) 0%, rgba(9, 12, 22, .15) 35%, rgba(9, 12, 22, .35) 60%, rgba(9, 12, 22, .88) 100%), linear-gradient(90deg, rgba(9, 12, 22, .6), transparent 60%); }
.aurora { z-index: 2; mix-blend-mode: screen; opacity: .5; pointer-events: none; filter: blur(60px); }
.aurora span { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; animation: aurora 18s var(--ease) infinite alternate; }
.aurora span:nth-child(1) { background: radial-gradient(circle, rgba(233, 154, 50, .55), transparent 60%); left: -15%; top: -25%; }
.aurora span:nth-child(2) { background: radial-gradient(circle, rgba(23, 59, 53, .9), transparent 60%); right: -20%; top: 10%; animation-delay: -6s; }
.aurora span:nth-child(3) { background: radial-gradient(circle, rgba(229, 71, 95, .45), transparent 60%); left: 30%; bottom: -40%; animation-delay: -12s; }
.hero-content { position: relative; z-index: 3; align-self: end; padding-top: calc(var(--header-h) + var(--s-7)); padding-bottom: var(--s-4); }
.hero-title { font-size: var(--fs-6); font-weight: 800; letter-spacing: -.035em; line-height: .98; margin-bottom: var(--s-4); text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.lang-hi .hero-title, .lang-gu .hero-title { letter-spacing: -.01em; line-height: 1.2; }
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(8px); animation: liquidIn .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 200ms); white-space: pre; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); max-width: 34ch; color: rgba(255, 255, 255, .86); margin-bottom: var(--s-6); }
.hero-sub.flip-in { animation: flipFade .9s var(--ease-out) .6s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-controls { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding-bottom: calc(var(--s-5) + 3.5rem); gap: var(--s-4); }
.hero-dots { display: flex; gap: .4rem; }
.hero-dots .dot { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.hero-dots .dot span { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hero-dots .dot span::after { content: ""; position: absolute; inset: 0; background: var(--saffron); transform: scaleX(0); transform-origin: left; }
.hero-dots .dot.is-active span::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dots .dot.is-active span::after { animation-play-state: paused; }
.hero-arrows { display: flex; gap: .5rem; }
.pause-bars { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero.is-paused .pause-bars { border: 0; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }

/* ---------------------------------------------------------------- search band, gooey search, marquee, counts */
.search-band { position: relative; z-index: 4; margin-top: -3.5rem; padding-bottom: var(--s-6); }
.glass-card { background: var(--c-glass); border: 1px solid var(--c-glass-border); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-2); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.search-card { background: var(--c-surface); }
.gooey-search { position: relative; display: flex; align-items: center; gap: .5rem; padding: .4rem .4rem .4rem 3rem; border-radius: var(--r-pill); background: var(--c-surface-2); border: 1px solid var(--c-border); isolation: isolate; transition: box-shadow var(--t), border-color var(--t); }
.gooey-search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(233, 154, 50, .2); }
.gooey-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; outline: none; font-size: var(--fs-2); }
.gooey-search input::-webkit-search-cancel-button { cursor: pointer; }
.goo-ic { position: absolute; left: 1.05rem; color: var(--c-muted); z-index: 1; }
.goo-blob { position: absolute; left: .45rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(233, 154, 50, .25); z-index: 0; transition: transform var(--t-slow) var(--ease-out), border-radius var(--t-slow) var(--ease-out), background var(--t); }
.gooey-search:focus-within .goo-blob { transform: scale(1.18); border-radius: 42% 58% 54% 46% / 52% 44% 56% 48%; background: rgba(233, 154, 50, .4); animation: goo 2.4s var(--ease) infinite alternate; }
.live-results { margin-top: .5rem; display: grid; gap: .25rem; }
.live-results a { display: grid; grid-template-columns: auto 1fr; gap: .1rem .75rem; padding: .6rem .8rem; border-radius: var(--r); text-decoration: none; color: var(--c-text); }
.live-results a:hover, .live-results a:focus { background: var(--c-surface-2); }
.live-results .lr-type { grid-row: span 2; font-size: .7rem; font-weight: 800; color: var(--c-accent-text); background: rgba(233, 154, 50, .14); padding: .25rem .5rem; border-radius: var(--r-pill); align-self: center; }
.live-results .lr-title { font-weight: 700; }
.live-results .lr-text { font-size: var(--fs-0); color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marquee { margin-top: var(--s-5); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--s-3); width: max-content; padding: .75rem 0; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .6rem 1.1rem; border-radius: var(--r-pill); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-1); transition: transform var(--t) var(--ease-out), box-shadow var(--t), color var(--t-fast); will-change: transform; }
.mq-item .ic { color: var(--c-accent-text); }
.mq-item:hover { box-shadow: 0 10px 30px -10px rgba(233, 154, 50, .55); color: var(--c-accent-text); }
.counts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-6); margin-top: var(--s-5); }
.count { display: flex; flex-direction: column; }
.count .num { font-size: var(--fs-5); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-accent-text); line-height: 1; }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--s-8) 0; position: relative; }
.section-sm { padding: var(--s-6) 0; }
.section-warm { background: linear-gradient(180deg, var(--ivory-2), var(--c-bg)); }
[data-theme="dark"] .section-warm { background: linear-gradient(180deg, #121a2b, var(--c-bg)); }
.section-dark { background: radial-gradient(120% 80% at 80% 0%, #1E2233 0%, var(--navy) 55%, #0b1120 100%); color: #F3EFE6; --c-muted: #B6BCC7; --c-link: #F2B866; --c-accent-text: #F2B866; --c-border: rgba(255, 255, 255, .12); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-5); flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.chips, .cat-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-5); }
.cat-tabs { padding-top: var(--s-5); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: .25rem; }
.cat-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cat-tabs { flex-wrap: wrap; } }
.chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .45rem .95rem; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text); text-decoration: none; font-weight: 600; font-size: var(--fs-1); white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.chip:hover { border-color: var(--c-accent); }
.chip.is-on { background: var(--c-primary); color: var(--c-on-primary); border-color: transparent; }

/* ---------------------------------------------------------------- grid & cards */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-2-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--t) var(--ease-out), box-shadow var(--t); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.section-dark .card { background: rgba(255, 255, 255, .04); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-2); }
.card-media.tall { aspect-ratio: 4 / 5; }
@media (max-width: 640px) { .card-media, .card-media.tall { aspect-ratio: 16 / 10; } .hero-arrows [data-prev], .hero-arrows [data-next] { display: none; } }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.card:hover .card-img { transform: scale(1.05); }
.card-cat { position: absolute; left: .75rem; top: .75rem; padding: .3rem .7rem; border-radius: var(--r-pill); background: rgba(17, 24, 39, .72); color: #fff; font-size: .72rem; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-badges { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-bottom: .2rem; }
.card-title { font-size: var(--fs-3); margin: 0; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-loc { display: flex; gap: .35rem; align-items: center; color: var(--c-muted); font-size: var(--fs-0); margin: 0; }
.card-text { color: var(--c-muted); font-size: var(--fs-1); margin: 0; }
.card-foot { margin-top: auto; padding-top: var(--s-3); display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; position: relative; z-index: 2; }
.price { font-weight: 700; font-size: var(--fs-0); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--green), #1A2033 60%, #2a2214); color: rgba(246, 199, 132, .35); }
.ph svg { width: 34%; max-width: 120px; }
/* glow border cards (pointer-tracked) */
.glow-card { --gx: 50%; --gy: 50%; }
.glow-card::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px; background: radial-gradient(240px circle at var(--gx) var(--gy), rgba(233, 154, 50, .85), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t); }
.glow-card:hover::before { opacity: 1; }
/* badges & labels */
.vbadge { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .55rem; border-radius: var(--r-pill); font-size: .72rem; font-weight: 800; border: 1px solid transparent; line-height: 1.3; }
.v-verified { background: #DDF2E6; color: #0B5A33; border-color: #A9DCC0; }
.v-pending { background: #FFF1D6; color: #6B4300; border-color: #F3D49A; }
.v-unverified { background: #F1F2F4; color: #374151; border-color: #D9DDE3; }
.v-needs_recheck { background: #FDE8E7; color: #8F1D14; border-color: #F5B8B3; }
.v-hidden { background: #E5E7EB; color: #374151; }
[data-theme="dark"] .v-verified { background: #0E3324; color: #8EE3B6; border-color: #1C5A40; }
[data-theme="dark"] .v-pending { background: #3A2A0C; color: #FFD28A; border-color: #6B4B13; }
[data-theme="dark"] .v-unverified { background: #1F2937; color: #D1D5DB; border-color: #374151; }
[data-theme="dark"] .v-needs_recheck { background: #3B1512; color: #FFB4AC; border-color: #6E2A24; }
.flabel { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .55rem; border-radius: var(--r-pill); font-size: .72rem; font-weight: 800; background: #EEF3F1; color: var(--green); }
.fl-satvik_verified { background: var(--green); color: #F6E7C6; }
.fl-satvik_not_verified { background: #F1F2F4; color: #4B5563; }
[data-theme="dark"] .flabel { background: #13282A; color: #9FD8C8; }
[data-theme="dark"] .fl-satvik_verified { background: #F2B866; color: #111827; }
.demo-tag { display: inline-flex; padding: .2rem .55rem; border-radius: var(--r-pill); font-size: .7rem; font-weight: 800; background: repeating-linear-gradient(45deg, #FDE68A, #FDE68A 6px, #FCD34D 6px, #FCD34D 12px); color: #451A03; }
.demo-banner { margin: var(--s-4) auto; padding: .75rem 1rem; border-radius: var(--r); background: #FEF3C7; color: #451A03; font-weight: 700; border: 2px dashed #F59E0B; }
.tag { display: inline-block; padding: .1rem .5rem; border-radius: var(--r-pill); font-size: .7rem; font-weight: 800; background: var(--c-surface-2); border: 1px solid var(--c-border); margin-left: .25rem; }
.tag-warn { background: var(--c-warn-bg); color: var(--c-warn-text); border-color: transparent; }

/* notices */
.notice { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r); font-size: var(--fs-1); margin: var(--s-4) 0; background: var(--c-info-bg); }
.notice .ic { margin-top: .2em; }
.notice ul { margin: .4rem 0 0; }
.notice-warn { background: var(--c-warn-bg); color: var(--c-warn-text); }
.notice-error { background: var(--c-err-bg); color: var(--red); flex-wrap: wrap; }
[data-theme="dark"] .notice-error { color: #FFB4AC; }
.notice-success { background: var(--c-ok-bg); color: #0B5A33; }
[data-theme="dark"] .notice-success { color: #8EE3B6; }
.notice-dark { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .86); }
.notice a { color: inherit; font-weight: 700; }
.empty { text-align: center; padding: var(--s-7) var(--s-4); border: 1px dashed var(--c-border); border-radius: var(--r-lg); color: var(--c-muted); background: color-mix(in srgb, var(--c-surface) 60%, transparent); }
.empty svg { width: 120px; margin: 0 auto var(--s-4); color: var(--c-accent); opacity: .7; }
.empty-title { font-weight: 800; font-size: var(--fs-3); color: var(--c-text); margin-bottom: .3rem; }

/* ---------------------------------------------------------------- perspective carousel (temples) */
.persp { position: relative; perspective: 1400px; padding: var(--s-4) 0 var(--s-6); overflow: hidden; }
.persp-track { position: relative; height: clamp(360px, 52vw, 520px); transform-style: preserve-3d; }
.persp-item { position: absolute; left: 50%; top: 0; width: clamp(240px, 34vw, 400px); height: 100%; margin-left: calc(clamp(240px, 34vw, 400px) / -2); transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow), filter var(--t-slow); transform-style: preserve-3d; }
.persp-card { display: block; position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow-3); background: #1f2937; }
.persp-img { width: 100%; height: 100%; object-fit: cover; }
.persp-card .ph { height: 100%; }
.persp-info { position: absolute; inset: auto 0 0; padding: var(--s-6) var(--s-5) var(--s-5); background: linear-gradient(180deg, transparent, rgba(8, 12, 22, .9)); display: flex; flex-direction: column; }
.persp-deity { font-size: var(--fs-0); color: #F6C784; font-weight: 700; }
.persp-name { font-size: var(--fs-4); font-weight: 800; line-height: 1.15; }
.persp-prev, .persp-next { position: absolute; top: 45%; z-index: 5; }
.persp-prev { left: 0; } .persp-next { right: 0; }
.no-js .persp-track { display: flex; gap: var(--s-4); overflow-x: auto; height: auto; }
.no-js .persp-item { position: relative; left: auto; margin: 0; height: 420px; flex: none; }

/* ---------------------------------------------------------------- spiritual editorial, timeline, collage, particles */
.spiritual-band { overflow: hidden; background: linear-gradient(180deg, var(--c-bg), color-mix(in srgb, var(--gold) 14%, var(--c-bg))); }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.editorial { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s-7); align-items: center; }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; } }
.timeline { margin: var(--s-5) 0 var(--s-6); border-left: 2px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.timeline li a { position: relative; display: block; padding: .55rem 0 .55rem 1.4rem; color: var(--c-text); text-decoration: none; font-weight: 700; font-size: var(--fs-2); transition: color var(--t-fast), transform var(--t) var(--ease-out); }
.timeline li a:hover { color: var(--c-accent-text); transform: translateX(6px); }
.tl-dot { position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--c-bg); border: 2px solid var(--gold); }
.timeline li a:hover .tl-dot { background: var(--saffron); border-color: var(--saffron); }
.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 70px); gap: var(--s-3); }
.collage-item { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); color: #fff; text-decoration: none; background: #1f2937; }
.collage-item img, .collage-item .ph { width: 100%; height: 100%; object-fit: cover; }
.collage-item span { position: absolute; left: .8rem; bottom: .7rem; font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.collage .c0 { grid-column: 1 / 5; grid-row: 1 / 5; }
.collage .c1 { grid-column: 5 / 7; grid-row: 2 / 5; }
.collage .c2 { grid-column: 2 / 7; grid-row: 5 / 7; }
.art-temple { background: url("../images/hero/dwarkadhish.webp") center / cover; }
.art-ghat { background: url("../images/hero/gomti-ghat.webp") center / cover; }
.art-sea { background: url("../images/hero/coastline.webp") center / cover; }

/* ---------------------------------------------------------------- expandable bento grid */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: var(--s-4); }
.bento-tile { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; text-decoration: none; background: linear-gradient(140deg, var(--green), #1A2033); isolation: isolate; transition: transform var(--t) var(--ease-out), box-shadow var(--t); }
.bento-tile:hover, .bento-tile:focus-visible { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.bento-img, .bento-tile .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow) var(--ease-out); }
.bento-tile:hover .bento-img { transform: scale(1.06); }
.bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(8, 12, 22, .88)); transition: opacity var(--t); }
.bento-label { position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); font-weight: 800; font-size: var(--fs-3); line-height: 1.25; display: flex; flex-direction: column; transition: transform var(--t) var(--ease-out); }
.bento-label small { font-size: var(--fs-0); color: #F6C784; font-weight: 700; }
/* expandable detail: slides up on hover / keyboard focus */
.bento-more { position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); font-size: var(--fs-0); line-height: 1.5; opacity: 0; transform: translateY(12px); transition: opacity var(--t), transform var(--t) var(--ease-out); }
.bento-tile:hover .bento-more, .bento-tile:focus-visible .bento-more { opacity: .92; transform: none; }
.bento-tile:hover .bento-label:has(+ .bento-more), .bento-tile:focus-visible .bento-label:has(+ .bento-more) { transform: translateY(-3.6rem); }
.bento-tile.is-expanded .bento-more { opacity: .92; transform: none; }
.bento-tile.is-expanded .bento-label:has(+ .bento-more) { transform: translateY(-3.6rem); }
.b0 { grid-column: span 2; grid-row: span 2; }
@media (min-width: 861px) {
  .bento-tile:last-child:nth-child(1) { grid-column: span 3; }
  .bento-tile:last-child:nth-child(2) { grid-row: span 2; }
  .bento-tile:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 3; }
  .bento-tile:last-child:nth-child(3n+2):not(:nth-child(2)) { grid-column: span 2; }
}
.tile-art { background: linear-gradient(140deg, #3A1E33, #151A2B 60%, #2A1C2E); }
.tile-art .tile-ic { position: absolute; right: var(--s-4); top: var(--s-4); color: #F6C784; opacity: .9; }
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .b0 { grid-column: span 2; grid-row: span 1; } .bento-tile:last-child:nth-child(even) { grid-column: span 2; } }

/* ---------------------------------------------------------------- tiles, split, notices list */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-4); }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); padding: var(--s-5); min-height: 140px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 800; transition: transform var(--t) var(--ease-out), box-shadow var(--t); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tile-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(233, 154, 50, .16); color: var(--c-accent-text); }
.tile-left { min-height: 0; flex-direction: row; align-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.split-wide { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; gap: var(--s-6); } }
.notice-list { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.nl-item { padding: var(--s-4); border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--c-border); border-left: 4px solid var(--gold); }
.nl-item p { margin-bottom: .3rem; }
.nl-title { font-weight: 800; }
.sev-warning { border-left-color: var(--saffron); } .sev-critical { border-left-color: var(--red); } .sev-advisory { border-left-color: var(--green-2); }
.safety-box { padding: var(--s-5); border-radius: var(--r-lg); background: linear-gradient(160deg, #2A1B0B, #111827); color: #F3EFE6; --c-muted: #C9CED6; --c-border: rgba(255, 255, 255, .12); --c-surface: rgba(255, 255, 255, .05); }
.safety-box .btn-ghost { color: #fff; }
.rules { counter-reset: r; list-style: none; padding: 0; display: grid; gap: .6rem; margin: var(--s-4) 0; }
.rules li { counter-increment: r; position: relative; padding-left: 2.6rem; min-height: 2rem; font-weight: 600; }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: var(--navy); font-weight: 800; font-size: var(--fs-0); }
.rules-big li { font-size: var(--fs-3); padding-left: 3.2rem; }
.rules-big li::before { width: 2.3rem; height: 2.3rem; font-size: var(--fs-1); }

/* ---------------------------------------------------------------- circular gallery */
.circ { --n: 8; --r: clamp(260px, 38vw, 560px); position: relative; height: clamp(360px, 46vw, 560px); perspective: 1600px; overflow: hidden; touch-action: pan-y; cursor: grab; }
.circ.is-dragging { cursor: grabbing; }
.circ-ring { position: absolute; left: 50%; top: 8%; width: clamp(180px, 20vw, 260px); height: 78%; margin-left: calc(clamp(180px, 20vw, 260px) / -2); transform-style: preserve-3d; transform: rotateY(var(--rot, 0deg)); }
.circ-item { position: absolute; inset: 0; transform: rotateY(calc(360deg / var(--n) * var(--i))) translateZ(var(--r)); backface-visibility: hidden; }
.circ-item a { display: block; height: 100%; border-radius: var(--r-lg); overflow: hidden; position: relative; color: #fff; text-decoration: none; box-shadow: var(--shadow-3); background: #1f2937; }
.circ-item img, .circ-item .ph { width: 100%; height: 100%; object-fit: cover; }
.circ-item span { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }

/* ---------------------------------------------------------------- checklist & FAQ accordion */
.checklist { display: grid; gap: var(--s-4); }
.cl-progress { display: grid; gap: .3rem; }
.cl-bar { height: 8px; border-radius: 4px; background: var(--c-surface-2); border: 1px solid var(--c-border); overflow: hidden; }
.cl-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--saffron)); transition: width var(--t) var(--ease-out); }
.cl-group { border: 0; padding: 0; margin: 0; }
.cl-group legend { font-weight: 800; margin-bottom: .4rem; }
.cl-item { position: relative; display: flex; gap: .7rem; align-items: flex-start; padding: .55rem .4rem; border-radius: var(--r-sm); cursor: pointer; min-height: 44px; }
.cl-item:hover { background: var(--c-surface-2); }
.cl-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--c-border); display: grid; place-items: center; color: transparent; transition: all var(--t-fast); margin-top: .1em; }
.cl-item input:checked + .cl-box { background: var(--green); border-color: var(--green); color: #fff; }
.cl-item input:focus-visible + .cl-box { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.cl-item input:checked ~ span:last-child { text-decoration: line-through; color: var(--c-muted); }
.cl-item small { display: block; color: var(--c-muted); font-size: var(--fs-0); }
.faq { display: grid; gap: .6rem; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r); background: var(--c-surface); overflow: hidden; transition: box-shadow var(--t); }
.faq-item[open] { box-shadow: var(--shadow-1); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-4); font-weight: 700; cursor: pointer; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { flex: none; width: 22px; height: 22px; position: relative; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 1px; transition: transform var(--t) var(--ease-out); }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: rotate(0deg); }
.faq-a { padding: 0 var(--s-4) var(--s-4); color: var(--c-muted); }
.faq-item[open] .faq-a { animation: fadeUp var(--t) var(--ease-out); }

/* ---------------------------------------------------------------- page heroes */
.page-hero { position: relative; padding: var(--s-8) 0 var(--s-6); background: radial-gradient(100% 120% at 100% 0%, color-mix(in srgb, var(--saffron) 18%, transparent), transparent 55%), radial-gradient(80% 100% at 0% 100%, color-mix(in srgb, var(--green) 14%, transparent), transparent 60%); overflow: hidden; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-temples, .page-hero-spiritual { background: radial-gradient(90% 120% at 90% 0%, rgba(229, 71, 95, .28), transparent 60%), radial-gradient(70% 100% at 0% 100%, rgba(233, 154, 50, .14), transparent 60%); }
.page-hero-explore { background: radial-gradient(90% 120% at 100% 0%, rgba(207, 43, 69, .22), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(233, 154, 50, .16), transparent 60%); min-height: 340px; }
.page-hero-safety { background: radial-gradient(90% 120% at 100% 0%, rgba(180, 35, 24, .14), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(233, 154, 50, .16), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; }
.trail-img { position: absolute; z-index: 0; width: 150px; height: 190px; object-fit: cover; border-radius: var(--r); pointer-events: none; box-shadow: var(--shadow-2); animation: trail 1s var(--ease-out) forwards; }
.crumbs { padding-top: var(--s-4); font-size: var(--fs-0); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }
.crumbs [aria-current] { color: var(--c-text); font-weight: 700; }
.is-home .crumbs { display: none; }

/* ---------------------------------------------------------------- directory layout & filters */
.dir-layout { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-6); padding: var(--s-6) 0; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1rem); }
.filter-form { display: grid; gap: var(--s-4); padding: var(--s-5); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.filter-head { display: flex; justify-content: space-between; align-items: center; }
.filter-head h2 { margin: 0; display: flex; gap: .4rem; align-items: center; }
.filter-close, .filter-open { display: none; }
.filter-actions { display: grid; gap: .5rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-4); gap: var(--s-3); }
.results-bar p { margin: 0; }
.verify-note { margin-top: var(--s-5); display: flex; gap: .4rem; }
@media (max-width: 960px) {
  .dir-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 110; top: 0; background: rgba(8, 12, 22, .5); display: none; }
  .filters.is-open { display: block; }
  .filter-form { position: absolute; inset: auto 0 0 0; max-height: 88vh; overflow-y: auto; border-radius: var(--r-xl) var(--r-xl) 0 0; padding-bottom: calc(var(--s-6) + env(safe-area-inset-bottom)); animation: slideU var(--t) var(--ease-out); }
  .filter-close, .filter-open { display: inline-flex; }
}
.field { display: grid; gap: .35rem; margin: 0; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend, .field-row label > span { font-weight: 700; font-size: var(--fs-0); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field-row label { display: grid; gap: .35rem; }
@media (max-width: 560px) { .form .field-row { grid-template-columns: 1fr; } }
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="password"], input:not([type]), select, textarea { width: 100%; min-height: 46px; padding: .65rem .85rem; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--c-text) 22%, transparent); background: var(--c-surface); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.gooey-search input { border: 0; background: transparent; padding: 0; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-err { color: var(--red); font-size: var(--fs-0); font-weight: 700; }
[data-theme="dark"] .field-err { color: #FFB4AC; }
textarea { resize: vertical; min-height: 140px; }
.radio-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.rchip { position: relative; }
.rchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rchip span { display: inline-flex; min-height: 38px; align-items: center; padding: .35rem .8rem; border-radius: var(--r-pill); border: 1px solid var(--c-border); font-size: var(--fs-0); font-weight: 700; cursor: pointer; transition: all var(--t-fast); }
.rchip input:checked + span { background: var(--c-primary); color: var(--c-on-primary); border-color: transparent; }
.rchip input:focus-visible + span { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.switch { position: relative; display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: var(--fs-1); cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { flex: none; width: 44px; height: 26px; border-radius: 13px; background: color-mix(in srgb, var(--c-text) 22%, transparent); position: relative; transition: background var(--t-fast); }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t) var(--ease-out); }
.switch input:checked + .sw { background: var(--c-primary); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.pager ul { display: flex; gap: .35rem; justify-content: center; margin-top: var(--s-6); flex-wrap: wrap; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--r-sm); border: 1px solid var(--c-border); text-decoration: none; color: var(--c-text); font-weight: 700; }
.pager [aria-current] { background: var(--c-primary); color: var(--c-on-primary); border-color: transparent; }
.inline-search { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--s-5); }
.inline-search input[type="search"] { flex: 1 1 260px; width: auto; }

/* ---------------------------------------------------------------- detail pages */
.detail-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-6); padding: var(--s-5) 0; align-items: start; }
@media (max-width: 900px) { .detail-hero { grid-template-columns: 1fr; } }
.detail-media { border-radius: var(--r-xl); overflow: hidden; }
.detail-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-xl); }
.detail-media .ph { aspect-ratio: 16 / 10; border-radius: var(--r-xl); }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: .5rem; }
.thumb { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.h-detail { font-size: var(--fs-5); }
.addr { display: flex; gap: .4rem; align-items: flex-start; color: var(--c-muted); }
.price-lg { font-size: var(--fs-3); font-weight: 800; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--s-4) 0; }
.report-link { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--fs-0); font-weight: 700; color: var(--c-muted); }
.detail-body { padding: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-4); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-3); margin: 0; }
.facts-1 { grid-template-columns: 1fr; }
.facts > div { padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r); }
.glass-card .facts > div { background: transparent; padding: .5rem 0; border: 0; border-bottom: 1px solid var(--c-border); border-radius: 0; }
.facts .span-2 { grid-column: 1 / -1; }
.facts dt { font-size: var(--fs-0); font-weight: 800; color: var(--c-muted); margin-bottom: .2rem; }
.facts dd { margin: 0; font-weight: 600; }
.meal { display: inline-block; margin-right: .75rem; }
.meal.off { color: var(--c-muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill-list li { display: inline-flex; gap: .25rem; align-items: center; padding: .25rem .6rem; border-radius: var(--r-pill); background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: var(--fs-0); }
.meta-row { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: var(--fs-0); color: var(--c-muted); }
.meta-row span { display: inline-flex; gap: .3rem; align-items: center; }
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-4); margin-top: var(--s-6); }
.prose h3 { font-size: var(--fs-3); margin-top: var(--s-5); }
.prose li { margin-bottom: .35rem; }
.prose blockquote { margin: var(--s-4) 0; padding: var(--s-3) var(--s-4); border-left: 4px solid var(--gold); background: var(--c-surface-2); border-radius: 0 var(--r) var(--r) 0; }
.src-list { list-style: none; padding: 0; display: grid; gap: .4rem; }
.src-list a { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; }
.temple-list { display: grid; gap: var(--s-7); }
.temple-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center; }
.temple-row.alt .temple-media { order: 2; }
@media (max-width: 860px) { .temple-row { grid-template-columns: 1fr; } .temple-row.alt .temple-media { order: 0; } }
.temple-media { display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.temple-img, .temple-media .ph { width: 100%; height: 100%; object-fit: cover; }
.temple-hero { position: relative; min-height: clamp(320px, 52vh, 560px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.temple-hero-media { position: absolute; inset: 0; }
.temple-hero-img, .temple-hero-media .ph { width: 100%; height: 100%; object-fit: cover; }
.temple-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 22, .1), rgba(8, 12, 22, .85)); }
.temple-hero-text { position: relative; z-index: 1; padding: var(--s-7) 0 var(--s-5); }
.temple-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--s-6); padding: var(--s-6) 0; align-items: start; }
@media (max-width: 960px) { .temple-layout { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 1rem); }
.side-card .glass-card { background: var(--c-surface); }
.date-pick { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: var(--s-3) 0; }
.date-pick input { width: auto; }
.tline { list-style: none; padding: 0; margin: 0 0 var(--s-4); border-left: 2px solid var(--c-border); }
.tline-item { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-3); padding: .6rem 0 .6rem 1rem; }
.tline-item::before { content: ""; position: absolute; left: -7px; top: 1rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--c-surface); }
.tline-item.is-temp::before { background: var(--saffron); }
.tline-time { font-weight: 800; font-variant-numeric: tabular-nums; }
.tline-label { font-weight: 700; margin-bottom: .2rem; }
.tline-body p { margin-bottom: .2rem; }
.story { counter-reset: s; display: grid; gap: var(--s-4); }
.story-item { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.story-num { font-size: var(--fs-5); font-weight: 800; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.story-item h3 a { color: inherit; }
.route-card .card-body { padding: var(--s-5); }
.route-steps { display: grid; gap: var(--s-4); position: relative; }
.route-step { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: start; }
.rs-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); font-weight: 800; font-size: var(--fs-3); }
.rs-body { padding: var(--s-4); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.t-list { display: grid; gap: var(--s-3); }
.t-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.t-row h2, .t-row h3 { margin: 0; }
.t-row h2 a, .t-row h3 a { color: inherit; text-decoration: none; }
.t-row h2 a::after, .t-row h3 a::after { content: ""; position: absolute; inset: 0; }
.t-row p { margin: 0; }
.t-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(233, 154, 50, .14); color: var(--c-accent-text); }
.t-fare { text-align: right; display: grid; }
@media (max-width: 640px) { .t-row { grid-template-columns: auto 1fr; } .t-fare { grid-column: 1 / -1; text-align: left; } }
.guide-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 800px) { .guide-top { grid-template-columns: 1fr; } }
.guide-top .glass-card { background: var(--c-surface); }
.wx-temp { font-size: var(--fs-5); font-weight: 800; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.wx-meta { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-bottom: .5rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--s-4); }
.guide-tile { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; transition: transform var(--t) var(--ease-out), box-shadow var(--t); }
.guide-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.gt-title { font-weight: 800; font-size: var(--fs-3); }
.gt-text { color: var(--c-muted); font-size: var(--fs-1); }
.article-head { margin-bottom: var(--s-5); max-width: 860px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s-7); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } }
.toc { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; font-size: var(--fs-1); }
.toc-title { font-weight: 800; font-size: var(--fs-0); text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
.toc ul { display: grid; gap: .2rem; border-left: 2px solid var(--c-border); }
.toc a { display: block; padding: .35rem .8rem; color: var(--c-muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a[aria-current], .toc a.is-active { color: var(--c-text); border-left-color: var(--saffron); font-weight: 700; }
.form { display: grid; gap: var(--s-4); }
.form.glass-card { background: var(--c-surface); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.link-list { display: grid; gap: .3rem; margin-top: var(--s-4); }
.link-list a { display: flex; gap: .5rem; align-items: center; padding: .55rem .4rem; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.link-list a:hover { background: var(--c-surface-2); }
.search-results { display: grid; gap: var(--s-3); }
.sr-item a { display: grid; gap: .2rem; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; transition: border-color var(--t-fast), transform var(--t) var(--ease-out); }
.sr-item a:hover { border-color: var(--c-accent); transform: translateX(4px); }
.sr-type { font-size: var(--fs-0); font-weight: 800; color: var(--c-accent-text); }
.sr-title { font-weight: 800; font-size: var(--fs-3); }
.sr-text { color: var(--c-muted); font-size: var(--fs-1); }
.notif-history { display: grid; gap: var(--s-4); }
.nh-item { padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-border); border-left: 4px solid var(--gold); }
.nh-item.prio-high, .nh-item.prio-critical { border-left-color: var(--red); }
.nh-item.is-old { opacity: .7; }
.nh-cat { font-size: var(--fs-0); font-weight: 800; color: var(--c-accent-text); margin-bottom: .3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem; margin: var(--s-4) 0; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.verify-explain { margin-top: var(--s-6); background: var(--c-surface); }
.error-page { text-align: center; padding: var(--s-9) 0; }
.error-art { width: 220px; margin: 0 auto var(--s-5); color: var(--c-accent-text); }

/* ---------------------------------------------------------------- footer (animated waves) */
.site-footer { position: relative; margin-top: var(--s-8); background: var(--navy); color: #D9DDE3; --c-link: #F2B866; --c-muted: #A9B1BE; }
.footer-wave { position: absolute; left: 0; right: 0; top: -79px; height: 80px; overflow: hidden; pointer-events: none; }
.footer-wave svg { width: 200%; height: 100%; }
.footer-wave .w1 { fill: rgba(17, 24, 39, .5); animation: wave 14s linear infinite; }
.footer-wave .w2 { fill: var(--navy); animation: wave 9s linear infinite reverse; }
.footer-inner { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--s-6); padding: var(--s-7) 0 var(--s-6); }
@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { font-size: var(--fs-1); max-width: 46ch; }
.brand-lg .brand-text { font-size: 1.6rem; color: #fff; }
.footer-note { display: flex; gap: .4rem; align-items: flex-start; color: #F6C784; }
.footer-col h2 { font-size: var(--fs-0); text-transform: uppercase; letter-spacing: .12em; color: #F6C784; margin-bottom: var(--s-3); }
.lang-hi .footer-col h2, .lang-gu .footer-col h2 { text-transform: none; letter-spacing: 0; font-size: var(--fs-1); }
.footer-col li { margin-bottom: .1rem; }
.footer-col a { display: inline-block; padding: .3rem 0; color: #D9DDE3; text-decoration: none; font-size: var(--fs-1); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t) var(--ease-out), color var(--t-fast); }
.footer-col a:hover { color: #fff; background-size: 100% 1px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding: var(--s-5) 0 var(--s-6); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-0); }
.footer-bottom p { margin: 0; }
.to-top { color: #F6C784; font-weight: 700; display: inline-flex; gap: .3rem; align-items: center; }

/* ---------------------------------------------------------------- motion: reveal, stagger, keyframes */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] .w { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
.js [data-stagger].is-in .w { opacity: 1; transform: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes slideL { from { transform: translateX(-100%); } }
@keyframes slideR { from { transform: translateX(100%); } }
@keyframes slideU { from { transform: translateY(100%); } }
@keyframes sheetUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes aurora { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vw, 4vh) scale(1.15); } 100% { transform: translate(-6vw, 8vh) scale(.95); } }
@keyframes liquidIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes flipFade { from { opacity: 0; transform: perspective(600px) rotateX(-60deg); transform-origin: 50% 0; } to { opacity: 1; transform: none; } }
@keyframes dotFill { to { transform: scaleX(1); } }
@keyframes goo { to { border-radius: 58% 42% 46% 54% / 44% 56% 44% 56%; transform: scale(1.22) rotate(12deg); } }
@keyframes wave { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(233, 154, 50, 0); } 0% { box-shadow: 0 0 0 0 rgba(233, 154, 50, .6); } }
@keyframes trail { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(var(--rot, 0deg)); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg)); } 100% { opacity: 0; transform: translate(-50%, -40%) scale(.85) rotate(var(--rot, 0deg)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] .w, .hero-title .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .aurora { display: none; }
  .hero-slide img { transform: none !important; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .dock, .site-footer, .hero-controls, .drawer, .popup, .filters, .contact-actions .btn-wa { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   v2 components (Morphe-inspired). Later rules intentionally refine the earlier ones.
   ===================================================================== */
::selection { background: color-mix(in srgb, var(--teal) 35%, transparent); color: inherit; }
body { letter-spacing: -.005em; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.lang-hi h1, .lang-hi h2, .lang-gu h1, .lang-gu h2 { letter-spacing: 0; }
.kicker { color: var(--c-accent-text); letter-spacing: .1em; }
.lead { color: var(--c-muted); }
.muted { color: var(--c-faint); }

/* buttons */
.btn { border-radius: 14px; font-weight: 700; }
.btn:hover { box-shadow: var(--shadow-2); }
.btn-primary { --b-bg: var(--c-primary); --b-fg: var(--c-on-primary); }
.btn-grad, .btn-primary.btn-grad { --b-fg: #fff; background: var(--grad-btn); box-shadow: var(--shadow-brand); border: 0; }
.btn-grad:hover { filter: brightness(1.06); box-shadow: 0 14px 30px -10px rgba(207, 43, 69, .6); }
.btn-ghost { --b-bg: var(--c-control); border-color: transparent; }
.btn-ghost:hover { --b-bg: var(--c-control-hover); }
.btn-glass { --b-bg: rgba(255, 255, 255, .12); --b-fg: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-light { --b-bg: #fff; --b-fg: #111827; }
.btn-wa { --b-bg: #128C4B; --b-fg: #fff; }
.icon-btn { border-radius: 12px; }
.icon-btn:hover { background: var(--c-control-hover); }
.chip { border-radius: var(--r-pill); }
.chip.is-on, .chip[aria-current] { background: var(--grad-btn); color: #fff; border-color: transparent; }

/* header */
.site-header { background: var(--c-glass); border-bottom: 1px solid var(--c-border); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); }
.site-header.is-overlay:not(.is-scrolled) { background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent); }
.site-header.is-overlay.is-scrolled { background: var(--c-glass); }
.brand-mark { width: 36px; height: 36px; color: inherit; }
.site-header.is-overlay:not(.is-scrolled) .brand-mark { color: inherit; }
.brand-text { font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header.is-overlay:not(.is-scrolled) .brand-text b, .site-footer .brand-text b { background: linear-gradient(135deg, #FFB3BF, #F6C784); -webkit-background-clip: text; background-clip: text; }
.nav-main > ul { gap: .1rem; }
.nav-main > ul > li > a { border-radius: 10px; padding: .5rem .75rem; font-weight: 600; font-size: .95rem; transition: background var(--t-fast); }
.nav-main > ul > li > a:hover { background: var(--c-control); }
.site-header.is-overlay:not(.is-scrolled) .nav-main > ul > li > a:hover { background: rgba(255, 255, 255, .12); }
.nav-main > ul > li > a.is-active { color: var(--c-accent-text); background: var(--c-tint); }
.site-header.is-overlay:not(.is-scrolled) .nav-main > ul > li > a.is-active { color: #fff; background: rgba(255, 255, 255, .16); }
.has-mega { position: relative; }
.mega { left: 0; width: max-content; min-width: 230px; transform: translateY(8px); top: calc(100% + 10px); }
.has-mega.is-open .mega, .has-mega:focus-within .mega { transform: none; }
.mega-links { display: grid; grid-template-columns: 1fr; gap: 2px; padding: .4rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 16px; box-shadow: var(--shadow-3); }
.mega-links a { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem .55rem .55rem; border-radius: 10px; font-size: .95rem; }
.mega-links a:hover { background: var(--c-tint); color: var(--c-accent-text); }
.mega-links .mega-ic { width: 32px; height: 32px; margin: 0; border-radius: 9px; background: var(--c-tint); color: var(--c-accent-text); display: inline-grid; place-items: center; }
.lang-list { border-radius: 14px; }
.lang-list button { display: flex; width: 100%; gap: .55rem; align-items: center; padding: .55rem .75rem; border: 0; border-radius: 9px; background: none; color: inherit; font-weight: 600; text-align: left; }
.lang-list button:hover, .lang-list button[aria-pressed="true"] { background: var(--c-tint); color: var(--c-accent-text); }
.nav-help { margin-left: .35rem; }
.nav-help span { display: inline; }
@media (max-width: 1320px) { .nav-help span { display: none; } }
@media (max-width: 1180px) { .nav-help { display: none; } }
@media (max-width: 640px) { .nav-tools .theme-menu, .nav-tools .lang-menu { display: none; } }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--c-control); flex-wrap: wrap; }
.seg button, .seg a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .85rem; border: 0; border-radius: 10px; background: transparent; color: var(--c-muted); font-weight: 700; font-size: var(--fs-0); text-decoration: none; }
.seg button[aria-pressed="true"], .seg a.is-on { background: var(--c-bg); color: var(--c-text); box-shadow: var(--shadow-1); }
.seg-lg a { font-size: var(--fs-1); min-height: 44px; padding: .5rem 1.1rem; }
.dock { background: var(--c-glass); border-color: var(--c-border); border-radius: 20px; }
.dock-item.is-active { background: var(--c-tint); color: var(--c-text); }
.dock-item.is-active .ic { color: var(--c-accent-text); }

/* hero v2 */
.hero-v2 { min-height: min(92svh, 860px); }
.hero-v2 .hero-shade { background: linear-gradient(180deg, rgba(9, 12, 22, .55) 0%, rgba(9, 12, 22, .2) 32%, rgba(9, 12, 22, .55) 62%, rgba(9, 12, 22, .92) 100%); }
.hero-v2 .hero-content { padding-bottom: var(--s-5); max-width: 980px; }
.hero-pill { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: var(--s-4); padding: .4rem .85rem .4rem .7rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: var(--fs-0); font-weight: 700; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulseRing 2s infinite; flex: none; }
@keyframes pulseRing { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-v2 .hero-title { font-size: var(--fs-6); font-weight: 900; letter-spacing: -.045em; margin-bottom: var(--s-3); text-shadow: none; }
.hero-v2 .hero-title { background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .78)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v2 .hero-sub { color: rgba(255, 255, 255, .85); margin-bottom: var(--s-5); font-size: clamp(1.05rem, 1rem + .6vw, 1.4rem); max-width: 40ch; }
.hero-search { position: relative; display: flex; align-items: center; gap: .5rem; max-width: 640px; padding: .45rem .45rem .45rem 1rem; border-radius: 18px; background: rgba(255, 255, 255, .96); color: #111827; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); margin-bottom: var(--s-4); }
[data-theme="dark"] .hero-search { background: rgba(20, 26, 42, .96); color: #FAF7F2; border: 1px solid rgba(255, 255, 255, .1); }
.hero-search > .ic { color: var(--gray-500); }
.hero-search input { flex: 1; min-width: 0; min-height: 46px; border: 0; background: transparent; outline: none; font-size: var(--fs-2); color: inherit; }
.hero-search .btn { border-radius: 12px; }
.hero-search .live-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; text-align: left; }
.hero-search .live-results:empty { display: none; }
.hero-v2 .hero-controls { padding-bottom: var(--s-5); }
.hero-dots .dot span::after { background: var(--grad); }
@media (max-width: 640px) { .hero-search .btn { padding-inline: .9rem; } .hero-cta .btn-lg { min-height: 48px; padding: .7rem 1.1rem; font-size: var(--fs-1); } }

/* news ticker */
.ticker { position: relative; z-index: 5; display: flex; align-items: stretch; background: var(--c-surface); border-bottom: 1px solid var(--c-border); overflow: hidden; }
.ticker-tag { flex: none; display: flex; align-items: center; gap: .45rem; padding: 0 1rem; background: var(--grad-btn); color: #fff; font-weight: 800; font-size: var(--fs-0); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.ticker-viewport { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 2.5rem; padding: .85rem 1.25rem; animation: tickerMove var(--ticker-s, 60s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-weight: 600; font-size: var(--fs-1); color: var(--c-text); }
.ticker-item .ic { color: var(--c-accent-text); }
.ticker-item a { color: inherit; text-decoration: none; }
.ticker-item a:hover { color: var(--c-accent-text); text-decoration: underline; }
.ticker-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-left: 2.5rem; opacity: .6; }
.ticker-toggle { flex: none; width: 46px; border: 0; border-left: 1px solid var(--c-border); background: var(--c-surface); display: grid; place-items: center; }
.ticker-toggle .pause-bars { border-color: var(--c-muted); }
.ticker.is-paused .ticker-toggle .pause-bars { border: 0; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--c-muted); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .ticker-tag span { display: none; } .ticker-tag { padding: 0 .8rem; } }

/* sections */
.section { padding-block: clamp(2.75rem, 2rem + 3vw, 5rem); }
.section-tight { padding-block: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); }
.section-tint { background: var(--c-section); }
.section-head .h-section, .h-section { font-weight: 800; }

/* quick actions */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.quick-card { position: relative; display: flex; align-items: center; gap: .85rem; padding: 1rem 1.05rem; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: color-mix(in srgb, var(--blue) 35%, var(--c-border)); }
.quick-ic { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-tint); color: var(--c-accent-text); }
.quick-card:hover .quick-ic { background: var(--grad-btn); color: #fff; }
.quick-txt { display: grid; min-width: 0; line-height: 1.25; }
.quick-txt strong { font-size: var(--fs-2); }
.quick-txt small { color: var(--c-faint); font-size: var(--fs-0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-go { margin-left: auto; color: var(--c-faint); flex: none; }
@media (max-width: 960px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .quick-card { padding: .8rem; gap: .6rem; } .quick-ic { width: 42px; height: 42px; } .quick-go { display: none; } .quick-txt strong { font-size: var(--fs-1); } }

/* live darshan */
.live-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; align-items: stretch; }
.live-card { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: 24px; background: var(--c-bg); border: 1px solid var(--c-border); box-shadow: var(--shadow-2); }
.live-head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: var(--r-pill); font-weight: 800; font-size: var(--fs-0); }
.live-badge.is-open { background: #E7F8EF; color: #05603A; }
.live-badge.is-closed { background: #FEF0E7; color: #8A3B0B; }
.live-badge.is-closed .pulse-dot { background: #F97316; animation: none; }
[data-theme="dark"] .live-badge.is-open { background: #0D2E21; color: #6CE9A6; }
[data-theme="dark"] .live-badge.is-closed { background: #3A1E0B; color: #FDBA74; }
.live-line { font-size: var(--fs-3); font-weight: 700; margin-bottom: .5rem; }
.live-aarti { color: var(--c-muted); }
.live-aarti .ic { color: var(--c-accent-text); }
.aarti-strip { list-style: none; margin: 0; padding: 1rem; border-radius: 24px; background: var(--c-bg); border: 1px solid var(--c-border); display: grid; gap: .35rem; align-content: start; }
.aarti-strip li { display: flex; align-items: center; gap: .9rem; padding: .7rem .85rem; border-radius: 14px; }
.aarti-strip li.is-past { opacity: .5; }
.aarti-strip li.is-next { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-brand); }
.as-time { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 5.2em; }
.as-label { font-weight: 600; }
@media (max-width: 860px) { .live-wrap { grid-template-columns: 1fr; } }

/* distances */
.dist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .85rem; margin-bottom: 1rem; }
.dist-card { display: grid; gap: .2rem; padding: 1.1rem 1.15rem; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.dist-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.dist-km { font-size: 1.6rem; font-weight: 900; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.dist-name { font-weight: 800; font-size: var(--fs-2); }
.dist-meta { color: var(--c-faint); font-size: var(--fs-0); display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }


/* getting here */
.reach-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.reach-col { display: grid; gap: 1rem; }
.reach-card { padding: 1.25rem; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; }
a.reach-card { transition: transform var(--t) var(--ease), box-shadow var(--t); }
a.reach-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.reach-head { display: flex; gap: .9rem; align-items: center; margin-bottom: .5rem; }
.reach-head h3 { margin: 0; font-size: var(--fs-3); }
.reach-head p { margin: 0; }
.reach-small .reach-head { margin: 0; }
.mini-trains { list-style: none; margin: .75rem 0 1rem; padding: 0; display: grid; gap: .45rem; }
.mini-trains li { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 14px; background: var(--c-bg); border: 1px solid var(--c-border); }
.mt-no { font-weight: 800; font-variant-numeric: tabular-nums; font-size: var(--fs-0); padding: .25rem .5rem; border-radius: 8px; background: var(--c-tint); color: var(--c-accent-text); flex: none; }
.mt-name { display: grid; min-width: 0; font-weight: 700; font-size: var(--fs-1); line-height: 1.3; }
.mt-name small { color: var(--c-faint); font-weight: 600; }
.mt-dir { margin-left: auto; color: var(--c-faint); }
.mt-to_dwarka .ic { transform: rotate(180deg); }
@media (max-width: 860px) { .reach-grid { grid-template-columns: 1fr; } }

/* help band */
.help-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 3vw, 3rem); border-radius: 28px; background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-brand); position: relative; overflow: hidden; }
.help-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 60%); pointer-events: none; }
.help-band .h-section { color: #fff; }
.help-band p { color: rgba(255, 255, 255, .88); }
.help-band .kicker-light { color: #fff; opacity: .85; }
.help-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .help-band { grid-template-columns: 1fr; } .help-actions { justify-content: flex-start; } }

.empty-cta { display: grid; justify-items: start; gap: .6rem; padding: 1.5rem; border-radius: 20px; border: 1px dashed var(--c-border); background: var(--c-surface); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* page hero (inner pages) */
.page-hero { background: radial-gradient(1200px 400px at 10% -10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%), radial-gradient(900px 400px at 90% 0%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%), var(--c-bg); border-bottom: 1px solid var(--c-border); }

/* trains page */
.station-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 20px; background: var(--c-surface); border: 1px solid var(--c-border); margin-bottom: 1.25rem; }
.station-card .h-card { margin: 0 0 .15rem; }
.station-card p { margin: 0; }
.station-code { margin-left: auto; font-weight: 900; font-size: 1.4rem; letter-spacing: .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.train-tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.train-tools .inline-search { flex: 1 1 320px; max-width: 520px; margin: 0; }
.train-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.train-card { padding: 1.15rem; border-radius: 22px; background: var(--c-surface); border: 1px solid var(--c-border); display: grid; gap: .75rem; align-content: start; scroll-margin-top: calc(var(--header-h) + 1rem); }
.train-card:target { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.train-top { display: flex; gap: .85rem; align-items: flex-start; }
.train-no { flex: none; font-weight: 900; font-variant-numeric: tabular-nums; padding: .45rem .65rem; border-radius: 12px; background: var(--grad-btn); color: #fff; font-size: var(--fs-1); }
.train-title { min-width: 0; flex: 1; }
.train-title h2 { font-size: var(--fs-2); margin: 0 0 .15rem; }
.train-route { margin: 0; color: var(--c-muted); font-size: var(--fs-1); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.train-dir { flex: none; font-size: .72rem; font-weight: 800; padding: .3rem .6rem; border-radius: var(--r-pill); }
.train-dir.is-from { background: var(--c-tint); color: var(--c-accent-text); }
.train-dir.is-to { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal-deep); }
[data-theme="dark"] .train-dir.is-to { color: var(--teal); }
.train-times { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: 16px; background: var(--c-bg); border: 1px solid var(--c-border); }
.tt-main { display: grid; }
.tt-main strong { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.tt-check { font-size: var(--fs-1); font-weight: 700; color: var(--c-accent-text); }
.tt-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; }
.tt-facts dt { font-size: .72rem; color: var(--c-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tt-facts dd { margin: 0; font-weight: 700; font-size: var(--fs-1); }
.train-stops-label { margin: 0; }
.train-stops { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.train-stops li { font-size: var(--fs-0); font-weight: 600; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--c-control); }
.train-stops li.is-here { background: var(--grad-btn); color: #fff; }
.train-note { margin: 0; font-size: var(--fs-0); color: var(--c-muted); }
.train-foot { display: flex; align-items: center; gap: .6rem; justify-content: space-between; flex-wrap: wrap; }

/* contact */
.contact-cards { display: grid; gap: .7rem; margin-bottom: 1rem; }
.contact-card { display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem; border-radius: 18px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.contact-card span:last-child { display: grid; min-width: 0; }
.contact-card small { color: var(--c-faint); font-weight: 600; }
.contact-card strong { overflow-wrap: anywhere; }
.contact-card.is-wa .quick-ic { background: #E7F8EF; color: #128C4B; }
[data-theme="dark"] .contact-card.is-wa .quick-ic { background: #0D2E21; color: #6CE9A6; }

/* footer */
.site-footer { background: #0B0F1A; color: #D6CEC0; border-top: 1px solid #1F2637; padding-top: 3rem; }
.site-footer .footer-wave { display: none; }
.site-footer a { color: #E7E0D4; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; }
.footer-contact .ic { color: #F6C784; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 1rem 0; border-top: 1px solid #1F2637; font-size: var(--fs-0); }
.footer-legal a { color: #9BA3B0; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; border-top: 1px solid #1F2637; }
.footer-bottom .muted { color: #9BA3B0; }
.footer-credit { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; margin: 0; }
.footer-credit a { text-decoration: none; font-weight: 700; }
.footer-credit .admin-link { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 9px; background: rgba(255, 255, 255, .06); font-weight: 600; font-size: var(--fs-0); }
.footer-credit .sep { color: #4B5563; }

/* cards everywhere: softer, flatter */
.card, .glass-card, .side-card .glass-card { border-radius: 20px; }
.glass-card { background: var(--c-surface); border-color: var(--c-border); box-shadow: var(--shadow-1); backdrop-filter: none; -webkit-backdrop-filter: none; }
.notice { border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; gap: .5rem 1.5rem; }
  .ticker-item::after { display: none; }
  .pulse-dot { animation: none; }
  .quick-card:hover, .dist-card:hover, .temple-card:hover, a.reach-card:hover { transform: none; }
}
.dist-meta { display: block; }
.dist-meta .ic { vertical-align: -.15em; margin-right: .15rem; }
@media (max-width: 560px) {
  .station-card { flex-wrap: wrap; }
  .station-card > div { flex: 1 1 60%; }
  .station-code { margin-left: 0; }
  .train-top { flex-wrap: wrap; }
  .train-dir { order: -1; margin-left: auto; }
  .tt-main strong { font-size: 1.4rem; }
}
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="password"], input:not([type]), select, textarea { border-radius: 12px; border-color: var(--c-border); background: var(--c-bg); }
@media (max-width: 960px) { .page-contact-split > aside { order: -1; } }
.hero-search input[type="search"] { background: transparent; border: 0; padding: 0; border-radius: 0; box-shadow: none; min-height: 46px; }
.hero-search:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 35%, transparent), 0 20px 50px -20px rgba(0, 0, 0, .6); }

/* =====================================================================
   v3 brand layer – HelpDwarka crimson, Outfit display type, compass-star motif,
   Vengeance-UI inspired motion (spotlight navbar, ripple hero, morph text, glow borders,
   perspective carousel, expandable bento, distance rings, ocean footer). Later rules win.
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .26s; }
h1, h2, h3, h4, .h-section, .h-card, .brand-text, .btn, .kicker, .station-code, .train-no, .tt-main strong, .persp-name, .bento-label, .quick-txt strong { font-family: var(--font-display); }
h1, h2, h3 { letter-spacing: -.028em; }
.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-gu h1, .lang-gu h2, .lang-gu h3 { letter-spacing: 0; }
.lang-native { font-family: system-ui, "Nirmala UI", "Noto Sans", sans-serif; }
::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); color: inherit; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase; font-weight: 700; font-size: .76rem; letter-spacing: .14em; color: var(--c-accent-text); }
.kicker::before { content: ""; flex: none; width: 9px; height: 14px; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.kicker:has(> .ic)::before { display: none; }
.h-section { font-weight: 800; line-height: 1.06; }
.section-head .h-section { font-size: var(--fs-5); line-height: 1.04; }
.lang-hi .h-section, .lang-gu .h-section, .lang-hi .section-head .h-section, .lang-gu .section-head .h-section { line-height: 1.25; }
.link-arrow { font-family: var(--font-display); font-weight: 700; }
.link-arrow .ic { transition: transform var(--t) var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* buttons: pill shapes, shine sweep, radial glow */
.btn { border-radius: 14px; letter-spacing: -.005em; }
.btn-lg { border-radius: 16px; }
.btn-grad:hover { box-shadow: 0 16px 34px -12px rgba(207, 43, 69, .7); }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .42) 50%, transparent 66%); transform: translateX(-130%); transition: transform .75s var(--ease); pointer-events: none; }
.btn-shine:hover::after, .btn-shine:focus-visible::after { transform: translateX(130%); }
.chip { font-weight: 600; transition: transform var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast); }
a.chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--c-border)); color: var(--c-accent-text); }

/* floating glass header with spotlight */
.site-header { height: var(--header-h); padding-top: 10px; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 60; }
.site-header.is-overlay, .site-header.is-overlay.is-scrolled, .site-header.is-overlay:not(.is-scrolled) { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-130%); }
.nav-shell { height: calc(var(--header-h) - 16px); width: min(100% - 1.25rem, 1320px); padding: 0 .5rem 0 .85rem; border-radius: 20px; background: var(--c-glass); border: 1px solid var(--c-glass-border); box-shadow: var(--shadow-2); backdrop-filter: saturate(1.7) blur(18px); -webkit-backdrop-filter: saturate(1.7) blur(18px); transition: background var(--t), border-color var(--t), box-shadow var(--t), color var(--t); }
.site-header.is-overlay:not(.is-scrolled) .nav-shell { background: rgba(10, 12, 24, .26); border-color: rgba(255, 255, 255, .16); box-shadow: none; color: #fff; }
.site-header.is-overlay.is-scrolled { color: var(--c-text); }
.brand { gap: .6rem; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(207, 43, 69, .6); transition: transform var(--t-slow) var(--spring); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-text { font-size: 1.34rem; font-weight: 800; letter-spacing: -.04em; }
.nav-main > ul > li > a { border-radius: 12px; padding: .5rem .72rem; font-family: var(--font-display); font-weight: 600; font-size: .98rem; background: transparent; }
.nav-main > ul > li > a:hover, .site-header.is-overlay:not(.is-scrolled) .nav-main > ul > li > a:hover { background: transparent; }
.nav-main .spot { top: 50%; height: 38px; margin-top: -19px; border-radius: 12px; background: var(--c-control-hover); }
.site-header.is-overlay:not(.is-scrolled) .nav-main .spot { background: rgba(255, 255, 255, .18); }
.nav-main > ul > li > a.is-active { color: var(--c-accent-text); background: transparent; }
.nav-main > ul > li > a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--brand); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.site-header.is-overlay:not(.is-scrolled) .nav-main > ul > li > a.is-active { color: #fff; background: transparent; }
.site-header.is-overlay:not(.is-scrolled) .nav-main > ul > li > a.is-active::after { background: #FFD08A; }
.mega { top: calc(100% + 16px); }
.mega-links { border-radius: 18px; padding: .45rem; }
.mega-links a { font-family: var(--font); font-weight: 600; }
.nav-help { border-radius: 12px; }
.bell-dot { background: var(--brand); }
@media (max-width: 640px) { .nav-shell { width: calc(100% - .75rem); padding: 0 .3rem 0 .6rem; border-radius: 18px; } .brand-text { font-size: 1.18rem; } .brand-mark { width: 30px; height: 30px; border-radius: 9px; } }
.brand-drawer .brand-mark { width: 30px; height: 30px; }
.breadcrumbs { padding-top: .35rem; }

/* glass dock */
.dock { border-radius: 24px; }
.dock-item { font-family: var(--font-display); font-weight: 600; }
.dock-item.is-active { background: var(--c-tint); color: var(--c-accent-text); }

/* hero v3 */
.hero-v3 { min-height: 100svh; }
.hero-v3 .hero-shade { background: linear-gradient(180deg, rgba(9, 12, 22, .5) 0%, rgba(9, 12, 22, .06) 30%, rgba(9, 12, 22, .4) 60%, rgba(9, 12, 22, .95) 100%), linear-gradient(90deg, rgba(9, 12, 22, .6), transparent 64%); }
.hero-v3 .hero-content { padding-bottom: var(--s-4); }
.hero-v3 .hero-title { font-family: var(--font-display); font-size: var(--fs-6); font-weight: 800; letter-spacing: -.055em; line-height: .9; color: #fff; background: none; -webkit-text-fill-color: currentColor; margin-bottom: var(--s-3); text-shadow: 0 8px 60px rgba(0, 0, 0, .4); }
.lang-hi .hero-v3 .hero-title, .lang-gu .hero-v3 .hero-title { letter-spacing: -.01em; line-height: 1.18; font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.4rem); }
.hero-v3 .hero-sub { font-size: clamp(1.05rem, .95rem + .7vw, 1.45rem); color: rgba(255, 255, 255, .9); max-width: 36ch; margin-bottom: var(--s-3); }
.hero-morph { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; min-height: 1.9em; margin-bottom: var(--s-4); color: rgba(255, 255, 255, .78); font-weight: 600; }
.hero-morph .ic { color: #FFD08A; }
.hero-morph b { color: #FFD08A; font-family: var(--font-display); font-weight: 700; }
.morph { display: inline-block; transition: filter .38s var(--ease), opacity .38s var(--ease), transform .38s var(--ease); }
.morph.is-out { filter: blur(8px); opacity: 0; transform: translateY(.35em); }
.hero-live { text-decoration: none; color: #fff; transition: background var(--t), transform var(--t) var(--ease); }
.hero-live:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.hero-live strong { font-weight: 800; }
.hero-live span:not(.pulse-dot) { opacity: .88; font-weight: 600; }
.hero-live.is-closed .pulse-dot { background: #F97316; animation: none; }
.hero-search { border-radius: 20px; padding-left: 1.1rem; }
.hero-search .btn { border-radius: 14px; }
.hero-search:focus-within { box-shadow: 0 0 0 4px rgba(233, 154, 50, .5), 0 20px 50px -20px rgba(0, 0, 0, .6); }
.hero-v3 .hero-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding-bottom: var(--s-5); }
.hero-v3 .hero-dots { justify-content: center; }
.hero-dots .dot span::after { background: #FFD08A; }
.hero-caption { display: inline-flex; align-items: center; gap: .85rem; padding: .45rem .95rem .45rem .7rem; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-count { display: inline-flex; align-items: baseline; gap: .3rem; font-family: var(--font-display); }
.hero-count b { font-size: 1.55rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.hero-count i { font-style: normal; opacity: .6; font-size: .8rem; font-weight: 600; }
.hero-cap-text { display: grid; line-height: 1.2; font-weight: 700; font-size: var(--fs-1); }
.hero-cap-text small { font-weight: 600; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; opacity: .62; }
@media (max-width: 760px) { .hero-v3 .hero-controls { grid-template-columns: 1fr auto; } .hero-v3 .hero-dots { display: none; } .hero-v3 .hero-title { letter-spacing: -.045em; } }
@media (max-width: 420px) { .hero-live span:not(.pulse-dot) { display: none; } .hero-caption { padding: .35rem .7rem .35rem .55rem; } }

/* ticker */
.ticker { background: var(--c-surface); }
.ticker-tag { font-family: var(--font-display); letter-spacing: .08em; }
.ticker-item::after { width: 7px; height: 7px; border-radius: 0; background: var(--brand); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: .7; }

/* quick tiles */
.quick-card { position: relative; border-radius: 20px; background: var(--c-surface); }
.quick-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--c-border)); }
.quick-ic { border-radius: 15px; transition: background var(--t), color var(--t), transform var(--t) var(--spring); }
.quick-card:hover .quick-ic { transform: rotate(-6deg) scale(1.06); }
.quick-go { transition: transform var(--t) var(--ease-out), color var(--t); }
.quick-card:hover .quick-go { transform: translate(3px, -3px); color: var(--c-accent-text); }
.glow-card::before { background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(207, 43, 69, .9), rgba(233, 154, 50, .55) 40%, transparent 65%); }

/* live darshan card: ink surface with a slow compass star */
.live-card { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; border: 1px solid rgba(255, 255, 255, .08); border-radius: 28px; box-shadow: var(--shadow-3); }
.live-card::after { content: ""; position: absolute; left: 35%; right: -25%; bottom: -70%; height: 120%; background: radial-gradient(closest-side, rgba(207, 43, 69, .55), transparent); pointer-events: none; }
.live-card > :not(.live-star) { position: relative; z-index: 2; }
.live-card .h-section { color: #fff; font-size: var(--fs-4); }
.live-card .live-line { color: #fff; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); letter-spacing: -.02em; }
.live-card .live-aarti { color: rgba(255, 255, 255, .8); }
.live-card .live-aarti .ic { color: #F6C784; }
.live-asof { font-size: var(--fs-0); color: rgba(255, 255, 255, .62); }
.live-note { margin: 1rem 0 0; font-size: var(--fs-0); color: rgba(255, 255, 255, .62); }
.live-star { position: absolute; z-index: 1; right: -8%; top: -18%; width: 52%; fill: #fff; opacity: .055; pointer-events: none; animation: starTurn 70s linear infinite; }
.live-card .live-badge.is-open { background: rgba(52, 211, 153, .16); color: #7BE8B5; }
.live-card .live-badge.is-closed { background: rgba(249, 115, 22, .18); color: #FDBA74; }
.aarti-strip { border-radius: 28px; background: var(--c-surface); }
.aarti-strip .aarti-head { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-0); text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); padding: .35rem .85rem .2rem; }
.aarti-strip li.is-next { border-radius: 16px; }
@keyframes starTurn { to { transform: rotate(360deg); } }

/* two journeys */
.journeys { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.journey-card { position: relative; display: block; min-height: clamp(320px, 34vw, 470px); border-radius: 30px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-2); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.journey-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.journey-card::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.journey-spiritual::after { background: linear-gradient(180deg, rgba(60, 10, 25, 0) 12%, rgba(60, 10, 25, .5) 52%, rgba(22, 8, 20, .96) 100%); }
.journey-explore::after { background: linear-gradient(180deg, rgba(6, 40, 60, 0) 12%, rgba(6, 40, 60, .45) 52%, rgba(6, 22, 40, .96) 100%); }
.journey-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.journey-card:hover img { transform: scale(1.07); }
.journey-body { position: absolute; inset: auto 0 0 0; padding: clamp(1.1rem, 1rem + 1vw, 1.9rem); display: grid; gap: .65rem; }
.journey-tag { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem); letter-spacing: -.03em; line-height: 1.1; }
.lang-hi .journey-tag, .lang-gu .journey-tag { letter-spacing: 0; line-height: 1.3; }
.journey-tag .ic { width: 1.05em; height: 1.05em; padding: .24em; box-sizing: content-box; border-radius: 13px; background: rgba(255, 255, 255, .16); flex: none; }
.journey-text { max-width: 48ch; color: rgba(255, 255, 255, .88); font-size: var(--fs-1); }
.journey-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.journey-chips span { padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); font-size: var(--fs-0); font-weight: 600; }
.journey-go { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-1); color: #FFD08A; }
.journey-explore .journey-go { color: #A6ECE3; }
.journey-go .ic { transition: transform var(--t) var(--ease-out); }
.journey-card:hover .journey-go .ic { transform: translateX(5px); }
@media (max-width: 760px) { .journeys { grid-template-columns: 1fr; } .journey-card { min-height: 310px; border-radius: 24px; } }

/* distance rings */
.dist-wrap { display: grid; grid-template-columns: minmax(260px, 430px) 1fr; gap: clamp(1rem, 3vw, 2.75rem); align-items: center; margin-bottom: 1rem; }
.radar { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 10%, var(--c-surface)), var(--c-surface) 74%); border: 1px solid var(--c-border); box-shadow: var(--shadow-2); }
.radar-ring { position: absolute; left: 50%; top: 50%; width: var(--d); height: var(--d); transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--brand) 38%, var(--c-border)); }
.radar-ring i { position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%); font-style: normal; font-size: .64rem; font-weight: 700; padding: 0 .35rem; border-radius: 99px; background: var(--c-surface); color: var(--c-faint); white-space: nowrap; }
.radar-outer { border-style: solid; border-color: color-mix(in srgb, var(--brand) 22%, var(--c-border)); }
.radar-outer i { top: auto; bottom: 0; transform: translate(-50%, -30%); }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--brand) 24%, transparent), transparent 24%); animation: starTurn 9s linear infinite; }
.radar-core { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 30%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 18%, transparent); z-index: 2; }
.radar-core svg { width: 76%; fill: #fff; }
.radar-dot { position: absolute; z-index: 3; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .74rem; font-weight: 800; text-decoration: none; color: #fff; background: #C02740; box-shadow: 0 0 0 3px var(--c-surface), var(--shadow-2); transition: transform var(--t) var(--spring); }
.radar-dot.is-explore, .dist-n.is-explore { background: #9A5B0E; }
.radar-dot:hover, .radar-dot.is-hot { transform: scale(1.3); z-index: 4; }
.dist-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .9rem; }
.dist-row { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; border-radius: 16px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.dist-row:hover { transform: translateX(4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--brand) 40%, var(--c-border)); }
.dist-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .74rem; font-weight: 800; color: #fff; background: #C02740; }
.dist-row .dist-name { display: grid; min-width: 0; font-weight: 700; font-size: var(--fs-1); line-height: 1.25; }
.dist-row .dist-name small { color: var(--c-faint); font-weight: 500; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-row .dist-km { margin-left: auto; flex: none; font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; background: none; -webkit-text-fill-color: currentColor; color: var(--c-accent-text); }
.dist-foot .legend { display: inline-flex; gap: .4rem; align-items: center; margin-left: .6rem; flex-wrap: wrap; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg-s { background: #C02740; } .lg-e { background: #9A5B0E; margin-left: .5rem; }
@media (max-width: 900px) { .dist-wrap { grid-template-columns: 1fr; } .radar { max-width: 330px; width: 100%; margin-inline: auto; } }
@media (max-width: 560px) { .dist-list { grid-template-columns: 1fr; } }

/* dark aurora section (temple carousel) */
.section-dark { position: relative; overflow: hidden; background: var(--grad-ink); color: #F5F1EA; }
.section-dark .h-section { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .74); }
.section-dark .kicker { color: #FFB3BF; }
.section-dark .link-arrow { color: #FFD08A; }
.section-dark::before, .section-dark::after { content: ""; position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%; filter: blur(30px); pointer-events: none; animation: auroraDrift 18s var(--ease) infinite alternate; }
.section-dark::before { left: -22vmax; top: -34vmax; background: radial-gradient(closest-side, rgba(207, 43, 69, .42), transparent); }
.section-dark::after { right: -24vmax; bottom: -38vmax; background: radial-gradient(closest-side, rgba(233, 154, 50, .26), transparent); animation-delay: -9s; }
.section-dark > .container { position: relative; z-index: 1; }
@keyframes auroraDrift { to { transform: translate(7vmax, 5vmax) scale(1.14); } }
.persp-card { border-radius: 28px; background: #1B2233; border: 1px solid rgba(255, 255, 255, .1); }
.persp-deity { color: #FFD08A; }
.persp-name { letter-spacing: -.03em; }

/* reach, bento, misc cards */
.reach-card { position: relative; border-radius: 24px; }
.mini-trains li { border-radius: 16px; transition: transform var(--t) var(--ease), border-color var(--t); }
.mini-trains li:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--brand) 35%, var(--c-border)); }
.bento-tile { border-radius: 26px; }
.bento-label small { color: #FFD08A; font-family: var(--font); }
.card, .glass-card { border-radius: 22px; }
.help-band { border-radius: 32px; background: linear-gradient(135deg, #D8334D 0%, #A81E36 60%, #7C1227 100%); }
.help-band > :not(.help-star) { position: relative; z-index: 1; }
.help-star { position: absolute; right: -4%; top: -40%; width: 38%; fill: #fff; opacity: .09; pointer-events: none; animation: starTurn 80s linear infinite; }
.help-band::after { display: none; }
.section-last { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-hero h1 { font-size: var(--fs-5); letter-spacing: -.035em; }
.lang-hi .page-hero h1, .lang-gu .page-hero h1 { letter-spacing: 0; }
.vbadge, .flabel, .demo-tag { font-family: var(--font); }

/* footer with ocean waves and an oversized wordmark */
.site-footer { position: relative; background: #0B0F1A; color: #C9CED8; border-top: 0; padding-top: 0; overflow: hidden; }
.footer-ocean { position: relative; height: clamp(54px, 8vw, 116px); background: var(--c-bg); overflow: hidden; pointer-events: none; }
.footer-ocean svg { position: absolute; left: 0; bottom: -1px; width: 200%; max-width: none; height: 100%; }
.fo-1 { fill: color-mix(in srgb, var(--brand) 62%, #0B0F1A); opacity: .6; }
.fo-2 { fill: #1A2033; }
.fo-3 { fill: #0B0F1A; }
.footer-ocean svg:nth-child(1) { animation: oceanMove 18s linear infinite; }
.footer-ocean svg:nth-child(2) { animation: oceanMove 13s linear infinite reverse; }
.footer-ocean svg:nth-child(3) { animation: oceanMove 9s linear infinite; }
@keyframes oceanMove { to { transform: translateX(-50%); } }
.site-footer .footer-inner { padding-top: 2.25rem; }
.site-footer .brand-text { color: #fff; }
.footer-tag { color: #FFD08A; font-family: var(--font-display); font-weight: 600; margin: .6rem 0 .5rem; }
.footer-contact .ic { color: #FF93A3; }
.site-footer h2 { font-family: var(--font-display); letter-spacing: .1em; }
.footer-mega { margin: 1.25rem 0 -.14em; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 15.6vw, 13.5rem); line-height: .82; letter-spacing: -.06em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 88%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer-legal, .footer-bottom { border-top-color: #1F2637; position: relative; }
.footer-credit .admin-link { border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
  .live-star, .help-star, .radar-sweep, .section-dark::before, .section-dark::after, .footer-ocean svg { animation: none !important; }
  .btn-shine::after { display: none; }
  .journey-card:hover, .dist-row:hover, .mini-trains li:hover { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* temples list page */
.temple-row { border-radius: 30px; }
.temple-media { border-radius: 26px; }
.temple-media img { transition: transform 1.2s var(--ease-out); }
.temple-row:hover .temple-media img { transform: scale(1.05); }
.temple-text .h-section { font-size: var(--fs-5); letter-spacing: -.035em; }
.temple-text .h-section a { color: var(--c-text); text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 3px no-repeat; transition: background-size var(--t-slow) var(--ease-out); }
.temple-text .h-section a:hover { background-size: 100% 3px; }
@media (max-width: 760px) { .temple-row { grid-template-columns: 1fr; } .temple-row.alt .temple-media { order: 0; } }
