/* Eight destinations, using the original island artwork as separate viewports. */
.atlas::before { display:none; }
.atlas { aspect-ratio:6 / 1; mix-blend-mode:multiply; }
.atlas .atlas-node { width:118px; min-height:0; mix-blend-mode:multiply; }
.atlas .atlas-island { height:128px; margin-bottom:2px; mix-blend-mode:multiply; }
.atlas-island svg, .atlas-island img { display:block; width:100%; height:100%; object-fit:contain; }
.atlas-island svg { width:auto; max-width:100%; margin:auto; mask-image:radial-gradient(ellipse at center,#000 65%,transparent 78%); }
.atlas .atlas-lab .atlas-island { padding-top:12px; }
.atlas-route { z-index:3; opacity:.65; }
.atlas .atlas-label { position:relative; z-index:4; }
.atlas .atlas-lab .atlas-label { background:#e0edff; }
.atlas .atlas-lab:is(:hover,:focus-visible,.route-arrived) .atlas-label { background:var(--cobalt); }
@media (min-width:1024px) {
  .reference-map-heading { left:4.8%; top:67%; width:90%; min-height:0; padding:0; background:none; display:flex; align-items:center; gap:24px; }
  .reference-map-heading h2 { font-size:clamp(22px,1.8vw,30px); white-space:nowrap; }
  .reference-map-heading i { display:none; }
  .reference-map-heading p { font-size:12px; line-height:1.7; }
  .reference-map-heading p br { display:inline; }
  .reference-map-heading p br::after { content:' · '; }
  .reference-course-hotspots { left:1%; right:1%; bottom:3px; aspect-ratio:6 / 1; }
  .reference-course-hotspots .atlas-node { width:clamp(104px,10vw,166px); }
  .reference-course-hotspots .atlas-island { height:clamp(100px,9vw,150px); }
  .reference-course-hotspots .atlas-node strong { font-size:clamp(10px,.82vw,13px); }
}
@media (max-width:1023px) {
  .course-map-layout { grid-template-columns:1fr; gap:28px; }
  .course-map-intro { padding-top:0; }
  .course-map-stage { overflow:hidden; padding-bottom:8px; }
  .course-map-viewport { width:100%; margin:0; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:none; }
  .atlas { width:1120px; min-height:245px; }
  .map-mobile-guide { display:grid; grid-template-columns:42px minmax(0,1fr) 42px; align-items:center; gap:12px; width:100%; margin-top:8px; }
  .map-mobile-guide>button { width:42px; height:42px; border:1px solid #236bc82e; border-radius:50%; background:#fff; color:var(--cobalt); font-size:26px; cursor:pointer; }
  .map-mobile-guide>button:disabled { opacity:.3; cursor:default; }
  .map-progress { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:6px 12px; }
  .map-progress>span { color:var(--cobalt-dark); font-size:12px; font-weight:800; white-space:nowrap; }
  .map-progress-track { height:3px; overflow:hidden; border-radius:999px; background:#cfe0f0; }
  .map-progress-track i { display:block; width:12.5%; height:100%; background:var(--cobalt); transition:transform .3s ease; }
  .map-progress small { grid-column:1 / -1; color:var(--muted); font-size:10px; text-align:center; }
  .map-progress small.dismissed { opacity:0; }
}

/* The home preview introduces real tools without duplicating their workbenches. */
.home-lab { padding:88px 0 70px; background:#eaf3ff; color:var(--ink); }
.home-lab-layout { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(0,1.25fr); gap:44px 64px; align-items:center; }
.home-lab-intro h2 { margin:0 0 24px; font-size:clamp(40px,4.5vw,62px); letter-spacing:-.02em; line-height:1.15; }
.home-lab-intro p { font-size:16px; color:#526d8e; line-height:1.85; margin:16px 0; }
.home-lab-intro .home-lab-lead { font-size:25px; font-weight:650; color:var(--ink); line-height:1.5; }
.home-lab-intro .home-lab-access { color:var(--cobalt); font-size:14px; margin:26px 0 16px; }
.home-lab-intro .primary-button { gap:30px; }
.home-lab-demo { grid-column:2; grid-row:1; background:#fff; padding:28px; border-radius:16px; min-width:0; }
.home-lab-demo-heading { display:flex; flex-wrap:wrap; gap:10px 18px; align-items:baseline; justify-content:space-between; }
.home-lab-demo h3 { margin:0; font-size:21px; }
.home-lab-demo-heading>span { color:#526d8e; font-size:12px; white-space:nowrap; }
.home-lab-demo>p { color:#526d8e; font-size:13px; line-height:1.8; margin:10px 0 20px; }
.home-lab-chords { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:22px 0 18px; }
.home-lab-chords span { padding:10px 3px; text-align:center; font-size:clamp(19px,2.15vw,28px); font-weight:650; border-bottom:3px solid #e5edf8; }
.home-lab-chords span.active { color:var(--cobalt); border-bottom-color:var(--cobalt); background:#f0f6ff; }
.home-lab-keyboard svg { width:100%; height:100px; display:block; }
.home-lab-keyboard .white-key { fill:#f8fbff; stroke:#acc4df; stroke-width:1; }
.home-lab-keyboard .black-key { fill:#193952; }
.home-lab-keyboard .active { fill:#1d57be; }
.home-lab-keyboard text { font-size:10px; fill:#526d8e; }
.home-lab-keyboard .key-caption.active { fill:white; }
.home-lab-demo .home-lab-notes { margin:8px 0 18px; min-height:23px; }
.home-lab-listen { display:flex; flex-wrap:wrap; gap:8px; }
.home-lab-listen button { border:1px solid #b3c9e4; background:white; color:var(--cobalt); font:inherit; font-size:14px; font-weight:650; padding:10px 16px; min-height:44px; border-radius:8px; cursor:pointer; }
.home-lab-listen button[aria-pressed="true"] { color:white; background:var(--cobalt); border-color:var(--cobalt); }
.home-lab-listen .home-lab-stop { border-color:transparent; font-weight:400; }
.home-lab-listen button:disabled { opacity:.45; cursor:default; }
.home-lab-demo .home-lab-status { margin:10px 0 0; min-height:24px; font-size:12px; }
.home-lab-tools { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid #bed2eb; }
.home-lab-tools>a { padding:28px 26px; display:block; }
.home-lab-tools>a:first-child { padding-left:0; }
.home-lab-tools>a:last-child { padding-right:0; }
.home-lab-tools>a+a { border-left:1px solid #bed2eb; }
.home-lab-tools h3 { display:flex; justify-content:space-between; gap:12px; font-size:22px; line-height:1.4; margin:0 0 12px; }
.home-lab-tools h3>span { color:var(--cobalt); font-weight:400; }
.home-lab-tools p { color:#526d8e; font-size:14px; line-height:1.8; margin:0; }
.home-tool-example { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 16px; margin-top:24px; color:var(--cobalt); }
.home-tool-example strong { font-size:23px; font-weight:600; }
.home-tool-example>span { color:#526d8e; font-size:12px; }
.home-lab-tools>a:hover h3 { color:var(--cobalt); }
.home-lab-more { grid-column:1 / -1; display:flex; align-items:center; flex-wrap:wrap; gap:12px 28px; font-size:14px; margin-top:-18px; }
.home-lab-more>span { color:#526d8e; }
.home-lab-more a { min-height:44px; display:inline-flex; align-items:center; text-decoration:underline; text-underline-offset:5px; text-decoration-color:#9fbadb; }
.home-lab :is(a,button):focus-visible { outline:3px solid #1255c3; outline-offset:4px; }
@media (max-width:1000px) {
  .home-lab-layout { gap:36px; grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr); }
  .home-lab-tools>a { padding:24px 18px; }
  .home-lab-tools h3 { font-size:20px; }
}
@media (max-width:760px) {
  .home-lab { padding:56px 0 44px; }
  .home-lab-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .home-lab-intro h2 { margin-bottom:18px; font-size:40px; }
  .home-lab-intro .home-lab-lead { font-size:23px; }
  .home-lab-intro .home-lab-lead br { display:none; }
  .home-lab-intro .home-lab-access { margin-top:18px; }
  .home-lab-tools { grid-row:2; grid-template-columns:minmax(0,1fr); }
  .home-lab-tools>a,.home-lab-tools>a:first-child,.home-lab-tools>a:last-child { padding:20px 0; }
  .home-lab-tools>a+a { border-left:0; border-top:1px solid #bed2eb; }
  .home-lab-tools h3 { font-size:22px; margin-bottom:6px; }
  .home-tool-example { margin-top:10px; }
  .home-tool-example strong { font-size:20px; }
  .home-lab-demo { grid-column:auto; grid-row:auto; padding:20px 16px; }
  .home-lab-demo h3 { font-size:19px; }
  .home-lab-keyboard svg { height:88px; }
  .home-lab-listen button { padding:10px 12px; font-size:13px; }
  .home-lab-more { gap:4px 20px; margin-top:0; }
}
@media (prefers-reduced-motion:reduce) { .map-progress-track i { transition:none; } }
