/* BNCC Civic. Shape rule: cards/panels 14px radius, buttons/chips full pill. One accent: Karnataka yellow. */
:root {
	--bg: #f4f5f2;
	--surface: #fbfbf9;
	--sunk: #eaece8;
	--ink: #12161d;
	--muted: #545b66;
	--line: #d9dcdc;
	--accent: #f2c230;
	--accent-2: #e2ad12;
	--on-accent: #12161d;
	--deep: #12161d;
	--on-deep: #f1f2ef;
	--deep-muted: #a8aeb6;
	--ok: #1f7a4d;
	--r: 14px;
	--wrap: 1240px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--shadow: 0 1px 2px rgb(18 22 29 / .05), 0 10px 30px -12px rgb(18 22 29 / .16);
	--font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--kn: "Noto Sans Kannada", "Hanken Grotesk", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, monospace;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f1217;
		--surface: #171b22;
		--sunk: #1d222a;
		--ink: #eceef0;
		--muted: #a3a9b3;
		--line: #2a3039;
		--deep: #0a0d11;
		--on-deep: #eceef0;
		--deep-muted: #9aa1ab;
		--ok: #4cc38a;
		--shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -12px rgb(0 0 0 / .6);
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:lang(kn), [lang="kn"] { font-family: var(--kn); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }

/* Utility bar */
.utility { background: var(--deep); color: var(--deep-muted); font-size: 13.5px; }
.utility-in { display: flex; align-items: center; gap: 14px; min-height: 38px; }
.utility-in > span:first-child { color: var(--on-deep); font-weight: 600; }
.utility-sep { width: 1px; height: 14px; background: #3a414c; }
.utility-help { margin-left: auto; color: var(--accent); text-decoration: none; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .utility-in > span:nth-child(2), .utility-in > span:nth-child(3) { display: none; } }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.is-stuck { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--deep); color: var(--accent); display: grid; place-items: center; font-weight: 800; letter-spacing: -.04em; font-size: 17px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 17px; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); font-size: 13px; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--muted); transition: color .2s, background .2s; }
.nav-list a:hover { color: var(--ink); background: var(--sunk); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; }
.mnav { border-top: 1px solid var(--line); padding: 12px 24px 20px; }
.mnav .nav-list { flex-direction: column; }
.mnav .nav-list a { font-size: 18px; padding: 12px 8px; }
@media (max-width: 960px) { .nav, .head-cta { display: none; } .nav-toggle { display: grid; place-items: center; } }

