/* The original character-built Voyager, composed with words instead of panels. */
.ascii-art{display:block;position:relative;width:100%;aspect-ratio:calc(var(--columns)*.625)/var(--rows);container-type:inline-size;pointer-events:none}
.ascii-art pre{position:absolute;inset:0;margin:0;font-family:var(--gsv-font-pixel);font-size:calc(100cqw / (var(--columns)*.625));font-weight:400;line-height:1;letter-spacing:0;white-space:pre;font-variant-ligatures:none;-webkit-font-smoothing:none;text-rendering:geometricPrecision}
.ascii-dust{color:var(--text-dim);opacity:.5}
.ascii-material{color:var(--accent)}
.ascii-light{color:var(--text-hi)}
.loose-ends{position:relative;margin-top:94px}
.loose-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}
.section-heading h2{font-size:clamp(24px,2.5vw,29px);margin-top:10px}
.loose-scene{position:relative;width:min(1440px,calc(100vw - 64px));margin-left:calc(50% - min(720px,calc(50vw - 32px)));margin-top:16px;isolation:isolate}
.loose-air{position:relative;min-height:456px;padding-bottom:12px;overflow:clip}
.scene-centre{position:relative;display:flow-root;width:clamp(330px,30vw,432px);margin-inline:auto;z-index:2;pointer-events:none}
.scene-ship{position:relative;width:100%;pointer-events:none}
/* One quiet orbit, anchored to the hull rather than the dispatch below it. */
.scene-orbit{position:absolute;left:50%;top:50%;width:205%;height:45%;overflow:visible;transform:translate(-50%,-50%) rotate(-12deg);pointer-events:none;opacity:.38}
.scene-orbit ellipse{fill:none;stroke:var(--accent);stroke-width:1;stroke-dasharray:1 5;stroke-linecap:round;vector-effect:non-scaling-stroke}
.scene-ship[data-login-ship][tabindex]{pointer-events:auto;cursor:grab;touch-action:none;user-select:none}
.scene-ship.is-dragging{cursor:grabbing}
.home .scene-ship:focus-visible{outline:1px solid var(--accent);outline-offset:4px}
/* Preserve the login scene's full 120×60 frame, including space for rotation. */
.login-ship-art [data-ship-layer="nebula"]{color:var(--accent);opacity:.72}
.login-ship-art [data-ship-layer="foreground"]{color:var(--accent)}
.login-ship-art [data-ship-layer="stars"]{color:var(--text-hi)}
.all-gathered .login-ship-art{animation:ship-acknowledges 1000ms ease-in-out}
.is-reading .login-ship-art,.is-offscreen .login-ship-art{animation-play-state:paused}
@keyframes ship-acknowledges{0%,100%{transform:scale(1);filter:brightness(1)}45%{transform:scale(1.018);filter:brightness(1.2)}}
.loose-strings{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:0}
.loose-thread{fill:none;stroke:var(--accent);stroke-width:1;opacity:.28;transition:opacity 180ms;stroke-linecap:round;stroke-dasharray:1}
.loose-thread.is-current{opacity:.62}
.thoughts{position:absolute;inset:0;pointer-events:none;z-index:3}
.thought{transition:opacity 420ms ease-out}
@media(prefers-reduced-motion:no-preference){
  .ship-intro .thought:not(.is-revealed){opacity:0;visibility:hidden;pointer-events:none}
  .ship-intro .thought:not(.is-revealed) :is(.thought-drift,.thought-words){animation-play-state:paused!important}
}
.thought{--collected-scale:.8;position:absolute;left:var(--loose-x);top:var(--loose-y);max-width:26%;min-height:44px;padding:8px 4px;pointer-events:auto;font-family:var(--gsv-font-prose);font-size:clamp(20px,1.75vw,24px);font-weight:400;line-height:1.35;color:color-mix(in srgb,var(--label) 84%,var(--void));text-align:left;background:none;border:0;cursor:grab;touch-action:none;user-select:none}
.thought-drift,.thought-words{display:inline-block;transform-origin:top left}
.thought-words{position:relative;scale:1;transition:color 160ms,transform 160ms,scale 800ms cubic-bezier(.22,1,.36,1);background:var(--void);box-shadow:0 0 0 5px var(--void)}
.thought{cursor:pointer}
.thought-cue{display:inline-block;width:1em;margin-right:.18em;font-family:var(--gsv-font-mono);font-size:.8em;color:var(--accent);text-align:center}
.thought-cue::before{content:'+'}
.thought-label{text-decoration:underline dotted;text-decoration-color:color-mix(in srgb,currentColor 45%,transparent);text-underline-offset:5px;background-image:linear-gradient(currentColor,currentColor);background-size:0 1.2px;background-position:0 55%;background-repeat:no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-size 600ms 180ms cubic-bezier(.22,1,.36,1)}
.thought:is(:hover,:focus-visible) .thought-label{text-decoration-color:currentColor}
.thought.is-linked .thought-cue::before{content:'↳'}
.thought.is-linked .thought-label{text-decoration:none;background-size:100% 1.2px}
.thought.is-linked .thought-words{scale:var(--collected-scale)}
.thought:hover .thought-words,.thought:focus-visible .thought-words{color:var(--accent);transform:translateY(-2px)}
.home .thought:focus-visible{outline-offset:2px}
.thought:disabled{cursor:default}
.thought[aria-pressed="true"]{color:var(--accent);font-weight:600}
.thought[data-task="dentist"]{--loose-x:10%;--loose-y:28px;--float-duration:7.5s;--float-delay:-2s;--angle:-3deg}
.thought[data-task="tickets"]{--loose-x:70%;--loose-y:22px;--float-duration:9s;--float-delay:-4s;--angle:2deg}
.thought[data-task="saturday"]{--loose-x:4%;--loose-y:182px;--float-duration:8.5s;--float-delay:-1s;--angle:-2deg}
.thought[data-task="refund"]{--loose-x:78%;--loose-y:198px;max-width:19%;--float-duration:9.5s;--float-delay:-3s;--angle:2deg}
.thought[data-task="bill"]{--loose-x:12%;--loose-y:338px;--float-duration:8s;--float-delay:-5s;--angle:-2deg}
.thought[data-task="delivery"]{--loose-x:70%;--loose-y:342px;--float-duration:8.8s;--float-delay:-6s;--angle:2deg}
.has-motion .thought .thought-drift{animation:thought-drift var(--float-duration) ease-in-out var(--float-delay) infinite alternate}
.has-motion .thought.is-linked .thought-drift{transform-origin:var(--tether-x,0px) var(--tether-y,0px)}
.has-motion .thought:not(.is-linked) .thought-drift{animation-name:thought-wander;animation-direction:normal}
.has-motion .thought:not(.is-linked) .thought-words{animation:thought-wiggle calc(var(--float-duration) * .7) linear var(--float-delay) infinite;transform-origin:center}
.is-offscreen .thought-words,.thought:is(:hover,:focus-visible,.is-dragging) .thought-words{animation-play-state:paused!important}
.is-offscreen .thought-drift,.thought:is(:hover,:focus-visible,.is-dragging) .thought-drift{animation-play-state:paused!important}
.is-reading .thought-drift,.is-reading .thought-words{animation-play-state:paused!important}
.thought.is-dragging{cursor:grabbing;z-index:4}
@keyframes thought-drift{from{transform:rotate(calc(var(--sway-angle,1deg) * -1))}to{transform:rotate(var(--sway-angle,1deg))}}
@keyframes thought-wander{0%,100%{transform:translate(-5px,6px) rotate(var(--angle))}18%{transform:translate(7px,-4px) rotate(1.5deg)}37%{transform:translate(-3px,-10px) rotate(-2deg)}61%{transform:translate(9px,2px) rotate(3deg)}79%{transform:translate(1px,8px) rotate(-1.5deg)}}
@keyframes thought-wiggle{0%,12%,100%{rotate:0deg}2%,6%,10%{rotate:-2.5deg}4%,8%{rotate:2.5deg}}
/* The dispatch shares the Ship's centreline, with a short paper-feed trail. */
.scene-preview{position:relative;width:300px;max-width:calc(100vw - 52px);margin:0 0 0 50%;transform:translateX(-50%);min-height:160px;pointer-events:auto}
.has-dispatch .scene-preview::before{content:'';position:absolute;height:36px;bottom:100%;left:50%;border-left:1px dotted var(--accent);opacity:.45}
.scene-note{position:relative;height:160px;display:flex;flex-direction:column;justify-content:center;padding:12px 18px 10px;background:var(--panel);border:1px solid var(--border);animation:dispatch-arrives 380ms cubic-bezier(.22,1,.36,1) both}
.scene-note h3{font-size:20px;line-height:1.15;letter-spacing:-.02em;margin:0}
.scene-note-detail{font-family:var(--gsv-font-prose);font-size:14px;line-height:1.4;color:var(--label);margin-top:4px}
@keyframes dispatch-arrives{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
.dispatch-open{display:flex;align-items:center;gap:8px;min-height:44px;flex:none;margin-top:2px;cursor:pointer;font-family:var(--gsv-font-prose);font-size:14px;line-height:1.4;text-align:left;color:var(--accent);padding:6px 0}
.dispatch-open:hover{color:var(--text-hi)}
.dispatch-open span{display:inline-block;flex:none;transition:transform 160ms}
.dispatch-open[aria-expanded="true"] span{transform:rotate(180deg)}
/* Clear the scene without collapsing its responsive place in the page. */
.is-finished .loose-experience{visibility:hidden;pointer-events:none}
.scene-ending{position:absolute;inset:0;display:grid;place-items:center;text-align:center}
.scene-ending-content{font-family:var(--gsv-font-prose);font-size:clamp(24px,3vw,34px);line-height:1.3;letter-spacing:-.025em;color:var(--accent)}
.scene-ending-word{display:inline-block;opacity:0}
.scene-ending-content.is-revealed .scene-ending-word{opacity:1;animation:ending-arrives 360ms ease-out var(--word-delay) both}
.scene-ending-content:focus-visible{outline:1px dotted var(--accent);outline-offset:10px}
.is-finishing{overflow:clip;overflow-anchor:none}
@keyframes ending-arrives{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
/* A wider sheet from the same dispatch, with a different small illustration for each task. */
.example-expansion{position:relative;width:min(760px,100%);margin:12px auto 8px;padding:22px 30px 20px;border:1px solid var(--border);background:var(--panel);font-family:var(--gsv-font-prose);animation:example-opens 240ms ease-out both}
.example-expansion::before{content:'';position:absolute;bottom:100%;left:50%;height:12px;border-left:1px dotted var(--accent);opacity:.45}
.example-expansion:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
.example-panel-top{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:20px}
.example-close{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;margin:-6px -10px 0 0;flex-shrink:0;color:var(--label);cursor:pointer}
.example-close span{font-size:22px;line-height:1}
.example-close:hover{color:var(--accent)}
.example-expansion h3{font-size:26px;line-height:1.2}
/* Sender alignment and open typography mirror GSV's zen-moment chat styles. */
.example-conversation{display:flex;flex-direction:column;gap:24px}
.example-message{width:92%}
.example-message.is-human{width:80%;margin-left:auto;text-align:right}
.example-who{font-family:var(--gsv-font-mono);font-size:10px;line-height:1.4;letter-spacing:.15em;text-transform:uppercase;color:var(--text);margin-bottom:8px}
.is-ship>.example-who{color:var(--accent)}
.example-message-day{color:var(--text-dim);letter-spacing:.03em;text-transform:none;margin-right:10px}
.is-ship .example-message-day{margin-right:0;margin-left:10px}
.example-request{font-size:17px;font-weight:500;color:var(--text);line-height:1.4;text-wrap:pretty}
.example-access-context{font-size:12px;line-height:1.4;color:var(--text-dim);margin-top:10px}
.is-waiting-reply .is-ship{opacity:0}
.result-caption{padding-top:4px}
.result-caption{display:block;font-family:var(--gsv-font-mono);font-size:9px;font-weight:400;line-height:1.5;letter-spacing:.03em;color:var(--text-dim)}
.example-result{font-size:14px;line-height:1.4;color:var(--label)}
.example-result strong{display:block;font-weight:500;color:var(--accent)}
.result-context{font-size:12px;color:var(--text-dim);margin-bottom:10px}
.example-result :is(ul,ol){list-style:none;margin:0;padding:0}
.appointment-options{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.appointment-options li{padding:12px 0;border-block:1px solid var(--rule-inner)}
.appointment-options strong{font-size:21px;line-height:1.2;margin:8px 0}
.appointment-options time{display:block;margin-top:4px;font-size:25px;font-variant-numeric:tabular-nums}
.appointment-options li>span:last-child{font-size:13px}
.example-timeline{position:relative}
.example-timeline::before{content:'';position:absolute;top:14px;bottom:26px;left:4px;border-left:1px dotted var(--border-raised)}
.example-timeline li{position:relative;display:grid;grid-template-columns:105px 1fr;gap:12px;padding:8px 0 8px 20px}
.example-timeline li::before{content:'';position:absolute;top:14px;left:1px;width:7px;height:7px;background:var(--panel);border:1px solid var(--text-dim);border-radius:50%}
.example-timeline .result-caption{padding-top:3px}
.example-timeline p{font-size:13px;margin-top:2px}
.example-timeline .result-current::before{background:var(--accent);border-color:var(--accent)}
.example-timeline .result-current strong{font-size:17px}
.example-itinerary li{display:grid;grid-template-columns:52px 1fr;gap:16px}
.example-itinerary time{font-family:var(--gsv-font-mono);font-size:11px;color:var(--accent);padding-top:3px}
.example-itinerary p{font-size:13px;margin-top:2px}
.itinerary-walk{display:block;font-size:11px;color:var(--text-dim);margin:5px 0}
.itinerary-walk span{font-family:var(--gsv-font-mono);margin-right:6px;color:var(--accent)}
.bill-comparison{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-block:1px solid var(--rule-inner);padding:10px 0}
.bill-comparison>div:last-child .bill-price{color:var(--accent)}
.bill-price{font-size:32px;letter-spacing:-.035em;line-height:1.3;color:var(--text-hi);margin:4px 0}
.bill-price span{font-size:12px;letter-spacing:0;margin-left:3px;color:var(--label)}
.bill-comparison>div>p:last-child{font-size:13px}
.bill-saving{font-size:17px;color:var(--accent);margin-top:12px}
.bill-catch{font-size:13px;margin-top:4px}
.bill-catch>span{font-weight:500;color:var(--text-hi);margin-right:4px}
.delivery-change{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;padding:16px 0;border-block:1px solid var(--rule-inner)}
.delivery-change :is(strong,s){display:block;font-size:25px;line-height:1.25;margin:8px 0}
.delivery-previous{color:var(--text-dim)}
.delivery-previous s{text-decoration-thickness:1px}
.delivery-arrow{font-size:22px;color:var(--accent)}
.example-response{font-size:17px;line-height:1.4;color:var(--accent);margin-top:16px}
.example-response.is-intro{margin:0 0 16px}
.example-panel-bottom{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:10px}
.example-cta{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--text-dim);font-size:12px;text-decoration:none}
.example-cta span{transition:transform 160ms}
.example-cta:hover span{transform:translate(2px,-2px)}
.example-cta:hover{color:var(--accent)}
@keyframes example-opens{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.noscript-example{width:min(760px,100%);margin:16px auto;font-family:var(--gsv-font-prose);font-size:15px;color:var(--label);line-height:1.6}
.noscript-example summary{cursor:pointer;min-height:44px}
@media(min-width:721px) and (max-width:1000px){
  .thought{font-size:21px;max-width:25%}.thought[data-task="tickets"]{--loose-x:66%;max-width:32%}.thought[data-task="refund"]{--loose-x:76%;max-width:22%}
  .thought[data-task="bill"]{--loose-x:3%;max-width:24%;--loose-y:342px}
  .thought[data-task="delivery"]{--loose-x:76%;max-width:22%}
  .scene-centre{width:330px}.loose-air{min-height:414px}
}
@media(max-width:720px){
  .loose-ends{margin-top:70px}.loose-heading{align-items:start;gap:10px}.section-heading h2{font-size:26px;max-width:25ch}
  .loose-scene{width:calc(100vw - 36px);margin-left:calc(50% - 50vw + 18px);margin-top:18px}
  .loose-air{min-height:0;padding-bottom:0}
  .loose-strings{display:none}
  /* Let the thought cloud set its own height, above the full Ship frame. */
  .thoughts{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px 28px;width:min(100%,480px);margin-inline:auto;padding:12px 14px 12px}
  .thought{--collected-scale:.89;position:relative;font-size:18px;padding:8px 3px;min-width:0;text-wrap:balance}
  .thought[data-task]{--loose-x:auto;--loose-y:auto;max-width:100%}
  .thought:nth-child(even){margin-top:12px}
  .scene-centre{width:354px;max-width:100%}
  .scene-ship[data-login-ship]{pointer-events:none!important;touch-action:pan-y;cursor:default}
  .mobile-scroll-scene .scene-ship{transform:translateY(var(--mobile-ship-offset,0px))}
  .mobile-scroll-scene .scene-preview{translate:0 var(--mobile-ship-offset,0px)}
  .mobile-scroll-scene .thought{opacity:var(--mobile-thought-opacity,0)}
  .mobile-scroll-scene .thought.is-mobile-hidden{visibility:hidden;pointer-events:none}
  .scene-orbit{width:92%;height:54%}
  .scene-preview{min-height:160px;margin-top:-20px}
  .has-dispatch .scene-preview::before{height:20px}
  .scene-note-detail{font-size:13px}

  .example-expansion{padding:18px 18px 12px;margin-top:8px}.example-expansion::before{height:8px}
  .example-panel-top{gap:12px;margin-bottom:16px}.example-expansion h3{font-size:21px}
  .example-conversation{gap:20px}.example-message{width:100%}.example-message.is-human{width:90%}
  .example-who{font-size:9px;margin-bottom:7px}.example-request{font-size:15px;line-height:1.4}
  .example-result{font-size:13px}.example-result strong{font-size:15px}.example-timeline .result-current strong{font-size:15px}
  .example-timeline li{grid-template-columns:1fr;gap:3px;padding:6px 0 8px 19px}.example-timeline .result-caption{padding:0}
  .example-timeline p{font-size:12px}.example-timeline::before{bottom:40px}
  .appointment-options{gap:14px}.appointment-options strong{font-size:18px}.appointment-options time{font-size:24px}
  .appointment-options li>span:last-child{font-size:12px}
  .example-itinerary li{gap:10px;grid-template-columns:44px 1fr}.example-itinerary p{font-size:12px}
  .bill-comparison{gap:14px}.bill-price{font-size:29px}.bill-comparison>div>p:last-child{font-size:12px}
  .bill-saving{font-size:16px}.bill-catch{font-size:12px}
  .delivery-change{gap:12px}.delivery-change :is(strong,s){font-size:20px}
  .example-response{font-size:15px;margin-top:14px}
  .example-panel-bottom{flex-direction:column;align-items:flex-end;gap:4px;margin-top:0}.example-cta{font-size:12px}

}
@media(max-width:370px){
  .thought{font-size:17px}.scene-note{padding-inline:14px}
}
@media(prefers-reduced-motion:reduce){.thought,.thought-drift,.thought-words,.thought-label,.loose-thread,.scene-note,.scene-ending-content,.scene-ending-word,.login-ship-art,.example-expansion{animation:none!important;transition:none!important}}
