/* =====================================================================
   Brilliant Coaching Centre: public welcome page
   Same palette as before (navy / blue / yellow). New layout, type and spacing.
   The liquid-glass login card lives in login.css and is unchanged.
   ===================================================================== */
:root {
  /* palette: primary yellow #FFE600, soft yellow #FFF9A6 (background), deep navy #1B1464; text black / grey; white */
  --navy: #1B1464;
  --blue: #1B1464;
  --yellow: #FFE600;
  --text: #000000;
  --muted: #555555;
  --line: rgba(27, 20, 100, .14);
  --white: #FFFFFF;
  --wash: #FFFFFF;                 /* alternate section background */
  --yellow-soft: #FFF9A6;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  /* 8px spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 112px;
  --radius: 14px;
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--yellow-soft); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10000; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
body.login-modal-open { overflow: hidden; }

/* ---------- shared type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.kicker::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: var(--yellow); }
.section-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--navy); }
.section-head h2 em, .hero-tagline em { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--navy); background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .08em; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }
.center-head { margin-inline: auto; text-align: center; justify-items: center; }
.public-section { padding-block: var(--s7); }
.section-anchor { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- buttons ---------- */
.btn, .btn-login { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active, .btn-login:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(6, 29, 73, .6); }
.btn-primary:hover { background: #2c2486; transform: translateY(-2px); }
.btn-primary i { transition: transform .2s var(--ease); }
.btn-primary:hover i { transform: translateX(4px); }
.btn-ghost { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--yellow); border-color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(255, 212, 0, .8); }
.btn-login { min-height: 44px; padding: 0 22px; background: var(--navy); color: #fff; }
.btn-login:hover { background: var(--yellow); color: var(--navy); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(1320px, calc(100% - 48px)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: var(--s4); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.brand-copy span { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: var(--navy); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: var(--s4); }
.main-nav a { position: relative; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0; place-items: center; align-content: center; gap: 4px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { width: min(1320px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: var(--s6); padding-block: var(--s6) var(--s6); }
.hero-welcome { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero-wordmark { width: min(420px, 82%); height: auto; margin: 6px 0 var(--s2) -6px; }
.hero-place { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); }
.hero-tagline { margin-top: var(--s3); font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; color: var(--navy); text-wrap: balance; }
.hero-tagline em { font-size: 1.08em; }
.hero-description { margin-top: var(--s2); font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s4); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: 28px; background: var(--yellow); outline: 0; z-index: 0; }
.hero-slides { position: relative; z-index: 1; aspect-ratio: 4 / 3.1; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: 0 30px 60px -30px rgba(6, 29, 73, .55); touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 5.5s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slide.prev { opacity: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-badge { position: absolute; z-index: 3; left: -22px; bottom: 36px; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: 0 18px 40px -16px rgba(6, 29, 73, .45); display: grid; line-height: 1.15; }
.hero-badge strong { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero-badge span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.carousel-dots { position: absolute; z-index: 3; right: 22px; bottom: 20px; display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(6, 29, 73, .55); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 999px; padding: 0; border: 0; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background .3s; }
.dot.active { width: 26px; background: var(--yellow); }

/* ---------- why-BCC strip ---------- */
.highlights { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.highlights article { display: flex; gap: 16px; align-items: flex-start; padding: var(--s4) var(--s3); }
.highlights article + article { border-left: 1px solid var(--line); }
.highlights i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); color: var(--navy); font-size: 18px; }
.highlights h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.highlights p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- leadership (director left, principal right, larger) ---------- */
.people-section { padding-block: var(--s7) var(--s6); }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader-card { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(6, 29, 73, .35); }
.leader-photo { background: var(--yellow-soft); min-height: 380px; overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .6s var(--ease); }
.leader-card:hover .leader-photo img { transform: scale(1.04); }
.leader-info { padding: var(--s4) var(--s4) var(--s3); display: flex; flex-direction: column; }
.leader-info h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.1; }
.leader-info b { margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.leader-info p { margin-top: var(--s2); font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.4; color: var(--text); }
.signature { margin-top: auto; align-self: flex-end; width: 150px; height: auto; opacity: .85; padding-top: var(--s2); }
.signature.principal { width: 130px; }

/* ---------- about ---------- */
.about-section { background: var(--wash); }
.about-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s6); align-items: start; }
.about-intro .section-head { margin-bottom: var(--s3); }
.about-intro > p { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.about-intro > p + p { margin-top: var(--s2); }
.pill-list { list-style: none; padding: 0; margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 8px 16px; border-radius: 999px; background: var(--yellow); border: 0; font-weight: 600; font-size: 14px; color: var(--navy); }
.about-values { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.about-values article { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); }
.about-values article:nth-child(odd) { border-right: 1px solid var(--line); }
.about-values article:nth-child(even) { padding-left: var(--s3); }
.about-values span { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--navy); }
.about-values h3 { margin-top: 4px; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.about-values p { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.stats-strip { margin-top: var(--s6); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-radius: 22px; color: #fff; overflow: hidden; }
.stats-strip div { padding: var(--s4) var(--s3); text-align: left; }
.stats-strip div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.stats-strip strong { display: block; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--yellow); line-height: 1.1; }
.stats-strip span { font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ---------- facilities ---------- */
.facility-photo-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.facility-photo-row figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--wash); }
.facility-photo-row figure:first-child { aspect-ratio: auto; }
.facility-photo-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.facility-photo-row figure:hover img { transform: scale(1.06); }
.facility-photo-row figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 16px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; color: var(--navy); }
.facility-grid { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.facility-grid article { padding: var(--s3) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line); }
.facility-grid article:not(:nth-child(3n+1)) { padding-left: var(--s3); border-left: 1px solid var(--line); }
.facility-grid i { font-size: 20px; color: var(--navy); }
.facility-grid h3 { margin-top: 14px; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.facility-grid p { margin-top: 6px; font-size: .95rem; color: var(--muted); }

/* ---------- results ---------- */
.results-section { background: var(--wash); }
.split-head { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--s4); }
.split-head > div { display: grid; gap: var(--s2); max-width: 720px; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; white-space: nowrap; }
.tab.active { background: var(--yellow); color: var(--navy); }
.panel-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: var(--s3); }
.topper-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.topper-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 18px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.topper-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(6, 29, 73, .4); }
.rank-badge { position: absolute; z-index: 2; left: 10px; top: 10px; min-width: 34px; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: var(--yellow); font-size: 12.5px; font-weight: 800; }
.topper-card:nth-child(1) .rank-badge { background: var(--yellow); color: var(--navy); }
.topper-photo { aspect-ratio: 1 / 1.1; border-radius: 12px; overflow: hidden; background: var(--yellow-soft); }
.topper-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.topper-card h4 { margin-top: 12px; font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.score { margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: var(--navy); font-size: .95rem; }
.score i { color: #e0a800; font-size: .8em; }
.topper-meta, .batch { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.topper-extra { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--navy); }

/* ---------- events ---------- */
.events-section { --gap: 24px; }
.event-rows { display: flex; flex-direction: column; gap: var(--gap); }
.event-row { display: flex; justify-content: center; gap: var(--gap); }
.event-card { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3.3; box-shadow: 0 24px 40px -28px rgba(6, 29, 73, .6); isolation: isolate; }
.event-slider { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; cursor: grab; }
.event-slider::-webkit-scrollbar { display: none; }
.event-slider.grabbing { cursor: grabbing; scroll-snap-type: none; }
.event-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; position: relative; }
.event-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.event-slide.placeholder { display: grid; place-items: center; background: linear-gradient(150deg, var(--navy), var(--navy)); color: rgba(255, 255, 255, .9); }
.event-slide.placeholder i { font-size: 54px; color: var(--yellow); opacity: .95; }
.event-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 56px 20px 18px; background: linear-gradient(to top, rgba(6, 29, 73, .92), rgba(6, 29, 73, 0)); color: #fff; pointer-events: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.event-cap h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.event-cap small { display: block; font-size: 13px; color: rgba(255, 255, 255, .8); margin-top: 2px; }
.event-count { flex: none; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; }
.ev-nav { position: absolute; z-index: 3; top: 50%; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; opacity: 0; transition: opacity .2s, transform .2s var(--ease); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.ev-nav.prev { left: 12px; } .ev-nav.next { right: 12px; }
.event-card:hover .ev-nav, .event-card:focus-within .ev-nav { opacity: 1; }
.ev-nav:hover { transform: scale(1.08); }
.ev-nav[disabled] { display: none; }
.ev-dots { position: absolute; z-index: 3; top: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.ev-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .25s var(--ease), background .25s; }
.ev-dots i.on { width: 22px; background: var(--yellow); }
.events-empty { text-align: center; color: var(--muted); }

/* ---------- contact ---------- */
.contact-section { background: var(--wash); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6); align-items: start; }
.contact-intro .section-head { margin-bottom: var(--s4); }
.contact-address { display: flex; gap: 16px; align-items: flex-start; padding: var(--s3); border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contact-address i { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: var(--yellow); }
.contact-address small, .contact-row small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.contact-address strong, .contact-row strong { display: block; font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.contact-social { display: flex; gap: 12px; margin-top: var(--s3); }
.contact-social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); transition: background .2s, color .2s, transform .2s var(--ease); }
.contact-social a:hover { background: var(--navy); color: var(--yellow); transform: translateY(-3px); }
.contact-list { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.contact-row { display: flex; gap: 16px; align-items: center; padding: 18px var(--s3); transition: background .2s; }
.contact-row + .contact-row { border-top: 1px solid var(--line); }
.contact-row:hover { background: var(--yellow); }
.contact-row i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 15px; }
.contact-row strong { overflow-wrap: anywhere; }

/* ---------- footer ---------- */
#mainFooter { background: var(--navy); color: #fff; }
.footer-cta { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; padding-block: var(--s5); display: grid; grid-template-columns: 1fr auto auto; gap: var(--s4); align-items: center; }
.footer-left { display: flex; gap: 18px; align-items: center; }
.footer-cap { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 212, 0, .12); color: var(--yellow); font-size: 24px; }
.footer-left h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 800; letter-spacing: -.01em; }
.footer-left p { margin-top: 4px; color: rgba(255, 255, 255, .72); }
.footer-slogan { width: 170px; height: auto; opacity: .92; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding: 18px max(24px, calc((100% - var(--container)) / 2)); font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer-links { display: flex; gap: 8px; }
.footer-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); transition: background .2s, color .2s; }
.footer-links a:hover { background: var(--yellow); color: var(--navy); }

