:root {
  --maroon-950: #3b091a;
  --maroon-900: #520f27;
  --maroon-800: #681a35;
  --maroon-700: #7d2340;
  --gold-500: #c69218;
  --gold-300: #e4bd61;
  --paper: #fffdf8;
  --ink: #211a1c;
  --muted: #6d6266;
  --line: #eadfce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 12px; top: -100px; border-radius: 7px; background: white; padding: 10px 14px; color: var(--maroon-900); font-weight: 800; }
.skip-link:focus { top: 12px; }

.topline { background: var(--maroon-950); color: #f7ebd6; font-size: .78rem; letter-spacing: .02em; }
.topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline a { color: white; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(255 253 248 / 94%); backdrop-filter: blur(16px); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand > span { display: grid; line-height: 1.2; }
.brand strong { color: var(--maroon-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; letter-spacing: -.015em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 700; }
.desktop-nav > a:not(.nav-cta), .desktop-nav > .menu-item > a { position: relative; }
.desktop-nav > a:not(.nav-cta)::after, .desktop-nav > .menu-item > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--gold-500); transition: right 180ms ease; }
.desktop-nav > a:not(.nav-cta):hover::after, .desktop-nav > .menu-item > a:hover::after { right: 0; }
.nav-cta { border-radius: 999px; background: var(--maroon-800); padding: 10px 18px; color: white; box-shadow: 0 8px 22px rgb(104 26 53 / 16%); }
.mobile-nav { display: none; position: relative; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 20%, rgb(221 171 57 / 14%), transparent 32%), linear-gradient(140deg, #fffdf9 0%, #fff7e9 54%, #f8e9d7 100%); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -250px; top: -210px; border: 1px solid rgb(125 35 64 / 10%); border-radius: 50%; box-shadow: 0 0 0 76px rgb(125 35 64 / 3%), 0 0 0 154px rgb(198 146 24 / 3%); }
.hero-grid { min-height: 680px; padding-block: 76px 82px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 74px; }
.eyebrow { margin: 0 0 16px; color: var(--maroon-700); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.gold { color: var(--gold-300); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1, h2 { line-height: 1.04; letter-spacing: -.035em; }
.hero h1 { max-width: 760px; margin: 0; color: var(--maroon-950); font-size: clamp(3.05rem, 6vw, 5.6rem); font-weight: 700; }
.hero-lead { max-width: 660px; margin: 24px 0 0; color: #54484c; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 22px; font-size: .9rem; font-weight: 800; }
.button-primary { background: var(--maroon-800); color: white; box-shadow: 0 14px 28px rgb(104 26 53 / 18%); }
.button-quiet { border: 1px solid #d4c3a8; background: rgb(255 255 255 / 55%); color: var(--maroon-900); }
.trust-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 26px; color: var(--muted); font-size: .86rem; }
.trust-row span { display: grid; }
.trust-row strong { color: var(--maroon-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.hero-mark { position: relative; min-height: 520px; display: grid; place-items: center; }
.crest-halo { width: min(390px, 82vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, white 0 48%, #f8e9cf 49% 63%, transparent 64%); }
.crest-halo img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 22px 25px rgb(76 16 40 / 16%)); }
.motto-card { position: absolute; left: -26px; bottom: 12px; width: min(340px, 88%); border: 1px solid rgb(198 146 24 / 38%); border-radius: 20px; background: rgb(255 253 248 / 94%); padding: 20px 22px; box-shadow: 0 22px 55px rgb(76 16 40 / 14%); backdrop-filter: blur(16px); }
.motto-card span, .motto-card strong { display: block; }
.motto-devanagari { color: var(--maroon-800); font-family: Georgia, "Noto Serif Devanagari", serif; font-size: 1.35rem; font-weight: 700; }
.motto-card strong { margin-top: 7px; color: var(--maroon-950); font-family: Georgia, "Noto Serif Devanagari", serif; font-size: 1.08rem; line-height: 1.45; }
.motto-card small { display: block; margin-top: 7px; color: var(--muted); line-height: 1.55; }

.legacy { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgb(228 189 97 / 24%), transparent 32%), linear-gradient(145deg, #fffaf0 0%, #f5e3c1 100%); }
.legacy::before { content: ""; position: absolute; width: 420px; height: 420px; left: -260px; bottom: -260px; border: 1px solid rgb(104 26 53 / 10%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(104 26 53 / 3%); }
.legacy-grid { padding-block: 86px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 78px; }
.founder-frame { position: relative; min-height: 540px; display: grid; grid-template-rows: 1fr auto; overflow: hidden; border: 1px solid #d9bc83; border-radius: 180px 180px 24px 24px; background: #fffdf8; box-shadow: 0 26px 64px rgb(85 43 19 / 13%); }
.founder-frame::before { content: ""; position: absolute; inset: 11px 11px 92px; z-index: 2; pointer-events: none; border: 1px solid rgb(255 255 255 / 68%); border-radius: 168px 168px 15px 15px; }
.founder-portrait-wrap { position: relative; min-height: 445px; overflow: hidden; }
.founder-portrait { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 20%; filter: saturate(.92) contrast(1.01); }
.founder-caption { position: relative; z-index: 3; display: grid; padding: 18px 28px 21px; text-align: center; }
.founder-caption strong { color: var(--maroon-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.48rem; }
.founder-caption span { margin-top: 2px; color: #9a6c09; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.founder-caption small { margin-top: 4px; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.legacy .eyebrow.gold { color: var(--maroon-700); }
.legacy h2 { max-width: 720px; margin: 0; color: var(--maroon-950); font-size: clamp(2.4rem, 4.5vw, 4.5rem); }
.legacy-copy > p:not(.eyebrow) { max-width: 720px; color: #67585d; font-size: 1.05rem; }
.legacy-copy blockquote { max-width: 700px; margin: 28px 0 0; border-left: 3px solid var(--gold-500); border-radius: 0 16px 16px 0; background: rgb(255 253 248 / 72%); padding: 20px 24px; color: var(--maroon-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; font-style: italic; box-shadow: 0 12px 30px rgb(104 26 53 / 7%); }

.impact { border-bottom: 1px solid var(--line); background: #f7ecda; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.impact article { min-height: 150px; display: grid; align-content: center; border-right: 1px solid #dfcfb8; padding: 28px 36px; }
.impact article:last-child { border-right: 0; }
.impact strong { color: var(--maroon-800); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.impact span { color: var(--muted); font-size: .86rem; }

.section-pad { padding-block: 104px; }
.section-heading h2, .life-intro h2, .people-copy h2, .visit h2 { margin: 0; color: var(--maroon-950); font-size: clamp(2.5rem, 4.7vw, 4.6rem); }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 64px; }
.split-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 1.04rem; }
.campus-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { min-height: 300px; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 30px; box-shadow: 0 18px 45px rgb(62 16 34 / 6%); }
.feature-large { background: linear-gradient(145deg, #fff 0%, #f8e7c9 100%); }
.feature-safety { position: relative; overflow: hidden; background: var(--maroon-900); color: white; }
.feature-safety::after { content: ""; position: absolute; width: 240px; height: 240px; right: -95px; top: -90px; border: 1px solid rgb(228 189 97 / 28%); border-radius: 50%; box-shadow: 0 0 0 42px rgb(228 189 97 / 6%); }
.feature-number { color: var(--gold-500); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.feature-card > div { position: relative; z-index: 1; align-self: end; }
.feature-card h3 { margin: 0 0 8px; color: var(--maroon-900); font-size: 2rem; line-height: 1.1; }
.feature-card p { max-width: 530px; margin: 0; color: var(--muted); }
.feature-safety h3 { color: white; }
.feature-safety p { color: #ded0d5; }
.safety-note { position: absolute; z-index: 1; right: 26px; top: 26px; width: 180px; color: #e5c77d; font-size: .68rem; font-weight: 700; line-height: 1.4; text-align: right; }

.school-life { overflow: hidden; background: var(--maroon-950); color: white; }
.life-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.life-intro { position: sticky; top: 132px; }
.life-intro h2 { color: white; }
.life-intro > p:not(.eyebrow) { max-width: 520px; color: #d9cdd0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; border-bottom: 1px solid rgb(228 189 97 / 55%); padding-bottom: 4px; color: var(--gold-300); font-weight: 800; }
.activity-list { border-top: 1px solid rgb(255 255 255 / 16%); }
.activity-list article { min-height: 158px; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 22px; border-bottom: 1px solid rgb(255 255 255 / 16%); }
.activity-list article > span { color: var(--gold-300); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.activity-list h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.activity-list p { margin: 5px 0 0; color: #cdbfc3; }

.updates { background: var(--paper); }
.centered-heading { max-width: 850px; margin-inline: auto; text-align: center; }
.centered-heading > p:last-child { max-width: 690px; margin: 20px auto 0; color: var(--muted); }
.update-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.update-grid article { min-height: 280px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: white; padding: 28px; }
.update-grid article:nth-child(2) { transform: translateY(24px); background: #fff7e8; }
.update-label { width: fit-content; border-radius: 999px; background: #f3e7d5; padding: 6px 10px; color: var(--maroon-800); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.update-grid time { margin-top: 18px; color: var(--muted); font-size: .76rem; }
.update-grid h3 { margin: auto 0 8px; color: var(--maroon-900); font-size: 1.7rem; line-height: 1.12; }
.update-grid p { margin: 0; color: var(--muted); }

.people { background: #f4e6d1; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.people-copy > p:not(.eyebrow) { max-width: 580px; color: #6c5c61; }
.people-groups { display: grid; gap: 12px; }
.people-groups article { min-height: 126px; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 20px; border: 1px solid rgb(104 26 53 / 12%); border-radius: 20px; background: rgb(255 253 248 / 72%); padding: 20px; }
.people-groups article > span, .staff-photo { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--maroon-800); color: var(--gold-300); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.people-groups h3 { margin: 0; color: var(--maroon-900); font-size: 1.35rem; }
.people-groups p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }

.visit { background: var(--gold-300); }
.visit-grid { min-height: 360px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; }
.visit .eyebrow { color: var(--maroon-900); }
.visit-details { display: grid; justify-items: start; gap: 16px; }
.visit-details address { font-style: normal; font-weight: 650; }
.visit-details > a:not(.button) { color: var(--maroon-900); font-size: 1.25rem; font-weight: 900; }
.site-footer { background: var(--maroon-950); color: #d8cdd0; padding-block: 42px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 60px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; }
.footer-brand div { display: grid; }
.footer-brand strong { color: white; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.footer-brand span { color: var(--gold-300); font-size: .76rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: white; font-size: .85rem; font-weight: 700; }
.site-footer > .footer-grid > p { grid-column: 1 / -1; margin: 0; border-top: 1px solid rgb(255 255 255 / 12%); padding-top: 22px; font-size: .74rem; }

.content-heading, .article-header { max-width: 900px; }
.content-heading h1, .article-header h1 { margin: 0; color: var(--maroon-950); font-size: clamp(2.7rem, 6vw, 5rem); }
.post-list { margin-top: 50px; display: grid; gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: 22px; background: white; padding: 30px; }
.post-card time { color: var(--muted); font-size: .78rem; }
.post-card h2 { margin: 10px 0 8px; color: var(--maroon-900); font-size: 2rem; }
.post-card p { margin: 0; color: var(--muted); }
.article-shell { max-width: 920px; }
.article-image { margin: 42px 0; }
.article-image img { width: 100%; border-radius: 24px; }
.article-content { font-size: 1.08rem; }
.article-content > * { max-width: 760px; margin-inline: auto; }
.article-content > .alignwide { max-width: 1180px; }
.article-content a { color: var(--maroon-700); text-decoration: underline; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--maroon-900); font-weight: 800; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; right: 0; top: 48px; width: 220px; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 16px; background: white; padding: 10px; box-shadow: 0 20px 50px rgb(65 15 35 / 16%); }
  .mobile-nav nav a { padding: 9px 11px; border-radius: 9px; font-weight: 700; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 62px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-mark { min-height: 470px; }
  .motto-card { left: 50%; transform: translateX(-50%); }
  .legacy-grid { grid-template-columns: 1fr; gap: 46px; }
  .founder-frame { width: min(380px, 100%); margin-inline: auto; }
  .split-heading, .life-grid, .people-grid, .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .life-intro { position: static; }
  .visit-grid { padding-block: 72px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topline-inner { min-height: 40px; justify-content: center; text-align: center; }
  .topline-inner span { display: none; }
  .header-inner { min-height: 70px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .62rem; }
  .hero-grid { min-height: auto; padding-block: 52px 64px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
  .trust-row span { border-left: 2px solid var(--gold-500); padding-left: 12px; }
  .hero-mark { min-height: 420px; }
  .crest-halo { width: min(330px, 96vw); }
  .motto-card { bottom: 0; }
  .legacy-grid, .section-pad { padding-block: 68px; }
  .impact-grid, .campus-grid, .update-grid { grid-template-columns: 1fr; }
  .impact article { min-height: 120px; border-right: 0; border-bottom: 1px solid #dfcfb8; padding-inline: 20px; }
  .impact article:last-child { border-bottom: 0; }
  .section-heading h2, .life-intro h2, .people-copy h2, .visit h2 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .feature-card { min-height: 260px; padding: 24px; }
  .safety-note { width: 140px; font-size: .62rem; }
  .activity-list article { min-height: 140px; grid-template-columns: 36px 1fr; gap: 12px; }
  .update-grid article:nth-child(2) { transform: none; }
  .people-groups article { grid-template-columns: 54px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

