/* Shared production styles for the Academy's multi-page learning routes. */

.eyebrow--dark {
  color: rgba(7, 29, 51, .62);
}

.route-hero {
  position: relative;
  min-height: min(880px, 92svh);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, .95fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 12%, rgba(38, 215, 233, .16), transparent 24rem),
    var(--paper);
}

.route-hero::before {
  content: "";
  position: absolute;
  top: clamp(2rem, 7vw, 7rem);
  left: clamp(1rem, 5vw, 5rem);
  width: 6rem;
  height: 6rem;
  border-top: 1px solid rgba(0, 169, 199, .46);
  border-left: 1px solid rgba(0, 169, 199, .46);
  pointer-events: none;
}

.route-hero__copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 12vw, 11rem) clamp(2rem, 6vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.route-hero h1,
.editorial-heading h2,
.learning-method h2,
.finder-heading h2,
.route-page-close h2,
.people-bridge h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.055em;
}

.route-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(4.2rem, 5.4vw, 8.4rem);
  line-height: .84;
  text-wrap: balance;
}

.route-hero h1 em,
.editorial-heading h2 em,
.learning-method h2 em,
.finder-heading h2 em,
.route-page-close h2 em,
.people-bridge h2 em {
  color: var(--cyan-text);
  font-weight: 500;
}

.editorial-heading--light h2 em,
.routefinder-section .finder-heading h2 em,
.people-bridge h2 em {
  color: var(--cyan);
}

.learning-routes .kicker,
.routefinder-section .kicker,
.people-bridge .kicker {
  color: var(--coral);
}

.route-hero__lead {
  max-width: 43rem;
  margin: 2.2rem 0 0;
  color: rgba(7, 29, 51, .72);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.72;
}

.route-hero__copy > .primary-action {
  width: fit-content;
  margin-top: 2.2rem;
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.4rem;
  margin-top: 2rem;
}

.hero-jump a {
  padding-bottom: .25rem;
  border-bottom: 1px solid rgba(7, 29, 51, .36);
  font-size: .8rem;
  font-weight: 800;
}

.route-hero__visual {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
  background: var(--ink);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.route-hero__visual picture,
.route-hero__visual img {
  width: 100%;
  height: 100%;
}

.route-hero__visual img {
  object-fit: cover;
  object-position: 53% center;
}

.route-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 29, 51, .08), transparent 46%, rgba(7, 29, 51, .55)),
    linear-gradient(90deg, rgba(7, 29, 51, .16), transparent 35%);
  pointer-events: none;
}

.visual-stamp {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: end;
  gap: .8rem;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  background: var(--cyan-bright);
  box-shadow: var(--shadow);
}

.visual-stamp strong {
  font-family: var(--display);
  font-size: 4.5rem;
  font-weight: 500;
  line-height: .7;
}

.visual-stamp span {
  font-size: .65rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.visual-quote {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vw, 4rem);
  width: min(23rem, calc(100% - 3rem));
  margin: 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--coral);
  color: var(--white);
  background: rgba(7, 29, 51, .78);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.18;
  backdrop-filter: blur(14px);
}

.worlds-intro,
.audiences,
.learning-method,
.people-bridge,
.route-page-close {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem);
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(12rem, .62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin: 3.5rem 0 4.5rem;
}

.editorial-heading h2,
.finder-heading h2,
.learning-method h2,
.people-bridge h2,
.route-page-close h2 {
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 6.4rem);
  line-height: .94;
  text-wrap: balance;
}