/* ---------- scroll reveal (respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .hero-slide.active { transition: opacity .2s; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero { gap: var(--s5); }
  .topper-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facility-photo-row { grid-template-columns: 1fr 1fr; }
  .facility-photo-row figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .footer-cta { grid-template-columns: 1fr auto; }
  .footer-slogan { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .public-section { padding-block: var(--s6); }
  .menu-toggle { display: grid; }
  .header-inner { gap: 10px; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(6, 29, 73, .4); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s; }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--navy); }
  .hero { grid-template-columns: 1fr; padding-block: var(--s5); }
  .hero-visual { order: -1; margin-right: 18px; }
  .hero-badge { left: 12px; bottom: 28px; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlights article:nth-child(3) { border-left: 0; }
  .highlights article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .leader-grid { grid-template-columns: 1fr; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip div:nth-child(3) { border-left: 0; }
  .stats-strip div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid article:not(:nth-child(3n+1)) { border-left: 0; padding-left: 0; }
  .facility-grid article:nth-child(even) { border-left: 1px solid var(--line); padding-left: var(--s3); }
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .topper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-row { flex-wrap: wrap; }
  .event-card { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 640px) {
  .container, .hero, .highlights, .footer-cta, .header-inner { width: calc(100% - 32px); }
  .public-section { padding-block: var(--s5); }
  .brand-copy strong { font-size: 18px; } .brand-copy span { font-size: 10px; letter-spacing: .16em; }
  .brand img { width: 42px; height: 42px; }
  .btn-login span { display: none; } .btn-login { padding: 0; width: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .highlights { grid-template-columns: 1fr; }
  .highlights article + article { border-left: 0; border-top: 1px solid var(--line); }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 0; aspect-ratio: 4 / 4.2; }
  .about-values { grid-template-columns: 1fr; }
  .about-values article:nth-child(odd) { border-right: 0; }
  .about-values article:nth-child(even) { padding-left: 0; }
  .facility-photo-row { grid-template-columns: 1fr; }
  .facility-photo-row figure:first-child, .facility-photo-row figure { aspect-ratio: 4 / 3; }
  .facility-grid { grid-template-columns: 1fr; }
  .facility-grid article, .facility-grid article:nth-child(even) { border-left: 0; padding-left: 0; }
  .topper-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tabs { width: 100%; } .tab { flex: 1; padding-inline: 8px; font-size: 13px; }
  .event-row { display: contents; }
  .event-rows { gap: 18px; }
  .event-card { flex-basis: 100%; width: 100%; }
  .ev-nav { opacity: 1; width: 36px; height: 36px; }
  .footer-cta { grid-template-columns: 1fr; }
  .footer-btn { width: 100%; }
  .footer-base { justify-content: center; text-align: center; }
}
