/* Edmtech landing page — "campus / admission season" direction: navy and marigold gold,
   a serif display face, a crest logo, a campus arch, an academic-calendar timeline and
   programme cards. Agritech and Edtech have their own stylesheets; only main.js is shared. */

:root {
  --font-head: "Libre Caslon Text", Georgia, serif;
  --font-body: "Mukta", system-ui, sans-serif;

  --navy: #0e2a52;
  --navy-deep: #0a1f3d;
  --navy-mid: #16376a;
  --navy-soft: #24497f;
  --gold: #9a6a0c;       /* fills and buttons with white text (4.7:1 contrast) */
  --gold-hover: #83590a;
  --gold-light: #f0b84a;
  --gold-text: #8a5a00;   /* gold for text on light backgrounds (AA contrast) */
  --gold-soft: #fbefd2;
  --ink: #0f1d33;
  --text: #33415c;
  --muted: #55627d;
  --bg: #f7f9fc;
  --sky: #edf2f9;
  --mint: #dff3ec;
  --lilac: #ece9fb;
  --line: #dde3ed;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 70px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.2);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.005em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 33em; }
[lang="hi"], [lang="mr"] { font-family: var(--font-body); }

/* Small gold label above headings, with a short rule */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.section { position: relative; padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-tight { padding-top: 0; }
.section-sky { background: var(--sky); }
.section-head { max-width: 740px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--muted); }
.note-small { margin: 14px 0 0; font-size: 0.88rem; color: var(--muted); }

/* Navy sections */
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.84); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--gold-light); }
.section-navy .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border: 2px solid transparent; border-radius: 10px; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: transform 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-line:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-line-dark { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line-dark:hover { border-color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.98rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Top bar + header ---------- */
.topbar { padding: 10px 0; background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { flex: none; color: var(--gold-light); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--gold-light); vertical-align: 1px; }
@media (max-width: 560px) { .topbar-more { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, #fff 92%, transparent); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.05; color: var(--navy); }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: 0.74rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:not(.btn):hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- Artwork placeholder if an image is missing ---------- */
.art { margin: 0; }
.art.img-missing img { display: none; }
.art.img-missing::after { content: attr(data-missing); display: grid; place-items: center; aspect-ratio: var(--ar, 1); padding: 8px; border: 2px dashed var(--navy-soft); border-radius: 14px; background: rgba(255, 255, 255, 0.7); color: var(--navy); font-size: 0.78rem; font-weight: 600; line-height: 1.3; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 0; background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255, 255, 255, 0.86); }
@media (min-width: 900px) { .hero { padding-top: 64px; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-light); white-space: nowrap; }
.hero .eyebrow { color: var(--gold-light); }
.hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero-copy { padding-bottom: 8px; }
@media (min-width: 900px) { .hero-copy { padding-bottom: 72px; } }

.ticks { display: grid; gap: 8px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 26px 0 0; padding: 0; list-style: none; font-weight: 600; color: #fff; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) var(--check) center / 13px no-repeat; }

/* --fh = student height; the arch and chips are sized from it so chips never cover his face */
.hero-art { --fh: 430px; position: relative; display: grid; place-items: end center; min-height: calc(var(--fh) + 20px); }
@media (min-width: 900px) { .hero-art { --fh: 560px; } }
.arch { position: absolute; bottom: 0; left: 50%; width: min(400px, 92%); height: calc(var(--fh) * 0.86); transform: translateX(-50%); overflow: hidden; border-radius: 999px 999px 0 0; background: var(--navy-mid); border: 2px solid var(--gold-light); border-bottom: 0; box-shadow: inset 0 0 0 9px var(--navy-mid), inset 0 0 0 10px rgba(224, 163, 38, 0.45); }
.campus { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; color: var(--navy-soft); fill: var(--navy-soft); }
.campus .win { fill: var(--navy-mid); }
.art-hero { position: relative; z-index: 1; }
.art-hero img { width: auto; height: var(--fh); }
.art-hero.img-missing { width: min(300px, 70%); margin-bottom: 24px; }

.call-chip { position: absolute; z-index: 3; left: 0; bottom: calc(var(--fh) * 0.12); display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 0.9rem; line-height: 1.3; color: var(--muted); }
.call-chip strong { display: block; font-size: 1rem; color: var(--ink); }
.call-chip--hot { left: auto; right: 0; bottom: calc(var(--fh) * 0.4); background: var(--gold-soft); color: var(--text); }
.hot-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: var(--gold-light); }
.hot-icon svg { width: 18px; height: 18px; }
.chip-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; }
@media (max-width: 480px) { .call-chip { font-size: 0.8rem; padding: 10px 12px; } .call-chip .wave { display: none; } }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--navy); animation: bars 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.15s; }
.wave i:nth-child(3) { animation-delay: 0.3s; }
.wave i:nth-child(4) { animation-delay: 0.45s; }
.wave i:nth-child(5) { animation-delay: 0.6s; }
@keyframes bars { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

/* Facts band under the hero */
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid rgba(224, 163, 38, 0.5); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts > div { display: flex; flex-direction: column; padding: 22px 12px 26px; text-align: center; }
.facts > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 767px) { .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); } }
.facts dt { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.facts dd { order: -1; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; line-height: 1.2; }

/* ---------- Problem: the leaking funnel ---------- */
.funnel { display: grid; gap: 6px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.funnel li { display: grid; gap: 10px; align-items: center; }
@media (min-width: 768px) { .funnel li { grid-template-columns: 1fr 1fr; gap: 32px; } }
/* each stage is a trapezoid: --w = top width, --n = bottom width, so the rows read as one funnel */
.stage { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 66px; padding: 8px 16px; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.02rem; text-align: center; clip-path: polygon(calc(50% - var(--w) / 2) 0, calc(50% + var(--w) / 2) 0, calc(50% + var(--n) / 2) 100%, calc(50% - var(--n) / 2) 100%); }
.funnel li:nth-child(2) .stage { background: #173a6b; }
.funnel li:nth-child(3) .stage { background: #234b82; }
.funnel li:nth-child(4) .stage { background: #305c97; }
.funnel li:nth-child(5) .stage { background: var(--gold); color: #fff; }
.leak { position: relative; margin: 0; padding-left: 30px; color: var(--muted); }
.leak::before { content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 18px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--gold); transform: rotate(180deg); }
.leak strong { color: var(--ink); }
@media (max-width: 767px) { .funnel { gap: 18px; } .funnel li { gap: 8px; } }
#why .note-small { text-align: center; }

/* ---------- Live call demo ---------- */
.demo-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.demo-tabs { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.demo-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 156px; padding: 18px; text-align: left; font: inherit; color: var(--text); background: #fff; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.demo-tab:hover { transform: translateY(-3px); border-color: var(--navy-soft); }
.demo-tab[aria-selected="true"] { border-color: var(--gold); box-shadow: inset 0 4px 0 var(--gold), var(--shadow-sm); }
.demo-tab .art { width: 52px; }
.demo-tab strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); line-height: 1.25; }
.demo-tab small { color: var(--muted); font-size: 0.92rem; }
/* phones: one tab per row, icon beside the text */
@media (max-width: 560px) { .demo-tabs { grid-template-columns: 1fr; gap: 10px; } .demo-tab { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 14px 16px; } .demo-tab .art { flex: none; width: 44px; } }
.call-ends { margin-top: 18px; padding: 20px 22px; background: var(--navy); border-radius: var(--radius); color: rgba(255, 255, 255, 0.8); }
.call-ends-title { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--gold-light); }
.call-ends ul { display: grid; gap: 12px 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 0; padding: 0; list-style: none; }
.call-ends li { position: relative; padding-left: 28px; font-size: 0.95rem; line-height: 1.4; }
.call-ends li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) var(--check) center / 11px no-repeat; }
.call-ends strong { display: block; color: #fff; }
.demo-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; }

.phone { width: 100%; max-width: 380px; margin: 0 auto; padding: 12px; background: var(--navy-deep); border-radius: 44px; box-shadow: var(--shadow-lg); }
.phone-screen { display: flex; flex-direction: column; height: 620px; overflow: hidden; background: #fff; border-radius: 34px; }
.phone-top { padding: 22px 20px 16px; text-align: center; color: #fff; background: var(--navy); border-bottom: 3px solid var(--gold-light); }
.phone-top .wave i { background: var(--gold-light); }
.phone-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; opacity: 0.9; }
.phone-title { margin: 6px 0 2px; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.phone-meta { margin: 0; font-size: 0.85rem; opacity: 0.92; }
.phone-clock { display: block; margin-top: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; overflow-y: auto; background: var(--bg); }
.phone-foot { display: flex; justify-content: center; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.msg { max-width: 88%; margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 0.97rem; line-height: 1.45; color: var(--ink); animation: pop 0.35s ease-out; }
.msg .who { display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-text); }
.msg.ai { align-self: flex-start; background: var(--sky); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: var(--gold-soft); border-bottom-right-radius: 5px; }
.after { margin-top: 6px; padding: 12px 14px; background: var(--navy); color: rgba(255, 255, 255, 0.9); border-radius: 14px; animation: pop 0.35s ease-out; }
.after-title { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--gold-light); }
.after ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; }
.after li { display: flex; gap: 8px; align-items: flex-start; }
.after li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--gold) var(--check) center / 11px no-repeat; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Admission cycle: academic calendar ---------- */
.cycle-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .cycle-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } .cycle-intro { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.cycle-intro > p:not(.eyebrow) { color: var(--muted); }
.cycle-art { display: flex; justify-content: center; margin-top: 12px; padding-top: 24px; border-radius: 999px 999px var(--radius) var(--radius); background: var(--sky); overflow: hidden; }
.cycle-art img { width: auto; max-height: 380px; }
.cycle-art.img-missing { display: block; width: min(260px, 70%); padding: 8px; }
@media (max-width: 959px) { .cycle-art { display: none; } }
.calendar { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.calendar::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--gold), var(--navy-soft)); }
.calendar li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.calendar li > div { padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; box-shadow: 0 0 0 5px var(--bg); }
.calendar li:last-child .num { background: var(--gold); }
.tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 6px; background: var(--sky); color: var(--navy); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.calendar h3 { margin-bottom: 0.25em; }
.calendar p { margin: 0; color: var(--muted); font-size: 1.02rem; }
@media (max-width: 480px) { .calendar li { grid-template-columns: 48px 1fr; gap: 12px; } .num { width: 48px; height: 48px; font-size: 1.05rem; } .calendar::before { left: 23px; } .calendar li > div { padding: 16px; } }

