/* Public learning links remain grouped without changing the marketing routes. */
.nav-learning { display: flex; align-items: center; gap: 0.75rem; }
.nav-learning a { letter-spacing: 0.08em; }
@media (min-width: 1261px) {
  .nav-menu { gap: 1rem; }
  .nav-links { gap: 0.8rem; }
  .nav-end { gap: 0.75rem; }
}
@media (max-width: 1260px) {
  .nav-learning { grid-column: 1 / -1; justify-content: space-between; flex-wrap: wrap; gap: 0 1rem; }
  .nav-end .nav-learning .nav-login { justify-self: start; }
}
/* The scaled centre card needs real layout space inside paint containment. */
#knowledge { padding-top: clamp(2.5rem, 5vw, 4rem); }
#knowledge .lum-card { text-decoration: none; min-width: 0; }
#knowledge .lum-card__title { font-size: clamp(1.05rem, 1.65vw, 1.45rem); line-height: 1.2; overflow-wrap: anywhere; }
#knowledge .lum-card:focus-visible { outline: 3px solid var(--gold); outline-offset: -5px; }
.course-detail { margin: 1rem 0 0; font-size: 0.9375rem; line-height: 1.65; }
.course-availability { margin-top: 2rem; max-width: 70ch; }
@media (max-width: 640px) {
  #knowledge .lum-deck-shell { grid-template-columns: minmax(0, 1fr); }
  #knowledge .lum-deck { grid-auto-columns: 82%; padding: 0.5rem; justify-content: start; scroll-padding-inline: 0.5rem; }
  #knowledge .lum-card__title { font-size: 1.25rem; }
}
/* Restrained finishing pass. Brand assets, palette and font pairing stay intact. */
/* Keep the official mark available while loading, and without WebGL/CDN access. */
/* hidden on body implicitly makes overflow-y:auto and traps the sticky hero. */
body { overflow-x: clip; }
.saga-fallback { position: absolute; width: min(27vw, 22rem); height: auto; left: 60%; top: 20%; transform: translateX(-50%); fill: var(--gold); pointer-events: none; }
.saga.gl-ready:not(.no-gl) .saga-fallback { display: none; }
.saga.no-gl #saga-gl { display: none; }
.saga.no-gl .saga-stage { min-height: 100svh; }
.saga.no-gl .saga-copy, .saga.no-gl .saga-rail { opacity: 1 !important; visibility: visible !important; }
@media (max-width: 1020px) {
  .saga-fallback { width: min(46vw, 14rem); left: 50%; top: 6.5rem; }
  .saga.no-gl .saga-grid { padding-top: 20rem; }
}
:root { --ink-3: #A69AB9; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
p { text-wrap: pretty; }
/* Long translated subject names must stay inside their own card. */
.know-grid .lum-panel { min-width: 0; }
.know-grid .lum-card__title { font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.2; overflow-wrap: anywhere; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
.btn, .lum-btn { min-height: 44px; justify-content: center; }
.btn:active, .lum-btn:active { transform: translateY(1px); }
.btn:disabled { transform: none; box-shadow: none; }
.nav .lang button { min-width: 44px; }
.nav-login[aria-current] { color: var(--gold); text-decoration: underline; text-underline-offset: 0.5em; }
.skip-link { position: fixed; top: 0.75rem; left: var(--pad); z-index: 60; padding: 0.75rem 1rem; background: var(--gold); color: var(--void); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
main, [id="start"], [id="film"] { scroll-margin-top: 7rem; }
/* Unlayered h2 rules otherwise overrule the original layered tile typography. */
.lum-program { min-width: 0; padding-inline: clamp(1rem, 2vw, 2rem); }
.lum-program .lum-program__title { width: 100%; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.4rem); font-weight: 500; line-height: 1.3; letter-spacing: 0.065em; overflow-wrap: anywhere; }
.lum-program .lum-program__body { font-size: 0.9375rem; line-height: 1.65; }
.lum-program .lum-btn--round { margin-top: auto; }
.lum-program .lum-program__age { margin-bottom: 0.5rem; }
.page:not([data-route="/"]) > .lum > .lum-section:first-child { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page:not([data-route="/"]) > .lum > .lum-section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.lum-foot .foot-fine { font-size: 0.8125rem; line-height: 1.65; }
.lum-foot .optin-status { color: var(--ink-2); line-height: 1.6; }
.lum-foot .optin-status.bad { color: var(--lilac); border-left: 2px solid var(--gold); padding-left: 0.75rem; }
.lum-foot .optin-status.good { color: var(--gold); }
.lum-field.optin { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; padding: 0.875rem; }
.lum-field label { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 0.25rem; }
.lum-field input { min-width: 0; width: 100%; font-size: 1rem; }
.lum-field__go { min-width: 44px; min-height: 44px; }
.lum-field:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }
.optin[aria-busy="true"] { opacity: 0.7; }
@media (max-width: 600px) {
  .lum-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .lum-foot__grid > :first-child, .lum-foot__news { grid-column: 1 / -1; }
  .lum-foot__grid > :first-child { margin-bottom: 0.75rem; }
  .lum-foot__bottom { margin-top: 2.5rem; }
  .lum-foot { padding-top: 3rem; }
  .btn { white-space: normal; text-align: center; }
  .field input, .field textarea { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .btn, .lum-btn, .lum-program { transition: none; }
  /* Keep feedback through colour/outline, not hover/press displacement. */
  .btn:hover, .btn:active, .lum-btn:hover, .lum-btn:active,
  .lum-program:hover, .choice:hover, .choice:active { transform: none !important; }
  .choice, .choice::before, .choice::after { transition: none !important; }
}
