@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,600;6..72,700&display=swap");

:root {
  --ink: #1f2a2e;
  --muted: #687275;
  --paper: #fbf8ef;
  --soft: #f0eadb;
  --white: #ffffff;
  --line: #ded5c0;
  --green: #2f6654;
  --green-dark: #173f38;
  --maroon: #8a3d3c;
  --ochre: #d49a42;
  --blue: #496f94;
  --shadow: 0 18px 50px rgba(31, 42, 46, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 112.5%;
}

section[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  zoom: 0.8;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(222, 213, 192, 0.32) 1px, transparent 1px),
    linear-gradient(180deg, rgba(222, 213, 192, 0.26) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}

body.has-open-nav {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  line-height: 1.03;
}

p {
  margin: 0;
}

.topline {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 8px 16px;
  color: #fff7e7;
  background: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topline a {
  color: #ffd988;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(280px, auto) 1fr;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(16px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 239, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: 300px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #304248;
  font-size: 0.88rem;
  font-weight: 900;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 900;
  white-space: nowrap;
}

.btn.primary {
  color: var(--white);
  background: var(--maroon);
  box-shadow: 0 12px 24px rgba(138, 61, 60, 0.2);
}

.btn.secondary {
  color: var(--green-dark);
  border: 1px solid rgba(47, 102, 84, 0.38);
  background: var(--white);
}

.masthead {
  display: grid;
  grid-template-columns: minmax(50vw, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "image notice";
  gap: 14px;
  min-height: auto;
  padding: clamp(10px, 1.8vw, 20px) clamp(12px, 2vw, 28px);
}

.masthead-copy,
.notice-board,
.masthead-image {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.masthead-copy {
  grid-area: copy;
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: clamp(22px, 2.4vw, 34px);
}

.kicker {
  margin-bottom: 12px;
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead h1 {
  max-width: 620px;
  font-size: clamp(2.1rem, 3.25vw, 3.45rem);
}

.masthead-copy > p:not(.kicker) {
  max-width: 600px;
  margin-top: 12px;
  color: #536165;
  font-size: clamp(0.98rem, 1.45vw, 1.1rem);
}

.masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}

.legacy-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(31, 42, 46, 0.08);
}

.legacy-card.accent {
  background: #f8fbf4;
}

.legacy-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(31, 42, 46, 0.08);
}

.legacy-card img {
  width: 150px;
  height: 190px;
  margin: 0;
  object-fit: cover;
  object-position: top center;
}

.legacy-card blockquote {
  margin: 0;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.legacy-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.notice-board {
  grid-area: notice;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.notice-title,
.notice-board a {
  padding: 10px 12px;
}

.notice-title {
  border-right: 1px solid var(--line);
}

.notice-board a {
  border-right: 1px solid var(--line);
}

.notice-board a:last-child {
  border-right: 0;
}

.notice-title {
  color: var(--white);
  background: var(--green);
}

.notice-title span,
.notice-board a span {
  display: block;
  color: #f3c16c;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notice-title strong,
.notice-board a strong {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.18;
}

.notice-board a small {
  display: none;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.masthead-image {
  grid-area: image;
  position: relative;
  margin: 0;
  height: min(560px, calc(100vh - 138px));
  min-height: 440px;
  overflow: hidden;
}

.masthead-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.masthead-image figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  color: var(--white);
  background: rgba(23, 63, 56, 0.88);
}

.landing-gallery-controls {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.landing-gallery-controls button {
  width: 38px;
  height: 12px;
  border: 0;
  background: rgba(47, 102, 84, 0.28);
  cursor: pointer;
}

.landing-gallery-controls button.is-active {
  background: var(--maroon);
}

.masthead-image strong,
.masthead-image span {
  display: block;
}

.masthead-image span {
  margin-top: 4px;font-size: clamp(2rem, 2.4vw, 2.6rem);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.institute-ledger,
.branch-board,
.useful-links,
.place-section,
.contact {
  padding: clamp(30px, 4vw, 54px) clamp(16px, 5vw, 64px) clamp(54px, 7vw, 90px);
}

.section-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.72fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.section-note h2,
.admission-copy h2,
.place-copy h2,
.contact h2 {
  font-size: clamp(2rem, 4.5vw, 4.4rem);
}

.ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--green);
  background: var(--white);
  box-shadow: var(--shadow);
}

.ledger article {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.ledger article:last-child {
  border-right: 0;
}

.ledger span,
.disclosure-strip span,
.hub-layout span {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ledger strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--green-dark);
  font-size: 1.9rem;
  line-height: 1.05;
}

.ledger p,
.branch-list p,
.admission-copy p,
.admission-steps p,
.document-box li,
.place-copy p {
  color: var(--muted);
}

.branch-board {
  background: #eef4ee;
}

.branch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.branch-list a {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  min-height: 118px;
  border: 1px solid #cad8ce;
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.branch-list a:nth-child(even) {
  background: #f8fbf8;
}

.branch-list a:hover,
.branch-list a:focus-visible {
  border-color: rgba(47, 102, 84, 0.42);
  box-shadow: 0 14px 38px rgba(31, 42, 46, 0.1);
  transform: translateX(4px);
}

.branch-list a > span {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.branch-list div {
  padding: 20px 24px;
}

.branch-list h3 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.branch-list small {
  display: inline-block;
  margin-top: 8px;
  color: var(--maroon);
  font-weight: 900;
}

.admission-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 16px;
  padding: clamp(26px, 3.5vw, 46px) clamp(16px, 5vw, 64px) clamp(54px, 7vw, 90px);
  background: #fffaf0;
}

.admission-copy {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 0.9fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}


.admission-copy p:not(.kicker) {
  align-self: end;
  max-width: 720px;
  font-size: 1.04rem;
}

.admission-steps {
  display: grid;
  gap: 10px;
}

.admission-steps article,
.document-box {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(31, 42, 46, 0.08);
}

.admission-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
}

.admission-steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.admission-steps strong {
  display: block;
  margin: 1px 0 5px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.admission-steps p {
  margin: 0;
  line-height: 1.45;
}

.document-box {
  display: grid;
  align-content: start;
  padding: 24px;
}

.document-box h3 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.document-box ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.document-box li + li {
  margin-top: 8px;
}

.document-box li {
  line-height: 1.42;
}

.useful-links {
  background: #f7efe0;
}

.useful-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.useful-grid a {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: var(--white);
  transition: background 180ms ease, color 180ms ease;
}

.useful-grid a:hover,
.useful-grid a:focus-visible {
  color: var(--white);
  background: var(--maroon);
}

.useful-grid a:hover span,
.useful-grid a:hover small,
.useful-grid a:focus-visible span,
.useful-grid a:focus-visible small {
  color: rgba(255, 255, 255, 0.78);
}

.useful-grid .featured-link {
  grid-column: span 2;
  color: var(--white);
  background: var(--green-dark);
}

.useful-grid span {
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.useful-grid .featured-link span {
  color: #ffd988;
}

.useful-grid strong {
  display: block;
  margin-top: auto;
  font-size: 1.16rem;
  line-height: 1.18;
}

.useful-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.hub-layout {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.hub-layout a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: var(--white);
  transition: background 180ms ease, color 180ms ease;
}

.hub-layout a:hover,
.hub-layout a:focus-visible {
  color: var(--white);
  background: var(--green);
}

.hub-layout a:hover span,
.hub-layout a:focus-visible span {
  color: #ffd988;
}

.hub-layout strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.place-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
  background: #f2eee3;
}

.place-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  border-left: 5px solid var(--ochre);
  background: var(--white);
}

.place-copy p:not(.kicker) {
  margin-top: 16px;
  font-size: 1.03rem;
}

.practice-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.practice-line span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.place-gallery {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.place-gallery img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.life-controls {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.life-controls button {
  width: 38px;
  height: 12px;
  border: 0;
  background: rgba(47, 102, 84, 0.28);
  cursor: pointer;
}

.life-controls button.is-active {
  background: var(--maroon);
}

.disclosure-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--green-dark);
}

.disclosure-strip div {
  min-height: 120px;
  padding: 20px;
  background: #f8f3e7;
}

.disclosure-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  line-height: 1.2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(340px, 0.45fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background: var(--green-dark);
}

.contact .kicker {
  color: #ffd988;
}

address {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 1.04rem;
}

.contact-principal {
  margin: 0;
  display: grid;
  justify-items: stretch;
  width: min(100%, 240px);
  justify-self: end;
}

.contact-principal img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 64px);
  color: #5b6769;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
}

.sub-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px clamp(16px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 239, 0.96);
}

.inner-page {
  padding: clamp(28px, 5vw, 60px) clamp(16px, 5vw, 64px) clamp(54px, 7vw, 90px);
}

.inner-hero {
  display: grid;
  gap: 16px;
  max-width: none;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.inner-hero h1 {
  max-width: none;
  width: 100%;
  font-size: clamp(2.3rem, 5vw, 5rem);
  
}

.inner-hero p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.branch-facts,
.disclosure-page-grid {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.branch-facts {
  grid-template-columns: repeat(3, 1fr);
}

.branch-facts div,
.disclosure-page-grid article {
  padding: 22px;
  background: var(--white);
}

.branch-facts span,
.disclosure-page-grid span {
  display: block;
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.branch-facts strong,
.disclosure-page-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 1.25rem;
  line-height: 1.2;
}

.branch-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.branch-vision,
.prospectus-panel,
.faculty-section,
.syllabus-section {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(31, 42, 46, 0.08);
}

.branch-vision h2,
.prospectus-panel h2 {
  max-width: 980px;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
}

.branch-vision p:not(.kicker) {
  max-width: 920px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

.prospectus-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  background: #fffaf0;
}

.prospectus-panel ul,
.syllabus-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.prospectus-panel li + li,
.syllabus-grid li + li {
  margin-top: 8px;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 24px;
}

.faculty-grid article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fbf8ef;
}

.faculty-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #cfc2a8;
  background: linear-gradient(135deg, #efe4d0, #ffffff);
  color: rgba(47, 102, 84, 0.62);
  font-size: 1.45rem;
  font-weight: 900;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.faculty-grid strong {
  color: var(--green-dark);
  line-height: 1.2;
}

.faculty-grid small {
  color: var(--muted);
  font-weight: 800;
}

.photo-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.syllabus-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fbf8ef;
}

.syllabus-grid h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.branch-detail-grid article,
.report-links {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
}

.branch-detail-grid h2,
.report-links h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.branch-detail-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.branch-detail-grid li + li {
  margin-top: 8px;
}

.disclosure-page-grid {
  grid-template-columns: repeat(4, 1fr);
}

.disclosure-page-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.report-links {
  margin-top: 18px;
}

.report-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.disclosure-page {
  display: grid;
  gap: 18px;
}

.disclosure-full {
  display: grid;
  gap: 14px;
}

.disclosure-table-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(31, 42, 46, 0.08);
}

.disclosure-table-card h2 {
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.disclosure-table {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.disclosure-table div {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: #fffaf0;
}

.disclosure-table dt {
  color: var(--maroon);
  font-weight: 900;
}

.disclosure-table dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.disclosure-table a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclosure-reports {
  margin-top: 0;
}

.notice-page {
  display: grid;
  gap: 18px;
}

.notice-hero code {
  color: var(--green-dark);
  font-weight: 900;
}

.notice-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.notice-toolbar div {
  padding: 18px;
  background: #fffaf0;
}

.notice-toolbar span,
.notice-card span {
  display: block;
  color: var(--maroon);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.notice-toolbar strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  line-height: 1.25;
}

.notice-list {
  display: grid;
  gap: 12px;
}

.notice-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(31, 42, 46, 0.08);
}

.notice-card.is-important {
  border-left: 5px solid var(--maroon);
}

.notice-card time {
  color: var(--green-dark);
  font-weight: 900;
}

.notice-card h2 {
  margin-top: 6px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.notice-card p {
  margin-top: 8px;
  color: var(--muted);
}

.notice-download {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(47, 102, 84, 0.34);
  color: var(--green-dark);
  background: #f8fbf4;
  font-size: 0.9rem;
  font-weight: 900;
}

@media (max-width: 640px) {
  .legacy-card {
    grid-template-columns: 1fr;
  }

  .legacy-card img {
    width: min(180px, 72%);
    height: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 1180px) {
	
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 104px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .masthead {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "copy"
      "notice";
  }

  .masthead-image {
    height: 420px;
    min-height: 420px;
  }

  .hub-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
	
	
  .topline {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .brand strong {
    max-width: 210px;
  }

  .notice-board,
  .ledger,
  .section-note,
  .admission-desk,
  .admission-copy,
  .useful-grid,
  .branch-facts,
  .branch-detail-grid,
  .prospectus-panel,
  .syllabus-grid,
  .disclosure-page-grid,
  .notice-toolbar,
  .notice-card,
  .disclosure-table div,
  .place-section,
  .disclosure-strip,
  .contact {
    grid-template-columns: 1fr;
  }

  .admission-copy {
    grid-column: auto;
  }

  .notice-title,
  .notice-board a,
  .ledger article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice-board a:last-child,
  .ledger article:last-child {
    border-bottom: 0;
  }

  .branch-list a {
    grid-template-columns: 70px 1fr;
  }

  .branch-list {
    grid-template-columns: 1fr;
  }

  .useful-grid .featured-link {
    grid-column: auto;
  }

  .hub-layout {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-layout a {
    min-height: 120px;
  }

  .place-gallery,
  .place-gallery img {
    min-height: 340px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .masthead {
    padding-inline: 12px;
  }

  .masthead h1 {
    font-size: clamp(2.7rem, 17vw, 4.1rem);
  }

  .masthead-copy,
  .institute-ledger,
  .branch-board,
  .admission-desk,
  .useful-links,
  .place-section,
  .contact {
    padding-inline: 14px;
  }

  .masthead-actions .btn,
  .document-box .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
  }
}
