/* srirangamtemple.net
   Palette: the dark-blue form of Sri Ranganatha, the gold of the Ranga Vimanam,
   the red of the Srichurnam, the Kaveri's green water and pale granite. */
:root {
  --indigo: #14213d;
  --indigo-2: #1f3263;
  --indigo-3: #2c4580;
  --gold: #c8962e;
  --gold-bright: #d4a13a;
  --gold-pale: #f3e4bd;
  --kumkum: #a4161a;
  --kaveri: #1d6a66;
  --kaveri-pale: #dcebe8;
  --granite: #f1f3f1;
  --paper: #ffffff;
  --ink: #101a2e;
  --ink-2: #3c4658;
  --line: #d6dbd8;
  --focus: #d4a13a;

  --display: 'Rozha One', 'Georgia', serif;
  --body: 'Hind Madurai', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--granite);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kumkum); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { color: var(--indigo); margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.28rem; line-height: 1.35; }
p { margin: 0 0 1.1em; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-bright); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- status strip ---------- */
.status-strip { background: var(--ink); color: #e9ecf3; font-size: .9rem; }
.status-inner { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.status-text { margin: 0; flex: 1; line-height: 1.35; padding: 6px 0; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3b5; flex: none; }
.status-strip[data-state="open"] .status-dot { background: #4cc38a; box-shadow: 0 0 0 3px rgba(76, 195, 138, .25); }
.status-strip[data-state="closed"] .status-dot { background: #e36a5c; }
.status-link { color: var(--gold-pale); font-weight: 600; white-space: nowrap; }
.status-link:hover { color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--indigo); flex: none; }
.brand .logo { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.7rem; }
.brand-sub { font-size: .78rem; color: var(--ink-2); letter-spacing: .01em; margin-top: 3px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: var(--radius-s); white-space: nowrap; }
.site-nav a:hover { color: var(--indigo-2); background: var(--granite); }
.site-nav a[aria-current="page"] { color: var(--kumkum); box-shadow: inset 0 -2px 0 var(--kumkum); border-radius: 0; }
.site-nav a.nav-plan { background: var(--gold-bright); color: var(--ink); font-weight: 700; padding: 9px 16px; border-radius: 999px; margin: 0 6px; box-shadow: 0 0 0 3px var(--gold-pale); }
.site-nav a.nav-plan:hover { background: var(--indigo); color: #fff; box-shadow: 0 0 0 3px var(--gold-bright); }
.site-nav a.nav-plan[aria-current="page"] { background: var(--indigo); color: #fff; }

.menu-toggle { display: none; align-items: center; gap: 10px; font: 600 1rem var(--body); color: var(--indigo); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1300px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: var(--paper); overflow-y: auto; padding: 18px var(--gutter) 40px; display: none; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { padding: 15px 4px; font-size: 1.15rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--kumkum); padding-left: 16px; }
  .site-nav li:has(.nav-plan) { border: 0; order: -1; margin-bottom: 10px; }
  .site-nav a.nav-plan { margin: 0; text-align: center; padding: 14px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand-sub { display: none; } .status-link { display: none; } }

/* ---------- home hero ---------- */
.home-hero { background: var(--indigo); color: #e8ebf3; position: relative; overflow: hidden; }
.home-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(212, 161, 58, .16) 1.4px, transparent 1.6px); background-size: 26px 26px; pointer-events: none; mask-image: linear-gradient(90deg, #000, transparent 55%); }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.home-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.3vw, 4rem); margin-bottom: .3em; overflow-wrap: break-word; }
.home-hero .hero-sub { color: var(--gold-bright); }
.home-hero .lede { color: #d5dbea; font-size: 1.22rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1.02rem var(--body); padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold-bright); color: var(--ink); }
.btn-gold:hover { background: #fff; color: var(--indigo); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-ink { background: var(--indigo); color: #fff; }
.btn-ink:hover { background: var(--kumkum); color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: .98rem; color: #c3cbe0; }
.hero-facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.9rem; color: #fff; line-height: 1.1; }

/* the seven prakarams explorer */
.prakaram { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.prakaram-map { width: 100%; height: auto; }
.prakaram-map .ring { fill: none; stroke: rgba(212, 161, 58, .45); stroke-width: 2; transition: stroke .25s, fill .25s, stroke-width .25s; }
.prakaram-map .ring.is-active { stroke: var(--gold-bright); stroke-width: 5; fill: rgba(212, 161, 58, .09); }
.prakaram-map .vimana { fill: var(--gold-bright); }
.prakaram-map .compass { fill: #aeb8d3; font: 600 11px var(--body); letter-spacing: .04em; }
.ring-list { list-style: none; margin: 0; padding: 0; }
.ring-list li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ring-btn { width: 100%; display: flex; align-items: baseline; gap: 12px; background: none; border: 0; color: #dfe4f0; font: 500 1rem var(--body); text-align: left; padding: 9px 2px; cursor: pointer; }
.ring-btn:hover, .ring-btn[aria-pressed="true"] { color: #fff; }
.ring-no { font-family: var(--display); color: var(--gold-bright); font-size: 1.25rem; width: 1.2em; flex: none; }
.ring-btn[aria-pressed="true"] .ring-name { box-shadow: inset 0 -2px 0 var(--gold-bright); }
.ring-detail { padding: 0 0 14px 34px; font-size: .96rem; color: #cfd6e6; }
.ring-detail p { margin-bottom: .5em; }
.ring-detail a { color: var(--gold-pale); font-weight: 600; }

/* ---------- page hero ---------- */
.page-hero { background: var(--indigo); color: #dde2ee; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -180px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); border-radius: 60px; box-shadow: 0 0 0 1px rgba(212, 161, 58, .22), 0 0 0 40px var(--indigo), 0 0 0 41px rgba(212, 161, 58, .18), 0 0 0 80px var(--indigo), 0 0 0 81px rgba(212, 161, 58, .14), 0 0 0 120px var(--indigo), 0 0 0 121px rgba(212, 161, 58, .1); pointer-events: none; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: end; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero.no-media .page-hero-grid { grid-template-columns: 1fr; }
.page-hero h1 { color: #fff; max-width: 17em; }
.hero-sub { font-size: 1.25rem; font-weight: 600; color: var(--gold-bright); margin: -.2em 0 .8em; }
.hero-sub[lang="ta"] { font-weight: 500; }
.page-hero .lede { font-size: 1.2rem; color: #d3d9e7; max-width: 38em; }
.reviewed { font-size: .92rem; color: #aab4cc; margin: 18px 0 0; }
.reviewed a, .page-hero .lede a { color: var(--gold-pale); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding: 0; font-size: .9rem; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #7c89a9; }
.crumbs a { color: #c7cfe2; }
.crumbs [aria-current] { color: var(--gold-pale); }
.page-hero-media .fig { margin: 0; }
.fig.arch img { border-radius: 999px 999px var(--radius-m) var(--radius-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 6px solid var(--indigo-2); box-shadow: 0 0 0 1px var(--gold); }
.page-hero .fig figcaption { color: #9fa9c3; }
.page-hero .fig figcaption a { color: #c7cfe2; }

/* ---------- page body + rail ---------- */
.page-body { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); }
.page-body.has-rail { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.rail-inner { position: sticky; top: 100px; }
.rail-rings { width: 58px; height: 58px; margin-bottom: 10px; }
.rail-rings rect { fill: none; stroke: #b9c1cc; stroke-width: 1.4; transition: stroke .3s; }
.rail-rings rect.is-lit { stroke: var(--gold); stroke-width: 2; }
.rail-title { font-weight: 700; color: var(--indigo); margin: 0 0 8px; font-size: .95rem; }
.rail ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.rail a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.rail a:hover { color: var(--indigo); }
.rail a.is-active { color: var(--kumkum); border-left-color: var(--kumkum); font-weight: 600; }
@media (max-width: 960px) {
  .page-body.has-rail { grid-template-columns: 1fr; }
  .rail { display: none; }
}

/* ---------- prose ---------- */
.prose { max-width: 46rem; min-width: 0; }
.prose > h2 { margin-top: 1.9em; padding-top: .2em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.2rem; color: var(--indigo); }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote cite { display: block; font-size: .95rem; color: var(--ink-2); font-style: normal; margin-top: 6px; }
.prose .fig { margin: 2em 0; }
.prose .fig img { border-radius: var(--radius-m); width: 100%; }
.prose .fig.wide { margin-left: 0; margin-right: 0; }
.fig figcaption { font-size: .86rem; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.fig figcaption .cap { color: var(--ink); }
.fig figcaption .credit a { color: inherit; }
.lead-para { font-size: 1.24rem; color: var(--indigo); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 1.6em 0 2em; border-top: 3px solid var(--indigo); background: var(--paper); border-radius: 0 0 var(--radius-m) var(--radius-m); }
.facts div { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .9rem; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); line-height: 1.4; }

.note { background: var(--kaveri-pale); border-left: 4px solid var(--kaveri); padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 1.6em 0; font-size: 1.02rem; }
.note p:last-child { margin: 0; }
.note strong:first-child { color: var(--kaveri); }
.note.warn { background: #f8e9e7; border-color: var(--kumkum); }
.note.warn strong:first-child { color: var(--kumkum); }

.table-wrap { overflow-x: auto; margin: 1.4em 0 2em; background: var(--paper); border-radius: var(--radius-m); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
caption { text-align: left; padding: 14px 18px 4px; font-size: .92rem; color: var(--ink-2); }
th, td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
.timings tr.is-closed { color: var(--ink-2); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(20, 33, 61, .035) 8px 16px); }
.timings tr.is-open td:last-child { color: var(--kaveri); font-weight: 700; }
.timings tr.is-now { outline: 2px solid var(--gold-bright); outline-offset: -2px; }
.timings tr.is-now th::after { content: ' (now)'; color: var(--kumkum); }

/* timeline: history is a genuine sequence */
.timeline { list-style: none; padding: 0 !important; margin: 1.6em 0 2em; position: relative; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--indigo)); }
.timeline li { position: relative; padding: 0 0 22px 36px; margin: 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 4px; background: var(--granite); border: 2px solid var(--gold); }
.timeline .when { display: block; font-weight: 700; color: var(--kumkum); font-size: .98rem; }

/* steps (real sequences only) */
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps > li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 1.2em; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: var(--gold-pale); font-family: var(--display); display: grid; place-items: center; font-size: 1.1rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 18px; }
.tile h3 { margin-top: 0; font-size: 1.1rem; }
.tile p:last-child { margin: 0; }

.faq { margin-top: 2.4em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; color: var(--indigo); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq-a { padding: 0 0 12px; color: var(--ink-2); }

.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 3em; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); font-size: 1rem; }
.author-box .logo { width: 48px; height: 48px; flex: none; }
.author-name { font-weight: 700; margin-bottom: .3em; }
.author-box p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- blog lists ---------- */
.post-list { list-style: none; margin: 0; padding: 0 !important; }
.post-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.post-row:first-child { padding-top: 0; }
.post-thumb img { border-radius: 999px 999px var(--radius-s) var(--radius-s); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--ink-2); margin: 0 0 4px; }
.post-meta span:first-child { color: var(--kumkum); font-weight: 600; }
.post-title { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 0 0 .35em; }
.post-title a { color: var(--indigo); text-decoration: none; }
.post-title a:hover { color: var(--kumkum); }
.post-body p:last-child { margin: 0; color: var(--ink-2); }
.post-list.compact .post-row { grid-template-columns: 140px 1fr; gap: 18px; }
.post-list.compact .post-title { font-size: 1.3rem; }
@media (max-width: 600px) { .post-row, .post-list.compact .post-row { grid-template-columns: 1fr; } .post-thumb { max-width: 360px; } }
.related { padding-bottom: 72px; }
.related > h2 { margin-bottom: 1em; }

/* ---------- home sections ---------- */
.band { padding: clamp(56px, 8vw, 110px) 0; }
.band-paper { background: var(--paper); }
.band-kaveri { background: var(--kaveri); color: #e6f1ef; }
.band-kaveri h2, .band-kaveri h3 { color: #fff; }
.band-kaveri a { color: var(--gold-pale); }
.band-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.band-head p { font-size: 1.15rem; color: var(--ink-2); }
.band-kaveri .band-head p { color: #cfe3df; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .fig img { border-radius: var(--radius-m); }
.split .fig.arch img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.photo-band { position: relative; }
.photo-band .fig { margin: 0; }
.photo-band img { width: 100%; height: clamp(280px, 48vw, 620px); object-fit: cover; }
.photo-band figcaption { position: absolute; right: var(--gutter); bottom: 12px; background: rgba(16, 26, 46, .72); color: #e5e9f2; padding: 4px 10px; border-radius: var(--radius-s); font-size: .8rem; }
.photo-band figcaption a { color: inherit; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.path-grid a { display: block; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.path-grid a:hover h3 { color: var(--kumkum); }
.path-grid h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; margin: 0 0 6px; }
.path-grid p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.path-grid a:nth-child(3n+2), .path-grid a:nth-child(3n+3) { padding-left: 26px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; } .path-grid a:nth-child(n) { padding-left: 0; border-left: 0; } }

.day-clock { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .day-clock { grid-template-columns: 1fr; } }
.band-kaveri .table-wrap { background: rgba(255, 255, 255, .96); color: var(--ink); border: 0; }

.fest-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.fest-strip div { background: var(--paper); padding: 18px; }
.fest-strip .m { color: var(--kumkum); font-weight: 700; font-size: .92rem; }
.fest-strip h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.fest-strip p { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }

.plan-cta { background: var(--gold-pale); border-radius: var(--radius-m); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.plan-cta h2 { margin-bottom: .25em; }
.plan-cta p { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .plan-cta { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); margin: 1.4em 0 2em; }
.form label { font-weight: 600; display: block; margin-bottom: 4px; color: var(--indigo); }
.form input, .form select, .form textarea { width: 100%; font: 400 1.05rem var(--body); padding: 11px 14px; border: 1px solid #aeb6c2; border-radius: var(--radius-s); background: #fff; color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .9rem; color: var(--ink-2); margin: 4px 0 0; }
.form .error { color: var(--kumkum); font-size: .92rem; margin: 4px 0 0; }
.form button { justify-self: start; }
.map-embed { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-m); background: var(--line); }

.sitemap-list { list-style: none; padding: 0 !important; }
.sitemap-list li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.sitemap-list a { font-weight: 600; }
.sitemap-list span { display: block; font-size: .95rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c1d4; font-size: .98rem; padding-top: clamp(48px, 6vw, 80px); }
.site-footer a { color: #e3e7f0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-sub { color: #9aa5bf; }
.f-note { border-left: 3px solid var(--gold); padding-left: 12px; }
.f-note a { color: var(--gold-pale); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.f-title { font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--gold-bright); margin: 6px 0 12px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 8px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; font-size: .88rem; }
.footer-base p { margin: 0; }
.f-prayer { color: var(--gold-bright); font-size: 1.05rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- responsive heroes ---------- */
@media (max-width: 960px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .page-hero-media { max-width: 340px; }
}
@media (max-width: 560px) {
  .prakaram { grid-template-columns: 1fr; }
  .prakaram-map { max-width: 320px; margin: 0 auto; }
  body { font-size: 1.06rem; }
}

/* 404 */
.notfound { text-align: left; padding: clamp(60px, 10vw, 120px) 0; }
.notfound ul { columns: 2; padding-left: 1.2em; }
@media (max-width: 520px) { .notfound ul { columns: 1; } }

@media print {
  .status-strip, .site-header, .site-footer, .rail, .related { display: none; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}
@media (max-width: 600px) { .status-extra { display: none; } }
.page-hero.no-media::before { display: none; }
.status-strip[data-state="notice"] .status-dot { background: var(--gold-bright); box-shadow: 0 0 0 3px rgba(212, 161, 58, .3); }
/* sources and evidence labels */
.sources { margin-top: 2.6em; padding-top: 1.4em; border-top: 2px solid var(--line); font-size: 1rem; }
.sources h3 { font-size: 1.02rem; margin: 1.2em 0 .4em; color: var(--ink-2); }
.sources li { margin-bottom: .55em; }
.source-note { color: var(--ink-2); font-size: .94rem; }
.claim-label { display: inline-block; margin: .4em 0 .5em; padding: 2px 10px; border-radius: 999px; font-size: .86rem; font-weight: 600; line-height: 1.6; background: var(--kaveri-pale); color: var(--kaveri); }
.claim-label[data-kind="tradition"] { background: var(--gold-pale); color: #6b4e12; }
.claim-label[data-kind="devotional"] { background: #f3e3e3; color: var(--kumkum); }
.claim-label[data-kind="scholarly"] { background: #e3e8f3; color: var(--indigo-2); }
.f-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.claim-label[data-kind="guidance"] { background: #eceeee; color: var(--ink-2); }
.notice-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 1em; } .notice-meta div { display: contents; } .notice-meta dt { font-weight: 600; } .notice-meta dd { margin: 0; } @media (max-width: 520px) { .notice-meta { grid-template-columns: 1fr; } .notice-meta dd { margin-bottom: 6px; } }
@media (max-width: 960px) { .page-hero::before { display: none; } }
