:root {
  --red: #b40000;
  --red-dark: #720000;
  --maroon: #3f0907;
  --gold: #f3c43e;
  --saffron: #c87b17;
  --green: #234a3d;
  --paper: #fff8e9;
  --paper-deep: #f5dfb9;
  --ink: #291a12;
  --muted: #705b4d;
  --line: rgba(114, 0, 0, 0.16);
  --shadow: 0 20px 48px rgba(63, 9, 7, 0.12);
  --pattern-width: clamp(110px, 11vw, 165px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Noto Sans Devanagari", Arial, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 8px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 233, 0.96);
  box-shadow: 0 8px 30px rgba(63, 9, 7, 0.08);
}
.brand img { width: clamp(132px, 15vw, 180px); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); color: var(--red-dark); font-size: .92rem; font-weight: 700; }
.nav a { padding: 10px 0; }
.nav-cta { padding: 10px 16px !important; border-radius: 6px; color: #fff; background: var(--red-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 6px; background: #fffaf0; }
.menu-toggle span { width: 20px; height: 2px; background: var(--red-dark); transition: transform .25s, opacity .25s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

h1, h2, h3 { margin: 0; line-height: 1.12; font-family: "Lora", "Noto Serif Devanagari", Georgia, serif; }
h2 { color: var(--red-dark); font-size: clamp(2rem, 3.5vw, 3.7rem); }
h3 { color: var(--red-dark); }
.eyebrow { margin: 0 0 12px; color: var(--saffron); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.eyebrow span { margin-left: 8px; color: var(--red-dark); }

.admission-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, calc(100vh - 76px));
  padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 248, 233, .97) 0%, rgba(255, 248, 233, .88) 48%, rgba(255, 248, 233, .18) 76%),
    url("pdf_images/page11_00_Im128.jpg") center / cover no-repeat;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-kicker { margin: 0 0 14px; color: var(--red); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.hero-kicker span { margin-left: 10px; }
h1 { color: var(--red-dark); font-size: clamp(3.4rem, 8vw, 7.3rem); }
.sanskrit-line { margin: 10px 0 0; color: var(--saffron); font-family: "Noto Serif Devanagari", serif; font-size: clamp(1.12rem, 2vw, 1.55rem); font-weight: 700; }
.hero-lead { margin: 24px 0 0; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
.hero-hindi { margin: 6px 0 0; color: var(--muted); font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; font-weight: 800; }
.button.primary { color: #351900; background: var(--gold); box-shadow: 0 12px 28px rgba(200, 123, 23, .22); }
.button.secondary { color: var(--red-dark); border-color: rgba(114, 0, 0, .3); background: rgba(255, 250, 240, .75); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-facts span { min-width: 150px; padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(255, 250, 240, .72); color: var(--muted); }
.hero-facts strong { display: block; color: var(--red-dark); }

.section-band {
  position: relative;
  padding: clamp(68px, 8vw, 112px) max(clamp(20px, 5vw, 74px), calc(var(--pattern-width) + 24px)) clamp(68px, 8vw, 112px) clamp(20px, 5vw, 74px);
  background:
    linear-gradient(90deg, rgba(255,248,233,.1), rgba(255,248,233,.05)),
    url("side-pattern.png") right center / var(--pattern-width) 100% no-repeat,
    url("parchment-bg.png") center / 100% 100% no-repeat;
}
.section-band:nth-of-type(even) { background-color: #f8e9ce; }
.section-title { max-width: 900px; margin-bottom: 38px; }

.message-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1120px; }
.message { padding: clamp(24px, 3.5vw, 38px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 251, 242, .92); box-shadow: var(--shadow); }
.message p:first-child { margin-top: 0; font-weight: 700; }
.message p:last-child { margin-bottom: 0; }
.english-copy { border-top: 4px solid var(--green); }
.hindi-copy { border-top: 4px solid var(--red); }
.signature { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.signature strong, .signature span { display: block; }
.signature span { color: var(--muted); font-size: .92rem; }
blockquote { max-width: 1120px; margin: 26px 0 0; padding: 22px clamp(22px, 3vw, 34px); border-left: 5px solid var(--gold); background: var(--maroon); color: #fff; }
blockquote span { font-family: "Noto Serif Devanagari", serif; font-size: 1.15rem; }
blockquote p { margin: 6px 0 0; color: rgba(255,255,255,.74); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 40px; max-width: 1120px; }
.about-copy { font-size: 1.06rem; }
.about-copy p:first-child { margin-top: 0; }
.strong-copy { padding: 18px 20px; border-left: 4px solid var(--red); background: rgba(255,250,240,.8); color: var(--red-dark); font-weight: 700; }
.vision-list { display: grid; gap: 10px; }
.vision-list div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.vision-list span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red-dark); color: #fff; font-weight: 800; }
.vision-list p { margin: 0; font-weight: 700; }
.vision-list small { color: var(--muted); font-weight: 500; }

.curriculum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1120px; }
.curriculum-grid article { position: relative; min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,251,242,.93); box-shadow: var(--shadow); }
.card-index { position: absolute; top: 22px; right: 24px; color: rgba(180,0,0,.24); font-size: 2rem; font-weight: 800; }
.curriculum-grid h3 { font-size: 1.45rem; }
.devanagari { margin: 4px 0 18px; color: var(--saffron); font-weight: 700; }
ul { margin: 14px 0 0; padding-left: 20px; }
li { margin: 5px 0; }

.skills { background-color: #f3e2c3; }
.skills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1120px; }
.skills-grid article { min-height: 190px; padding: 22px; border-top: 4px solid var(--gold); background: var(--maroon); color: #fff; }
.skills-grid h3 { color: var(--gold); font-size: 1.12rem; }
.skills-grid p { margin: 2px 0 14px; color: rgba(255,255,255,.68); }
.skills-grid span { color: rgba(255,255,255,.86); font-size: .94rem; }

.model-grid { display: grid; grid-template-columns: 7fr 2fr 1fr; gap: 12px; max-width: 1120px; }
.model-grid article { min-height: 280px; padding: 28px; color: #fff; }
.model-grid strong { display: block; margin-bottom: 30px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; }
.model-grid h3 { color: #fff; }
.model-grid p, .model-grid span { color: rgba(255,255,255,.82); }
.model-practical { background: var(--red-dark); }
.model-mentor { background: var(--green); }
.model-class { background: #9b641c; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1120px; }
.timeline article { position: relative; min-height: 250px; padding: 30px 22px; border-top: 2px solid var(--red); border-right: 1px solid var(--line); background: rgba(255,250,240,.72); }
.timeline article:last-child { border-right: 0; }
.timeline span { color: var(--saffron); font-weight: 800; }
.timeline h3 { margin: 28px 0 12px; font-size: 1.28rem; }
.timeline p { margin: 0 0 8px; }
.timeline small { color: var(--muted); }

.campus { display: grid; grid-template-columns: minmax(380px, 46%) minmax(0, 1fr); min-height: 720px; background: #fff6e5; }
.campus-images { position: relative; min-height: 720px; overflow: hidden; }
.campus-images img:first-child { width: 100%; height: 100%; object-fit: cover; }
.campus-images img:last-child { position: absolute; right: 24px; bottom: 24px; width: 46%; aspect-ratio: 4/3; object-fit: cover; border: 8px solid #fff6e5; }
.campus-content { align-self: center; padding: clamp(54px, 7vw, 96px); }
.campus-content h2 { margin-bottom: 26px; }
.campus-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.campus-tags span { padding: 8px 11px; border: 1px solid rgba(35,74,61,.22); border-radius: 5px; background: rgba(35,74,61,.08); color: var(--green); font-size: .9rem; font-weight: 700; }

.outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1120px; }
.outcome-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); background: rgba(255,251,242,.9); }
.outcome-grid span { color: var(--saffron); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.outcome-grid h3 { margin: 36px 0 12px; font-size: 1.25rem; }
.outcome-grid p { color: var(--muted); }

.admissions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 34px; }
.eligibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eligibility-grid article { display: flex; align-items: center; gap: 18px; min-height: 120px; padding: 20px; border: 1px solid var(--line); background: rgba(255,250,240,.84); }
.eligibility-grid strong { color: var(--red-dark); font-size: 1.7rem; }
.ideal-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ideal-list span { padding: 8px 10px; border-radius: 5px; background: rgba(180,0,0,.08); color: var(--red-dark); font-size: .9rem; font-weight: 700; }
.admission-contact { padding: 34px; border-radius: 8px; background: var(--maroon); color: #fff; box-shadow: var(--shadow); }
.admission-contact > p { margin-top: 0; color: var(--gold); font-weight: 800; text-transform: uppercase; }
.admission-contact h2 { color: #fff; font-size: 2rem; }
.admission-contact address { margin: 26px 0; color: rgba(255,255,255,.8); font-style: normal; }

.promise { padding: clamp(56px, 8vw, 100px) clamp(20px, 7vw, 100px); background: var(--green); color: #fff; text-align: center; }
.promise p { margin: 4px 0; font-family: "Lora", serif; font-size: clamp(1.45rem, 3vw, 2.8rem); }
.promise strong { color: var(--gold); }
.promise span { display: block; margin-top: 22px; color: rgba(255,255,255,.76); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(20px, 5vw, 74px); background: #260000; color: rgba(255,255,255,.74); }
footer img { width: min(220px, 46vw); }
footer div { text-align: right; }
footer p { margin: 0 0 5px; }
footer a { color: var(--gold); font-weight: 700; }

.reveal { opacity: 1; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav { position: absolute; top: calc(100% + 1px); right: 18px; left: 18px; display: grid; gap: 4px; max-height: 0; padding: 0; overflow: hidden; border: 1px solid transparent; border-radius: 8px; background: #fff8e9; opacity: 0; box-shadow: var(--shadow); transition: max-height .3s, padding .3s, opacity .25s; }
  .nav.is-open { max-height: 340px; padding: 10px; border-color: var(--line); opacity: 1; }
  .nav a { padding: 12px; }
  .nav-cta { padding: 12px !important; }
  .section-band { padding-right: clamp(20px, 5vw, 74px); }
  .message-layout, .about-grid, .campus, .admissions { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .model-grid { grid-template-columns: 1fr; }
  .model-grid article { min-height: auto; }
  .campus-images { min-height: 520px; }
  .campus-content { padding: 54px clamp(20px, 6vw, 64px); }
}

@media (max-width: 640px) {
  :root { --pattern-width: 76px; }
  .brand img { width: 138px; }
  .admission-hero { min-height: 720px; padding: 68px 20px; background-position: 62% center; }
  h1 { font-size: 3.25rem; }
  .hero-facts, .curriculum-grid, .skills-grid, .timeline, .outcome-grid, .eligibility-grid { grid-template-columns: 1fr; }
  .hero-facts { display: grid; }
  .section-band { padding: 58px 20px; background-image: url("parchment-bg.png"); background-size: 100% 100%; }
  .message, .curriculum-grid article, .admission-contact { padding: 24px; }
  .campus-images { min-height: 420px; }
  .campus-images img:last-child { right: 14px; bottom: 14px; border-width: 5px; }
  footer { align-items: flex-start; flex-direction: column; }
  footer div { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
