/* The route renderer and these styles are shared by home and every adventure. */
[hidden]{display:none!important}
.route-button{display:inline-flex;align-items:center;justify-content:center;padding:17px 24px;background:var(--red);color:white;font-size:11px;font-weight:800;letter-spacing:.13em;border:1px solid var(--red);transition:background .2s}
.route-button:hover{background:#d92c38}
.route-text-link{display:inline-block;font-size:10px;letter-spacing:.12em;font-weight:800;padding:16px 0;margin-left:22px}
.route-button:focus-visible,.route-text-link:focus-visible,.adventure-card:focus-visible{outline:3px solid #edb56e;outline-offset:5px}
.latest-adventure{position:relative;min-height:100svh;padding-top:155px;padding-bottom:180px;background:radial-gradient(ellipse at 78% 40%,#23403d 0%,#0c2230 40%,#081a2d 75%);overflow:hidden;display:flex;align-items:center;isolation:isolate}
.latest-copy{position:relative;z-index:1;max-width:900px}
.latest-copy h1{font:900 clamp(76px,10.8vw,170px)/.83 'Barlow Condensed',Impact,sans-serif;letter-spacing:-.025em;margin:25px 0 22px}
.latest-copy h1 span{color:var(--red)}
.latest-copy h2{font:700 clamp(28px,3vw,48px)/1 'Barlow Condensed',sans-serif;margin:0 0 18px;text-transform:uppercase}
.latest-copy>p:not(.eyebrow){font-size:16px;line-height:1.8;color:#b9c9ce}
.latest-stats{display:flex;gap:22px;margin:25px 0;font:700 23px 'Barlow Condensed',sans-serif;letter-spacing:.04em}
.latest-route-art{position:absolute;width:min(65vw,950px);height:90%;right:-3vw;top:5%;transform:rotate(-13deg);z-index:0;opacity:.75}
.latest-route-art svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 16px #f13c4570)}
.latest-route-art path{fill:none;stroke:var(--red);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.latest-route-art>span{position:absolute;bottom:9%;right:8%;color:#9bb4bc;font-size:9px;letter-spacing:.2em}
.latest-adventure::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081a2d90,transparent 85%);z-index:0;pointer-events:none}
.topbar nav{gap:22px}.topbar nav a{font-size:10px}
.adventure-archive{background:var(--cream);color:var(--navy)}
.adventure-archive>h2,.adventure-epilogue h2,.route-missing h1{font:900 clamp(65px,8vw,125px)/.84 'Barlow Condensed',Impact,sans-serif;margin:24px 0;letter-spacing:-.025em}
.adventure-archive>h2 span,.adventure-epilogue h2 span{color:var(--red)}
.adventure-archive>p:not(.eyebrow){font-size:18px;color:#52606b;line-height:1.7}
.adventure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:25px;margin-top:55px}
.adventure-card{position:relative;display:flex;flex-direction:column;justify-content:end;isolation:isolate;overflow:hidden;background:#0a2233;min-height:470px;padding:35px;color:white;max-width:700px;border-top:3px solid var(--red)}
.adventure-card svg{position:absolute;right:-4%;top:-15%;height:110%;width:75%;z-index:-1;opacity:.45;transition:transform .5s}
.adventure-card path{fill:none;stroke:var(--red);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.adventure-card:hover svg{transform:rotate(-5deg) scale(1.04)}
.adventure-date{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#b4c5cb}
.adventure-card h3{font:800 clamp(45px,5vw,75px)/.9 'Barlow Condensed',sans-serif;text-transform:uppercase;margin:20px 0 12px;overflow-wrap:anywhere}
.adventure-card p{font-size:13px;color:#c1cdd0}
.adventure-open{font-size:11px;letter-spacing:.15em;margin-top:25px;color:#ff7a7c;font-weight:800}
.route-film{position:relative;height:520svh;background:#091d2b;color:var(--white)}
.route-film:not(.route-film-ready){height:auto;min-height:100svh}
.route-stage{position:sticky;top:0;height:100svh;min-height:620px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 65% 45%,#1f3c3a 0%,#0b2332 48%,#081a2d 90%)}
.route-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.route-map-source{position:absolute;z-index:5;right:5vw;bottom:65px;max-width:55%;text-align:right;font-size:8px;line-height:1.5;color:#c4cfd2;text-shadow:0 1px 3px #000}
.route-map-source button{display:block;margin:0 0 5px auto;padding:6px 9px;background:#081a2de8;border:1px solid #ffffff40;color:#f4f0e7;font:700 8px/1.4 'DM Sans',sans-serif;letter-spacing:.06em;cursor:pointer}
.route-map-source button:focus-visible{outline:2px solid #ffc18d;outline-offset:3px}
.route-map-source span{display:block;background:#081a2de8;padding:5px 7px;border-radius:2px}
.route-map-source a{text-decoration:underline;text-underline-offset:2px}
.route-film-grain{position:absolute;inset:0;z-index:1;opacity:.12;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E")}
.route-film-heading{position:absolute;z-index:2;left:6vw;top:7%;max-width:75%;opacity:var(--route-intro,1);transform:translateY(calc((1 - var(--route-intro,1))*-20px));pointer-events:none}
.route-film-heading .eyebrow{color:#e7ad71;line-height:1.8;font-size:10px}
.route-film-heading .eyebrow span{display:block;color:#92aab2;letter-spacing:.12em}
.route-film-heading h2{font:900 clamp(65px,10vw,160px)/.85 'Barlow Condensed',sans-serif;text-transform:uppercase;letter-spacing:-.02em;margin:16px 0;overflow-wrap:anywhere}
.route-film-heading>p:last-child{max-width:450px;font-size:15px;line-height:1.6;color:#b7c7cd}
.route-sequence{position:absolute;z-index:2;top:8%;left:6vw;max-width:450px;opacity:calc(1 - var(--route-intro,1))}
.route-sequence .eyebrow{font-size:10px;color:#f5a56b}
.route-sequence h3{font:900 clamp(52px,6.5vw,105px)/.86 'Barlow Condensed',sans-serif;white-space:pre-line;letter-spacing:-.02em;margin:16px 0}
.route-sequence>p:last-child{max-width:320px;line-height:1.65;font-size:14px;color:#adbec5}
.route-memory{position:absolute;z-index:3;right:7vw;top:35%;width:clamp(220px,25vw,390px);margin:0;padding:10px 10px 14px;background:var(--cream);color:var(--navy);box-shadow:0 15px 60px #0006;opacity:var(--memory-opacity,1);transform:translateY(calc((1 - var(--memory-opacity,1))*20px)) rotate(-3deg);pointer-events:none}
.route-memory img{display:block;width:100%;max-height:32svh;object-fit:contain;background:#e4e0d7}
.route-memory figcaption{font:italic 15px/1.5 Georgia,serif;padding:9px 4px 0;overflow-wrap:anywhere}
.route-memory figcaption:empty{display:none}
.has-route-memory .route-canvas{opacity:.65}
.route-live{position:absolute;right:5vw;top:8%;z-index:3;display:grid;grid-template-columns:1fr 1fr;gap:18px 30px;padding:18px 20px;border:1px solid #c2d9d326;background:#081a2da6;backdrop-filter:blur(10px)}
.route-live>div{display:flex;flex-direction:column;gap:5px}
.route-live small{font-size:8px;letter-spacing:.13em;color:#a9bcc5}
.route-live strong{font:600 33px/1 'Barlow Condensed',sans-serif;font-variant-numeric:tabular-nums}
.route-live>div:last-child strong{color:#ff8b7c}
.route-altitude{position:absolute;z-index:2;width:min(55%,800px);right:5vw;bottom:90px}
.route-altitude svg{width:100%;height:80px;display:block;overflow:visible;margin:10px 0}
.altitude-label{display:flex;justify-content:space-between;gap:15px;font-size:8px;letter-spacing:.15em;color:#a4b9bd}
.altitude-label b{font-weight:500}
.route-finish{position:absolute;z-index:4;left:6vw;bottom:150px;opacity:var(--route-summary,0);visibility:hidden;max-width:390px}
.route-film.route-finishing .route-finish{visibility:visible}
.route-finish .eyebrow{color:#ffb272}
.route-finish>div{display:flex;gap:24px;font-size:10px;color:#a5bbc2;margin:15px 0 20px}
.route-finish strong{display:block;color:white;font:700 35px 'Barlow Condensed',sans-serif}
.route-finish .route-text-link{margin-left:14px}
.route-film-bottom{position:absolute;z-index:2;left:5vw;right:5vw;bottom:34px;display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:.1em;color:#89a1ac}
.route-film-bottom b{color:#edb57d;margin-left:15px;font-variant-numeric:tabular-nums}
/* Home reserves the lower left corner for its continuous narrative clock. */
body:not(.adventure-page) .route-finish{bottom:185px}
body:not(.adventure-page) .route-altitude{bottom:160px}
body:not(.adventure-page) .route-film-bottom{left:370px;bottom:30px}
.adventure-nav{position:absolute;z-index:10;top:0;left:0;width:100%;height:75px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff20}
.adventure-nav>a:first-child,.adventure-nav>span{font-size:10px;letter-spacing:.1em}
.adventure-page .route-stage{padding-top:75px}
.adventure-page .route-film-heading,.adventure-page .route-sequence,.adventure-page .route-live{top:105px}
.adventure-page .route-film-heading h2{font-size:clamp(60px,9vw,145px)}
.adventure-page footer{padding-bottom:35px}
.adventure-epilogue{background:var(--cream);color:var(--navy)}
.route-missing{min-height:85svh;padding-top:160px}
@media(min-width:801px) and (max-width:1100px){
  .topbar nav{gap:12px}.topbar nav a{font-size:8px;letter-spacing:.1em}
  .route-sequence{max-width:340px}.route-sequence h3{font-size:65px}
  .route-live{right:3vw;gap:15px;padding:13px}
}
@media(max-width:800px){
  .latest-adventure{min-height:100svh;padding-top:125px;padding-bottom:165px;align-items:start}
  .latest-copy h1{font-size:clamp(66px,14vw,110px)}
  .latest-copy .eyebrow{font-size:9px;letter-spacing:.12em}
  .latest-copy h2{font-size:34px}.latest-copy>p:not(.eyebrow){font-size:14px}
  .latest-stats{font-size:21px;margin:20px 0}
  .latest-route-art{width:100vw;right:-29vw;top:6%;height:85%;opacity:.35}
  .latest-route-art>span{display:none}
  .route-text-link{margin-left:12px;font-size:9px}
  .route-button{padding:15px 17px;font-size:10px}
  .adventure-card{min-height:380px;padding:27px}
  .route-film{height:580svh}
  .route-stage{min-height:0}
  .route-film-heading{left:6vw;top:6%;max-width:88%}
  .route-film-heading h2{font-size:clamp(56px,12vw,92px)}
  .route-film-heading>p:last-child{font-size:12px;max-width:280px}
  .route-sequence{left:6vw;top:6%;max-width:88%}
  .route-sequence h3{font-size:clamp(43px,10vw,72px);margin:12px 0}
  .route-sequence>p:last-child{font-size:11px;max-width:260px;line-height:1.5}
  .route-sequence .eyebrow{font-size:8px;letter-spacing:.15em}
  .route-live{top:auto;left:6vw;right:6vw;bottom:245px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:9px 10px;background:#081a2dc9}
  .route-memory{top:36%;right:7vw;width:47%;padding:6px 6px 9px}
  .route-memory img{max-height:17svh}
  .route-memory figcaption{font-size:10px;padding-top:5px}
  .route-live small{font-size:6px;letter-spacing:.03em;line-height:1.4}
  .route-live strong{font-size:22px}
  .route-altitude{left:6vw;right:6vw;width:auto;bottom:95px}
  .route-altitude svg{height:55px;margin:7px 0}
  .altitude-label{font-size:6px;letter-spacing:.07em}
  body:not(.adventure-page) .route-altitude{bottom:155px}
  .route-film-bottom,body:not(.adventure-page) .route-film-bottom{left:6vw;right:6vw;bottom:125px;font-size:6px;letter-spacing:.02em}
  .route-film-bottom>span:first-child{max-width:190px;line-height:1.5}
  .route-map-source{left:6vw;right:6vw;max-width:none;bottom:132px;font-size:8px;line-height:1.35}
  .route-map-source button{font-size:7px;padding:5px 7px}
  body:not(.adventure-page) .route-altitude{bottom:200px}
  body:not(.adventure-page) .route-live{bottom:290px}
  body:not(.adventure-page) .route-film-bottom{bottom:108px}
  .adventure-page .route-map-source{bottom:47px}
  .route-finish,body:not(.adventure-page) .route-finish{left:6vw;bottom:330px;max-width:88%}
  .route-finish .eyebrow{font-size:9px;margin:6px 0}
  .route-finish>div{display:none}
  .route-finish .route-button{padding:12px 15px;font-size:9px}
  .route-finish .route-text-link{font-size:8px}
  .adventure-nav{height:64px;padding:0 6vw}
  .adventure-nav>a:first-child{font-size:8px;max-width:100px;line-height:1.5}
  .adventure-nav .brand{font-size:20px}
  .adventure-nav>span{display:none}
  .adventure-page .route-film-heading,.adventure-page .route-sequence{top:88px}
  .adventure-page .route-live{top:auto;bottom:215px}
  .adventure-page .route-altitude{bottom:110px}
  .adventure-page .route-film-bottom{bottom:25px}
  .adventure-page .route-finish{bottom:250px}
}
@media(max-height:650px){
  .route-stage{min-height:0}
  .route-sequence h3{font-size:clamp(32px,8svh,65px)}
  .route-sequence>p:last-child{display:none}
  .route-film-heading h2{font-size:clamp(45px,10svh,80px)}
  .route-film-heading>p:last-child{display:none}
  .route-live{gap:6px;padding:8px}
  .route-live strong{font-size:22px}
  .route-altitude svg{height:35px}
  .route-finish,body:not(.adventure-page) .route-finish{bottom:220px}
  .route-finish .eyebrow{display:none}
  .route-finish>div{display:none}
}
@media(prefers-reduced-motion:reduce){
  .route-button,.adventure-card svg{transition:none}
  .adventure-card:hover svg{transform:none}
  .route-film-heading{transform:none}
}
