/* SDME portal: warm ivory, gold and navy. Mobile-first app feel under 900px, floating-pill desktop layout above. */
:root {
  --bg: #FBF8F2; --card: #FFFEFB; --ink: #1E2A3C; --muted: #5C6677; --line: #EDE5D6;
  --gold: #C49A4F; --gold-d: #8A5F1C; --gold-l: #F3E6C8; --sand: #EAE5D9; --peach: #FDE6C4; --navy: #1B2638;
  --open: #2E6B4A; --closed: #8A5F1C; --c: var(--gold-d);
  --shadow: 0 10px 30px rgba(120, 90, 40, .10); --shadow-s: 0 2px 10px rgba(120, 90, 40, .07);
  --hdr-h: 72px; --tab-h: 66px; --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --font-body: "DM Sans", "Noto Sans Kannada", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Newsreader", "Noto Serif Kannada", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; background: var(--bg); color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); overflow-x: hidden; padding-bottom: calc(var(--tab-h) + 30px + var(--safe-b)); touch-action: manipulation; }
html[lang="kn"] body { line-height: 1.72; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.18; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em, .quote em { color: var(--gold); font-style: italic; }
p { margin: 0; } ul { margin: 0; padding: 0; list-style: none; } a { color: inherit; } img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: #1b1b1b; padding: 10px 14px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1100px) { .wrap { padding-inline: 32px; } }
main { animation: enter .25s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.eyebrow { font: 600 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.muted { color: var(--muted); }

/* Floating pill header */
.site-header { position: sticky; top: 0; z-index: 50; padding: calc(10px + var(--safe-t)) 12px 6px; pointer-events: none; }
.pill-bar { pointer-events: auto; max-width: 1200px; margin-inline: auto; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 253, 247, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; padding: 7px 8px 7px 10px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__mark { display: grid; flex: none; } .brand__mark svg, .brand__logo { width: 40px; height: 40px; }
.brand__logo { object-fit: contain; border-radius: 50%; }
.brand__text { display: grid; line-height: 1.15; min-width: 0; }
.brand__text strong { font: 600 .92rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__text small { font: 600 .58rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); white-space: nowrap; }
.mainnav { display: none; }
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; font-size: .82rem; font-weight: 600; padding: 0 11px; border-radius: 999px; min-height: 32px; display: grid; place-items: center; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.util { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-l); color: var(--gold-d); text-decoration: none; }
@media (max-width: 420px) { .brand__text small { display: none; } .brand__text strong { letter-spacing: .08em; font-size: .86rem; } .pill-bar { gap: 6px; } }
@media (min-width: 900px) {
  :root { --hdr-h: 84px; }
  body { padding-bottom: 0; }
  .mainnav { display: block; margin-inline: auto; }
  .mainnav ul { display: flex; gap: 4px; }
  .mainnav a { display: block; padding: 8px 14px; text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--ink); border-bottom: 2px solid transparent; border-radius: 0; }
  .mainnav a:hover { color: var(--gold-d); }
  .mainnav a[aria-current="page"] { color: var(--gold-d); border-color: var(--gold); font-weight: 600; }
  .pill-bar { padding-inline: 14px 10px; }
}

/* Bottom tab bar (phones and tablets) */
.bottomnav { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(10px + var(--safe-b)); width: min(calc(100% - 20px), 520px); height: var(--tab-h); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; background: rgba(255, 253, 247, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 12px 32px rgba(80, 60, 20, .2); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 500; min-width: 0; border-radius: 22px; transition: transform .12s; }
.bottomnav a span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bottomnav a:active { transform: scale(.95); }
.bottomnav a[aria-current="page"] { background: var(--gold-l); color: var(--gold-d); font-weight: 600; }
@media (min-width: 900px) { .bottomnav { display: none; } }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: 600 .92rem var(--font-body); border: 1.5px solid var(--navy); cursor: pointer; transition: transform .12s, background-color .15s; }
.btn:hover { background: #2A3A55; } .btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--gold-d); border-color: var(--gold); } .btn--ghost:hover { background: var(--gold-l); }
.btn--gold { background: linear-gradient(135deg, #DDBB7A, #B8893C); border-color: #B8893C; color: #1B1608; } .btn--gold:hover { background: linear-gradient(135deg, #E6C789, #C09445); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font: 600 .68rem var(--font-body); letter-spacing: .09em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--sand); color: var(--gold-d); }
html[lang="kn"] .badge { letter-spacing: .02em; text-transform: none; font-size: .78rem; }
.badge--accent { background: var(--gold-l); } .badge--open { background: #E1EFE6; color: var(--open); }
.badge--open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--open); margin-right: 6px; vertical-align: 1px; }
.badge--closed { background: #F4E7D2; color: var(--closed); }

/* Carousel (home hero and detail pages) */
.carousel { position: relative; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; border-radius: inherit; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden; }
.slide img, .slide svg.media__ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255, 253, 247, .9); color: var(--ink); display: none; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 3; }
.car-btn:hover { background: #fff; } .car-btn--prev { left: 12px; } .car-btn--next { right: 12px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 4px; z-index: 3; }
.dot { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; display: grid; place-items: center; cursor: pointer; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.6); transition: width .2s, background-color .2s; }
.dot[aria-current="true"]::before { width: 24px; background: #fff; }
.counter { position: absolute; right: 12px; top: 12px; z-index: 3; background: rgba(18,24,36,.58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 .78rem var(--font-body); padding: 4px 10px; border-radius: 999px; }
@media (min-width: 640px) { .car-btn { display: grid; } }

/* Home hero slider */
.heroslider { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.heroslider .slide { min-height: clamp(400px, 62vw, 540px); display: flex; align-items: flex-end; color: #fff; }
.slide__bg { position: absolute; inset: 0; } .slide__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,44,.15) 15%, rgba(20,28,44,.82)); }
.slide__body { position: relative; z-index: 2; padding: 24px 22px 56px; max-width: 760px; }
.slide__body h1, .slide__body h2 { font-size: clamp(1.9rem, 5.4vw, 3.5rem); font-weight: 500; text-wrap: balance; }
.slide__body em { color: #F1D18F; }
.slide__body p { margin: 12px 0 20px; max-width: 52ch; opacity: .92; font-size: clamp(.98rem, 2.2vw, 1.1rem); }
@media (min-width: 900px) { .slide__bg::after { background: linear-gradient(90deg, rgba(20,28,44,.85) 5%, rgba(20,28,44,.2) 75%); } .slide__body { padding: 56px 64px 64px; align-self: center; } .dots { justify-content: flex-start; left: 64px; bottom: 26px; } }

/* Quick launcher panel */
.quick-panel { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 16px; box-shadow: var(--shadow-s); display: grid; gap: 16px; }
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px 0 18px; min-height: 52px; color: var(--muted); }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); min-height: 48px; outline: none; }
.searchbar:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,79,.3); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 4px; }
.quick__item { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; text-align: center; font-size: .78rem; font-weight: 600; line-height: 1.2; padding: 2px; transition: transform .12s; }
.quick__item:active { transform: scale(.95); }
.quick__ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
@media (min-width: 900px) { .quick-panel { grid-template-columns: minmax(280px, 380px) 1fr; align-items: center; padding: 18px 24px; } .quick { grid-template-columns: repeat(8, 1fr); } .quick__item:hover .quick__ic { background: var(--c); color: #fff; } .quick__item { font-size: .82rem; } }

/* Sections */
.block { padding-top: 34px; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.block__head h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-d); font-weight: 600; text-decoration: none; font-size: .92rem; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.panel-split { border-radius: 34px; padding: 22px 16px 16px; background: var(--sand); }
@media (min-width: 900px) { .panel-split { padding: 30px 32px 28px; background: linear-gradient(90deg, var(--sand) 0 62%, var(--peach) 62% 100%); } }
.panel-split .block__head { margin-bottom: 18px; }
.quote { margin: 0; border-left: 3px solid var(--gold); background: #FBF3E0; padding: 22px 24px; border-radius: 0 20px 20px 0; }
.quote p { font: italic 500 clamp(1.15rem, 3vw, 1.6rem)/1.45 var(--font-head); color: var(--gold-d); max-width: 46ch; }
.quote .eyebrow { display: block; margin-top: 12px; }

/* List page header + filters */
.pagehead { padding-top: 26px; }
.pagehead h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin-top: 6px; }
.pagehead p { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.filterbar { position: sticky; top: calc(var(--hdr-h) + var(--safe-t) - 6px); z-index: 40; background: linear-gradient(var(--bg) 82%, transparent); padding-block: 16px 12px; display: grid; gap: 12px; }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 48px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); min-height: 44px; outline: none; }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,79,.3); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px 40px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; scroll-snap-align: start; font: 500 .92rem var(--font-body); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 42px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: transform .12s; text-decoration: none; }
.pill:active { transform: scale(.96); } .pill__n { font-size: .78rem; color: var(--muted); }
.pill[aria-pressed="true"], .pill[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); } .pill[aria-pressed="true"] .pill__n { color: #fff; opacity: .8; }
@media (min-width: 900px) { .filterbar { grid-template-columns: minmax(260px, 340px) 1fr; align-items: center; } .pills { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } }
.results { color: var(--muted); font-size: .88rem; margin: 6px 2px 12px; }
.group { margin-bottom: 26px; } .group__title { font-size: 1.5rem; margin: 10px 2px 14px; }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 24px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 2px 16px 12px; scroll-padding-inline: 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; } .rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .18s, box-shadow .18s; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.card--flat { padding: 18px; gap: 10px; } .card--flat:hover { transform: none; }
.media { position: relative; display: block; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--c) 30%, #fff); overflow: hidden; }
.media img, .media svg.media__ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
@media (hover: hover) { .card:hover .media img, .card:hover .media svg.media__ph { transform: scale(1.04); } }
.media__cat, .media__count { position: absolute; top: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(18, 24, 36, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 .72rem var(--font-body); padding: 4px 10px 4px 8px; border-radius: 999px; }
.media__cat { left: 10px; } .media__count { right: 10px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.3rem; overflow-wrap: anywhere; } .card__title a { text-decoration: none; } .card__title a:hover { color: var(--gold-d); }
.card__desc { color: var(--muted); font-size: .97rem; overflow-wrap: anywhere; }
.meta { display: grid; gap: 4px; color: var(--muted); font-size: .88rem; }
.meta li { display: flex; gap: 8px; align-items: flex-start; } .meta .ic { flex: none; margin-top: 4px; color: var(--gold); }
.card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; } .card__actions .btn { flex: 1 1 auto; }
.tile { flex: none; width: 52px; height: 52px; border-radius: 17px; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); display: grid; place-items: center; }
.card__top { display: flex; gap: 12px; align-items: center; } .card__head { min-width: 0; }

