:root {
  --ink: #12304a;
  --ink-deep: #08263f;
  --teal: #057b76;
  --teal-dark: #035b58;
  --saffron: #e79a23;
  --cream: #f6f8f7;
  --mist: #e8f2f1;
  --white: #ffffff;
  --muted: #617386;
  --line: #dce7e6;
  --shadow: 0 16px 45px rgba(10, 44, 68, .11);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.58; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #f2b84e; outline-offset: 3px; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; padding: .75rem 1rem; border-radius: .5rem; background: var(--ink-deep); color: #fff; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.eyebrow { margin: 0 0 .55rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-heading { max-width: 660px; margin-bottom: 2.25rem; }
.section-heading h2, .section-heading h3 { margin: 0; color: var(--ink-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.05; }
.section-heading p { margin: .9rem 0 0; color: var(--muted); }
.section-pad { padding: 6.5rem 0; }
.section-tint { background: var(--cream); }

.utility-bar { background: var(--ink-deep); color: #dfeef2; font-size: .84rem; }
.utility-bar .shell { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-contact { font-weight: 700; color: #fff; }
.utility-contact::before { content: "☎"; margin-right: .48rem; color: #a9e1d6; }
.utility-caption { opacity: .83; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(18,48,74,.08); box-shadow: 0 4px 18px rgba(10,44,68,.04); }
.header-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; min-width: 185px; }
.brand img { width: min(280px, 40vw); height: auto; }
.menu-toggle { display: none; padding: .52rem .7rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--ink); background: #fff; font-weight: 800; }
.menu-toggle .bar { display: block; width: 20px; height: 2px; margin: 4px 0; background: currentColor; }
.site-nav { display: flex; align-items: center; gap: .1rem; }
.site-nav > a, .menu-parent > button { display: block; padding: .8rem .58rem; border: 0; background: transparent; color: var(--ink); font-size: .89rem; font-weight: 720; white-space: nowrap; cursor: pointer; }
.site-nav > a:hover, .menu-parent > button:hover, .site-nav > a.is-active { color: var(--teal); }
.menu-parent { position: relative; }
.menu-parent > button::after { content: "⌄"; margin-left: .33rem; font-size: 1rem; }
.submenu { position: absolute; top: calc(100% + .2rem); left: -.4rem; z-index: 2; display: none; min-width: 166px; padding: .42rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; box-shadow: var(--shadow); }
.submenu a { display: block; padding: .58rem .72rem; border-radius: .45rem; font-size: .88rem; font-weight: 670; }
.submenu a:hover { background: var(--mist); color: var(--teal-dark); }
.menu-parent.is-open .submenu, .menu-parent:focus-within .submenu { display: block; }

.hero { position: relative; overflow: hidden; min-height: 620px; color: #fff; background: var(--ink-deep); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(3, 30, 50, .95) 0%, rgba(3, 43, 56, .76) 44%, rgba(3, 43, 56, .17) 85%), url('assets/hero-community.jpeg') center/cover; }
.hero::after { position: absolute; right: -10rem; bottom: -15rem; width: 48rem; height: 48rem; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; content: ""; }
.hero .shell { position: relative; z-index: 1; min-height: 620px; display: flex; align-items: center; }
.hero-copy { max-width: 720px; padding: 4rem 0 5rem; }
.hero .eyebrow { color: #b9e7dd; }
.hero h1 { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 5.35rem); font-weight: 600; line-height: .98; letter-spacing: -.03em; }
.hero h1 strong { color: #ffcf70; font-weight: inherit; }
.hero p { max-width: 610px; margin: 1.5rem 0 0; color: #e2f0f1; font-size: clamp(1rem, 1.8vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: .55rem; font-size: .93rem; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--saffron); color: #192b35; }
.button-primary:hover { background: #f2ae39; }
.button-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.07); }
.button-light:hover { background: rgba(255,255,255,.16); }
.hero-badge { position: absolute; z-index: 2; right: max(1.5rem, calc((100vw - 1180px) / 2)); bottom: 2rem; display: flex; flex-direction: column; min-width: 184px; padding: 1rem 1.15rem; border-left: 4px solid var(--saffron); background: rgba(255,255,255,.94); color: var(--ink-deep); box-shadow: var(--shadow); }
.hero-badge strong { font-family: Georgia, serif; font-size: 1.9rem; line-height: 1; }
.hero-badge span { margin-top: .23rem; color: var(--muted); font-size: .78rem; font-weight: 750; }

.hero-slider::before { display: none; }
.hero-slider { isolation: isolate; }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: center; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide::before { position: absolute; inset: 0; z-index: 0; content: ""; background: linear-gradient(90deg, rgba(3,30,50,.95) 0%, rgba(3,43,56,.76) 44%, rgba(3,43,56,.17) 85%), var(--slide-image) center/cover; }
.hero-slider .hero-copy { width: 100%; }
.hero-slider .hero-copy p { min-height: 3.55em; }
.slider-controls { position: absolute; z-index: 3; right: max(1.5rem, calc((100vw - 1180px) / 2)); bottom: 2.15rem; display: flex; align-items: center; gap: .45rem; }
.slider-control { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(8,38,63,.5); cursor: pointer; font-size: 1.25rem; line-height: 1; }
.slider-control:hover { border-color: var(--saffron); color: var(--saffron); }
.slider-dots { display: flex; gap: .38rem; margin: 0 .4rem; }
.slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.53); cursor: pointer; }
.slider-dot.is-active { width: 24px; border-radius: 9px; background: var(--saffron); }

.director-panel { display: grid; grid-template-columns: minmax(260px, .75fr) 1.25fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.director-panel figure { min-height: 420px; margin: 0; background: var(--ink-deep); }
.director-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.director-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.8rem, 5vw, 4rem); }
.director-copy h2 { margin: 0; color: var(--ink-deep); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.director-copy .role { margin: .7rem 0 1.25rem; color: var(--teal-dark); font-size: .87rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.director-copy p { max-width: 610px; color: var(--muted); }
.director-copy .director-signoff { margin: .7rem 0 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.12rem; font-weight: 700; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 5rem; align-items: center; }
.intro-copy p { max-width: 690px; margin: 1rem 0 0; color: var(--muted); }
.signature { margin-top: 1.5rem; color: var(--teal-dark); font-family: Georgia, serif; font-size: 1.08rem; font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-card { min-height: 164px; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(10,44,68,.05); }
.stat-card:nth-child(2) { transform: translateY(1.7rem); background: var(--ink-deep); color: #fff; }
.stat-card:nth-child(4) { transform: translateY(1.7rem); background: var(--mist); }
.stat-card strong { display: block; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat-card span { display: block; margin-top: .65rem; color: var(--muted); font-size: .85rem; font-weight: 720; }
.stat-card:nth-child(2) span { color: #cde5e7; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { position: relative; min-height: 176px; padding: 1.4rem 1.35rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card::before { position: absolute; top: 1.4rem; right: 1.35rem; color: #dbeae8; font-family: Georgia, serif; font-size: 3.4rem; font-weight: 700; line-height: 1; content: attr(data-number); }
.service-card h3 { position: relative; z-index: 1; max-width: 80%; margin: 3rem 0 .25rem; color: var(--ink-deep); font-family: Georgia, serif; font-size: 1.18rem; line-height: 1.2; }
.service-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .87rem; }

.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick-link { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 1.35rem; border-radius: 14px; background: var(--ink-deep); color: #fff; }
.quick-link:nth-child(2), .quick-link:nth-child(4) { background: var(--teal); }
.quick-link:hover { background: #155475; }
.quick-link span { color: #bfe6e1; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quick-link strong { font-family: Georgia, serif; font-size: 1.32rem; line-height: 1.15; }
.quick-link b { align-self: flex-end; color: #ffcf70; font-size: 1.3rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #dce9e8; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; right: .65rem; bottom: .65rem; left: .65rem; padding: .44rem .55rem; background: rgba(8,38,63,.83); color: #fff; font-size: .72rem; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.gallery-item:hover figcaption { opacity: 1; transform: none; }

.campus-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0 3rem; }
.campus-gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--mist); box-shadow: 0 9px 24px rgba(10,44,68,.09); }
.campus-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.campus-gallery figcaption { padding: .6rem .75rem; color: var(--muted); font-size: .78rem; font-weight: 650; }

.info-ribbon { color: #fff; background: var(--teal-dark); }
.info-ribbon .shell { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding-top: 2.1rem; padding-bottom: 2.1rem; }
.info-ribbon div { display: flex; align-items: flex-start; gap: .9rem; }
.info-ribbon b { color: #ffcf70; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1; }
.info-ribbon strong { display: block; font-size: .93rem; }
.info-ribbon span { display: block; margin-top: .15rem; color: #c5e5e0; font-size: .82rem; }

.page-hero { position: relative; overflow: hidden; padding: 5.2rem 0 4.6rem; color: #fff; background: var(--ink-deep); }
.page-hero::after { position: absolute; top: -16rem; right: -7rem; width: 38rem; height: 38rem; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.page-hero .shell { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: .5rem; margin-bottom: 1.2rem; color: #bde2de; font-size: .83rem; }
.breadcrumb span { color: #fff; }
.page-hero h1 { max-width: 680px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 1; }
.page-hero p { max-width: 620px; margin: 1rem 0 0; color: #dceff0; }

.prose { max-width: 820px; }
.prose > p { color: var(--muted); }
.prose h2 { margin: 3rem 0 1rem; color: var(--ink-deep); font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; }
.prose h3 { margin: 2.3rem 0 .75rem; color: var(--teal-dark); font-family: Georgia, serif; font-size: 1.35rem; line-height: 1.2; }
.prose h4 { margin: 1.6rem 0 .55rem; color: var(--ink); font-size: .94rem; letter-spacing: .05em; }
.prose ul, .prose ol { margin: .55rem 0 1.4rem; padding-left: 1.25rem; color: var(--muted); }
.prose li { margin: .52rem 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 4rem; }
.in-page-nav { position: sticky; top: 116px; align-self: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--cream); }
.in-page-nav p { margin: 0 0 .55rem; color: var(--teal-dark); font-size: .77rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.in-page-nav a { display: block; padding: .35rem 0; color: var(--muted); font-size: .87rem; font-weight: 650; }
.in-page-nav a:hover { color: var(--teal); }

.history-panel { position: relative; max-width: 930px; padding: 2.2rem; border-left: 5px solid var(--saffron); border-radius: 0 var(--radius) var(--radius) 0; background: var(--mist); }
.history-panel::before { position: absolute; top: 1.75rem; right: 2.1rem; color: rgba(5,123,118,.18); font-family: Georgia, serif; font-size: 6rem; line-height: 1; content: "1937"; }
.history-panel p { position: relative; max-width: 700px; margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.55; }
.source-note { max-width: 930px; margin-top: 1.3rem; padding: .8rem 1rem; border: 1px solid #f0dcba; border-radius: .5rem; background: #fffaf0; color: #77654b; font-size: .84rem; }

.dnb-card { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: var(--radius); background: var(--ink-deep); color: #fff; box-shadow: var(--shadow); }
.dnb-card-copy { padding: clamp(1.6rem, 5vw, 3.5rem); }
.dnb-card-copy h2 { margin: 0; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); }
.dnb-card-copy p { color: #d0e6e8; }
.dnb-contact { display: grid; gap: 1px; align-content: center; background: rgba(255,255,255,.16); }
.dnb-contact a, .dnb-contact div { display: block; padding: 1.15rem 1.5rem; background: rgba(4,63,69,.55); }
.dnb-contact span { display: block; color: #a9ded5; font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.dnb-contact strong { display: block; margin-top: .15rem; color: #fff; font-size: 1rem; }

.dnb-identity { display: grid; grid-template-columns: 310px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.legacy-dnb-portrait { min-height: 360px; background-color: #d6d2d4; background-image: url('assets/dnb-legacy-reference.png'); background-repeat: no-repeat; background-size: 1405px 1576px; background-position: -392px -213px; }
.dnb-identity-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.75rem, 5vw, 4rem); }
.dnb-identity-copy h2 { margin: 0; color: var(--ink-deep); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.dnb-identity-copy .role { margin: .75rem 0 1.1rem; color: var(--teal-dark); font-size: .88rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.dnb-identity-copy p { max-width: 620px; color: var(--muted); }
.dnb-identity-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .5rem; }
.dnb-identity-actions a { padding: .58rem .75rem; border-radius: .45rem; background: var(--mist); color: var(--teal-dark); font-size: .9rem; font-weight: 800; }
.dnb-identity-actions a:hover { background: #d2e7e3; }
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.05rem; }
.faculty-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(10,44,68,.05); }
.faculty-card h3 { margin: 0; padding: 1.05rem 1.15rem; background: var(--saffron); color: #172b36; font-family: Georgia, serif; font-size: 1.22rem; line-height: 1.18; }
.faculty-card ul { min-height: 200px; margin: 0; padding: 1.25rem 1.3rem 1.35rem 2.55rem; color: var(--ink); font-size: .96rem; font-weight: 660; }
.faculty-card li { margin: .45rem 0; }

.history-article { max-width: 1040px; }
.history-article > p { max-width: 1040px; color: var(--muted); font-size: 1.06rem; }
.history-kicker { display: flex; align-items: center; gap: .8rem; margin: 0 0 .9rem; color: var(--teal-dark); font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; }
.history-kicker::after { width: 47px; height: 2px; background: #4266b1; content: ""; }
.history-article h2 { margin: 0 0 1.8rem; color: var(--ink-deep); font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.history-article h2 span { color: #4266b1; }
.history-quote { max-width: 1040px; margin: 2rem 0 3.2rem; color: var(--ink); font-family: Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-style: italic; line-height: 1.42; }
.history-archive { display: flex; flex-wrap: wrap; align-items: end; gap: clamp(1.2rem, 5vw, 5rem); }
.history-archive figure { margin: 0; }
.history-archive-photo { border: 1px solid var(--line); background-color: #e4e4e4; background-image: url('assets/history-legacy-reference.png'); background-repeat: no-repeat; box-shadow: var(--shadow); }
.history-archive-photo.portrait { width: 185px; height: 260px; background-size: 1107px 838px; background-position: -110px -518px; }
.history-archive-photo.building { width: min(490px, 100%); height: 230px; background-size: 1107px 838px; background-position: -374px -515px; }
.history-archive figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; font-style: italic; }

.charter-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.charter-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: .92rem; }
.charter-table th { padding: 1rem 1.1rem; background: var(--ink-deep); color: #fff; text-align: left; }
.charter-table td { padding: .8rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.charter-table td:first-child { width: 45%; color: var(--ink); font-weight: 720; }
.charter-table tr:nth-child(even) { background: #f8fbfb; }
.table-section td { padding-top: 1rem; padding-bottom: 1rem; background: var(--mist) !important; color: var(--teal-dark) !important; font-weight: 800 !important; }

.recruitment-card { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.recruitment-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.recruitment-copy { padding: clamp(1.7rem, 5vw, 3.6rem); }
.recruitment-copy h2 { margin: 0; color: var(--ink-deep); font-family: Georgia, serif; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.recruitment-copy p { color: var(--muted); }
.legacy-label { display: inline-block; margin-top: .65rem; padding: .36rem .55rem; border-radius: .3rem; background: #fff6e5; color: #86631f; font-size: .76rem; font-weight: 750; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-card { min-height: 178px; padding: 1.55rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-card:nth-child(1) { background: var(--ink-deep); color: #fff; }
.contact-card span { display: block; margin-bottom: .7rem; color: var(--teal); font-size: .76rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-card:nth-child(1) span { color: #b9e7dd; }
.contact-card h2 { margin: 0; font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.2; }
.contact-card p { margin: .55rem 0 0; color: var(--muted); }
.contact-card:nth-child(1) p, .contact-card:nth-child(1) a { color: #e8f5f3; }
.contact-card a { color: var(--teal-dark); font-weight: 800; }
.map-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .9rem; }
.map-link::before { content: "↗"; color: var(--saffron); font-size: 1.2rem; }
.address-note { grid-column: 1 / -1; margin: 0; padding: 1rem 1.15rem; border-radius: .55rem; background: #fffaf0; color: #77654b; font-size: .85rem; }

.site-footer { color: #c9e0e1; background: var(--ink-deep); }
.footer-main { display: grid; grid-template-columns: 1.35fr .7fr .9fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer-logo { width: min(280px, 100%); margin-bottom: 1.35rem; filter: brightness(0) invert(1) grayscale(1) contrast(.95); }
.footer-main p { margin: .4rem 0; color: #c9e0e1; font-size: .9rem; }
.footer-main h2 { margin: .35rem 0 1rem; color: #fff; font-family: Georgia, serif; font-size: 1.22rem; }
.footer-main ul { margin: 0; padding: 0; list-style: none; }
.footer-main li { margin: .55rem 0; }
.footer-main a:hover { color: #ffcf70; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom .shell { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; color: #a8c5c7; font-size: .78rem; }

@media (max-width: 1050px) {
  .header-row { gap: 1rem; }
  .site-nav > a, .menu-parent > button { padding-right: .37rem; padding-left: .37rem; font-size: .82rem; }
  .intro-grid { gap: 3rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .shell { width: min(100% - 2.25rem, 680px); }
  .utility-caption { display: none; }
  .header-row { min-height: 68px; }
  .brand img { width: 230px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; max-height: calc(100vh - 108px); padding: .6rem 1.1rem 1rem; overflow-y: auto; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 25px rgba(10,44,68,.1); }
  .site-nav.is-open { display: block; }
  .site-nav > a, .menu-parent > button { width: 100%; padding: .8rem 0; border-bottom: 1px solid #edf1f1; text-align: left; font-size: .96rem; }
  .menu-parent > button::after { float: right; }
  .submenu { position: static; min-width: 0; padding: 0 0 .35rem .9rem; border: 0; border-radius: 0; box-shadow: none; }
  .menu-parent .submenu { display: none; }
  .menu-parent.is-open .submenu, .menu-parent:focus-within .submenu { display: block; }
  .hero, .hero .shell { min-height: 580px; }
  .hero::before { background: linear-gradient(90deg, rgba(3,30,50,.94), rgba(3,43,56,.72)), url('assets/hero-community.jpeg') 65%/cover; }
  .hero-badge { right: 1.15rem; bottom: 1.2rem; }
  .section-pad { padding: 4.5rem 0; }
  .intro-grid, .dnb-card, .dnb-identity, .recruitment-card { grid-template-columns: 1fr; }
  .director-panel { grid-template-columns: 1fr; }
  .director-panel figure { min-height: 360px; max-height: 500px; }
  .stat-grid { max-width: 510px; margin: 1rem auto 0; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 145px; }
  .campus-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(6) { grid-column: auto; }
  .content-layout { grid-template-columns: 1fr; gap: 2rem; }
  .in-page-nav { position: static; display: flex; flex-wrap: wrap; gap: .2rem .9rem; }
  .in-page-nav p { width: 100%; }
  .in-page-nav a { padding: .1rem 0; }
  .info-ribbon .shell { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 1.5rem, 680px); }
  .utility-bar .shell { min-height: 35px; }
  .utility-contact { font-size: .76rem; }
  .brand img { width: 200px; }
  .hero-copy { padding-top: 3.3rem; }
  .hero h1 { font-size: 3rem; }
  .hero-badge { min-width: 150px; padding: .75rem .85rem; }
  .slider-controls { right: 1.15rem; bottom: 1.4rem; }
  .hero-badge strong { font-size: 1.45rem; }
  .stat-card { min-height: 142px; padding: 1.1rem; }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 115px; gap: .6rem; }
  .campus-gallery { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .history-panel { padding: 1.4rem; }
  .history-panel::before { display: none; }
  .history-panel p { font-size: 1.1rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom .shell { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
