/* MTC online campus home page. */

.mtc-home-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mtc-gold, #C8811B); margin: 0 0 14px;
}
.mtc-home-eyebrow--dark { color: var(--mtc-purple, #6B2B8F); }

.mtc-button--lg { padding: 15px 26px; font-size: 16px; }
.mtc-button--gold, .mtc-lms a.mtc-button--gold {
  background: var(--mtc-gold, #C8811B); border-color: var(--mtc-gold, #C8811B); color: #24160A;
}
.mtc-button--gold:hover, .mtc-lms a.mtc-button--gold:hover { background: #B0710F; border-color: #B0710F; color: #1b1006; }
.mtc-button--outline, .mtc-lms a.mtc-button--outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.mtc-button--outline:hover, .mtc-lms a.mtc-button--outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- hero ---------- */
.mtc-home-hero { position: relative; overflow: hidden; background: var(--mtc-plum, #3D0B60); color: #fff; }
.mtc-home-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(160,70,205,.55), transparent 62%),
    radial-gradient(760px 460px at 88% 92%, rgba(200,129,27,.30), transparent 60%),
    linear-gradient(158deg, #2A0743 0%, #4A1173 52%, #6B2B8F 100%);
}
.mtc-home-hero-inner {
  position: relative; display: grid;
  /* The right column carries the college artwork, whose own lettering has to
     stay readable, so the hero runs wider than the standard shell and gives
     the image the larger share. */
  max-width: 1340px;
  grid-template-columns: 1fr 1.18fr;
  gap: 48px; align-items: center; padding-top: 74px; padding-bottom: 78px;
}
.mtc-home-hero h1 {
  color: #fff; margin: 0 0 20px;
  font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.02em; font-weight: 800;
}
.mtc-home-hero h1 span { color: var(--mtc-gold, #C8811B); }
.mtc-home-lead { margin: 0 0 30px; font-size: 17.5px; line-height: 1.65; opacity: .92; max-width: 52ch; }
.mtc-home-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mtc-home-hint { margin: 16px 0 0; font-size: 13.5px; opacity: .72; }

.mtc-home-hero-media { position: relative; }
.mtc-accred-badge {
  position: absolute; left: -22px; bottom: -22px;
  background: #fff; color: var(--mtc-plum, #3D0B60);
  border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
}
.mtc-accred-badge img { width: 44px; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.mtc-accred-badge span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: var(--mtc-muted, #675C70); }
.mtc-accred-badge strong { font-size: 13.5px; color: var(--mtc-plum, #3D0B60); }

/* ---------- sections ---------- */
.mtc-home-section { padding: 74px 0; }
.mtc-home-head { max-width: 62ch; margin: 0 0 38px; }
.mtc-home-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; color: var(--mtc-plum, #3D0B60); letter-spacing: -.015em; }
.mtc-home-head p { margin: 0; color: var(--mtc-muted, #675C70); font-size: 16.5px; line-height: 1.65; }
.mtc-home-more { margin: 32px 0 0; }

/* stats */
.mtc-home-stats { background: var(--mtc-purple-soft, #F4EDF9); padding: 34px 0; }
.mtc-home-stats ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center;
}
.mtc-home-stats strong {
  display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 800;
  color: var(--mtc-plum, #3D0B60); line-height: 1; font-variant-numeric: tabular-nums;
}
.mtc-home-stats span { display: block; margin-top: 7px; font-size: 13.5px; color: var(--mtc-muted, #675C70); }

/* staff */
.mtc-staff-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.mtc-staff-strip li {
  width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  background: var(--mtc-purple-soft, #F4EDF9); border: 3px solid var(--mtc-surface, #fff);
  box-shadow: 0 8px 22px -10px rgba(61,11,96,.4); flex: 0 0 auto;
}
.mtc-staff-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ---------- login band ---------- */
.mtc-home-login {
  background: linear-gradient(150deg, #2A0743 0%, #57217A 58%, #6B2B8F 100%);
  color: #fff;
}
.mtc-login-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.mtc-login-copy h2 { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.14; }
.mtc-login-copy p { color: rgba(255,255,255,.88); font-size: 16.5px; line-height: 1.65; margin: 0 0 26px; max-width: 46ch; }

.mtc-role-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mtc-role-list li {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.17);
  border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 5px;
}
.mtc-role-list strong { font-size: 15px; color: var(--mtc-gold, #C8811B); }
.mtc-role-list span { font-size: 14.5px; color: rgba(255,255,255,.84); line-height: 1.55; }

.mtc-home-note { margin: 34px 0 0; font-size: 14px; color: rgba(255,255,255,.72); max-width: 70ch; }
.mtc-home-note a { color: #fff; }

/* apply band */
.mtc-home-apply { background: var(--mtc-surface, #fff); border-top: 1px solid var(--mtc-line, #E5DEEA); }
.mtc-apply-inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.mtc-apply-inner h2 { margin: 0 0 8px; font-size: clamp(22px, 2.8vw, 30px); color: var(--mtc-plum, #3D0B60); }
.mtc-apply-inner p { margin: 0; color: var(--mtc-muted, #675C70); max-width: 56ch; font-size: 16px; }
.mtc-apply-inner .mtc-button { gap: 9px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .mtc-home-hero-inner { grid-template-columns: 1fr; gap: 42px; padding-top: 54px; padding-bottom: 58px; }
  .mtc-video-grid { grid-template-columns: 1fr; gap: 30px; }
  .mtc-login-panel { grid-template-columns: 1fr; gap: 32px; }
  .mtc-accred-badge { left: auto; right: 14px; bottom: -18px; }
}
@media (max-width: 640px) {
  .mtc-home-section { padding: 52px 0; }
  .mtc-home-cta .mtc-button { flex: 1 1 100%; justify-content: center; }
  .mtc-staff-strip li { width: 78px; height: 78px; }
  .mtc-accred-badge { position: static; margin-top: 14px; display: inline-flex; }
  .mtc-apply-inner .mtc-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .mtc-home-hero-bg { background-attachment: scroll; } }
/* ---------- full-width college banner ---------- */
.mtc-home-band {
  padding: 0;
  background: #10021F;
  /* The artwork's own top and bottom edges are near-black purple, so it meets
     this ground cleanly; the sides only show past its natural 1672px width. */
  background-image: linear-gradient(180deg, #0E0125 0%, #1A0433 50%, #040015 100%);
  display: flex; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mtc-home-band img {
  /* The optimiser serves this at 1600px, so cap it there rather than
     upscaling on very wide screens. */
  display: block; width: 100%; max-width: 1600px; height: auto;
}
/* ---------- hero video ---------- */
.mtc-hero-video {
  width: 100%; height: auto; aspect-ratio: 16 / 9; display: block;
  border-radius: 18px; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.75); background: #000;
  object-fit: contain;
}


/* ---------- hero slider ---------- */
.mtc-home-hero-slides { position: absolute; inset: 0; z-index: 0; }
.mtc-home-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.1s ease;
}
.mtc-home-hero-slide.is-active { opacity: 1; }

/* the plum wash drops to half strength so the photographs stay visible */
.mtc-home-hero-bg { z-index: 1; opacity: .5; }

/* a little extra shade under the wording only, so white text stays readable */
.mtc-home-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(26,4,44,.62) 0%, rgba(26,4,44,.44) 38%, rgba(26,4,44,.10) 68%, rgba(26,4,44,0) 100%);
}
.mtc-home-hero-inner { z-index: 2; }

/* all three copy blocks share one grid cell, so the hero never jumps height */
.mtc-home-hero-copy-stack { display: grid; }
.mtc-home-hero-copy {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease, visibility 0s linear .55s;
}
.mtc-home-hero-copy.is-active {
  opacity: 1; visibility: visible;
  transition: opacity .55s ease, visibility 0s;
}

.mtc-home-hero-dots { display: flex; gap: 10px; margin-top: 24px; }
.mtc-home-hero-dot {
  width: 30px; height: 5px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.38); cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.mtc-home-hero-dot:hover { background: rgba(255,255,255,.65); }
.mtc-home-hero-dot.is-active { background: var(--mtc-gold, #C8811B); width: 46px; }
.mtc-home-hero-dot:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@media (max-width: 900px) {
  /* the copy sits over the middle of the photo on narrow screens */
  .mtc-home-hero-scrim {
    background: linear-gradient(180deg, rgba(26,4,44,.58) 0%, rgba(26,4,44,.66) 60%, rgba(26,4,44,.72) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtc-home-hero-slide, .mtc-home-hero-copy { transition: none; }
}
.mtc-home-hero h1,
.mtc-home-hero .mtc-home-lead,
.mtc-home-hero .mtc-home-eyebrow { text-shadow: 0 2px 14px rgba(12,2,22,.55); }

/* One stat is a registration number rather than a count, so it is set a
   little smaller and kept on one line instead of wrapping mid-phrase. */
.mtc-home-stats strong.mtc-stat-text{font-size:clamp(19px,2.4vw,26px);white-space:nowrap;letter-spacing:.2px}

/* Catalogue hero -------------------------------------------------------- */
/* Same hero as the home page, but with no body copy it needs less height. */
.mtc-home-hero--page{min-height:0}
.mtc-home-hero--page .mtc-home-hero-inner{padding-top:54px;padding-bottom:54px}
.mtc-home-hero--page h1{font-size:clamp(30px,4.4vw,50px);line-height:1.12;margin:0 0 22px;color:#fff}
/* YouTube sits where the home page keeps its own video file. */
.mtc-hero-embed{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;
  background:#000;box-shadow:0 18px 44px rgba(0,0,0,.34)}
.mtc-hero-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mtc-hero-embed-link{margin:10px 0 0;text-align:right;font-size:13.5px}
.mtc-hero-embed-link a{display:inline-flex;align-items:center;gap:6px;color:#fff;text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.5);padding-bottom:1px}
.mtc-hero-embed-link a:hover,.mtc-hero-embed-link a:focus{border-bottom-color:#fff}
@media(max-width:900px){.mtc-hero-embed-link{text-align:left}}
