/* ==========================================================================
   LMTSM Admissions LP - Art direction v3 "Editorial, elevated"
   Photographic hero, three tonal registers (paper / navy / near-black),
   display-serif contrast, one dominant stat, real conversion structure.
   ========================================================================== */

:root {
  --navy: #01338c;           /* brand royal navy - primary */
  --navy-deep: #012a70;
  --navy-ink: #04184a;
  --ink: #16223d;            /* dark navy-grey - body text on light */
  --ink-black: #01152f;      /* deepest navy - anchor sections */
  --paper: #ffffff;
  --paper-2: #eef2f9;        /* light cool grey */
  --accent: #f2a32c;         /* brand orange - fills, rules */
  --accent-deep: #cf7c12;    /* orange for large text */
  --accent-soft: #f7b24e;    /* orange on navy */
  --accent-text: #01338c;    /* small labels - navy for contrast + brand */
  --plum: #76527a;
  --cyan: #2eaae1;
  --yellow: #f4c430;
  --muted: #586074;
  --muted-ink: rgba(255, 255, 255, .74);
  --line-ink: rgba(255, 255, 255, .18);
  --line-paper: rgba(1, 51, 140, .13);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --edge: clamp(1.25rem, 5vw, 4rem);
  --sect: clamp(3rem, 6vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
* {margin: 0;}
html { -webkit-text-size-adjust: 100%; }

body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
strong {
    padding: 0px 4px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.0; letter-spacing: -0.025em; text-wrap: balance; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .8rem 1.2rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - (var(--edge) * 2), var(--container)); margin-inline: auto; }
.label { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.label--ink { color: var(--accent-soft); }

/* section head */
.shead { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.shead h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 20ch; margin-top: 1rem; }
.shead p { font-family: var(--sans); color: var(--muted); margin-top: .9rem; max-width: 50ch; }
.shead.center { text-align: center; max-width: 720px; margin-inline: auto; }
.shead.center h2, .shead.center p { margin-inline: auto; }
.on-ink .shead h2 { color: var(--paper); }
.on-ink .shead p { color: var(--muted-ink); }

/* buttons */
.cta { font-family: var(--sans); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); background: var(--accent); padding: .95rem 1.6rem; border: 0; border-radius: 2px; transition: transform .2s, background .2s, gap .2s; }
.cta:hover { background: var(--accent-soft); transform: translateY(-2px); gap: 1rem; }
.cta svg { width: 17px; height: 17px; }
.cta-line { font-family: var(--sans); font-weight: 500; font-size: 1rem; color: currentColor; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; transition: border-color .2s; }
.cta-line:hover { border-color: var(--accent); }
.cta-ink { color: var(--ink); border-bottom-color: var(--line-paper); }

/* -------- nav -------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1.4rem 0; transition: background .3s, padding .3s, box-shadow .3s; }
.nav__row { display: flex; align-items: center; justify-content: space-between; }
.nav__brand img { height: 40px; filter: brightness(0) invert(1); transition: filter .3s, height .3s; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a { font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: rgba(244,242,236,.85); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__apply { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); padding-bottom: 3px; border-bottom: 1.5px solid var(--accent); }
.nav__burger { display: none; background: none; border: 0; padding: .3rem; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--paper); margin: 6px 0; transition: .3s; }
.nav.scrolled { background: var(--ink); padding: .8rem 0; box-shadow: 0 12px 40px -24px rgba(0,0,0,.7); }
.nav.scrolled .nav__brand img { height: 34px; }

/* -------- hero (photographic) -------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: grayscale(100%) contrast(1.04) brightness(.92); }
.hero__tint { position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: .5; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(1,18,48,.94) 0%, rgba(1,18,48,.78) 34%, rgba(1,18,48,.26) 66%, rgba(1,18,48,.5) 100%),
  linear-gradient(0deg, rgba(1,18,48,.9) 2%, transparent 46%); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(7rem, 12vw, 9rem) clamp(2.6rem, 5vw, 4.5rem); }
.hero__eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.hero__eyebrow .rule { height: 1px; width: 42px; background: var(--accent); }
.hero__eyebrow .label { color: var(--accent-soft); }
.hero h1 { font-size: clamp(1.9rem, 3.8vw, 3.8rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 46ch; font-weight: 400; }
.hero h1 em {font-style: italic;color: var(--accent-soft);padding: 0px 8px;}
.hero__sub { font-family: var(--sans); font-size: clamp(1.05rem, 1.5vw, 1.26rem); color: rgba(244,242,236,.9); max-width: 48ch; margin-top: clamp(1.4rem, 3vw, 2rem); line-height: 1.6; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.hero__deadline { font-family: var(--sans); font-size: .92rem; color: rgba(244,242,236,.8); margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .55rem; }
.hero__deadline b { color: #fff; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero__proof { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem); align-items: baseline; margin-top: clamp(2.2rem, 4vw, 3.2rem); padding-top: 1.6rem; border-top: 1px solid var(--line-ink); }
.hero__proof div b { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 500; }
.hero__proof div span { font-family: var(--sans); font-size: .76rem; color: rgba(244,242,236,.66); display: block; letter-spacing: .02em; }

/* -------- proof / why (pinned aside) -------- */
.proof { padding: var(--sect) 0; }
.proof__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.proof__aside { position: sticky; top: clamp(6rem, 14vh, 9rem); }
.proof__lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.18; margin-top: 1.1rem; text-wrap: balance; }
.proof__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.8rem; font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 4px; transition: gap .2s; }
.proof__cta:hover { gap: .9rem; }
.rows { border-top: 1px solid var(--line-paper); }
.row { display: grid; grid-template-columns: 5rem 1fr 1.1fr; gap: clamp(1rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line-paper); transition: background .3s; }
.row:hover { background: rgba(196,122,30,.05); }
.row__n { font-family: var(--serif); font-size: 1.5rem; color: var(--accent-text); }
.row__t { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.85rem); }
.row__d { font-family: var(--sans); color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* -------- programmes -------- */
.prog { padding: var(--sect) 0; }
.prog__block { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.prog__block + .prog__block { margin-top: clamp(3rem, 7vw, 6rem); padding-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line-paper); }
.prog__block.rev .prog__media { order: 2; }
.prog__media { position: relative; aspect-ratio: 5/4; overflow: hidden; background: var(--ink); }
.prog__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.03); mix-blend-mode: luminosity; opacity: .92; }
.prog__media .tint { position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: .35; }
.prog__media .tag { position: absolute; left: 1.1rem; top: 1rem; z-index: 2; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); }
.prog h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
/* admissions steps, merged directly under each programme's details */
.prog__admit { margin-top: clamp(2rem, 4vw, 2.6rem); padding-top: clamp(2rem, 4vw, 2.6rem); border-top: 1px solid var(--line-paper); }
.prog__admit h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 1.2rem; }
.prog__admit .steps { margin-top: 0; }
.prog__desc { font-family: var(--sans); color: var(--muted); margin: 0 0 1.5rem; max-width: 44ch; }
.prog__facts { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-bottom: 1.6rem; }
.prog__facts b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.prog__facts span { font-family: var(--sans); color: var(--muted); font-size: .78rem; }
.prog__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.prog__tags span { font-family: var(--sans); font-size: .8rem; color: var(--ink); border: 1px solid var(--line-paper); padding: .35rem .8rem; }

