/* ==========================================================================
   IMS Noida — home page
   Uses the tokens from ims-theme.css. Photographs are the institute's own.
   ========================================================================== */

.ims-home { font-family: var(--ims-font); color: var(--ims-ink); background: #fff; }
.ims-home *, .ims-home *::before, .ims-home *::after { box-sizing: border-box; }
/* Resets skip the original ranking section, which keeps its own styles */
/* (and the header, which sits inside <main> on this page and has its own styles) */
.ims-home :is(h1, h2, h3, p, ul, figure):not(.innovation-section *):not(.ims-header *) { margin: 0; }
.ims-home ul:not(.innovation-section *):not(.ims-header *) { padding: 0; list-style: none; }
.ims-home a { text-decoration: none; }
.ims-home img:not(.innovation-section *):not(.ims-header *) { display: block; max-width: 100%; }

/* ---------- Original ranking section: only the background changes ---------- */
.ims-home .innovation-section {
  background: var(--brand-gradient) !important; /* brand guide gradient */
  padding-bottom: 80px; /* the old 300px held the background illustration */
}
/* light text so the original content stays readable on the green */
.ims-home .innovation-section .global-heading,
.ims-home .innovation-section .global-heading b,
.ims-home .innovation-section .sub-heading,
.ims-home .innovation-section .data-number,
.ims-home .innovation-section .data-label,
.ims-home .innovation-section .award-name1 { color: #fff !important; }
.ims-home .innovation-section .rating-inner { color: var(--ims-ink); }
/* use the full page width (was capped at 1000px, leaving empty sides) */
.ims-home .innovation-section .innovation-inner { max-width: none; }
/* "Ranked" and the position inside each laurel badge */
.ims-home .innovation-section .award-rank,
.ims-home .innovation-section .award-rank .ranked,
.ims-home .innovation-section .award-rank .position,
.ims-home .innovation-section .award-rank sup { color: #fff !important; }

/* Shared section rhythm */
.h-sec { padding: clamp(64px, 8vw, 112px) 0; }
.h-sec--cream { background: var(--ims-cream); }
.h-sec--green { background: var(--ims-800); color: #fff; }
.h-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.h-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px !important; color: var(--ims-500); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.h-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h-sec--green .h-kicker { color: var(--ims-200); }
.h-title { font-family: var(--ims-serif); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.015em; color: var(--ims-800); }
.h-sec--green .h-title { color: #fff; }
.h-lead { color: var(--ims-muted); font-size: 18px; line-height: 1.6; max-width: 52ch; }
.h-sec--green .h-lead { color: rgba(255, 255, 255, .78); }

.h-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ims-700) !important; font-weight: 600;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 80%; background-repeat: no-repeat; transition: background-size .25s var(--ims-ease); }
.h-link:hover { background-size: 100% 1.5px; }
.h-link i { transition: transform .2s var(--ims-ease); }
.h-link:hover i { transform: translateX(3px); }

/* ---------- 1. Hero ---------- */
.h-hero { position: relative; min-height: max(100vh, 860px); min-height: max(100svh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ims-900); }
.h-hero__media { position: absolute; inset: 0; }
.h-hero__media video, .h-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.h-hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,45,20, .92) 0%, rgba(19,45,20, .72) 38%, rgba(19,45,20, .15) 75%),
              linear-gradient(0deg, rgba(19,45,20, .85) 0%, rgba(19,45,20, 0) 45%); }
