/* EIU-Paris home — F1 landing
   Palette: #9A0805 #B70A14 #284A8D white gray
   Type: Inter, body 15.5px, H1 max 2.5rem, section titles ~1.5–1.85rem
*/

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --red: #9A0805;
  --red-bright: #B70A14;
  --red-soft: #F8E8E8;
  --navy: #284A8D;
  --navy-deep: #1A3268;
  --ink: #1A1D23;
  --muted: #4B5563;
  --faint: #6B7280;
  --line: #E4E7EC;
  --line-strong: #D5DAE2;
  --gray: #F5F6F8;
  --gray-2: #EEF0F3;
  --white: #ffffff;
  --max: 1160px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 10px 30px rgba(26, 29, 35, 0.06);
  --header-bottom: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  background: var(--gray);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a {
  color: var(--red);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--red-bright); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 400;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.visually-hidden,
.breadcrumb {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection { background: #F4D0D2; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(26, 29, 35, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 86px;
  padding-block: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand > picture { display: contents; } /* WebP + PNG fallback wrapper: the <img> stays the flex item */

.brand__logo {
  height: 54px;
  width: auto;
  max-width: min(230px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.header-cluster {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  min-width: 0;
}

.utility {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.utility a {
  color: var(--muted);
  text-decoration: none;
}

.utility a:hover { color: var(--red); }

.utility__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-cluster__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
  flex-wrap: nowrap;
}

.primary-nav__item { position: relative; }

.primary-nav__link,
.primary-nav__trigger {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  white-space: nowrap;
  line-height: 1.2;
}

.primary-nav__link:hover,
.primary-nav__trigger:hover,
.primary-nav__trigger[aria-expanded="true"] {
  color: var(--red);
}

.nav-chevron {
  transition: transform 0.2s var(--ease);
  opacity: 0.7;
}

.primary-nav__trigger[aria-expanded="true"] .nav-chevron,
.primary-nav__item--mega.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.mobile-utility { display: none; }

.mobile-utility a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
}

.mobile-utility a:hover { color: var(--red); }

.mobile-utility .utility__wa { color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: 4px;
  border: 1px solid transparent;
  padding: 0.72rem 1rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-bright);
  color: var(--white);
}

.header-apply {
  padding: 0.58rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 3px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 0.2rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  font-weight: 600;
}
.btn--ghost:hover { color: var(--red); }

/* ---------- Mega menu (prototype behavior) ---------- */
.mega-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(26, 29, 35, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 220;
  max-height: min(78vh, 640px);
  overflow: auto;
  padding: 0.85rem;
}

.mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.mega-panel[hidden] { display: none; }

.mega-panel--programmes {
  left: 0;
  width: min(960px, calc(100vw - 2rem));
  transform: translateY(6px);
}

.mega-panel--list {
  right: 0;
  left: auto;
  width: min(640px, calc(100vw - 2rem));
  transform: translateY(6px);
  padding: 0.85rem;
}

.primary-nav__item--mega.is-open > .mega-panel {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.featured-pathway {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: var(--gray);
  border: 1px solid var(--line);
}

.featured-pathway__mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--red);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.featured-pathway__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.featured-pathway__title {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink);
}

.featured-pathway__copy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.featured-pathway__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.featured-pathway__pill {
  display: inline-flex;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(154, 8, 5, 0.28);
  background: var(--white);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.featured-pathway__pill:hover {
  background: var(--red);
  color: var(--white);
}

.featured-pathway__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.featured-pathway__cta:hover { background: var(--red-bright); color: var(--white); }

.prog-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.85rem;
  align-items: start;
}

.prog-cards__col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.prog-card {
  display: flex;
  align-items: stretch;
  min-height: 3.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  overflow: visible;
}

.prog-card--link { align-items: center; overflow: hidden; }

.prog-card:hover,
.prog-card:focus-within {
  border-color: rgba(154, 8, 5, 0.35);
  box-shadow: var(--shadow);
}

.prog-card--expand { flex-direction: column; }

.prog-card__btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.prog-card__accent {
  width: 3px;
  align-self: stretch;
  background: var(--red-bright);
  flex-shrink: 0;
}

.prog-card__icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  flex-shrink: 0;
  color: var(--navy);
}

