@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/barlow-600.woff2) format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/barlow-700.woff2) format("woff2");
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/literata.woff2) format("woff2");
}
:root {
  --red: #c8102e;
  --red-deep: #8e0c20;
  --ink: #1b1210;
  --paper: #f4ece3;
  --card: #fffdfb;
  --gold: #e4b75a;
  --brown: #3a1614;
  --muted: #6d5c56;
  --line: rgba(27, 18, 16, .12);
  --ok: #0f7a45;
  --wa: #1faa59;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(200, 16, 46, .08), transparent 50%),
    var(--paper);
  font-family: Literata, Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  padding-bottom: 76px;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.sheet section { content-visibility: auto; contain-intrinsic-size: auto 480px; }
.display { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 60; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; border: 0; cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px; font-weight: 600; letter-spacing: .04em;
  padding: 12px 18px; border-radius: 4px;
}
.btn-gold { background: var(--gold); color: #2a1608; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-red { background: var(--red); color: #fff; width: 100%; }
.btn-wa { background: var(--wa); color: #fff; }
.btn:hover { filter: brightness(1.05); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brown); color: #f6e7d4;
  font-family: "Barlow Condensed", sans-serif; letter-spacing: .06em; font-size: 14px;
}
.topbar .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: #f6e7d4; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(160deg, #e31b32 0%, var(--red) 55%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: 0 2px 14px rgba(40, 0, 8, .18);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; line-height: 0; }
.brand img { height: 58px; width: auto; display: block; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a,
.menu > li > button {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: "Barlow Condensed", sans-serif; font-size: 17px; letter-spacing: .03em;
  color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 4px; white-space: nowrap;
}
.menu > li > a:hover,
.menu > li > button:hover,
.menu > li.open > button { background: rgba(255, 255, 255, .14); color: #fff; }
.menu > li > a[aria-current="page"] { color: var(--gold); }
.caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .15s; }
.menu > li.open .caret { transform: rotate(-135deg); margin-top: 2px; }

/* Mega dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  display: none; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 2px 18px;
  background: #fff; color: var(--ink);
  padding: 14px 16px; border-radius: 10px; min-width: 440px;
  box-shadow: 0 20px 48px rgba(40, 0, 8, .24); border: 1px solid var(--line);
}
.menu > li.open .dropdown { display: grid; }
.dropdown .col-title {
  grid-column: 1 / -1; font-family: "Barlow Condensed", sans-serif; letter-spacing: .14em;
  font-size: 12px; color: var(--red); margin: 6px 0 2px;
}
.dropdown .col-title.second { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.dropdown a {
  display: block; text-decoration: none; color: var(--ink);
  padding: 7px 10px; border-radius: 6px; font-size: 15px;
}
.dropdown a:hover { background: var(--paper); color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { font-size: 16px; padding: 9px 14px; }

/* Hamburger */
.burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: 4px;
  color: #fff;
}
.burger span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; margin: 5px 0; transition: .2s; }
.nav.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (inner pages) ---------- */
.pagehero {
  background:
    repeating-linear-gradient(-58deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #e31b32 0%, var(--red) 45%, var(--red-deep) 100%);
  color: #fff; padding: 30px 0 34px;
}
.pagehero h1 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: clamp(34px, 6vw, 60px); line-height: .95; margin: 6px 0 8px; }
.pagehero p { max-width: 46rem; margin: 0; font-size: 1.05rem; }
.pagehero .rowbtns { margin-top: 16px; }
.crumbs { font-family: "Barlow Condensed", sans-serif; letter-spacing: .06em; font-size: 13px; opacity: .9; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs span { opacity: .7; }

/* ---------- Home hero (rich) ---------- */
.mast {
  background:
    repeating-linear-gradient(-58deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #e31b32 0%, var(--red) 42%, var(--red-deep) 100%);
  color: #fff; padding: 26px 0 36px;
}
.ticker { overflow: hidden; margin: 0 0 22px; border-block: 1px solid rgba(255, 255, 255, .22); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span {
  font-family: "Barlow Condensed", sans-serif; letter-spacing: .2em; font-weight: 600;
  font-size: 15px; color: var(--gold); padding: 8px 0 8px 34px; white-space: nowrap;
}
.ticker-track span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 34px; border-radius: 50%; background: #fff; vertical-align: middle; transform: translateY(-1px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .72fr); gap: 32px; align-items: center; }
.hero-copy, .hero-board { min-width: 0; }
.hero .lede { max-width: 38rem; margin: 12px 0 0; font-size: 1.05rem; }
.word { margin: 8px 0 0; font-size: clamp(52px, 7.4vw, 92px); line-height: .82; font-weight: 700; }
.word span { display: block; font-weight: 500; font-size: .42em; letter-spacing: .16em; margin-top: 6px; }
.hindi { margin: 10px 0 0; color: var(--gold); font-size: clamp(18px, 2.4vw, 26px); }
.rowbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a {
  text-decoration: none; color: #fff;
  font-family: "Barlow Condensed", sans-serif; letter-spacing: .04em; font-size: 16px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 3px 11px;
}
.chips a:hover { background: #fff; color: var(--red); }
.hero-board { background: #fffdfb; color: var(--ink); border-radius: 18px; padding: 16px 16px 18px; box-shadow: 0 18px 40px rgba(40, 0, 8, .28); }
.board-kicker { margin: 0 0 8px; font-family: "Barlow Condensed", sans-serif; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--red); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 14px; }
.hero-stats div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.hero-stats b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 28px; line-height: 1; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.hero-board .btn { width: 100%; }
.rail { overflow: hidden; max-width: 100%; padding: 4px 0 6px; }
.rail-track { display: flex; gap: 8px; width: max-content; animation: rail 26s linear infinite; }
.hero-board:hover .rail-track { animation-play-state: paused; }
.rail-strip { height: 80px; width: auto; flex: 0 0 auto; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brandline { font-family: "Barlow Condensed", sans-serif; letter-spacing: .16em; font-size: 13px; font-weight: 600; margin: 14px 0 0; }

/* ---------- Content sheet ---------- */
.sheet { background: var(--card); padding: 10px 0 10px; }
main { display: block; }
section { margin-top: 40px; }
section:first-child { margin-top: 28px; }
h2 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(30px, 5vw, 44px); line-height: .98; margin: 0 0 10px; font-weight: 700; }
h3 { font-family: "Barlow Condensed", sans-serif; font-size: 24px; margin: 18px 0 6px; }
.kicker { font-family: "Barlow Condensed", sans-serif; letter-spacing: .14em; color: var(--red); font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.lead { font-size: 1.1rem; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 6px 0; }
.article { max-width: 46rem; }
.article + .article { border-top: 1px solid var(--line); padding-top: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--paper); padding: 14px 12px; border-top: 3px solid var(--red); }
.stat b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 32px; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Cards / grids ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.card-box h3 { margin-top: 0; }
.card-box.red-top { border-top: 3px solid var(--red); }
.icon-dot { width: 40px; height: 40px; border-radius: 8px; background: var(--paper); color: var(--red); display: grid; place-items: center; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 8px; }

.ticket { background: radial-gradient(circle at 0 12px, transparent 6px, #fff 7px) left center / 14px 22px repeat-y, #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 14px 14px 22px; text-decoration: none; color: inherit; display: block; }
.ticket:hover { box-shadow: 0 10px 24px rgba(40, 0, 8, .12); }
.ticket b { font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 600; display: block; }
.ticket span { color: var(--muted); font-size: 14px; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.quote p { margin: 0 0 10px; }
.quote span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* Faculty / people */
.person { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.person img { width: 100%; display: block; object-fit: cover; object-position: center 12%; height: 360px; }
.person div { padding: 12px 14px; }
.person b { font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 600; display: block; }
.person span { color: var(--muted); font-size: 14px; }

/* Result wall + gallery */
.wall { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.name { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 0; font-size: 13px; }
.name img { width: 100%; display: block; height: 150px; object-fit: cover; object-position: center 16%; }
.name figcaption { padding: 6px 6px 8px; }
.you { background: var(--red); color: #fff; border-radius: 8px; display: grid; place-items: center; text-align: center; font-family: "Barlow Condensed", sans-serif; font-size: 24px; line-height: .9; min-height: 150px; }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; display: block; height: 180px; object-fit: cover; object-position: center 14%; }
.gallery figcaption { padding: 6px 8px; font-size: 13px; color: var(--muted); }

/* Note band + CTA */
.note { background: var(--brown); color: #fff; padding: 16px 18px; border-radius: 10px; margin-top: 16px; }
.note a { color: var(--gold); }
.ctaband { background: linear-gradient(160deg, var(--red), var(--red-deep)); color: #fff; border-radius: 14px; padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.ctaband h2 { color: #fff; margin: 0; }
.ctaband p { margin: 4px 0 0; opacity: .92; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.step .n { font-family: "Barlow Condensed", sans-serif; font-weight: 700; color: var(--red); font-size: 30px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table.data caption { text-align: left; color: var(--muted); font-size: 14px; padding: 8px 2px; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.data th { background: var(--paper); font-family: "Barlow Condensed", sans-serif; letter-spacing: .04em; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- Enquiry ---------- */
.layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.card h2 { font-size: 32px; }
.award { margin: 0 0 14px; padding-left: 14px; border-left: 3px solid var(--gold); color: var(--muted); }
label { display: block; font-size: 14px; margin: 12px 0 4px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #d9cfc6; background: #fff; border-radius: 4px; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
.err { color: var(--red); font-size: 14px; margin: 4px 0 0; }
.modes { display: flex; gap: 16px; }
.modes label { display: flex; gap: 6px; align-items: center; margin: 0; }
.fine { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ready { background: #fff; border: 2px solid var(--ok); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.ready h2 { color: var(--ok); }
pre { white-space: pre-wrap; font-family: inherit; background: var(--paper); padding: 12px; border-radius: 8px; margin: 0 0 12px; }

/* Visit / map */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.map { border: 0; width: 100%; min-height: 300px; border-radius: 10px; background: #ddd; }
.phones a { font-family: "Barlow Condensed", sans-serif; font-size: clamp(28px, 5vw, 44px); text-decoration: none; display: block; line-height: 1.1; color: var(--red); }

/* ---------- Footer ---------- */
footer { background: var(--brown); color: #f6e7d4; margin-top: 42px; padding: 30px 0 24px; }
footer .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
footer h4 { font-family: "Barlow Condensed", sans-serif; letter-spacing: .08em; font-size: 15px; margin: 0 0 10px; color: var(--gold); }
footer a { color: #f6e7d4; text-decoration: none; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; font-size: 15px; }
footer .hindi { color: var(--gold); }
.fbar { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 22px; padding-top: 14px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sticky dock + FAB ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.4fr; background: var(--brown); }
.dock a { text-align: center; text-decoration: none; color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 22px; padding: 14px 8px; }
.dock a:last-child { background: var(--wa); }
.fab { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; text-decoration: none; align-items: center; justify-content: center; font-family: "Barlow Condensed", sans-serif; font-size: 14px; letter-spacing: .04em; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* ---------- Responsive ---------- */
@media (min-width: 921px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .fab { display: flex; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav .wrap { flex-wrap: wrap; }
  .menu {
    flex-direction: column; align-items: stretch; width: 100%;
    display: none; padding: 8px 0 12px; gap: 0;
  }
  .nav.menu-open .menu { display: flex; }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; font-size: 19px; padding: 12px 6px; border-radius: 6px; }
  .dropdown { position: static; display: none; grid-template-columns: 1fr; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 8px; padding: 4px 6px; }
  .menu > li.open .dropdown { display: grid; }
  .dropdown a { color: var(--ink); }
  .nav-cta { display: none; }
  .hero, .layout, .grid2, .grid3, .quotes, .visit, .ctaband, .steps, .footer, footer .fgrid { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  footer .fgrid { grid-template-columns: 1fr 1fr; }
  .ctaband { text-align: center; }
}
@media (max-width: 560px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
  .quotes, .grid3 { grid-template-columns: 1fr; }
  footer .fgrid { grid-template-columns: 1fr; }
  .word { font-size: 56px; }
  .brand img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .rail-track { animation: none; }
}
