/* The original slide-eight tree as an accessible illustrated history. */
.atlas-experience { --selected-branch: #e9c879; position: relative; background: #050c14; border: 1px solid #e1cd9426; border-radius: 6px; overflow: hidden; }
.tree-caption { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; background: #0b141b; border-bottom: 1px solid var(--line); color: var(--faint); font: .778rem/1.5 var(--font-mono); letter-spacing: .09em; gap: 20px; }
.tree-caption > span:first-child { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.tree-caption i { width: 4px; height: 4px; display: inline-block; background: var(--mint); border-radius: 50%; box-shadow: 0 0 9px #afd2b066; }
.tree-caption > span:last-child > span { padding: 0 12px; }
.tree-viewport { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; background: #030b14; }
.tree-stage { position: absolute; inset: 0; container-type: inline-size; transform: translate3d(var(--px,0),var(--py,0),0) scale(var(--tree-zoom,1)); transform-origin: center; transition: transform 600ms cubic-bezier(.2,.6,.2,1), transform-origin 800ms; }
.tree-art { height: 100%; width: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }
.tree-viewport::after { position: absolute; content: ''; inset: 0; pointer-events: none; background: linear-gradient(0deg,#040b13 0%,#040b1300 14%,#040b1300 90%,#040b1333); }
.tree-paths,.tree-landmarks { position: absolute; inset: 0; width: 100%; height: 100%; }
.tree-paths { pointer-events: none; overflow: visible; opacity: .75; }
.tree-path { fill: none; stroke: var(--branch); stroke-width: .6; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .6s; }
.tree-path.is-selected { opacity: .6; stroke-width: 2; filter: drop-shadow(0 0 4px var(--branch)); stroke-dasharray: 10 90; }
.atlas-experience[data-motion='on'] .tree-path.is-selected { animation: knowledge-flow 7s linear infinite; }
@keyframes knowledge-flow { to { stroke-dashoffset: -100; } }
.tree-landmarks { z-index: 3; pointer-events: none; }
.tree-landmark { position: absolute; left: var(--x); top: var(--y); padding: 0; width: 22px; height: 22px; transform: translate(-50%,-50%); border: 0; border-radius: 50%; pointer-events: auto; color: var(--branch); z-index: 2; }
.landmark-dot { display: block; position: absolute; inset: 5px; border: 1px solid var(--branch); border-radius: 50%; background: #0a141ce6; box-shadow: 0 0 12px #000,0 0 9px color-mix(in srgb, var(--branch) 65%, transparent); transition: transform .25s,background .25s; }
.landmark-dot::after { content: ''; position: absolute; inset: 3px; background: var(--branch); border-radius: 50%; }
.landmark-label { position: absolute; left: 50%; top: 50%; transform: translate(var(--dx),var(--dy)); display: grid; gap: 5px; width: max-content; max-width: 155px; text-align: left; padding: 7px 9px; border-radius: 3px; background: #061019bd; text-shadow: 0 1px 5px #000; border-left: 1px solid color-mix(in srgb,var(--branch) 40%,transparent); transition: background .25s,border-color .25s,opacity .25s; }
.landmark-label strong { font: 500 clamp(.833rem,1vw,.944rem)/1.45 var(--font-body); letter-spacing: -.02em; color: #dce6e3; }
.landmark-year { font: .778rem var(--font-mono); letter-spacing: .05em; color: var(--branch); }
.tree-landmark:hover,.tree-landmark:focus-visible,.tree-landmark.is-selected { z-index: 8; }
.tree-landmark:hover .landmark-dot,.tree-landmark:focus-visible .landmark-dot { transform: scale(1.5); background: var(--branch); }
.tree-landmark.is-selected .landmark-dot { transform: scale(1.4); background: var(--branch); box-shadow: 0 0 0 5px #051017b3,0 0 0 6px var(--branch),0 0 24px var(--branch); }
.tree-landmark.is-selected .landmark-dot::after { background: #061019; }
.tree-landmark.is-selected .landmark-label { border-left-color: var(--branch); background: #0b181ef2; }
.tree-landmark.is-selected .landmark-label strong { color: white; }
#tree-atmosphere { position: absolute; inset: 0; height: 100%; width: 100%; pointer-events: none; z-index: 4; }
.tree-root-note { position: absolute; bottom: 3%; left: 5%; z-index: 5; display: grid; gap: 7px; pointer-events: none; text-shadow: 0 1px 8px #000; }
.tree-root-note > span { color: #d1c296a1; font: .778rem var(--font-mono); letter-spacing: .14em; }
.tree-root-note strong { color: #e1c890d9; font: 400 clamp(.944rem,1.2vw,1rem) var(--font-display); letter-spacing: .02em; }
.tree-root-note i { font-style: normal; margin: 0 10px; opacity: .5; }
.atlas-readout { position: absolute; bottom: 5%; right: 4%; width: 36%; z-index: 10; border-top: 1px solid var(--selected-branch); padding: 19px 0 0; background: linear-gradient(90deg,#06101ae0,#06101a80); }
.atlas-readout-meta { display: flex; gap: 16px; color: var(--selected-branch); font: .833rem var(--font-mono); letter-spacing: .1em; margin: 0 0 10px; }
#atlas-position { color: var(--faint); }
.atlas-readout h2 { font: 400 clamp(1.7rem,2.8vw,2.65rem)/1.1 var(--font-display); margin: 0 0 10px; color: var(--text); }
.atlas-readout-copy > p:last-child { font-size: .944rem; line-height: 1.8; color: #b1c3c4; margin: 0; max-width: 380px; }
.atlas-open { display: inline-flex; align-items: center; gap: 25px; border: 0; border-bottom: 1px solid #dec78955; padding: 9px 0 6px; margin-top: 12px; font-size: .944rem; color: var(--accent-light); text-decoration: none; }
.atlas-open:hover { border-color: var(--accent); }
.tree-view-tools { position: absolute; bottom: 4%; left: 39%; z-index: 8; display: flex; align-items: center; border: 1px solid var(--line); background: #08131acc; border-radius: 4px; padding: 2px; }
.tree-view-tools button { width: 30px; height: 30px; font-size: 1rem; color: var(--muted); }
.tree-view-tools button:hover:not(:disabled) { color: var(--accent); background: #dec78914; }
.tree-view-tools output { font: .778rem var(--font-mono); color: var(--faint); width: 40px; text-align: center; }
.tree-bottom-bar { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); background: #0b141b; }
.tree-bottom-bar p { font: .778rem var(--font-mono); color: var(--faint); margin: 0; }
.tree-playback { display: flex; align-items: center; gap: 16px; }
.tree-playback button { font: .833rem var(--font-mono); color: var(--muted); padding: 4px 0; }
.tree-playback #atlas-tour { color: var(--accent-light); }
.tree-playback button:hover { color: var(--accent); }
.tree-original { font: .833rem var(--font-mono); color: var(--faint); padding: 3px 0; }
.tree-original:hover { color: var(--accent); }
.tree-original span { margin-left: 12px; color: var(--accent); }
.tree-chronology { display: flex; gap: 0; border-top: 1px solid var(--line); background: #0c161d; }
.tree-chronology > button { padding: 10px 17px; flex-shrink: 0; font-size: 1.1rem; color: var(--accent); background: #101c21; }
.tree-chronology > button:hover { background: #dec78918; }
.tree-years { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #dec78940 transparent; scroll-snap-type: x proximity; position: relative; flex: 1; }
.tree-year { flex: 0 0 139px; display: grid; gap: 7px; text-align: left; padding: 18px 17px 15px; border-top: 2px solid transparent; scroll-snap-align: start; }
.tree-year span { font: .833rem var(--font-mono); color: var(--faint); }
.tree-year small { font-size: .833rem; line-height: 1.6; color: var(--muted); }
.tree-year.is-selected { background: #dec7890a; border-top-color: var(--selected-branch); }
.tree-year.is-selected span { color: var(--selected-branch); }
.tree-year.is-selected small { color: var(--text); }
.tree-year:hover { background: #dec7890a; }
.tree-reading-note { padding: 12px 22px; color: var(--faint); font-size: .833rem; line-height: 1.8; margin: 0; border-top: 1px solid var(--line); background: #0b141b; }
@media (max-width: 1190px) { .landmark-label { max-width: 125px; padding: 5px 7px; gap: 3px; }.landmark-label strong { font-size: .833rem; }.landmark-year { font-size: .778rem; }.atlas-readout { padding-top: 12px; }.atlas-readout-copy > p:last-child { font-size: .833rem; }.atlas-open { font-size: .833rem; margin-top: 5px; }.atlas-readout-meta { font-size: .778rem; margin-bottom: 7px; }.tree-bottom-bar p { display: none; }.tree-view-tools { bottom: 3%; left: 39%; } }
@media (max-width: 960px) { .landmark-label { opacity: .82; max-width: 115px; }.landmark-label strong { font-size: .833rem; }.landmark-year { font-size: .778rem; }.tree-year { flex-basis: 123px; }.atlas-readout h2 { font-size: 1.6rem; }.atlas-readout { width: 37%; bottom: 4%; }.atlas-readout-copy > p:last-child { font-size: .833rem; }.tree-caption { padding: 12px 16px; font-size: .778rem; }.tree-caption > span:last-child { letter-spacing: .01em; }.tree-bottom-bar { padding: 13px 17px; }.tree-root-note { bottom: 4%; }.tree-root-note > span { font-size: .778rem; }.tree-view-tools { display: none !important; } }
@media (max-width: 720px) {
  .atlas-experience { border-radius: 0; border-left: 0; border-right: 0; }.tree-caption { font-size: .778rem; padding: 12px 16px; gap: 8px; }.tree-caption > span:last-child { font-size: .778rem; }.tree-caption > span:last-child > span { display: none; }.tree-viewport { aspect-ratio: auto; padding-top: 56.28%; overflow: visible; }.tree-stage { height: auto; aspect-ratio: 1672 / 941; bottom: auto; }.tree-landmark { width: 24px; height: 24px; }.landmark-dot { inset: 7px; }.landmark-dot::after { inset: 2px; }.landmark-label { display: none; }.tree-landmark.is-selected .landmark-label,.tree-landmark:focus-visible .landmark-label { display: grid; font-size: .833rem; max-width: 115px; transform: translate(13px,-33px); opacity: 1; background: #0a171ff2; }.tree-landmark[data-landmark='generative-ai'] .landmark-label,.tree-landmark[data-landmark='multimodal-frontier'] .landmark-label { transform: translate(-105px,-43px); }.tree-landmark[data-landmark='turing'] .landmark-label { transform: translate(10px,-45px); }.landmark-label strong { font-size: .833rem; }.landmark-year { font-size: .778rem; }.tree-root-note { display: none; }#tree-atmosphere { height: auto; aspect-ratio: 1672 / 941; }.tree-viewport::after { display: none; }.atlas-readout { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 8px 22px 0; padding: 19px 0 22px; background: none; min-height: 174px; }.atlas-readout h2 { font-size: 2rem; margin-bottom: 10px; }.atlas-readout-meta { font-size: .778rem; gap: 14px; }.atlas-readout-copy > p:last-child { font-size: .944rem; max-width: 100%; }.atlas-open { font-size: .833rem; margin-top: 8px; }.tree-bottom-bar { padding: 12px 18px; gap: 10px; flex-wrap: wrap; }.tree-playback { gap: 18px; }.tree-playback button,.tree-original { font-size: .778rem; }.tree-original span { margin-left: 5px; }.tree-year { flex-basis: 115px; padding: 14px 12px; }.tree-year span { font-size: .833rem; }.tree-year small { font-size: .778rem; }.tree-chronology > button { padding: 8px 12px; }.tree-reading-note { font-size: .778rem; padding: 12px 18px; }
}
.atlas-experience[data-motion='off'] * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .tree-stage { transform: scale(var(--tree-zoom,1)); }.tree-path { animation: none !important; } }
@media (min-width: 721px) and (max-width: 960px) {
  .tree-viewport { padding-top: 56.28%; aspect-ratio: auto; overflow: visible; }
  .tree-stage { height: auto; aspect-ratio: 1672 / 941; bottom: auto; }
  #tree-atmosphere { height: auto; aspect-ratio: 1672 / 941; }
  .tree-viewport::after { display: none; }
  .atlas-readout { position: relative; inset: auto; margin: 4px 26px 0; width: auto; min-height: 160px; padding: 19px 0 23px; background: none; }
  .atlas-readout h2 { font-size: 2rem; }
  .atlas-readout-copy > p:last-child { font-size: .944rem; }
  .atlas-readout-meta { font-size: .833rem; }
  .atlas-open { font-size: .944rem; margin-top: 8px; }
  .tree-root-note { bottom: auto; top: 51%; }
}
@media (max-width: 720px) {
  .tree-playback button,.tree-original { min-height: 36px; }
  .tree-bottom-bar { padding-top: 6px; padding-bottom: 6px; }
  .tree-caption > span:last-child { font-size: 0; }
  .tree-caption > span:last-child::after { content: '1950—2026'; font-size: .778rem; }
}
@media (max-width: 960px) { .tree-root-note { display: none; } }