/* -------- outcomes (near-black anchor, one dominant stat) -------- */
.figures { background: var(--ink-black); color: var(--paper); padding: var(--sect) 0; }
.figures__hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-ink); }
.figures__big .k { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.figures__big .n { font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); line-height: .9; font-weight: 400; letter-spacing: -0.04em; margin-top: .5rem; }
.figures__big .n .u { font-size: .28em; color: var(--accent-soft); font-family: var(--sans); font-weight: 600; margin-left: .1em; letter-spacing: .04em; }
.figures__big .d { font-family: var(--sans); color: var(--muted-ink); margin-top: 1rem; max-width: 34ch; }
.figures__side { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.figures__side .s b { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.figures__side .s span { font-family: var(--sans); font-size: .84rem; color: var(--muted-ink); display: block; margin-top: .2rem; }
.figures__note { font-family: var(--sans); font-size: .78rem; color: rgba(244,242,236,.5); margin-top: 1.6rem; }

/* -------- faculty (3-up feature + list) -------- */
.faculty { padding: var(--sect) 0; background: var(--paper-2); }
.faculty__feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.fcard { }
.fcard__img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(100%) contrast(1.03); mix-blend-mode: luminosity; opacity: .95; transition: .5s; }
.fcard__img .tint { position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: .28; transition: .5s; }
.fcard:hover .fcard__img img { filter: none; mix-blend-mode: normal; }
.fcard:hover .fcard__img .tint { opacity: 0; }
.fcard b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-top: 1rem; }
.fcard span { font-family: var(--sans); font-size: .86rem; color: var(--muted); }
.fcard p { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: .5rem; line-height: 1.5; }
.faculty__more { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.6rem; border-top: 1px solid var(--line-paper); display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.faculty__more span { font-family: var(--sans); font-size: .92rem; color: var(--ink); }
.faculty__more span + span::before { content: "\00b7"; color: var(--accent-text); margin-right: 1.4rem; }

/* -------- quote -------- */
.quote { padding: var(--sect) 0; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.26; max-width: 24ch; text-wrap: balance; }
.quote blockquote em { font-style: italic; color: var(--accent-text); }
.quote cite { display: block; margin-top: 1.4rem; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: .04em; }

/* -------- recruiter wall -------- */
.wall { padding: var(--sect) 0; }
.wall__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); }
.wall__grid .cell { background: var(--paper); display: grid; place-items: center; padding: clamp(.9rem, 1.8vw, 1.4rem); min-height: 108px; }
.wall__grid img { max-height: 66px; max-width: 90%; width: auto; opacity: 1; mix-blend-mode: multiply; transition: .3s; }
.wall__grid .cell--more { font-family: var(--sans); font-size: .88rem; font-weight: 600; color: var(--muted); font-style: italic; }
.wall__grid .cell:hover img { filter: none; opacity: 1; }
.wall__grid .cell--placeholder { border: 1px dashed var(--line-paper); background: var(--paper-2); }
.cell__ph { display: flex; flex-direction: column; align-items: center; gap: .3rem; color: var(--muted); font-family: var(--sans); font-size: .68rem; }
.cell__ph svg { width: 20px; height: 20px; opacity: .55; }
.wall__note { text-align: center; font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: 1.2rem; }