.h-hero__inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: 56px; }
.h-hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 22px; font-size: 14px; font-weight: 600; color: var(--ims-200); }
.h-hero__eyebrow span { display: inline-flex; align-items: center; gap: 8px; }
.h-hero__eyebrow span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.h-hero h1 { max-width: 15ch; font-family: var(--ims-serif); font-weight: 700; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.h-hero h1 em { font-style: normal; color: var(--ims-200); }
.h-hero__lead { max-width: 54ch; margin-top: 22px !important; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.h-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.h-hero__actions .ims-btn { min-height: 52px; padding: 12px 28px; font-size: 16px; }

.h-hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vh, 72px); border-top: 1px solid rgba(255, 255, 255, .22); }
.h-hero__fact { padding: 28px 16px 8px; text-align: center; }
.h-hero__fact + .h-hero__fact { border-left: 1px solid rgba(255, 255, 255, .22); }
.h-hero__fact strong { display: block; font-family: var(--ims-serif); font-size: clamp(34px, 3.6vw, 58px); line-height: 1.05; color: #fff; }
.h-hero__fact span { display: block; margin-top: 8px; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; color: rgba(255, 255, 255, .82); }

/* entrance, once on load */
.h-enter > * { opacity: 0; transform: translateY(14px); animation: hEnter .7s var(--ims-ease) forwards; }
.h-enter > *:nth-child(2) { animation-delay: .08s; }
.h-enter > *:nth-child(3) { animation-delay: .16s; }
.h-enter > *:nth-child(4) { animation-delay: .24s; }
.h-enter > *:nth-child(5) { animation-delay: .32s; }
@keyframes hEnter { to { opacity: 1; transform: none; } }

/* ---------- 2. Accreditation strip ---------- */
.h-accred { padding: 48px 0; border-bottom: 1px solid var(--ims-line); background: #fff; }
.h-accred__inner { display: flex; align-items: center; gap: 24px 48px; }
.h-accred__label { flex: none; max-width: 13ch; color: var(--ims-800); font-family: var(--ims-serif); font-size: 30px; font-weight: 700; line-height: 1.25; }
.h-accred__logos { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; align-items: center; }
.h-accred__logos img { width: 100%; max-width: 240px; height: 128px; object-fit: contain; margin: 0 auto; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .25s, opacity .25s; }
.h-accred__logos img:hover { filter: none; opacity: 1; }

/* ---------- 3. Programmes ---------- */
.h-schools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.h-school { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ims-line); border-radius: 14px; background: #fff; transition: transform .25s var(--ims-ease), box-shadow .25s; }
.h-school:hover { transform: translateY(-2px); box-shadow: var(--ims-shadow); }
.h-school__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.h-school__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ims-ease); }
.h-school:hover .h-school__photo img { transform: scale(1.03); }
.h-school__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px; }
/* Brand guide school colours: a band under each photo and a coloured marker on the tag */
.h-school--management { --school: var(--school-management); }
.h-school--it { --school: var(--school-it); }
.h-school--journalism { --school: var(--school-journalism); }
.h-school__photo { border-bottom: 6px solid var(--school, var(--brand-olive)); }
.h-school__tag { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-olive); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.h-school__tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--school, var(--brand-olive)); box-shadow: 0 0 0 1px rgba(47, 20, 2, .15); }
.h-school__body h3 { font-family: var(--ims-serif); font-size: 26px; line-height: 1.15; color: var(--ims-800); }
.h-school__body p { color: var(--ims-muted); font-size: 15.5px; line-height: 1.55; }
.h-progs { margin-top: auto !important; display: grid; gap: 8px; padding-top: 8px !important; }
.h-prog { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid var(--ims-line); border-radius: 10px; color: var(--ims-ink) !important; transition: border-color .2s, background-color .2s; }
.h-prog:hover { border-color: var(--ims-500); background: var(--ims-100); }
.h-prog b { font-size: 16px; color: var(--ims-800); }
.h-prog small { display: block; margin-top: 1px; color: var(--ims-muted); font-size: 13px; font-weight: 400; }
.h-prog__level { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--ims-100); color: var(--ims-600); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.h-prog:hover .h-prog__level { background: #fff; }
.h-law { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding: 20px 26px; border-radius: 14px; background: var(--ims-cream); }
.h-law p { color: var(--ims-ink); font-size: 16px; }
.h-law p b { color: var(--ims-800); }

/* ---------- 4. Placements ---------- */
.h-place { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px 64px; align-items: start; }
.h-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .18); }
.h-stat { padding: 24px 20px 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.h-stat:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.h-stat strong { display: block; font-family: var(--ims-serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: #fff; }
.h-stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .74); font-size: 15px; }
/* Recruiters: full-width white band, logos scroll slowly, pause on hover or with the button */
.h-hiring { padding: 48px 0 56px; background: #fff; border-top: 1px solid var(--ims-line); border-bottom: 1px solid var(--ims-line); overflow: hidden; }
.h-hiring__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; }
.h-hiring__title { margin: 0; color: var(--ims-800); font-family: var(--ims-serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; }
.h-hiring__pause { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ims-line); border-radius: 50%; background: #fff; color: var(--ims-800); cursor: pointer; }
.h-hiring__pause:hover { background: var(--ims-100); }
.h-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.h-marquee__track { display: flex; width: max-content; gap: 24px; margin: 0; padding: 0; list-style: none; animation: hMarquee 60s linear infinite; }
.h-marquee:hover .h-marquee__track, .h-hiring.is-paused .h-marquee__track { animation-play-state: paused; }
.h-marquee__track li { flex: none; display: grid; place-items: center; width: 200px; height: 96px; padding: 8px 10px; border: 1px solid var(--ims-line); border-radius: 12px; background: #fff; transition: transform .25s var(--ims-ease), box-shadow .25s; }
.h-marquee__track li:hover { transform: translateY(-2px); box-shadow: var(--ims-shadow); }
.h-marquee__track img { width: 100%; height: 100%; object-fit: contain; }
@keyframes hMarquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .h-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .h-marquee__track li[aria-hidden] { display: none; } }

/* Salary highlights: three tiles, number on top, the salary band as a pill */
.h-salary__title { margin-top: 36px !important; margin-bottom: 14px !important; color: var(--ims-200); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.h-salary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.h-salary li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .8);
  transition: transform .25s var(--ims-ease), background-color .25s, border-color .25s;
}
.h-salary li:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); border-color: rgba(225, 199, 160, .5); }
.h-salary li b { font-family: var(--ims-serif); font-size: clamp(32px, 3vw, 44px); font-weight: 700; line-height: 1; color: #fff; }
.h-salary li span { font-size: 14px; line-height: 1.4; }
.h-salary li strong {
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ims-200);
  color: var(--brand-forest);
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .h-salary { grid-template-columns: 1fr; }
  .h-salary li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
}