.editorial-heading > div > p {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: rgba(7, 29, 51, .66);
  line-height: 1.75;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.world-card {
  min-height: 29rem;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.world-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
}

.world-card__top span {
  font-family: var(--display);
  font-size: 1.6rem;
}

.world-card__top b {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.world-card h3 {
  max-width: 100%;
  margin: auto 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

.world-card > p {
  margin: 0 0 1.4rem;
  font-size: .9rem;
  line-height: 1.65;
}

.world-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.world-card li {
  position: relative;
  padding: .55rem 0 .55rem 1.15rem;
  border-top: 1px solid rgba(7, 29, 51, .12);
  font-size: .75rem;
  line-height: 1.4;
}

.world-card li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--cyan);
}

.world-card--aqua { background: var(--aqua); }
.world-card--sand { background: var(--sand); }
.world-card--coral { background: #ffe0d8; }

.world-card--ink {
  color: var(--white);
  background: var(--ink);
}

.world-card--ink li {
  border-color: rgba(255, 255, 255, .14);
}

.world-card--ink li::before {
  background: var(--cyan-bright);
}

.learning-routes {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(38, 215, 233, .16), transparent 25rem),
    var(--ink);
}

.editorial-heading--light > div > p {
  color: rgba(255, 255, 255, .65);
}

.audience-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.audience-route {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 10rem;
  padding: 1.6rem 1.8rem;
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: color .2s ease, background .2s ease;
}

.audience-route:hover,
.audience-route:focus-visible {
  color: var(--ink);
  background: var(--cyan-bright);
}

.audience-route__number {
  color: var(--cyan-bright);
  font-family: var(--display);
  font-size: 1.45rem;
}

.audience-route:hover .audience-route__number,
.audience-route:focus-visible .audience-route__number {
  color: var(--ink);
}

.audience-route strong,
.audience-route small {
  display: block;
}

.audience-route strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
}

.audience-route small {
  margin-top: .4rem;
  color: rgba(255, 255, 255, .58);
  font-size: .73rem;
}

.audience-route:hover small,
.audience-route:focus-visible small {
  color: rgba(7, 29, 51, .66);
}

.learning-method {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  background: var(--sand);
}

.method-visual {
  position: relative;
  min-height: 48rem;
  overflow: hidden;
  border-radius: 50% 50% 1.5rem 1.5rem;
  background: var(--ink);
}

.method-visual picture,
.method-visual img {
  width: 100%;
  height: 100%;
}

.method-visual img {
  object-fit: cover;
}

.method-copy h2 {
  margin-top: 1.2rem;
}

.method-steps {
  margin: 2.5rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.method-steps li > span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
}

.method-steps strong {
  font-size: .88rem;
}

.method-steps p {
  margin: .35rem 0 0;
  color: rgba(7, 29, 51, .62);
  font-size: .78rem;
  line-height: 1.55;
}

.routefinder-section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  color: var(--white);
  background:
    radial-gradient(circle at 10% 90%, rgba(0, 169, 199, .18), transparent 28rem),
    var(--ink);
}

.finder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, .6fr);
  gap: 3rem;
  align-items: end;
  margin: 3.5rem 0 4rem;
}

.finder-heading h2 {
  margin-top: 1.25rem;
}

.finder-privacy {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .7rem;
  align-items: start;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .64);
  font-size: .76rem;
  line-height: 1.55;
}

.finder-privacy span {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cyan-bright);
  font-weight: 900;
}

.routefinder {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 1.2rem;
}

.route-options {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.route-options legend {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .52);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.route-choice {
  position: relative;
}

.route-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.route-choice label {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  min-height: 6.8rem;
  align-content: center;
  column-gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.route-choice label:hover {
  border-color: rgba(38, 215, 233, .58);
  background: rgba(38, 215, 233, .07);
  transform: translateX(.2rem);
}

.route-choice input:focus-visible + label {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus-outer);
}

.route-choice input:checked + label {
  color: var(--ink);
  border-color: var(--cyan-bright);
  background: var(--cyan-bright);
}

.route-choice label > span {
  grid-row: span 2;
  align-self: center;
  color: var(--cyan-bright);
  font-family: var(--display);
  font-size: 1.35rem;
}

.route-choice input:checked + label > span {
  color: var(--ink);
}

.route-choice label strong {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 500;
  line-height: 1.15;
}

.route-choice label small {
  margin-top: .35rem;
  color: rgba(255, 255, 255, .52);
  font-size: .68rem;
}

.route-choice input:checked + label small {
  color: rgba(7, 29, 51, .66);
}

.routefinder-results {
  position: sticky;
  top: 1.2rem;
  align-self: start;
  min-height: 31rem;
}

.routefinder-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.routefinder-empty,
.route-result {
  min-height: 31rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 1.5rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(38, 215, 233, .28), transparent 17rem),
    var(--paper);
}

