/* Arc 46 concept page 2: features in 3D. Uses style.css for the nav, type, buttons and colours. */
html:has(.tour-page), .tour-page { height: 100%; overflow: hidden; overscroll-behavior: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tour { position: fixed; inset: 0; height: 100dvh; overflow: hidden; --railh: 92px; }
#tour { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; opacity: 0; transition: opacity 0.9s ease; }
body.ready #tour { opacity: 1; }
body.dragging, body.dragging #tour { cursor: grabbing; user-select: none; }
.nav nav a[aria-current] { color: var(--fg); }
.tour-page .nav { background: rgba(0, 0, 0, 0.9); backdrop-filter: none; }

/* ---- a soft fall to black behind the text, on whichever side the text sits */
.shade { position: absolute; pointer-events: none; opacity: 0; }
/* Keep the outgoing gradient at its original width throughout the crossfade. */
.shade.l, .shade.r { top: 0; bottom: 0; width: var(--shade-width, 52%); will-change: opacity; transition: opacity 640ms ease-in-out; }
.shade.l { left: 0; background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.95) 66%, rgba(0, 0, 0, 0.6) 82%, transparent); }
.shade.r { right: 0; background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.95) 66%, rgba(0, 0, 0, 0.6) 82%, transparent); }
.shade.sheet { display: none; }
.shade.b { inset: auto 0 0 0; height: calc(var(--railh) + 90px); background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0)); opacity: 1; }
.tour[data-side=L] .shade.l, .tour[data-side=R] .shade.r { opacity: 1; }
body.portrait .shade.l, body.portrait .shade.r { display: none; }
/* ---- text for each view */
.fpanel { position: absolute; inset: var(--navh) 0 var(--railh) 0; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 180ms ease-out, visibility 0s 180ms; }
.fpanel.on { visibility: visible; }
body.go .fpanel.on { opacity: 1; transition: opacity 420ms ease-out, visibility 0s; }
.fpanel .wrap { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.fpanel .col { width: min(34%, 470px); }
.fpanel.side-R .col { margin-left: auto; }
.fpanel.on a, .fpanel.on button { pointer-events: auto; }
.fpanel .rise { opacity: 1; }
body.go .fpanel .rise { animation: none; }
.count { color: var(--fg); margin-right: 14px; font-variant-numeric: tabular-nums; }
.fpanel h2 { font-size: clamp(30px, min(3.2vw, 5.6vh), 54px); }
.fpanel .scale { flex-wrap: wrap; row-gap: 14px; }
.fpanel .scale b { font-size: 18px; }
.pinlist { display: none; }

/* ---- labels on the model: a dot, a thin grey line, a name; the detail opens on hover, focus or tap */
.pins { position: absolute; inset: 0; pointer-events: none; }
.pinset { position: absolute; inset: 0; visibility: hidden; }
.pinset.on { visibility: visible; }
.pin { position: absolute; left: 0; top: 0; width: 0; height: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: default; pointer-events: auto; opacity: 0; }
.pinset.on .pin { animation: pinIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.1s + var(--n) * 0.14s) both; }
@keyframes pinIn { from { opacity: 0; } to { opacity: 1; } }
.pin .dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(244, 244, 242, 0.24), 0 0 0 7px rgba(0, 0, 0, 0.5); font-size: 0; transition: box-shadow 0.3s ease; }
.pin::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; }
.pin .ln { position: absolute; left: 0; top: 0; width: var(--l, 100px); height: 1px; background: #a9a9a6; transform-origin: 0 50%; transform: rotate(var(--a, 0deg)) scaleX(0); }
.pinset.on .pin .ln { animation: lineIn 0.7s cubic-bezier(0.3, 0, 0.2, 1) calc(0.2s + var(--n) * 0.14s) both; }
@keyframes lineIn { from { transform: rotate(var(--a, 0deg)) scaleX(0); } to { transform: rotate(var(--a, 0deg)) scaleX(1); } }
.pin .lab { position: absolute; left: var(--bx, 100px); top: var(--by, 0px); width: max-content; max-width: 270px; margin: 0; padding: 10px 14px 11px; line-height: 1.35; background: rgba(6, 6, 6, 0.94); border: 1px solid rgba(244, 244, 242, 0.26); border-radius: 10px; opacity: 0; }
.pin.left .lab { text-align: right; }
.pinset.on .pin .lab { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.55s + var(--n) * 0.14s) both; }
.pin .lab b { display: block; font-weight: 600; color: #fff; font-size: clamp(16px, min(1.1vw, 2.1vh), 19px); letter-spacing: -0.01em; white-space: nowrap; }
.pin .lab em { display: block; font-style: normal; font-size: clamp(14px, min(0.95vw, 1.8vh), 15px); color: rgba(244, 244, 242, 0.86); margin-top: 3px; }
.pin:hover .dot, .pin:focus-visible .dot { box-shadow: 0 0 0 9px rgba(244, 244, 242, 0.3), 0 0 0 10px rgba(0, 0, 0, 0.5); }
.pin:hover .lab, .pin:focus-visible .lab { border-color: rgba(244, 244, 242, 0.5); }
.pin:hover .ln { background: #fff; }
.pin:focus-visible { outline: none; } .pin:focus-visible .dot { outline: 2px solid var(--fg); outline-offset: 6px; }

/* ---- the row at the foot: where you are, and the two step buttons */
.rail { position: absolute; left: 0; right: 0; bottom: 0; height: var(--railh); z-index: 5; }
.rail .wrap { height: 100%; display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); }
.stops { list-style: none; padding: 0; display: flex; gap: clamp(14px, 1.7vw, 34px); flex: 1; min-width: 0; }
.stops button { font: inherit; font-size: 14px; color: rgba(244, 244, 242, 0.46); background: none; border: 0; padding: 12px 0; cursor: pointer; white-space: nowrap; position: relative; transition: color 0.3s ease; }
.stops button::before { content: ""; position: absolute; left: 0; right: 0; top: calc((var(--railh) - 44px) / -2 - 1px); height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.stops button:hover, .stops button.done { color: var(--dim); }
.stops button.on { color: var(--fg); } .stops button.on::before { transform: scaleX(1); }
#now { display: none; font-size: 14px; color: var(--fg); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: pre; font-variant-numeric: tabular-nums; }
.steps { display: flex; gap: 10px; flex: none; }
.steps .btn { min-width: 84px; text-align: center; padding: 11px 20px; transition: opacity 0.3s ease; }
.steps .btn:disabled { opacity: 0.28; cursor: default; }

@media (max-width: 1240px) { .stops { display: none; } #now { display: block; } }
/* phones and tall windows: the text sits in a sheet at the foot; labels move off the picture into a numbered list */
body.portrait .tour { --railh: 68px; }
body.portrait .shade.sheet { display: block; opacity: 1; inset: auto 0 var(--railh); height: var(--sheet-height); transform-origin: center bottom; transition: transform 420ms ease-in-out; background: linear-gradient(#0000, #000d 22%, #000); }
body.portrait .fpanel .wrap { justify-content: flex-end; width: 100%; padding: 56px var(--pad) 14px; height: auto; position: absolute; left: 0; right: 0; bottom: 0; }
body.portrait .fpanel .col { width: 100%; margin: 0; }
body.portrait .fpanel h2 { font-size: 26px; margin-bottom: 10px; } body.portrait .fpanel .kicker { margin-bottom: 8px; font-size: 13px; }
body.portrait .fpanel .body { font-size: 15px; line-height: 1.42; }
body.portrait .fpanel .scale { display: none; }
body.portrait .pinlist { display: block; list-style: none; padding: 10px 0 0; margin-top: 12px; border-top: 1px solid var(--line); counter-reset: pin; font-size: 13px; color: var(--dim); }
body.portrait .pinlist li { counter-increment: pin; position: relative; padding: 3px 0 3px 30px; line-height: 1.35; }
body.portrait .pinlist li::before { content: counter(pin); position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg); color: #000; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
body.portrait .pinlist b { color: var(--fg); font-weight: 600; margin-right: 6px; }
body.portrait .pin .ln, body.portrait .pin .lab { display: none; }
body.portrait .pin { pointer-events: none; }
body.portrait .pin .dot { left: -11px; top: -11px; width: 22px; height: 22px; font-size: 12px; font-style: normal; font-weight: 600; line-height: 22px; text-align: center; color: #000; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.45); }
body.portrait .actions { margin-top: 16px; }
body.portrait .steps .btn { min-width: 72px; padding: 10px 16px; }
body.portrait .rail .wrap { gap: 12px; }
@media (max-height: 640px) { body.portrait .fpanel .body { display: none; } }
@media (prefers-reduced-motion: reduce) { .fpanel .rise, .pin, .pin .lab { opacity: 1; } .pin .ln { transform: rotate(var(--a, 0deg)); } #tour { opacity: 1; } }
.pinset[data-i="0"] .pin { cursor: pointer; }
.still-tour #tour, .still-tour .pins, .still-tour #loading { display: none; }
.still-tour .tour { touch-action: pinch-zoom; }
.still-photo { position: absolute; top: 0; height: 100%; width: 58%; object-fit: contain; }
.side-L .still-photo { right: 0; }
.side-R .still-photo { left: 0; }
.still-tour .fpanel .wrap { position: relative; }
.still-tour .pinlist { display: block; color: var(--dim); padding-left: 1.3em; margin-top: 12px; font-size: 14px; }
.still-tour .pinlist b { color: var(--fg); margin-right: 6px; }
body.portrait .still-photo { width: 100%; height: var(--photo-height); }
body.portrait.still-tour .fpanel .wrap { position: absolute; }

.av-wordmark{font:800 20px/1 Arial,sans-serif;letter-spacing:.16em;color:inherit}.logo{text-decoration:none}
