/* FMQ Classes — white page, big navy type, red + yellow brand, pastel cards.
   Every section is sized to fit one screen (laptop and phone); long lists slide sideways. */
:root {
  --ink: #1a1517;
  --ink-2: #352c30;
  --muted: #6e6468;
  --line: #efe6e4;
  --soft: #fbf6f3;
  --primary: #d62828;
  --primary-2: #ef4444;
  --primary-dark: #8f1519;
  --primary-soft: #ffeceb;
  --accent: #ffc21a;
  --accent-2: #ffd75e;
  --accent-ink: #8f1519;
  --accent-soft: #fff4cc;
  --c1: #ffeceb;
  --c2: #fff4cc;
  --c3: #fdf0e3;
  --radius: 26px;
  --shadow: 0 22px 54px rgba(80, 20, 20, .10);
  --header-h: 78px;
  --gap: 20px;
  --pad: clamp(40px, 6vh, 80px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: clamp(30px, min(3.6vw, 5.4vh), 46px); }
.muted { color: var(--muted); }
main > section { padding: var(--pad) 0; }

/* labels + section heads */
.pill-label { display: inline-block; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.pill-label.light { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(24px, 4vh, 40px); text-align: center; }
.section-head h2 { margin: 12px 0 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.section-head p:empty { display: none; }
.section-head.left { margin: 0; text-align: left; max-width: 760px; }
.section-head.left p { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 3.5vh, 34px); }
.head-ctrl { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.arrows { display: flex; gap: 8px; }
.arrow-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 19px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.arrow-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.tabs { display: flex; gap: 8px; }
.tabs:empty { display: none; }
.tab { min-height: 40px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .2s; }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.demo-note { margin: 4px 0 0; color: #8a6a2b; font-size: 14px; }
.swipe-hint { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.sm { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #3a2f33; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px rgba(214,40,40,.26); }
.btn-primary:hover { background: #b81d24; }
.btn-outline { border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -10px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 15px; }
.btn-split { display: inline-flex; align-items: center; }
.btn-split .btn { border-radius: 999px 0 0 999px; padding-right: 30px; }
.btn-split .round { width: 52px; height: 52px; margin-left: -14px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 22px; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(255,194,26,.3); transition: transform .2s; }
.btn-split:hover .round { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 8px; color: var(--ink); font-weight: 700; font-size: 16px; border-bottom: 2px solid transparent; }
.text-link:hover { color: var(--primary); }

/* ticker */
.ticker-bar { background: var(--primary-dark); color: #ffe3e1; font-size: 14px; font-weight: 600; }
.ticker-inner { height: 38px; display: flex; align-items: center; gap: 14px; }
.ticker-label { flex: 0 0 auto; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.ticker { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: inline-flex; gap: 46px; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker-track span::before { content: "✦"; margin-right: 10px; color: var(--accent); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(60,15,15,.05); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; display: flex; gap: 3px; }
.brand-mark i { display: block; width: 13px; border-radius: 4px 4px 4px 2px; background: var(--primary); }
.brand-mark i:first-child { height: 18px; }
.brand-mark i:last-child { height: 30px; background: var(--accent); border-radius: 4px 4px 2px 4px; }
.brand-name { font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
main > section.hero { padding: clamp(16px, 3vh, 32px) 0 clamp(20px, 3.5vh, 36px); }
.hero-slides { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(30px, 4vw, 56px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hero-slide.active .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.active .hero-copy > *:nth-child(2) { transition-delay: .08s; }
.hero-slide.active .hero-copy > *:nth-child(3) { transition-delay: .16s; }
.hero-slide.active .hero-copy > *:nth-child(4) { transition-delay: .24s; }
.trust { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.avatars { display: flex; flex: 0 0 auto; }
.avatars span { width: 34px; height: 34px; margin-left: -10px; border-radius: 50%; border: 2px solid #fff; background: var(--primary-soft) center 25% / cover no-repeat; display: grid; place-items: center; color: var(--primary); font-size: 12px; font-weight: 700; }
.avatars span:first-child { margin-left: 0; }
.hero-copy h1, .hero-copy h2 { margin: clamp(14px, 2.6vh, 26px) 0 clamp(12px, 2.2vh, 20px); font-size: clamp(40px, min(5.4vw, 8.4vh), 78px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.hero-copy h1 span, .hero-copy h2 span { display: block; color: var(--primary); }
.hero-sub { margin: 0; max-width: 520px; color: var(--muted); font-size: clamp(16px, 2.2vh, 19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: clamp(20px, 3.6vh, 34px); }

.hero-card { position: relative; height: clamp(360px, calc(100svh - 300px), 600px); border-radius: 32px; background: radial-gradient(circle at 88% 12%, rgba(255,194,26,.45), transparent 32%), radial-gradient(circle at 50% 30%, rgba(255,255,255,.5), transparent 55%), linear-gradient(180deg, #fff1ec 0%, #ff958d 48%, #d62828 100%); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; left: 50%; top: 55%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.5); }
.hero-person { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; max-width: 92%; object-fit: contain; object-position: bottom; transform: translateX(-50%) translateY(30px); opacity: 0; transition: transform .8s ease .1s, opacity .8s ease .1s; }
.hero-slide.active .hero-person { transform: translateX(-50%); opacity: 1; }
.hero-card.photo .hero-person { inset: 0; height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center 30%; transform: scale(1.06); }
.hero-slide.active .hero-card.photo .hero-person { transform: none; }
.hero-card.photo::before { display: none; }
.chip-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; box-shadow: 0 12px 30px rgba(60,15,15,.15); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.chip-float i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--primary); font-style: normal; font-size: 13px; }
.chip-float.c0 { left: 5%; top: 42%; }
.chip-float.c1 { right: 4%; top: 58%; animation-delay: -1.2s; }
.chip-float.c2 { left: 4%; bottom: 7%; animation-delay: -2.4s; }
.chip-float.c3 { right: 5%; bottom: 16%; animation-delay: -3.6s; }
.stat-float { position: absolute; z-index: 2; left: 6%; top: 7%; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(60,15,15,.15); }
.stat-float b { display: block; font-size: 16px; }
.stat-float small { display: block; color: var(--muted); font-size: 13px; }
.stat-float .avatars { margin-top: 8px; }
.stat-float .avatars .more { background: var(--accent); color: var(--ink); }
.tag-float { position: absolute; z-index: 2; right: 4%; top: 7%; max-width: 40%; padding: 11px 14px; border-radius: 14px; border-left: 4px solid var(--accent); background: #fff; box-shadow: 0 14px 34px rgba(60,15,15,.15); }
.tag-float b { display: block; font-size: 15px; line-height: 1.25; }
.tag-float small { color: var(--muted); font-size: 13px; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.hero-slide.poster { grid-template-columns: 1fr; }
.hero-slide.poster { align-self: center; }
.poster-card { position: relative; display: block; border-radius: 28px; overflow: hidden; }
.poster-card picture { display: block; }
/* full graphic, its own shape, never cropped; at most one screen tall */
.poster-card img { display: block; width: 100%; height: auto; max-height: calc(100svh - 240px); object-fit: contain; margin: 0 auto; border-radius: 28px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: clamp(16px, 3vh, 30px); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: #f1d9d6; cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.active { width: 34px; background: var(--primary); }
.exams-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 32px; color: #9aa3b8; }
.exams-row small { color: var(--ink-2); font-size: 15px; font-weight: 600; margin-right: 4px; }
.exams-row span { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- generic sliding track ---------- */
.track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; margin: 0 -4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: 0 0 auto; }
#resultsTrack > *, #facultyTrack > * { width: calc((100% - 3 * var(--gap)) / 4); }
#batchTrack > *, #newsTrack > * { width: calc((100% - 2 * var(--gap)) / 3); }

/* ---------- impact cards ---------- */
.impact-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
.impact-card { position: relative; height: clamp(280px, calc(100svh - 420px), 360px); padding: 30px 26px; border-radius: var(--radius); background: var(--c1); overflow: hidden; }
.impact-card:nth-child(3n+2) { background: var(--c2); }
.impact-card:nth-child(3n+3) { background: var(--c3); }
.impact-card b { position: relative; z-index: 1; display: block; font-size: clamp(44px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--primary-dark); }
.impact-card:nth-child(3n+2) b { color: var(--accent-ink); }
.impact-card .lbl { position: relative; z-index: 1; display: block; max-width: 52%; margin-top: 12px; color: var(--ink-2); font-size: 18px; font-weight: 500; line-height: 1.3; }
.impact-card ul { position: relative; z-index: 1; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; justify-items: start; }
.impact-card li { padding: 5px 13px; border-radius: 999px; background: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; }
.impact-card img { position: absolute; right: -4%; bottom: 0; height: 74%; max-width: 54%; object-fit: contain; object-position: bottom right; }

/* ---------- results ---------- */
.results { background: var(--soft); }
.result-card { padding: 10px 10px 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .25s, box-shadow .25s; }
.result-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.result-photo { position: relative; aspect-ratio: 1 / .9; border-radius: 16px; overflow: hidden; background: var(--c1); }
.result-card:nth-child(3n+2) .result-photo { background: var(--c2); }
.result-card:nth-child(3n+3) .result-photo { background: var(--c3); }
.result-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.result-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(26,21,23,.3); font-size: 64px; font-weight: 700; }
.result-photo .tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 700; }
.result-photo .demo, .faculty-photo .demo { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(26,21,23,.8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.result-photo .star { position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 14px; }
.result-body { padding: 12px 6px 0; }
.result-body h3 { font-size: 18px; }
.score { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.score b { color: var(--primary); font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.score small { color: var(--muted); font-size: 13px; }
.rank { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 14px; }
.rank strong { color: var(--ink); }
.result-note { margin-top: 6px; color: var(--muted); font-size: 13px; }

/* ---------- batches ---------- */
.batch-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.batch-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfdaf5; }
.batch-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.course-pill { padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 700; }
.badge { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.sample { padding: 3px 8px; border-radius: 6px; background: rgba(26,21,23,.8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.batch-card h3 { margin: 10px 0 10px; font-size: 21px; }
.batch-date { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 16px; background: var(--soft); }
.cal { width: 46px; flex: 0 0 46px; border-radius: 12px; overflow: hidden; background: #fff; text-align: center; box-shadow: 0 4px 10px rgba(60,15,15,.08); }
.cal small { display: block; padding: 2px 0; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.cal b { display: block; padding: 1px 0 2px; font-size: 19px; line-height: 1.2; }
.batch-date strong { display: block; font-size: 15px; }
.batch-date small { color: var(--primary); font-size: 13px; font-weight: 700; }
.batch-meta { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.batch-meta li { display: flex; align-items: flex-start; gap: 7px; color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.batch-meta svg { flex: 0 0 16px; margin-top: 1px; color: var(--primary); }
.incl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; max-height: 28px; overflow: hidden; }
.incl span { padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 13px; font-weight: 600; }
.seats { margin-top: 12px; }
.seat-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.seat-row b { color: var(--accent-ink); font-size: 16px; }
.seat-row small { color: var(--muted); font-size: 13px; }
.bar { height: 7px; margin-top: 6px; border-radius: 99px; background: #edf0f6; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.price s { display: block; color: var(--muted); font-size: 13px; line-height: 1.1; }
.price b { font-size: 27px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.price small { margin-left: 4px; color: var(--muted); font-size: 14px; }
.batch-card.full .bar span { background: #9aa3b8; }
.batch-card.full .book { background: var(--ink); }

/* ---------- courses ---------- */
.courses { background: var(--soft); }
.course-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
.course-card { overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.course-photo { position: relative; height: clamp(130px, calc(100svh - 660px), 220px); }
.course-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.course-tag { position: absolute; left: 16px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.course-body { padding: 22px 24px 24px; }
.course-body h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; }
.course-body p { margin: 8px 0 16px; color: var(--muted); font-size: 16px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid var(--line); border-radius: 16px; }
.mini-stats div { padding: 10px 14px; }
.mini-stats div + div { border-left: 1px solid var(--line); }
.mini-stats small { display: block; color: var(--muted); font-size: 13px; }
.mini-stats b { font-size: 20px; font-weight: 700; color: var(--primary-dark); }

/* ---------- faculty ---------- */
.faculty-card { padding: 10px 10px 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .25s, box-shadow .25s; }
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.faculty-photo { position: relative; aspect-ratio: 1 / .92; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #ffeceb, #ffbdb8); }
.faculty-card:nth-child(3n+2) .faculty-photo { background: linear-gradient(180deg, #fff4cc, #ffe08a); }
.faculty-card:nth-child(3n+3) .faculty-photo { background: linear-gradient(180deg, #fdf0e3, #f8c9a0); }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.faculty-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(26,21,23,.28); font-size: 60px; font-weight: 700; }
.faculty-body { padding: 14px 6px 0; }
.faculty-body h3 { font-size: 19px; }
.subject { display: inline-block; margin: 8px 0 6px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.faculty-meta { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.faculty-bio { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- founder ---------- */
.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; height: clamp(320px, calc(100svh - 200px), 540px); object-fit: cover; object-position: center 30%; border-radius: 28px; }
.float-card { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 14px; border-left: 4px solid var(--accent); background: #fff; box-shadow: 0 14px 34px rgba(60,15,15,.14); }
.float-card b { display: block; font-size: 16px; }
.float-card small { color: var(--muted); font-size: 13px; }
.about-copy h2 { margin: 14px 0 14px; }
.lead { margin: 0; color: var(--ink-2); font-size: clamp(17px, 2.4vh, 21px); line-height: 1.55; }
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(20px, 3.5vh, 32px); }
.cycle div { padding: 16px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.cycle span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.cycle b { display: block; margin-top: 10px; font-size: 17px; }
.cycle small { color: var(--muted); font-size: 14px; }

/* ---------- news ---------- */
.news-card { display: flex; flex-direction: column; padding: 10px 10px 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: left; color: inherit; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-img { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); font-size: 48px; font-weight: 800; letter-spacing: -.04em; }
.news-pin { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; }
.news-body { flex: 1; display: flex; flex-direction: column; padding: 14px 6px 0; }
.news-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.news-meta .tag { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 13px; }
.news-body h3 { margin: 10px 0 6px; font-size: 20px; line-height: 1.2; }
.news-body p { margin: 0 0 12px; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; color: var(--primary); font-size: 15px; font-weight: 700; }
.read-more::after { content: " →"; color: var(--primary); }

/* ---------- testimonials ---------- */
.voices-list { display: contents; }
.voices-track > *, .voices-list > * { flex: 0 0 auto; width: calc((100% - 2 * var(--gap)) / 3); scroll-snap-align: start; }
.testimonial { padding: 26px; border-radius: var(--radius); background: var(--c1); }
.testimonial:nth-child(2n) { background: var(--c2); }
.testimonial .stars { color: #f2a900; letter-spacing: 2px; }
.testimonial p { margin: 12px 0 20px; color: var(--ink-2); font-size: 17px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.by { display: flex; align-items: center; gap: 12px; }
.by .av { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--primary); font-weight: 700; }
.by b, .by small { display: block; }
.by small { color: var(--muted); font-size: 14px; }
.google-card { padding: 28px; border-radius: var(--radius); background: var(--c3); }
.g-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.g { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: #4285f4; font-size: 21px; font-weight: 800; }
.google-card h3 { margin: 18px 0 8px; font-size: 24px; font-weight: 600; }
.google-card p { margin: 0 0 20px; color: var(--ink-2); }
.insta-link { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; }
.insta-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg,#ffd776,#fa7e1e 45%,#d62976 70%,#962fbf); color: #fff; font-size: 20px; }

/* ---------- location / faq ---------- */
.location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
.location h2, .faq h2 { margin: 14px 0 10px; }
.address-card { display: flex; gap: 14px; margin: 22px 0; padding: 16px; border-radius: 18px; background: var(--soft); }
.address-card > span { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--primary); font-size: 22px; }
.address-card strong, .address-card small { display: block; }
.address-card small { color: var(--muted); font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.map-card { padding: 10px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.map-card iframe { width: 100%; height: clamp(280px, calc(100svh - 280px), 420px); border: 0; border-radius: 20px; display: block; }
.faq { background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 60px); }
.faq-list { display: grid; gap: 10px; align-content: start; }
details { border-radius: 18px; background: #fff; padding: 0 22px; transition: box-shadow .2s; }
details[open] { box-shadow: 0 12px 30px rgba(60,15,15,.07); }
summary { position: relative; padding: 18px 36px 18px 0; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 20px; }
details[open] summary::after { content: "−"; background: var(--primary); color: #fff; }
details p { margin: 0; padding: 0 0 18px; color: var(--muted); font-size: 16px; }

/* ---------- contact ---------- */
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 4vw, 50px); align-items: center; padding: clamp(32px, 5vh, 56px); border-radius: 34px; background: radial-gradient(circle at 88% 8%, rgba(255,194,26,.55), transparent 30%), linear-gradient(135deg, #d62828, #8f1519); color: #fff; }
.contact-copy h2 { margin: 14px 0 12px; color: #fff; }
.contact-copy p { color: #ffe3e1; font-size: 18px; margin: 0; }
.tick-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; font-weight: 600; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 13px; }
.form-card { display: grid; gap: 6px; padding: 28px; border-radius: 26px; background: #fff; color: var(--ink); }
.form-card h3 { margin-bottom: 8px; font-size: 24px; }
.form-card label { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-two > div { display: grid; gap: 6px; }
.form-card input, .form-card select { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft); color: var(--ink); font-size: 16px; outline: none; }
.form-card input:focus, .form-card select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(214,40,40,.12); }
.form-card .btn { margin-top: 12px; }
.form-card small { color: var(--muted); font-size: 13px; text-align: center; }

footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--ink-2); font-weight: 500; }
.footer-links a:hover { color: var(--primary); }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,.4); }
.mobile-bar { display: none; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(26,21,23,.55); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(640px, 100%); max-height: 88vh; overflow: auto; padding: 10px; border-radius: 28px; background: #fff; }
.modal-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 20px; }
.modal-inner { padding: 20px 18px 22px; }
.modal-inner h3 { margin: 12px 0; font-size: 26px; }
.modal-inner p { color: var(--ink-2); white-space: pre-line; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 24px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.empty { padding: 30px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); text-align: center; }

.reveal { opacity: 1; }

/* ---------- laptops with short screens ---------- */
@media (min-width: 901px) and (max-height: 780px) {
  :root { --header-h: 70px; }
  .section-head p { display: none; }
  .cycle small { display: none; }
  .head-row { margin-bottom: 18px; }
  .result-photo, .faculty-photo { aspect-ratio: 1 / .78; }
  .news-img { aspect-ratio: 16 / 8; }
  .batch-card .incl { display: none; }
  .batch-card h3 { margin: 8px 0; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  #resultsTrack > *, #facultyTrack > * { width: calc((100% - 2 * var(--gap)) / 3); }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 20px; font-size: 15px; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; --pad: 56px; }
  .menu-toggle { display: flex; }
  .nav .nav-cta { display: none; }
  .nav-links { position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; padding: 6px 24px 18px; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(60,15,15,.08); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero-slide { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero-card { height: clamp(280px, 38vh, 420px); }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .head-ctrl { width: 100%; justify-content: space-between; }
  #resultsTrack > *, #facultyTrack > *, #batchTrack > *, #newsTrack > * { width: calc((100% - var(--gap)) / 2); }
  .impact-track, .course-track { display: flex; overflow-x: auto; }
  .impact-track > *, .course-track > * { width: 62%; }
  .voices-track > *, .voices-list > * { width: calc((100% - var(--gap)) / 2); }
  .swipe-hint { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; text-align: right; }
  .about-grid, .location-grid, .faq-grid, .contact-card { grid-template-columns: minmax(0, 1fr); }
  .founder-photo img { height: 300px; }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  :root { --header-h: 62px; --gap: 14px; --pad: 38px; }
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 32px); }
  h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .brand-name { font-size: 21px; }
  .ticker-inner { height: 34px; font-size: 13px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { margin: 10px 0 0; }
  .section-head p { display: none; }
  .hide-sm { display: none; }
  .pill-label { padding: 4px 12px; font-size: 13px; }
  .head-row { margin-bottom: 16px; gap: 12px; }
  .arrows { display: none; }
  .tabs { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { min-height: 36px; padding: 5px 14px; font-size: 14px; }

  /* hero fits one phone screen */
  main > section.hero { padding: 14px 0 18px; }
  .hero-slide { gap: 16px; }
  .trust { font-size: 14px; gap: 8px; }
  .trust .avatars span { width: 28px; height: 28px; }
  .hero-copy h1, .hero-copy h2 { margin: 12px 0 10px; font-size: clamp(32px, 9.4vw, 40px); }
  .hero-sub { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions { gap: 6px; margin-top: 16px; }
  .btn-split .btn { min-height: 48px; padding: 10px 26px 10px 22px; font-size: 15px; }
  .btn-split .round { width: 48px; height: 48px; font-size: 19px; }
  .text-link { min-height: 48px; font-size: 15px; }
  .hero-card { height: clamp(230px, calc(100svh - 500px), 340px); border-radius: 26px; }
  .poster-card, .poster-card img { border-radius: 20px; }
  .poster-card img { max-height: calc(100svh - 230px); }
  .chip-float { padding: 6px 11px 6px 6px; font-size: 12.5px; gap: 7px; }
  .chip-float i { width: 22px; height: 22px; font-size: 11px; }
  .chip-float.c0 { left: 3%; top: auto; bottom: 34%; } .chip-float.c1 { right: 3%; top: auto; bottom: 20%; } .chip-float.c2 { left: 3%; bottom: 6%; } .chip-float.c3 { display: none; }
  .stat-float { left: 4%; top: 6%; padding: 8px 10px; border-radius: 14px; }
  .stat-float b { font-size: 13px; } .stat-float small { display: none; }
  .stat-float .avatars span { width: 24px; height: 24px; }
  .tag-float { display: none; }
  .hero-foot { margin-top: 14px; }
  .exams-row { flex-wrap: nowrap; overflow-x: auto; gap: 18px; width: 100%; scrollbar-width: none; }
  .exams-row::-webkit-scrollbar { display: none; }
  .exams-row small { display: none; }
  .exams-row span { flex: 0 0 auto; font-size: 17px; }

  /* sliders: one card + a peek of the next */
  #resultsTrack > *, #facultyTrack > * { width: 70%; }
  #batchTrack > *, #newsTrack > * { width: 86%; }
  .impact-track > *, .course-track > * { width: 86%; }
  .voices-track > *, .voices-list > * { width: 84%; }

  .impact-card { height: 270px; padding: 24px 20px; }
  .impact-card b { font-size: 44px; }
  .impact-card .lbl { font-size: 16px; }
  .impact-card ul { margin-top: 14px; gap: 6px; }
  .impact-card li { font-size: 13px; }

  .result-photo { aspect-ratio: 1 / .82; }
  .result-body h3 { font-size: 17px; }
  .score b { font-size: 23px; }

  .batch-card { padding: 18px; }
  .batch-card h3 { font-size: 19px; margin: 10px 0; }
  .batch-meta { gap: 6px 10px; }
  .batch-meta li { font-size: 13px; }
  .incl { max-height: 28px; }
  .price b { font-size: 24px; }
  .price-row .btn { padding: 10px 18px; }

  .course-photo { height: 130px; }
  .course-body { padding: 16px 18px 18px; }
  .course-body p { font-size: 15px; margin: 6px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mini-stats { margin-bottom: 14px; }
  .mini-stats div { padding: 8px 10px; }
  .mini-stats b { font-size: 17px; }

  .faculty-photo { aspect-ratio: 1 / .85; }

  .about-grid { gap: 18px; }
  .founder-photo img { height: 170px; border-radius: 22px; object-position: center 22%; }
  .float-card { left: 10px; bottom: 10px; padding: 7px 12px; }
  .about-copy h2 { margin: 10px 0; }
  .lead { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cycle { gap: 8px; margin-top: 16px; }
  .cycle div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
  .cycle b { margin: 0; font-size: 16px; }
  .cycle small { display: none; }

  .news-body h3 { font-size: 18px; }

  .testimonial { padding: 22px; }
  .testimonial p { font-size: 16px; -webkit-line-clamp: 4; }
  .google-card { padding: 22px; }

  .address-card { margin: 14px 0; padding: 12px; }
  .btn-row { flex-wrap: nowrap; }
  .btn-row .btn { flex: 1 1 0; padding: 10px 12px; }
  .map-card { padding: 6px; border-radius: 22px; }
  .map-card iframe { height: 210px; border-radius: 17px; }
  .location-grid { gap: 16px; }

  .faq-grid { gap: 14px; }
  details { padding: 0 16px; border-radius: 16px; }
  summary { padding: 15px 34px 15px 0; font-size: 16px; }
  summary::after { top: 11px; }

  main > section.contact { padding: 24px 0 32px; }
  .contact-card { gap: 16px; padding: 22px 14px 14px; border-radius: 26px; }
  .contact-copy { padding: 0 6px; }
  .contact-copy h2 { margin: 10px 0 0; }
  .form-card { padding: 18px; border-radius: 20px; }
  .form-card h3 { font-size: 20px; margin-bottom: 2px; }
  .form-card input, .form-card select { min-height: 46px; }

  footer { padding: 22px 0; font-size: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .whatsapp-float { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(60,15,15,.08); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 700; font-size: 15px; }
  .mb-call { border: 1.5px solid var(--primary); color: var(--primary); }
  .mb-wa { background: #25d366; color: #fff; }
}
/* ---------- Google reviews ---------- */
.google-card { display: flex; flex-direction: column; }
.g-score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; }
.g-score b { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.g-stars { color: #f2a900; font-size: 20px; letter-spacing: 2px; }
.g-score small { width: 100%; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.g-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.google-card h3 { margin: 14px 0 16px; }
.g-review { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.g-review:nth-child(2n) { background: #fff; }
.g-who { display: flex; align-items: center; gap: 10px; }
.g-who img, .g-who .av { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; object-fit: cover; background: var(--c1); }
.g-who .av { display: grid; place-items: center; color: var(--primary); font-size: 15px; font-weight: 700; }
.g-who b, .g-who small { display: block; }
.g-who small { color: var(--muted); font-size: 13px; }
.g-who .g.sm { width: 28px; height: 28px; margin-left: auto; font-size: 16px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.g-review .stars { margin-top: 12px; }
.g-review p { margin: 8px 0 12px; }
.g-read { margin-top: 4px; color: var(--primary); font-size: 14px; font-weight: 700; }
.voices-track { align-items: flex-start; }
.g-review p { margin: 10px 0 8px; }
.g-review .g-only { color: var(--muted); font-style: italic; }
.g-review .stars { font-size: 20px; }

/* ---------- Instagram feed slider ---------- */
#instaTrack > * { width: calc((100% - 2 * var(--gap)) / 3); }
.ig-card { position: relative; height: clamp(360px, calc(100svh - 360px), 540px); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.ig-card iframe { display: block; width: 100%; height: 1000px; border: 0; background: #fff; }
.ig-open { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 30px 12px 14px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 45%); font-size: 14px; font-weight: 700; color: var(--ink); }
.ig-open .insta-mark { width: 26px; height: 26px; font-size: 15px; border-radius: 8px; }
.ig-follow { gap: 8px; }
.ig-follow .insta-mark { width: 24px; height: 24px; font-size: 14px; border-radius: 7px; }
@media (max-width: 900px) { #instaTrack > * { width: calc((100% - var(--gap)) / 2); } }
@media (max-width: 600px) {
  #instaTrack > * { width: 86%; }
  .ig-card { height: clamp(300px, calc(100svh - 330px), 480px); }
  .insta .head-ctrl { width: auto; }
}

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

/* ---------- phones: every section fits one screen (visible height minus header and bottom bar) ---------- */
@media (max-width: 600px) {
  :root { --pad: 28px; }
  main > section .pill-label { display: none; }
  .section-head h2, .about-copy h2, .location h2, .faq h2, .contact-copy h2 { margin-top: 0; }
  .section-head.left p { display: none; }
  .head-row { gap: 10px; margin-bottom: 14px; }

  /* hero */
  .hero-copy .trust { display: none; }
  .hero-copy h1, .hero-copy h2 { margin-top: 4px; }
  .hero-card { height: clamp(170px, calc(100svh - 495px), 340px); }
  .exams-row { display: none; }
  .hero-foot { margin-top: 12px; }

  /* batches */
  .batch-card { padding: 16px; }
  .batch-card h3 { margin: 8px 0; font-size: 18px; }
  .batch-date { padding: 6px 10px; }
  .batch-meta { grid-template-columns: 1fr; gap: 4px; margin-top: 10px; }
  .batch-meta li:nth-child(n+3) { display: none; }
  .batch-card .incl { display: none; }
  .seats { margin-top: 10px; }
  .price-row { padding-top: 10px; }
  .price b { font-size: 22px; }
  .price-row .btn { min-height: 42px; }

  /* courses */
  .course-photo { height: 110px; }

  /* reviews */
  .google-card { padding: 20px; }
  .google-card h3 { margin: 12px 0 14px; font-size: 20px; }
  .google-card p { display: none; }
  .insta-link { margin-top: 12px; }
  .testimonial p { margin: 8px 0 14px; }

  /* founder */
  .founder-photo img { height: 140px; }
  .about-grid { gap: 14px; }
  .cycle { margin-top: 12px; }

  /* location */
  .address-card { margin: 12px 0; }
  .map-card iframe { height: 190px; }

  /* contact */
  .contact-card { padding-top: 18px; }
  .form-card { gap: 4px; padding: 16px; }
  .form-card label { margin-top: 4px; font-size: 13px; }
  .form-card input, .form-card select { min-height: 44px; }
  .form-card .btn { margin-top: 10px; min-height: 48px; }
}

/* ---------- short phones (iPhone SE, small Android) ---------- */
@media (max-width: 600px) and (max-height: 700px) {
  h2 { font-size: clamp(24px, 6.8vw, 28px); }
  .hero-sub { -webkit-line-clamp: 1; }
  .hero-card { height: clamp(170px, calc(100svh - 470px), 340px); }
  .swipe-hint { display: none; }
  .result-photo { aspect-ratio: 1 / .7; }
  .faculty-photo { aspect-ratio: 1 / .72; }
  .course-photo { height: 84px; }
  .course-body p { -webkit-line-clamp: 1; }
  .batch-date { padding: 4px 8px; }
  .cal b { font-size: 17px; }
  .seats .bar { display: none; }
  .seats { margin-top: 8px; }
  #batchesDemoNote, #resultsDemoNote { font-size: 12px; margin-top: 0; }
  .testimonial { padding: 18px; }
  .testimonial p { -webkit-line-clamp: 3; font-size: 15px; }
  .google-card { padding: 18px; }
  .google-card h3 { font-size: 18px; margin: 10px 0 12px; }
  .insta-link { display: none; }
}

@media (max-width: 600px) and (max-height: 700px) {
  .batch-card h3 { margin: 6px 0; }
  .batch-top { gap: 6px; }
}
@media (max-width: 600px) and (max-height: 660px) {
  .batch-card .seats { display: none; }
  .section-head { margin-bottom: 12px; }
}

/* ---------- phones: people in photos must be clearly visible (nothing on faces, no thin strips) ---------- */
@media (max-width: 600px) {
  .hero-card .chip-float, .hero-card .stat-float, .hero-card .tag-float { display: none; }
  .hero-person { height: 97%; max-width: 96%; }
  .impact-card img { height: 80%; max-width: 58%; right: -6%; }
  .impact-card .lbl { max-width: 50%; }
  .impact-card li:nth-child(n+4) { display: none; }
  .course-photo { height: clamp(150px, calc(100svh - 585px), 210px); }
  .course-photo img { object-position: center 5%; }
  .course-tag { top: 10px; bottom: auto; left: 10px; padding: 4px 11px; font-size: 12px; }
  .founder-photo img { height: clamp(170px, calc(100svh - 525px), 240px); object-position: center 8%; }
  .cycle div { padding: 8px 12px; }
  .founder-photo .float-card { position: relative; left: auto; bottom: auto; display: inline-block; margin: -22px 0 0 12px; padding: 6px 11px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .course-photo { height: 120px; }
  .founder-photo img { height: 165px; }
}
@media (max-width: 600px) and (max-height: 660px) {
  .lead { -webkit-line-clamp: 2; font-size: 15px; }
  .cycle { gap: 6px; margin-top: 10px; }
  .cycle div { padding: 6px 10px; }
  .course-body p { display: none; }
  .course-body h3 { margin-bottom: 10px; }
}

/* phones: founder = full upright portrait beside the heading (never a thin strip) */
@media (max-width: 600px) {
  .about-grid { display: grid; grid-template-columns: 46% minmax(0, 1fr); column-gap: 14px; row-gap: 14px; align-items: center; }
  .about-copy { display: contents; }
  .founder-photo { grid-column: 1; grid-row: 1; }
  .founder-photo img, .founder-photo img[class] { width: 100%; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15% !important; border-radius: 20px; }
  .founder-photo .float-card { position: static; display: block; margin: 8px 0 0; padding: 6px 10px; box-shadow: none; border: 1px solid var(--line); }
  .about-copy h2 { grid-column: 2; grid-row: 1; margin: 0; font-size: clamp(22px, 6.2vw, 28px); }
  .about-copy .lead { grid-column: 1 / -1; grid-row: 2; }
  .about-copy .cycle { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
}

/* phones: the one banner image runs edge to edge (full screen width), whole, never cropped */
@media (max-width: 600px) {
  .hero-slide.poster { align-self: start; }
  .poster-card { margin: 0 -16px; border-radius: 0; }
  .poster-card img { width: 100%; max-height: none; border-radius: 0; }
}

/* the page's main heading (SEO), shown small under the banner */
.seo-h1 { margin: 0; font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; color: var(--ink-2); letter-spacing: 0; line-height: 1.3; }
.hero-foot { flex-wrap: wrap; }
@media (max-width: 600px) { .seo-h1 { font-size: 15px; order: 2; width: 100%; } }

/* ---------- toppers: pop-up on hover (tap on phones) ---------- */
#resultsTrack { padding: 28px 14px 30px; margin: -22px -14px 0; }
.result-card { position: relative; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, border-color .35s ease; will-change: transform; }
.result-photo { isolation: isolate; }
.result-photo img { transition: transform .6s ease; }
.result-photo::after { content: ""; position: absolute; top: 0; left: -75%; z-index: 1; width: 50%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); pointer-events: none; opacity: 0; }
.score b { display: inline-block; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), color .3s; }
@keyframes fmq-shine { from { left: -75%; opacity: 1; } to { left: 130%; opacity: 1; } }
@keyframes fmq-star { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(-12deg); } }
@media (hover: hover) {
  .result-card:hover { z-index: 2; transform: translateY(-12px) scale(1.045); border-color: rgba(214, 40, 40, .35); box-shadow: 0 28px 50px rgba(214, 40, 40, .18), 0 10px 20px rgba(26, 21, 23, .08); }
  .result-card:hover .result-photo img { transform: scale(1.08); }
  .result-card:hover .result-photo::after { animation: fmq-shine .8s ease forwards; }
  .result-card:hover .score b { transform: scale(1.12); color: var(--primary-dark); }
  .result-card:hover .star { animation: fmq-star .6s ease; }
}
/* phones: a gentler pop while the card is pressed */
@media (hover: none) {
  .result-card:active { transform: translateY(-6px) scale(1.025); box-shadow: 0 18px 34px rgba(214, 40, 40, .16); }
  .result-card:active .result-photo img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .result-card:hover, .result-card:active { transform: none; }
  .result-card:hover .result-photo::after { animation: none; }
}

/* toppers glide continuously (JS); no snapping or smooth-scroll so the motion is even */
#resultsTrack { scroll-snap-type: none; scroll-behavior: auto; }

/* ---------- results: scroll-in entrance ---------- */
@keyframes fmq-rise { from { opacity: 0; transform: translateY(54px) scale(.86) rotate(-1.5deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes fmq-head { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.results.pre-view .result-card, .results.pre-view .head-row { opacity: 0; }
/* fill-mode backwards only: once finished, the hover pop-up controls transform again */
.results.in-view .result-card { animation: fmq-rise .85s cubic-bezier(.34, 1.4, .64, 1) backwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
.results.in-view .head-row { animation: fmq-head .6s ease backwards; }
.results.in-view .result-photo img { animation: fmq-zoom 1.2s ease backwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes fmq-zoom { from { transform: scale(1.25); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .results.pre-view .result-card, .results.pre-view .head-row { opacity: 1; } .results.in-view .result-card, .results.in-view .head-row, .results.in-view .result-photo img { animation: none; } }

/* ---------- scroll-in effects, one style per section (fill-mode backwards: hover effects keep working after) ---------- */
.fx-pre [data-fx] { opacity: 0; }
.fx-in [data-fx] { animation-duration: .85s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); animation-fill-mode: backwards; animation-delay: calc(var(--i, 0) * 100ms + 60ms); }
.fx-in [data-fx="up"] { animation-name: fx-up; }
.fx-in [data-fx="flipup"] { animation-name: fx-flipup; animation-duration: 1s; transform-origin: 50% 100%; }
.fx-in [data-fx="slideright"] { animation-name: fx-slideright; }
.fx-in [data-fx="bar"] { animation-name: fx-bar; animation-duration: 1.4s; animation-delay: calc(var(--i, 0) * 100ms + 500ms); transform-origin: 0 50%; }
.fx-in [data-fx="zoom"] { animation-name: fx-zoom; animation-timing-function: cubic-bezier(.34, 1.4, .64, 1); }
.fx-in [data-fx="wipe"] { animation-name: fx-wipe; animation-duration: 1.1s; animation-delay: calc(var(--i, 0) * 100ms + 250ms); }
.fx-in [data-fx="flipy"] { animation-name: fx-flipy; animation-duration: .95s; }
.fx-in [data-fx="left"] { animation-name: fx-left; }
.fx-in [data-fx="right"] { animation-name: fx-right; }
.fx-in [data-fx="pop"] { animation-name: fx-pop; animation-timing-function: cubic-bezier(.34, 1.6, .64, 1); animation-delay: calc(var(--i, 0) * 120ms + 350ms); }
.fx-in [data-fx="blur"] { animation-name: fx-blur; animation-duration: 1s; }
.fx-in [data-fx="rise"] { animation-name: fx-rise; animation-timing-function: cubic-bezier(.34, 1.3, .64, 1); }
.fx-in [data-fx="stars"] { animation-name: fx-stars; animation-duration: .7s; animation-delay: calc(var(--i, 0) * 100ms + 450ms); display: inline-block; }
.fx-in [data-fx="grow"] { animation-name: fx-grow; animation-duration: 1s; }
.fx-in [data-fx="drop"] { animation-name: fx-drop; animation-timing-function: cubic-bezier(.34, 1.4, .64, 1); }
.fx-in [data-fx="scalein"] { animation-name: fx-scalein; animation-duration: .9s; }
.impact-track, #facultyTrack { perspective: 1200px; }
@keyframes fx-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fx-flipup { from { opacity: 0; transform: rotateX(-75deg) translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fx-slideright { from { opacity: 0; transform: translateX(120px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fx-bar { from { transform: scaleX(0); } to { transform: none; } }
@keyframes fx-zoom { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes fx-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fx-flipy { from { opacity: 0; transform: rotateY(80deg) translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes fx-left { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: none; } }
@keyframes fx-right { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes fx-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes fx-blur { from { opacity: 0; filter: blur(14px); transform: translateY(20px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes fx-rise { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes fx-stars { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: none; } }
@keyframes fx-grow { from { opacity: 0; transform: scale(.88) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fx-drop { from { opacity: 0; transform: translateY(-40px) rotateX(40deg); } to { opacity: 1; transform: none; } }
@keyframes fx-scalein { from { opacity: 0; transform: scale(.9); border-radius: 80px; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fx-pre [data-fx] { opacity: 1; } .fx-in [data-fx] { animation: none; } }

/* keep slide-in effects from making the page wider than the screen */
main > section { overflow-x: clip; }
html, body { overflow-x: clip; }

/* ---------- gallery: two endless rows moving opposite ways ---------- */
.gallery { padding-bottom: calc(var(--pad) - 10px); }
.gallery-rows { display: grid; gap: 16px; }
.gallery-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery-strip { display: flex; gap: 16px; width: max-content; animation: g-slide var(--dur, 40s) linear infinite; }
.gallery-row.reverse .gallery-strip { animation-direction: reverse; }
.gallery-row:hover .gallery-strip { animation-play-state: paused; }
@keyframes g-slide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.g-item { position: relative; flex: 0 0 auto; margin: 0; width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 3; height: auto; max-height: calc((100svh - 410px) / 2); border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--c1); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(0deg, rgba(26,21,23,.75), transparent); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-sample { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(26,21,23,.8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.modal-card .g-full { width: 100%; aspect-ratio: auto; max-height: 72vh; object-fit: contain; background: #111; }
#galleryDemoNote { margin-top: 12px; }
@media (max-width: 600px) {
  .gallery-rows { gap: 10px; }
  .gallery-strip { gap: 10px; }
  .g-item { width: 58vw; border-radius: 16px; max-height: calc((100svh - 300px) / 2); }
  .g-item figcaption { opacity: 1; transform: none; font-size: 12px; padding: 18px 10px 8px; }
  @keyframes g-slide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
}
@media (prefers-reduced-motion: reduce) { .gallery-strip { animation: none; } .gallery-row { overflow-x: auto; } }

/* ---------- callback form ---------- */
.form-card h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 6px; }
.f-field { position: relative; display: flex; align-items: center; }
.f-field > svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.form-card .f-field input, .form-card .f-field select { padding-left: 42px; min-height: 48px; }
.form-card .f-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-card textarea { width: 100%; min-height: 64px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; outline: none; }
.form-card textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(214,40,40,.12); }
.form-card .form-two { gap: 10px; }
.form-card { gap: 10px; }
.form-card .btn svg { margin-right: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-error { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-dark); font-size: 14px; font-weight: 600; }
.f-foot { display: block; color: var(--muted); font-size: 12.5px; text-align: center; line-height: 1.45; }
.f-done { display: grid; gap: 8px; justify-items: start; padding: 16px; border-radius: 16px; background: #eaf8f1; }
.f-done b { font-size: 20px; color: #126b43; }
.f-done span { color: var(--ink-2); }
@media (max-width: 600px) {
  .form-card { gap: 8px; }
  .form-card .f-field input, .form-card .f-field select { min-height: 44px; font-size: 15px; }
  .form-card textarea { min-height: 46px; }
  .f-foot { font-size: 11.5px; }
}

/* ---------- offer popup ---------- */
.offer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(26, 21, 23, 0); transition: background .3s ease; }
.offer[hidden] { display: none; }
.offer.show { background: rgba(26, 21, 23, .55); backdrop-filter: blur(3px); }
.offer-card { position: relative; width: min(460px, 100%); max-height: 92svh; overflow: auto; border-radius: 28px; background: #fff; box-shadow: 0 40px 90px rgba(0,0,0,.35); transform: translateY(40px) scale(.9); opacity: 0; transition: transform .45s cubic-bezier(.34, 1.5, .64, 1), opacity .3s ease; }
.offer.show .offer-card { transform: none; opacity: 1; }
.offer-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.offer-img img { display: block; width: 100%; height: auto; }
.offer-body { padding: 22px 24px 18px; text-align: center; }
.offer-badge { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 800; }
.offer-badge[hidden] { display: none; }
.offer-body h3 { margin: 12px 0 8px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.offer-body p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.offer-later { margin-top: 8px; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.offer.show .offer-badge { animation: fx-pop .6s cubic-bezier(.34, 1.6, .64, 1) .25s backwards; }
@media (max-width: 600px) {
  .offer { align-items: end; padding: 0; }
  .offer-card { width: 100%; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); }
  .offer-body { padding: 18px 18px 14px; }
  .offer-body p { font-size: 15px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .offer-card { transition: none; } }

/* real FMQ logo (cut from the institute's banner) */
.brand-logo { display: block; height: 46px; width: auto; border-radius: 8px; }
footer .brand-logo { height: 40px; }
@media (max-width: 600px) { .brand-logo { height: 34px; border-radius: 6px; } footer .brand-logo { height: 34px; } }

/* FMQ logo as text (same design as the printed banner, site font, small) */
.fmq-logo { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 6px; border-radius: 10px; background: var(--primary); color: #fff; line-height: 1; box-shadow: 0 6px 14px rgba(214, 40, 40, .22); }
.fmq-logo b { font-size: 27px; font-weight: 800; letter-spacing: .01em; }
.fmq-side { display: grid; gap: 1px; }
.fmq-side small { font-size: 8.5px; font-weight: 700; letter-spacing: .03em; opacity: .95; }
.fmq-side em { font-style: normal; font-size: 15px; font-weight: 800; letter-spacing: .1em; }
footer .fmq-logo { box-shadow: none; }
@media (max-width: 600px) { .fmq-logo b { font-size: 24px; } .fmq-side em { font-size: 13.5px; } .fmq-side small { font-size: 7.8px; } }

/* ---------- topper interviews / videos ---------- */
#videosTrack > * { width: calc((100% - 3 * var(--gap)) / 4); }
.video-card { display: block; padding: 8px 8px 14px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: left; color: inherit; cursor: pointer; transition: transform .3s cubic-bezier(.34, 1.5, .64, 1), box-shadow .3s; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(214, 40, 40, .16); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #111; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 55%); }
.play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(214, 40, 40, .28); transition: transform .3s cubic-bezier(.34, 1.6, .64, 1); }
.play svg { margin-left: 3px; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.15); }
.v-tag { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--primary-dark); font-size: 11px; font-weight: 800; }
.video-body { display: grid; gap: 4px; padding: 12px 6px 0; }
.video-body b { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-body small { color: var(--muted); font-size: 13px; font-weight: 600; }
.yt-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.yt-frame.short { aspect-ratio: 9 / 16; max-height: 70vh; margin: 0 auto; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-card:has(.yt-frame.short) { width: min(420px, 100%); }
@media (max-width: 1100px) { #videosTrack > * { width: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 900px) { #videosTrack > * { width: calc((100% - var(--gap)) / 2); } }
@media (max-width: 600px) { #videosTrack > * { width: 78%; } .play { width: 50px; height: 50px; } }
@media (max-width: 600px) { .yt-frame.short { max-height: 56vh; } }

/* ---------- notice board: moving bulletin in the News section ---------- */
.bulletin { display: flex; align-items: stretch; margin: 0 0 18px; border: 1px solid #f3d27a; border-radius: 18px; background: #fff8df; overflow: hidden; }
.bulletin-label { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding: 0 18px; background: var(--primary); color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 194, 26, .8); animation: livedot 1.6s infinite; }
@keyframes livedot { 70% { box-shadow: 0 0 0 9px rgba(255, 194, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, 0); } }
.bulletin-win { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 96%, transparent); }
.bulletin-track { display: flex; width: max-content; animation: bulletin var(--dur, 36s) linear infinite; }
.bulletin-win:hover .bulletin-track, .bulletin-track.paused { animation-play-state: paused; }
.b-set { display: flex; }
@keyframes bulletin { to { transform: translateX(-50%); } }
.notice { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 6px 26px 6px 18px; border: 0; border-right: 1px dashed #e8c560; background: none; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; text-align: left; }
.notice:hover .n-text { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.n-date { display: grid; place-items: center; width: 44px; height: 46px; border-radius: 11px; background: #fff; border: 1px solid #f0d483; line-height: 1; }
.n-date b { font-size: 19px; color: var(--primary); }
.n-date small { margin-top: -6px; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.n-pin { font-size: 18px; }
.n-tag { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.n-test { background: var(--primary); }
.n-circular, .n-notice { background: #1f5fbf; }
.n-holiday { background: #1f9e72; }
.n-admission, .n-result, .n-results { background: var(--accent); color: var(--ink); }
.n-text em { font-style: normal; color: var(--muted); }
.n-soon { padding: 3px 9px; border-radius: 999px; background: var(--primary-dark); color: #fff; font-size: 11px; font-weight: 800; }
.n-new { padding: 2px 7px; border-radius: 6px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; animation: nblink 1.1s steps(2, start) infinite; }
@keyframes nblink { to { visibility: hidden; } }
.n-demo { padding: 2px 7px; border-radius: 6px; background: #fff1e2; color: #b5621c; font-size: 10px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .bulletin-win { overflow-x: auto; } .bulletin-track { animation: none; } .n-new { animation: none; } }
@media (max-width: 600px) {
  .bulletin { flex-direction: column; margin-bottom: 14px; border-radius: 16px; }
  .bulletin-label { padding: 8px 14px; font-size: 14px; }
  .notice { font-size: 14px; padding: 4px 18px 4px 14px; margin: 7px 0; }
  .n-date { width: 40px; height: 42px; }
}
/* notice board shown: slimmer strip + shorter news photos so News still fits one screen */
.bulletin { margin-bottom: 14px; }
.notice { margin: 5px 0; padding-block: 4px; }
.n-date { width: 40px; height: 40px; }
.n-date b { font-size: 17px; }
#news:has(.bulletin:not([hidden])) .news-img { aspect-ratio: 16 / 7; }
#news:has(.bulletin:not([hidden])) .news-body p { -webkit-line-clamp: 1; }
@media (max-height: 820px) and (min-width: 901px) { #news:has(.bulletin:not([hidden])) .news-img { aspect-ratio: 16 / 5.6; } }
@media (max-width: 600px) {
  .bulletin { flex-direction: row; margin-bottom: 10px; border-radius: 14px; }
  .bulletin-label { padding: 0 10px; font-size: 12px; gap: 6px; max-width: 74px; white-space: normal; line-height: 1.15; }
  .notice { font-size: 13.5px; gap: 8px; padding: 3px 14px 3px 12px; margin: 5px 0; }
  .n-date { width: 36px; height: 36px; } .n-date b { font-size: 15px; } .n-date small { font-size: 10px; margin-top: -4px; }
  #news:has(.bulletin:not([hidden])) .news-img { aspect-ratio: 16 / 6.5; }
  #news:has(.bulletin:not([hidden])) .news-body h3 { font-size: 16.5px; margin: 6px 0 4px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  #news:has(.bulletin:not([hidden])) .news-img { aspect-ratio: 16 / 5.6; }
  #news:has(.bulletin:not([hidden])) .news-body p { display: none; }
}

/* hero: sliding banners (not fading). Slides stay stacked in one grid cell so the height never jumps. */
.hero-slides { overflow: hidden; border-radius: 28px; }
.hero-slide { opacity: 1; transform: translateX(100%); visibility: hidden; transition: transform .8s cubic-bezier(.72, 0, .2, 1), visibility 0s linear .8s; will-change: transform; }
.hero-slide.active { opacity: 1; transform: none; visibility: visible; transition: transform .8s cubic-bezier(.72, 0, .2, 1), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.active { transition: none; } }

/* ---------- Why FMQ (impact cards): layered entrance + live hover ---------- */
#impactTitle .w { display: inline-block; }
#impactTitle .w:last-child { padding: 0 .08em; background: linear-gradient(var(--accent), var(--accent)) 0 86% / 100% 28% no-repeat; }
.impact-card { transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s; will-change: transform; }
.impact-card:hover { box-shadow: 0 26px 50px rgba(143, 21, 25, .16); }
.impact-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .7), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.impact-card:hover::before { opacity: 1; }
.impact-card::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); transform: translateX(-130%); pointer-events: none; }
.impact-card:hover::after { transform: translateX(130%); transition: transform .9s ease; }
.impact-blob { position: absolute; z-index: 0; right: -28%; bottom: -34%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 68%); pointer-events: none; animation: why-float 7s ease-in-out infinite; }
@keyframes why-float { 50% { transform: translate(-7%, -5%) scale(1.07); } }
@keyframes why-breathe { 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: no-preference) {
  #impact.fx-in #impactTitle .w { animation: why-word .8s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(var(--w) * 90ms + 150ms); }
  #impact.fx-in #impactTitle .w:last-child { animation: why-word .8s cubic-bezier(.22, 1, .36, 1) backwards, why-mark .7s cubic-bezier(.65, 0, .35, 1) backwards; animation-delay: calc(var(--w) * 90ms + 150ms), calc(var(--w) * 90ms + 750ms); }
  #impact.fx-in .impact-blob { animation: why-blob 1.3s cubic-bezier(.22, 1, .36, 1) backwards, why-float 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 140ms + 250ms), 1.8s; }
  #impact.fx-in .impact-card .lbl { animation: why-lbl .8s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(var(--i, 0) * 140ms + 480ms); }
  #impact.fx-in .impact-card li { animation: why-tag .55s cubic-bezier(.34, 1.6, .64, 1) backwards; animation-delay: calc(var(--i, 0) * 140ms + 680ms + var(--k, 0) * 110ms); }
  #impact.fx-in .impact-card img { animation: why-person 1.1s cubic-bezier(.34, 1.35, .64, 1) backwards, why-breathe 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 140ms + 380ms), calc(var(--i, 0) * 400ms + 2.2s); }
  #impact.fx-in .impact-card::after { animation: why-shine 1.2s ease backwards; animation-delay: calc(var(--i, 0) * 160ms + 1.4s); }
}
@keyframes why-word { from { opacity: 0; transform: translateY(70%) rotate(5deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes why-mark { from { background-size: 0% 28%; } to { background-size: 100% 28%; } }
@keyframes why-blob { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes why-lbl { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes why-tag { from { opacity: 0; transform: translateX(-12px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes why-person { from { opacity: 0; transform: translateY(65%) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes why-shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }

/* ---------- campus tour: background video ---------- */
main > section.tour { position: relative; padding: 0; min-height: clamp(460px, calc(100svh - 110px), 760px); display: grid; align-items: center; overflow: hidden; color: #fff; background: #1a1517; isolation: isolate; }
.tour-media { position: absolute; inset: 0; z-index: -2; background: #1a1517 center / cover no-repeat; overflow: hidden; }
.tour-media::after { content: ""; position: absolute; inset: 0; background: inherit; transition: opacity 1s ease; }
.tour-media.playing::after { opacity: 0; }
.tour-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-media iframe { position: absolute; left: 50%; top: 50%; border: 0; transform: translate(-50%, -50%); pointer-events: none; }
.tour-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(26, 8, 10, .88) 0%, rgba(26, 8, 10, .62) 45%, rgba(26, 8, 10, .15) 100%), linear-gradient(0deg, rgba(143, 21, 25, .45), transparent 45%); }
.tour-inner { position: relative; padding-block: clamp(40px, 8vh, 90px); }
.tour-inner > * { max-width: 620px; }
.tour h2 { margin: 16px 0 12px; font-size: clamp(36px, min(4.6vw, 7vh), 64px); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.tour p { margin: 0; color: rgba(255, 255, 255, .85); font-size: clamp(16px, 2.2vh, 19px); line-height: 1.6; }
.tour-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
.tour-points li { padding: 8px 15px 8px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 15px; font-weight: 600; }
.tour-points li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 800; }
.tour-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: clamp(22px, 4vh, 36px); }
.tour-play { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 17px; cursor: pointer; }
.tour-play .ring { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); transition: transform .3s cubic-bezier(.34, 1.6, .64, 1); }
.tour-play .ring svg { margin-left: 3px; }
.tour-play .ring::before, .tour-play .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: tour-ring 2.4s ease-out infinite; }
.tour-play .ring::after { animation-delay: 1.2s; }
@keyframes tour-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.tour-play:hover .ring { transform: scale(1.1); }
.tour-play b { text-decoration: underline transparent; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.tour-play:hover b { text-decoration-color: var(--accent); }
.tour-btn2 { background: #fff; color: var(--ink); }
.tour-btn2:hover { transform: translateY(-2px); }
.tour-pause { position: absolute; right: clamp(14px, 3vw, 34px); bottom: clamp(14px, 3vh, 30px); width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; }
.tour-pause .i-play, .tour.is-paused .tour-pause .i-pause { display: none; }
.tour.is-paused .tour-pause .i-play { display: inline; }
.yt-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
@media (prefers-reduced-motion: reduce) { .tour-play .ring::before, .tour-play .ring::after { animation: none; } }
@media (max-width: 600px) {
  main > section.tour { min-height: calc(100svh - 150px); align-items: end; }
  .tour-shade { background: linear-gradient(0deg, rgba(26, 8, 10, .92) 0%, rgba(26, 8, 10, .7) 55%, rgba(26, 8, 10, .25) 100%); }
  .tour-inner { padding-block: 40px 30px; }
  .tour h2 { font-size: 32px; }
  .tour p { font-size: 15px; }
  .tour-points { gap: 7px; margin-top: 16px; }
  .tour-points li { padding: 6px 12px 6px 10px; font-size: 13px; }
  .tour-play .ring { width: 54px; height: 54px; }
  .tour-play { font-size: 16px; }
  .tour-btn2 { min-height: 46px; padding: 10px 20px; font-size: 15px; }
  .tour-pause { top: 14px; bottom: auto; }
}
@media (max-width: 600px) and (max-height: 700px) { .tour p { display: none; } .tour-points li:nth-child(n+4) { display: none; } }

/* courses from the admin: 1, 2, 3 cards side by side; 4+ become a slider */
.course-track.n1 { grid-template-columns: minmax(0, 640px); }
.course-track.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-track.n3 .course-body { padding: 18px 20px 20px; }
.course-track.n3 .course-body h3 { font-size: clamp(21px, 1.9vw, 26px); }
.course-track.n3 .course-body p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-track.n3 .mini-stats div { padding: 8px 10px; }
.course-track.n3 .mini-stats b { font-size: 16px; }
.course-track.many { display: flex; overflow-x: auto; }
.course-track.many > * { flex: 0 0 auto; width: calc((100% - 2 * var(--gap)) / 3); }
.course-photo .news-fallback { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-weight: 800; font-size: 28px; }
.course-photo .sample { position: absolute; right: 12px; top: 12px; padding: 3px 8px; border-radius: 6px; background: #fff1e2; color: #b5621c; font-size: 11px; font-weight: 800; }
.mini-stats b { display: block; line-height: 1.25; }
@media (max-width: 1100px) { .course-track.n3, .course-track.many { display: flex; overflow-x: auto; } .course-track.n3 > *, .course-track.many > * { flex: 0 0 auto; width: calc((100% - var(--gap)) / 2); } }
@media (max-width: 900px) { .course-track.n3 > *, .course-track.many > * { width: 62%; } }
@media (max-width: 600px) { .course-track.n3 > *, .course-track.many > * { width: 86%; } }
/* 3 courses: a little shorter photos + smaller facts so the section still fits one screen */
.course-track.n3 .mini-stats small { font-size: 12px; }
.course-track.n3 .mini-stats b { font-size: 15px; }
@media (min-width: 901px) { .course-track.n3 .course-photo { height: clamp(110px, calc(100svh - 655px), 190px); } }
@media (max-width: 600px) {
  #courses .course-track.n3 .course-photo { height: clamp(96px, calc(100svh - 610px), 150px); }
  #courses .course-track.n3 .course-body { padding: 14px 16px 16px; }
  #courses .course-track.n3 .mini-stats { margin-bottom: 12px; }
}

/* courses = brochure-style programme panels (big name, first word in yellow, target in brackets) + fee table pop-up */
.course-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; background: radial-gradient(130% 160% at 0% 50%, #b01c22 0 52%, #8f1519 52.2%); }
.course-panel::before { content: ""; position: absolute; left: -38%; top: 50%; width: 120%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: linear-gradient(160deg, #d62828, #9d171c); box-shadow: 8px 0 0 rgba(255, 194, 26, .9); z-index: 1; }
.course-panel img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; object-position: center 30%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); opacity: .95; }
.course-panel .course-tag { z-index: 3; top: 12px; left: auto; right: 12px; bottom: auto; padding: 4px 11px; font-size: 12px; }
.course-panel .sample { z-index: 3; top: 44px; }
.course-name { position: relative; z-index: 2; max-width: 64%; padding: 0 0 clamp(12px, 2vh, 18px) clamp(16px, 1.6vw, 22px); color: #fff; }
.course-name h3 { margin: 0; font-size: clamp(19px, 1.75vw, 25px); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; }
.course-name h3 span { display: block; color: var(--accent); }
.course-name em { display: block; margin-top: 5px; font-style: normal; font-size: 14px; font-weight: 700; color: #ffd9d4; }
.course-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.course-btns .btn { flex: 1 1 auto; }
.course-track.n3 .course-body p { -webkit-line-clamp: 3; }
.course-body p { margin-top: 0; }
/* fee table window */
.modal-card:has(.fee-wrap) { width: min(860px, 100%); }
.fee-wrap { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); }
.fee-head { padding: 14px 18px; border-radius: 18px 60px 60px 18px; background: linear-gradient(120deg, #d62828, #8f1519); color: #fff; }
.fee-head h3 { margin: 0; font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.fee-head h3 span { color: var(--accent); }
.fee-head em { font-style: normal; font-weight: 700; color: #ffd9d4; }
.fee-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.fee-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.fee-table th { padding: 10px 12px; background: #fff3d1; color: var(--ink); font-size: 12.5px; font-weight: 800; text-align: left; line-height: 1.25; vertical-align: bottom; }
.fee-table td { padding: 9px 12px; border-top: 1px solid var(--line); font-weight: 600; }
.fee-table tbody tr:nth-child(even) td { background: #fbf7f2; }
.fee-table td:first-child, .fee-table th:first-child { position: sticky; left: 0; background: inherit; }
.fee-table td:first-child { background: #fff; font-weight: 800; }
.fee-table tbody tr:nth-child(even) td:first-child { background: #fbf7f2; }
.fee-table td.n { text-align: right; font-variant-numeric: tabular-nums; }
.fee-table th:nth-child(n+3) { text-align: right; }
.fee-table td:nth-child(3) { color: var(--primary-dark); font-weight: 800; }
.fee-cap { margin: 0; color: var(--muted); font-size: 13px; }
.fee-note { margin: 0; padding: 10px 14px; border-left: 4px solid var(--accent); border-radius: 10px; background: #fff8df; font-size: 14px; }
.fee-wrap .btn { justify-self: start; }
@media (max-width: 600px) {
  .course-name { max-width: 70%; }
  .course-name h3 { font-size: 18px; }
  .course-name em { font-size: 12.5px; margin-top: 3px; }
  .course-panel img { width: 58%; }
  .fee-table { font-size: 13px; }
}
/* brochure half-circle + taller panel so the long programme names always fit */
.course-panel::before { left: -13%; width: auto; height: 190%; aspect-ratio: 1; box-shadow: 7px 0 0 rgba(255, 194, 26, .95); }
.course-panel { background: #5e0d10; }
.course-name { max-width: 60%; align-self: center; padding: 0 0 0 clamp(14px, 1.4vw, 20px); }
.course-name h3 { font-size: clamp(18px, 1.55vw, 23px); }
#courses .course-track .course-photo.course-panel { height: clamp(150px, calc(100svh - 610px), 200px); }
.course-track .mini-stats b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 901px) and (max-height: 760px) { #courses .course-track.n3 .course-body p { -webkit-line-clamp: 2; } #courses .section-head p { margin-bottom: 0; } }
@media (max-width: 600px) {
  #courses .course-track .course-photo.course-panel { height: clamp(128px, calc(100svh - 600px), 170px); }
  .course-name { max-width: 62%; }
  .course-name h3 { font-size: 17px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  #courses .course-track .course-photo.course-panel { height: 118px; }
  #courses .course-track.n3 .course-body p { -webkit-line-clamp: 2; font-size: 14px; margin-bottom: 10px; }
  #courses .course-track.n3 .mini-stats { margin-bottom: 10px; }
  #courses .course-btns .btn { min-height: 42px; }
}
.fee-table td:nth-child(-n+2) { white-space: nowrap; }
.fee-table th:first-child { background: #fff3d1; }
.fee-table td, .fee-table th { padding-block: 8px; }
/* batch installments line (always visible, even when the chips are hidden on short screens) */
.batch-card .inst { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; padding: 7px 10px; border-radius: 12px; background: #fff8df; color: var(--ink); font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.batch-card .inst span { padding: 2px 8px; border-radius: 999px; background: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
/* results: "selected for" line when a topper has no score, e.g. MBBS, AMU / IIT Kharagpur */
.placed { margin-top: 8px; display: grid; gap: 2px; }
.placed small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.placed b { color: var(--primary); font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.result-photo .initials { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.7), transparent 60%); color: rgba(143, 21, 25, .55); }
/* programme panel colours: name in white with the first word in yellow; target + label in brand yellow */
#courses .course-name h3 { color: #fff; }
#courses .course-name h3 span { color: var(--accent); }
#courses .course-name em { display: inline-block; margin-top: 7px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #8f1519; font-size: 13px; font-weight: 800; }
#courses .course-panel .course-tag { background: var(--accent); color: #8f1519; font-weight: 800; }
#courses .course-track .course-body p { -webkit-line-clamp: 4; margin-bottom: 16px; }
@media (max-width: 600px) { #courses .course-name em { font-size: 12px; padding: 2px 9px; margin-top: 5px; } }
/* faculty with one teacher: wide feature card, photo beside the text */
#facultyTrack.solo { display: block; overflow: visible; }
#facultyTrack.solo .faculty-card { width: min(860px, 100%); display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 26px; align-items: center; padding: 12px; }
#facultyTrack.solo .faculty-photo { aspect-ratio: 1 / 1.05; }
#facultyTrack.solo .faculty-body { padding: 6px 10px 6px 0; }
#facultyTrack.solo .faculty-body h3 { font-size: clamp(24px, 2.4vw, 32px); }
#facultyTrack.solo .faculty-bio { -webkit-line-clamp: unset; display: block; font-size: 16px; }
.faculty-points { list-style: none; display: grid; gap: 8px; padding: 0; margin: 16px 0 0; }
.faculty-points li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.faculty-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800; }
@media (max-width: 600px) {
  #facultyTrack.solo .faculty-card { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: start; }
  #facultyTrack.solo .faculty-body h3 { font-size: 19px; }
  #facultyTrack.solo .faculty-bio { font-size: 14px; }
  .faculty-points li { font-size: 13.5px; }
}

/* founder steps: 1-4 boxes from the admin fill the row */
@media (min-width: 901px) { #aboutSteps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }

/* footer credit */
.built-by a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.built-by a:hover { color: var(--accent); }
/* footer: always one line */
.footer-inner { flex-wrap: nowrap; gap: 20px; }
.footer-links { flex-wrap: nowrap; gap: 16px; font-size: 14.5px; white-space: nowrap; }
.footer-meta { white-space: nowrap; font-size: 14px; }
@media (max-width: 1199px) { .footer-links { display: none; } }
@media (max-width: 600px) {
  footer .footer-inner { flex-direction: row; justify-content: center; align-items: center; }
  footer .brand, #footerPhone, #footerPhone + .sep { display: none; }
  .footer-meta { font-size: 12.5px; }
}
@media (min-width: 601px) { footer .footer-inner { padding-right: 76px; } }   /* room for the floating WhatsApp button */
