/* ==========================================================================
   home.css — home page only (shared sections live in sections.css) (Nov 2026 redesign after alterainstitute.com, black & yellow).
   Order: hero · notices · video panel · logo grid · placements · programmes ·
   pillars · principal band · campus · voices · apply · visit.
   .t-dark marks a dark block so shared heading/eyebrow styles switch to yellow-on-black.
   ========================================================================== */

.h-btn-block { width: 100%; }

/* Two-line section titles: the bold part drops to its own line, as on Altera */
.page-home .section-title em, .page-home .h-pillar__title em { display: block; width: fit-content; }
.page-home .section-head--center .section-title em { margin-inline: auto; }
.page-home .section-head { margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }

/* Hero: full-photo slider, one heading + one line per slide -------------------- */
.h-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-ink); display: flex; align-items: center; min-height: min(88vh, 46rem); }
.h-hero__slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.h-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1s ease; }
.h-slide.is-active { opacity: 1; }
.h-slide picture, .h-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.h-slide.is-active img { animation: hero-zoom 7s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.h-hero__slides::after {
  content: ""; position: absolute; inset: -1px; z-index: 1;
  background:
    linear-gradient(90deg, rgb(11 11 11 / 0.9) 0%, rgb(11 11 11 / 0.65) 40%, rgb(11 11 11 / 0.15) 75%, rgb(11 11 11 / 0.25) 100%),
    linear-gradient(0deg, rgb(11 11 11 / 0.7) 0%, transparent 35%);
}
.h-hero__inner { width: 100%; display: grid; gap: 2.5rem; align-items: end; padding-block: clamp(3rem, 2rem + 5vw, 6rem) 2.5rem; }
@media (min-width: 74em) { .h-hero__inner { grid-template-columns: minmax(0, 1fr) 23rem; } }
.h-hero__copy { display: grid; }
.h-hero__text { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s 0.6s; }
.h-hero__text.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.25s, 0.25s, 0s; }
.h-hero__title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; max-width: 18ch; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }
.h-hero__title em { color: var(--c-accent); }
.h-hero__lead { font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); max-width: 48ch; margin-top: 1.1rem; color: rgb(255 255 255 / 0.88); }
.h-hero__nav { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.25rem; }
.h-hero__arrow { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.35); background: rgb(11 11 11 / 0.35); color: #fff; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.h-hero__arrow:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }
.h-hero__arrow .icon { width: 1.1rem; height: 1.1rem; }
.h-hero__arrow[data-hero-prev] .icon { transform: rotate(180deg); }
.h-hero__dots { display: flex; gap: 0.45rem; }
.h-hero__dot { width: 0.6rem; height: 0.6rem; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.45); cursor: pointer; transition: width 0.3s, background-color 0.3s; }
.h-hero__dot.is-active { width: 1.8rem; background: var(--c-accent); }
.h-hero__nav:not(.is-ready) { display: none; }