.prog-card__icon svg { width: 20px; height: 20px; }

.prog-card__divider {
  width: 1px;
  align-self: stretch;
  margin: 0.55rem 0;
  background: var(--line);
  flex-shrink: 0;
}

.prog-card__label {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.55rem 0.55rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.card-chevron {
  flex-shrink: 0;
  margin-right: 0.7rem;
  color: var(--faint);
}

.prog-card:hover .card-chevron,
.prog-card__btn[aria-expanded="true"] .card-chevron { color: var(--red); }

.prog-card__btn[aria-expanded="true"] .card-chevron--down { transform: rotate(180deg); }

.prog-card__body {
  border-top: 1px solid var(--line);
  background: var(--gray);
  padding: 0.3rem 0.45rem 0.45rem;
}

.prog-card__body[hidden] { display: none !important; }
.prog-card.is-open > .prog-card__body { display: block !important; }

.prog-card--expand.is-open {
  border-color: rgba(154, 8, 5, 0.4);
  box-shadow: var(--shadow);
}

.prog-card__list {
  display: flex;
  flex-direction: column;
  max-height: 15rem;
  overflow: auto;
}

.prog-card__list a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.prog-card__list a:hover { background: var(--red-soft); color: var(--red); }

.eiu-student-menu__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.eiu-student-menu__item {
  display: grid;
  grid-template-columns: 36px 1fr 10px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
}

.eiu-student-menu__item:hover {
  border-color: rgba(154, 8, 5, 0.35);
  color: var(--ink);
}

.eiu-student-menu__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray);
  color: var(--navy);
  border: 1px solid var(--line);
}

.eiu-student-menu__svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eiu-student-menu__title {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

.eiu-student-menu__chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9aa3b2;
  border-top: 1.5px solid #9aa3b2;
  transform: rotate(45deg);
}

.mobile-accordion { display: none; }

.mobile-acc-group { border-bottom: 1px solid var(--line); }

.mobile-acc-group summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-acc-group summary::-webkit-details-marker { display: none; }

.mobile-acc-group summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  margin-right: 0.35rem;
}

.mobile-acc-group[open] summary::after { transform: rotate(-135deg); }

.mobile-acc-group ul { margin: 0 0 0.65rem; padding: 0 0 0 0.35rem; }

.mobile-acc-group a,
.mobile-acc-link {
  display: block;
  padding: 0.7rem 0.2rem;
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-featured {
  padding: 0.35rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.35rem;
}

.mobile-featured__title {
  font-weight: 650;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.mobile-featured__pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }

@media (min-width: 980px) {
  .mobile-accordion { display: none !important; }
}

@media (max-width: 720px) {
  .featured-pathway { grid-template-columns: auto 1fr; }
  .featured-pathway__cta { grid-column: 1 / -1; justify-self: start; }
  .eiu-student-menu__columns,
  .prog-cards__grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.02fr) minmax(280px, 1.15fr) 148px;
  gap: 1.5rem 1.35rem;
  align-items: center;
  padding-block: 1.75rem 2rem;
}

.hero__eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero h1 span { display: block; }

.hero__lead {
  margin-top: 0.85rem;
  max-width: 38ch;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 1.25rem;
}

.hero__photo,
.hero__paris {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 2px;
}

.hero__paris { object-position: center 42%; }

/* ---------- Pillars ---------- */
.pillars {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.85rem;
  align-items: start;
  padding: 1.35rem 1.25rem;
}

.pillar + .pillar { border-left: 1px solid var(--line); }

