/* Puri Jagannath Temple Guide — Pattachitra-inspired design system
   Indigo  = Jagannath (Nila Madhaba)   Turmeric = Subhadra
   Conch   = Balabhadra                 Hingula  = the red of Pattachitra borders */
:root {
  --indigo: #202552;
  --indigo-2: #2d3470;
  --ink: #1d1f33;
  --muted: #55586e;
  --paper: #fdfcf9;
  --conch: #f6f4ee;
  --sand: #f1e6cf;
  --haldi: #e7a92f;
  --haldi-soft: #fbefd2;
  --hingula: #b3322a;
  --hingula-dark: #8f241e;
  --leaf: #2e6b4e;
  --line: #ddd5c3;
  --radius: 6px;
  --wrap: 1180px;
  --display: 'Rozha One', 'Georgia', serif;
  --body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --odia: 'Noto Serif Oriya', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--hingula-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--hingula); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; color: var(--indigo); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-top: 1.6em; }
h3 { font-size: 1.35rem; margin-top: 1.4em; }
h4 { font-size: 1.1rem; margin: 1.2em 0 .3em; color: var(--indigo); }
p, ul, ol, dl, table { margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
.odia { font-family: var(--odia); }
.lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink); max-width: 62ch; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 0; background: var(--indigo); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Pattachitra border band ---------- */
.patta {
  height: 26px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='26'%3E%3Crect width='36' height='26' fill='%23b3322a'/%3E%3Crect width='36' height='3' fill='%23202552'/%3E%3Crect y='23' width='36' height='3' fill='%23202552'/%3E%3Cpath d='M0 20 L9 7 L18 20 Z' fill='%23e7a92f'/%3E%3Cpath d='M18 7 L27 20 L36 7 Z' fill='%23f6f4ee'/%3E%3Ccircle cx='9' cy='16' r='2' fill='%23202552'/%3E%3Ccircle cx='27' cy='11' r='2' fill='%23b3322a'/%3E%3C/svg%3E") repeat-x;
}
.patta.thin { height: 13px; background-size: 18px 13px; }

/* ---------- Header ---------- */
.notice-strip { background: var(--conch); border-bottom: 1px solid var(--line); font-size: .9rem; }
.notice-strip p { margin: 0; padding: 6px 0; color: var(--muted); }
.notice-strip .odia { color: var(--hingula); margin-right: .6em; font-size: 1rem; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--indigo); }
.brand:hover { color: var(--indigo); }
.logo-mark { width: 78px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.35rem; }
.brand-sub { font-size: .85rem; color: var(--muted); }

