/* Divine Light Central School — brand styles
   Palette and type taken from the DLCS booklet & brochure. */
:root {
  --blue: #0a0af0;
  --blue-deep: #0505b0;
  --blue-ink: #06067a;
  --yellow: #ffd43b;
  --yellow-soft: #fff1b8;
  --gold: #c9a13b;
  --gold-ink: #9a7412;
  --cream: #f7f5ee;
  --paper: #fffdf8;
  --maroon: #9e1b32;
  --ink: #12122e;
  --muted: #5b5b73;
  --line: #dcd8c9;
  --white: #ffffff;

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Source Serif 4", Georgia, serif;
  --f-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(6, 6, 122, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); line-height: 1.02; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 18px;
}
.on-blue .eyebrow { color: var(--yellow); }
.h-xl { font-size: clamp(44px, 7.4vw, 96px); font-weight: 900; text-transform: uppercase; font-stretch: 92%; }
.h-lg { font-size: clamp(34px, 5vw, 60px); font-weight: 900; text-transform: uppercase; font-stretch: 92%; }
.h-md { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; text-transform: uppercase; }
.hl { color: var(--yellow); }
.on-cream .hl, .hl-blue { color: var(--blue); }
.serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; }
.accent { font-family: var(--f-serif); font-style: italic; color: var(--maroon); }
.on-blue { background: var(--blue); color: var(--white); }
.on-blue .accent { color: var(--yellow-soft); }
.on-cream { background: var(--cream); }
.on-paper { background: var(--paper); }