/* -------- video -------- */
.video { padding: var(--sect) 0; background: var(--ink); color: var(--paper); }
.video__main { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; background: #000; border: 0; padding: 0; display: block; }
.video__main img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(28%) brightness(.68); transition: .4s; }
.video__main:hover img { filter: grayscale(0) brightness(.82); transform: scale(1.02); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play span { width: 74px; height: 74px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(0,0,0,.5); transition: transform .3s; }
.video__main:hover .video__play span { transform: scale(1.08); }
.video__play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--ink); }
.video__cap { margin-top: 1.2rem; font-family: var(--sans); color: var(--muted-ink); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,10,20,.94); display: none; place-items: center; padding: 6vw; }
.lightbox.open { display: grid; }
.lightbox__frame { width: min(100%, 1000px); aspect-ratio: 16/9; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; }

/* -------- fees & scholarships -------- */
.value { padding: var(--sect) 0; }
.value__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 1rem; }
.vcard { border: 1px solid var(--line-paper); padding: clamp(1.5rem, 3vw, 2.2rem); }
.vcard.dark { background: var(--ink); color: var(--paper); border-color: transparent; }
.vcard .k { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.vcard.dark .k { color: var(--accent-soft); }
.vcard .n { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; margin: .6rem 0 .5rem; }
.vcard p { font-family: var(--sans); font-size: .92rem; color: var(--muted); }
.vcard.dark p { color: var(--muted-ink); }

/* -------- admissions -------- */
.admit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.steps2 .s { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-paper); }
.steps2 .s:first-child { border-top: 1px solid var(--line-paper); }
.steps2 .n { font-family: var(--serif); font-size: 1.3rem; color: var(--accent-text); }
.steps2 h4 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.steps2 p { font-family: var(--sans); color: var(--muted); font-size: .9rem; }
.dates { border: 1px solid var(--line-paper); background: var(--paper); }
.dates__row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-paper); font-family: var(--sans); font-size: .92rem; }
.dates__row:last-child { border-bottom: 0; }
.dates__row span { color: var(--muted); }
.dates__row b { font-weight: 600; }
.dates__row.hl { background: var(--ink); color: var(--paper); }
.dates__row.hl span { color: var(--muted-ink); }