.routefinder-empty {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-content: center;
}

.routefinder-empty > span {
  color: var(--cyan-text);
  font-size: 2rem;
}

.routefinder-empty strong {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
}

.routefinder-empty p {
  max-width: 27rem;
  margin: 1rem 0 0;
  color: rgba(7, 29, 51, .64);
  line-height: 1.7;
}

.route-result {
  display: none;
  align-content: start;
}

.route-result__eyebrow {
  margin: 0 0 1.2rem;
  color: var(--coral-text);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.route-result h3 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.05em;
}

.route-result > p:not(.route-result__eyebrow) {
  max-width: 38rem;
  margin: 1.4rem 0;
  color: rgba(7, 29, 51, .68);
  line-height: 1.65;
}

.route-result__worlds {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.5rem;
}

.route-result__worlds span {
  padding: .45rem .7rem;
  border: 1px solid rgba(7, 29, 51, .16);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
}

.route-result ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: route-step;
}

.route-result li {
  counter-increment: route-step;
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  align-items: center;
  min-height: 2.8rem;
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

.route-result li::before {
  content: counter(route-step, decimal-leading-zero);
  color: var(--cyan-text);
  font-family: var(--display);
}

.route-result > a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 850;
}

.routefinder:has(#route-school:checked) .routefinder-empty,
.routefinder:has(#route-studenten:checked) .routefinder-empty,
.routefinder:has(#route-docent:checked) .routefinder-empty,
.routefinder:has(#route-werk:checked) .routefinder-empty,
.routefinder:has(#route-organisaties:checked) .routefinder-empty,
.routefinder:has(#route-zelfstandig:checked) .routefinder-empty {
  display: none;
}

.routefinder:has(#route-school:checked) [data-result="school"],
.routefinder:has(#route-studenten:checked) [data-result="studenten"],
.routefinder:has(#route-docent:checked) [data-result="docent"],
.routefinder:has(#route-werk:checked) [data-result="werk"],
.routefinder:has(#route-organisaties:checked) [data-result="organisaties"],
.routefinder:has(#route-zelfstandig:checked) [data-result="zelfstandig"] {
  display: grid;
}

.audience-list {
  border-top: 1px solid var(--line);
}

.audience-panel {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.35fr) minmax(13rem, .65fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.audience-panel__number {
  color: var(--cyan-text);
  font-family: var(--display);
  font-size: 1.7rem;
}

.audience-panel__label {
  margin: 0 0 1rem;
  color: var(--coral-text);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.audience-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 4.9rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.05em;
}

.audience-panel__main > p:last-child {
  max-width: 48rem;
  margin: 1.35rem 0 0;
  color: rgba(7, 29, 51, .66);
  line-height: 1.72;
}

.audience-panel__outcome {
  padding: 1.2rem;
  border-radius: 1rem;
  background: var(--sand);
}

.audience-panel__outcome strong {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.audience-panel__outcome ul {
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.audience-panel__outcome li {
  padding: .45rem 0;
  border-top: 1px solid var(--line);
  font-size: .74rem;
}

.audience-panel > a {
  grid-column: 2 / -1;
  justify-self: start;
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  padding-bottom: .3rem;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 850;
}

.people-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  color: var(--white);
  background: var(--ink);
}

.people-bridge__photo {
  min-height: 48rem;
  overflow: hidden;
}

.people-bridge__photo picture,
.people-bridge__photo img {
  width: 100%;
  height: 100%;
}

.people-bridge__photo img {
  object-fit: cover;
}

.people-bridge__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 6rem);
}

.people-bridge__copy > p:not(.kicker) {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, .68);
  line-height: 1.72;
}

.bridge-points {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.bridge-points span {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem;
  font-weight: 750;
}

.bridge-points b {
  color: var(--cyan-bright);
  font-family: var(--display);
  font-weight: 500;
}

.route-page-close {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background:
    linear-gradient(115deg, transparent 0 68%, rgba(0, 169, 199, .1) 68%),
    var(--aqua);
}

.route-page-close h2 {
  max-width: 72rem;
  margin-top: 1.5rem;
}

.route-page-close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.2rem;
}

body[data-page="leerwerelden"] .mobile-route-list [data-nav-page="leerwerelden"],
body[data-page="voor-wie"] .mobile-route-list [data-nav-page="voor-wie"] {
  color: var(--ink);
  border-color: rgba(255, 255, 255, .38);
  background: linear-gradient(108deg, rgba(200, 243, 244, .52), rgba(255, 255, 255, .2));
  box-shadow:
    inset 3px 0 var(--cyan-text),
    inset 0 1px rgba(255, 255, 255, .58),
    0 10px 26px rgba(7, 29, 51, .1);
}

body[data-page="leerwerelden"] .mobile-route-list [data-nav-page="leerwerelden"] b,
body[data-page="voor-wie"] .mobile-route-list [data-nav-page="voor-wie"] b {
  color: var(--ink);
}

@supports not selector(:has(*)) {
  .routefinder-empty { display: none; }
  .route-result {
    display: grid;
    min-height: auto;
    margin-bottom: 1rem;
  }
  .routefinder-results { position: static; }
}

@media (max-width: 1360px) {
  .route-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .route-hero::before {
    display: none;
  }

  .route-hero__copy {
    padding: clamp(5.5rem, 9vw, 8rem) clamp(2rem, 7vw, 5rem) clamp(4rem, 7vw, 6rem);
  }

  .route-hero h1 {
    max-width: 14ch;
    font-size: clamp(4.5rem, 9vw, 7.2rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .route-hero__visual {
    min-height: min(68vw, 44rem);
    max-height: 44rem;
    clip-path: none;
  }

  .world-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-card:last-child {
    grid-column: span 2;
  }

  .world-card {
    min-height: 27rem;
  }

  .routefinder {
    grid-template-columns: minmax(0, 1fr);
  }

  .routefinder-results {
    position: static;
  }

  .audience-panel {
    grid-template-columns: 3rem minmax(0, 1fr) minmax(13rem, .55fr);
  }
}

@media (max-width: 820px) {
  .route-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .route-hero::before {
    display: none;
  }

  .route-hero__copy {
    padding: 7.5rem 1.2rem 4rem;
  }

  .route-hero h1 {
    max-width: 15ch;
    font-size: clamp(3.8rem, 16vw, 6.2rem);
  }

  .route-hero__visual {
    min-height: 80svw;
    max-height: 40rem;
    clip-path: none;
  }

  .editorial-heading,
  .finder-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .editorial-heading {
    margin-block: 2.5rem 3rem;
  }

  .world-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-method,
  .people-bridge {
    grid-template-columns: 1fr;
  }

  .method-visual,
  .people-bridge__photo {
    min-height: 112vw;
    max-height: 45rem;
  }

  .audience-panel {
    grid-template-columns: 2.4rem 1fr;
  }

  .audience-panel__outcome {
    grid-column: 2;
  }

  .audience-panel > a {
    grid-column: 2;
  }

  .route-page-close {
    min-height: 62svh;
  }
}

@media (max-width: 960px) {
  .audience-route-grid {
    grid-template-columns: 1fr;
  }

  .audience-route > span:nth-child(2) {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 620px) {
  .worlds-intro,
  .audiences,
  .learning-method,
  .people-bridge,
  .route-page-close,
  .learning-routes,
  .routefinder-section {
    padding-inline: 1rem;
  }

  .world-grid,
  .audience-route-grid {
    grid-template-columns: 1fr;
  }

  .world-card {
    min-height: 25rem;
    grid-column: auto;
  }

  .audience-route {
    min-height: 8.5rem;
    padding: 1.25rem 1rem;
  }

  .editorial-heading h2,
  .finder-heading h2,
  .learning-method h2,
  .people-bridge h2,
  .route-page-close h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .route-choice label {
    min-height: 7.2rem;
    padding-inline: .9rem;
  }

  .routefinder-empty,
  .route-result {
    min-height: 29rem;
    padding: 1.35rem;
  }

  .audience-panel {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    padding-block: 2.6rem;
  }

  .audience-panel h3 {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
  }

  .route-page-close__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-page-close__actions .primary-action {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-choice label,
  .audience-route {
    transform: none !important;
  }
}
/* Direct inline route advice for compact and medium viewports. */
.routefinder.is-enhanced .route-result[hidden] { display: none !important; }
.routefinder.is-enhanced .route-result.is-active { display: grid; }
.routefinder.is-enhanced.has-selection .routefinder-empty { display: none; }

@media (max-width: 1360px) {
  .routefinder.is-enhanced {
    display: block;
  }
  .routefinder.is-enhanced .route-options {
    gap: .72rem;
  }
  .routefinder.is-enhanced .routefinder-results {
    min-height: 0;
  }
  .routefinder.is-enhanced.is-inline-layout .routefinder-results {
    display: none;
  }
  .routefinder.is-enhanced .route-choice label {
    min-height: 5.9rem;
    border-color: rgba(255,255,255,.2);
    background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(38,215,233,.025));
    box-shadow: inset 0 1px rgba(255,255,255,.04);
  }
  .routefinder.is-enhanced .route-choice input:checked + label {
    border-radius: 1.1rem 1.1rem .42rem .42rem;
    background: linear-gradient(112deg, var(--cyan-bright), #8cebf2);
    box-shadow: 0 14px 34px rgba(0,169,199,.18);
  }
  .routefinder.is-enhanced .route-result.is-inline {
    position: relative;
    min-height: 0;
    scroll-margin-top: clamp(1rem, 6vh, 4rem);
    margin: -.38rem 0 .9rem;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    overflow: hidden;
    border: 1px solid rgba(38,215,233,.62);
    border-top-color: rgba(7,29,51,.12);
    border-radius: .42rem 1.35rem 1.35rem 1.35rem;
    background:
      radial-gradient(circle at 100% 0, rgba(38,215,233,.32), transparent 15rem),
      linear-gradient(145deg, #fff 0%, #f4fbfb 100%);
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    animation: routefinder-reveal .32s cubic-bezier(.2,.8,.2,1) both;
  }
  .routefinder.is-enhanced .route-result.is-inline::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: .36rem;
    background: linear-gradient(180deg, var(--cyan-bright), var(--cyan-text));
  }
  .routefinder.is-enhanced .route-result.is-inline .route-result__eyebrow {
    display: inline-flex;
    width: max-content;
    margin-bottom: .8rem;
    padding: .45rem .68rem;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(38,215,233,.3);
  }
  .routefinder.is-enhanced .route-result.is-inline h3 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 6vw, 4.15rem);
    line-height: .94;
  }
  .routefinder.is-enhanced .route-result.is-inline > p:not(.route-result__eyebrow) {
    max-width: 46rem;
    margin-block: 1rem 1.25rem;
  }
  .routefinder.is-enhanced .route-result.is-inline > a {
    width: 100%;
    min-height: 3.35rem;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: 0 1rem;
    border: 0;
    border-radius: .85rem;
    color: var(--ink);
    background: var(--cyan-bright);
    box-shadow: 0 12px 30px rgba(0,169,199,.2);
    transition: transform .2s ease, background .2s ease;
  }
  .routefinder.is-enhanced .route-result.is-inline > a:hover,
  .routefinder.is-enhanced .route-result.is-inline > a:focus-visible {
    background: var(--aqua);
    transform: translateY(-2px);
  }
}

@keyframes routefinder-reveal {
  from { opacity: 0; transform: translateY(-.45rem) scale(.99); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .routefinder.is-enhanced .route-choice label {
    min-height: 5.75rem;
  }
  .routefinder.is-enhanced .route-result.is-inline {
    padding: 1.25rem 1.05rem 1.1rem 1.25rem;
  }
  .routefinder.is-enhanced .route-result.is-inline h3 {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
  }
  .routefinder.is-enhanced .route-result.is-inline .route-result__worlds {
    margin-bottom: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .routefinder.is-enhanced .route-result.is-inline {
    animation: none;
  }
}