/* Detail page */
.crumbs { display: flex; align-items: center; gap: 10px; padding-top: 18px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-d); font-weight: 600; text-decoration: none; min-height: 36px; }
.gallery { margin-top: 12px; }
.gallery .carousel { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.gallery .slide { aspect-ratio: 16 / 10; } @media (min-width: 900px) { .gallery .slide { aspect-ratio: 21 / 9; } }
.gallery .dots { bottom: 10px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; } .thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 96px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--sand); cursor: pointer; opacity: .75; }
.thumb img, .thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; } .thumb[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.detail { display: grid; gap: 28px; padding-top: 26px; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 44px; align-items: start; } .sidecol { position: sticky; top: 110px; } }
.detail h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); margin: 8px 0 14px; text-wrap: balance; }
.lead { font-size: 1.12rem; color: var(--ink); margin: 16px 0; max-width: 62ch; }
.prose p { margin: 0 0 14px; max-width: 68ch; color: var(--muted); } .prose h2 { font-size: 1.5rem; margin: 26px 0 10px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-s); }
.facts h2 { font: 600 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); padding: 18px 20px 6px; }
.fact { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.fact:first-of-type { border-top: 0; }
.fact dt { font: 600 .68rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.fact dd { margin: 0; font: 500 1.05rem/1.4 var(--font-head); overflow-wrap: anywhere; }
.notfound { text-align: center; padding: 70px 0 30px; } .notfound h1 { font-size: 2.2rem; margin: 10px 0; } .notfound .btn { margin-top: 18px; }

/* Footer */
.footer { margin-top: 48px; background: var(--navy); color: #E9E2D2; border-radius: 34px 34px 0 0; padding: 34px 0 20px; }
.footer__grid { display: grid; gap: 22px; } @media (min-width: 800px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; } }
.footer__name { font: 500 1.25rem var(--font-head); color: #fff; } .footer__muted { opacity: .75; margin-top: 6px; max-width: 42ch; font-size: .95rem; }
.footer__links { display: grid; gap: 0; } .footer__links a { display: inline-block; padding: 6px 0; text-decoration: none; color: #E6C98C; font-weight: 500; } .footer__links a:hover { text-decoration: underline; }
.footer__copy { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) { *, main { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .bottomnav, .filterbar, .car-btn, .dots { display: none; } body { padding: 0; } }

/* ---- Navigation: full link bar only from 1100px; tab bar below ---- */
@media (min-width: 900px) and (max-width: 1099px) {
  :root { --hdr-h: 72px; }
  body { padding-bottom: calc(var(--tab-h) + 30px + var(--safe-b)); }
  .mainnav { display: none; }
  .bottomnav { display: grid; }
}
@media (min-width: 1100px) { .mainnav a { padding: 8px 10px; font-size: .84rem; } }

/* ---- People, honours, news, steps, menu, gallery ---- */
.people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-s); display: grid; gap: 12px; align-content: start; }
.person__ph { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--gold-l); display: grid; place-items: center; }
.person__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar { font: 500 1.9rem var(--font-head); color: var(--gold-d); letter-spacing: .04em; }
.person h3 { font-size: 1.2rem; } .person__role { font: 600 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-top: 4px; }
.person__bio { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.person--feature { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
.person--feature .person__ph { width: 100%; max-width: 280px; height: auto; aspect-ratio: 4 / 4.6; border-radius: 26px; }
.person--feature h3 { font-size: 1.6rem; }
@media (min-width: 720px) { .person--feature { grid-template-columns: 280px 1fr; align-items: center; } }
.honours { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.honour { background: var(--card); border-radius: 26px; padding: 22px 18px 20px; text-align: center; display: grid; justify-items: center; gap: 10px; text-decoration: none; box-shadow: var(--shadow-s); transition: transform .18s; }
@media (hover: hover) { a.honour:hover { transform: translateY(-3px); } }
.honour__medal { width: 84px; height: 84px; display: grid; place-items: center; } .honour__medal svg, .honour__medal img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(120,90,40,.3)); }
.honour__year { font: 600 .78rem var(--font-body); padding: 3px 16px; border-radius: 999px; background: linear-gradient(135deg, #E3C581, #B8893C); color: #2A1D05; }
.honour h3 { font: 600 1.15rem var(--font-head); } .honour p { color: var(--muted); font-size: .88rem; }
.ticks { display: grid; gap: 10px; margin: 10px 0 4px; } .ticks li { display: flex; gap: 12px; align-items: flex-start; } .ticks .ic { flex: none; color: var(--gold); margin-top: 3px; }
.steps { display: grid; gap: 12px; counter-reset: s; } @media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-s); }
.steps__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-l); color: var(--gold-d); display: grid; place-items: center; font: 600 1rem var(--font-head); }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.news .media__cat { max-width: calc(100% - 20px); }
.menu-grid { display: grid; gap: 12px; grid-template-columns: 1fr; } @media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
.menu-tile { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px 16px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow-s); transition: transform .12s; } .menu-tile:active { transform: scale(.97); }
.menu-tile > span:nth-child(2) { flex: 1; } .menu-tile .ic:last-child { color: var(--gold); }
.gallery-grid { columns: 2; column-gap: 12px; } @media (min-width: 700px) { .gallery-grid { columns: 3; } } @media (min-width: 1100px) { .gallery-grid { columns: 4; } }
.gimg { display: block; margin: 0 0 12px; border-radius: 20px; overflow: hidden; break-inside: avoid; background: var(--sand); box-shadow: var(--shadow-s); }
.gimg img { display: block; width: 100%; height: auto; transition: transform .4s; } @media (hover: hover) { .gimg:hover img { transform: scale(1.04); } }
.lightbox { border: 0; border-radius: 24px; padding: 14px; width: min(92vw, 900px); background: var(--card); color: var(--ink); text-align: center; }
.lightbox::backdrop { background: rgba(15, 20, 32, .72); }
.lightbox img { max-width: 100%; max-height: 68vh; border-radius: 14px; display: block; margin: 0 auto; }
.lightbox p { margin: 10px 0; font: 500 1.1rem var(--font-head); }
.lightbox__x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; z-index: 2; } .lightbox__x .ic { transform: rotate(45deg); }
