/* ==========================================================================
   MCC Foundation — Homepage (2026 redesign)
   Scoped with the `hp-` prefix so it never collides with main.css.
   ========================================================================== */
.hp {
  --hp-bg: #0b0c10;
  --hp-surface: #12141a;
  --hp-surface-2: #181b23;
  --hp-line: rgba(255, 255, 255, 0.08);
  --hp-line-strong: rgba(255, 255, 255, 0.14);
  --hp-text: #f1f5f9;
  --hp-muted: #9aa5b5;
  --hp-green: #22c55e;
  --hp-green-soft: rgba(34, 197, 94, 0.12);
  --hp-amber: #f5b942;
  --hp-amber-soft: rgba(245, 185, 66, 0.12);
  --hp-radius: 20px;
  --hp-radius-lg: 28px;
  --hp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--hp-text);
  overflow-x: clip;
}

.hp img { border-radius: 0; }
.hp section { position: relative; }
.hp-section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.hp-section--tint { background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.03)); border-block: 1px solid var(--hp-line); }

/* ---------- Shared type ---------- */
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hp-green); margin-bottom: 1rem;
}
.hp-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hp-eyebrow--amber { color: var(--hp-amber); }
.hp-h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -0.035em;
  margin-bottom: 1.1rem; text-wrap: balance;
}
.hp-lead { color: var(--hp-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 62ch; }
.hp-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.hp-head--center { text-align: center; }
.hp-head--center .hp-lead { margin-inline: auto; }
.hp-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.hp-green { color: var(--hp-green); }
.hp-amber { color: var(--hp-amber); }

/* ---------- Buttons (extend main.css .btn) ---------- */
.hp .btn { white-space: nowrap; }
.hp-btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 600;
  border: 1px solid var(--hp-line-strong); color: var(--hp-text); background: rgba(255,255,255,0.03);
  transition: background .25s, border-color .25s, transform .25s var(--hp-ease);
}
.hp-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.hp-link { color: var(--hp-green); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.hp-link:hover { gap: 0.7rem; }

/* ---------- Reveal animation ---------- */
.hp [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--hp-ease), transform .8s var(--hp-ease); }
.hp [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hp [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hp-marquee__track { animation: none !important; }
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hp-hero { padding: clamp(7.5rem, 14vw, 10rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(34,197,94,0.14), transparent 70%),
    radial-gradient(40% 40% at 90% 70%, rgba(245,185,66,0.08), transparent 70%);
}
.hp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--hp-line) 1px, transparent 1px), linear-gradient(90deg, var(--hp-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 30% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000 30%, transparent 80%);
}
.hp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hp-rebrand {
  display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--hp-line-strong);
  font-size: 0.85rem; color: var(--hp-muted); margin-bottom: 1.6rem;
}
.hp-rebrand__tag { background: var(--hp-amber); color: #1a1205; font-weight: 700; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; }
.hp-rebrand s { text-decoration-color: rgba(245,185,66,.7); }
.hp-rebrand strong { color: var(--hp-text); font-weight: 600; }
.hp-hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 1.5rem; text-wrap: balance;
}
.hp-hero h1 em { font-style: normal; white-space: nowrap; background: linear-gradient(120deg, #4ade80, #22c55e 45%, #a3e635); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hp-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--hp-muted); max-width: 56ch; margin-bottom: 2.2rem; }
.hp-hero__sub strong { color: var(--hp-text); font-weight: 600; }
.hp-hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hp-hero__meta { display: flex; gap: 1.4rem 2rem; flex-wrap: wrap; color: var(--hp-muted); font-size: 0.92rem; }
.hp-hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hp-hero__meta i { color: var(--hp-green); font-size: 1.15rem; }
.hp-hero__meta a { color: var(--hp-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }

/* Phone-frame video */
.hp-phone { position: relative; justify-self: center; width: min(100%, 330px); }
.hp-phone__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000;
  border: 1px solid var(--hp-line-strong);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 8px rgba(255,255,255,0.03), 0 0 80px -10px rgba(34,197,94,.25);
}
.hp-phone__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; transition: opacity .8s ease; }
.hp-phone__frame.is-playing .hp-phone__poster { opacity: 0; pointer-events: none; }
.hp-phone__yt { position: absolute; inset: 0; }
/* Shorts embeds letterbox slightly; scale up a touch so the video fills the rounded frame */
.hp-phone__yt iframe { position: absolute; top: 50%; left: 50%; width: 112%; height: 112%; transform: translate(-50%, -50%); border: 0; }
/* transparent layer: stops clicks from pausing the background video or opening YouTube */
.hp-phone__shield { position: absolute; inset: 0; z-index: 1; }
.hp-phone__sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.55); color: #fff; font-size: 1.2rem;
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px);
}
.hp-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 1rem; border-radius: 16px;
  background: rgba(18,20,26,.85); border: 1px solid var(--hp-line-strong); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); font-size: 0.85rem; line-height: 1.3; white-space: nowrap;
}
.hp-float i { font-size: 1.5rem; }
.hp-float b { display: block; font-size: 1.05rem; color: #fff; }
.hp-float span { color: var(--hp-muted); }
.hp-float--a { left: -38%; top: 14%; }
.hp-float--a i { color: var(--hp-green); }
.hp-float--b { right: -26%; bottom: 16%; }
.hp-float--b i { color: var(--hp-amber); }

/* ==========================================================================
   2. IMPACT STRIP
   ========================================================================== */
.hp-impact { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.hp-impact__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg); background: var(--hp-surface); overflow: hidden;
}
.hp-stat { padding: clamp(1.4rem, 3vw, 2.2rem); border-right: 1px solid var(--hp-line); }
.hp-stat:last-child { border-right: 0; }
.hp-stat__num { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hp-stat__num small { font-size: 0.55em; color: var(--hp-green); margin-left: 2px; }
.hp-stat__label { margin-top: 0.6rem; color: var(--hp-muted); font-size: 0.92rem; line-height: 1.45; }

/* ==========================================================================
   3. JOURNEY (Mumbai Coding Club → MCC Foundation)
   ========================================================================== */
.hp-journey__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hp-journey__media { position: sticky; top: 110px; }
.hp-photo { border-radius: var(--hp-radius-lg); overflow: hidden; border: 1px solid var(--hp-line); background: var(--hp-surface); }
.hp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-journey__photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.hp-journey__photos .hp-photo:first-child { grid-row: span 2; aspect-ratio: 3/4.4; }
.hp-journey__photos .hp-photo:not(:first-child) { aspect-ratio: 1/1; }
.hp-quote-card {
  margin-top: 1rem; padding: 1.4rem 1.5rem; border-radius: var(--hp-radius);
  background: var(--hp-amber-soft); border: 1px solid rgba(245,185,66,.25);
}
.hp-quote-card p { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; line-height: 1.4; }
.hp-quote-card span { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--hp-amber); }