/* ---------- Features: programme cards ---------- */
.programs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.program { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.program:hover { transform: translateY(-4px); border-color: var(--navy-soft); box-shadow: var(--shadow); }
.program-icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 16px; border-radius: 50%; background: var(--sky); box-shadow: inset 0 0 0 2px var(--gold-soft); }
.program-icon .art { width: 56px; }
.program p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.more { margin-top: 48px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.97rem; color: var(--ink); }

/* ---------- Set up: steps + campaign form ---------- */
.setup-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .setup-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.setup-grid > div > p:not(.eyebrow) { color: var(--muted); }
.steps { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding-left: 64px; }
.steps li::before { content: counter(step, upper-roman); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--gold); border-radius: 50%; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.steps h3 { margin-bottom: 0.2em; }
.steps p { margin: 0; color: var(--muted); }

.form-card { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 30px; } }
.form-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.form-head strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.form-state { padding: 2px 10px; border-radius: 6px; background: var(--gold-soft); color: var(--gold-text); font-size: 0.82rem; font-weight: 700; }
.form-fields { margin: 0; }
.form-fields > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
@media (min-width: 520px) { .form-fields > div { grid-template-columns: 120px 1fr; gap: 16px; } }
.form-fields dt { font-size: 0.86rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.form-fields dd { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.form-fields .fields, .form-fields .files { display: flex; flex-wrap: wrap; gap: 6px; }
.fields span { padding: 2px 10px; border-radius: 6px; background: var(--sky); font-size: 0.9rem; }
.files span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 0.9rem; }
.files span::before { content: ""; width: 10px; height: 12px; border-radius: 2px; background: var(--navy-soft); }
.form-foot { display: flex; justify-content: flex-end; padding-top: 16px; }
.fake-btn { padding: 10px 20px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; }

/* ---------- Counsellors (navy) ---------- */
.couns-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .couns-grid { grid-template-columns: 0.55fr 1.45fr; gap: 56px; } }
.couns-art { display: flex; justify-content: center; }
.couns-art img { width: auto; max-height: 520px; }
.couns-art.img-missing { display: block; width: min(260px, 70%); margin: 0 auto; }
@media (max-width: 959px) { .couns-art img { max-height: 360px; } }
.couns-cols { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 8px; }
.panel { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); }
.dots { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dots li { display: flex; gap: 10px; align-items: flex-start; }
.dots li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 10px; border-radius: 50%; background: var(--gold); }
.section-navy .dots li::before { background: var(--gold-light); }
.dots-dark { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-size: 1rem; }
.dots-dark li::before { margin-top: 9px; }