.motto {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-deva); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4;
}
.motto::before, .motto::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; min-width: 30px; }
.motto.left::before { display: none; }
.values { font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--blue-ink); box-shadow: 0 10px 30px -12px rgba(255, 212, 59, .8); }
.btn-yellow:hover { background: #ffe066; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.on-cream .btn-ghost:hover, .on-paper .btn-ghost:hover { background: rgba(10,10,240,.06); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Announcement bar ---------- */
.topbar { background: var(--yellow); color: var(--blue-ink); font-size: 13px; font-weight: 700; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; }
.topbar .pill { background: var(--blue); color: var(--yellow); padding: 3px 10px; border-radius: 99px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-right: 10px; }
@media (max-width: 720px) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: center; text-align: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(201, 161, 59, .35); transition: box-shadow .3s;
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 248, 241, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.scrolled { box-shadow: 0 10px 34px -22px rgba(6,6,122,.45); }
.site-header .wrap, .topbar .wrap { max-width: 1380px; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 92px; transition: min-height .3s ease; }
.site-header.scrolled .wrap { min-height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--blue); flex: none; }
.brand img { width: 60px; height: 60px; filter: drop-shadow(0 6px 10px rgba(6,6,122,.22)); transition: width .3s ease, height .3s ease, transform .5s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.04); }
.site-header.scrolled .brand img { width: 48px; height: 48px; }
.brand-name { display: flex; flex-direction: column; white-space: nowrap; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-stretch: 80%; line-height: .92; letter-spacing: .005em; }
.brand-name .l1 { font-size: 23px; color: var(--blue); }
.brand-name .l2 { font-size: 23px; color: var(--blue-ink); }
.brand-name small { display: flex; align-items: center; gap: 8px; font-family: var(--f-deva); font-weight: 400; font-size: 14px; line-height: 1; color: var(--maroon); text-transform: none; font-stretch: 100%; letter-spacing: 0; margin-top: 6px; }
.brand-name small::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a:not(.btn):not(.nav-call) { position: relative; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 15px; color: #33334d; padding: 10px 13px; transition: color .2s; }
.nav > a:not(.btn):not(.nav-call)::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nav > a:not(.btn):not(.nav-call):hover { color: var(--blue); }
.nav > a:not(.btn):not(.nav-call):hover::after, .nav > a.active::after { transform: scaleX(1); }
.nav > a.active { color: var(--blue); }
.nav-sep { width: 1px; height: 34px; background: var(--line); margin: 0 14px 0 12px; }
.nav-call { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-ink); margin-right: 14px; white-space: nowrap; }
.nav-call .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .25s; }
.nav-call:hover .ic { transform: rotate(-12deg) scale(1.06); }
.nav-call svg { width: 18px; height: 18px; }
.nav-call .txt { font-family: var(--f-display); font-weight: 800; font-size: 15px; line-height: 1.1; }
.nav-call small { display: block; font-family: var(--f-body); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.nav .nav-login { white-space: nowrap; flex: none; padding: 13px 20px; font-size: 12px; color: var(--white); box-shadow: 0 10px 22px -12px rgba(10,10,240,.8); }
.nav .nav-login svg { width: 16px; height: 16px; flex: none; }
.nav .nav-login:hover { color: var(--white); background: var(--blue-deep); }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); border: 0; padding: 0 13px; cursor: pointer; color: var(--white); }
.menu-toggle span { display: block; width: 22px; height: 2.5px; background: currentColor; margin: 4px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (max-width: 1480px) { .nav-call .txt { display: none; } .nav-call { margin-right: 10px; } .nav > a:not(.btn):not(.nav-call) { padding: 10px 10px; font-size: 14.5px; } .nav > a:not(.btn):not(.nav-call)::after { left: 10px; right: 10px; } }
@media (max-width: 1320px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; margin: 0;
    background: var(--blue); padding: 100px 28px 28px; gap: 2px; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; overflow-y: auto;
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.5);
  }
  .nav > a:not(.btn):not(.nav-call) { color: var(--white); font-size: 21px; font-family: var(--f-display); font-weight: 800; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav > a:not(.btn):not(.nav-call)::after { display: none; }
  .nav > a:not(.btn):not(.nav-call):hover, .nav > a.active { color: var(--yellow); }
  .nav-sep { display: none; }
  .nav-call { margin: 24px 0 0; color: var(--white); }
  .nav-call .txt { display: block; font-size: 20px; }
  .nav-call small { color: var(--yellow); }
  .nav .nav-login { margin: 16px 0 0; justify-content: center; background: var(--yellow); color: var(--blue-ink); font-size: 14px; box-shadow: none; }
  .nav .nav-login:hover { background: #ffe066; color: var(--blue-ink); }
  body.menu-open .nav { transform: none; visibility: visible; transition: transform .35s ease; }
  body.menu-open .menu-toggle { position: relative; z-index: 60; background: var(--yellow); color: var(--blue-ink); }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 420px) { .brand-name .l1, .brand-name .l2 { font-size: 19px; } .brand-name small { font-size: 12.5px; } .brand img { width: 48px; height: 48px; } .site-header .wrap { gap: 12px; min-height: 76px; } }

/* ---------- Decorations ---------- */
.framed { position: relative; }
.framed::after {
  content: ""; position: absolute; inset: clamp(10px, 1.6vw, 22px); border: 1px solid rgba(201, 161, 59, .7);
  pointer-events: none; z-index: 1;
}
.orb { position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.on-cream .orb, .on-paper .orb { background: rgba(10,10,240,.045); }
.dotgrid { position: absolute; width: 140px; height: 140px; pointer-events: none;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.7px); background-size: 16px 16px; opacity: .25; }

section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.on-blue .rule { background: rgba(255,255,255,.22); }

/* ---------- Hero ---------- */
.hero-brand { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.hero-crest { width: clamp(96px, 10vw, 128px); height: auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); }
.hero-brand .eyebrow { margin: 0; line-height: 1.8; }
.school-name { font-size: clamp(44px, 5.2vw, 80px); font-weight: 900; text-transform: uppercase; line-height: .88; letter-spacing: -.02em; font-stretch: 72%; margin-bottom: 20px; color: var(--white); }
.school-name span { display: block; white-space: nowrap; }
.school-name .l2 { color: var(--yellow); }
@media (max-width: 900px) { .school-name { font-size: clamp(40px, 11.5vw, 84px); } }
.hero .hero-motto { color: var(--yellow-soft); max-width: 520px; margin-bottom: 22px; }
.tagline { font-family: var(--f-display); font-weight: 800; font-size: clamp(19px, 1.9vw, 24px); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 14px; line-height: 1.25; }
.tagline em { display: block; font-family: var(--f-serif); font-weight: 400; text-transform: none; color: var(--yellow-soft); letter-spacing: 0; }
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero .orb.a { width: 620px; height: 620px; right: -180px; bottom: -260px; }
.hero .orb.b { width: 260px; height: 260px; left: -90px; top: 38%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .serif-i { display: block; font-size: .56em; margin-top: .25em; color: var(--yellow-soft); line-height: 1.1; }
.hero .lede { color: rgba(255,255,255,.88); margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero .motto { max-width: 460px; color: var(--yellow); }
.hero .values { color: rgba(255,255,255,.75); margin-top: 8px; }

.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.collage figure:hover img { transform: scale(1.04); }
.collage .c1 { grid-row: span 2; aspect-ratio: 3/4.3; }
.collage .c2 { aspect-ratio: 4/4.2; }
.collage .c3 { aspect-ratio: 4/4.2; }
.collage .badge {
  position: absolute; left: -26px; bottom: 34px; z-index: 3;
  background: var(--yellow); color: var(--blue-ink); padding: 16px 20px; border-radius: var(--radius);
  font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); transform: rotate(-3deg);
}
.collage .badge b { display: block; font-family: var(--f-display); font-size: 28px; letter-spacing: 0; font-weight: 900; }
.collage .seal { position: absolute; height: auto; right: -18px; top: -26px; width: 104px; z-index: 3; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid rgba(255,255,255,.22); }
.stat { padding: 26px 20px 0; border-left: 1px solid rgba(255,255,255,.22); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; color: var(--yellow); line-height: 1; }
.stat span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
  .collage .badge { left: 12px; }
  .collage .seal { right: 6px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 20px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--maroon); color: var(--white); overflow: hidden; padding: 16px 0; border-block: 3px solid var(--yellow); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
.marquee-track span::after { content: "✦"; color: var(--yellow); font-size: 16px; }
.marquee-track .brand-mq { color: var(--yellow); font-weight: 900; }
.marquee-track .deva { font-family: var(--f-deva); font-weight: 400; text-transform: none; font-size: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.big-year {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(110px, 17vw, 230px); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px var(--blue); position: relative; margin-bottom: 18px;
}
.big-year small { position: absolute; top: -10px; right: 6px; -webkit-text-stroke: 0; color: var(--gold-ink); font-size: 12px; letter-spacing: .3em; font-weight: 800; }
.motto-card { background: var(--blue); color: var(--white); padding: 34px; border-radius: var(--radius); position: relative; overflow: hidden; }
.motto-card .motto { color: var(--yellow); }
.motto-card blockquote { margin: 14px 0 10px; text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 22px; }
.motto-card .values { text-align: center; color: rgba(255,255,255,.75); }
.motto-card .orb { width: 220px; height: 220px; right: -70px; bottom: -110px; }
.about h2 { color: var(--blue); margin-bottom: 26px; }
.about .lede strong { color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306067a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.on-blue .checks li { border-color: rgba(255,255,255,.2); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Director ---------- */
.director { overflow: hidden; }
.director .orb.a { width: 520px; height: 520px; left: -200px; bottom: -240px; }
.director-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); position: relative; z-index: 1; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--yellow); border-radius: var(--radius); }
.portrait .tag { position: absolute; z-index: 2; left: -14px; top: 28px; background: var(--yellow); color: var(--blue-ink); font-weight: 800; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 14px; }
.quote-mark { font-family: var(--f-serif); font-size: 140px; line-height: .6; color: var(--yellow); height: 60px; display: block; }
.director blockquote { margin: 0 0 30px; font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.35; }
.director h2 { margin-bottom: 30px; }
.sig { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.sig > div { padding: 18px 22px; }
.sig .who { flex: 1 1 220px; border-right: 1px solid var(--line); }
.sig .who h3 { font-size: 24px; text-transform: uppercase; color: var(--blue); font-weight: 900; }
.sig .who p { margin: 4px 0 0; font-family: var(--f-serif); font-style: italic; color: var(--maroon); }
.sig .kv { flex: 1 1 130px; border-right: 1px solid var(--line); }
.sig .kv:last-child { border-right: 0; }
.sig .kv small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.sig .kv b { display: block; font-family: var(--f-display); font-size: 22px; color: var(--blue); font-weight: 900; }
.sig .kv span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .director-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- Academics ---------- */
.acad-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 70px); }
.levels { border-top: 2px solid var(--blue); }
.level { display: grid; grid-template-columns: 170px 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.level:hover { background: var(--paper); padding-left: 14px; padding-right: 14px; }
.level .lv { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 42px); color: var(--blue); line-height: 1; text-transform: none; }
.level .tier { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-bottom: 4px; }
.level p { margin: 0; color: var(--muted); }
.level .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--blue); transition: background .25s, color .25s, border-color .25s; }
.level:hover .arrow { background: var(--blue); color: var(--yellow); border-color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { background: var(--blue); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 2px; }
.chip.outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.acad-side { display: flex; flex-direction: column; gap: 20px; }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 22px 18px; background: linear-gradient(transparent, rgba(5,5,120,.92)); color: var(--white); }
.photo-card figcaption b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 22px; text-transform: uppercase; color: var(--yellow); }
.promo-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.promo-card h3 { font-size: 20px; color: var(--blue); text-transform: uppercase; font-weight: 900; margin-bottom: 6px; }
.promo-card > p { color: var(--muted); font-size: 15px; }
.weights { display: flex; height: 58px; border-radius: 3px; overflow: hidden; margin: 18px 0 10px; }
.weights div { display: flex; flex-direction: column; justify-content: center; padding: 0 14px; color: var(--white); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.weights div b { font-family: var(--f-display); font-size: 20px; }
.weights .w1 { flex: 20; background: #5a5af6; }
.weights .w2 { flex: 30; background: var(--blue); }
.weights .w3 { flex: 50; background: var(--blue-ink); color: var(--yellow); }
.promo-card small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .acad-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .level { grid-template-columns: 1fr; gap: 6px; } .level .arrow { display: none; } .weights div { padding: 0 8px; font-size: 10px; } .weights div b { font-size: 16px; } }

/* ---------- Competitive exams ---------- */
.exams .orb.a { width: 480px; height: 480px; right: -160px; top: -160px; }
.exams-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.exams h2 { margin-bottom: 20px; }
.exams h2 .hl { display: block; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.22); font-size: 17px; }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 900; font-size: 26px; color: var(--yellow); line-height: 1; }
.steps b { color: var(--white); }
.steps span { color: rgba(255,255,255,.82); }
.paper-stack { position: relative; padding: 0 0 80px 0; }
.paper-stack figure { margin: 0; background: var(--white); padding: 10px; border-radius: 3px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.paper-stack .p1 { transform: rotate(-2.5deg); position: relative; z-index: 1; }
.paper-stack .p2 { position: absolute; right: -10px; bottom: 0; width: 72%; transform: rotate(3deg); z-index: 2; }
.paper-stack .label { position: absolute; z-index: 3; top: -16px; right: 18px; background: var(--maroon); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; }
.paper-stack .label2 { top: auto; bottom: 18px; right: auto; left: 4%; background: var(--yellow); color: var(--blue-ink); transform: rotate(-4deg); font-size: 14px; }
.paper-stack figcaption { font-family: var(--f-serif); font-style: italic; font-size: 13px; color: var(--muted); padding: 8px 4px 0; }
@media (max-width: 900px) { .exams-grid { grid-template-columns: 1fr; } }

/* ---------- Facilities ---------- */
.fac-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: end; margin-bottom: 48px; }
.fac-top h2 { color: var(--blue); }
.hostel { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--blue); color: var(--white); border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; box-shadow: var(--shadow); }
.hostel .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.hostel .pics { position: relative; min-height: 300px; }
.hostel .pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hostel ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.hostel li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: 15px; }
.hostel li b { color: var(--yellow); font-family: var(--f-display); margin-right: 8px; }
@media (max-width: 520px) { .hostel ul { grid-template-columns: 1fr; } }
.hostel .body { padding: clamp(28px, 4vw, 52px); position: relative; }
.hostel .for { position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.5); padding: 6px 10px; }
.hostel h3 { font-size: clamp(30px, 3.4vw, 44px); color: var(--yellow); text-transform: uppercase; font-weight: 900; margin-bottom: 12px; }
.hostel p { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: rgba(255,255,255,.9); }
.hostel .chips .chip { background: var(--yellow); color: var(--blue-ink); }
.fac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fac { background: var(--paper); padding: 30px 26px; transition: background .3s, color .3s; }
.fac svg { width: 40px; height: 40px; color: var(--blue); margin-bottom: 18px; transition: color .3s, transform .3s; }
.fac h3 { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.fac p { margin: 0; font-size: 14px; color: var(--muted); transition: color .3s; }
.fac:hover { background: var(--blue); color: var(--white); }
.fac:hover svg { color: var(--yellow); transform: translateY(-3px); }
.fac:hover p { color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .fac-top, .hostel { grid-template-columns: 1fr; } .fac-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fac { padding: 22px 16px; } .fac h3 { font-size: 14px; } }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.gallery-head h2 { font-size: clamp(40px, 6vw, 76px); }
.gallery-head h2 .serif-i { color: var(--yellow); font-weight: 400; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--blue-deep); }
.masonry img { width: 100%; transition: transform .8s ease, opacity .4s; }
.masonry figure:hover img { transform: scale(1.05); opacity: .85; }
.masonry figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; justify-content: space-between; align-items: end; gap: 10px; pointer-events: none; }
.masonry figcaption span { background: var(--white); color: var(--blue-ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 2px; transform: translateY(8px); opacity: 0; transition: .35s; }
.masonry figure:hover figcaption span, .masonry figure:focus-visible figcaption span { transform: none; opacity: 1; }
@media (hover: none) { .masonry figcaption span { transform: none; opacity: 1; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 4, 60, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: min(1100px, 100%); width: auto; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--yellow); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; margin: 0; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 36px; line-height: 1; padding: 12px; }
.lightbox .lb-close { top: 10px; right: 14px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Parent portal / app ---------- */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.portal h2 { color: var(--blue); margin-bottom: 22px; }
.phone {
  width: min(300px, 80%); margin: 0 auto; aspect-ratio: 9/18.5; border-radius: 42px; background: var(--ink); padding: 12px;
  box-shadow: 0 50px 90px -40px rgba(6,6,122,.7), 0 0 0 1px rgba(0,0,0,.2); position: relative;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 80px; height: 20px; margin-left: -40px; background: var(--ink); border-radius: 20px; z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; font-size: 12px; }
.screen .app-top { background: var(--blue); color: var(--white); padding: 50px 18px 18px; }
.screen .app-top small { color: var(--yellow); font-weight: 800; letter-spacing: .18em; font-size: 9px; text-transform: uppercase; }
.screen .app-top b { display: block; font-family: var(--f-display); font-size: 18px; font-weight: 900; margin-top: 2px; }
.screen .ring { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.screen .ring svg { width: 56px; height: 56px; }
.screen .ring div { line-height: 1.3; font-size: 11px; color: rgba(255,255,255,.85); }
.screen .ring div b { font-size: 14px; color: var(--white); margin: 0; }
.screen .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.screen .tile { background: var(--white); border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.screen .tile i { display: block; width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); margin-bottom: 8px; }
.screen .tile:nth-child(even) i { background: var(--blue); }
.screen .tile b { display: block; font-size: 11px; color: var(--ink); }
.screen .tile span { font-size: 10px; color: var(--muted); }
.screen .notice { margin: 0 14px; background: var(--white); border-left: 3px solid var(--maroon); padding: 10px 12px; border-radius: 6px; font-size: 10px; color: var(--muted); }
.screen .notice b { color: var(--ink); display: block; font-size: 11px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 26px 0 30px; padding: 0; list-style: none; }
.feature-list li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; font-size: 15px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 9px; height: 9px; background: var(--yellow); transform: rotate(45deg); box-shadow: 0 0 0 1.5px var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fee-note { margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; background: var(--yellow-soft); border: 1px solid #f0d77a; padding: 16px 18px; border-radius: var(--radius); font-size: 15px; }
.fee-note svg { flex: none; width: 22px; height: 22px; color: var(--maroon); margin-top: 2px; }
.fee-note p { margin: 0; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; } .portal-grid .phone-col { order: 2; } }
@media (max-width: 520px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Policies teaser ---------- */
.policy-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: 26px 22px; border-radius: var(--radius); transition: background .3s, transform .3s; }
.pcard:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.pcard b { display: block; font-family: var(--f-display); font-size: 40px; color: var(--yellow); font-weight: 900; line-height: 1; margin-bottom: 8px; }
.pcard h3 { font-size: 16px; text-transform: uppercase; font-weight: 800; margin-bottom: 6px; }
.pcard p { margin: 0; font-size: 14px; color: rgba(255,255,255,.78); }
.policies-cta { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
@media (max-width: 900px) { .policy-teaser { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .policy-teaser { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 120px; }
.faq-grid h2 { margin-bottom: 18px; }
.faq-list { border-top: 2px solid var(--blue); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--f-display); font-weight: 800; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--blue); font-size: 22px; font-weight: 600; transition: transform .3s, background .3s, color .3s; }
.faq[open] summary { color: var(--blue); }
.faq[open] summary::after { transform: rotate(45deg); background: var(--blue); color: var(--yellow); }
.faq summary:hover { color: var(--blue); }
.faq p { margin: 0; padding: 0 50px 24px 4px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > div:first-child { position: static; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 70px); }
.contact h2 { color: var(--blue); margin-bottom: 14px; }
.contact-list { margin: 34px 0; border-top: 1px solid var(--line); }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.contact-list a, .contact-list span { font-size: 18px; font-weight: 600; text-decoration: none; }
.contact-list .phone-big { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.form-card { background: var(--blue); color: var(--white); padding: clamp(26px, 4vw, 46px); border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.form-card .orb { width: 300px; height: 300px; right: -120px; top: -140px; }
.form-card h3 { font-size: 30px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; position: relative; }
.form-card > p { color: rgba(255,255,255,.8); font-family: var(--f-serif); font-style: italic; font-size: 18px; position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, background .2s; width: 100%;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.14); }
.form-card .btn { margin-top: 22px; position: relative; }
.form-card .fine { font-size: 12px; color: rgba(255,255,255,.65); margin: 14px 0 0; position: relative; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.8); padding: 80px 0 30px; font-size: 15px; position: relative; overflow: hidden; }
.site-footer .orb { width: 500px; height: 500px; right: -200px; top: -250px; background: rgba(255,255,255,.04); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.foot-brand img { width: 88px; margin-bottom: 16px; }
.foot-brand h3 { color: var(--white); font-size: 24px; text-transform: uppercase; font-weight: 900; }
.foot-brand .motto { color: var(--yellow); font-size: 22px; margin: 8px 0 14px; max-width: 300px; }
.site-footer h4 { color: var(--yellow); font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.foot-bottom { position: relative; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.wordmark { position: relative; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 9.4vw, 136px); font-stretch: 72%; line-height: .88; letter-spacing: -.02em; color: rgba(255,255,255,.1); margin-top: 60px; white-space: nowrap; overflow: hidden; }
.wordmark span { color: rgba(255,212,59,.22); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Floating call ---------- */
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--blue-ink); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(6,6,122,.6); transition: transform .2s; }
.float-call:hover { transform: scale(1.08); }
.float-call svg { width: 26px; height: 26px; }
.float-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero .orb.a { width: 520px; height: 520px; right: -140px; top: -200px; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lede { color: rgba(255,255,255,.85); }
.crumbs { font-size: 13px; font-weight: 700; margin-bottom: 26px; color: rgba(255,255,255,.7); }
.crumbs a { color: var(--yellow); text-decoration: none; }

/* ---------- Policies page ---------- */
.pol-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.pol-nav { position: sticky; top: 100px; border-left: 2px solid var(--line); }
.pol-nav a { display: block; text-decoration: none; padding: 7px 0 7px 18px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.pol-nav a:hover, .pol-nav a.active { color: var(--blue); border-color: var(--blue); }
.pol-block { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.pol-block:first-child { padding-top: 0; }
.pol-block .num { font-family: var(--f-display); font-weight: 900; font-size: 14px; color: var(--gold-ink); letter-spacing: .1em; }
.pol-block h2 { font-size: clamp(26px, 3vw, 36px); color: var(--blue); text-transform: uppercase; font-weight: 900; margin: 6px 0 18px; }
.pol-block ul { margin: 0; padding: 0; list-style: none; }
.pol-block li { position: relative; padding: 8px 0 8px 26px; }
.pol-block li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--yellow); transform: rotate(45deg); box-shadow: 0 0 0 1.5px var(--blue); }
.pol-block .no li::before { background: var(--maroon); box-shadow: none; transform: none; width: 12px; height: 2px; top: 19px; }
.pol-block h3 { font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); margin: 18px 0 4px; }
.pol-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pol-card { background: var(--blue); color: var(--white); padding: 30px; border-radius: var(--radius); }
.pol-card h2 { color: var(--yellow); margin-top: 0; }
.pol-card p { font-family: var(--f-serif); font-style: italic; font-size: 20px; margin: 0; }
.pol-card.alt { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.pol-card.alt h2 { color: var(--blue); }
.exam-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 10px; }
.exam-list div { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--blue); padding: 18px; border-radius: var(--radius); }
.exam-list b { display: block; font-family: var(--f-display); font-size: 40px; color: var(--blue); font-weight: 900; line-height: 1; }
.exam-list span { font-weight: 700; font-size: 14px; }
.callout { background: var(--yellow-soft); border: 1px solid #f0d77a; padding: 16px 18px; border-radius: var(--radius); margin-top: 16px; font-weight: 600; }
.declaration { background: var(--blue); color: var(--white); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); margin-top: 50px; }
.declaration h2 { color: var(--yellow); font-size: 28px; text-transform: uppercase; font-weight: 900; margin-bottom: 10px; }
.declaration p { font-family: var(--f-serif); font-style: italic; font-size: 20px; margin: 0; }
@media (max-width: 900px) { .pol-layout { grid-template-columns: 1fr; } .pol-nav { display: none; } }
@media (max-width: 560px) { .pol-two, .exam-list { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.on-cream :focus-visible, .on-paper :focus-visible { outline-color: var(--blue); }