.h-hero__card { align-self: end; background: rgb(11 11 11 / 0.45); border: 1px solid rgb(255 255 255 / 0.14); backdrop-filter: blur(14px); border-radius: var(--radius-lg); padding: 1.6rem; }
.h-hero__card-kicker { font-family: var(--font-head); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); }
.h-hero__card h2 { font-size: 1.5rem; margin-top: 0.35rem; }
.h-hero__card p { font-size: 0.95rem; margin: 0.55rem 0 1.2rem; }
.h-hero__card h2 em { color: var(--c-accent); font-style: normal; }
.h-hero__drives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.h-hero__drives li { min-width: 0; overflow: hidden; aspect-ratio: 17 / 10; padding: 0.2rem; border-radius: 0.55rem; background: #fff; }
.h-hero__drives img { display: block; width: 100%; height: 100%; object-fit: contain; }
.h-hero__card-link { display: flex; align-items: center; justify-content: center; gap: 0.4rem; text-align: center; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; text-decoration: none; opacity: 0.8; }
.h-hero__card-link:hover { opacity: 1; }

/* Facts bar under the hero: numbers + approvals (black, opposite the yellow notices) */
.h-facts { background: var(--c-ink); border-top: 1px solid rgb(255 255 255 / 0.1); }
.h-facts__inner { display: grid; gap: 1.5rem; padding-block: 1.6rem; }
.h-facts__nums { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; list-style: none; padding: 0; }
.h-facts__nums li, .h-facts__nums a { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; }
.h-facts__nums b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--c-accent); }
.h-facts__nums span { font-size: 0.85rem; line-height: 1.3; color: rgb(255 255 255 / 0.75); max-width: 11ch; }
.h-facts__nums .stars { display: block; font-size: 0.75rem; letter-spacing: 0.05em; }
.h-facts .h-strip { padding: 0; border-top: 0; }
.h-facts__nums { justify-content: space-around; padding-bottom: 1.4rem; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.h-facts__nums span { max-width: none; }
.h-facts .h-strip { gap: 1.25rem 2rem; }
.h-facts .h-strip li { min-width: 0; }
@media (min-width: 40em) and (max-width: 73.99em) { .h-facts .h-strip { grid-template-columns: repeat(2, 1fr); } }

/* Approvals list (inside the facts bar) */
.h-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 1.5rem 0 0; border-top: 1px solid rgb(255 255 255 / 0.12); }
.h-strip li { display: flex; align-items: center; gap: 0.8rem; }
.h-strip__icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgb(255 199 39 / 0.14); color: var(--c-accent); }
.h-strip__icon .icon { width: 1.2rem; height: 1.2rem; }
.h-strip b { display: block; font-family: var(--font-head); font-size: 0.92rem; color: #fff; }
.h-strip div span { display: block; font-size: 0.8rem; color: rgb(255 255 255 / 0.6); line-height: 1.4; }

/* Notice strip -------------------------------------------------------------- */
.notice-strip { background: var(--c-accent); font-size: 0.9375rem; color: var(--c-ink); }
.notice-strip__inner { display: flex; align-items: center; gap: 1rem; min-height: 3.25rem; }
.notice-strip__label { display: inline-flex; align-items: center; gap: 0.4rem; flex: none; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--c-ink); color: var(--c-accent); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; }
.notice-strip__label .icon { width: 1rem; height: 1rem; }
.notice-strip__list { display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; flex: 1; mask-image: linear-gradient(90deg, #000 90%, transparent); }
.notice-strip__list::-webkit-scrollbar { display: none; }
.notice-strip__list a { display: inline-flex; gap: 0.6rem; white-space: nowrap; text-decoration: none; font-weight: 500; }
.notice-strip__list a:hover { text-decoration: underline; }
.notice-strip__list time { font-weight: 800; font-variant-numeric: tabular-nums; }
.notice-strip__all { display: inline-flex; align-items: center; gap: 0.3rem; flex: none; font-weight: 700; text-decoration: none; }
@media (max-width: 47.99em) { .notice-strip__all { display: none; } }

/* Video panel (Altera's "The traditional MBA is outdated") ------------------- */
.h-panel {
  display: grid; gap: 2rem; align-items: center; overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg);
  background: radial-gradient(40rem 22rem at 100% 0%, rgb(255 199 39 / 0.16), transparent 60%), var(--c-ink);
}
@media (min-width: 64em) { .h-panel { grid-template-columns: 1fr 1.05fr; gap: 3rem; } }
.h-panel__copy > * + * { margin-top: 1rem; }
.h-panel__copy a { text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; font-weight: 600; }
.h-panel__list { display: grid; gap: 1rem; list-style: none; padding: 0; margin-top: 1.5rem !important; }
.h-panel__list li { display: flex; gap: 0.9rem; }
.h-panel__list h3 { font-size: 1.02rem; color: #fff; }
.h-panel__list p { font-size: 0.93rem; margin-top: 0.2rem; }
.h-panel__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgb(255 255 255 / 0.1); aspect-ratio: 4 / 3.4; }
.h-panel__photo picture, .h-panel__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (min-width: 64em) { .h-panel__photo { aspect-ratio: 1 / 1; } }

/* BSCC banner spacing on home */
.page-home .bscc { padding-block: 0 clamp(3.5rem, 2.5rem + 3.5vw, 6rem); }

/* Programmes: photo cards with a pill link ----------------------------------- */
.h-programs { background: linear-gradient(180deg, #fff 30%, var(--c-bg-soft)); }
.h-programs .section-head { margin-bottom: 1.5rem; }
.h-tabs { display: flex; justify-content: center; gap: 0.35rem; width: fit-content; margin: 0 auto 2rem; padding: 0.35rem; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; }
.h-tab { padding: 0.55rem 1.2rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--c-muted); transition: background-color 0.2s, color 0.2s; }
.h-tab:hover { color: var(--c-ink); }
.h-tab.is-active { background: var(--c-ink); color: var(--c-accent); }
.h-progs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; list-style: none; padding: 0; }
.h-prog { position: relative; display: flex; flex-direction: column; padding: 0.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: 0 2px 10px -6px rgb(0 0 0 / 0.15); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.h-prog:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.h-prog[hidden] { display: none; }
.h-prog__photo { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 16 / 8; background: var(--c-bg-soft); }
.h-prog__photo picture, .h-prog__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 0.6s var(--ease); }
.h-prog:hover .h-prog__photo img { transform: scale(1.04); }
.h-prog__tag { position: absolute; left: 0.75rem; top: 0.75rem; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--c-ink); color: var(--c-accent); }
.h-prog__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 0.75rem 0.5rem; }
.h-prog h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.h-prog__code { font-weight: 800; }
.h-prog p { color: var(--c-muted); font-size: 0.95rem; margin-top: 0.4rem; }
.h-prog__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1rem 0 1.25rem; font-size: 0.875rem; font-weight: 600; }
.h-prog__facts div { display: flex; align-items: center; gap: 0.4rem; }
.h-prog__facts .icon { width: 1rem; height: 1rem; }
.h-prog__facts dd { margin: 0; }
.h-prog__link {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.45rem 0.45rem 0.45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--c-accent); background: var(--c-accent-soft);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--c-ink);
}
.h-prog__link::after { content: ""; position: absolute; inset: 0; }
.h-prog__arrow { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--c-ink); color: var(--c-accent); transition: transform 0.25s var(--ease); }
.h-prog__arrow .icon { width: 1rem; height: 1rem; transform: rotate(-45deg); }
.h-prog:hover .h-prog__arrow { transform: rotate(45deg); }