/* ---------- Reports ---------- */
.report-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .report-grid { grid-template-columns: 1.45fr 1fr; } }
.dash { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 768px) { .dash { padding: 30px; } }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.dash-head strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.dash-badge { padding: 3px 12px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 0.85rem; font-weight: 600; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); margin: 0 0 24px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; border-radius: 12px; background: var(--sky); }
.stat:nth-child(2) { background: var(--gold-soft); }
.stat:nth-child(3) { background: var(--mint); }
.stat:nth-child(4) { background: var(--lilac); }
.stat dt { font-size: 0.9rem; color: var(--text); }
.stat dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; color: var(--ink); }
.chart-title { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.chart { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bar { display: grid; grid-template-columns: minmax(110px, 180px) 1fr 44px; gap: 12px; align-items: center; font-size: 0.95rem; }
.bar-track { height: 12px; overflow: hidden; background: var(--sky); border-radius: 999px; }
.bar-fill { display: block; width: var(--v); height: 100%; border-radius: 999px; background: var(--navy); }
.bar:nth-child(2) .bar-fill { background: var(--gold); }
.bar:nth-child(3) .bar-fill { background: #0f766e; }
.bar:nth-child(4) .bar-fill { background: var(--navy-soft); }
.bar:nth-child(5) .bar-fill { background: #b07a12; }
.bar b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .bar { grid-template-columns: 1fr 44px; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }

.summary { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.summary-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.summary-head .art { flex: none; width: 52px; }
.summary-head strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.summary-head span { font-size: 0.9rem; color: var(--muted); }
.summary > p { color: var(--text); font-size: 1rem; }
.summary-tags { display: grid; gap: 8px; margin: 0; }
.summary-tags > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--sky); font-size: 0.95rem; }
.summary-tags dt { color: var(--muted); }
.summary-tags dd { margin: 0; font-weight: 700; color: var(--navy); }

/* ---------- Languages (navy, plaque tiles) ---------- */
.langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .langs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .langs { grid-template-columns: repeat(6, 1fr); } }
.langs li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 10px; border: 1px solid rgba(224, 163, 38, 0.4); border-radius: 12px; background: rgba(255, 255, 255, 0.04); text-align: center; }
.langs .script { font-size: 1.55rem; font-weight: 600; line-height: 1.25; color: #fff; }
.langs small { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Trust: admissions-desk photo with a seal, and the calling code ---------- */
.trust-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .trust-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.trust-grid > div > p:not(.eyebrow) { color: var(--muted); }
.trust-photo { position: relative; max-width: 460px; margin: 0 auto 36px; }
@media (min-width: 960px) { .trust-photo { margin-bottom: 0; } }
.trust-photo .art { overflow: hidden; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.trust-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.seal { position: absolute; right: -24px; bottom: -32px; width: 132px; height: 132px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22)); }
@media (max-width: 560px) { .seal { right: -6px; width: 104px; height: 104px; } }

.code-list { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 28px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.code-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.code-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); }
.code-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.code-list h3 { margin: 2px 0 0.2em; font-size: 1.08rem; }
.code-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------- Who it's for: photo cards ---------- */
.inst-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .inst-grid { grid-template-columns: repeat(2, 1fr); } .inst:first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .inst-grid { grid-template-columns: repeat(6, 1fr); }
  .inst { grid-column: span 2; }
  .inst:nth-child(-n + 2) { grid-column: span 3; } /* two wide cards on top, three below */
}
.inst { overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 250ms ease, box-shadow 250ms ease; }
.inst-photo { position: relative; overflow: hidden; }
.inst-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 700ms var(--m-ease); }
.inst:nth-child(-n + 2) .inst-photo img { aspect-ratio: 16 / 9; }
.inst-photo.img-missing::after { border-radius: 0; }
.inst-body { position: relative; padding: 30px 22px 24px; }
.inst-num { position: absolute; top: -22px; left: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; box-shadow: 0 0 0 4px #fff; }
.inst h3 { margin-bottom: 0.25em; font-size: 1.15rem; }
.inst p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .inst:hover { border-color: var(--navy-soft); box-shadow: var(--shadow); }
  .inst:hover .inst-photo img { transform: scale(1.04); }
}

