/* IIACH — Indian Institute of Archaeology, Culture & Heritage
   Premium institutional design system. Conceptual institute portal. */

:root {
  --red: #6b1c1c;
  --red-deep: #4a1010;
  --red-soft: #8b3030;
  --sand: #c4a574;
  --sand-light: #e6d3b0;
  --gold: #c9a227;
  --gold-dim: #9a7a1a;
  --ivory: #f7f1e5;
  --paper: #fbf7f0;
  --parchment: #efe4ce;
  --charcoal: #1c1917;
  --ink: #1a1612;
  --brown: #3d2914;
  --muted: #3d5a4c;
  --muted-soft: #5a7a68;
  --slate: #4a433a;
  --line: #d9cbb0;
  --line-strong: #b9a888;
  --white: #fffdf8;
  --focus: #0b57d0;
  --ok: #2f6b4f;
  --warn: #8a5a12;
  --new: #8b1e1e;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.14);
  --radius: 4px;
  --header-h: 118px;
  --font-sans: "Source Sans 3", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  --font-serif: "Merriweather", "Noto Serif Devanagari", Georgia, serif;
  --font-hi: "Noto Sans Devanagari", "Source Sans 3", sans-serif;
  --max: 1240px;
  --fs: 100%;
}

html[data-theme="contrast"] {
  --ivory: #fff;
  --paper: #fff;
  --ink: #000;
  --charcoal: #000;
  --line: #222;
  --red: #5a0000;
  --gold: #6b5400;
}

html { font-size: var(--fs); scroll-behavior: smooth; }
html.reduce-motion, html.reduce-motion * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.tricolor { display: flex; height: 6px; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: #ff9933; }
.tricolor span:nth-child(2) { background: #fff; }
.tricolor span:nth-child(3) { background: #138808; }
.search-panel { display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input { flex: 1; border: 1px solid var(--line-strong); padding: 10px 12px; font: inherit; }
.empty-state { background: #fff; border: 1px dashed var(--line-strong); padding: 28px; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tl-item b { color: var(--red); font-family: var(--font-serif); }
.logo-mark { background: #fffdf8 !important; box-shadow: inset 0 0 0 2px #c9a227, 0 4px 14px rgba(0,0,0,.12) !important; }
.logo-mark img { object-fit: contain; padding: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10000;
  background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.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;
}

/* Utility bar */
.util {
  background: var(--red-deep);
  color: #f3e6c8;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(201,162,39,.35);
}
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; flex-wrap: wrap; }
.util a, .util button {
  color: #f3e6c8; background: none; border: 0; font: inherit; cursor: pointer; padding: 4px 6px;
}
.util a:hover, .util button:hover { color: #fff; }
.util-left, .util-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.util .sep { opacity: .45; }
.fs-ctrl { display: inline-flex; gap: 2px; }
.fs-ctrl button { min-width: 28px; border: 1px solid rgba(243,230,200,.25); border-radius: 2px; }
.lang-btn[aria-pressed="true"] { color: var(--gold); font-weight: 700; }

/* Brand header */
.brandbar {
  background: linear-gradient(180deg, #fffdf8 0%, #f3ead6 100%);
  border-bottom: 3px solid var(--red);
  position: relative;
}
.brandbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sand), var(--gold));
}
.brandbar .wrap {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 12px 0 14px;
}
.logo-lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo-mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3e0b0, #c9a227 40%, #6b1c1c 78%);
  display: grid; place-items: center; flex: 0 0 72px;
  box-shadow: inset 0 0 0 3px #3d2914, 0 4px 12px rgba(0,0,0,.18);
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-text .hi { display: block; font-family: var(--font-hi); font-weight: 700; font-size: 1.02rem; color: var(--red-deep); line-height: 1.35; }
.logo-text .en { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.4; word-spacing: 0.08em; }
.logo-text .short { display: block; letter-spacing: .18em; font-size: .72rem; color: var(--gold-dim); font-weight: 700; margin-top: 2px; }
.tagline { text-align: center; font-family: var(--font-serif); font-style: italic; color: var(--brown); font-size: .95rem; }
.brand-tools { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius); cursor: pointer; color: var(--ink);
}
.icon-btn:hover { border-color: var(--red); color: var(--red); }

/* Mega nav */
.navwrap { background: var(--charcoal); position: sticky; top: 0; z-index: 50; }
.nav {
  display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none;
}
.nav > li { position: relative; }
.nav > li > a, .nav > li > button.nav-top {
  display: block; color: #f6edd8; text-decoration: none; background: none; border: 0;
  font: 600 0.72rem/1.1 var(--font-sans); letter-spacing: .03em; text-transform: uppercase;
  padding: 12px 8px; cursor: pointer; white-space: nowrap;
}
.nav > li > a:hover, .nav > li > button.nav-top:hover,
.nav > li:focus-within > a, .nav > li:focus-within > button.nav-top,
.nav > li.active > a {
  background: var(--red); color: #fff;
}
.mega {
  display: none; position: absolute; left: 0; top: 100%;
  background: #fffdf8; min-width: min(920px, 92vw); padding: 22px;
  box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold); z-index: 60;
}
.nav > li:hover > .mega, .nav > li:focus-within > .mega { display: grid; }
.mega.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 8px 28px; }
.mega.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 8px 28px; }
.mega a { display: block; color: var(--ink); text-decoration: none; padding: 5px 0; font-size: .92rem; }
.mega a:hover { color: var(--red); }
.mega h3 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