/* -------- FAQ (native details) -------- */
.faq { padding: var(--sect) 0; }
.faq__list { border-top: 1px solid var(--line-paper); }
.faq details { border-bottom: 1px solid var(--line-paper); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--accent-text); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { font-family: var(--sans); color: var(--muted); padding: 0 0 1.4rem; max-width: 68ch; line-height: 1.65; }

/* -------- parent trust -------- */
.trust { padding: var(--sect) 0; background: var(--ink); color: var(--paper); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: 1rem; }
.trust__item h4 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-bottom: .5rem; }
.trust__item h4 span { color: var(--accent-soft); }
.trust__item p { font-family: var(--sans); font-size: .92rem; color: var(--muted-ink); line-height: 1.6; }

/* -------- partners -------- */
.partners { padding: var(--sect) 0; }
.partners__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.4rem; margin-top: 1.4rem; }
.partners__list span { font-family: var(--serif); font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: var(--ink); }
.partners__list span + span::before { content: "/"; color: var(--accent-text); margin-right: 1.4rem; }

/* -------- enquiry -------- */
.enquire { padding: var(--sect) 0; background: var(--ink-black); color: var(--paper); }
.enquire__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.enquire h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.enquire h2 em { font-style: italic; color: var(--accent-soft); }
.enquire__p { font-family: var(--sans); color: var(--muted-ink); margin-top: 1rem; max-width: 40ch; }
.enquire__pts { margin-top: 1.6rem; display: grid; gap: .7rem; }
.enquire__pts div { font-family: var(--sans); display: flex; gap: .6rem; align-items: center; color: rgba(244,242,236,.9); font-size: .95rem; }
.enquire__pts svg { width: 18px; height: 18px; color: var(--accent-soft); flex: 0 0 auto; }
.form { background: var(--paper); color: var(--ink); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin-bottom: .3rem; }
.form > p { font-family: var(--sans); color: var(--muted); font-size: .9rem; margin-bottom: 1.3rem; }
.field { margin-bottom: .9rem; }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: .78rem; margin-bottom: .35rem; }
.field input, .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); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,122,30,.15); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form .cta { width: 100%; justify-content: center; margin-top: .5rem; }
.form__legal { font-family: var(--sans); font-size: .74rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.form__ok { display: none; text-align: center; padding: 1.5rem 0; }
.form__ok.show { display: block; }
.form__ok h3 { margin-bottom: .3rem; }
.form__ok p { font-family: var(--sans); color: var(--muted); }

/* -------- footer -------- */
.foot { background: #071227; color: rgba(244,242,236,.62); padding: 0 0 2rem; }
.foot__accent { height: 4px; background: linear-gradient(90deg, var(--navy), var(--plum), var(--accent), var(--cyan), var(--yellow)); }
.foot .container { padding-top: clamp(3rem, 6vw, 5rem); }
.foot__grid { display: grid; grid-template-columns: 1.4fr .9fr 1fr 1.1fr; gap: 2rem 2.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-ink); }
.foot__brand img { height: 42px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.foot__brand p { font-family: var(--sans); font-size: .9rem; max-width: 34ch; }
.foot h5 { font-family: var(--sans); color: var(--paper); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.foot a { display: block; font-family: var(--sans); font-size: .92rem; padding: .25rem 0; transition: color .2s; }
.foot a:hover { color: var(--accent-soft); }
.foot__links a { font-size: .88rem; }
.foot__social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.foot__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-ink); padding: 0; color: rgba(244,242,236,.8); transition: background .2s, border-color .2s, color .2s; }
.foot__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.foot__social svg { width: 16px; height: 16px; }
.foot__base { padding-top: 1.4rem; font-family: var(--sans); font-size: .8rem; color: rgba(244,242,236,.45); }
.reach__item { display: flex; gap: .7rem; margin-bottom: 1.1rem; }
.reach__item:last-child { margin-bottom: 0; }
.reach__item svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: .15rem; color: var(--accent-soft); }
.reach__item b { display: block; font-family: var(--sans); font-weight: 600; font-size: .86rem; color: var(--paper); margin-bottom: .15rem; }
.reach__item span { display: block; font-family: var(--sans); font-size: .82rem; line-height: 1.5; }

