/* A portrait and a moving, illustrated route share one editorial spread. */
.eo-journey {
  --journey-night: #253229;
  --journey-cream: #f7f6e7;
  --journey-celery: #e2e6ba;
  --journey-rule: #5c6957;
  --journey-accent: #dfad79;
  position: relative;
  isolation: isolate;
  padding-block: clamp(60px, 8.8vh, 106px);
  scroll-margin-top: var(--eo-pinned-height, 68px);
  background: var(--journey-night);
  color: var(--journey-cream);
  font: 400 17px/1.46 var(--eo-face, "Segoe UI", sans-serif);
}
.eo-journey-spread { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.56fr); gap: clamp(38px, 5.3vw, 104px); align-items: center; }
.eo-journey [hidden] { display: none !important; }
.eo-journey button { font-family: inherit; }
.eo-journey button:focus-visible, .eo-journey a:focus-visible, .eo-journey summary:focus-visible, .eo-route-traveller:focus-visible { outline: 2px solid var(--journey-accent); outline-offset: 4px; }
.eo-journey-founder, .eo-journey-guide { min-width: 0; }
.eo-founder-portrait { position: relative; isolation: isolate; display: grid; align-items: end; height: clamp(295px, 36.5vh, 415px); margin: 0; }
.eo-founder-portrait::before {
  content: ""; position: absolute; z-index: -1; inset: 3% 3% 0 8%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 380' fill='none' stroke='%238b9876' stroke-width='.85'%3E%3Cpath opacity='.32' d='M54 371C-29 278 20 115 143 48S387 45 410 126M18 319C-12 221 53 96 161 41S354 28 396 77'/%3E%3Cpath opacity='.23' stroke-dasharray='2 7' d='M36 350C-19 255 33 116 152 48S363 36 402 98'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.eo-founder-portrait img {
  position: absolute; z-index: -1; right: 2%; bottom: 0; max-width: 80%; width: auto; height: 100%; object-fit: contain; object-position: bottom; display: block;
  -webkit-mask-image: linear-gradient(#000 0%, #000 85%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 85%, transparent 100%);
}
.eo-founder-portrait figcaption { justify-self: start; margin: 0; position: relative; padding-bottom: 4px; }
.eo-journey .eo-journey-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: var(--journey-celery); font: 670 12px/1.2 var(--eo-face); letter-spacing: .14em; text-transform: uppercase; }
.eo-journey-kicker::before { content: ""; width: 27px; height: 2px; background: var(--journey-accent); }
.eo-journey .eo-founder-portrait h3 { color: var(--journey-cream); margin: 0; font: 460 clamp(43px, 4.05vw, 74px)/.98 var(--eo-display) !important; letter-spacing: -.05em; }
.eo-founder-message { position: relative; padding: 17px 0 2px 24px; margin: 12px 0 21px; border: 0; background: none; }
.eo-founder-message::before { content: "“"; position: absolute; left: -1px; top: 11px; font: 460 45px/1 var(--eo-display); color: var(--journey-accent); }
.eo-founder-message p { margin: 0; max-width: 22ch; color: var(--journey-cream); font: 420 clamp(25px, 1.95vw, 35px)/1.13 var(--eo-display); letter-spacing: -.025em; }
.eo-founder-message em { color: var(--journey-celery); font: inherit; }
.eo-founder-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--journey-rule); }
.eo-journey .eo-founder-profile-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; padding: 4px 5px 4px 13px; border-radius: 5px; border: 1px solid var(--journey-celery); color: #29382b; background: var(--journey-celery); font: 650 15px/1.2 var(--eo-face); text-decoration: none; transition: background .3s, color .3s; }
.eo-founder-profile-link > span { display: grid; place-items: center; background: #c9ce9c; color: #334631; width: 29px; height: 29px; border-radius: 2px; font: 21px/1 Arial,sans-serif; transition: transform .35s cubic-bezier(.2,.8,.25,1), background .35s; }
.eo-journey .eo-founder-profile-link:is(:hover,:focus-visible) { background: #faf9e9; color: #263426; }
.eo-founder-profile-link:is(:hover,:focus-visible) > span { transform: translate(1px,-1px); background: #dfe4b7; }
.eo-journey-heading { margin-bottom: clamp(15px,1.65vw,27px); }
.eo-journey .eo-journey-heading h2 { margin: 0; font: 445 clamp(42px,4.5vw,84px)/.99 var(--eo-display) !important; letter-spacing: -.053em; color: var(--journey-cream); text-wrap: balance; }
.eo-journey-heading h2 em { font: inherit; color: var(--journey-celery); }
.eo-journey .eo-journey-instruction { display: none; align-items: center; gap: 9px; color: #d6dcc6; margin: 12px 0 0; font: 440 clamp(15px,1.05vw,19px)/1.4 var(--eo-face); }
.eo-route-ready .eo-journey-instruction { display: flex; }
.eo-journey-gesture { color: var(--journey-accent); font: 22px/1 Georgia, serif; }
.eo-route-interactive { overflow: hidden; background: #303e31; border: 1px solid #66735c; border-radius: 8px; }
.eo-route-stage { position: relative; height: clamp(305px, 35.4vh, 420px); overflow: hidden; isolation: isolate; background: #f1efd9; color: #354431; touch-action: pan-y; }
.eo-route-stage::after { content: ""; position: absolute; pointer-events: none; z-index: 2; top: 13px; right: 13px; width: 34px; height: 42px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 44'%3E%3Cg stroke='%2357664d' fill='none' stroke-width='1'%3E%3Ccircle cx='18' cy='27' r='10'/%3E%3Cpath d='M3 27h30m-15-15v30' opacity='.6'/%3E%3Cpath d='m18 14 3 16-3-2-3 2z' fill='%23677756'/%3E%3C/g%3E%3Ctext x='18' y='9' text-anchor='middle' fill='%23495340' font-family='Georgia,serif' font-size='8'%3EN%3C/text%3E%3C/svg%3E") center/contain no-repeat; }
.eo-route-world, .eo-route-scene, .eo-route-stations, .eo-route-leader { position: absolute; top: 0; left: 0; height: 100%; }
.eo-route-world { transform-origin: left top; }
.eo-route-scene, .eo-route-stations, .eo-route-leader { width: 100%; max-width: none; }
.eo-route-scene, .eo-route-leader, .eo-route-stations { pointer-events: none; }
.eo-route-pin { position: absolute; transform: translate(-50%,-13px); min-width: 46px; display: flex; align-items: center; flex-direction: column; padding: 0 5px 4px; margin: 0; background: transparent; border: 0; color: #34472f; cursor: pointer; pointer-events: auto; user-select: none; }
.eo-route-pin b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #647452; box-shadow: 0 0 0 3px #f1efd9; background: #f5f3e2; font: 650 11px/1 var(--eo-face); transition: color .2s, background .2s; }
.eo-route-pin span { margin-top: 5px; padding: 3px 6px; border-radius: 3px; background: #efefdcee; color: #3b4b36; white-space: nowrap; font: 650 13px/1.1 var(--eo-face); }
.eo-route-pin[aria-current] b, .eo-route-pin:hover b { color: #fffdef; background: #75442d; border-color: #75442d; }
.eo-route-pin.is-visited b { color: #faf8e8; background: #697650; }
.eo-route-traveller { position: absolute; z-index: 4; width: clamp(48px,3.5vw,66px); height: auto; aspect-ratio: 56/80; transform: translate(-50%,-95%); touch-action: none; cursor: grab; border-radius: 30% 30% 16% 16%; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.eo-route-traveller:focus-visible { outline-color: #8d582f; }
.eo-route-stage.is-held .eo-route-traveller { cursor: grabbing; }
.eo-route-leader { z-index: 3; color: #825d3d; }
.eo-route-note { box-sizing: border-box; position: absolute; z-index: 3; left: 0; top: 0; width: clamp(235px,21vw,325px); max-width: calc(100% - 24px); padding: 12px 16px 13px; border: 1px solid #abb08c; border-left: 3px solid #a8683e; border-radius: 3px 9px 3px 3px; background: #fffef2; box-shadow: 0 4px 12px #48523919; pointer-events: none; }
.eo-route-note, .eo-route-leader { transition: opacity .15s ease; }
.eo-route-between .eo-route-note, .eo-route-between .eo-route-leader { opacity: 0; }
.eo-route-note span { color: #80532f; display: block; font: 700 10px/1.3 var(--eo-face); text-transform: uppercase; letter-spacing: .12em; }
.eo-route-note strong { display: block; margin: 4px 0 3px; font: 540 clamp(21px,1.4vw,26px)/1.04 var(--eo-display); letter-spacing: -.027em; color: #2e3d2d; }
.eo-route-note p { color: #42503d; font: 440 clamp(14px,.85vw,16px)/1.34 var(--eo-face); margin: 0; }
.eo-route-hint { position: absolute; z-index: 5; bottom: 9px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 92%; padding: 5px 10px; border-radius: 3px; font: 600 13px/1.25 var(--eo-face); color: #fffdea; background: #46573b; pointer-events: none; }
.eo-route-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px clamp(8px,1vw,18px); }
.eo-route-chapters, .eo-route-turn { display: flex; align-items: center; gap: 4px; }
.eo-route-chapters button { position: relative; border: 0; padding: 0 clamp(7px,.95vw,17px); min-height: 44px; color: #dee4cc; background: transparent; font: 550 clamp(14px,.94vw,17px)/1.1 var(--eo-face); cursor: pointer; }
.eo-route-chapters button::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px; transform: translateX(-50%); background: var(--journey-accent); transition: width .32s ease; }
.eo-route-chapters button[aria-current] { color: #f8fadf; }
.eo-route-chapters button[aria-current]::after { width: 54%; }
.eo-route-chapters button:hover::after { width: 32%; }
.eo-route-turn button { border: 1px solid #89977b; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; padding: 0 0 2px; background: transparent; color: var(--journey-cream); cursor: pointer; font: 23px/1 Arial,sans-serif; transition: color .25s, background .25s; }
.eo-route-turn button:disabled { opacity: .38; cursor: default; }
.eo-route-turn button:enabled:is(:hover,:focus-visible) { color: #263426; background: var(--journey-celery); }
.eo-route-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eo-route-viewport { position: relative; height: 100%; overflow: hidden; }
.eo-route-art, .eo-route-art img { display: block; width: 100%; height: 100%; max-width: none; }
.eo-route-art { position: absolute; inset: 0; }
.eo-route-traveller { width: clamp(63px,4.5vw,87px); aspect-ratio: 4/5; transform: translate(-50%,-95%); }
.eo-route-traveller > img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.eo-route-traveller::before { content: ""; position: absolute; inset: auto 27% 3%; height: 7%; background: #4c534c55; border-radius: 50%; filter: blur(2px); z-index: -1; }
.eo-route-stride { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; }
.eo-route-stride img { position: absolute; left: 0; top: 0; display: block; width: 800%; max-width: none; height: 100%; transform: translateX(var(--gait-shift,0%)); }
.eo-route-traveller.is-stepping > img { opacity: 0; }
.eo-route-traveller.is-stepping .eo-route-stride { opacity: 1; }
.eo-route-stage.is-backward .eo-route-traveller > img, .eo-route-stage.is-backward .eo-route-stride { transform: scaleX(-1); }
.eo-route-reading { margin-top: 7px; }
.eo-route-reading summary { width: fit-content; min-height: 39px; display: flex; align-items: center; gap: 9px; color: #dce2c7; cursor: pointer; list-style: none; font: 510 14px/1.2 var(--eo-face); }
.eo-route-reading summary::-webkit-details-marker { display: none; }
.eo-route-reading summary::before { content: "+"; display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #7d8a70; border-radius: 50%; line-height: .9; }
.eo-route-reading[open] summary::before { content: "−"; }
.eo-route-reading ol { padding: 17px 0 0 25px; margin: 0; border-top: 1px solid var(--journey-rule); columns: 2; column-gap: 36px; }
.eo-route-reading li { break-inside: avoid; padding: 0 5px 0 2px; margin: 0 0 15px; color: var(--journey-accent); font: 600 15px/1.4 var(--eo-face); }
.eo-route-reading li strong { color: var(--journey-cream); }
.eo-route-reading li p { margin: 3px 0 0; color: #d6ddca; font: 430 15px/1.38 var(--eo-face); }
.eo-journey-spread:has(.eo-route-reading[open]) { align-items: start; }

@media (max-width: 1020px) {
  .eo-journey { padding-block: 54px; }
  .eo-journey-spread { grid-template-columns: minmax(0,.62fr) minmax(0,1.15fr); gap: 27px; }
  .eo-founder-portrait { height: clamp(220px,30vw,310px); }
  .eo-founder-portrait img { max-width: 94%; right: 0; }
  .eo-founder-links { justify-content: flex-start; }
  .eo-journey .eo-journey-heading h2 { font-size: clamp(39px,5.1vw,52px) !important; }
  .eo-route-controls { gap: 4px; padding-inline: 5px; }
  .eo-route-chapters, .eo-route-turn { gap: 0; }
  .eo-route-chapters button { padding-inline: 6px; }
  .eo-route-turn button { width: 37px; height: 37px; margin-left: 3px; }
}
@media (max-width: 720px) {
  .eo-journey-spread { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .eo-journey-founder { position: relative; max-width: 500px; width: 100%; margin: 0 auto; }
  .eo-founder-portrait { height: clamp(238px,60vw,320px); }
  .eo-founder-portrait img { right: 7%; }
  .eo-founder-links { justify-content: space-between; }
  .eo-founder-message { margin-bottom: 14px; }
  .eo-journey-guide { border-top: 1px solid var(--journey-rule); padding-top: 30px; }
  .eo-route-stage { height: 330px; }
  .eo-route-note { width: 232px; }
  .eo-route-reading ol { columns: 1; }
}
@media (max-width: 420px) {
  .eo-route-stage { height: 340px; }
  .eo-route-controls { flex-wrap: wrap; gap: 0; padding: 2px 5px 4px; }
  .eo-route-chapters { flex: 1; justify-content: space-around; }
  .eo-route-chapters button { padding-inline: 4px; font-size: 13px; }
  .eo-route-turn button { width: 34px; height: 34px; }
  .eo-route-note { width: 214px; padding: 10px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .eo-journey *, .eo-journey *::before, .eo-journey *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 1101px) {
  .eo-student-home #process.eo-journey { scroll-margin-top: var(--eo-pinned-height,68px); }
  .eo-journey { padding: 0; display: grid; min-height: calc(100vh - var(--eo-pinned-height,68px)); min-height: calc(100svh - var(--eo-pinned-height,68px)); }
  .eo-journey-spread { min-height: inherit; grid-template-columns: minmax(0,.91fr) minmax(0,1.59fr); gap: clamp(48px,4.5vw,90px); align-items: stretch; }
  .eo-journey-founder { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; padding-bottom: clamp(40px,7vh,84px); }
  .eo-founder-portrait { position: static; display: block; isolation: auto; height: auto; }
  .eo-founder-portrait::before { inset: 8% 0 3% -8%; }
  .eo-founder-portrait img { z-index: -1; inset: 0 auto auto 47%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; -webkit-mask-image: linear-gradient(#000 0%,#000 50%,rgb(0 0 0/.88) 64%,rgb(0 0 0/.37) 84%,transparent 100%); mask-image: linear-gradient(#000 0%,#000 50%,rgb(0 0 0/.88) 64%,rgb(0 0 0/.37) 84%,transparent 100%); }
  .eo-founder-portrait figcaption { padding-bottom: 0; }
  .eo-journey .eo-founder-portrait h3 { font-size: clamp(58px,5.25vw,100px) !important; line-height: .92 !important; }
  .eo-founder-message { margin: 10px 0 26px; padding-block: 11px 0; }
  .eo-founder-message p { max-width: 25ch; }
  .eo-founder-links { max-width: 450px; }
  .eo-journey-guide { align-self: center; padding-block: clamp(38px,5vh,72px); }
  .eo-journey-spread:has(.eo-route-reading[open]) { align-items: stretch; }
  .eo-route-reading[open] ol { overflow-y:auto; max-height: min(42vh,330px); scrollbar-color: #92a180 transparent; }
  .eo-route-stage { height: clamp(338px,39vh,462px); }
  .eo-journey-founder { --portrait-align: -50%; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .eo-route-stage { height: clamp(315px,40vh,410px); }
  .eo-route-note { width: min(245px,68%); }
}
@media (max-width: 1100px) {
  .eo-student-home #process.eo-journey { scroll-margin-top: 0; }
}
@media (min-width: 721px) and (max-width: 1100px) and (orientation: portrait) {
  .eo-journey-spread { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .eo-journey-founder { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.1fr); column-gap: 30px; align-items: center; }
  .eo-founder-portrait { grid-column: 1; grid-row: 1 / 3; height: 285px; }
  .eo-founder-message { grid-column: 2; align-self: end; }
  .eo-founder-links { grid-column: 2; align-self: start; justify-content: space-between; }
  .eo-journey-guide { border-top: 1px solid var(--journey-rule); padding-top: 28px; }
  .eo-route-stage { height: clamp(325px,39vw,390px); }
}
@media (max-width: 720px) {
  .eo-route-stage { height: auto; overflow: visible; }
  .eo-route-viewport { height: clamp(252px,72vw,350px); }
  .eo-route-note { position: relative; inset: auto; max-width: none; width: 100%; min-height: 125px; padding: 12px 17px 14px; border: 0; border-top: 1px solid #b5b89b; border-radius: 0; box-shadow: none; }
  .eo-route-between .eo-route-note { opacity: .68; }
  .eo-route-leader { display: none; }
  .eo-route-hint { top: 8px; bottom: auto; }
  .eo-route-traveller { width: 60px; }
}
@media (scripting: none) {
  html:has(#process:target) { scroll-behavior: auto; }
}
.eo-route-surface { position: relative; container: journey-surface / inline-size; }
.eo-journey .eo-route-mode { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin: 4px 0 0; padding: 3px 4px 3px 0; border: 0; color: #e0e5ce; background: transparent; font: 560 15px/1.15 var(--eo-face); cursor: pointer; }
.eo-route-mode svg { transition: transform .3s ease; }
.eo-route-mode:is(:hover,:focus-visible) svg { transform: rotate(-8deg); }
.eo-route-mode:is(:hover,:focus-visible) span { text-decoration: underline; text-underline-offset: 4px; }
.eo-route-book {
  position: absolute; z-index: 6; inset: 0; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  overflow: hidden; background: #faf8e9; color: #34412f;
}
.eo-book-open .eo-route-stage { visibility: hidden; }
.eo-book-open .eo-route-book { animation: eo-index-open .42s cubic-bezier(.20,.74,.28,1) both; }
@keyframes eo-index-open { from { opacity: .35; clip-path: inset(0 0 0 5%); } to { opacity: 1; clip-path: inset(0); } }
.eo-route-index { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center; column-gap: clamp(12px,1.2vw,24px); row-gap: clamp(13px,1.6vh,22px); padding: clamp(15px,1.45vw,28px); }
.eo-route-index > section { min-width: 0; }
.eo-route-index h4 { color: #536546; margin: 0 0 4px; padding-bottom: 4px; border-bottom: 1px solid #cbd0b3; font: 560 clamp(18px,1.27vw,23px)/1.1 var(--eo-display) !important; letter-spacing: -.025em; }
.eo-route-index button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 27px; padding: 2px 5px; border: 0; border-radius: 3px; text-align: left; color: #374433; background: transparent; cursor: pointer; font: 540 clamp(13px,.88vw,17px)/1.13 var(--eo-face); }
.eo-route-index button span { color: #816649; min-width: 1.45em; font: 650 11px/1 var(--eo-face); font-variant-numeric: tabular-nums; }
.eo-route-index button:hover { background: #e6e8cf; }
.eo-route-index button[aria-current] { background: #40523c; color: #fbf9ea; }
.eo-route-index button[aria-current] span { color: #e7d2ac; }
.eo-route-index button:focus-visible, .eo-book-locate:focus-visible { outline: 2px solid #8d5f38; outline-offset: 2px; }
.eo-book-entry { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(18px,2vw,38px); border-left: 1px solid #bfc6a1; color: #33412e; background: linear-gradient(90deg,#d6d9b4 0,#e5e8c8 4%,#ececd3 14%,#eeefd9 100%); }
.eo-book-entry::after { content: ""; position: absolute; top: 0; right: 24px; width: 15px; height: 22px; background: #a77548; clip-path: polygon(0 0,100% 0,100% 100%,50% 77%,0 100%); }
.eo-book-folio { display: flex; align-items: center; width: 100%; gap: 10px; margin-bottom: 12px; color: #6b553c; font: 720 11px/1.25 var(--eo-face); text-transform: uppercase; letter-spacing: .1em; }
.eo-book-folio i { flex: 1; max-width: 70px; height: 1px; background: #b7bb99; }
.eo-journey .eo-book-entry h3 { margin: 0 0 9px; color: #2c3b2b; font: 500 clamp(28px,2.45vw,45px)/1.03 var(--eo-display) !important; letter-spacing: -.04em; }
.eo-book-entry p { margin: 0 0 15px; max-width: 42ch; color: #3d4b37; font: 450 clamp(15px,.98vw,18px)/1.38 var(--eo-face); }
.eo-book-locate { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; padding: 4px 8px 4px 11px; background: #40523c; color: #fffbe7; border: 1px solid #40523c; border-radius: 4px; font: 620 14px/1.2 var(--eo-face); cursor: pointer; }
.eo-book-locate span { transition: transform .25s; }
.eo-book-locate:hover span { transform: translate(2px,-2px); }
@container journey-surface (max-width: 610px) {
  .eo-route-index { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 14px; }
  .eo-route-index > section:not(.is-book-chapter) { display: none; }
  .eo-route-index button { min-height: 33px; }
  .eo-route-book { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); }
  .eo-book-entry { padding: 18px; }
  .eo-journey .eo-book-entry h3 { font-size: 27px !important; }
}
@media (max-width:720px) {
  .eo-route-book { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .eo-route-index { display: block; padding: 12px 17px; }
  .eo-route-index > section { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
  .eo-route-index > section:not(.is-book-chapter) { display: none; }
  .eo-route-index h4 { grid-column: 1/-1; }
  .eo-route-index button { min-height: 31px; }
  .eo-book-entry { border-left: 0; border-top: 1px solid #bdc4a2; padding: 15px 19px; }
}
@media (prefers-reduced-motion:reduce) { .eo-book-open .eo-route-book { animation: none; } }

/* The observer enables these poses. The map viewport stays fixed throughout
   the reveal so pointer coordinates always match the illustrated route. */
@media screen and (prefers-reduced-motion: no-preference) {
  .eo-journey-motion .eo-journey { --entry-ease: cubic-bezier(.2,.76,.21,1); }
  .eo-journey-motion [data-journey-entry] { --waiting: 1; --entry-time: 0s; }
  .eo-journey-motion .eo-entry-in { --waiting: 0; --entry-time: 1s; }
  .eo-journey-motion .eo-entry-direct { --entry-time: 0s; }

  .eo-journey-motion .eo-founder-portrait img {
    transform-origin: 50% 30%;
    transform: translateX(var(--portrait-align,0%)) translateY(calc(var(--waiting) * 11px)) scale(calc(1 + var(--waiting) * .036));
    opacity: calc(1 - var(--waiting) * .94);
    transition: transform calc(var(--entry-time) * 1.18) var(--entry-ease), opacity calc(var(--entry-time) * .88) ease-out;
  }
  .eo-journey-motion .eo-founder-portrait::before {
    opacity: calc(1 - var(--waiting));
    transition: opacity var(--entry-time) ease calc(var(--entry-time) * .12);
  }
  .eo-journey-motion .eo-journey-kicker {
    opacity: calc(1 - var(--waiting));
    transition: opacity calc(var(--entry-time) * .48) ease;
  }
  .eo-journey-motion .eo-journey-kicker::before {
    transform: scaleX(calc(1 - var(--waiting)));
    transform-origin: left;
    transition: transform calc(var(--entry-time) * .56) var(--entry-ease);
  }
  .eo-journey-motion #eo-founder-name {
    clip-path: inset(-.22em -.14em calc(-.26em + var(--waiting) * (100% + .55em)) -.14em);
    transform: translateY(calc(var(--waiting) * .17em));
    transition: clip-path calc(var(--entry-time) * .82) var(--entry-ease) calc(var(--entry-time) * .08),
                transform calc(var(--entry-time) * .88) var(--entry-ease) calc(var(--entry-time) * .08);
  }
  .eo-journey-motion .eo-founder-message::before {
    opacity: calc(1 - var(--waiting));
    transform: rotate(calc(var(--waiting) * -12deg)) scale(calc(1 - var(--waiting) * .25));
    transition: opacity calc(var(--entry-time) * .45) ease, transform calc(var(--entry-time) * .67) var(--entry-ease);
  }
  .eo-journey-motion .eo-founder-message p,
  .eo-journey-motion .eo-founder-message em,
  .eo-journey-motion .eo-journey-heading h2 em {
    opacity: calc(1 - var(--waiting));
    transition: opacity calc(var(--entry-time) * .65) ease calc(var(--entry-time) * .12);
  }
  .eo-journey-motion .eo-founder-message em,
  .eo-journey-motion .eo-journey-heading h2 em { transition-delay: calc(var(--entry-time) * .24); }
  .eo-journey-motion .eo-founder-profile-link,
  .eo-journey-motion .eo-founder-social {
    opacity: calc(1 - var(--waiting));
    translate: 0 calc(var(--waiting) * 7px);
    transition: opacity calc(var(--entry-time) * .45) ease calc(var(--entry-time) * var(--entry-order,.04)),
                translate calc(var(--entry-time) * .58) var(--entry-ease) calc(var(--entry-time) * var(--entry-order,.04)),
                background-color .3s ease, color .24s ease;
  }
  .eo-journey-motion [data-network="linkedin"] { --entry-order: .1; }
  .eo-journey-motion [data-network="youtube"] { --entry-order: .16; }
  .eo-journey-motion [data-network="instagram"] { --entry-order: .22; }
  .eo-journey-motion [data-network="facebook"] { --entry-order: .28; }

  .eo-journey-motion .eo-journey-heading h2 {
    clip-path: inset(-.22em calc(-1% + var(--waiting) * 101%) -.26em -.1em);
    transition: clip-path calc(var(--entry-time) * .88) var(--entry-ease);
  }
  .eo-journey-motion .eo-journey-instruction {
    opacity: calc(1 - var(--waiting));
    transition: opacity calc(var(--entry-time) * .55) ease calc(var(--entry-time) * .21);
  }
  .eo-journey-motion .eo-journey-gesture {
    transform: translateX(calc(var(--waiting) * -8px));
    transition: transform calc(var(--entry-time) * .71) var(--entry-ease) calc(var(--entry-time) * .18);
  }
  .eo-journey-motion .eo-route-surface::after {
    content: "";
    position: absolute;
    z-index: 7;
    inset: 0 0 0 -6%;
    pointer-events: none;
    background: linear-gradient(83deg,#d9dcba 0 5%,#869170 5.15% 5.65%,#344436 5.8%);
    clip-path: polygon(0 0,100% 0,100% 100%,5% 100%);
    transform: translateX(calc((1 - var(--waiting)) * 101%));
    transition: transform calc(var(--entry-time) * .98) var(--entry-ease);
  }
  .eo-journey-motion .eo-route-chapters button {
    opacity: calc(1 - var(--waiting));
    translate: 0 calc(var(--waiting) * 9px);
    transition: opacity calc(var(--entry-time) * .42) ease calc(var(--entry-time) * var(--entry-order,.06)),
                translate calc(var(--entry-time) * .56) var(--entry-ease) calc(var(--entry-time) * var(--entry-order,.06));
  }
  .eo-journey-motion .eo-route-chapters button:nth-child(2) { --entry-order: .13; }
  .eo-journey-motion .eo-route-chapters button:nth-child(3) { --entry-order: .20; }
  .eo-journey-motion .eo-route-chapters button:nth-child(4) { --entry-order: .27; }
  .eo-journey-motion .eo-route-turn {
    opacity: calc(1 - var(--waiting));
    transform: translateX(calc(var(--waiting) * 12px));
    transition: opacity calc(var(--entry-time) * .48) ease calc(var(--entry-time) * .2),
                transform calc(var(--entry-time) * .64) var(--entry-ease) calc(var(--entry-time) * .2);
  }
  .eo-journey-motion .eo-route-mode {
    opacity: calc(1 - var(--waiting));
    transition: opacity calc(var(--entry-time) * .5) ease calc(var(--entry-time) * .12);
  }
}
