.brand > .brand-mark {
  display: block;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px #9d68ff58);
}

.brand:has(.brand-mark) strong {
  color: #bfc9ff;
}

.top > .top-inner {
  width: min(1260px, calc(100% - clamp(1.3rem, 4.8vw, 2.7rem)));
  flex-wrap: wrap;
  column-gap: clamp(.55rem, 2vw, 1.25rem);
}

.top .brand,
.top .nav {
  min-inline-size: 0;
  max-inline-size: 100%;
}

.top .brand { white-space: normal; }
.top .brand span { overflow-wrap: anywhere; }
.top .nav { flex-wrap: wrap; }

body:has(.space-stage),
body:has(.year-stage) {
  --map-floor: #080b1c;
  --map-veil: linear-gradient(180deg,
    #080b1c12 0%, #080b1c32 14%, #080b1c9c 27%, #080b1ced 45%, #080b1cfa 68%, var(--map-floor) 88%);
  background: #080a19 radial-gradient(ellipse at 48% -15%, #24264c, #080a19 75%);
}

body:has(.space-stage) {
  background:
    var(--map-veil) center / cover fixed no-repeat,
    var(--map-floor) url("assets/ruimte-achtergrond.webp?v=ruimtekaart") center center / cover fixed no-repeat;
}

body:has(:is(.space-stage, .year-stage)) > :is(.top, .foot) {
  background: #0a102582;
  border-color: #b7c8ff23;
}

.space-stage,
.year-stage,
.year-lessons {
  --world-ink: #f7f5ff;
  --world-muted: #c8c9dc;
  --world-line: #ffffff29;
  --world-gutter: clamp(18px, 5vw, 78px);
  color: var(--world-ink);
}

.space-stage {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(18px, 2.4vw, 35px);
  min-height: max(540px, calc(100svh - 74px));
  padding: clamp(24px, 3.8vw, 58px) var(--world-gutter) clamp(30px, 4.5vw, 65px);
  background:
    radial-gradient(ellipse at 18% 72%, #39307020, transparent 40%),
    radial-gradient(ellipse at 54% 36%, #12556e20, transparent 39%),
    radial-gradient(ellipse at 81% 75%, #5f326620, transparent 42%);
}

.space-copy,
.space-islands {
  position: relative;
  z-index: 1;
}

.space-copy {
  width: min(100%, 53rem);
  text-align: center;
  text-shadow: 0 3px 20px #080a19, 0 2px 6px #080a19;
}

.space-copy h1,
.year-heading h1 {
  margin: .14em 0 .24em;
  font-size: clamp(2.6rem, 7.6vw, 7.15rem);
  font-weight: 850;
  line-height: .96;
  letter-spacing: -.073em;
  overflow-wrap: anywhere;
}

.space-copy h1 span,
.year-heading h1 span {
  color: var(--accent, #c3a4ff);
}

.space-copy p:not(.eyebrow),
.year-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--world-muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.45;
}

.space-islands {
  width: min(100%, 1450px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2.5vw, 38px);
}

.island-link {
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  gap: clamp(9px, 1.2vw, 16px);
  padding: 2px 3px 6px;
  border-radius: 20px;
  color: var(--world-ink);
  text-align: center;
  text-decoration: none;
}

.island-link:nth-child(2) { margin-top: clamp(10px, 2.1vw, 34px); }

.island-link:nth-child(3) {
  margin-top: clamp(4px, 1.5vw, 27px);
}

.island-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px #050611b0);
  transition: filter .2s ease, transform .2s ease;
  animation: world-hover 2.2s ease-in-out 2;
}

.island-link:nth-child(2) .island-art { animation-delay: .18s; }
.island-link:nth-child(3) .island-art { animation-delay: .32s; }

@keyframes world-hover {
  50% { translate: 0 -7px; }
}

.island-label {
  display: grid;
  justify-items: center;
  gap: .14em;
  min-width: min(60%, 145px);
  max-width: 100%;
  padding: .6rem clamp(5px, 1.35vw, 21px) .65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 54%, transparent);
  border-radius: 13px;
  background: #0c1027d6;
  color: var(--accent);
  font-size: clamp(.85rem, 2.25vw, 1.68rem);
  font-weight: 790;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.island-label :is(small, span, p) {
  margin: 0;
  color: var(--world-muted);
  font-size: clamp(.72rem, 1.25vw, .92rem);
  font-weight: 500;
}

.island-link:hover .island-art,
.island-link:focus-visible .island-art {
  transform: translateY(-4px) scale(1.025);
  filter: drop-shadow(0 14px 36px color-mix(in srgb, var(--accent) 38%, transparent));
}

.island-link:hover .island-label,
.island-link:focus-visible .island-label {
  background: color-mix(in srgb, var(--accent) 14%, #0c1027);
  border-color: var(--accent);
}

.year-stage,
.year-lessons {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(20px, 3vw, 38px);
  width: 100%;
  min-height: calc(100svh - 74px);
  padding: clamp(28px, 5vw, 75px) var(--world-gutter) clamp(42px, 7vw, 90px);
  background: radial-gradient(ellipse at 43% 0%, #27244f, #090b18 75%);
}

.year-stage .year-sky {
  position: absolute;
  inset: 0 0 auto;
  height: min(770px, 76svh);
  background:
    linear-gradient(180deg, #080c22a0, #080c2240 30%, #0a0b1a88 59%, #0a0b1b 100%),
    var(--year-art, none) center 44% / cover no-repeat;
  pointer-events: none;
}

.year-stage.violet,
.year-stage.year-neonhaven,
.violet .year-stage { --year-art: url("assets/jaar-neonhaven.webp?v=ruimtekaart"); }
.year-stage.cyan,
.year-stage.year-codehaven,
.cyan .year-stage { --year-art: url("assets/jaar-codecitadel.webp?v=ruimtekaart"); }
.year-stage.pink,
.year-stage.year-novastad,
.pink .year-stage { --year-art: url("assets/jaar-novastad.webp?v=ruimtekaart"); }

.year-heading,
.year-module-grid,
.year-lesson-grid {
  position: relative;
  width: min(100%, 1420px);
  margin-inline: auto;
}

.year-heading {
  min-height: clamp(118px, 26vh, 300px);
  align-content: center;
  text-shadow: 0 2px 18px #090b1a;
}

.year-heading h1 {
  font-size: clamp(2.3rem, 7vw, 6.4rem);
}

.year-heading > nav { margin-bottom: .85rem; }
.year-heading a:where(:not(.year-back)) { color: #e6e2fc; text-underline-offset: .2em; }
.year-heading p:not(.eyebrow) { max-width: 50ch; }

.year-control {
  --control-line: color-mix(in srgb, var(--accent) 60%, #232541);
  --control-glow: color-mix(in srgb, var(--accent) 28%, transparent);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .38rem 1rem .38rem .8rem;
  border: 1px solid var(--control-line);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 14% 10%, var(--control-glow), transparent 76%),
    #141a32;
  box-shadow: inset 0 1px #ffffff25, 0 3px 12px #080a1bba;
  color: #faf8ff;
  font: inherit;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.year-control::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.year-control.year-back {
  min-height: 46px;
  margin-bottom: .65rem;
}

.year-control-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  inline-size: 25px;
  block-size: 25px;
  color: var(--accent);
}

.year-control-icon::before {
  content: "";
  position: absolute;
  inline-size: 24px;
  block-size: 13px;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  transform: rotate(-28deg);
  pointer-events: none;
}

.year-control-arrow {
  position: relative;
  inline-size: 13px;
  border-block-start: 2px solid currentColor;
}

.year-control-arrow::after {
  content: "";
  position: absolute;
  inset: -4px 0 auto auto;
  inline-size: 6px;
  block-size: 6px;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
}

.year-control-arrow--back { transform: scaleX(-1); }

:is(.year-back, .year-timeline-button):not([aria-disabled="true"]):is(:hover, :focus-visible),
.year-module-card:is(:hover, :focus-visible) .year-module-action,
a.year-lesson-card:is(:hover, :focus-visible) .year-lesson-action {
  border-color: var(--accent);
  box-shadow: inset 0 1px #ffffff30, 0 0 16px var(--control-glow), 0 3px 12px #080a1bba;
}

.year-control:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (forced-colors: active) {
  .year-control:focus-visible { outline-color: Highlight; }
  .year-control-icon { color: inherit; }
  .year-control::after, .year-control-icon::before { display: none; }
}

.paused .year-control { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .year-control { transition: none; }
}

.year-module-grid,
.year-lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.75vw, 25px);
  align-items: stretch;
}

.year-module-card,
.year-lesson-card {
  min-width: 0;
  display: grid;
  align-content: start;
  color: var(--world-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: #141831e8;
  border: 1px solid var(--world-line);
  border-radius: 17px;
  box-shadow: 0 12px 26px #0709143d;
}

.year-module-card .planet-art {
  border-radius: 16px 16px 0 0;
}

.year-floating-overview {
  min-height: calc(100svh - 74px);
  gap: clamp(8px, 2vw, 26px);
  padding-block: clamp(22px, 4vw, 52px) clamp(42px, 6vw, 78px);
  background: #090b18;
}

.year-floating-overview .year-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  height: auto;
  background:
    radial-gradient(ellipse at 50% 63%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 68%),
    var(--map-veil),
    var(--year-art, none) center 45% / cover no-repeat;
}

body:has(.year-floating-overview) > .foot {
  position: relative;
  z-index: 1;
}

.year-floating-overview .year-heading,
.year-floating-overview .year-module-grid {
  z-index: 1;
}

.year-floating-overview .year-heading {
  min-height: auto;
  text-shadow: 0 2px 6px #080b21, 0 5px 22px #080b21;
}

.year-floating-overview .year-module-grid {
  gap: clamp(10px, 2vw, 32px);
  align-items: start;
}

.year-floating-overview .year-module-card,
.year-floating-overview .year-module-card:hover {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 5px 4px 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.year-cutout {
  position: relative;
  display: block;
  width: min(100%, 300px);
  aspect-ratio: 1;
}

.year-floating-overview .year-module-card > .year-cutout {
  padding: 0;
  margin: 0;
}

.year-cutout img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 11px 12px #070d27b0);
  transition: filter .2s ease, transform .2s ease;
  animation: world-hover 2.2s ease-in-out 2;
}

.year-cutout::after {
  content: "";
  position: absolute;
  inset: 89% 19% 1%;
  background: radial-gradient(ellipse, #060a22aa, transparent 69%);
  pointer-events: none;
}

.year-module-card:nth-child(2) .year-cutout img { animation-delay: .1s; }
.year-module-card:nth-child(3) .year-cutout img { animation-delay: .23s; }
.year-module-card:nth-child(4) .year-cutout img { animation-delay: .32s; }

.year-floating-overview .year-module-card:is(:hover, :focus-visible) .year-cutout img {
  transform: translateY(-5px) scale(1.03);
  filter: drop-shadow(0 12px 24px #c3a4ff50);
}

.year-floating-overview .year-module-card > .year-module-copy {
  max-width: 290px;
  padding: 2px 4px;
  text-shadow: 0 1px 5px #090b1e, 0 2px 10px #080c22;
}

.year-floating-overview .year-module-copy :is(p, small) {
  color: #efedff;
}

.year-module-action {
  gap: .5rem;
  min-height: 38px;
  margin-top: 9px;
  padding-inline: .85rem .65rem;
  font-size: .86rem;
}

.year-module-card > :is(div, section, span:not(.planet-art)) {
  padding: clamp(11px, 1.6vw, 22px);
}

.year-module-card > :is(h2, h3, p, small) {
  margin-inline: clamp(11px, 1.6vw, 22px);
}

.year-module-card > :last-child:not(:is(div, section, .planet-art)) {
  margin-bottom: 15px;
}

.year-module-card :is(h2, h3),
.year-lesson-card :is(h2, h3) {
  margin-block: 0 .24em;
  font-size: clamp(1rem, 1.65vw, 1.46rem);
  font-weight: 780;
  line-height: 1.2;
}

.year-module-card :is(p, small),
.year-lesson-card :is(p, small) {
  margin-block: 0;
  color: var(--world-muted);
  line-height: 1.4;
}

.year-module-card :is(h2, h3) + p { margin-bottom: .6em; }

:is(a.year-module-card, a.year-lesson-card):hover {
  border-color: color-mix(in srgb, var(--accent) 75%, transparent);
  background: #1d2142;
}

.island-link:focus-visible,
.year-module-card:focus-visible,
.year-lesson-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.year-lessons {
  background: radial-gradient(ellipse at 73% 10%, color-mix(in srgb, var(--accent) 20%, #090b18), #090b18 66%);
}

.year-lessons .year-heading {
  min-height: clamp(118px, 21vh, 244px);
}

.year-lessons .year-heading .planet-art {
  width: min(100%, 190px);
  border-radius: 16px;
}

.year-lesson-card {
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  min-height: clamp(114px, 13vw, 166px);
  padding: clamp(12px, 1.6vw, 22px);
}

.year-lesson-grid {
  margin-block: 0;
  padding: 0;
}

.year-lesson-grid > li { min-width: 0; }
.year-lesson-grid > li::marker { content: ""; }

.year-lesson-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, #12172d);
  color: var(--accent);
  font-size: .99rem;
  font-weight: 790;
}

.year-lesson-status {
  display: block;
  margin-top: .55rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.25;
}

.year-lesson-card[aria-disabled="true"],
.year-lesson-card.is-planned {
  background: #111429e8;
  border-style: dashed;
}

.year-lesson-card.is-planned .year-lesson-status { color: var(--world-muted); }

.year-lesson-card :is(.tag, .eyebrow) {
  justify-self: start;
  margin: 0;
}

@media (max-width: 820px) {
  .year-module-grid,
  .year-lesson-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-stage { min-height: calc(100svh - 60px); }
}

@media (max-width: 520px) {
  .space-stage { --world-gutter: 14px; gap: 19px; }
  .space-islands { gap: 6px; align-items: center; }
  .island-art { aspect-ratio: 1; }
  .island-link { gap: 5px; padding-inline: 1px; }
  .island-label { min-width: 0; width: 100%; }
  .island-link:nth-child(n) { margin-top: 0; }
  .year-stage,
  .year-lessons { --world-gutter: 14px; }
  .year-module-grid,
  .year-lesson-grid { gap: 11px; }
  .year-heading { min-height: 150px; }
  .year-stage .year-sky { background-position: center 32%; }
  .year-lesson-card { min-height: 112px; gap: 7px; grid-template-columns: 1.55rem minmax(0, 1fr); }
  .year-lesson-number { width: 1.55rem; height: 1.55rem; font-size: .83rem; }
}

.paused .island-art { animation: none; }
.paused .year-cutout img { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .island-art,
  .year-cutout img { animation: none; transition: none; }
  .island-link:hover .island-art,
  .island-link:focus-visible .island-art { transform: none; }
  .year-floating-overview .year-module-card:is(:hover, :focus-visible) .year-cutout img { transform: none; }
}

.year-lessons:has(.year-lesson-timeline) {
  gap: clamp(14px, 2.2vw, 29px);
  min-width: 0;
  padding-block: clamp(19px, 3.2vw, 43px) clamp(36px, 5vw, 75px);
}

.year-lessons:has(.year-lesson-timeline) .year-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  height: auto;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 63%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), var(--map-floor);
}

.year-lessons:has(.year-lesson-timeline) .year-sky::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: max(100%, 850px);
  aspect-ratio: 1672 / 941;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, #0b0c202a, transparent 62%),
    url("assets/lestijdlijn-sterrenhemel.webp") center / cover no-repeat;
  mask-image: linear-gradient(#000 12%, #0009 29%, transparent 62%);
}

@media (max-width: 520px) {
  .year-lessons:has(.year-lesson-timeline) .year-sky::before {
    inset-inline: auto 0;
    transform: none;
  }
}

body:has(.year-lesson-timeline) > .foot {
  position: relative;
  z-index: 1;
}

.year-lessons:has(.year-lesson-timeline) .year-heading {
  z-index: 1;
  min-height: 0;
  text-shadow: 0 2px 6px #080b21, 0 5px 22px #080b21;
}

.year-lessons:has(.year-lesson-timeline) .year-heading h1 {
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  max-width: 23ch;
}

.year-lesson-timeline {
  --lesson-stop: clamp(220px, 22vw, 265px);
  --lesson-gap: clamp(12px, 1.65vw, 25px);
  --lesson-scene-ratio: 1.1;
  --lesson-node: 36px;
  display: block;
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(100%, 1420px);
  margin-inline: auto;
}

.year-timeline-bar {
  display: grid;
  grid-template-columns: minmax(44px, max-content) minmax(0, 1fr) minmax(44px, max-content);
  align-items: center;
  gap: 8px;
  padding: 2px 5px 4px;
}

.year-timeline-button {
  width: 44px;
  height: 44px;
  padding: 0;
}

.year-timeline-button:is(:disabled, [aria-disabled="true"]) {
  cursor: default;
  opacity: .62;
}

.year-timeline-position {
  justify-self: center;
  margin: 0;
  color: #f8f3ff;
  font-size: .9rem;
  font-weight: 670;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 5px #090b1e, 0 3px 12px #080b21;
}

.year-timeline-scroll {
  min-width: 0;
  overflow: auto hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 8px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 68%, #10172a) #0c1027d6;
  padding-block: 4px 11px;
}

.year-timeline-scroll:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
  border-radius: 14px;
}

.year-lesson-timeline .year-lesson-grid {
  grid-template-columns: none;
  grid-auto-columns: var(--lesson-stop);
  grid-auto-flow: column;
  align-items: stretch;
  gap: var(--lesson-gap);
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 7px 8px 10px;
}

.year-lesson-timeline .year-lesson-grid > li {
  position: relative;
  scroll-snap-align: start;
}

.year-lesson-timeline .year-lesson-grid > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--lesson-stop) / var(--lesson-scene-ratio) + var(--lesson-node) / 2);
  left: 50%;
  width: calc(100% + var(--lesson-gap));
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent), var(--accent));
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 45%, transparent);
  opacity: .75;
  pointer-events: none;
}

