/* Homepage: approved emerald academic direction. Shared inner pages use styles.css. */
.mips-home { background: #fff; }
.mips-home :focus-visible { outline: 3px solid #b45309; outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 2000; background: #fff; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.mips-home .top-bar { padding: 7px 5%; font-size: 11px; background: #064e3b; }
.mips-home .top-bar-inner, .mips-home .navbar, .mips-home .top-ticker-inner, .mips-home .hero-inner, .mips-home .stats-grid, .explore-inner { max-width: 1320px; }
.staff-link { color: #fff; display: inline-flex; gap: 10px; align-items: center; }
.mips-home .navbar { padding: 18px 0; gap: 22px; width: 90%; }
.mips-home .brand-logo { width: 62px; height: 62px; }
.mips-home .brand-link { gap: 12px; }
.mips-home .brand-title { font-size: 22px; letter-spacing: -.4px; }
.mips-home .brand-subtitle { font-size: 11px; letter-spacing: 0; text-transform: none; max-width: 200px; line-height: 1.5; }
.mips-home .nav-links { gap: 4px; }
.mips-home .nav-link { font-size: 13px; padding: 10px 11px; gap: 7px; }
.mips-home .nav-cta-btn { font-size: 13px; border-radius: 9px; padding: 12px 20px; margin-left: 12px; }
.mips-home .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mips-home .top-ticker-bar { background: #eefaf5; border-bottom: 1px solid #daeee4; padding: 9px 5%; }
.mips-home .ticker-badge { background: #fff2d7; color: #7a4307; border-radius: 20px; padding: 4px 10px; font-size: 10px; }
.mips-home .ticker-badge i { font-size: 10px; color: #c57700; }
.mips-home .ticker-text { color: #334155; font-size: 11px; }
.mips-home .ticker-link { color: #065f46; font-size: 11px; }
.mips-home .hero { padding: 38px 5% 36px; background: linear-gradient(180deg, #fafffc22, #fafffc99), url('assets/mips-hills.webp') center bottom / cover no-repeat, #f7fdf9; border: 0; }
.mips-home .hero-inner { grid-template-columns: 1.35fr 1fr; gap: 72px; text-align: left; }
.mips-home .hero-content { gap: 0; align-items: flex-start; }
.mips-home .hero-badge { font-size: 12px; padding: 6px 12px; border: 1px solid #80d7b4; background: #f1fff9; letter-spacing: 0; margin-bottom: 20px; }
.mips-home .hero-title { font-size: clamp(44px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -2.4px; font-weight: 800; }
.mips-home .hero-title span { background: none; -webkit-text-fill-color: #009a67; color: #009a67; }
.mips-home .hero-motto { margin-top: 15px; color: #ad5a00; font-size: 13px; letter-spacing: 4px; }
.mips-home .hero-desc { max-width: 560px; font-size: 16px; line-height: 1.7; margin: 18px 0 20px; color: #344453; }
.mips-home .hero-actions { gap: 12px; margin: 0; }
.mips-home .hero-actions .btn { font-size: 13px; border-radius: 10px; min-height: 50px; padding: 13px 18px; gap: 10px; }
.mips-home .btn-gold { background: linear-gradient(110deg, #f8b526, #f4a000); color: #173b2d !important; box-shadow: 0 5px 15px #b97b001a; border: 1px solid #eba110; }
.mips-home .mobile-drawer { display: block; }
.mips-home .btn-gold:hover { background: #ffc34c; transform: translateY(-2px); }
.mips-home .hero-actions .btn-outline { background: #ffffffde; border-color: #bbcfc7; }
.campus-link { display: inline-flex; gap: 14px; font-size: 12px; font-weight: 700; margin-top: 14px; color: #064e3b; }
.hero-trust { display: flex; gap: 22px; margin-top: 20px; font-size: 11px; color: #344453; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span + span { border-left: 1px solid #bfdbcf; padding-left: 22px; }
.hero-trust i { font-size: 20px; color: #07865d; }
.mips-home .hero-card { max-width: 460px; padding: 24px 34px 25px; border: 1px solid #e8f2ed; border-radius: 23px; box-shadow: 0 18px 45px #064e3b15; background: #ffffffef; }
.crest-halo { width: 100%; max-width: 330px; aspect-ratio: 1; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 29px, #0e96670b 30px 31px), radial-gradient(circle, #e1f5ea 0%, #f4fcf8 65%, #fff 72%); }
.mips-home .hero-card-logo { width: 83%; height: 83%; object-fit: contain; margin: 0; animation: none; filter: drop-shadow(0 8px 16px #064e3b10); }
.mips-home .hero-card-title { font-size: 24px; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 8px; }
.mips-home .hero-card-subtitle { font-size: 12px; margin-bottom: 20px; }
.programme-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #b8dfcd; padding-top: 17px; color: #064e3b; gap: 12px; }
.programme-link > span:first-child { flex: 1; }
.programme-link strong { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: 2.3px; }
.programme-link small { display: block; font-size: 11px; color: #64748b; margin-top: 4px; }
.circle-arrow { border: 1px solid #b8dfcd; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; }
.mips-home .stats-strip { padding: 28px 5%; background: radial-gradient(ellipse at 75% 120%, #0a765c, transparent 65%), #064e3b; }
.mips-home .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.mips-home .stat-item { padding: 0 20px; gap: 7px; }
.mips-home .stat-num { font-size: 43px; color: #ffbd32; }
.mips-home .stat-label { font-size: 12px; letter-spacing: 0; }
.explore-section { padding: 30px 5% 38px; border-bottom: 1px solid #e1eee7; }
.explore-inner { margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 18px; align-items: center; }
.explore-inner .section-eyebrow { font-size: 10px; letter-spacing: 2px; margin-bottom: 10px; }
.explore-inner h2 { font-size: 29px; letter-spacing: -.8px; line-height: 1.15; color: #064e3b; }
.explore-inner h2 span { color: #00885d; }
.explore-card { display: flex; align-items: center; gap: 12px; padding: 22px 15px; border: 1px solid #e1ebe6; border-radius: 12px; min-height: 110px; color: #064e3b; box-shadow: 0 5px 15px #064e3b04; transition: border-color .2s, transform .2s; }
.explore-card:hover { transform: translateY(-3px); border-color: #62ba97; }
.explore-card > i { width: 44px; height: 44px; flex-shrink: 0; background: #eafaf2; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.explore-card h3 { font-size: 16px; color: #064e3b; margin-bottom: 5px; }
.explore-card p { font-size: 10px; color: #64748b; line-height: 1.6; }
.explore-card > span { margin-left: auto; }
.mips-home .section { padding: 70px 5%; scroll-margin-top: 110px; }
.mips-home .container { padding: 0; max-width: 1320px; }
.mips-home .section-alt { background: #f6faf8; }
.mips-home .section-title { color: #064e3b; letter-spacing: -.7px; }
.mips-home .card { border-color: #e1ebe6; box-shadow: 0 6px 22px #064e3b05; }
.mips-home .site-footer { background: #053d2f; }
@media (min-width: 1281px) { .mips-home .nav-links { display: flex; } .mips-home .menu-toggle { display: none; } }
@media (max-width: 1280px) {
  .mips-home .nav-links { display: none; }
  .mips-home .menu-toggle { display: block; }
  .mips-home .hero-inner { gap: 35px; }
  .mips-home .hero-title { font-size: clamp(42px, 4.7vw, 60px); }
  .mips-home .hero-card { padding: 22px; }
  .explore-inner { grid-template-columns: repeat(3, 1fr); }
  .explore-inner > div { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .mips-home .hero-inner { grid-template-columns: 1fr; gap: 35px; }
  .mips-home .hero-content { align-items: center; text-align: center; }
  .mips-home .hero-title { font-size: clamp(40px, 7.8vw, 65px); }
  .mips-home .hero-actions { justify-content: center; }
  .mips-home .hero-card { max-width: 440px; }
  .mips-home .top-bar-info { gap: 12px; }
  .mips-home .top-bar-info > span { display: none; }
  .mips-home .stat-item:nth-child(2) { border-right: 1px solid #ffffff26; }
}
@media (max-width: 600px) {
  .mips-home .navbar { padding: 12px 0; }
  .mips-home .brand-logo { width: 46px; height: 46px; }
  .mips-home .brand-title { font-size: 19px; }
  .mips-home .brand-subtitle { font-size: 9px; max-width: 180px; }
  .mips-home .top-ticker-inner { gap: 6px; }
  .mips-home .ticker-left { gap: 8px; flex-basis: 100%; }
  .mips-home .ticker-link { margin-left: auto; font-size: 10px; }
  .mips-home .hero { padding: 30px 5%; background-size: auto 100%; }
  .mips-home .hero-content { text-align: left; align-items: flex-start; }
  .mips-home .hero-title { font-size: clamp(32px, 8.4vw, 49px); letter-spacing: -1.3px; }
  .mips-home .hero-badge { font-size: 10px; margin-bottom: 20px; }
  .mips-home .hero-motto { font-size: 10px; letter-spacing: 2px; }
  .mips-home .hero-desc { font-size: 14px; }
  .mips-home .hero-actions { width: 100%; flex-direction: column; }
  .mips-home .hero-actions .btn { width: 100%; font-size: 13px; justify-content: center; }
  .hero-trust { gap: 12px; font-size: 10px; }
  .hero-trust span + span { padding-left: 12px; }
  .mips-home .hero-card { padding: 20px 25px; }
  .crest-halo { max-width: 260px; }
  .mips-home .hero-card-title { font-size: 22px; }
  .mips-home .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .mips-home .stat-item { border-bottom: 0; border-right: 1px solid #ffffff26; padding: 0 12px; }
  .mips-home .stat-item:nth-child(even) { border-right: 0; }
  .mips-home .stat-num { font-size: 35px; }
  .mips-home .stat-label { font-size: 10px; }
  .explore-inner { grid-template-columns: 1fr; gap: 12px; }
  .explore-inner > div { margin-bottom: 8px; }
  .explore-card { min-height: 88px; padding: 16px; }
  .explore-card p { font-size: 12px; }
  .mips-home .section { padding: 45px 5%; }
  .mips-home .mobile-drawer-content { width: min(340px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mips-home *, .mips-home *::before, .mips-home *::after { animation: none !important; transition: none !important; }
}