.h-alumni { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.h-alum { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; color: var(--ims-ink); transition: transform .25s var(--ims-ease); }
.h-alum:hover { transform: translateY(-2px); }
.h-alum__photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--ims-100); }
.h-alum__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ims-ease); }
.h-alum:hover .h-alum__photo img { transform: scale(1.03); }
.h-alum__logo { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; height: 40px; padding: 6px 12px; border-radius: 8px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.h-alum__logo img { height: 26px; width: auto; max-width: 110px; object-fit: contain; }
.h-alum__body { padding: 16px 18px 18px; }
.h-alum__body h3 { font-size: 17px; font-weight: 700; color: var(--ims-800); }
.h-alum__body p { margin-top: 4px; color: var(--ims-muted); font-size: 14px; line-height: 1.45; }

.h-recruiters { margin-top: clamp(48px, 6vw, 72px); padding: 28px 32px; border-radius: 14px; background: #fff; }
.h-recruiters p { margin-bottom: 18px !important; color: var(--ims-muted); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.h-recruiters ul { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 16px 24px; align-items: center; }
.h-recruiters img { width: 100%; height: 44px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.h-recruiters li:hover img { filter: none; opacity: 1; }

/* ---------- 5. Rankings ---------- */
.h-ranks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-rank--more { justify-content: center; align-items: flex-start; background: var(--ims-800) !important; border-color: var(--ims-800) !important; }
.h-rank--more p { color: #fff !important; font-family: var(--ims-serif); font-size: 22px !important; }
.h-rank--more .h-link { color: var(--ims-200) !important; }
.h-rank { display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 22px; border: 1px solid var(--ims-cream-2); border-radius: 14px; background: #fff; transition: transform .25s var(--ims-ease), border-color .25s; }
.h-rank:hover { transform: translateY(-2px); border-color: var(--ims-300); }
.h-rank__no { font-family: var(--ims-serif); font-size: 46px; font-weight: 700; line-height: 1; color: var(--ims-800); }
.h-rank__no sup { font-size: .42em; top: -1.1em; margin-left: 2px; color: var(--ims-500); }
.h-rank p { color: var(--ims-ink); font-size: 15px; line-height: 1.4; }
.h-rank small { margin-top: auto; color: var(--ims-500); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- 6. Campus ---------- */
.h-campus { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 16px; }
.h-tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--ims-100); }
.h-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ims-ease); }
.h-tile:hover img { transform: scale(1.03); }
.h-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,45,20, .78) 0%, rgba(19,45,20, 0) 55%); }
.h-tile h3 { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-size: 19px; font-weight: 700; }
.h-tile--a { grid-column: span 7; grid-row: span 2; }
.h-tile--b { grid-column: span 5; }
.h-tile--c { grid-column: span 5; }
.h-tile--d { grid-column: span 4; }
.h-tile--e { grid-column: span 4; }
.h-tile--f { grid-column: span 4; }

