/* The chosen timeline: all eight original scenes share a compact stage. */
.day-story.day-journey { --journey-photo-height:clamp(360px,52dvh,440px); --journey-photo-inset:5rem; padding:2.4rem 0 2.8rem; }
.day-journey .journey-container { position:relative; z-index:1; }
.day-journey .landscape-relief { position:absolute; inset:0; height:100%; }
.journey-topline { display:grid; grid-template-columns:minmax(0,556px) minmax(0,1fr); align-items:center; gap:.9rem 2rem; margin-bottom:1.65rem; }
.journey-topline .section-label { grid-column:1; grid-row:1; margin:0; }
.journey-topline .journey-route { grid-column:1; grid-row:2; }
.journey-sky { grid-column:2; grid-row:1 / 3; justify-self:end; width:min(100%,330px); text-align:center; color:#627453; }
.journey-sky-scene { position:relative; height:76px; }
.journey-sky-arc { position:absolute; inset:9px 8% 0; border:1px dashed rgba(98,116,83,.3); border-bottom:0; border-radius:50% 50% 0 0 / 100% 100% 0 0; }
.journey-sky-sun,.journey-sky-moon { position:absolute; width:28px; height:28px; left:var(--sky-x,10%); top:var(--sky-y,40px); transition:left .8s,top .8s,opacity .65s,background .65s; }
.journey-sky-sun { border-radius:50%; background:#dca344; box-shadow:0 0 0 6px rgba(220,163,68,.12),0 0 0 12px rgba(220,163,68,.05); }
.journey-sky-moon { opacity:0; left:87%; top:12px; background:#405c4d; border-radius:50%; mask-image:radial-gradient(circle at 72% 24%,transparent 0 13px,#000 14px); }
.journey-sky-cloud { position:absolute; left:24%; top:45px; width:48px; height:9px; background:rgba(98,116,83,.18); border-radius:999px; animation:journey-cloud-drift 7s ease-in-out infinite alternate paused; }
.journey-sky-cloud::before { content:''; position:absolute; left:10px; bottom:2px; width:20px; height:14px; border-radius:50%; background:inherit; }
.journey-sky-cloud-two { left:64%; top:33px; width:34px; opacity:.65; animation-delay:-3s; }
.journey-sky-stars { position:absolute; inset:0; opacity:0; transition:opacity .65s; }
.journey-sky-stars i { position:absolute; width:4px; height:4px; border-radius:50%; background:#627453; animation:journey-sky-twinkle 3s ease-in-out infinite alternate paused; }
.journey-sky-stars i:nth-child(1) { left:18%; top:24px; }
.journey-sky-stars i:nth-child(2) { left:42%; top:7px; width:3px; height:3px; animation-delay:-1s; }
.journey-sky-stars i:nth-child(3) { left:65%; top:19px; animation-delay:-2s; }
.journey-sky-caption { display:block; margin-top:.2rem; font-size:.7rem; letter-spacing:.06em; }
.day-journey[data-journey-step="6"] .journey-sky-sun { background:#bd633a; }
.day-journey[data-journey-step="7"] .journey-sky-sun,.day-journey[data-journey-step="7"] .journey-sky-cloud { opacity:0; }
.day-journey[data-journey-step="7"] .journey-sky-moon,.day-journey[data-journey-step="7"] .journey-sky-stars { opacity:1; }
.day-journey.motion-enabled[data-motion-visible="true"] .journey-sky-cloud,
.day-journey.motion-enabled[data-motion-visible="true"] .journey-sky-stars i { animation-play-state:running; }
@keyframes journey-cloud-drift { to { transform:translateX(12px); } }
@keyframes journey-sky-twinkle { to { opacity:.3; transform:scale(.7); } }
.journey-route { display:grid; grid-template-columns:minmax(0,210px) minmax(0,326px); align-items:center; width:min(100%,556px); gap:1.2rem; }
.journey-route-intro { display:flex; flex-direction:column; gap:.35rem; }
.journey-route-intro strong { font:700 1.2rem/1.2 'DM Sans',sans-serif; color:#173527; }
.journey-route-hint { max-width:26ch; color:#405c4d; font-size:.8rem; line-height:1.45; }
.journey-route-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
.journey-route button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.35rem; min-height:72px; padding:.8rem 1rem; font:700 1rem 'DM Sans',sans-serif; border:1px solid rgba(23,53,39,.38); border-radius:999px; color:#173527; background:linear-gradient(rgba(255,250,240,.74),rgba(255,250,240,.74)),url('assets/motion/cotton-paper-v1.webp') center/350px; cursor:pointer; transition:transform .2s,border-color .2s,box-shadow .2s; }
.journey-route-name { display:flex; align-items:center; gap:.4rem; white-space:nowrap; }
.journey-route-check { display:none; }
.journey-route-capacity { font-size:.75rem; font-weight:500; }
.journey-route button[aria-pressed="true"] { color:#fffaf0; border-color:#173527; background:linear-gradient(rgba(23,53,39,.88),rgba(23,53,39,.88)),url('assets/motion/cotton-paper-v1.webp') center/350px; box-shadow:0 6px 18px rgba(23,53,39,.12); }
.journey-route button[aria-pressed="true"] .journey-route-check { display:inline; }
@media(hover:hover) { .journey-route button:hover { transform:translateY(-2px); border-color:#173527; box-shadow:0 5px 16px rgba(23,53,39,.1); } }
.journey-stage { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); grid-template-rows:auto 1fr auto; gap:0 clamp(2rem,5vw,4.8rem); align-items:start; }
.journey-heading { grid-column:1; grid-row:1; }
.journey-heading h2 { margin:0; font:500 clamp(3.5rem,5.9vw,5.5rem)/.98 'Cormorant Garamond',serif; letter-spacing:-.04em; color:#173527; }
.journey-heading h2 em { display:inline-block; font-weight:500; color:#2d684a; line-height:1.1; padding-bottom:.05em; }
.journey-heading > p { max-width:38ch; color:#405c4d; font-size:.95rem; line-height:1.65; margin:1rem 0 0; }
.journey-moment { display:contents; }
.journey-moment[hidden] { display:none !important; }
.journey-copy { grid-column:1; grid-row:2 / 4; align-self:center; padding:1.55rem 0 .5rem; }
.journey-moment-label { margin:0 0 .65rem; color:#b84930; font-size:.76rem; font-weight:700; }
.journey-copy h3 { margin:0; color:#173527; font:500 clamp(1.9rem,2.55vw,2.3rem)/1.08 'Cormorant Garamond',serif; letter-spacing:-.035em; max-width:22ch; }
.journey-copy > p:last-child { max-width:37ch; color:#405c4d; font-size:.94rem; line-height:1.65; margin:.8rem 0 0; }
.journey-media { position:relative; grid-column:2; grid-row:1 / 3; width:min(100%,calc(var(--journey-photo-height) * .75 + var(--journey-photo-inset))); justify-self:end; padding-right:var(--journey-photo-inset); min-width:0; touch-action:pan-y; }
.day-journey[data-journey-step="0"],.day-journey[data-journey-step="6"] { --journey-photo-inset:0rem; }
.journey-primary { margin:0; border-radius:28px; overflow:hidden; width:100%; height:auto; aspect-ratio:3 / 4; background:rgba(23,53,39,.07); }
.journey-primary img { width:100%; height:100%; display:block; object-fit:cover; }
.journey-photo-0 img { object-position:50% 55%; }
.journey-photo-1 img { object-position:50% 67%; }
.day-journey[data-story-route="cactus2"] .journey-photo-1 img { object-position:50% 38%; }
.journey-photo-2 img { object-position:54% 58%; }
.journey-photo-4 img { object-position:50% 56%; }
.journey-photo-6 img { object-position:50% 52%; }
.journey-detail { position:absolute; right:0; bottom:1rem; width:clamp(125px,12vw,145px); margin:0; padding:.4rem .4rem .65rem; border-radius:16px; background:#fffaf0; box-shadow:0 13px 32px rgba(59,47,31,.17); transform:rotate(4deg); }
.journey-detail img { display:block; width:100%; height:auto; aspect-ratio:3 / 4; object-fit:cover; border-radius:11px; }
.journey-detail figcaption { padding:.5rem .2rem 0; color:#405c4d; font-size:.68rem; line-height:1.35; text-align:center; }
.journey-controls { grid-column:2; grid-row:3; width:min(100%,calc(var(--journey-photo-height) * .75 + var(--journey-photo-inset))); justify-self:end; padding:.85rem var(--journey-photo-inset) 0 0; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.journey-position { font-size:.8rem; color:#52685b; letter-spacing:.06em; }
.journey-position b { color:#173527; }
.journey-arrows { display:flex; gap:.5rem; }
.journey-arrows button { font:500 1.25rem 'DM Sans',sans-serif; width:38px; height:38px; border-radius:50%; border:1px solid rgba(23,53,39,.2); background:rgba(255,250,240,.6); color:#173527; cursor:pointer; }
.journey-arrows button:disabled { opacity:.3; cursor:default; }
.journey-timeline { position:relative; display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:.4rem; margin-top:1.65rem; }
.journey-timeline::before { content:''; position:absolute; top:8px; left:6.25%; right:6.25%; height:1px; background:rgba(45,104,74,.3); }
.journey-timeline button { position:relative; display:flex; flex-direction:column; align-items:center; gap:.65rem; min-height:47px; padding:0 .1rem .15rem; border:0; background:transparent; font:400 .8rem 'DM Sans',sans-serif; color:#536753; cursor:pointer; }
.journey-marker { width:17px; height:17px; border:1px solid #879784; border-radius:50%; background:#f5eedf; transition:background .3s,box-shadow .3s; }
.journey-timeline button[aria-selected="true"] { color:#173527; font-weight:700; }
.journey-timeline button[aria-selected="true"] .journey-marker { border-color:#b84930; background:#b84930; box-shadow:0 0 0 4px rgba(184,73,48,.1); }
.day-journey button:focus-visible { outline:3px solid #b84930; outline-offset:4px; }
.journey-announcement { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.journey-enter .journey-primary,.journey-enter .journey-copy { animation:journey-enter .65s cubic-bezier(.16,1,.3,1) both; }
.journey-enter .journey-detail { animation:journey-postcard .85s cubic-bezier(.16,1,.3,1) both; }
@keyframes journey-enter { from { opacity:.25; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes journey-postcard { from { opacity:0; transform:translate(12px,14px) rotate(8deg); } to { opacity:1; transform:translate(0,0) rotate(4deg); } }
@media(max-width:1000px) {
  .day-story.day-journey { --journey-photo-inset:3.2rem; }
  .journey-topline { grid-template-columns:minmax(0,1fr) 200px; gap:.8rem; }
  .journey-topline .journey-route { grid-column:1 / 3; }
  .journey-sky { grid-row:1; width:200px; }
  .journey-sky-scene { height:66px; }
  .journey-sky-caption { display:none; }
  .journey-stage { gap:0 2rem; }
  .journey-heading h2 { font-size:3.6rem; }
  .journey-detail { width:132px; }
  .journey-timeline button { font-size:.72rem; }
}
@media(max-width:760px) {
  .day-story.day-journey { padding:1.6rem 0 2rem; }
  .journey-topline { grid-template-columns:minmax(0,1fr) 108px; gap:1rem; margin-bottom:1.5rem; }
  .journey-sky { width:108px; }
  .journey-sky-scene { height:44px; transform:scale(.7); transform-origin:right center; width:150px; margin-left:-42px; }
  .journey-route { grid-template-columns:minmax(0,1fr); gap:.8rem; }
  .journey-route-intro strong { font-size:1.2rem; }
  .journey-route-hint { max-width:none; }
  .journey-route button { min-height:68px; padding:.75rem .8rem; font-size:.95rem; }
  .journey-stage { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto; gap:1.15rem; }
  .journey-heading { grid-column:1; grid-row:1; }
  .journey-heading h2 { font-size:clamp(2.9rem,12vw,4.1rem); }
  .journey-heading > p { margin:.6rem 0 0; font-size:.9rem; }
  .journey-media { grid-column:1; grid-row:2; width:min(100%,316px); padding-right:2.3rem; justify-self:center; }
  .journey-primary { border-radius:22px; }
  .journey-detail { bottom:.6rem; width:113px; border-radius:13px; }
  .journey-detail img { border-radius:9px; }
  .journey-detail figcaption { font-size:.61rem; }
  .journey-controls { grid-column:1; grid-row:3; width:min(100%,316px); padding:0 2.3rem 0 0; justify-self:center; }
  .day-journey[data-journey-step="0"] .journey-media,
  .day-journey[data-journey-step="6"] .journey-media,
  .day-journey[data-journey-step="0"] .journey-controls,
  .day-journey[data-journey-step="6"] .journey-controls { width:min(100%,280px); padding-right:0; }
  .journey-copy { grid-column:1; grid-row:4; padding:0; min-height:128px; }
  .journey-copy h3 { font-size:1.9rem; max-width:none; }
  .journey-copy > p:last-child { margin:.65rem 0 0; font-size:.9rem; }
  .journey-timeline { grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.1rem .3rem; margin-top:1.5rem; }
  .journey-timeline::before { display:none; }
  .journey-timeline button { font-size:.72rem; }
  .journey-timeline button::before { content:''; position:absolute; left:0; right:0; top:8px; height:1px; z-index:-1; background:rgba(45,104,74,.25); }
}
@media(prefers-reduced-motion:reduce) {
  .day-journey * { animation:none !important; transition:none !important; }
}