.hp-timeline { list-style: none; padding: 0; margin: 2.5rem 0 0; position: relative; }
.hp-timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--hp-amber), var(--hp-green) 60%, rgba(34,197,94,.1)); }
.hp-timeline li { position: relative; padding: 0 0 2rem 3.25rem; }
.hp-timeline li:last-child { padding-bottom: 0; }
.hp-timeline__dot {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.95rem; background: var(--hp-bg); border: 2px solid var(--hp-green); color: var(--hp-green);
}
.hp-timeline li.is-legacy .hp-timeline__dot { border-color: var(--hp-amber); color: var(--hp-amber); }
.hp-timeline li.is-future .hp-timeline__dot { border-style: dashed; }
.hp-timeline__when { font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-muted); }
.hp-timeline h3 { font-size: 1.2rem; margin: 0.25rem 0 0.4rem; letter-spacing: -0.02em; }
.hp-timeline p { color: var(--hp-muted); font-size: 0.97rem; line-height: 1.65; }

/* ==========================================================================
   4. MISSION / VISION / VALUES
   ========================================================================== */
.hp-mv { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.hp-tile {
  border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface);
  padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden;
}
.hp-tile__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.4rem; background: var(--hp-green-soft); color: var(--hp-green); }
.hp-tile h3 { font-size: 1.35rem; margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.hp-tile p { color: var(--hp-muted); line-height: 1.7; }
.hp-tile--mission { grid-column: span 7; background: linear-gradient(140deg, rgba(34,197,94,.14), rgba(34,197,94,.02) 55%), var(--hp-surface); border-color: rgba(34,197,94,.25); }
.hp-tile--mission p { font-size: 1.1rem; color: #d4dbe5; }
.hp-tile--vision { grid-column: span 5; }
.hp-tile--vision .hp-big { font-family: var(--font-heading); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--hp-amber); margin: 0.4rem 0 0.6rem; }
.hp-tile--value { grid-column: span 4; }
.hp-tile--value .hp-tile__icon { background: rgba(255,255,255,.05); color: #fff; }

/* ==========================================================================
   5. PROGRAMS
   ========================================================================== */
.hp-flagship {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  border-radius: var(--hp-radius-lg); border: 1px solid rgba(34,197,94,.3); overflow: hidden;
  background: linear-gradient(160deg, rgba(34,197,94,.09), transparent 45%), var(--hp-surface);
}
.hp-flagship__body { padding: clamp(1.6rem, 4vw, 3rem); }
.hp-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.hp-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--hp-green-soft); color: var(--hp-green); border: 1px solid rgba(34,197,94,.25); }
.hp-badge--amber { background: var(--hp-amber-soft); color: var(--hp-amber); border-color: rgba(245,185,66,.3); }
.hp-flagship h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.hp-flagship__intro { color: var(--hp-muted); margin-bottom: 1.8rem; max-width: 60ch; }
.hp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 2rem; }
.hp-fact { padding: 0.9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--hp-line); }
.hp-fact span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-muted); }
.hp-fact b { display: block; margin-top: 0.2rem; font-weight: 600; color: #fff; font-size: 1rem; }
.hp-subhead { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 0.9rem; font-family: var(--font-heading); }
.hp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; padding: 0; list-style: none; }
.hp-chips li { padding: 0.45rem 0.85rem; border-radius: 10px; font-size: 0.9rem; background: rgba(255,255,255,.04); border: 1px solid var(--hp-line); color: #dbe3ee; }
.hp-steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; counter-reset: step; }
.hp-steps li { counter-increment: step; padding: 1rem; border-radius: 14px; border: 1px solid var(--hp-line); background: rgba(255,255,255,.02); font-size: 0.92rem; color: var(--hp-muted); }
.hp-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-heading); font-weight: 700; color: var(--hp-green); font-size: 0.85rem; margin-bottom: 0.35rem; }
.hp-steps b { color: #fff; display: block; font-weight: 600; margin-bottom: 0.2rem; }
.hp-flagship__aside { position: relative; min-height: 320px; background: #000; }
.hp-flagship__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; opacity: .9; }
.hp-flagship__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,12,16,.95)); }
.hp-flagship__test { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 1; padding: 1.1rem 1.2rem; border-radius: 16px; background: rgba(11,12,16,.8); border: 1px solid var(--hp-line-strong); backdrop-filter: blur(10px); }
.hp-flagship__test h4 { font-size: 1rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.hp-flagship__test h4 i { color: var(--hp-green); }
.hp-flagship__test ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--hp-muted); }
.hp-flagship__test li { display: flex; gap: 0.45rem; align-items: flex-start; }
.hp-flagship__test li i { color: var(--hp-green); margin-top: 3px; }