/* ---------- 7. Why IMS ---------- */
.h-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 72px; align-items: center; }
.h-why__photo { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 4.4; }
.h-why__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 36px !important; }
.h-why__list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--ims-line); }
/* Animated button: olive fill sweeps in on hover, the arrow circle slides right */
.h-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 8px 8px 8px 26px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--brand-forest);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(27, 60, 28, .7);
  transition: transform .2s var(--ims-ease), box-shadow .25s;
}
.h-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-gradient);
  transform: translateX(-101%);
  transition: transform .45s var(--ims-ease);
}
.h-cta__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-forest);
  font-size: 15px;
  transition: transform .35s var(--ims-ease);
}
.h-cta__icon i { transition: transform .35s var(--ims-ease); }
.h-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(27, 60, 28, .8); }
.h-cta:hover::before { transform: translateX(0); }
.h-cta:hover .h-cta__icon { transform: translateX(4px); }
.h-cta:hover .h-cta__icon i { animation: hCtaArrow .6s var(--ims-ease); }
.h-cta:active { transform: translateY(0) scale(.97); }
.h-cta:focus-visible { outline: 3px solid var(--brand-olive); outline-offset: 3px; }
@keyframes hCtaArrow {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(14px); opacity: 0; }
  46% { transform: translateX(-14px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .h-cta, .h-cta::before, .h-cta__icon { transition: none; }
  .h-cta:hover .h-cta__icon i { animation: none; }
}

/* green tile with the line icon drawn in white */
.h-why__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--brand-forest); }
/* pure white (#fff); the drop-shadows thicken the thin line icons so they read as solid white */
.h-why__icon img { width: 34px; height: 34px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 0 .4px #fff) drop-shadow(0 0 .4px #fff); }
.h-why__list b { color: var(--ims-800); font-size: 17px; line-height: 1.3; }

/* ---------- 8. Life at IMS ---------- */
.h-life { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 14vw, 210px); gap: 12px; }
.h-life figure { overflow: hidden; border-radius: 12px; background: var(--ims-100); }
.h-life figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.h-life figure:nth-child(6) { grid-column: span 2; }
.h-life img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ims-ease); }
.h-life figure:hover img { transform: scale(1.03); }