/* Sections */
.sec { padding: 96px 0; }
.sec-head { margin-bottom: 40px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.sec-h { font-size: clamp(30px, 4vw, 46px); font-weight: 800; max-width: 22ch; }
.sec-kn { color: var(--muted); margin-top: 10px; font-size: 17px; }
.sec-lead { color: var(--muted); max-width: 62ch; margin-top: 16px; font-size: 18px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
@media (max-width: 760px) { .sec { padding: 64px 0; } }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; min-height: min(620px, calc(100dvh - 160px)); }
.hero-kn { font-size: 19px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.hero-h { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 15ch; }
.hero-sub { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.hero-board { background: var(--deep); color: var(--on-deep); border-radius: var(--r); padding: 36px; display: grid; gap: 28px; position: relative; overflow: hidden; isolation: isolate; }
.hero-board::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(242 194 48 / .35), transparent 65%); z-index: -1; }
.hb-num { display: block; font-size: clamp(96px, 12vw, 152px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--accent); }
.hb-label { display: block; margin-top: 10px; font-size: 18px; color: var(--deep-muted); }
.hb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid #2c333d; }
.hb-n { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.hb-l { color: var(--deep-muted); font-size: 14.5px; }
.hb-foot { display: flex; gap: 8px; align-items: center; color: var(--deep-muted); font-size: 14.5px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; } .hero { padding-top: 32px; } }

/* Facts */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-n { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact-l { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Works */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter button { font: inherit; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; }
.filter button span { font-family: var(--mono); font-size: 12px; margin-left: 4px; opacity: .8; }
.filter button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work[hidden] { display: none; }
.work-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.work-media { aspect-ratio: 3 / 2; background: var(--sunk); overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work-media img { transform: scale(1.04); }
.work-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 46px; color: var(--muted); background: repeating-linear-gradient(135deg, var(--sunk) 0 14px, color-mix(in srgb, var(--sunk) 70%, var(--line)) 14px 15px); }
.work-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.work-sec { font-size: 13.5px; color: var(--muted); }
.work-h { font-size: 21px; font-weight: 700; }
.work-x { color: var(--muted); font-size: 15.5px; }
.work-dl { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 0; font-size: 14px; }
.work-dl dt { color: var(--muted); font-size: 12.5px; }
.work-dl dd { margin: 0; font-weight: 600; }
.work-prog { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.work-prog span { flex: 1; height: 4px; position: relative; }
.work-prog span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--accent); border-radius: 4px; }
.work-prog b { font-family: var(--mono); font-size: 13px; }
.work-lead { grid-column: span 2; grid-row: span 2; }
.work-lead .work-link { flex-direction: column; }
.work-lead .work-media { aspect-ratio: 16 / 10; }
.work-lead .work-h { font-size: clamp(24px, 2.6vw, 32px); }
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }
.chip.is-live { background: var(--accent); color: var(--on-accent); }
.chip.is-done { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.chip.is-planned { background: var(--sunk); color: var(--muted); }
.works-empty { color: var(--muted); padding: 24px 0; }
@media (max-width: 960px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .works-grid { grid-template-columns: 1fr; } .work-lead { grid-column: auto; grid-row: auto; } }

.empty { display: flex; gap: 16px; align-items: flex-start; padding: 28px; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); max-width: 640px; }
.empty i { font-size: 32px; color: var(--ink); }
.empty strong { color: var(--ink); }

/* Services */
.services { background: var(--surface); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 40px; }
.svc { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
a.svc:hover { transform: translateY(-3px); border-color: var(--ink); }
.svc i { font-size: 30px; margin-bottom: 6px; }
.svc-t { font-weight: 700; font-size: 19px; }
.svc-d { color: var(--muted); font-size: 15.5px; }
.svc-help { grid-row: span 2; background: var(--deep); color: var(--on-deep); border-color: var(--deep); justify-content: flex-end; min-height: 320px; }
.svc-help i { color: var(--accent); }
.svc-help .svc-d { color: var(--deep-muted); }
.svc-big { font-size: clamp(64px, 8vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.svc-note { background: color-mix(in srgb, var(--accent) 18%, var(--bg)); border-color: transparent; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-help { grid-column: span 2; grid-row: auto; min-height: 0; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc-help { grid-column: auto; } }

/* Message */
.msg-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.msg-face { margin: 0; aspect-ratio: 5 / 6; border-radius: var(--r); overflow: hidden; background: var(--sunk); }
.msg-face img { width: 100%; height: 100%; object-fit: cover; }
.face-ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 56px; font-weight: 800; letter-spacing: -.04em; color: var(--muted); background: var(--sunk); aspect-ratio: 5 / 6; }
.msg-q { margin: 0; }
.msg-q p { font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; max-width: 30ch; }
.msg-q footer { margin-top: 26px; display: flex; flex-direction: column; }
.msg-q footer span { color: var(--muted); }
@media (max-width: 760px) { .msg-grid { grid-template-columns: 1fr; gap: 28px; } .msg-face { max-width: 220px; } }

/* People */
.people { background: var(--surface); border-block: 1px solid var(--line); }
.people-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 20px; scrollbar-width: thin; }
.person { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.person-face { aspect-ratio: 5 / 6; border-radius: var(--r); overflow: hidden; background: var(--sunk); margin-bottom: 10px; }
.person-face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.person-g { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.person-n { font-size: 19px; font-weight: 700; }
.person-r { color: var(--muted); font-size: 15px; }
.person-c { font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }

/* GBA */
.tiers { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; margin-top: 48px; align-items: stretch; }
.tier { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.tier h3 { font-size: 22px; }
.tier p { color: var(--muted); font-size: 15.5px; }
.tier-k { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tier-mid { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.tier-mid .tier-k { color: var(--deep-muted); }
.corps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.corps li { display: flex; justify-content: space-between; padding: 9px 14px; border-radius: 10px; background: #1d232c; font-size: 15.5px; }
.corps li b { font-weight: 600; color: var(--deep-muted); font-family: var(--mono); font-size: 13px; }
.corps li.is-us { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.corps li.is-us b { color: var(--on-accent); }
.committees { margin-top: 48px; }
.committees-h { font-size: 19px; margin-bottom: 16px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* Notices */
.notices-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li + li { border-top: 1px solid var(--line); }
.notice-list a { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; text-decoration: none; transition: padding .3s var(--ease); }
.notice-list a:hover { padding-left: 12px; }
.notice-list time { font-size: 13px; color: var(--muted); line-height: 1.2; }
.notice-list time span { display: block; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.n-body { display: flex; flex-direction: column; gap: 2px; }
.n-kind { font-size: 13px; color: var(--muted); font-weight: 600; }
.n-t { font-weight: 700; font-size: 18px; }
.notice-list i { font-size: 20px; color: var(--muted); }
@media (max-width: 860px) { .notices-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Archive & single */
.page-top { padding-top: 56px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.a-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease); }
.a-card a:hover { transform: translateY(-3px); }
.a-card .person-face { margin: 0; border-radius: 0; }
.a-media { aspect-ratio: 3 / 2; overflow: hidden; }
.a-media img { width: 100%; height: 100%; object-fit: cover; }
.a-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.a-h { font-size: 19px; }
.pager { margin-top: 36px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pager .current { background: var(--ink); color: var(--bg); }
.single-wrap { max-width: 820px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.link-back { text-decoration: none; color: var(--muted); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.single-h { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.single-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; width: 100%; margin: 8px 0; }
.single-dl div { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.single-dl dt { font-size: 13px; color: var(--muted); }
.single-dl dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
.single-media { margin: 0; width: 100%; border-radius: var(--r); overflow: hidden; }
.prose { font-size: 18px; max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.contact-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-foot { background: var(--deep); color: var(--on-deep); padding: 72px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.foot-kn { font-size: 22px; font-weight: 700; color: var(--accent); }
.foot-name { font-size: 18px; font-weight: 700; margin: 4px 0 12px; }
.site-foot .muted { color: var(--deep-muted); max-width: 42ch; font-size: 15px; }
.foot-h { font-size: 15px; color: var(--deep-muted); font-weight: 600; margin-bottom: 14px; letter-spacing: 0; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.foot-list li { display: flex; gap: 10px; align-items: flex-start; }
.foot-list i { color: var(--accent); margin-top: 4px; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid #262c35; color: var(--deep-muted); font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
	.js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