/* -------- sticky mobile CTA -------- */
.mcta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); padding: .6rem; gap: .6rem; box-shadow: 0 -8px 30px rgba(0,0,0,.3); }
.mcta a { flex: 1; text-align: center; padding: .85rem; font-family: var(--sans); font-weight: 600; font-size: .92rem; border-radius: 2px; }
.mcta .call { color: var(--paper); border: 1px solid var(--line-ink); }
.mcta .enq { background: var(--accent); color: var(--ink); }

/* -------- programme tabs -------- */
.prog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tabs { display: inline-flex; gap: .35rem; padding: .35rem; background: var(--paper-2); }
.tab { padding: .7rem 1.7rem; border: 0; background: transparent; font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink); transition: .2s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
/* large title-tabs: the programme names ARE the tabs */
.tabs--titles { background: none; padding: 0; gap: clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--line-paper); margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.tabs--titles .tab { background: none; padding: 0 0 1rem; color: var(--muted); font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; position: relative; }
.tabs--titles .tab[aria-selected="true"] { background: none; color: var(--ink); }
.tabs--titles .tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.panel:not(.dynamic_theme_block) {display: none;padding-top: 2rem;}
.panel[data-active] { display: block; animation: fadein .45s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* -------- dean band -------- */
.dean { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line-paper); }
.dean__img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.dean__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(100%) contrast(1.03); mix-blend-mode: luminosity; opacity: .95; }
.dean__img .tint { position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: .28; }
.dean blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.24; text-wrap: balance; }
.dean blockquote em { font-style: italic; color: var(--accent-text); }
.dean cite { display: block; margin-top: 1.2rem; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: .03em; }

/* -------- faculty thumbnails -------- */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(192px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.fmini { text-align: left; }
.fmini__img { display: block; position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--navy); }
.fmini__img .tint { position: absolute; inset: 0; }
.fmini__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(100%) contrast(1.03); mix-blend-mode: luminosity; opacity: .94; transition: .4s; }
.fmini__img .tint { position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; opacity: .26; transition: .4s; }
.fmini:hover .fmini__img img { filter: none; mix-blend-mode: normal; }
.fmini:hover .fmini__img .tint { opacity: 0; }
.fmini b { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 500; margin-top: .7rem; }
.fmini span { font-family: var(--sans); font-size: .8rem; color: var(--muted); }

/* -------- video title overlay -------- */
.video__title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.3rem, 3vw, 2.4rem); background: linear-gradient(180deg, transparent, rgba(6,10,20,.9)); text-align: left; }
.video__title b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.9rem); color: var(--paper); display: block; max-width: 24ch; }
.video__title span { display: block; font-family: var(--sans); font-size: .82rem; color: rgba(244,242,236,.82); margin-top: .45rem; letter-spacing: .02em; }