.site-nav { background: var(--indigo); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0 auto; padding-top: 6px; padding-bottom: 6px; }
.site-nav li { margin: 0; }
.site-nav a { display: block; color: #fff; text-decoration: none; padding: 7px 12px; font-size: 1rem; font-weight: 500; border-radius: 4px; }
.site-nav a:hover { background: var(--indigo-2); color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--haldi); border-radius: 0; }
.site-nav a.nav-highlight { background: var(--haldi); color: var(--indigo); font-weight: 700; border-radius: 999px; padding: 7px 18px; margin: 0 6px; }
.site-nav a.nav-highlight:hover { background: #f2bd4f; }
.site-nav a.nav-highlight[aria-current="page"] { box-shadow: 0 0 0 3px #fff inset; }

.nav-toggle { display: none; align-items: center; gap: 8px; background: var(--indigo); color: #fff; border: 0; border-radius: 4px; padding: 10px 14px; font: inherit; font-size: 1rem; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.head-cta { display: none; margin-left: auto; background: var(--haldi); color: var(--indigo); font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.head-cta:hover { background: #f2bd4f; color: var(--indigo); }
@media (max-width: 1100px) and (min-width: 520px) { .head-cta { display: inline-block; } }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding-top: 10px; padding-bottom: 16px; }
  .site-nav a { padding: 11px 12px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav a.nav-highlight { margin: 10px 0 4px; text-align: center; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--haldi); }
  .brand-sub { display: none; }
  .logo-mark { width: 62px; }
}

/* ---------- Home hero ---------- */
.hero { background: var(--indigo); color: #fff; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-bottom: .35em; }
.hero .odia-title { font-family: var(--odia); color: var(--haldi); font-size: 1.35rem; margin: 0 0 .6em; }
.hero .lead { color: #e6e7f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trinity { display: flex; justify-content: center; gap: 4%; }
.trinity figure { margin: 0; text-align: center; flex: 1; max-width: 170px; }
.trinity svg { width: 100%; display: block; }
.trinity figcaption { font-size: .95rem; color: #cfd1e6; margin-top: 10px; line-height: 1.3; }
.trinity figcaption strong { display: block; color: #fff; font-weight: 500; font-size: 1.05rem; }
.eye { transform-box: fill-box; transform-origin: center; animation: open 1.1s cubic-bezier(.2,.7,.2,1) both; }
.trinity figure:nth-child(2) .eye { animation-delay: .25s; }
.trinity figure:nth-child(3) .eye { animation-delay: .5s; }
@keyframes open { from { transform: scaleY(.06); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eye { animation: none; } html { scroll-behavior: auto; } }

.now { margin-top: 36px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 16px 18px; max-width: 520px; }
.now p { margin: 0; }
.now-label { font-size: .95rem; color: var(--haldi); }
.now-name { font-family: var(--display); font-size: 1.5rem; color: #fff; line-height: 1.2; margin: 2px 0 4px !important; }
.now-note { font-size: .98rem; color: #d7d9ea; }
.now-next { font-size: .92rem; color: #b7badb; margin-top: 8px !important; }
.now a { color: var(--haldi); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; }
  .trinity { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none; padding: 12px 22px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--hingula); color: #fff; }
.btn-primary:hover { background: var(--hingula-dark); color: #fff; }
.btn-haldi { background: var(--haldi); color: var(--indigo); }
.btn-haldi:hover { background: #f2bd4f; color: var(--indigo); }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { border-color: var(--indigo); color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }

/* ---------- Page intro ---------- */
.page-intro { background: var(--sand); padding: 22px 0 36px; }
.page-intro h1 { margin-top: .3em; }
.page-intro-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }
.page-intro.has-art .page-intro-grid { grid-template-columns: 1fr 260px; }
.page-intro-art svg { width: 100%; }
@media (max-width: 760px) { .page-intro.has-art .page-intro-grid { grid-template-columns: 1fr; } .page-intro-art { display: none; } }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .95rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: '/'; margin: 0 .55em; color: #a79f8b; }
.crumbs a { color: var(--muted); }
.byline { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--hingula); padding-left: 12px; margin-top: 18px; }
.byline p { margin: 0; }
.byline a { color: var(--indigo); }

/* ---------- Article layout: reading column + margin rail (palm-leaf manuscript) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 44px; padding-bottom: 64px; }
.article > .prose { max-width: 72ch; }
.prose > h2:first-child { margin-top: 0; }
.rail { font-size: 1rem; }
.rail-sticky { position: sticky; top: 140px; display: grid; gap: 22px; }
.rail h2 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: var(--indigo); margin: 0 0 .5em; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 4px 0 4px 14px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--indigo); border-left-color: var(--hingula); }
@media (max-width: 1000px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rail { order: -1; margin-bottom: 28px; }
  .rail-sticky { position: static; }
  .rail .toc { display: none; }
}

.facts { background: var(--conch); border: 1px solid var(--line); border-top: 4px solid var(--indigo); border-radius: var(--radius); padding: 16px 18px; }
.facts dl { margin: 0; display: grid; gap: 10px; }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; line-height: 1.35; }

.callout { background: var(--haldi-soft); border-left: 5px solid var(--haldi); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6em 0; }
.callout.red { background: #f8e4e1; border-color: var(--hingula); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout strong:first-child { color: var(--indigo); }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; margin: 0; background: #fff; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--indigo); color: #fff; font-weight: 500; }
tbody tr:nth-child(even) td { background: var(--conch); }
tbody tr:last-child td { border-bottom: 0; }
td.time { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--indigo); }

figure.illus { margin: 1.6em 0; }
figure.illus figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; }

/* Steps — Odia numerals for real sequences */
.steps { list-style: none; padding: 0; counter-reset: s; margin: 1.4em 0; }
.steps > li { position: relative; padding: 0 0 22px 72px; margin: 0; border-left: 2px dashed var(--line); margin-left: 24px; }
.steps > li:last-child { border-left-color: transparent; }
.steps > li::before { content: attr(data-n); position: absolute; left: -25px; top: -4px; width: 48px; height: 48px; border-radius: 50%; background: var(--indigo); color: var(--haldi); font-family: var(--odia); font-size: 1.4rem; display: grid; place-items: center; }
.steps h3 { margin-top: 0; padding-top: 6px; }

/* Timeline (history) */
.timeline { list-style: none; padding: 0; margin: 1.5em 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 3px; background: var(--haldi); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 28px; margin: 0 0 24px; position: relative; }
.timeline li::after { content: ''; position: absolute; left: 104px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--hingula); }
.timeline .when { font-family: var(--display); color: var(--hingula-dark); text-align: right; font-size: 1.1rem; line-height: 1.3; }
.timeline h3 { margin: 0 0 .25em; font-size: 1.2rem; }
.timeline p { margin: 0; }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 32px; }
  .timeline li::after { left: 1px; }
  .timeline .when { text-align: left; }
}

/* Chariots */
.chariots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 1.5em 0; border: 2px solid var(--indigo); border-radius: var(--radius); overflow: hidden; }
.chariot { padding: 18px; background: #fff; }
.chariot + .chariot { border-left: 1px solid var(--line); }
.chariot h3 { margin: 0; }
.chariot .who { color: var(--muted); margin: 0 0 10px; }
.chariot dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .98rem; margin: 0; }
.chariot dt { color: var(--muted); }
.chariot dd { margin: 0; }
.chariot .flag { height: 10px; margin: -18px -18px 16px; }
@media (max-width: 800px) { .chariots { grid-template-columns: 1fr; } .chariot + .chariot { border-left: 0; border-top: 1px solid var(--line); } }

/* Ritual dial */
.dial-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 36px; align-items: center; margin: 1.5em 0 2em; }
.dial-wrap svg { width: 100%; max-width: 360px; }
.dial-seg { cursor: default; }
.dial-seg.is-now { stroke: var(--indigo); stroke-width: 3; }
@media (max-width: 760px) { .dial-wrap { grid-template-columns: 1fr; justify-items: center; } }
tr.is-now td { background: var(--haldi-soft) !important; }

/* ---------- Home sections ---------- */
.band { padding: 64px 0; }
.band-sand { background: var(--sand); }
.band-conch { background: var(--conch); }
.band-indigo { background: var(--indigo); color: #e6e7f2; }
.band-indigo h2, .band-indigo h3 { color: #fff; }
.band-indigo a { color: var(--haldi); }
.section-head { max-width: 64ch; margin-bottom: 28px; }
.section-head h2 { margin-top: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* Procession list: links laid out like stops along the Bada Danda */
.procession { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--indigo); }
.procession li { margin: 0; border-bottom: 1px solid var(--line); }
.procession a { display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 4px; text-decoration: none; color: var(--ink); }
.procession a:hover { background: var(--haldi-soft); }
.procession .p-title { font-family: var(--display); font-size: 1.45rem; color: var(--indigo); line-height: 1.2; }
.procession .p-desc { color: var(--muted); }
.procession .p-go { color: var(--hingula); font-weight: 700; white-space: nowrap; }
@media (max-width: 720px) { .procession a { grid-template-columns: 1fr; gap: 4px; } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); margin-top: 28px; }
.stat-row div { padding: 18px 18px 0 0; }
.stat-row b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--haldi); line-height: 1.1; }
.stat-row span { font-size: 1rem; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }

.gates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.gates div { padding: 18px; border-right: 1px solid var(--line); }
.gates div:last-child { border-right: 0; }
.gates h3 { margin: 0 0 .2em; font-size: 1.2rem; }
.gates .dir { color: var(--hingula-dark); font-weight: 700; font-size: .95rem; }
.gates p { margin: .3em 0 0; font-size: 1rem; color: var(--muted); }
@media (max-width: 820px) { .gates { grid-template-columns: 1fr 1fr; } .gates div:nth-child(2) { border-right: 0; } .gates div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.visit-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--haldi); color: var(--indigo); padding: 28px 32px; border-radius: var(--radius); }
.visit-cta h2 { margin: 0 0 .2em; }
.visit-cta p { margin: 0; }
@media (max-width: 700px) { .visit-cta { grid-template-columns: 1fr; padding: 24px 20px; } }

/* Blog listing */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 24px; }
.post-list .post-art { width: 140px; height: 140px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; }
.post-list .post-art span { font-family: var(--odia); color: var(--haldi); font-size: 2.4rem; }
.post-list h2 { font-size: 1.6rem; margin: 0 0 .3em; }
.post-list h2 a { color: var(--indigo); text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.post-list .meta { font-size: .95rem; color: var(--muted); margin: 0 0 .5em; }
.post-list p { margin: 0 0 .5em; }
@media (max-width: 600px) { .post-list li { grid-template-columns: 1fr; gap: 10px; } .post-list .post-art { width: 72px; height: 72px; } .post-list .post-art span { font-size: 1.4rem; } }

/* FAQ */
.faq { margin-top: 2.5em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--indigo); }
.faq summary { cursor: pointer; padding: 16px 36px 16px 0; font-weight: 700; color: var(--indigo); list-style: none; position: relative; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--hingula); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 12px; }