/* Why Vestor: feature row + numbered pillars --------------------------------- */
.h-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin-bottom: 2rem; }
.h-features li { padding: 1.4rem; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; }
.h-features h3 { font-size: 1.05rem; margin-top: 1rem; }
.h-features p { color: var(--c-muted); font-size: 0.93rem; margin-top: 0.35rem; }

.h-pillar {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg);
  background: radial-gradient(42rem 24rem at 0% 0%, rgb(255 199 39 / 0.12), transparent 60%), var(--c-ink);
}
.h-pillar + .h-pillar { margin-top: 1.5rem; }
.h-pillar__top { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 64em) { .h-pillar__top { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.h-pillar__copy > * + * { margin-top: 0.9rem; }
.h-pillar__num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.6rem; background: var(--c-accent); color: var(--c-ink); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.h-pillar__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.h-pillar__title em { color: rgb(255 255 255 / 0.55); font-weight: 400; }
.h-pillar__copy a { text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; font-weight: 600; }
.h-pillar__points { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin-top: 1.25rem !important; }
.h-pillar__points li { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--c-ink-2); border: 1px solid var(--c-line-dark); color: rgb(255 255 255 / 0.8); }
.h-pillar__points b { color: var(--c-accent); }
.h-pillar__media { position: relative; }
.h-pillar__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.h-pillar__media--small .h-pillar__photo { aspect-ratio: 16 / 7; }
.h-pillar__photo picture, .h-pillar__photo img { width: 100%; height: 100%; object-fit: cover; }
.h-pillar__badge { position: absolute; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.7rem; max-width: 15rem; padding: 0.75rem 1rem; border-radius: var(--radius); background: var(--c-accent); color: var(--c-ink) !important; text-decoration: none; }
.h-pillar__badge b { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.h-pillar__badge > span { font-size: 0.78rem; font-weight: 600; line-height: 1.3; }

.h-pillar__photo--certs img { object-position: 50% 40%; }
/* Principal band (Altera's "Get your profile reviewed") ---------------------- */
.h-band { background: var(--c-ink); }
.h-band__grid { display: grid; gap: 2.5rem; align-items: end; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 60em) { .h-band__grid { grid-template-columns: 0.7fr 1.3fr; gap: 4rem; align-items: center; } }
.h-band__photo { max-width: 22rem; margin-inline: auto; align-self: end; }
.h-band__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.h-band__content { padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.h-band__quote { margin-top: 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--c-accent); font-size: var(--fs-500); }
.h-band__quote p + p { margin-top: 1rem; }
.h-band__quote strong { color: #fff; }
.h-band__sign { display: grid; margin-top: 1.5rem; }
.h-band__sign strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; }
.h-band__sign span { color: var(--c-accent); font-size: var(--fs-300); font-weight: 600; }

/* Admissions: photo background + form card (Altera's closing CTA) ----------- */
.h-apply { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 3.5vw, 6rem); background: var(--c-ink); }
.h-apply__media { position: absolute; inset: 0; z-index: -1; }
.h-apply__media picture, .h-apply__media img { width: 100%; height: 100%; object-fit: cover; }
.h-apply__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 11 11 / 0.95) 0%, rgb(11 11 11 / 0.85) 50%, rgb(11 11 11 / 0.7) 100%); }
.h-apply__grid { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: start; }
@media (min-width: 64em) { .h-apply__grid { grid-template-columns: 1.1fr 0.9fr; } }
.h-steps { counter-reset: step; display: grid; margin-top: 2rem; list-style: none; padding: 0; }
.h-steps li { counter-increment: step; position: relative; display: grid; gap: 0.2rem; padding: 1.1rem 0 1.1rem 3.75rem; border-top: 1px solid rgb(255 255 255 / 0.12); }
.h-steps li::before { content: counter(step); position: absolute; left: 0; top: 1.1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; background: var(--c-accent); color: var(--c-ink); font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; }
.h-steps b { font-family: var(--font-head); font-size: 1.08rem; color: #fff; }
.h-steps span { color: rgb(255 255 255 / 0.72); font-size: 0.95rem; }
.h-apply__docs { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; }
.h-apply__docs a { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-head); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-accent); padding-bottom: 0.1rem; }
.h-apply__docs a:hover { color: var(--c-accent) !important; }