/* -------- partner logo wall -------- */
.pwall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); margin-top: 1.6rem; }
.pwall .pcell {background: var(--paper);display: grid;place-items: center;padding: clamp(1.2rem, 3vw, 2rem);min-height: 120px;}
.pwall img {max-height: 52px;max-width: 158px;width: 100%;mix-blend-mode: multiply;opacity: 1;transition: transform .3s;}
.pwall .pcell:hover img { transform: scale(1.04); }

/* -------- brand signature strip -------- */
.brandstrip { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; height: 4px; }
.brandstrip i { flex: 1; }
.brandstrip i:nth-child(1) { background: var(--navy); }
.brandstrip i:nth-child(2) { background: var(--plum); }
.brandstrip i:nth-child(3) { background: var(--accent); }
.brandstrip i:nth-child(4) { background: var(--cyan); }
.brandstrip i:nth-child(5) { background: var(--yellow); }
.nav { top: 4px; }

/* -------- co-brand (LMTSM + TIET) -------- */
.nav__brand { display: flex; align-items: center; gap: .85rem; }
.nav__brand .ti { height: 36px; width: auto; filter: brightness(0) invert(1); transition: filter .3s, height .3s; }
.nav__brand .sep { width: 1px; height: 28px; background: rgba(255,255,255,.32); }
.nav.scrolled .nav__brand .ti { height: 32px; }

/* -------- nav right cluster: primary links + Enquire -------- */
.nav__right { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); flex-shrink: 0; }
.nav__links { gap: 1.5rem; }
/* Enquire now: hidden at the very top, fades in once the hero has scrolled past (js toggles .past-hero on .nav) */
.nav__enquire { padding: .6rem 1.3rem; font-size: .85rem; opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.nav.past-hero .nav__enquire { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* below ~1080px there isn't room for the header CTA; the sticky mobile bar (already built) covers Call + Enquire instead */
@media (max-width: 1080px) {
  .nav__enquire { display: none; }
  .mcta { display: flex; }
  body { padding-bottom: 68px; }
}
/* tight tablet/small-laptop band: the two co-brand logos + 5 links no longer fit at full size */
@media (max-width: 1180px) {
  .nav__brand img { height: 44px; }
  .nav__brand .ti { height: 38px; }
  .nav.scrolled .nav__brand img, .nav.scrolled .nav__brand .ti { height: 34px; }
  .nav__links { gap: 1rem; }
  .nav__right { gap: .8rem; }
}

/* -------- accreditation strip -------- */
.accred { padding: clamp(1.8rem, 3.4vw, 2.6rem) 0; border-bottom: 1px solid var(--line-paper); }
.accred__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); }
.acell { background: var(--paper); display: grid; place-items: center; padding: clamp(1rem, 2vw, 1.6rem); min-height: 128px; }
.acell img { max-height: 78px; max-width: 90%; width: auto; mix-blend-mode: multiply; }
.acell--aacsb img { max-height: 92px; } /* the AACSB mark is the headline claim on this page; give it the most room */
@media (max-width: 760px) { .accred__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .accred__row { grid-template-columns: repeat(2, 1fr); } }

/* -------- campus life collage --------
   4 cols x 3 rows = 12 units, hand-placed (not auto-flow) for a varied mosaic:
   1 big (2x2) + 1 tall (1x2) + 1 wide (2x1) + 4 small (1x1) = 12 units exactly,
   so it's still a clean rectangle. Columns:rows = 4:3, so aspect-ratio:4/3 on
   the whole block makes every "1 unit" a true square (no thin strips) — the
   big/tall/wide tiles are then 2x or 1:2/2:1 of that same square unit, which
   reads as a normal photo shape, not an elongated strip. Full container width
   throughout (no viewport-height tricks, no squeezed-in side gaps); 4:3 is
   just naturally shorter than a 1:1 block, so the whole thing fits a screen. */