.hp-tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.hp-track { display: flex; flex-direction: column; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface); overflow: hidden; transition: border-color .3s, transform .4s var(--hp-ease); }
.hp-track:hover { border-color: rgba(34,197,94,.35); transform: translateY(-4px); }
.hp-track__banner { aspect-ratio: 16/7; overflow: hidden; background: var(--hp-surface-2); }
.hp-track__banner img { width: 100%; height: 100%; object-fit: cover; }
.hp-track__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.hp-track h3 { font-size: 1.35rem; margin: 0.6rem 0 0.6rem; letter-spacing: -0.02em; }
.hp-track p { color: var(--hp-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.hp-track ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; font-size: 0.93rem; color: #d4dbe5; }
.hp-track li { display: flex; gap: 0.55rem; align-items: flex-start; }
.hp-track li i { color: var(--hp-green); margin-top: 4px; }
.hp-track .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   6. INSIDE MCC (videos)
   ========================================================================== */
.hp-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 1rem; align-items: stretch; }
.hp-reel {
  position: relative; border-radius: var(--hp-radius); overflow: hidden; aspect-ratio: 9/16; background: #000;
  border: 1px solid var(--hp-line); cursor: pointer; padding: 0;
  background-image: radial-gradient(80% 60% at 50% 30%, rgba(34,197,94,.18), transparent 70%); color: inherit; text-align: left; font: inherit;
}
.hp-reel--wide { aspect-ratio: auto; }
.hp-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hp-ease); }
.hp-reel:hover img { transform: scale(1.05); }
.hp-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 70%, rgba(0,0,0,.96)); }
.hp-reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); color: #fff; font-size: 1.4rem; transition: transform .3s var(--hp-ease), background .3s; }
.hp-reel:hover .hp-reel__play, .hp-reel:focus-visible .hp-reel__play { transform: translate(-50%, -50%) scale(1.1); background: var(--hp-green); color: #04120a; }
.hp-reel__cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; }
.hp-reel__cap b { display: block; font-family: var(--font-heading); font-size: 1rem; color: #fff; line-height: 1.3; }
.hp-reel__cap span { font-size: 0.8rem; color: rgba(255,255,255,.7); }
.hp-reel:focus-visible { outline: 2px solid var(--hp-green); outline-offset: 3px; }
.hp-award-tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; background: var(--hp-amber); color: #1a1205; border-color: var(--hp-amber); }

/* ==========================================================================
   7. ALUMNI / LEGACY
   ========================================================================== */
.hp-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.hp-marquee__track { display: flex; gap: 0.75rem; width: max-content; animation: hp-marquee 50s linear infinite; }
.hp-marquee:hover .hp-marquee__track { animation-play-state: paused; }
.hp-marquee__item { padding: 0.75rem 1.3rem; border-radius: 999px; border: 1px solid var(--hp-line); background: var(--hp-surface); font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; color: #cfd8e3; white-space: nowrap; }
@keyframes hp-marquee { to { transform: translateX(-50%); } }

.hp-alumni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hp-story { display: flex; flex-direction: column; gap: 1.2rem; padding: 1.6rem; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface); }
.hp-story blockquote { margin: 0; color: #dbe3ee; font-size: 1rem; line-height: 1.65; flex: 1; }
.hp-story blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 2.6rem; line-height: 0.6; color: var(--hp-green); margin-bottom: 0.6rem; }
.hp-person { display: flex; align-items: center; gap: 0.85rem; }
.hp-person__avatar { position: relative; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--hp-green), #0f766e); color: #04120a; font-weight: 700; font-family: var(--font-heading); }
.hp-person__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-person b { display: block; color: #fff; font-size: 0.98rem; }
.hp-person span { display: block; color: var(--hp-muted); font-size: 0.85rem; line-height: 1.35; }
.hp-person span em { font-style: normal; color: var(--hp-green); }

/* Alumni video stories: auto-scrolling, swipeable carousel */
.hp-vcarousel {
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hp-vcarousel::-webkit-scrollbar { display: none; }
.hp-vcarousel.is-dragging { cursor: grabbing; }
.hp-vcarousel { user-select: none; -webkit-user-select: none; }
.hp-vtrack { display: flex; gap: 1.25rem; width: max-content; padding: 0.5rem 1.25rem 1rem; }
.hp-vcard {
  position: relative; flex: 0 0 268px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 30%, rgba(34,197,94,.22), transparent 70%), var(--hp-surface-2);
  border: 1px solid var(--hp-line); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  transition: transform .4s var(--hp-ease), border-color .3s;
}
.hp-vcard:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.35); }
.hp-vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hp-vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,6,4,.92)); pointer-events: none; }
.hp-vcard__body { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 1; }
.hp-vcard h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin-bottom: 0.2rem; }
.hp-vcard p { color: rgba(255,255,255,.72); font-size: 0.9rem; margin-bottom: 1rem; }
.hp-vcard__watch {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
  padding: 0.75rem 1rem; border-radius: 12px; font: inherit; font-weight: 600; font-size: 0.95rem; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s;
}
.hp-vcard__watch:hover, .hp-vcard__watch:focus-visible { background: var(--hp-green); border-color: var(--hp-green); color: #04120a; outline: none; }
.hp-vcard__player { display: none; position: absolute; inset: 0; z-index: 2; background: #000; }
.hp-vcard__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.hp-vcard.is-playing { transform: none; border-color: var(--hp-green); }
.hp-vcard.is-playing .hp-vcard__player { display: block; }

.hp-alumni__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; margin-top: 2rem; padding: 1.2rem 1.5rem; border-radius: var(--hp-radius); border: 1px dashed var(--hp-line-strong); color: var(--hp-muted); }
.hp-alumni__foot strong { color: #fff; }
.hp-alumni__foot > span { flex: 1; }
.hp-alumni__foot .hp-link { white-space: nowrap; }
/* Placement Wall of Fame card (homepage + about): opens the full-screen viewer */
.hp-wall { position: relative; flex-shrink: 0; width: 340px; aspect-ratio: 2000 / 1647; padding: 0; overflow: hidden; cursor: zoom-in; border-radius: 14px; border: 1px solid var(--hp-line-strong); background: var(--hp-surface-2); }
.hp-wall img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s var(--hp-ease); }
.hp-wall:hover img { transform: scale(1.04); }
.hp-wall__zoom { position: absolute; left: 0.6rem; bottom: 0.6rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: #fff; background: rgba(4,5,8,.72); backdrop-filter: blur(6px); }
.hp-wall:focus-visible { outline: 2px solid var(--hp-green); outline-offset: 3px; }
@media (max-width: 680px) {
  .hp-alumni__foot { flex-direction: column; align-items: flex-start; }
  .hp-alumni__foot .hp-wall { width: 100%; }
}

/* ==========================================================================
   7b. MENTORS
   ========================================================================== */
.hp-mentors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.hp-mentor {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.6rem 1.8rem; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface);
  transition: border-color .3s, transform .4s var(--hp-ease);
}
.hp-mentor:hover { border-color: rgba(34,197,94,.35); transform: translateY(-4px); }
.hp-mentor__photo {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin-bottom: 1.2rem; flex-shrink: 0;
  display: grid; place-items: center; padding: 3px;
  background: linear-gradient(135deg, var(--hp-green), rgba(34,197,94,.15) 60%, var(--hp-amber));
}
.hp-mentor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 50% !important; border: 3px solid var(--hp-surface); }
.hp-mentor__photo span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--hp-surface);
  background: var(--hp-surface-2); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em;
}
.hp-mentor h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.hp-mentor__role { color: var(--hp-green); font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.hp-mentor__teaches { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--hp-line); width: 100%; flex: 1; }
.hp-mentor__teaches span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hp-muted); margin-bottom: 0.45rem; }
.hp-mentor__teaches p { color: #cbd5e1; font-size: 0.93rem; line-height: 1.65; }
.hp-mentor__in {
  margin-top: 1.3rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid var(--hp-line-strong); color: #fff; font-size: 0.85rem; font-weight: 600;
}
.hp-mentor__in:hover { background: #0a66c2; border-color: #0a66c2; }

/* ==========================================================================
   8. ADVISORS
   ========================================================================== */
.hp-advisors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hp-advisor { padding: 1.8rem; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface); display: flex; flex-direction: column; gap: 1.1rem; transition: border-color .3s, transform .4s var(--hp-ease); }
.hp-advisor:hover { border-color: var(--hp-line-strong); transform: translateY(-4px); }
.hp-advisor__top { display: flex; gap: 1rem; align-items: center; }
.hp-advisor__img { width: 72px; height: 72px; border-radius: 20px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--hp-line-strong); }
.hp-advisor__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hp-advisor h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.hp-advisor__role { color: var(--hp-green); font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.hp-advisor p { color: var(--hp-muted); font-size: 0.93rem; line-height: 1.65; flex: 1; }
.hp-advisor__foot { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.hp-advisor__orgs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.hp-advisor__orgs span { font-size: 0.74rem; padding: 0.25rem 0.55rem; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--hp-line); color: #cbd5e1; }
.hp-advisor__in { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--hp-line-strong); color: #fff; font-size: 1.2rem; }
.hp-advisor__in:hover { background: #0a66c2; border-color: #0a66c2; }

/* ==========================================================================
   9. GET INVOLVED + VISIT
   ========================================================================== */
.hp-involve { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hp-path { display: flex; flex-direction: column; padding: 2rem; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface); transition: border-color .3s, transform .4s var(--hp-ease); }
.hp-path:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.35); }
.hp-path--primary { background: linear-gradient(160deg, rgba(34,197,94,.18), rgba(34,197,94,.03) 60%), var(--hp-surface); border-color: rgba(34,197,94,.35); }
.hp-path .hp-tile__icon { margin-bottom: 1.2rem; }
.hp-path h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.hp-path p { color: var(--hp-muted); margin-bottom: 1.6rem; flex: 1; }

.hp-visit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: var(--hp-radius-lg); overflow: hidden; border: 1px solid var(--hp-line); background: var(--hp-surface); margin-top: clamp(3rem, 6vw, 4.5rem); }
.hp-visit__info { padding: clamp(1.6rem, 4vw, 3rem); }
.hp-visit__list { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: 1.1rem; }
.hp-visit__list li { display: flex; gap: 0.9rem; align-items: flex-start; color: #d4dbe5; }
.hp-visit__list i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--hp-green-soft); color: var(--hp-green); font-size: 1.2rem; }
.hp-visit__list small { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-muted); }
.hp-visit__list a:hover { color: var(--hp-green); }
.hp-visit__map { min-height: 360px; background: var(--hp-surface-2); }
.hp-visit__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.hp-legal { margin-top: 1.5rem; font-size: 0.82rem; color: var(--hp-muted); line-height: 1.6; }

