/* Editorial layout and the pointer-led spotlight inspired by React Bits Spotlight Card. */
:root {
  --editorial-ink: #2f192b; --editorial-accent: #762d4d; --editorial-surface: #faecdf;
  --editorial-edge: #65344e40; --editorial-light: #ffedd085;
}
:root[data-theme="dark"] {
  --editorial-ink: #fff2e8; --editorial-accent: #ffc19b; --editorial-surface: #241c2b;
  --editorial-edge: #e89fbd45; --editorial-light: #ffbb8a44;
}
.site-courses #programmes > .wrap { position:relative; z-index:1 }
.course-opening {
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;
  min-height:clamp(330px,38vw,500px);border:1px solid var(--editorial-edge);border-radius:clamp(18px,4vw,38px);
  overflow:hidden;background:var(--editorial-surface);
  background:radial-gradient(ellipse at 85% 0%,#b383c539,transparent 61%),var(--editorial-surface);
  box-shadow:0 18px 60px #391a3920;margin-bottom:1.6rem
}
.course-opening .section-head {display:block;margin:0;padding:clamp(1.5rem,4.4vw,4.6rem);color:var(--editorial-ink)}
.course-opening .section-head h2 {font-size:clamp(2.4rem,5.1vw,5.4rem);line-height:.98;letter-spacing:-.025em;color:inherit;margin-block:.3em}
.course-opening .section-head h2 em {color:var(--editorial-accent)}
.course-opening .section-head p {color:inherit;max-width:48ch;font-size:clamp(1rem,1.35vw,1.2rem)}
.course-opening .section-head .eyebrow {color:var(--editorial-accent)}
.course-portrait {position:relative;align-self:stretch;min-height:18rem;isolation:isolate;overflow:hidden}
.course-portrait .stage-disc {
 position:absolute;top:11%;left:50%;width:min(75%,22rem);aspect-ratio:1;translate:-50% 0;border-radius:50%;
 background:radial-gradient(circle at 35% 25%,#6fafe6,#3d76b4 63%,#294a83);box-shadow:0 12px 42px #2d58734a
}
.course-portrait img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;transform-origin:50% 35%}
.course-portrait .stage-panels {border-radius:0}
:root #programmes .programme-card:is(:hover,:focus-within) {animation:none}
.spotlight-card {position:relative;isolation:isolate}
.spotlight-card::after {
 content:"";position:absolute;z-index:1;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
 background:radial-gradient(ellipse 14rem 11rem at var(--spot-x,50%) var(--spot-y,50%),var(--editorial-light),transparent 100%);
 transition:opacity .2s ease;mix-blend-mode:soft-light
}
.spotlight-card:is(:hover,:focus-within)::after {opacity:1}
:root #programmes .programme-card.spotlight-card {border-radius:20px;border:1px solid var(--editorial-edge);box-shadow:0 8px 25px #3d254323;transition:translate .23s ease,box-shadow .23s ease}
:root #programmes .programme-card.spotlight-card:is(:hover,:focus-within) {translate:0 -5px;box-shadow:0 16px 36px #26162750}
.site-fees .price-card.spotlight-card,.site-about .research-card.spotlight-card {border-radius:20px}
.site-fees .price-card dd {font-variant-numeric:tabular-nums}
:root[data-theme="dark"] .site-fees .price-card {background:#29202c;color:#fff2e8}
:root[data-theme="dark"] .site-fees .price-card small {color:#f2d7e1}
.contact-grid .spotlight-card:is(:hover,:focus-visible)::after {opacity:1}
@media(max-width:760px) {
 .course-opening {grid-template-columns:minmax(0,1fr);min-height:0}
 .course-opening .section-head {padding:1.25rem}
 .course-portrait {min-height:clamp(14rem,66vw,22rem)}
 .course-portrait .stage-disc {width:min(62%,16rem);top:7%}
}
@media(prefers-reduced-motion:reduce) {
 .spotlight-card,.spotlight-card::after,:root #programmes .programme-card.spotlight-card {transition:none!important}
 :root #programmes .programme-card.spotlight-card:is(:hover,:focus-within) {translate:none}
}
/* Keep the opening legible inside the older dark programme section. */
:root #programmes .course-opening .section-head :is(h2,p,.eyebrow){color:var(--editorial-ink)}
:root #programmes .course-opening .section-head :is(h2 em,.eyebrow){color:var(--editorial-accent)}
html.lenis,html.lenis body{height:auto}
html.lenis.lenis-smooth{scroll-behavior:auto!important}