.campus { padding: var(--sect) 0; background: var(--paper-2); }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); aspect-ratio: 4 / 3; gap: .6rem; }
.cimg { position: relative; overflow: hidden; background: var(--paper); border: 1px dashed var(--line-paper); display: grid; place-items: center; }
.cimg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) contrast(1.02); }
.cimg__ph { display: flex; flex-direction: column; align-items: center; gap: .4rem; color: var(--muted); font-family: var(--sans); font-size: .74rem; text-align: center; padding: .6rem; }
.cimg__ph svg { width: 22px; height: 22px; opacity: .5; }
.cimg--1 { grid-column: 1 / 3; grid-row: 1 / 3; }  /* big 2x2 */
.cimg--2 { grid-column: 3 / 4; grid-row: 1 / 3; }  /* tall 1x2 */
.cimg--3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.cimg--4 { grid-column: 4 / 5; grid-row: 2 / 3; }
.cimg--5 { grid-column: 1 / 3; grid-row: 3 / 4; }  /* wide 2x1 */
.cimg--6 { grid-column: 3 / 4; grid-row: 3 / 4; }
.cimg--7 { grid-column: 4 / 5; grid-row: 3 / 4; }
@media (max-width: 760px) {
  /* drop the mosaic spans for a plain 2-col grid; the odd 7th tile spans both columns to close the block off evenly */
  .collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); aspect-ratio: 2 / 4; }
  .collage .cimg { grid-column: auto; grid-row: auto; }
  .collage .cimg--7 { grid-column: 1 / 3; }
}

.foot__brand .cobrand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.foot__brand .cobrand img { height: 40px; width: auto; margin: 0; filter: brightness(0) invert(1); }
.foot__brand .cobrand .sep { width: 1px; height: 26px; background: var(--line-ink); }

/* -------- programmes header: title left, tabs left-aligned to the content column -------- */
.prog__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-paper); padding-bottom: clamp(1.1rem, 2vw, 1.5rem); position: sticky; top: 84px; z-index: 5; background: var(--paper); }
.prog__head .shead { margin-bottom: 0; }
.prog__head .tabs--titles { border: 0; margin: 0; padding-bottom: 0; justify-self: start; align-self: end; gap: clamp(1.4rem, 3vw, 2.4rem); }
.prog__head .tabs--titles .tab { font-size: clamp(1.35rem, 2.4vw, 2rem); padding-bottom: .2rem; }
.prog__head .tabs--titles .tab[aria-selected="true"]::after { bottom: calc(-1 * clamp(1.1rem, 2vw, 1.5rem) - 1px); }

/* -------- admissions journey (v1 stepped design, ported to v2 tokens) -------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; position: relative; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.steps::before { content: ""; position: absolute; top: calc(1rem + 28px); left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-paper) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding-top: 1rem; }
.step__num { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line-paper); color: var(--navy); font-family: var(--sans); font-weight: 700; font-size: 1.15rem; position: relative; z-index: 2; }
.step:nth-child(odd) .step__num { border-color: var(--navy); }
.step__num::before { counter-increment: s; content: "0" counter(s); }
.step h4 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-family: var(--sans); color: var(--muted); font-size: .86rem; line-height: 1.5; }

/* -------- alumni (template grid; monogram until photos are supplied) -------- */
.alum { padding: var(--sect) 0; background: var(--paper-2); }
.agrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.acard a { display: block; color: inherit; text-decoration: none; }
.acard__ph { display: grid; place-items: center; aspect-ratio: 4/5; background: var(--navy); color: var(--paper); overflow: hidden; }
.acard__ph img { width: 100%; height: 100%; object-fit: cover; }
.acard__ph b { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; letter-spacing: .02em; opacity: .92; }
.acard:nth-child(3n+2) .acard__ph { background: var(--plum); }
.acard:nth-child(3n)   .acard__ph { background: var(--cyan); }
.acard__n { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin-top: .7rem; }
.acard__r { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: .1rem; }
.acard__b { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-top: .5rem; }
.alum__note { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: clamp(1.5rem, 3vw, 2rem); }