/* ---------- FAQ: prospectus-style numbered list beside a help card ---------- */
.faq-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-intro > p:not(.eyebrow) { color: var(--muted); }
.faq-help { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; align-items: center; margin-top: 26px; padding: 20px; background: var(--navy); border-radius: var(--radius); color: rgba(255, 255, 255, 0.8); }
.faq-help .art { width: 52px; }
.faq-help strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: #fff; }
.faq-help span { font-size: 0.95rem; }
.faq-help .btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }

.faq { padding-top: 8px; border-top: 2px solid var(--navy); interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line); transition: background-color 300ms ease; }
.faq details[open] { background: #fff; }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 22px 16px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: none; } /* focus is shown on the icon and the question instead of a box */
.faq summary:focus-visible .faq-q { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq summary:focus-visible .faq-icon { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }
.faq-num { flex: none; width: 2.2em; font-family: var(--font-head); font-size: 1.05rem; color: var(--gold-text); }
.faq-q { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--ink); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .faq-q { color: var(--navy-soft); } .faq summary:hover .faq-icon { background: var(--gold-soft); } }

/* Plus that turns into a minus: two bars, the upright one rotates flat */
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); transition: background-color 250ms ease, transform 400ms var(--m-ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy); transition: transform 400ms var(--m-ease), background-color 250ms ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon { background: var(--navy); transform: rotate(180deg); }
.faq details[open] .faq-icon::before, .faq details[open] .faq-icon::after { background: #fff; }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }

.faq-answer { padding: 0 66px 24px calc(16px + 2.2em + 16px); }
.faq-answer p { margin: 0; max-width: 60ch; color: var(--muted); }
@media (max-width: 560px) { .faq summary { gap: 12px; padding: 18px 12px; } .faq-num { width: 1.8em; } .faq-answer { padding: 0 12px 20px; } }

/* Open and close smoothly where the browser can animate <details> (others open instantly) */
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 450ms var(--m-ease), content-visibility 450ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@keyframes faq-in { from { opacity: 0; transform: translate3d(0, -10px, 0); } }
.faq details[open] .faq-answer { animation: faq-in 500ms var(--m-ease) 80ms both; }

/* ---------- Closing CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding: 48px 24px; text-align: center; background: var(--navy); border-radius: var(--radius-lg); color: rgba(255, 255, 255, 0.85); }
@media (min-width: 768px) { .cta-band { padding: 72px 64px; } }
.cta-band::before, .cta-band::after { content: ""; position: absolute; bottom: 0; width: 150px; height: 190px; border: 2px solid rgba(224, 163, 38, 0.35); border-bottom: 0; border-radius: 999px 999px 0 0; box-shadow: inset 0 0 0 8px var(--navy), inset 0 0 0 9px rgba(224, 163, 38, 0.2); pointer-events: none; }
.cta-band::before { left: 40px; }
.cta-band::after { right: 40px; }
@media (max-width: 899px) { .cta-band::before, .cta-band::after { display: none; } }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { justify-content: center; color: var(--gold-light); }
.cta-band h2 { color: #fff; }
.cta-band p:not(.eyebrow) { max-width: 34em; margin: 0 auto; }
.cta-band .cta-row { justify-content: center; }

.site-footer { padding: 36px 0; background: var(--navy-deep); font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); }
.footer-links a:hover { color: var(--gold-light); }
.disclaimer { margin: 16px 0 0; font-size: 0.88rem; }

/* ---------- Motion ---------- */
/* Reveals, hero load and counters live in motion.css (shared). Page-specific motion below. */
/* The admission-calendar line draws down as the steps scroll past */
@supports (animation-timeline: view()) {
  @keyframes draw-y { from { transform: scaleY(0); } }
  .calendar { view-timeline-name: --calendar; }
  .js .calendar::before { transform-origin: top; animation: draw-y linear both; animation-timeline: --calendar; animation-range: cover 20% cover 75%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