.sources { margin-top: 2.5em; background: var(--conch); border: 1px dashed #c9bfa8; border-radius: var(--radius); padding: 18px 20px; font-size: 1rem; }
.sources h2 { font-family: var(--body); font-weight: 700; font-size: 1.1rem; margin: 0 0 .5em; }
.sources ul { margin-bottom: .6em; }
.sources p { margin: 0; color: var(--muted); font-size: .95rem; }

.sources h3 { font-family: var(--body); font-weight: 700; font-size: .95rem; color: var(--muted); margin: .8em 0 .3em; }

/* Inline attribution placed next to the fact it supports */
.src-note { font-size: .92rem; color: var(--muted); margin: -.4em 0 1.4em; padding-left: 10px; border-left: 2px solid var(--line); }
.src-note .src-k { font-weight: 700; color: var(--indigo); }
.src-note a { color: var(--muted); }

/* Information / trust note */
.trust { background: #eef0f8; border: 1px solid #c9cde6; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 1.8em; font-size: 1rem; }
.trust p { margin: 0; }
.trust a { color: var(--indigo); }

/* Fact / tradition labels */
.label { display: inline-block; font-family: var(--body); font-size: .8rem; font-weight: 700; line-height: 1.2; padding: 3px 9px; border-radius: 999px; vertical-align: middle; margin: 0 6px 4px 0; cursor: help; }
h3 .label, h2 .label { position: relative; top: -3px; margin-left: 8px; }
.label-record { background: #e3efe8; color: #1f5139; }
.label-tradition { background: var(--haldi-soft); color: #7a4f00; }
.label-belief { background: #f6e3e1; color: var(--hingula-dark); }
.label-interpretation { background: #e9e9ef; color: #3d3f55; }
.legend-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.legend-list li { margin: 0; }

.now-src { font-size: .85rem; color: #aeb1cf; margin-top: 8px !important; }
.now-src a { color: #cfd1e6; }

.related { margin-top: 2.5em; }
.related h2 { font-size: 1.5rem; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 620px; }
.form label { font-weight: 700; color: var(--indigo); display: block; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b8b09d; border-radius: 4px; background: #fff; color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .92rem; color: var(--muted); margin: 4px 0 0; }
.form-status { font-weight: 500; color: var(--leaf); min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--indigo); color: #cfd1e6; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-top: 52px; padding-bottom: 32px; }
.site-footer h2 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #e6e7f2; text-decoration: none; }
.site-footer a:hover { color: var(--haldi); text-decoration: underline; }
.brand-footer, .brand-footer:hover { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-sub { color: #b7badb; display: block; }
.footer-disclaimer { background: rgba(255,255,255,.06); border-left: 3px solid var(--haldi); padding: 10px 12px; font-size: .95rem; }
.footer-disclaimer a { color: var(--haldi); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; padding-bottom: 26px; font-size: .92rem; color: #aeb1cf; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { padding: 70px 0 90px; text-align: center; }
.nf .trinity { max-width: 300px; margin: 0 auto 24px; }
.nf .lead { margin: 0 auto 24px; }
.nf-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }

@media print { .site-header, .notice-strip, .site-footer, .patta, .rail { display: none; } }