/* ==========================================================================
   Video dialog
   ========================================================================== */
.hp-dialog { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(94vw, 1000px); max-height: 92vh; overflow: visible; }
.hp-dialog::backdrop { background: rgba(4,5,8,.88); backdrop-filter: blur(6px); }
.hp-dialog__inner { position: relative; }
.hp-dialog video, .hp-dialog iframe { display: block; max-width: 94vw; max-height: 86vh; border-radius: 18px; background: #000; border: 0; }
.hp-dialog iframe { width: min(94vw, 960px); aspect-ratio: 16/9; height: auto; }
.hp-dialog iframe.is-vertical { width: auto; height: min(86vh, 160vw); aspect-ratio: 9/16; }
.hp-dialog__close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 1.3rem; display: grid; place-items: center; cursor: pointer; }

/* ==========================================================================
   6b. LIFE AT MCC (gallery)
   ========================================================================== */
.hp-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; padding: 0.3rem; border-radius: 999px; border: 1px solid var(--hp-line); background: var(--hp-surface); }
.hp-filter { border: 0; background: transparent; color: var(--hp-muted); font: inherit; font-size: 0.88rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.hp-filter:hover { color: #fff; }
.hp-filter.is-active { background: var(--hp-green); color: #04120a; }
.hp-filter:focus-visible { outline: 2px solid var(--hp-green); outline-offset: 2px; }
.hp-gallery { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0.6rem; }
.hp-shot { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; border: 1px solid var(--hp-line); background: var(--hp-surface-2); padding: 0; cursor: zoom-in; font: inherit; color: inherit; }
.hp-shot[hidden] { display: none; }
.hp-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hp-ease); }
.hp-shot__zoom { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: rgba(4,5,8,.45); opacity: 0; transition: opacity .25s; pointer-events: none; }
.hp-shot:hover img { transform: scale(1.08); }
.hp-shot:hover .hp-shot__zoom, .hp-shot:focus-visible .hp-shot__zoom { opacity: 1; }
.hp-shot__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-shot:focus-visible { outline: 2px solid var(--hp-green); outline-offset: 3px; }

/* visit photo above the map */
.hp-visit__map { display: flex; flex-direction: column; }
.hp-visit__map > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hp-visit__map iframe { flex: 1; }

/* image lightbox */
.hp-lb-nav { display: none; }
.hp-dialog.is-photo { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.hp-dialog.is-photo::backdrop { background: rgba(4,5,8,.96); }
.hp-dialog.is-photo .hp-dialog__inner { position: static; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4.5rem 5rem 1.5rem; }
.hp-dialog.is-photo figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.hp-dialog.is-photo img { display: block; max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 14px; object-fit: contain; background: #000; }
.hp-dialog figcaption { margin-top: 0.9rem; color: #e2e8f0; font-size: 0.95rem; text-align: center; }
.hp-dialog figcaption b { color: var(--hp-green); font-weight: 600; margin-right: 0.6rem; font-variant-numeric: tabular-nums; }
.hp-dialog.is-photo .hp-dialog__close { position: fixed; top: 16px; right: 16px; }
.hp-dialog.is-photo .hp-lb-nav {
  display: grid; place-items: center; position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.4rem; cursor: pointer; transition: background .2s, color .2s;
}
.hp-dialog.is-single .hp-lb-nav { display: none; }
.hp-dialog.is-photo .hp-lb-nav:hover { background: var(--hp-green); color: #04120a; }
.hp-lb-prev { left: 16px; }
.hp-lb-next { right: 16px; }

@media (max-width: 1100px) {
  .hp-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hp-filters { width: 100%; justify-content: space-between; }
  .hp-filter { padding: 0.5rem 0.7rem; font-size: 0.8rem; }
  .hp-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
  .hp-shot { border-radius: 10px; }
  .hp-dialog.is-photo .hp-dialog__inner { padding: 4rem 0.5rem 5.5rem; }
  .hp-dialog.is-photo img { max-height: calc(100vh - 11rem); border-radius: 8px; }
  .hp-dialog.is-photo .hp-lb-nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
  .hp-lb-prev { left: calc(50% - 56px); }
  .hp-lb-next { right: calc(50% - 56px); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hp-float--a { left: -20%; }
  .hp-float--b { right: -12%; }
  .hp-reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-reel--wide { grid-column: 1 / -1; aspect-ratio: 16/9; }
}
@media (max-width: 960px) {
  .hp-hero__grid, .hp-journey__grid, .hp-flagship, .hp-visit { grid-template-columns: 1fr; }
  .hp-hero__copy { text-align: left; }
  .hp-phone { width: min(78%, 300px); margin-top: 1rem; }
  .hp-float--a { left: -24%; }
  .hp-float--b { right: -20%; }
  .hp-journey__media { position: static; }
  .hp-impact__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-stat:nth-child(2) { border-right: 0; }
  .hp-stat:nth-child(-n+2) { border-bottom: 1px solid var(--hp-line); }
  .hp-tile--mission, .hp-tile--vision { grid-column: span 12; }
  .hp-tile--value { grid-column: span 4; }
  .hp-flagship__aside { min-height: 0; order: -1; display: flex; flex-direction: column; background: transparent; }
  .hp-flagship__aside::after { display: none; }
  .hp-flagship__aside img { position: static; height: 440px; object-position: center 30%; opacity: 1; }
  .hp-flagship__test { position: static; margin: 1rem 1.2rem 0; background: rgba(255,255,255,.03); backdrop-filter: none; }
  .hp-alumni, .hp-advisors, .hp-involve { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hp-rebrand { border-radius: 14px; padding: 0.45rem 0.7rem 0.45rem 0.45rem; gap: 0.5rem; font-size: 0.78rem; line-height: 1.35; flex-wrap: nowrap; }
  .hp-rebrand__tag { flex-shrink: 0; font-size: 0.64rem; padding: 0.22rem 0.5rem; }
  .hp-rebrand > i { display: none; }
  .container { padding-inline: 16px; }
  .hp-hero__cta .btn, .hp-hero__cta .hp-btn-ghost { flex: 1 1 100%; justify-content: center; }
  .hp-float { font-size: 0.78rem; padding: 0.6rem 0.8rem; }
  .hp-float--a { left: -14%; top: 8%; }
  .hp-float--b { right: -10%; }
  .hp-tile--value { grid-column: span 12; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-reels {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem;
    margin-inline: -16px; padding: 0 16px 0.5rem; scrollbar-width: none;
  }
  .hp-reels::-webkit-scrollbar { display: none; }
  .hp-reels .hp-reel { flex: 0 0 44%; scroll-snap-align: start; }
  .hp-reels .hp-reel--wide { flex-basis: 44%; aspect-ratio: 9/16; }
  .hp-reel__play { width: 46px; height: 46px; font-size: 1.1rem; }
  .hp-reel__cap { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .hp-reel__cap b { font-size: 0.88rem; }
  .hp-reel__cap span { font-size: 0.72rem; line-height: 1.35; display: block; }
  .hp-award-tag { top: 0.6rem; left: 0.6rem; }
  .hp-advisors, .hp-involve { grid-template-columns: 1fr; }
  .hp-alumni {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem;
    margin-inline: -16px; padding: 0 16px 0.5rem; scrollbar-width: none;
  }
  .hp-alumni::-webkit-scrollbar { display: none; }
  .hp-alumni .hp-story { flex: 0 0 85%; scroll-snap-align: start; }
  .hp-vcard { flex-basis: 170px; border-radius: 16px; }
  .hp-vcard__body { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; }
  .hp-vcard p { font-size: 0.78rem; margin-bottom: 0.7rem; }
  .hp-vcard__watch { padding: 0.55rem 0.6rem; font-size: 0.82rem; border-radius: 10px; }
  .hp-vtrack { gap: 0.85rem; padding-inline: 16px; }
  .hp-vcard h3 { font-size: 1rem; }
  .hp-journey__photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .hp-impact__grid { grid-template-columns: 1fr; }
  .hp-stat { border-right: 0 !important; border-bottom: 1px solid var(--hp-line); }
  .hp-stat:last-child { border-bottom: 0; }
  .hp-float { display: none; }
}
