/* ==========================================================================
   LMTSM IPM — identity layer over lmtsm-v2.css (loaded only by ipm.html).
   Distinct skin: warmer hero + hero-side NPF form, plum as fill, and IPM-only
   components: .hform, .compare, horizontal-pinned .pathway, .cgrid, .marquee.
   Orange stays the CTA; navy stays small labels.
   ========================================================================== */

/* -------- hero: warmer, split (copy + form) -------- */
.hero__bg img { filter: contrast(1.03) saturate(1.08) brightness(1.02); }
.hero__tint { background: var(--plum); mix-blend-mode: multiply; opacity: .12; }
.hero__scrim {
  background:
    linear-gradient(90deg, rgba(1,18,48,.9) 0%, rgba(1,18,48,.66) 30%, rgba(1,18,48,.34) 56%, rgba(1,18,48,.52) 100%),
    linear-gradient(0deg, rgba(1,18,48,.72) 2%, transparent 42%);
}
.hero--form { align-items: center; }
.hero--form .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); max-width: 14ch; }
.hero--form .hero__proof { gap: clamp(1rem, 2.4vw, 1.8rem); }

/* reserved column for the Meritto/NPF form (empty until the embed arrives) */
.hform-slot { min-height: 1px; }

/* hero-side form card (NPF/Meritto-mapped; unused while the slot is empty) */
.hform { background: var(--paper); color: var(--ink); padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: 0 34px 80px -34px rgba(1,18,48,.7); }
.hform h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.hform > p { font-family: var(--sans); color: var(--muted); font-size: .9rem; margin: .3rem 0 1.1rem; }
.hform .field { margin-bottom: .8rem; }
.hform .field label { display: block; font-family: var(--sans); font-weight: 600; font-size: .78rem; margin-bottom: .35rem; }
.hform .field input, .hform .field select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line-paper); font: inherit; font-family: var(--sans); color: var(--ink); background: var(--paper); }
.hform .field input:focus, .hform .field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,122,30,.15); }
.hform .field input[aria-invalid="true"] { border-color: #c0392b; }
.hform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hform .cta { width: 100%; justify-content: center; margin-top: .4rem; }
.hform .form__ok { display: none; text-align: center; padding: 1.2rem 0; }
.hform .form__ok.show { display: block; }
.hform .form__ok svg { width: 48px; height: 48px; color: #1ea672; margin: 0 auto .8rem; }
.hform .form__ok h3 { margin-bottom: .3rem; }
.hform .form__ok p { font-family: var(--sans); color: var(--muted); font-size: .92rem; }
.hform .form__legal { font-family: var(--sans); font-size: .72rem; color: var(--muted); margin-top: .7rem; text-align: center; }

/* -------- plum as fill (large only) -------- */
.row__n { color: var(--plum); }

/* ==================== .compare (IPM vs BBA + separate MBA) ================= */
.compare { padding: var(--sect) 0; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: clamp(1.6rem, 3vw, 2.4rem); align-items: start; }
.compare__col { border: 1px solid var(--line-paper); padding: clamp(1.4rem, 3vw, 2.2rem); }
.compare__col.is-ipm { background: var(--ink); color: var(--paper); border-color: transparent; }
.compare__tag { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.compare__col.is-ipm .compare__tag { color: var(--accent-soft); }
.compare__col h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: .35rem 0 0; }
.compare__col.is-ipm h3 em { font-style: italic; color: var(--accent-soft); }
.compare__list { margin-top: 1.2rem; }
.compare__list div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: .85rem 0; border-top: 1px solid var(--line-paper); }
.compare__col.is-ipm .compare__list div { border-top-color: var(--line-ink); }
.compare__list span { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.compare__col.is-ipm .compare__list span { color: var(--muted-ink); }
.compare__list b { font-family: var(--sans); font-weight: 600; font-size: .95rem; text-align: right; }
.compare__col.is-ipm .compare__list b { color: var(--accent-soft); }

/* ============= .pathway (HORIZONTAL pinned scroll; header pinned above the panels so both share one viewport) ================= */
.pathway { background: var(--paper-2); }
.pathway__scroll { position: relative; height: 320vh; }
.pathway__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.pathway__intro { flex: 0 0 auto; padding-top: 5.25rem; padding-bottom: .5rem; } /* top padding clears the fixed nav (~84px) */
.pathway__intro .shead { margin-bottom: clamp(1.5rem, 3.4vh, 2.4rem); }
.pathway__intro .shead h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-top: .7rem; }
.pathway__intro .shead p { margin-top: .6rem; font-size: .95rem; max-width: 80ch; }
.pathway__track { flex: 1 1 auto; min-height: 0; display: flex; width: 300vw; will-change: transform; }
.ppanel { position: relative; isolation: isolate; overflow: hidden; width: 100vw; height: 100%; display: flex; align-items: center; color: var(--paper); }
.ppanel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; z-index: -2; }
.ppanel--1 .ppanel__bg { object-position: center 60%; }
.ppanel--2 .ppanel__bg { object-position: center 10%; } /* anchor to the top so the students' heads are not cropped */
/* colour overlays: the original plum / navy / deep-navy panel colours, translucent so the photo reads through */
.ppanel::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.ppanel--1::before { background: linear-gradient(135deg, rgba(122,86,128,.86), rgba(75,50,83,.92)); }
.ppanel--2::before { background: linear-gradient(135deg, color-mix(in srgb, var(--navy) 86%, transparent), color-mix(in srgb, var(--navy-ink) 92%, transparent)); }
.ppanel--3::before { background: linear-gradient(135deg, rgba(6,18,42,.88), rgba(12,33,69,.9)); }
.ppanel__box { max-width: 720px; }
.ppanel__no { font-family: var(--serif); font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; opacity: .35; }
.ppanel__yr { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-top: 1rem; color: rgba(255,255,255,.85); }
.ppanel h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.6rem); margin: .5rem 0 1rem; color: var(--paper); }
.ppanel p { font-family: var(--sans); font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 52ch; color: rgba(255,255,255,.9); line-height: 1.6; }
.pfork { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-family: var(--sans); font-size: .95rem; font-weight: 600; padding: .7rem 1.1rem; background: rgba(255,255,255,.14); border-left: 3px solid #fff; color: #fff; }
.pfork.is-mba { border-left-color: var(--accent-soft); background: rgba(242,163,44,.2); }

/* ==================== .cgrid (symmetrical curriculum) ==================== */
.curric { padding: var(--sect) 0; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); }
.ccard { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .7rem; }
.ccard__ic { width: 46px; height: 46px; display: grid; place-items: center; color: var(--plum); border: 1px solid var(--line-paper); border-radius: 50%; }
.ccard__ic svg { width: 22px; height: 22px; }
.ccard h4 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.ccard p { font-family: var(--sans); color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ==================== .merit (35 / 35 / 30) ============= */
.merit { display: grid; gap: 1.1rem; margin-top: 1.3rem; }
.merit__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.merit__top .l { font-family: var(--sans); font-size: .92rem; color: var(--ink); }
.merit__top .p { font-family: var(--serif); font-size: 1.2rem; color: var(--plum); }
.merit__bar { height: 6px; background: #fff; border: 1px solid var(--line-paper); margin-top: .45rem; }
.merit__bar i { display: block; height: 100%; background: var(--plum); }

/* scholarships line */
.schol { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.6rem; border-top: 1px solid var(--line-paper); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.schol p { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--ink); max-width: 42ch; }

/* -------- admissions section (was in the IPM fork of v2; v2 now mirrors the approved MBA page) -------- */
.admit { padding: var(--sect) 0; background: var(--paper-2); }

/* -------- admissions two-column helpers -------- */
.admit__col .label { display: block; margin-bottom: .8rem; }
.admit__col p { font-family: var(--sans); color: var(--muted); line-height: 1.6; }
.admit__col p + p { margin-top: .8rem; }
.admit__col p b { color: var(--ink); font-weight: 600; }

/* -------- responsive -------- */
@media (max-width: 900px) {
  .hero--form .hero__inner { grid-template-columns: 1fr; gap: 2rem; padding-block: clamp(6rem, 15vw, 8rem) 3rem; }
  .cgrid { grid-template-columns: 1fr 1fr; }
  .hform-slot { display: none; }
  .pathway__scroll { height: auto; }
  .pathway__pin { position: static; height: auto; overflow: visible; }
  .pathway__track { flex-direction: column; width: auto; transform: none !important; }
  .ppanel { width: auto; height: auto; min-height: 66vh; padding: clamp(3rem, 10vw, 5rem) 0; }
}
@media (max-width: 760px) {
  .compare__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cgrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pathway__scroll { height: auto; }
  .pathway__pin { position: static; height: auto; overflow: visible; }
  .pathway__track { flex-direction: column; width: auto; transform: none !important; }
  .ppanel { width: auto; height: auto; min-height: 60vh; padding: 3rem 0; }
}

/* -------- "Where the path lands": flat brand cyan, two-tone type: brand navy for emphasis, near-black navy for reading text -------- */
#outcomes.figures { background: var(--cyan); color: var(--ink-black); }
#outcomes .label--ink, #outcomes .figures__big .k { color: var(--navy); font-weight: 700; }
#outcomes .shead h2 { color: var(--ink-black); }
#outcomes .shead p, #outcomes .figures__big .d, #outcomes .figures__side .s span, #outcomes .figures__note { color: var(--ink-black); }
#outcomes .figures__big .n, #outcomes .figures__big .n .u { color: var(--navy); }
#outcomes .figures__side .s b { color: var(--ink-black); }
#outcomes .figures__hero { border-bottom-color: rgba(1,51,140,.35); }