.pillar__icon {
  color: var(--ink);
  margin-top: 0.1rem;
}

.pillar__icon svg { width: 26px; height: 26px; display: block; }

.pillar h2,
.pillar h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Programmes ---------- */
.programmes {
  background: var(--gray);
  padding: 3.25rem 0 3.5rem;
}

.programmes > .container > h2 { margin-bottom: 1.25rem; }

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.pathway {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.05rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pathway:hover {
  border-color: rgba(154, 8, 5, 0.28);
  box-shadow: var(--shadow);
}

.pathway__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.pathway__num {
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.pathway__icon { color: #2A3140; }
.pathway__icon svg { width: 26px; height: 26px; display: block; }

.pathway h3 { margin-bottom: 0.45rem; max-width: 18ch; }

.pathway p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.pathway__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.pathway__link:hover { color: var(--red-bright); text-decoration: underline; }

/* ---------- Stats ---------- */
.stats {
  background: #F3F4F6;
  padding: 3.4rem 0 3.1rem;
  border-top: 1px solid var(--line);
}

.stats__title {
  text-align: center;
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.stats__line { display: block; }

.stats__em { color: var(--red-bright); }

.stats__sub,
.stats__conferred {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.stats__sub { margin-top: 0.95rem; }

.stats__conferred { margin-top: 0.15rem; }

/* Powered-by IKON SKILLS badge CTA */
.powered-cta {
  display: flex; align-items: center; gap: 0.75rem;
  width: fit-content; max-width: calc(100% - 2rem); min-height: 46px;
  margin: 1rem auto 0; padding: 0.6rem 1rem 0.6rem 1.1rem;
  background: #0f1b2d; color: #fff; border-radius: 12px; text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(15, 27, 45, 0.45);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.powered-cta__label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #a9b4c4; white-space: nowrap; }
.powered-cta__div { width: 1px; height: 16px; background: rgba(255,255,255,.22); }
.powered-cta__logo { display: block; height: 20px; width: auto; }
.powered-cta__arrow { width: 16px; height: 16px; margin-left: 1.25rem; color: #c3ccd8; transition: transform .2s ease, color .2s ease; flex: none; }
.powered-cta:hover { background: #142540; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(15,27,45,.55); }
.powered-cta:hover .powered-cta__arrow { transform: translate(2px,-2px); color: #fff; }
.powered-cta:focus-visible { outline: 3px solid #284A8D; outline-offset: 3px; }
@media (max-width: 480px) {
  .powered-cta { min-height: 42px; gap: 0.6rem; padding: 0.5rem 0.85rem; }
  .powered-cta__label { font-size: 0.6rem; letter-spacing: 0.12em; }
  .powered-cta__logo { height: 17px; }
  .powered-cta__arrow { width: 14px; height: 14px; margin-left: 0.6rem; }
}
/* Desktop: badge inline after "Conferred by EIU-Paris." */
.stats__confrow { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 1024px) {
  .stats__confrow { flex-direction: row; justify-content: center; flex-wrap: nowrap; gap: 0.6rem; margin-top: 0.15rem; }
  .stats__confrow .stats__conferred { margin: 0; white-space: nowrap; }
  .stats__confrow .powered-cta { margin: 0; min-height: 32px; height: 32px; padding: 0 0.7rem 0 0.8rem; gap: 0.5rem; border-radius: 999px; max-width: none; flex: none; box-shadow: 0 4px 12px -6px rgba(15,27,45,.45); }
  .stats__confrow .powered-cta__label { font-size: 0.6rem; letter-spacing: 0.14em; }
  .stats__confrow .powered-cta__div { height: 12px; }
  .stats__confrow .powered-cta__logo { height: 14px; }
  .stats__confrow .powered-cta__arrow { width: 12px; height: 12px; margin-left: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) { .powered-cta, .powered-cta__arrow { transition: none; } }

.stats__motto {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.15rem auto 0;
  max-width: 46rem;
  color: var(--red-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.stats__motto::before,
.stats__motto::after {
  content: "";
  flex: 1 1 72px;
  max-width: 180px;
  height: 1px;
  background: var(--red-bright);
  opacity: 0.85;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.1rem;
  max-width: 980px;
  margin-inline: auto;
}

.stats__item {
  text-align: center;
  padding: 0.35rem 0.75rem;
}

.stats__item + .stats__item { border-left: 1px solid #D9DDE3; }

.stats__value {
  display: block;
  color: var(--red-bright);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stats__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #636A77; /* --faint darkened just enough for WCAG AA (4.95:1 on the #F3F4F6 stats band) */
  line-height: 1.35;
}

/* ---------- Community ---------- */
.community {
  background: var(--navy);
  color: var(--white);
}

.community__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(320px, 1.2fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
  padding-block: 2.6rem;
}

.community__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.community h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  max-width: 12em;
}
.community h2 span { display: block; }

.community__lead {
  margin-top: 0.7rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.community .btn { margin-top: 1.15rem; }

.collage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 168px 168px;
  gap: 8px;
}

.collage__main { grid-row: 1 / span 2; }

.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage__main img { object-position: center 20%; }

.community__feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.be-featured {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 3px;
  background: #16315C;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.be-featured:hover { background: var(--red); color: var(--white); }

.community__email {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.community__email:hover { text-decoration: underline; color: var(--white); }

/* ---------- Employers ("Our Students Work at": Concept C2-b band + Concept E2 carousel; markup generated by scripts/build_employers.py) ----------
   Navy header band (kicker + H2 + lead on the left, counts on the right; stacked at <=1023px) over a decorative
   campus-network canvas (assets/js/network-hero.js, band mode). Below it, the E2 logo carousel.
   Without JS: the chip bar and dots stay hidden and every logo shows in a wrap grid (.emp__grid).
   With JS (main.js initEmployers, adds .is-paged): sector chips + pager (prev / "1 / 7" / next / pause), pages of
   2 fixed rows (9 / 6 / 4 columns), scroll-snap swipe, page dots. The height never depends on the item count:
   every page reserves 2 rows and the pager / dots keep their space (visibility) when there is one page. */
.emp {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.9rem, 3.4vw, 2.6rem) 0;
}
.emp ul { list-style: none; margin: 0; padding: 0; }
.emp picture { display: contents; }

/* band */
.emp__band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 3rem;
  align-items: center;
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem) clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  border-radius: 14px;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}
.emp__band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 26px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.emp__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; border-radius: inherit; }
.emp__net { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.emp__copy { min-width: 0; }
.emp__kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F6D9DA;
}
.emp__kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: #F2A7A9; }
.emp__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 750;
  color: var(--white);
}
.emp__lead { margin: 0.7rem 0 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; color: #E3E9F6; }
.emp__stats { display: flex; flex-direction: column; gap: 0.9rem; padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.emp__stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; font-size: 0.82rem; color: #C9D6F2; white-space: nowrap; }
.emp__stats b { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1; font-weight: 750; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }

/* bar: sector chips (one row, scrolls sideways when it does not fit) + pager */
.emp__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; margin: 1rem 0 0.6rem; }
.emp__bar[hidden] { display: none; }
.emp__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 2px;
  margin: -6px -2px;
}
.emp__chips::-webkit-scrollbar { display: none; }
.emp__chips.is-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.emp__chips[hidden] { display: none; }
.emp__chip {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 34px;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 600 0.76rem/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
/* 44px hit area around the 34px pill on fine pointers (inset from the padding box: 6px - 1px border = 5px each side; the row's 6px padding keeps it unclipped); coarse pointers get a 44px pill */
.emp__chip::after { content: ""; position: absolute; inset: -6px -2px; }
@media (pointer: coarse) { .emp__chip { height: 44px; } .emp__chip::after { content: none; } }
.emp__chip:hover { border-color: var(--navy); color: var(--navy); }
.emp__chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 4px 12px rgba(154, 8, 5, 0.18); }
.emp__n { font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; }
.emp [aria-pressed="true"] .emp__n { color: #F6D9DA; }
.emp__chip:focus-visible { outline: 3px solid rgba(40, 74, 141, 0.45); outline-offset: 2px; }
.emp__ctl { display: flex; align-items: center; gap: 0.3rem; flex: none; }
.emp__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-deep);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.emp__btn svg { display: block; width: 20px; height: 20px; }
.emp__btn--play svg { width: 16px; height: 16px; }
.emp__btn:hover { border-color: var(--navy); color: var(--navy); background: #F5F7FC; }
.emp__btn:focus-visible, .emp__vp:focus-visible, .emp__dot:focus-visible { outline: 3px solid rgba(40, 74, 141, 0.45); outline-offset: 2px; }
.emp__i-play { display: none !important; }
.emp__car.is-user-paused .emp__i-pause { display: none !important; }
.emp__car.is-user-paused .emp__i-play { display: block !important; }
.emp__car.is-static .emp__btn--play { display: none; }
.emp__pg { min-width: 3.6em; text-align: center; font: 600 0.8rem/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
/* one page: controls are hidden but keep their space, so the section height does not change */
.emp__car.is-single .emp__ctl, .emp__car.is-single .emp__dots { visibility: hidden; }

/* logos: no-JS wrap grid.
   Each tile is one white plate. The img is inset 8px and object-fit:contain, so wide
   wordmarks and square marks both show in full. The 9/6/4 carousel columns stay; a
   140px tile would not fit nine-across in the 1160px container, so the plate is the
   column width by 72px (about 120×72 on desktop). */
.emp__grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0.5rem; }
.emp__tile {
  position: relative;
  display: grid;
  height: 72px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.22s var(--ease);
}
.emp__tile.is-featured { background: var(--white); border-color: rgba(40, 74, 141, 0.22); }
.emp__tile.is-featured::after { content: ""; position: absolute; top: 6px; right: 6px; z-index: 1; width: 5px; height: 5px; border-radius: 50%; background: var(--red-bright); }
.emp__a { display: grid; place-items: stretch; width: 100%; height: 100%; min-width: 0; min-height: 0; border-radius: inherit; }
.emp__a:focus-visible { outline: 3px solid rgba(40, 74, 141, 0.45); outline-offset: -3px; }
/* picture is display:contents, so the img is the grid item. Both axes are set (not auto)
   or a replaced image ignores the frame and paints at its file size. */
.emp__img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (hover: hover) {
  .emp__tile:hover {
    transform: translateY(-3px);
    background: var(--white);
    border-color: rgba(40, 74, 141, 0.18);
    box-shadow: 0 14px 28px -12px rgba(26, 50, 104, 0.32), 0 2px 6px rgba(26, 29, 35, 0.05);
  }
}

/* carousel (JS) */
.emp.is-paged .emp__vp {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 6px 0 12px;
  margin: -6px 0 -12px;
  border-radius: 10px;
}
.emp.is-paged .emp__vp::-webkit-scrollbar { display: none; }
.emp.is-paged .emp__grid { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; transition: opacity 0.22s var(--ease); }
.emp.is-paged .emp__vp.is-swap .emp__grid { opacity: 0; }
.emp__page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.emp__pgl { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(2, 72px); gap: 0.5rem; }
.emp__dots { display: flex; justify-content: center; min-height: 44px; margin-top: 0.15rem; }
.emp__dots[hidden] { display: none; }
.emp__dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.emp__dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 6px;
  margin: -3px 0 0 -8px;
  border-radius: 3px;
  background: #8792A2;
  transition: background-color 0.3s var(--ease), width 0.3s var(--ease), margin 0.3s var(--ease);
}
.emp__dot:hover::before { background: var(--navy); }
.emp__dot[aria-current="true"]::before { width: 28px; margin-left: -14px; background: var(--red); }
/* entrance, once, only when JS runs, motion is allowed and the logos start below the fold */
.emp.is-pre-enter .emp__tile { opacity: 0; transform: translateY(10px); }
.emp.is-enter .emp__tile { animation: emp-up 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes emp-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .emp__band { grid-template-columns: 1fr; gap: 1.1rem; }
  .emp__stats { flex-direction: row; gap: 2rem; padding: 0.9rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .emp__grid, .emp__pgl { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .emp__pgl { grid-template-rows: repeat(2, 72px); }
}
@media (max-width: 640px) {
  .emp__band::after { width: 150px; height: 150px; right: -60px; bottom: -70px; border-width: 20px; }
  .emp__lead { font-size: 1rem; line-height: 1.6; }
  .emp__stats b { font-size: 1.6rem; }
  .emp__stats li { flex-direction: row; align-items: baseline; gap: 0.4rem; }
  .emp__bar { flex-direction: column; align-items: stretch; gap: 0.5rem; margin: 0.8rem 0 0.5rem; }
  .emp__ctl { justify-content: space-between; }
  .emp__pg { flex: 1; }
  /* no JS: four per row, a short last row centred */
  .emp__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
  .emp__tile { flex: 0 0 calc((100% - 3 * 0.4rem) / 4); height: 64px; padding: 8px; }
  .emp__pgl { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 64px); gap: 0.4rem; }
  .emp__pgl .emp__tile { height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .emp__chip, .emp__btn, .emp__dot::before, .emp__tile, .emp__img, .emp.is-paged .emp__grid { transition: none !important; }
  .emp.is-pre-enter .emp__tile { opacity: 1; transform: none; }
  .emp.is-enter .emp__tile { animation: none; }
  .emp__tile:hover, .emp__tile:hover .emp__img { transform: none !important; }
  .emp.is-paged .emp__vp { scroll-behavior: auto; }
}

/* ---------- News: "Latest from EIU" (Concept N3, editorial) ----------
   Markup: scripts/build_news.py from landing.json -> news (items[0] = featured, items[1:] = numbered side list).
   Fine navy dot grid + red/navy top rule; featured title over the photo on a navy gradient scrim (AA, >= 4.5:1 at
   every pixel behind the text); side rows with 4:3 thumbnails. Whole card = one link (.story__link::after).
   Motion: the shared scroll reveal (main.js) draws the rule and fades cards in; hover zoom/nudge on hover devices.
   All of it is off under prefers-reduced-motion; without JS everything is simply visible. */
.news {
  position: relative;
  isolation: isolate;
  background: #FAFBFC;
  border-top: 1px solid var(--line);
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}
.news::before {                      /* fine dot grid, fading out toward the centre */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(40, 74, 141, .22) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .25) 55%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .25) 55%, #000 100%);
  pointer-events: none;
}
.news__rule {                        /* red/navy top rule */
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-bright) 0 22%, var(--navy-deep) 22% 100%);
  transform-origin: left center;
}
.has-reveal .news__rule.reveal { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.has-reveal .news__rule.reveal.is-in { transform: none; }

.news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red-bright);
}
.news h2 { margin: 0; font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.news__all {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: var(--red);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.news__all span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news__all .lucide { transition: transform .25s var(--ease); }
.news__all:hover { color: var(--red-bright); }
.news__all:hover .lucide { transform: translateX(3px); }
.news__all:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.news__grid--solo { grid-template-columns: minmax(0, 1fr); }

/* shared card bits */
.news .story { position: relative; color: var(--ink); transform: none; }
.news .story:hover { transform: none; }      /* no card lift in this layout (v2.css .story:hover) */
.story__media { overflow: hidden; background: var(--gray-2); }
.story__media picture, .story__media img { display: block; width: 100%; height: 100%; }
.story__media img { object-fit: cover; transition: transform .6s var(--ease); }
.story__body { min-width: 0; }
.story__cat { margin: 0 0 .45rem; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.story__title { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.story__link { color: inherit; text-decoration: none; }
.story__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.story__link:focus-visible { outline: none; }
.story__link:focus-visible::after { outline: 3px solid var(--navy); outline-offset: 3px; }
.story__go { display: inline-grid; place-items: center; flex: none; transition: transform .25s var(--ease), background-color .25s, color .25s; }

/* featured story: title over the photo */
.story--lead {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 18px 40px rgba(26, 50, 104, .16);
}
.story--lead .story__media { position: absolute; inset: 0; background: var(--navy-deep); }
.story--lead .story__media::after {  /* gradient scrim: transparent top, deep navy behind the text */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 40, 82, 0) 30%, rgba(20, 40, 82, .72) 62%, rgba(16, 30, 64, .94) 100%);
}
.story--lead .story__body {           /* second scrim that grows with the text, so long or wrapped titles stay AA */
  position: relative; z-index: 1; padding: 4rem 5.2rem 1.6rem 1.6rem; color: var(--white);
  background: linear-gradient(180deg, rgba(16, 30, 64, 0) 0, rgba(16, 30, 64, .55) 3rem, rgba(16, 30, 64, .7) 100%);
}
.story--lead.story--noimg .story__body { background: none; }
.story--lead .story__cat [data-field="category"] { display: inline-block; padding: .42rem .7rem; border-radius: 999px; background: var(--red-bright); color: var(--white); line-height: 1; }
.story--lead .story__cat { margin-bottom: .8rem; }
.story--lead .story__title { font-size: clamp(1.35rem, 1rem + 1vw, 1.85rem); color: var(--white); max-width: 22em; text-wrap: balance; }
.story--lead .story__go { position: absolute; z-index: 1; right: 1.6rem; bottom: 1.6rem; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy-deep); }
.story--lead.story--noimg {            /* no photo: navy panel with the dot grid */
  min-height: 300px;
  background:
    radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 70%);
}
.news__grid--solo .story--lead { min-height: 400px; }
.news__grid--solo .story--lead.story--noimg { min-height: 280px; }

/* numbered side list */
.news__list {
  list-style: none;
  margin: 0;
  padding: .35rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(26, 29, 35, .05);
  display: flex;
  flex-direction: column;
}
.story--row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  flex: 1 1 auto;                    /* rows share the featured card's height */
  min-height: 44px;
  border-radius: 12px;
}
.story--row + .story--row { border-top: 1px solid var(--line); }
.story--row .story__media { aspect-ratio: 4 / 3; border-radius: 12px; }
.story--row.story--noimg { grid-template-columns: minmax(0, 1fr) auto; }
.story--row .story__cat { color: var(--red); }
.story__num { color: var(--faint); font-size: .72rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.story__num::after { content: ""; display: inline-block; width: 14px; height: 1px; margin-left: .55rem; vertical-align: middle; background: var(--line-strong); }
.story--row .story__title { font-size: 1.02rem; color: var(--ink); transition: color .2s; }
.story--row .story__go { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); }

@media (hover: hover) {
  .story--lead:hover .story__media img { transform: scale(1.06); }
  .story--lead:hover .story__go { background: var(--red-bright); color: var(--white); }
  .story--row:hover .story__title { color: var(--red); }
  .story--row:hover .story__media img { transform: scale(1.08); }
  .story--row:hover .story__go { transform: translateX(3px); border-color: var(--red-bright); color: var(--red-bright); }
}

@media (max-width: 860px) {
  .news__grid { grid-template-columns: minmax(0, 1fr); }
  .story--lead { min-height: 360px; }
}
@media (max-width: 640px) {
  .news { padding: 2.4rem 0 2.8rem; }
  .story--lead { min-height: 340px; border-radius: 16px; }
  .story--lead .story__body { padding: 3.5rem 1.25rem 4.6rem; }
  .story--lead .story__go { right: 1.25rem; bottom: 1.25rem; }
  .news__list { padding: .2rem 1rem; }
  .story--row { grid-template-columns: 96px minmax(0, 1fr); gap: .85rem; }
  .story--row.story--noimg { grid-template-columns: minmax(0, 1fr); }
  .story--row .story__go { display: none; }
  .story--row .story__title { font-size: .98rem; }
  .story--row .story__cat { letter-spacing: .05em; gap: .2rem .45rem; }
  .story__num::after { width: 10px; margin-left: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .story__media img, .story__go, .news__all .lucide, .story--row .story__title { transition: none !important; }
  .story--lead:hover .story__media img, .story--row:hover .story__media img, .story--row:hover .story__go, .news__all:hover .lucide { transform: none !important; }
  .has-reveal .news__rule.reveal { transform: none; transition: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 2.4rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr 1fr; /* 1 Nov 2026: + "Student Center" column (matches live eiu.ac footer) */
  gap: 1.75rem 1.5rem;
  padding-bottom: 1.8rem;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-blurb {
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.footer-links li + li { margin-top: 0.38rem; }

.footer-links a { font-size: 0.88rem; }

.footer-contact p,
.footer-contact a {
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-contact p + p,
.footer-contact a + a,
.footer-contact p + a,
.footer-contact a + p { display: block; margin-top: 0.28rem; }

.footer-contact__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.05rem;
}

.faq-item { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.faq-item summary {
  cursor: pointer;
  padding: 0.55rem 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--white);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
  margin: 0 0 0.7rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 0.9rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--white);
  color: var(--navy-deep);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) and (min-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1.25fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .primary-nav__list { gap: 0.1rem 0.7rem; }
  .brand__logo { height: 48px; }
  .primary-nav__link,
  .primary-nav__trigger { font-size: 0.8125rem; }
  .hero__grid { grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) 112px; }
  .hero__photo, .hero__paris { height: 300px; }
  .pathway-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 979px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .brand { order: 1; }
  .header-cluster { order: 2; margin-left: auto; flex-direction: row; align-items: center; }
  .utility { display: none; }
  .site-header__inner { min-height: 70px; }

  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 260;
    background: var(--white);
    padding: 5.2rem 1.25rem 2rem;
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
  }

  .primary-nav.is-open { display: flex; }

  .mobile-utility {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav__link,
  .primary-nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0.1rem;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .mega-panel { display: none !important; }

  .mobile-accordion { display: none; padding: 0 0 0.4rem; }

  .primary-nav__item--mega.is-open > .mobile-accordion { display: block !important; }

  .brand, .nav-toggle, .header-apply { position: relative; z-index: 280; }

  .hero__grid {
    grid-template-columns: 1fr 96px;
    gap: 0.75rem;
    padding-top: 1.35rem;
  }

  .hero__copy { grid-column: 1 / -1; }
  .hero__photo, .hero__paris { height: 230px; }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }

  .community__grid { grid-template-columns: 1fr; padding-block: 2rem; }
  .community h2 { max-width: 16em; }
  .collage { grid-template-rows: 200px 150px; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 0; }
  .stats__item:nth-child(odd) { border-left: 0; }
  .stats__item:nth-child(3),
  .stats__item:nth-child(4) { margin-top: 0.35rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .header-apply span.header-apply__long { display: none; }
  .pathway-grid { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr 72px; }
  .hero__photo, .hero__paris { height: 180px; }
  .stats { padding-block: 2.4rem; }
  .stats__motto { letter-spacing: 0.08em; font-size: 0.66rem; }
  .programmes { padding-block: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; }
  .collage { grid-template-columns: 1fr 0.85fr; grid-template-rows: 180px 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
