/* Public home page (index.html), 2026-11-11 */
body.home { display: block; background: #fff; min-height: 100%; height: auto; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }

.home-bar { position: sticky; top: 0; z-index: 20; gap: 18px; }
.home-nav { display: flex; align-items: center; gap: 4px; }
.home-nav > a, .nav-menu > summary { padding: 7px 11px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer; white-space: nowrap; }
.home-nav > a:hover, .nav-menu > summary:hover, .nav-menu[open] > summary { background: var(--teal-tint); color: var(--teal-dark); }
.nav-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border-radius: 9px; background: var(--stop); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; display: flex; align-items: center; gap: 5px; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
.nav-menu-list { position: absolute; top: calc(100% + 6px); left: 0; width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(124, 45, 18, .12); padding: 6px; }
.nav-menu-list a { display: block; padding: 9px 11px; border-radius: 7px; color: var(--ink); text-decoration: none; }
.nav-menu-list a:hover, .nav-menu-list a:focus-visible { background: var(--teal-tint); }
.nav-menu-list strong { display: block; font-weight: 600; }
.nav-menu-list span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }

.ticker { display: flex; align-items: center; gap: 12px; padding: 8px 20px; background: #fff7e0; border-bottom: 1px solid #f0dc9f; font-size: 13.5px; flex-wrap: wrap; }
.ticker-label { background: var(--warn); color: #fff; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 4px; }
.ticker a { color: var(--ink); font-weight: 500; }
.ticker .ticker-all { margin-left: auto; color: var(--teal-dark); font-weight: 400; }

.hero { max-width: 1180px; margin: 0 auto; padding: 56px 24px 48px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--teal-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hero h1 { margin: 0 0 14px; font-size: 38px; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.lead { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.big { padding: 10px 20px; font-size: 15px; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.hero-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.hero-note a { color: var(--teal-dark); }
.hero-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(124, 45, 18, .12); }
.hero-shot img { display: block; width: 100%; height: auto; }

.block { padding: 64px 24px; }
.block.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block > *, .about { max-width: 1180px; margin-left: auto; margin-right: auto; }
.block-head { text-align: center; margin-bottom: 32px; }
.block-head.left { text-align: left; margin-bottom: 14px; }
.block-head h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.01em; }
.block-head p { margin: 0 auto; color: var(--muted); max-width: 62ch; font-size: 15px; line-height: 1.5; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-tint); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 6px; font-size: 16.5px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }

.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.about-text p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.65; max-width: 68ch; }
.facts { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.facts h3 { margin: 0 0 10px; font-size: 16px; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 18px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 28px; }
.stat { text-align: center; padding: 20px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.stat .num { font-size: 32px; font-weight: 600; color: var(--teal-dark); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .lbl { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.milestones { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.milestone { border-left: 3px solid var(--teal); background: var(--panel); border-radius: 0 10px 10px 0; padding: 14px 16px; }
.milestone .when { font-size: 12.5px; color: var(--teal-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.milestone h3 { margin: 4px 0 4px; font-size: 16px; }
.milestone p { margin: 0; color: var(--muted); line-height: 1.5; }

.notice-list { display: grid; gap: 12px; max-width: 860px; }
.notice { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.notice.pinned { border-color: #f0dc9f; background: #fffcf2; }
.notice-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.notice h3 { margin: 6px 0 6px; font-size: 16.5px; }
.notice p { margin: 0 0 8px; line-height: 1.55; white-space: pre-line; }
.notice .more { color: var(--teal-dark); font-weight: 500; }
.badge { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 9px; text-transform: uppercase; letter-spacing: .03em; }
.badge.new { background: #fde8e4; color: #a33a22; }
.badge.pin { background: #fff0c7; color: #7a5200; }
.empty-note { text-align: center; color: var(--muted); padding: 22px; border: 1px dashed var(--line); border-radius: 12px; margin: 0; background: #fff; }
.muted { color: var(--muted); }

.home-footer { background: #123c55; color: #d9e6ec; padding: 26px 24px; }
.home-footer-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.f-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.home-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.home-footer a { color: #d9e6ec; }
.home-footer p { margin: 0 0 0 auto; font-size: 13px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .home-bar { flex-wrap: wrap; }
  .home-nav { order: 3; width: 100%; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 29px; }
  .hero, .block { padding-left: 16px; padding-right: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .home-bar .bar-actions .btn { padding: 5px 9px; font-size: 13px; }
  .nav-menu-list { position: fixed; left: 16px; right: 16px; top: auto; width: auto; }
  .home-footer p { margin-left: 0; }
}
a.btn.ghost { color: var(--ink); }

/* ---------- MGUG colour theme (2026-11-12, like web.mgug.ac.in) ---------- */
body.home { background: linear-gradient(160deg, #fffdf9 0%, var(--cream) 45%, #ffedd5 100%) fixed; }
.home-bar { background: rgba(255, 234, 209, .96); border-bottom: 1px solid #fbd3a8; backdrop-filter: blur(6px); }
.home-nav > a:hover, .nav-menu > summary:hover, .nav-menu[open] > summary { background: #fff; color: var(--teal-dark); }
.home-footer { background: #ffedd5; color: #364153; border-top: 3px solid var(--brand); }
.home-footer .f-brand { color: var(--ink); }
.home-footer a { color: var(--teal-dark); font-weight: 500; }
.ticker { background: #fff1e2; border-bottom-color: #fed7aa; }
.ticker-label { background: var(--teal); }
.eyebrow { color: var(--teal-dark); }
.hero h1 .accent { color: var(--brand-strong); }
.hero-shot { border: 2px solid #fdba74; box-shadow: 0 18px 40px rgba(194, 65, 12, .16); }
.block-head h2 { color: var(--brand-strong); font-size: 30px; }
.block-head h2::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--brand); margin: 10px auto 0; }
.block-head.left h2::after { margin-left: 0; }
.block.alt { background: rgba(255, 247, 237, .85); border-color: #fde3c8; }
.feature, .stat, .facts, .notice, .empty-note { background: rgba(255, 255, 255, .92); border: 1.5px solid #fed7aa; border-radius: 14px; }
.feature { transition: border-color .15s, box-shadow .15s, transform .15s; }
.feature:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(194, 65, 12, .12); transform: translateY(-2px); }
.feature .ico { background: #ffedd5; }
.feature .ico svg { stroke: var(--teal); }
.stat .num { color: var(--brand-strong); }
.milestone { border-left-color: var(--brand); background: rgba(255, 255, 255, .8); }
.notice.pinned { border-color: #f0dc9f; background: #fffcf2; }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } .feature:hover { transform: none; } }
