/* Added only to the local preview: preserve the complete website and offer a shorter route. */
.film-hero:not([data-scene="0"]) .tour-choice{display:none}
.tour-choice{margin:3px 0 2px;text-align:left;min-width:0}
.tour-choice-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:9px}
.tour-choice-heading>span:first-child{color:#f5eee0;font-size:12px;font-weight:600;letter-spacing:.02em}
.tour-choice-heading .tour-choice-theme{color:#d3c5a5;font-size:10px;line-height:1.4}
.tour-choice-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tour-choice-options a{display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0;padding:13px 11px;border:1px solid #d7bd8655;border-radius:5px;color:#f5ead6;background:#071b1533;text-decoration:none;transition:background .2s,border-color .2s;min-height:78px;box-sizing:border-box}
.tour-choice-options a:hover{border-color:#e5c68d;background:#e0c48c0e}
.tour-choice-options a[aria-current]{border-color:#e4c790;background:linear-gradient(135deg,#cfb77c22,#cfb77c08);box-shadow:inset 0 0 0 1px #d5ba8044}
.tour-choice-top{display:flex;gap:7px;justify-content:space-between;align-items:flex-start}
.tour-choice-top strong{font:17px/1.12 Georgia,serif;letter-spacing:-.02em;font-weight:400}
.tour-choice-top i{display:block;width:10px;height:10px;border:1px solid #d9c28d88;border-radius:50%;flex:0 0 auto;margin-top:2px}
.tour-choice-options [aria-current] i{background:#dbc38e;border-color:#dbc38e;box-shadow:inset 0 0 0 2px #203c30}
.tour-choice-meta{display:flex;flex-direction:column;gap:3px;line-height:1.25}
.tour-choice-meta b{color:#ead19c;font-size:12px;font-weight:500;letter-spacing:.03em}
.tour-choice-meta small{font-size:9px;color:#c8d2c7;line-height:1.4}
.tour-preview-mark{position:absolute;top:12px;right:18px;z-index:20;border:1px solid #cdb78655;color:#f4e3bf;background:#12281dd9;border-radius:3px;padding:5px 9px;font:9px/1.3 Manrope,Arial,sans-serif;letter-spacing:.08em;pointer-events:none}
.film-hero[data-scene="0"] .tour-choice~#film-start{width:100%;min-height:42px}
.film-hero[data-scene="0"] .film-copy:has(.tour-choice){max-height:calc(100% - 24px);overflow:auto;scrollbar-width:thin}
@media(max-height:760px) and (min-width:701px){.film-hero[data-scene="0"] .film-copy:has(.tour-choice){padding:17px;bottom:12px}.film-hero[data-scene="0"] .film-copy:has(.tour-choice) h1{font-size:28px;margin-bottom:9px}.film-hero[data-scene="0"] .film-copy:has(.tour-choice)>p#film-description{font-size:11px;margin-bottom:9px}.film-hero[data-scene="0"] .film-copy:has(.tour-choice) .journey-origin{margin-bottom:9px}.tour-choice-options a{padding:10px;min-height:74px}.tour-choice-heading{margin-bottom:7px}}
@media(max-width:700px){.tour-choice-top strong{font-size:16px}.tour-choice-options a{min-height:78px;padding:11px 10px}.tour-choice-meta small{font-size:9px}.film-hero[data-scene="0"] .film-copy:has(.tour-choice){padding:15px}.tour-preview-mark{top:8px;right:10px}}

.film-hero[data-scene="0"] .film-copy:has(.tour-choice) .journey-origin>label{margin:0!important}
@media(max-height:760px){.film-hero[data-scene="0"] .film-copy:has(.tour-choice) .film-copy-actions{gap:6px}.film-hero[data-scene="0"] .film-copy:has(.tour-choice){padding:15px}}


.tour-chooser{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0 24px 28px;background:#12251b;border:1px solid #c9ad7166;border-radius:8px;color:#f4ead4;overflow:auto}
.tour-chooser::backdrop{background:#07120cd1;backdrop-filter:blur(5px)}
.tour-chooser .tour-choice-heading{margin:8px 0 20px;gap:8px}
.tour-chooser #tour-choice-title{font:28px/1.2 Georgia,serif}
.tour-chooser .tour-choice-theme{font-size:12px}
.tour-chooser .tour-choice-options a{min-height:120px;padding:18px 16px}
.tour-chooser .tour-choice-top strong{font-size:23px}
.tour-chooser .tour-choice-meta b{font-size:14px}
.tour-chooser .tour-choice-meta small{font-size:11px}
.tour-choice-options a{cursor:pointer}
@media(max-width:520px){.tour-chooser{padding:0 18px 22px}.tour-chooser .tour-choice-top strong{font-size:20px}.tour-chooser .tour-choice-options a{padding:15px 12px;min-height:116px}}

/* Compact welcome card: keep the image and laptop visible. */
.film-hero[data-scene="0"] .film-copy{width:320px;max-width:40vw;min-height:0;height:auto;padding:16px;bottom:16px}
.film-hero[data-scene="0"] .film-copy h1{font-size:26px;line-height:1.08;margin:0 0 10px}
.film-hero[data-scene="0"] .film-copy>p#film-description{font-size:11px;line-height:1.5;margin:0 0 11px}
.film-hero[data-scene="0"] .film-copy .journey-origin{margin:0 0 10px;gap:5px}
.film-hero[data-scene="0"] .film-copy .journey-origin>label{font-size:11px;line-height:1.4;margin:0!important}
.film-hero[data-scene="0"] .film-copy .journey-origin select{min-height:36px;font-size:12px}
.film-hero[data-scene="0"] .film-copy .film-copy-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}
.film-hero[data-scene="0"] .film-copy .film-copy-actions .orientation-cta,
.film-hero[data-scene="0"] .film-copy .film-copy-actions #film-start{width:100%;min-width:0;min-height:38px;box-sizing:border-box;padding:8px 7px;font-size:10px;line-height:1.35;text-align:center;display:flex;align-items:center;justify-content:center}
.film-hero[data-scene="0"] .film-copy .film-copy-actions #journey-overview-open{grid-column:1/-1;font-size:10px;padding:3px 0}
@media(max-width:700px){.film-hero[data-scene="0"] .film-copy{width:300px;max-width:90%;padding:14px;bottom:12px}.film-hero[data-scene="0"] .film-copy h1{font-size:24px}}

/* Fade the setup card away when playback starts; restore it only on return. */
.film-hero[data-scene="0"] .film-copy{opacity:1;visibility:visible;transition:opacity .65s ease-in-out,visibility 0s!important}
.film-hero[data-scene="0"].tour-opening-started .film-copy{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .65s ease-in-out,visibility 0s .65s!important}
@media(prefers-reduced-motion:reduce){.film-hero[data-scene="0"] .film-copy{transition:none!important}}

/* A clear way out when the journey reaches its final scene. */
.tour-return-home{display:block;width:fit-content;max-width:100%;min-height:42px;margin:15px auto 0;padding:11px 16px;border:1px solid #d7bd8680;border-radius:4px;background:#102d25e8;color:#f0dfba;font:11px/1.5 Manrope,Arial,sans-serif;letter-spacing:.02em;text-align:center;cursor:pointer}
.tour-return-home:hover{background:#284737;border-color:#e4c68b}
.tour-return-home:focus-visible{outline:2px solid #f0d399;outline-offset:4px}
.tour-return-home[hidden]{display:none!important}
html[data-tour-mode="short"] .tour-return-home{margin-left:0;margin-right:0}

/* Both routes share a dissolve without a dark dip between photographs. */
::view-transition-group(aurea-journey){animation-duration:var(--journey-dissolve,850ms);animation-timing-function:ease-in-out}
::view-transition-image-pair(aurea-journey){isolation:isolate}
::view-transition-old(aurea-journey){animation:none;opacity:1;mix-blend-mode:normal}
::view-transition-new(aurea-journey){animation:journey-soft-in var(--journey-dissolve,850ms) ease-in-out both;mix-blend-mode:normal}
@media(prefers-reduced-motion:reduce){::view-transition-group(aurea-journey),::view-transition-new(aurea-journey){animation:none}}

/* The moving trace passes over a quiet, continuously visible pulse line. */
.film-hero[data-kind="medical"] .medical-visual path:not(.medical-pulse-live){animation:none;opacity:.35;stroke-width:1.5}
.film-hero[data-kind="medical"] .medical-visual .medical-pulse-live{stroke:#f3e9bd;stroke-width:2.8;stroke-linecap:round;stroke-dasharray:18 82;stroke-dashoffset:100;opacity:1;animation:journey-pulse-sweep 2.6s linear infinite;animation-play-state:running!important}
@keyframes journey-pulse-sweep{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.film-hero[data-kind="medical"] .medical-visual .medical-pulse-live{animation:none;stroke-dasharray:none;stroke-dashoffset:0}}

/* The same two closing actions are offered in either journey. */
.tour-ending-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:20px}
.tour-ending-actions[hidden]{display:none!important}
.tour-ending-actions .primary,.tour-ending-actions .tour-return-home{display:inline-flex;align-items:center;justify-content:center;min-height:42px;max-width:100%;margin:0!important;padding:11px 16px;font:11px/1.5 Manrope,Arial,sans-serif;letter-spacing:0;text-align:center}
html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-copy{position:absolute;left:7%;right:auto;top:50%;bottom:auto;transform:translateY(-50%);width:44%;max-width:560px;padding:0;text-align:left}
html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-copy h1{font-size:clamp(32px,4vw,52px);line-height:1.08;margin:16px 0 22px;max-width:100%}
html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-copy>p{margin-left:0;margin-right:0}
html[data-tour-mode="full"] .film-hero[data-kind="closing"] #film-description{font-size:13px;line-height:1.7;max-width:440px}
html[data-tour-mode="full"] .film-hero[data-kind="closing"] .eyebrow{margin:0;font-size:8px}
html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-location{margin:24px 0 0}
.journey-closing-brand{display:none;position:absolute;right:6%;top:50%;transform:translateY(-50%);width:36%;height:min(76%,410px);z-index:4;overflow:hidden;pointer-events:none}
.film-hero[data-kind="closing"] .journey-closing-brand{display:flex;align-items:center;justify-content:center}
.journey-closing-mist{position:absolute;inset:0;opacity:0;mask-image:radial-gradient(ellipse closest-side,#000 40%,transparent 100%);background:radial-gradient(ellipse at 25% 55%,#d9dfce5c,transparent 48%),radial-gradient(ellipse at 72% 40%,#e5d5ad59,transparent 47%),radial-gradient(ellipse at 50% 50%,#10251eaa,transparent 65%);filter:blur(22px)}
.journey-closing-logo{position:relative;width:clamp(150px,19vw,230px);aspect-ratio:.74;mix-blend-mode:normal;overflow:hidden;background:linear-gradient(125deg,#c89c46,#f4dca0 46%,#d4ac5f);mask-image:url("assets/logo.webp");mask-mode:luminance;mask-position:center;mask-size:280% auto;mask-repeat:no-repeat;opacity:0;filter:blur(12px);transform:scale(.96);transition:opacity 1.8s ease,filter 1.8s ease,transform 1.8s ease}
.journey-closing-logo img{display:none}
.journey-closing-brand.is-revealed .journey-closing-logo{opacity:1;filter:blur(0);transform:scale(1)}
.journey-closing-brand.is-revealed .journey-closing-mist{animation:journey-mist-reveal 2.6s ease-out both;animation-play-state:running!important}
@keyframes journey-mist-reveal{0%{opacity:0;transform:translateX(-9%) scale(1.08)}38%{opacity:.9}100%{opacity:.4;transform:translateX(7%) scale(1)}}
html[data-tour-mode="short"] .journey-closing-brand{left:40%;right:auto;width:56%}
@media(max-width:700px){
  html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-copy{left:7%;top:auto;bottom:18px;transform:none;width:86%;max-width:none}
  html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-copy h1{font-size:30px;margin:10px 0 14px}
  html[data-tour-mode="full"] .film-hero[data-kind="closing"] #film-description{font-size:12px;line-height:1.55}
  html[data-tour-mode="full"] .film-hero[data-kind="closing"] .eyebrow{display:none}
  html[data-tour-mode="full"] .film-hero[data-kind="closing"] .film-location{margin-top:14px}
  .journey-closing-brand{top:14px;left:5%;right:auto;width:90%;height:180px;transform:none}
  .journey-closing-logo{width:120px}
  html[data-tour-mode="short"] .journey-closing-brand{left:5%;top:16px;width:90%;height:46%;transform:none}
  .tour-ending-actions{gap:8px;margin-top:15px}
  .tour-ending-actions .primary,.tour-ending-actions .tour-return-home{padding:9px 12px;font-size:10px}
}
@media(max-width:700px) and (max-height:740px){html[data-tour-mode="short"] .journey-closing-brand{height:40%}html[data-tour-mode="full"] .journey-closing-brand{height:135px}.journey-closing-logo{width:100px}}
@media(prefers-reduced-motion:reduce){.journey-closing-logo{transition:none}.journey-closing-brand.is-revealed .journey-closing-mist{animation:none;opacity:.4}}

/* Approved public release. */
.tour-preview-mark{display:none!important}