.year-lesson-timeline .year-lesson-card,
.year-lesson-timeline .year-lesson-card:is(:hover, :focus-visible) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.year-lesson-scene {
  --landmark-ground: 43%;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--lesson-scene-ratio);
}

.year-novastad .year-lesson-scene { --landmark-ground: 41%; }

.year-lesson-scene::before {
  content: "";
  position: absolute;
  inset: 80% 19% 5%;
  background: radial-gradient(ellipse, #06091ccc 8%, transparent 69%);
  pointer-events: none;
}

.year-lesson-island,
.year-lesson-landmark {
  transition: filter .2s ease, transform .2s ease;
}

.year-lesson-island {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block;
  min-width: 0;
  width: 100%;
  height: 77%;
  object-fit: contain;
  filter: drop-shadow(0 11px 11px #050719bc);
}

.year-lesson-landmark {
  position: absolute;
  bottom: var(--landmark-ground);
  left: 10%;
  z-index: 2;
  width: 80%;
  height: 60%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 6px 5px #090a22bf);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  body:not(.paused) .year-lesson-timeline a.year-lesson-card:is(:hover, :focus-visible) :is(.year-lesson-island, .year-lesson-landmark) {
    transform: translateY(-4px);
  }
}

.year-lesson-timeline a.year-lesson-card:is(:hover, :focus-visible) .year-lesson-island {
  filter: drop-shadow(0 12px 20px color-mix(in srgb, var(--accent) 56%, #07091c));
}

.year-lesson-timeline .year-lesson-number {
  position: relative;
  z-index: 1;
  width: var(--lesson-node);
  height: var(--lesson-node);
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #161932;
  color: #f8f4ff;
  font-size: .98rem;
  box-shadow: 0 0 11px color-mix(in srgb, var(--accent) 30%, transparent);
}

.year-lesson-timeline .year-lesson-copy {
  width: 100%;
  padding: 10px 6px 6px;
  color: #fff;
  text-shadow: 0 1px 4px #080b21, 0 3px 9px #080b21;
}

.year-lesson-timeline .year-lesson-copy h2 {
  margin-block: 0 .4rem;
  font-size: clamp(1.03rem, 1.45vw, 1.28rem);
  line-height: 1.24;
}

.year-lesson-timeline .year-lesson-copy p {
  color: #eeebfc;
  font-size: .93rem;
  line-height: 1.43;
}

.year-lesson-timeline .year-lesson-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 3px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, transparent);
  border-radius: 999px;
  background: #11152ee6;
  color: #fff;
  font-size: .83rem;
  text-shadow: none;
}

.year-lesson-action {
  min-height: 44px;
  margin-top: .55rem;
  padding-inline: .85rem .65rem;
  font-size: .86rem;
}

.year-lesson-timeline .is-planned .year-lesson-number {
  border-style: dashed;
  box-shadow: none;
}

.year-lesson-timeline .is-planned .year-lesson-status {
  color: #e2def3;
  border-style: dashed;
  border-color: #bfbad75c;
}

@media (max-width: 520px) {
  .year-lesson-timeline { --lesson-stop: min(76vw, 246px); --lesson-gap: 12px; --lesson-node: 33px; }
  .year-timeline-position { font-size: .84rem; }
}

.paused .year-lesson-timeline :is(.year-lesson-island, .year-lesson-landmark) {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .year-lesson-timeline :is(.year-lesson-island, .year-lesson-landmark) {
    transition: none;
  }
}
