.programme-welcome { background: #081b34; }
.showcase-credit { color: #c4d0e4; text-align: center; padding: 8px 20px; font-size: 11px; }
.showcase-credit a { text-decoration: underline; text-underline-offset: 2px; }
.showcase {
  --gold: #ffd16d;
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--public-header-height));
  overflow: clip;
  background: #081b34;
  color: #fffaf2;
}
.showcase-art { position: absolute; inset: -20px 0 0; z-index: -2; pointer-events: none; }
.showcase-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.showcase::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #061326bc, #06132630 31%, transparent 52%);
}
.showcase-inner {
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(17px, 3svh, 46px) clamp(24px, 4.8vw, 84px) clamp(26px, 4svh, 52px);
}
.showcase-copy { text-align: center; text-shadow: 0 2px 12px #061325; }
.showcase h1, .showcase-grade h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.04em; }
.showcase h1 { margin: 0 0 9px; font-size: clamp(34px, min(4.55vw, 7.2svh), 69px); line-height: 1.04; text-wrap: balance; }
.showcase-lead { margin: 0 auto; max-width: 61ch; font-size: clamp(14px, min(1.24vw, 2.35svh), 19px); line-height: 1.42; }
.showcase .showcase-button {
  position: relative; isolation: isolate; overflow: clip;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: 44px; max-width: 100%; padding: 8px 20px; border-radius: 999px;
  border-color: #ffda84; background: #fff2de;
  --liquid-ink: #092750;
  --wave: #ffc382;
  --wave-edge: #e78d48;
  box-shadow: 0 4px 16px #060e254d, inset 0 1px #fff5;
  font: 600 clamp(12px, 1.08vw, 16px)/1.2 Academy, 'Segoe UI', sans-serif;
}
.showcase :focus-visible { outline: 2px solid #fff1bc; outline-offset: 3px; }
.showcase-grades {
  position: relative;
  width: min(100%, 147svh);
  margin: clamp(22px, 4.4svh, 68px) auto 0;
}
.showcase-track {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.39fr 1.1fr 1fr;
  gap: clamp(8px, .9vw, 17px);
  align-items: end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.showcase.is-staging :is(.showcase-art, .showcase-copy h1, .showcase-lead, .showcase-grade, .showcase-catalogue-link) {
  opacity: 0;
}
.showcase-grade {
  --angle: 0deg; --lift: 0px; --art-x: 0%;
  position: relative; isolation: isolate; display: grid; align-items: end; grid-template-rows: minmax(0, 1fr); min-width: 0;
  aspect-ratio: 244 / 352; overflow: clip;
  border: 1px solid #bad2f27a; border-top-color: #e5edffb3; border-radius: clamp(10px, 1.1vw, 17px);
  background: linear-gradient(148deg, #17365c, var(--academy-navy) 67%, #0b182b);
  color: #fff;
  box-shadow: inset 0 0 20px #a1bcf32c, 0 13px 26px #0006;
  transform: perspective(1120px) rotateY(var(--angle)) translateY(var(--lift));
  transform-origin: center bottom;
  transition: border-color .24s ease, box-shadow .24s ease;

}
.grade-position-0 { --angle: -23deg; --lift: -12px; aspect-ratio: 225 / 327; }
.grade-position-1 { --angle: -16deg; --lift: -6px; z-index: 1; }
.grade-position-2 { aspect-ratio: 311 / 418; z-index: 2; }
.grade-position-3 { --angle: 16deg; --lift: -6px; z-index: 1; }
.grade-position-4 { --angle: 23deg; --lift: -12px; aspect-ratio: 225 / 327; }
.showcase-grade-e { --art-x: 0%; }
.showcase-grade-d { --art-x: 25%; }
.showcase-grade-c { --art-x: 50%; }
.showcase-grade-b { --art-x: 75%; }
.showcase-grade-a { --art-x: 100%; }
.showcase-grade-bundle { --art-x: 50%; }
.showcase-grade-bundle h2 { font-size: clamp(20px, min(2.1vw, 3.5svh), 32px); text-wrap: balance; }
.showcase-grade-bundle .showcase-grade-art { background-size: 230% auto; background-position: 52% 20%; }
.showcase-grade.is-centre {
  border-color: #ffda8c;
  box-shadow: 0 0 0 1px #ffda8c, 0 0 9px #ffda8cbc, 0 0 25px #ffb13e80, 0 16px 36px #0006;
}
.showcase-grade:has(.showcase-select:is(:hover, :focus-visible)) {
  border-color: #ffe2a0;
  box-shadow: 0 0 18px #ffba5666, 0 16px 34px #0008;
}
.showcase-grade.is-centre:has(.showcase-select:is(:hover, :focus-visible)) {
  box-shadow: 0 0 0 1px #ffda8c, 0 0 24px #ffba56ac, 0 16px 34px #0008;
}
.showcase-select {
  position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%;
  border: 0; background: transparent; border-radius: inherit;
}
.showcase-select:focus-visible { outline-offset: -5px; }
.showcase-grade .showcase-grade-copy { transition: translate .28s ease; }
.showcase-grade:has(.showcase-select:is(:hover, :focus-visible)) .showcase-grade-copy { translate: 0 -5px; }
.showcase-grade .showcase-grade-art { transition: filter .28s ease; }
.showcase-grade:has(.showcase-select:is(:hover, :focus-visible)) .showcase-grade-art { filter: brightness(1.2) saturate(1.12); }

.showcase-grade-art {
  position: absolute; z-index: -2; inset: 0 0 auto; height: 62%;
  background: #173854 url('showcase-grades.webp') var(--art-x) 29% / 500% auto no-repeat;
  mask-image: linear-gradient(#000 61%, transparent);
}
.showcase-grade::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(164deg, transparent 43%, #142e4a72 43.4%, #071629c4 64%, #081b31 87%, #17304bb3);
}
.showcase-grade-copy {
  text-align: center; min-width: 0;
  padding: 0 clamp(8px, 1.05vw, 17px) clamp(12px, 2.05svh, 26px);
  text-shadow: 0 2px 7px #050d19;
}
.showcase-badge { width: clamp(23px, 2.6vw, 42px); height: clamp(25px, 2.9vw, 46px); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.showcase-grade h2 { font-size: clamp(21px, min(2.65vw, 4.15svh), 38px); line-height: 1.05; }
.showcase-grade p { min-height: 4.05em; max-width: 22ch; margin: 7px auto 10px; font-size: clamp(12px, min(1.12vw, 1.93svh), 17px); line-height: 1.35; }
.showcase-catalogue-link { display: grid; justify-items: center; margin-top: clamp(30px, 5.4svh, 64px); }
.showcase-catalogue-link .showcase-button { min-height: 53px; padding-inline: clamp(26px, 4.15vw, 60px); font-size: clamp(15px, 1.42vw, 21px); }
@media (max-width: 1260px) {
  .showcase-grades { width: min(100%, 147svh); }
}
@media (min-width: 661px) and (max-width: 980px) {
  .showcase-inner { padding-inline: 16px; }
  .showcase-grade { min-height: 228px; }
  .showcase-grade.is-centre { min-height: 250px; }
}
@media (max-width: 660px) {
  .showcase-art, .showcase-grades, .showcase-line-break { display: none; }
  .showcase-inner { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-grade, .showcase-grade .showcase-grade-art, .showcase-grade .showcase-grade-copy { transition: none; }
  .showcase-grade:has(.showcase-select:is(:hover, :focus-visible)) .showcase-grade-copy { translate: none; }
}

.showcase.programme-motion-surface {
  position: fixed;
  inset: 0;
  z-index: 15;
  min-height: 0;
  padding: 0;
  background: none;
  pointer-events: none;
  overflow: clip;
}
.showcase.programme-motion-surface::after { content: none; }
.programme-motion-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }
.programme-motion-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }

.showcase.programme-motion-surface.is-blueprint-building { background: #081b34; }
.programme-converging-card {
  position: absolute; left: 0; top: 0; transform-origin: 0 0;
  will-change: transform; pointer-events: none;
}
.programme-converging-card > .programme-original-face {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  aspect-ratio: auto; transform: none; translate: none; margin: 0;
}
/* A reflective gold bead: bronze shadows and narrow champagne reflections. */
.programme-origin-point {
  position: absolute; z-index: 8; width: 18px; height: 18px;
  translate: -50% -50%; border-radius: 50%; border: 1px solid #d9b878;
  background:
    radial-gradient(ellipse 30% 20% at 29% 23%, #fff9e6 0 15%, #fff9e600 72%),
    linear-gradient(135deg, #664414 0%, #b78d46 20%, #f0d8a2 32%, #99702d 42%, #624215 49%, #bd8d3c 60%, #e7cb8e 75%, #865b1f 100%);
  box-shadow: inset 0 1px 1px #fff4d6c4, inset -1px -2px 3px #3f280c9c, 0 0 13px #c2974b73, 0 0 30px #ae7f382b;
  pointer-events: none;
}
.programme-material-canvas { position: absolute; inset: 0; background: #fbf2e7; }
.programme-blueprint {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  pointer-events: none;
}
.programme-blueprint-region > * {
  fill: none; stroke: #d19958; stroke-width: 1.2; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
}
.programme-blueprint-region .programme-blueprint-connection { stroke-width: .7; opacity: .55; }
.programme-blueprint-region .programme-blueprint-detail { opacity: .55; stroke-width: .8; }
.programme-material-region { pointer-events: none; will-change: clip-path; }
.programme-material-region.course-card { transition: none; }
.programme-material-region .course-card-photo img { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .programme-origin-point { box-shadow: none; }
}

 .programme-origin-point::before {
  content: ''; position: absolute; width: 5px; height: 3px; left: 4px; top: 3px;
  border-radius: 50%; rotate: -35deg; background: #fff8e3bf;
}
.programme-origin-point::after {
  content: ''; position: absolute; width: 2px; height: 1px; right: 3px; bottom: 3px;
  border-radius: 50%; background: #ecd5a4a6;
}
.programme-material-layer { position: absolute; inset: 0; }
.programme-card-skin { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.programme-material-region.course-card > :is(.course-card-photo,.course-card-body) { position: relative; z-index: 1; }
.programme-build-edge {
  position: absolute; inset: 0 auto 0 0; width: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent,#d6b77e 22% 78%,transparent);
  box-shadow: 0 0 5px #d6b77e63;
}

/* Warm resting surface needs navy type; liquid hover retains the same contrast. */
.programme-welcome .showcase .showcase-button{color:#092750}
.programme-welcome .showcase .showcase-button:is(:hover,:focus-visible,:active){color:#142138}