/* steps responsive */
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } .steps::before { display: none; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* -------- richer photo treatment (kill the ghostly wash) -------- */
.hero__bg img { filter: contrast(1.05) saturate(.92) brightness(.96); }
.hero__tint { mix-blend-mode: multiply; opacity: .42; }
.prog__media img { filter: contrast(1.04) saturate(.98); mix-blend-mode: normal; opacity: 1; }
.prog__media .tint { mix-blend-mode: multiply; opacity: .14; }
.fmini__img img { filter: contrast(1.04) saturate(.98); mix-blend-mode: normal; opacity: 1; }
.fmini__img .tint { mix-blend-mode: multiply; opacity: .14; }
.fmini:hover .fmini__img img { filter: contrast(1.02) saturate(1.05); }
.fmini:hover .fmini__img .tint { opacity: 0; }
.video__main img { filter: brightness(.78); }
/* varied brand tints across the grid to kill monotony (navy / plum / cyan) */
.fmini:nth-child(3n+2) .fmini__img .tint { background: var(--plum); }
.fmini:nth-child(3n)   .fmini__img .tint { background: var(--cyan); opacity: .12; }

/* -------- nav: solid white, full-colour bigger logos -------- */
.nav { background: #fff; box-shadow: 0 1px 0 var(--line-paper); padding: 1.05rem 0; }
.nav__brand img { filter: none; height: 66px; width: auto; }
.nav__brand .ti { filter: none; height: 56px; width: auto; }
.nav__brand .sep { background: var(--line-paper); height: 36px; }
.nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--navy); }
.nav__apply { color: var(--navy); }
.nav__burger span { background: var(--ink); }
.nav.scrolled { background: #fff; box-shadow: 0 12px 30px -20px rgba(1,51,140,.35); padding: .7rem 0; }
.nav.scrolled .nav__brand img { height: 46px; width: auto; }
.nav.scrolled .nav__brand .ti { height: 40px; width: auto; }

/* -------- reveal -------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* -------- responsive -------- */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0; background: var(--ink); padding: .5rem 1.25rem 1.25rem; transform: translateY(-140%); transition: transform .35s ease; z-index: 40; }
  .nav.open .nav__links { transform: translateY(0); }
  .nav__links a { padding: .95rem 0; border-bottom: 1px solid var(--line-ink); }
  .nav.scrolled .nav__links { top: 52px; }
  .nav__burger { display: block; }
  .nav.open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .proof__grid, .prog__block, .admit__grid, .enquire__grid, .figures__hero { grid-template-columns: 1fr; }
  .proof__aside { position: static; }
  .prog__block.rev .prog__media { order: 0; }
  .faculty__feature, .value__grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 3.2rem 1fr; }
  .row__d { grid-column: 2; }
  .foot__grid {grid-template-columns: repeat(1,1fr);}
  .foot__brand { grid-column: 1 / -1; }
  .form .row2 { grid-template-columns: 1fr; }
  .wall__grid, .pwall, .agrid { grid-template-columns: repeat(3, 1fr); }
  .prog__head { grid-template-columns: 1fr; align-items: start; }
  .dean { grid-template-columns: 1fr; }
  .dean__img { max-width: 220px; }
  .mcta { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 560px) {
  .figures__side { grid-template-columns: 1fr 1fr; }
  .wall__grid, .pwall, .agrid {grid-template-columns: repeat(2, 1fr);}
  /* the two co-brand lockups don't fit a phone-width row alongside the burger at their tablet size */
  .nav__brand { gap: .5rem; }
  .nav__brand img { height: 30px; }
  .nav__brand .ti { height: 26px; }
  .nav__brand .sep { height: 20px; }
}
@media (max-width: 900px) {
  .nav__links { background: #fff; box-shadow: 0 14px 30px -20px rgba(1,51,140,.35); }
  .nav__links a { color: var(--ink); border-bottom-color: var(--line-paper); }
  .nav__burger span { background: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