/* Notice ticker */
.ticker {
  background: #efe4ce; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
}
.ticker-label {
  background: var(--red); color: #fff; font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px;
}
.ticker-track { overflow: hidden; white-space: nowrap; }
.ticker-move { display: inline-flex; gap: 40px; animation: marquee 42s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker a { color: var(--ink); text-decoration: none; font-size: .9rem; }
.ticker .badge-new { background: var(--new); color: #fff; font-size: .65rem; padding: 1px 6px; margin-right: 6px; border-radius: 2px; font-weight: 700; }
@keyframes marquee { to { transform: translateX(-100%); } }
.ticker-all { padding: 0 14px; font-size: .85rem; font-weight: 700; }

/* Hero */
.hero { position: relative; min-height: 72vh; color: #fff; overflow: hidden; background: #1a1210; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.is-on { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,10,8,.78) 0%, rgba(20,10,8,.35) 55%, rgba(20,10,8,.2) 100%);
}
.hero-copy { position: relative; z-index: 2; width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 90px 0 70px; }
.kicker { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.18; margin: 10px 0 12px; max-width: 22ch; }
body { word-spacing: 0.02em; }
.hero .sub { font-size: 1.15rem; max-width: 40rem; color: #f3e6c8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; padding: 11px 18px; border-radius: 2px;
  font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ddb63a; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-line { background: transparent; color: var(--red); border-color: var(--red); }
.btn-line:hover { background: var(--red); color: #fff; }

.disclaimer { display: none; }
.gov-rail {
  background: #2a1a12; border-bottom: 1px solid #4a3220;
}
.gov-rail .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  min-height: 34px; font-size: .78rem; letter-spacing: .02em;
}
.gov-rail a { color: #f3e6c8; text-decoration: none; }
.gov-rail a:hover { color: #fff; }
.min-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.min-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.min-photo {
  height: 280px; overflow: hidden; background: #1c1917;
}
.min-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
.min-card .body { padding: 18px 20px 22px; }
.min-card h3 { margin: 0 0 4px; font-family: var(--font-serif); color: var(--red-deep); }
.min-card .role { color: var(--brown); font-weight: 700; margin: 0 0 10px; }
.org-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.org-feature article { background: #fff; border-top: 4px solid var(--gold); padding: 22px 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.org-feature article h3 { margin-top: 0; }
.announce-list { list-style: none; margin: 0; padding: 0; }
.announce-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.announce-list time { display: block; font-size: .78rem; color: var(--gold-dim); font-weight: 700; letter-spacing: .06em; }
.scheme-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scheme-list a {
  display: block; background: #fff; border: 1px solid var(--line); padding: 12px 14px;
  text-decoration: none; color: var(--ink); font-weight: 650;
}
.scheme-list a:hover { border-color: var(--red); color: var(--red); }
.portal-strip {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px;
  padding-top: 16px; border-top: 1px solid #3a3228; font-size: .88rem;
}
.portal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.portal-chips a {
  display: inline-flex; align-items: center; padding: 8px 12px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650;
}
.portal-chips a:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 820px) {
  .min-grid, .org-feature, .scheme-list { grid-template-columns: 1fr; }
}

/* Sections */
section { padding: 64px 0; }
.sec-alt { background: var(--ivory); }
.sec-dark { background: var(--charcoal); color: #f6edd8; }
.sec-sand { background: linear-gradient(180deg, #f3ead6, #efe4ce); }
.eyebrow { color: var(--gold-dim); letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; font-weight: 700; }
h2.sec-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 10px; color: var(--red-deep); }
.sec-dark h2.sec-title { color: #f6edd8; }
.lead { font-size: 1.08rem; max-width: 70ch; color: var(--slate); }
.sec-dark .lead { color: #d9cbb0; }

.grid-2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-7 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-family: var(--font-serif); color: var(--brown); }

.frame {
  position: relative; border: 1px solid var(--line-strong); padding: 8px; background: #fff;
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 340px; object-fit: cover; }
.frame figcaption { font-size: .82rem; color: var(--slate); padding: 8px 4px 2px; }

.card {
  background: var(--white); border: 1px solid var(--line); padding: 20px 18px;
  box-shadow: var(--shadow); height: 100%;
}
.card h3 { margin: 8px 0 8px; font-family: var(--font-serif); font-size: 1.15rem; color: var(--red-deep); }
.card p { margin: 0; color: var(--slate); }
.card .icon { width: 36px; height: 36px; color: var(--gold-dim); }

.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.stat {
  text-align: center; background: var(--white); border: 1px solid var(--line); padding: 18px 8px;
}
.stat b { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--red); }
.stat span { font-size: .82rem; color: var(--slate); }
.note { font-size: .82rem; color: var(--warn); margin-top: 12px; }

.heritage-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.htile {
  position: relative; min-height: 160px; overflow: hidden; color: #fff; text-decoration: none;
  display: flex; align-items: flex-end; padding: 12px; background: #3d2914 center/cover no-repeat;
}
.htile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.htile span { position: relative; font-weight: 700; }

.media-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; height: 100%; }
.media-card img { width: 100%; height: 180px; object-fit: cover; }
.media-card .body { padding: 14px 16px 18px; }
.media-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-family: var(--font-serif); }
.chip { display: inline-block; background: var(--parchment); color: var(--brown); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; margin-bottom: 8px; }

table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
table.data th { background: var(--red-deep); color: #f6edd8; font-size: .82rem; letter-spacing: .04em; }
table.data tr:nth-child(even) td { background: #faf6ee; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.filters input, .filters select, .field input, .field select, .field textarea {
  border: 1px solid var(--line-strong); background: #fff; padding: 9px 10px; font: inherit; min-width: 160px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .9rem; }
.req { color: var(--red); }

.page-hero {
  background: linear-gradient(120deg, rgba(26,18,16,.82), rgba(107,28,28,.55)), var(--hero, #3d2914) center/cover;
  color: #fff; padding: 54px 0 40px;
}
.crumb { font-size: .86rem; color: #f3e6c8; margin-bottom: 8px; }
.crumb a { color: #f3e6c8; }
.page-hero h1 { font-family: var(--font-serif); margin: 0 0 8px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

.org-tree { display: grid; gap: 10px; justify-items: center; text-align: center; }
.org-box { background: #fff; border: 1px solid var(--line-strong); padding: 12px 18px; min-width: 220px; box-shadow: var(--shadow); }
.org-box.lead { background: var(--red-deep); color: #fff; }
.org-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.gallery { columns: 4 220px; column-gap: 10px; }
.gallery a { break-inside: avoid; display: block; margin: 0 0 10px; position: relative; }
.gallery img { width: 100%; }
.gallery figcaption { font-size: .78rem; padding: 6px 2px; color: var(--slate); }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; place-items: center; z-index: 200; padding: 24px; }
.lightbox.is-on { display: grid; }
.lightbox img { max-height: 82vh; max-width: 92vw; }
.lightbox button { position: absolute; top: 16px; right: 16px; }

.map-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
#india-map { width: 100%; height: auto; background: #f3ead6; border: 1px solid var(--line); }
#india-map path { fill: #c4a574; stroke: #6b1c1c; stroke-width: .6; cursor: pointer; }
#india-map path:hover, #india-map path.active { fill: #6b1c1c; }
.state-panel { background: #fff; border: 1px solid var(--line); padding: 18px; }

.search-hit { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-hit h3 { margin: 0 0 4px; font-size: 1.1rem; }

.vacancy {
  background: #fff; border: 1px solid var(--line); padding: 18px; margin-bottom: 14px;
}
.vacancy h3 { margin: 0 0 8px; font-family: var(--font-serif); }
.vacancy.is-open {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fffdf4, #fff);
}
.vacancy.is-closed { opacity: .68; filter: grayscale(.15); }
.vacancy.is-closed h3 { color: var(--slate); }
.vacancy.is-closed .chip { background: #5c5348; color: #f3e6c8; }
.btn.is-disabled, .btn[aria-disabled="true"] {
  pointer-events: none; opacity: .55; cursor: not-allowed;
}
.vac-actions { margin-top: 14px; }
.eform-hero {
  max-width: 42rem; margin: 0 auto; text-align: center;
}
.eform-hero .vacancy { text-align: left; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; color: var(--slate); }
.sample { display: inline-block; background: #fff3c4; color: #5a4300; font-size: .72rem; font-weight: 800; padding: 2px 7px; }

.offcanvas {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 92vw); background: #fffdf8;
  transform: translateX(100%); transition: transform .28s ease; z-index: 80;
  overflow: auto; padding: 20px; box-shadow: var(--shadow-lg);
}
.offcanvas.open { transform: none; }
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; z-index: 70; }
.backdrop.open { display: block; }

.footer {
  background: #161210; color: #e8dcc4; padding: 48px 0 18px;
  background-image: radial-gradient(rgba(201,162,39,.08) 1px, transparent 1px);
  background-size: 18px 18px;
}
.footer a { color: #e8dcc4; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer h3 { color: var(--gold); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 7px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #3a3228; margin-top: 28px; padding-top: 16px; font-size: .84rem; color: #c9b896; }
.policy-row { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 10px 0; }

.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #161210; color: #eadfc8; padding: 18px; }
.admin-side a { color: #eadfc8; display: block; padding: 8px 0; text-decoration: none; }
.admin-main { padding: 24px; background: #f4efe4; }
.kpi { background: #fff; border: 1px solid var(--line); padding: 16px; }

.skeleton { background: linear-gradient(90deg, #efe4ce, #f7f1e5, #efe4ce); background-size: 200% 100%; animation: sk 1.2s infinite; min-height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

.accordion details { border: 1px solid var(--line); background: #fff; margin-bottom: 8px; }
.accordion summary { cursor: pointer; padding: 12px 14px; font-weight: 700; }
.accordion details > div { padding: 0 14px 14px; }

.share { display: flex; gap: 8px; margin: 12px 0; }

@media print {
  .util, .navwrap, .ticker, .hero-cta, .footer, .brand-tools, .offcanvas, .backdrop, .share, .filters { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 12px 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
  @page { size: A4; margin: 16mm; }
}

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .heritage-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: repeat(2, 1fr); }
  .tagline { display: none; }
  .brandbar .wrap { grid-template-columns: 1fr auto; }
  .map-wrap { grid-template-columns: 1fr; }
}
.mobile-only { display: none !important; }
.offcanvas nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 650; }
.offcanvas h2 { font-family: var(--font-serif); }
.offcanvas button { margin-bottom: 16px; }

@media (max-width: 820px) {
  .mobile-only { display: inline-flex !important; }
  .desktop-nav { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-grid, .heritage-grid { grid-template-columns: repeat(2, 1fr); }
  .admin { grid-template-columns: 1fr; }
  .hero { min-height: 62vh; }
  .logo-mark { width: 56px; height: 56px; flex-basis: 56px; }
  table.data { display: block; overflow-x: auto; }
}
@media (max-width: 520px) {
  .stat-grid, .heritage-grid, .grid-4, .footer .cols { grid-template-columns: 1fr; }
  .util .wrap { justify-content: center; }
  .hero-copy { padding: 56px 0 48px; }
}

html[lang="hi"] body { font-family: var(--font-hi); }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 {
  font-family: "Noto Serif Devanagari", "Merriweather", serif;
}
