/* An illustrated walk through the landscape. All landmarks share a ground line. */
:root {
  --porcelain: #fff7e5;
  --sunlight: #ffdc92;
  --ocean: #0b3c60;
  --dune-ink: #392e20;
  --edge: clamp(24px, 4.2vw, 82px);
  --ground: 13.4%;
}
body { background: #075da4; color: var(--porcelain); }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffdd85; outline-offset: 4px; }
.header { padding: 0 var(--edge); height: clamp(66px, 9.6vh, 100px); background: linear-gradient(#063c687a,transparent); gap: 20px; }
.header::after { content:""; position:absolute; bottom:0; left:var(--edge); right:var(--edge); height:1px; background:linear-gradient(90deg,#fff4d866,#fff4d815 45%,#fff4d84d); pointer-events:none; }
.brand { gap:10px; color:#fff5d9; padding:0; }
.brand-mark { width:40px; height:40px; font-size:25px; border:1px solid #ffdc9399; }
.brand-sub { font-size:9px; letter-spacing:2.6px; }
.header-location { gap:6px; font-size:13px; font-weight:normal; opacity:1; }
.header-location svg { width:16px; height:16px; color:var(--sunlight); }
.header-controls { gap:clamp(13px,1.6vw,27px); }
.header-controls :is(button,a) { display:inline-flex; justify-content:center; align-items:center; gap:7px; padding:7px 1px; min-height:43px; font-size:14px; line-height:1.5; font-family:Arabic,Arial,sans-serif; }
.header-controls svg { flex:none; width:17px; height:17px; }
.header-controls .map-button { border:0; border-radius:0; background:none; backdrop-filter:none; }
.header-controls .header-contact { color:var(--porcelain); padding:8px 15px; border:1px solid #fff4d98c; border-radius:22px; background:#053e6a3b; }
.header-controls .header-contact:hover { background:#08466fa6; }
#language-label { font:bold 12px/1.2 Arial,Arabic,sans-serif; }
#journey-track { height:800vh; height:800svh; }
#stage { min-height:0; height:100vh; height:100svh; }
.landscape img { width:max(100vw,300svh); height:100%; }
.sky-tint { background:linear-gradient(0deg,#743b1e12,transparent 24%),linear-gradient(180deg,#00386538,transparent 22%); }
.world { position:relative; }
.scene::before { content:""; position:absolute; z-index:-1; pointer-events:none; inset:0; background:radial-gradient(ellipse 44% 49% at 27% 37%,#003965c9 0%,#004576a8 48%,#00508a63 74%,transparent 100%); }
.scene { isolation:isolate; }
.scene .hero-copy, .scene .scene-copy, html[lang=en] .scene .hero-copy, html[lang=en] .scene .scene-copy { width:44%; max-width:680px; position:absolute; left:7.4%; top:21%; text-align:start; direction:rtl; z-index:4; }
.scene .hero-copy, html[lang=en] .scene .hero-copy { top:21%; left:8.5%; width:44%; max-width:690px; }
html[lang=en] .scene .scene-copy, html[lang=en] .scene .hero-copy { direction:ltr; }
.scene .eyebrow, html[lang=en] .scene .eyebrow { color:var(--sunlight); font-family:Arabic,Arial,sans-serif; font-size:clamp(12px,1.08vw,17px); line-height:1.7; display:flex; justify-content:flex-start; align-items:center; gap:11px; margin:0 0 clamp(10px,1.6vh,20px); font-weight:normal; }
.atlas-star { width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:1.2; }
.station-year { font:bold clamp(13px,1vw,16px)/1.6 Arial,Arabic,sans-serif; white-space:nowrap; }
.date-rule { width:23px; height:1px; flex:none; background:#ffd18cb2; }
#hero-title { margin:11px 0 22px; line-height:1; font-weight:700; }
#hero-title .first-name { font:700 clamp(78px,min(8.5vw,13vh),160px)/1.34 Display,Arial,sans-serif; letter-spacing:-.065em; display:block; }
#hero-title .last-name { font:700 clamp(28px,min(3.7vw,5.9vh),68px)/1.6 Display,Arial,sans-serif; letter-spacing:-.045em; display:block; margin:-.25em 0 0; }
.hero-caption>p:first-child, .scene .scene-description, html[lang=en] .hero-caption>p:first-child, html[lang=en] .scene .scene-description { font:normal clamp(16px,1.24vw,20px)/1.95 Arabic,Arial,sans-serif; color:#fff9e9; max-width:38em; margin:0; text-shadow:0 1px 8px #003858c4; }
.scene .scene-description + .scene-description { margin-block-start: clamp(3px, .8vh, 9px); }
.scene-description strong { color: var(--sunlight); }
.phase-date { font-family: Arial, sans-serif; }
.hero-actions { display:flex; align-items:center; gap:clamp(16px,2.2vw,36px); margin-top:clamp(20px,3vh,37px); flex-wrap:wrap; }
.primary-action,.inline-action,.cv-link { display:inline-flex; align-items:center; justify-content:center; gap:9px; font:700 14px/1.65 Arabic,Arial,sans-serif; }
.primary-action { color:#163c4c; border:1px solid #fff3cd; background:#ffdf9c; border-radius:30px; padding:9px 21px; min-height:46px; box-shadow:0 3px 8px #00305426; }
.primary-action svg, .inline-action svg, .cv-link svg { width:17px; height:17px; }
.primary-action:hover { background:#fff0c6; }
.inline-action, .cv-link { min-height:42px; border:0; border-bottom:1px solid #ffe8b29c; border-radius:0; background:transparent; padding:5px 0; color:var(--porcelain); }
.hero-waymark { position:absolute; right:5%; top:17%; width:clamp(45px,5.1vw,85px); color:#fff3cbad; display:flex; flex-direction:column-reverse; align-items:center; gap:5px; }
.hero-waymark .atlas-star { width:100%; height:auto; stroke-width:.7; }
.hero-waymark small { font:600 9px/1 Georgia,serif; letter-spacing:.15em; }
.scene .scene-copy h2, html[lang=en] .scene .scene-copy h2 { color:var(--porcelain); font:700 clamp(38px,min(4.6vw,7.9vh),81px)/1.5 Display,Arial,sans-serif; letter-spacing:-.045em; margin:0 0 clamp(13px,2vh,25px); text-shadow:0 2px 12px #07335d42; }
.scene.university-scene .scene-copy h2, html[lang=en] .scene.university-scene .scene-copy h2 { font-size:clamp(29px,min(3.4vw,6.5vh),62px); }
.project-list { padding:0; margin:13px 0 0; list-style:none; color:#fff8e6; width:fit-content; max-width:100%; }
.project-list li { padding:4px 0; border-top:1px solid #efdbad4a; font-size:clamp(12px,.96vw,15px); line-height:1.7; }
.project-list li b { font-weight:bold; color:var(--sunlight); }
.project-list i { font-style:normal; opacity:.8; }
.station-art { position:absolute; right:3.5%; bottom:var(--ground); width:47%; height:52%; margin:0; direction:ltr; isolation:isolate; pointer-events:none; }
.station-art::before { content:""; height:3%; border-radius:50%; background:#5b3e2447; position:absolute; bottom:-.5%; right:5%; width:87%; filter:blur(7px); transform:rotate(-1deg); }
.station-model { display:block; width:100%; height:100%; object-fit:contain; object-position:center bottom; filter:drop-shadow(4px 5px 2px #674b2c24); position:relative; }
.roadboard { position:absolute; display:grid; justify-items:center; color:#fff0ce; width:max-content; max-width:85%; direction:ltr; text-shadow:none; filter:drop-shadow(2px 4px 1px #70512f3e); }
.station-art .roadboard { right:1%; bottom:-4.8vh; z-index:3; transform:rotate(1deg); }
.roadboard>div { padding:5px 14px 6px; min-width:85px; border:2px solid #e6bf7e; outline:1px solid #68482d; background:#255552; text-align:center; box-shadow:1px 2px 0 #795a39; position:relative; }
.roadboard>div::before,.roadboard>div::after { content:""; position:absolute; top:47%; width:2px; height:2px; border-radius:100%; background:#efd092; }
.roadboard>div::before { left:4px; }.roadboard>div::after { right:4px; }
.roadboard strong { display:block; font:bold clamp(12px,1.13vw,19px)/1.6 Display,Arial,sans-serif; }
.roadboard small { display:block; font:bold clamp(7px,.58vw,10px)/1.6 Arial,sans-serif; letter-spacing:.12em; }
.roadboard>i { width:6px; height:clamp(14px,3.5vh,38px); background:linear-gradient(90deg,#705134,#af8962 45%,#765334); }
.welcome-board { right:4.5%; bottom:9%; transform:rotate(-3deg); }
.pure-sign>div { background:#25475a; }.wow-sign>div { background:#843e3b; }.bayan-sign>div { background:#574464; }.university-sign>div { background:#5d492d; }
#traveler { bottom:7.5%; }
#traveler img { user-select:none; }
#walk-cue { bottom:9.5%; left:46%; z-index:9; background:#f7e3b8d9; padding:3px 10px; border:1px solid #81623e4d; border-radius:22px; color:#46301c; font-size:11px; gap:6px; }
#walk-cue .mouse-icon { width:13px; height:19px; border-width:1px; }
#walk-cue .mouse-icon i { left:5px; top:3px; height:5px; }
.contact .contact-methods { display:flex; align-items:flex-start; flex-direction:column; margin:12px 0 2px; }
.contact-methods a { display:inline-flex; align-items:center; gap:9px; min-height:35px; font:500 clamp(15px,1.3vw,21px)/1.6 Arial,sans-serif; color:#fff9e5; }
.contact-methods svg { width:16px; height:16px; color:var(--sunlight); }
.contact .cv-link { font-size:13px; color:var(--sunlight); }
.cv-downloads { display:flex; align-items:center; flex-wrap:wrap; gap:3px clamp(12px,1.25vw,22px); }
.cv-downloads a { max-width:100%; }
.accessible-story .cv-downloads { margin-top:7px; }
.accessible-story .cv-downloads a { margin-inline:0; }

.scene.contact .scene-copy { top:18%; }
.post-visual { direction:ltr; position:absolute; right:8%; width:29%; top:37%; aspect-ratio:1.5; border:9px solid #ecd3a3; outline:1px solid #927653; box-shadow:3px 4px 0 #775b3e,8px 12px 0 #74532b2e; background:repeating-linear-gradient(137deg,#b8623d 0 13px,#f4e6c1 13px 25px,#436c78 25px 38px,#f4e6c1 38px 51px); transform:rotate(-5deg); display:grid; align-content:center; justify-items:center; color:#27505a; isolation:isolate; }
.post-visual::before { content:""; position:absolute; inset:5px; z-index:-1; background:#f7e8c4; }
.post-visual>svg { width:clamp(38px,5vw,88px); height:auto; stroke-width:.8; }
.post-visual>strong { font:700 clamp(8px,.85vw,14px)/1.8 Arial,sans-serif; letter-spacing:.2em; }
.post-stamp { position:absolute; right:8%; top:10%; width:15%; aspect-ratio:1; border:2px dotted #aa855a; outline:1px solid #c9a575; color:#a6653f; display:grid; place-items:center; align-content:center; }
.post-stamp svg { width:58%; height:auto; }.post-stamp small { font:600 6px/1.5 Arial,sans-serif; letter-spacing:.1em; }
.post-lines { position:absolute; left:7%; top:15%; width:20%; }.post-lines i { display:block; height:3px; border-bottom:1px solid #94775c; margin-bottom:3px; transform:rotate(-4deg); }
.post-stand { position:absolute; left:40%; right:40%; top:calc(100% + 11px); height:14vh; z-index:-2; border-inline:7px solid #97754d; transform:rotate(4deg); box-shadow:inset 2px 0 #533d2a; }
.journey-footer { height:clamp(54px,7.2vh,76px); padding:0 var(--edge); gap:14px; color:var(--dune-ink); background:linear-gradient(#f5d9aeeb,#f0cc98f7); border-top:1px solid #795d3f50; }
.footer-tools,.station-controls { display:flex; align-items:center; gap:clamp(9px,1.2vw,20px); }
.footer-tools button,.step-control { min-height:40px; }
.footer-tools button { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:4px 2px; color:var(--dune-ink); font:normal 13px/1.7 Arabic,Arial,sans-serif; }
.footer-tools svg,.step-control svg { width:16px; height:16px; }
.footer-tools .tour-toggle { padding:4px 12px; border:1px solid #70503579; border-radius:22px; }
.tour-toggle[data-state=playing] .play-icon, .tour-toggle:not([data-state=playing]) .pause-icon { display:none; }
#tour-label { white-space:nowrap; }
#station-nav { gap:0; }
.station-dot { width:24px; height:42px; }.station-dot span { background:#6c4e368c; }.station-dot.active span{width:17px;background:#654327}
.station-controls { gap:5px; }.station-label { min-width:50px; justify-content:center; font-size:13px; }
.step-control { width:35px; padding:4px; display:grid; place-items:center; }
.step-control.previous svg { transform:rotate(180deg); }.step-control:disabled { opacity:.26; cursor:default; }
.progress-line span { background:#ffcf7b; }
html[lang=en] #hero-title .first-name { font:600 clamp(78px,min(8.7vw,15vh),163px)/1 Georgia,serif; letter-spacing:-.07em; }
html[lang=en] #hero-title .last-name { font:500 clamp(29px,min(3.6vw,6.3vh),62px)/1.22 Georgia,serif; letter-spacing:-.045em; margin:0; }
html[lang=en] .scene .scene-copy h2 { font-family:Georgia,'Times New Roman',serif; font-weight:500; line-height:1.07; letter-spacing:-.055em; }
html[lang=en] .scene .eyebrow,html[lang=en] .hero-caption>p:first-child, html[lang=en] .scene .scene-description { font-family:Arial,sans-serif; line-height:1.6; }
html[lang=en] .hero-actions,html[lang=en] .header-controls,html[lang=en] .footer-tools button { font-family:Arial,sans-serif; }
html[lang=en] .scene .eyebrow { text-transform:none; letter-spacing:0; }
/* A route drawn across an illustrated map; the miniature is the same landmark as its stop. */
.route-dialog { background:#f5e8cb; color:#423523; padding:clamp(16px,3.5vh,40px) var(--edge); }
.dialog-header { max-width:1480px; margin:auto; }
.dialog-header .eyebrow { color:#79522d; opacity:1; display:flex; align-items:center; gap:8px; line-height:1.6; margin:0 0 3px; }
.dialog-header .eyebrow svg { width:17px;height:17px; }
.dialog-header h2 { font-family:Display,Arial,sans-serif; font-size:clamp(28px,3.4vw,56px); font-weight:700; line-height:1.6; margin:0 0 10px; }
.dialog-close { display:flex; align-items:center; gap:7px; padding:7px 16px; min-height:42px; border:1px solid #836b47; border-radius:23px; font-size:13px; }
.dialog-close svg { width:14px;height:14px; }
.route-dialog .route-map { display:block; width:100%; max-width:1480px; margin:auto; height:68svh; min-height:265px; max-height:740px; border:1px solid #a58752; border-radius:3px; background:linear-gradient(#f6d59270,#efc58c91),url(assets/landscape.webp) center 72% / cover; box-shadow:0 10px 24px #79552725; }
.route-map .map-sky { background:linear-gradient(180deg,#f2e0bbb0,transparent 62%); }
.route-map .route-path { display:block; position:absolute; inset:0; width:100%; height:100%; stroke:#67452e; stroke-width:2; stroke-dasharray:5 5; fill:none; opacity:.8; }
.route-map .map-stop { position:absolute; transform:translate(-50%,-50%); }
.route-map .stop-0{left:7%;top:62.5%}.route-map .stop-1{left:19%;top:34%}.route-map .stop-2{left:31%;top:64.5%}.route-map .stop-3{left:43.7%;top:34%}.route-map .stop-4{left:56.6%;top:64.5%}.route-map .stop-5{left:69.1%;top:34%}.route-map .stop-6{left:81.2%;top:64.5%}.route-map .stop-7{left:93%;top:38%}
.route-map .map-stop button { display:flex; flex-direction:column; align-items:center; gap:5px; min-width:0; width:clamp(72px,10vw,157px); padding:4px 0; }
.route-map .map-art { display:flex; align-items:flex-end; justify-content:center; width:100%; height:clamp(45px,10vh,110px); border:none; border-radius:0; background:none; box-shadow:none; filter:drop-shadow(2px 4px 1px #72502745); }
.route-map .map-art img { width:100%; height:100%; object-fit:contain; object-position:center bottom; }
.route-map .map-art svg { width:50%;height:auto; padding:6px; stroke:#254f60; background:#f9e7ba; border:2px solid #7a6745; border-radius:3px; }
.route-map .map-stop strong { padding:2px 11px 3px; color:#3f321f; background:#fff1cd; border:1px solid #a18a61; font:700 clamp(11px,1vw,15px)/1.7 Arabic,Arial,sans-serif; box-shadow:1px 2px 0 #76573355; border-radius:2px; }
.route-map .map-stop.active strong { color:#ffefc9; background:#205051; border-color:#25575a; }
.route-map .you-are-here { top:calc(100% + 1px); color:#342b1f; background:#fae8bc; border:1px solid #b99f72; font-size:10px; padding:1px 6px; }
.map-footnote { color:#5e4b32;margin:13px auto;max-width:1480px;font-size:13px;text-align:start; }
.text-mode { background:#faf5e7; color:#253a40; }
.text-mode .header { background:#104f79; color:var(--porcelain); }
.text-mode .journey-footer { background:#efd4aa; justify-content:center; }
.text-mode .tour-toggle,.text-mode .station-controls { display:none; }
.accessible-story { width:min(100%,900px); padding:24px var(--edge); color:#193c46; margin:95px auto 78px; }
.accessible-story article { padding:18px 0; border-bottom:1px solid #b9ab8a; }
.accessible-story h1,.accessible-story h2 { color:#164966; font-family:Display,Arial,sans-serif; font-weight:700; line-height:1.65; }
.accessible-story h1 { font-size:clamp(29px,3.9vw,56px); }.accessible-story h2 { font-size:clamp(21px,2.65vw,36px); margin:0 0 7px; }
.accessible-story .profile-role { color:#745333; }
.accessible-story p { font-size:16px; line-height:1.9; margin:0 0 6px; }
.accessible-story a { display:inline-flex; align-items:center; gap:6px; min-height:36px; color:#174b65; font-size:14px; line-height:1.4; }
.accessible-story a bdi { font-family:Arial,sans-serif; }
.accessible-story a svg { width:15px; height:15px; }
.profile-print { min-height:42px; margin-bottom:15px; color:#fff3d7; background:#154d69; border:1px solid #154d69; border-radius:3px; }
@media (min-width:1600px) { .scene .scene-copy,.scene .hero-copy,html[lang=en] .scene .scene-copy,html[lang=en] .scene .hero-copy { left:10%; } }
@media (max-width:1050px) { .header-location{display:none}.scene .scene-copy,.scene .hero-copy,html[lang=en] .scene .scene-copy,html[lang=en] .scene .hero-copy {left:6%;width:46%}.station-art{right:3%;width:45%}.scene .eyebrow{gap:6px}.project-list li{font-size:12px} }
@media (max-width:700px) and (orientation:portrait) {
  :root {--edge:clamp(15px,4.5vw,28px);--ground:13%}
  .header {height:60px;gap:10px;}
  .brand-mark {width:34px;height:34px;font-size:22px;}.brand {gap:6px;font-size:12px}.brand-sub{font-size:7px;letter-spacing:1.9px}
  .header-controls{gap:10px}.header-controls :is(button,a){font-size:12px;min-height:40px;gap:4px}.header-controls svg{width:14px;height:14px}.header-controls .header-contact{padding:5px 9px}
  .scene::before{background:radial-gradient(ellipse 94% 48% at 53% 32%,#003965b0 0%,#0045759c 38%,#03518556 70%,transparent 100%)}
  .scene .hero-copy,.scene .scene-copy,html[lang=en] .scene .hero-copy,html[lang=en] .scene .scene-copy { width:86%; max-width:560px; left:7%; top:calc(60px + 3vh); }
  .hero #hero-title{margin:5px 0 10px}#hero-title .first-name{font-size:clamp(56px,min(16vw,9.4vh),83px);line-height:1.3}
  #hero-title .last-name{font-size:clamp(23px,min(6.9vw,4.4vh),36px);line-height:1.6;margin:-.14em 0 0}
  .scene .eyebrow,html[lang=en] .scene .eyebrow{font-size:clamp(11px,2.8vw,14px);gap:7px;margin-bottom:5px;line-height:1.55}
  .eyebrow .atlas-star,.eyebrow>svg{width:18px;height:18px}.station-year{font-size:12px}.date-rule{width:15px}
  .hero-caption>p:first-child,.scene .scene-description,html[lang=en] .hero-caption>p:first-child,html[lang=en] .scene .scene-description {font-size:clamp(14px,1.96vh,17px);line-height:1.85;max-width:none}
  .hero-actions{margin-top:12px;gap:18px}.primary-action,.inline-action{min-height:40px;font-size:12px}.primary-action{padding:6px 15px}
  .hero-waymark {right:7%;top:54%;width:37px}
  .hero-waymark small{font-size:7px;}
  .welcome-board{right:auto;left:8%;bottom:13%}.welcome-board>div{padding:3px 8px; min-width:77px}.welcome-board strong{font-size:11px}.welcome-board small{font-size:6px}
  .scene .scene-copy h2,html[lang=en] .scene .scene-copy h2 {font-size:clamp(28px,4.8vh,43px);line-height:1.6;margin:6px 0 9px}
  .scene.university-scene .scene-copy h2,html[lang=en] .scene.university-scene .scene-copy h2 {font-size:clamp(23px,3.7vh,34px)}
  .station-art{right:3%;width:74%;height:32%;bottom:var(--ground)}
  .station-art .roadboard{right:0;bottom:-2.8vh}
  .roadboard>div{min-width:68px;padding:2px 7px 3px;border-width:1px}.roadboard strong{font-size:10px}.roadboard small{font-size:6px}.roadboard>i{width:4px;height:1.8vh}
  .project-list{margin-top:8px}.project-list li{font-size:clamp(11px,1.7vh,14px);padding:2px 0;line-height:1.65}
  #traveler{bottom:9%;}#walk-cue{display:none;}
  .journey-footer{height:54px;min-height:54px;padding:0 var(--edge);gap:7px}
  .footer-tools,.station-controls{gap:5px}.footer-tools button{font-size:11px;gap:4px}.footer-tools .tour-toggle{padding:4px 7px}.footer-tools svg,.step-control svg{width:13px;height:13px}
  .step-control{width:24px;min-height:42px}
  .station-label{font-size:11px;min-width:39px;white-space:nowrap}
  #station-nav{gap:0;justify-content:center;flex:1;min-width:0}.station-dot{width:12px;min-width:0;height:40px;padding:0;}.station-dot span{width:4px;height:4px}.station-dot.active span{width:9px}
  .contact .contact-methods{margin:7px 0 1px}.contact-methods a{min-height:29px;font-size:15px}.contact .cv-link{font-size:12px;min-height:32px}
  .post-visual{top:auto;right:9%;width:42%;bottom:19%;border-width:5px}.post-visual>svg{width:30px}.post-visual>strong{font-size:7px}.post-stand{height:5vh;top:calc(100% + 6px);border-inline-width:4px}.post-stamp small{font-size:4px}
  html[lang=en] #hero-title .first-name{font-size:clamp(50px,min(15vw,9vh),80px)}
  html[lang=en] #hero-title .last-name{font-size:clamp(23px,min(6.9vw,4.4vh),37px);margin:0}
  html[lang=en] .scene .scene-copy h2{line-height:1.1;margin:9px 0}
  html[lang=en] .hero-caption>p:first-child,html[lang=en] .scene .scene-description{line-height:1.55}
  .route-dialog{padding:16px var(--edge)}.dialog-header h2{font-size:28px;line-height:1.5;margin:0 0 10px}.dialog-header .eyebrow{font-size:11px}.dialog-close{font-size:12px;padding:5px 11px}
  .route-dialog .route-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));height:72svh;min-height:350px;max-height:710px;padding:12px 9px 15px;background-position:57% center}
  .route-map .map-stop{position:relative;inset:auto;transform:none;z-index:2;justify-self:center;align-self:center}
  .route-map .stop-0{grid-area:1/1}.route-map .stop-1{grid-area:1/2}.route-map .stop-2{grid-area:2/2}.route-map .stop-3{grid-area:2/1}.route-map .stop-4{grid-area:3/1}.route-map .stop-5{grid-area:3/2}.route-map .stop-6{grid-area:4/2}.route-map .stop-7{grid-area:4/1}
  .route-map::after{display:none}.route-map .route-path{display:none}
  .route-map .map-stop button{width:clamp(82px,23vw,127px);min-width:0;padding:0;gap:2px;}
  .route-map .map-art{height:clamp(35px,7.4vh,72px)}.route-map .map-stop strong{font-size:11px;padding:0 7px}.route-map .you-are-here{font-size:8px;line-height:1.4}
  .map-footnote{font-size:11px;margin-top:10px}.text-mode .header .brand-mark { flex:none; }
}
@media (max-height:720px) and (max-width:700px) and (orientation:portrait) {
  .scene .hero-copy,.scene .scene-copy,html[lang=en] .scene .hero-copy,html[lang=en] .scene .scene-copy {top:68px}
  .hero #hero-title{margin:3px 0 5px}#hero-title .first-name{font-size:clamp(45px,8vh,57px);line-height:1.2}
  #hero-title .last-name{font-size:clamp(19px,3.8vh,27px)}
  .hero-caption>p:first-child,.scene .scene-description,html[lang=en] .hero-caption>p:first-child,html[lang=en] .scene .scene-description{font-size:14px;line-height:1.65}
  .hero-actions{margin-top:7px}.hero-actions button{min-height:34px}
  .pure-scene .project-list{margin-top:4px}.pure-scene .project-list li{padding:0;font-size:11px}
  .station-art{height:30%;bottom:15%}#traveler{bottom:10.5%}
}
@media (max-width:370px) and (orientation:portrait) { .header-controls { gap:7px; }.header-controls .header-contact{padding-inline:6px}.header-controls :is(button,a){font-size:11px}#station-nav{display:none}.footer-tools,.station-controls{gap:9px}.journey-footer{justify-content:space-between} }
@media (max-height:580px) and (orientation:landscape) {
  :root{--edge:3vw;--ground:17%}.header{height:44px}.brand-mark{width:29px;height:29px;font-size:20px}.brand{font-size:11px;gap:5px}.brand-sub{font-size:6px}.header-controls :is(button,a){min-height:34px;font-size:12px}
  .scene .scene-copy,.scene .hero-copy,html[lang=en] .scene .scene-copy,html[lang=en] .scene .hero-copy{top:16%;left:4.5%;width:48%}
  .scene .eyebrow,html[lang=en] .scene .eyebrow{font-size:10px;line-height:1.5;margin-bottom:2px}
  .station-year{font-size:10px}.hero #hero-title{margin:0 0 4px}#hero-title .first-name{font-size:clamp(36px,11vh,61px);line-height:1.22}#hero-title .last-name{font-size:clamp(17px,4.7vh,28px);line-height:1.35;margin:0}
  .hero-caption>p:first-child,.scene .scene-description,html[lang=en] .hero-caption>p:first-child,html[lang=en] .scene .scene-description{font-size:clamp(11px,2.8vh,15px);line-height:1.63}
  .hero-actions{margin-top:7px}.hero-actions button{font-size:11px;min-height:32px;padding-block:3px}
  .scene .scene-copy h2,.scene.university-scene .scene-copy h2,html[lang=en] .scene .scene-copy h2,html[lang=en] .scene.university-scene .scene-copy h2{font-size:clamp(22px,6vh,34px);line-height:1.4;margin:3px 0}
  .project-list{margin:3px 0}.project-list li{font-size:10px;padding:0;line-height:1.55}
  .station-art{height:49%;width:41%;right:3%}.roadboard>div{padding:1px 6px;min-width:60px}.roadboard strong{font-size:9px}.roadboard small{font-size:5px}
  #traveler{bottom:12%}.journey-footer{height:40px;padding-inline:var(--edge)}.footer-tools button{min-height:30px;font-size:11px}.step-control{min-height:30px}.station-dot{height:29px}.station-label{font-size:11px}
  .contact-methods a{min-height:22px;font-size:12px}.contact .contact-methods{margin:2px 0}.contact .cv-link{min-height:24px;font-size:10px}
  #walk-cue{display:none}.route-dialog{padding:6px var(--edge)}.dialog-header h2{font-size:22px;margin:0}.dialog-header .eyebrow{font-size:9px}.route-dialog .route-map{min-height:0;height:66svh}.map-footnote{margin:3px auto;font-size:10px}
  html[lang=en] #hero-title .first-name{font-size:clamp(36px,12vh,60px)}html[lang=en] #hero-title .last-name{font-size:clamp(17px,4.8vh,26px)}
}
@media print {
  .accessible-story {color:#172b38!important; margin:0!important; padding:0!important;}
  .accessible-story a {font-size:8pt;min-height:0;margin:0 0 0 3mm}.accessible-story p{line-height:1.55}
  .accessible-story a svg,.accessible-story a[download]{display:none}
}
.header,.header-controls,.footer-tools,.station-controls{box-sizing:border-box;min-width:0}
.station-year{unicode-bidi:isolate}
.route-path-mobile { display:none; }
@media (max-width:700px) and (orientation:portrait) {
  .route-map .route-path-mobile { display:block; position:absolute; inset:12px 9px 15px; width:calc(100% - 18px); height:calc(100% - 27px); fill:none; stroke:#735639; stroke-width:1.5; stroke-dasharray:4 4; opacity:.7; }
}

/* Use the stage's usable width when a browser reserves a scrollbar gutter. */
.stage { container-type: inline-size; }
@supports (width: 100cqw) {
  .world > .scene { width: 100cqw; }
}
@media (max-width: 450px) and (orientation: portrait) {
  .journey-footer #station-nav { display: none; }
  .journey-footer { justify-content: space-between; }
}

/* The feet share a fixed baseline in all frames; the shadow stays on the ground. */
#traveler { aspect-ratio:2/3; translate:-50% 0; }
#traveler > img { display:block; width:100%; height:100%; }
.traveler .walk-surface {
  position:absolute; inset:0; pointer-events:none; display:none;
  background-repeat:no-repeat; background-size:800% 400%;
  filter:drop-shadow(4px 4px 2px #69451724);
}
.traveler.stride-ready .walk-surface { display:block; }
.traveler.stride-ready > img { visibility:hidden; }
.traveler.facing-forward .walk-surface { transform:scaleX(-1); }
#traveler .traveler-shadow {
  left:24%; bottom:.3%; width:52%; height:1.7%; background:#63432459; filter:blur(3px);
}
@media (prefers-reduced-motion: reduce) {
  .traveler.stride-ready .walk-surface { display:none; }
  .traveler.stride-ready > img { visibility:visible; }
}

/* A reading view with direct access to the CV, skills and work samples. */
:root { scroll-padding-block-start: 112px; }
#accessible-story {
  width: min(100%, 1100px);
  padding: 32px var(--edge) 54px;
  margin-block: clamp(74px, 11vh, 120px) 80px;
  outline: none;
}
#accessible-story :is(h1,h2,h3,h4) {
  color: #153a50;
  font-family: Display, Arial, sans-serif;
  margin: 0;
  line-height: 1.5;
  text-wrap: balance;
}
#accessible-story .profile-intro {
  background: #fffaf0;
  border: 1px solid #d8c7a6;
  border-block-start: 4px solid #9b6b36;
  padding: clamp(20px, 4vw, 46px);
  box-shadow: 0 7px 26px #66553013;
}
#accessible-story h1 { font-size: clamp(27px, 4.8vw, 54px); }
#accessible-story .profile-focus { color: #795020; font-weight: 700; }
#accessible-story .profile-summary { max-inline-size: 39em; margin-block: 12px 20px; }
#accessible-story .profile-summary strong { color: #153a50; }
.profile-actions { display: flex; flex-direction: column; gap: 8px; }
#accessible-story .profile-downloads { margin: 0; }
#accessible-story .profile-downloads a {
  color: #164c68;
  min-height: 44px;
  padding: 7px 13px;
  border: 1px solid #8ca5b0;
  border-radius: 5px;
}
#accessible-story .profile-downloads a:first-child {
  background: #124766;
  color: #fff9ea;
  border-color: #124766;
}
.profile-contacts,.profile-jump { display: flex; flex-wrap: wrap; gap: 0 20px; }
.profile-jump { margin-block-start: 16px; border-block-start: 1px solid #e0d4bb; padding-block-start: 8px; }
#accessible-story :is(.profile-jump,.profile-contacts,.profile-grid) a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#accessible-story :is(a,button):focus-visible { outline-color: #12547b; }
.profile-section { margin-block: clamp(26px, 5vw, 55px) 0; }
#accessible-story .profile-section h2 { margin-block-end: 13px; }
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-grid.profile-work { grid-template-columns: repeat(2,minmax(0,1fr)); }
.profile-skills {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-skills li {
  padding-block: 12px 14px;
  border-block-start: 1px solid #daceb2;
  min-width: 0;
}
#accessible-story .profile-skills h3 { font-size: 16px; }
#accessible-story .profile-skills p { font-size: 14px; line-height: 1.7; margin: 5px 0 0; }
.profile-work-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-block-start: auto; }
#accessible-story .profile-card {
  padding: 16px 18px;
  border: 1px solid #d6c6a6;
  background: #fffaf1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
#accessible-story .profile-card h3,
#accessible-story .profile-experience h3 { font-size: clamp(16px, 1.55vw, 22px); }
#accessible-story .profile-card p { font-size: 15px; margin: 0; }

#accessible-story .profile-experience {
  padding: 13px 0 12px;
  border-bottom: 1px solid #daceb2;
}
#accessible-story .profile-experience:first-of-type { border-top: 1px solid #daceb2; }
.profile-projects { margin-block: 6px 2px; padding-inline-start: 1.3em; line-height: 1.9; }
.profile-projects i { font-style: normal; }
.profile-phase {
  border-inline-start: 2px solid #d6c6a6;
  padding-inline-start: 12px;
  margin-block-start: 12px;
}
#accessible-story .profile-phase h4 { font-size: 16px; margin-block-end: 3px; }
.profile-phase .phase-date, .profile-training time { color: #745333; font-size: .86em; }
.profile-phase .phase-date { margin-inline-end: .4em; }
.profile-phase ul { margin: 0; padding-inline-start: 1.2em; line-height: 1.85; }
.profile-phase li + li { margin-block-start: 3px; }
.profile-training {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-training li {
  display: flex;
  align-items: baseline;
  gap: .65em;
  border-block-start: 1px solid #daceb2;
  padding-block: 7px;
  line-height: 1.65;
}
#accessible-story .profile-print { margin-block: 28px 0; }
@media (max-width: 700px) {
  #accessible-story { padding-block-start: 14px; }
  .profile-grid.profile-work, .profile-skills, .profile-training { grid-template-columns: minmax(0,1fr); }
  .hero-actions { column-gap: 15px; row-gap: 3px; }
  .hero-actions :is(a,button) { min-height: 44px; }
}
@media (max-width: 495px) {
  .profile-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  #accessible-story .profile-card { padding: 12px 14px; }
  #accessible-story .profile-downloads { gap: 7px; }
  #accessible-story .profile-downloads a { font-size: 12px; padding-inline: 9px; }
}
@media (max-height: 450px) and (orientation: landscape) {
  .hero-actions :is(a,button) { min-height: 32px; padding-block: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
@media print {
  #accessible-story .profile-intro, #accessible-story .profile-card { padding: 2mm 0; border: 0; box-shadow: none; background: none; }
  #accessible-story .profile-section { margin-block: 4mm 0; }
  #accessible-story .profile-section h2 { margin-block-end: 1mm; }
  #accessible-story .profile-grid { grid-template-columns: 1fr 1fr; gap: 2mm 4mm; }
  #accessible-story :is(.profile-downloads,.evidence-link,.profile-jump,.profile-print) { display: none; }
  #accessible-story .profile-card p { font-size: 9pt; }
  #accessible-story .profile-experience { padding: 1.5mm 0; }
  #accessible-story .profile-phase { margin-block-start: 2mm; padding-inline-start: 2mm; }
  #accessible-story .profile-phase h4 { break-after: avoid; font-size: 9pt; }
  #accessible-story :is(.profile-phase ul,.profile-training) { font-size: 9pt; }
  #accessible-story .profile-skills :is(h3,p) { font-size: 9pt; }
  #accessible-story .profile-skills li { break-inside: avoid; padding-block: 1mm; }
}


.organization-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.organization-link:hover, .organization-link:focus-visible {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}