.h-form { display: grid; gap: 1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-lg); background: #fff; color: var(--c-text); box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.7); }
.h-form h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.h-form__note { font-size: 0.875rem; color: var(--c-muted) !important; margin-top: -0.5rem; }
.h-form label { display: grid; gap: 0.35rem; font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--c-ink); }
.h-form input, .h-form select { border-radius: 0.65rem; font-weight: 500; }
.h-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%); background-position: calc(100% - 1.35rem) 50%, calc(100% - 1rem) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.h-form [aria-invalid="true"] { border-color: #d92d20; }

/* Visit --------------------------------------------------------------------- */
.visit { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60em) { .visit { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 73.99em) {
  .h-features { grid-template-columns: repeat(2, 1fr); }
  .h-hero__slides::after { background: linear-gradient(90deg, rgb(11 11 11 / 0.88) 0%, rgb(11 11 11 / 0.55) 70%, rgb(11 11 11 / 0.35) 100%), linear-gradient(0deg, rgb(11 11 11 / 0.8) 0%, transparent 45%); }
}
@media (max-width: 59.99em) {
  .h-strip { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
  .h-progs { grid-template-columns: 1fr; }
}
@media (max-width: 39.99em) {
  /* phones: the photo is a band on top, the text starts where it fades into black */
  .h-hero { min-height: 0; }
  .h-hero__slides { inset: 0 0 auto; height: 78vw; }
  .h-hero__slides::after { background: linear-gradient(180deg, transparent 0%, transparent 35%, rgb(11 11 11 / 0.55) 60%, rgb(11 11 11 / 0.9) 85%, var(--c-ink) 97%); }
  .h-hero__inner { padding-top: calc(78vw - 5.5rem); }
  .h-facts__nums b { font-size: 1.6rem; }
  .h-strip { grid-template-columns: 1fr; }
  .h-features { grid-template-columns: 1fr; }
  .h-tabs { width: 100%; }
  .h-tab { flex: 1; padding-inline: 0.5rem; white-space: nowrap; font-size: 0.82rem; }
  .h-pillar__badge { position: static; margin-top: 0.75rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) { .h-slide.is-active img { animation: none; } }