/* ---------- 9. FAQ (restyles the existing accordion) ---------- */
.h-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: start; }
.h-faq__aside { position: sticky; top: 150px; }
.h-faq__aside .h-lead { margin-top: 16px; }
.h-faq__help { margin-top: 28px; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--ims-cream-2); }
.h-faq__help p { color: var(--ims-muted); font-size: 15px; margin-bottom: 12px !important; }
.ims-home .ims-faq__list { display: grid; gap: 10px; }
.ims-home .ims-faq__item { border: 1px solid var(--ims-cream-2); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s; }
.ims-home .ims-faq__item.is-open { border-color: var(--ims-300); }
.ims-home .ims-faq__question { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 16px 20px; border: 0; border-radius: 0; background: none; color: var(--ims-800); font: inherit; font-size: 17px; font-weight: 600; text-align: left; cursor: pointer; }
.ims-home .ims-faq__question:hover { background: var(--ims-100); }
.ims-home .ims-faq__question:focus-visible { outline: 3px solid var(--ims-500); outline-offset: -3px; }
.ims-home .ims-faq__num { flex: none; color: #fff !important; font-size: 13px; font-weight: 700; }
.ims-home .ims-faq__q-text { flex: 1; }
.ims-home .ims-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-forest); }
.ims-home .ims-faq__icon::before, .ims-home .ims-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; transition: transform .25s var(--ims-ease); }
.ims-home .ims-faq__icon::after { transform: rotate(90deg); }
.ims-home .ims-faq__item.is-open .ims-faq__icon::after { transform: rotate(0); }
.ims-home .ims-faq__answer { max-height: 0; overflow: hidden; transition: max-height .3s var(--ims-ease); }
.ims-home .ims-faq__answer p { padding: 0 20px 20px 52px; color: var(--ims-muted); font-size: 16px; line-height: 1.65; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .h-hero { min-height: 100svh; }
  .h-hero__inner { padding-top: 88px; }
  .h-recruiters ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .h-ranks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .h-head { grid-template-columns: 1fr; align-items: start; }
  .h-schools { grid-template-columns: 1fr; max-width: 640px; }
  .h-place, .h-why, .h-faq { grid-template-columns: 1fr; }
  .h-faq__aside { position: static; }
  .h-accred__inner { flex-direction: column; align-items: flex-start; }
  .h-accred__label { max-width: none; }
  .h-accred__logos { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .h-accred__logos img { height: 100px; }
  .h-accred__label { max-width: none; font-size: 26px; }
  .h-why__photo { aspect-ratio: 16 / 10; }
  .h-campus { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .h-tile--a { grid-column: span 2; grid-row: span 1; }
  .h-tile--b, .h-tile--c, .h-tile--d, .h-tile--e, .h-tile--f { grid-column: span 1; }
  .h-tile--f { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .h-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-hero__fact:nth-child(3) { border-left: 0; }
  .h-hero__fact { padding: 20px 8px 16px; }
  .h-hero__fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  .h-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-recruiters { padding: 22px 18px; }
  .h-recruiters ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-life { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .h-life figure:nth-child(6) { grid-column: span 1; }
}
@media (max-width: 575.98px) {
  .h-hero__actions .ims-btn { width: 100%; }
  .h-alumni { grid-template-columns: 1fr 1fr; gap: 12px; }
  .h-alum__body { padding: 12px 14px 14px; }
  .h-alum__body h3 { font-size: 15px; }
  .h-alum__logo { height: 32px; padding: 4px 8px; left: 8px; bottom: 8px; }
  .h-alum__logo img { height: 20px; }
  .h-stat { padding-right: 12px; }
  .h-stat:nth-child(even) { padding-left: 12px; }
  .h-why__list { grid-template-columns: 1fr; }
  .h-campus { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .h-tile--a, .h-tile--b, .h-tile--c, .h-tile--d, .h-tile--e, .h-tile--f { grid-column: span 1; }
  .h-law { padding: 18px; }
  .h-law .ims-btn { width: 100%; }
  .ims-home .ims-faq__answer p { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-enter > * { animation: none; opacity: 1; transform: none; }
  .ims-home * { transition: none !important; }
  .h-hero__media video { display: none; }
}
