.house-tour { background: var(--bg); }
.house-stage {
  position: relative;
  display: grid;
  min-height: 65svh;
  overflow: hidden;
  isolation: isolate;
}
.house-exterior {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--house-image-width, 100%);
  height: var(--house-image-height, 100%);
  background: url('/assets/house-bedroom-windows.png') center / 100% 100% no-repeat;
  transform-origin: center;
  transform: translate(-50%, -50%) translate(var(--house-x, 0px), var(--house-y, 0px)) scale(var(--house-scale, 1));
}
.house-interior { display: grid; align-items: end; position: relative; isolation: isolate; }
.house-room { position: absolute; inset: 0; z-index: -1; }
.house-kitchen { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.house-interior::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #080b10 0%, #080b10c7 13%, transparent 43%);
  pointer-events: none;
}
.house-gateway {
  position: absolute;
  left: 50%;
  bottom: 30%;
  width: max(8vw, 14.22svh);
  transform: translateX(-50%);
  isolation: isolate;
}
.house-gateway img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 10px #000b); }
.house-waves { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; }
.house-waves i {
  grid-area: 1 / 1;
  width: 80%;
  aspect-ratio: 1.45;
  border: 2px solid #aadaff;
  border-radius: 50%;
  box-shadow: 0 0 25px #66c6ff, inset 0 0 15px #66c6ff55;
  opacity: .4;
}
.house-waves i:nth-child(2) { transform: scale(1.7); }
.house-waves i:nth-child(3) { transform: scale(2.4); }
.house-caption { margin-block: 0; padding-block: 36px; }
.house-caption h2 { margin-bottom: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .house-tour.is-scrubbing { height: 235svh; }
  .is-scrubbing .house-stage { position: sticky; top: 0; height: 100svh; }
  .is-scrubbing .house-exterior { display: block; }
  .is-scrubbing .house-interior {
    opacity: var(--room-opacity, 0);
    transform: scale(var(--room-scale, 1.14));
    transform-origin: 50% 63%;
  }
  .is-scrubbing .house-waves i { animation: house-wifi 3.6s ease-out infinite; }
  .is-scrubbing .house-waves i:nth-child(2) { animation-delay: -1.2s; }
  .is-scrubbing .house-waves i:nth-child(3) { animation-delay: -2.4s; }
}
@keyframes house-wifi {
  from { transform: scale(.6); opacity: .9; }
  to { transform: scale(5); opacity: 0; }
}

.house-skip { display: none; }
.house-kitchen { display: block; }
.house-gateway {
  top: var(--table-foot, 60%);
  bottom: auto;
  transform: translate(-50%, -90%) scale(var(--gateway-scale, 1));
  transform-origin: center 90%;
}
@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .house-interior {
    opacity: 1;
    clip-path: var(--window-clip, inset(100%));
    transform: none;
  }
  .is-scrubbing .house-room {
    transform: scale(var(--room-scale, 1));
    transform-origin: 50% 67%;
  }
  .is-scrubbing:not(.is-revealed) .house-caption { visibility: hidden; }
  .is-scrubbing .house-skip {
    display: inline-flex;
    position: absolute;
    z-index: 2;
    inset-block-start: 20px;
    inset-inline-end: clamp(14px, 4vw, 48px);
    background: #0b1019e8;
  }
}

.house-opening {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(390px, 76svh, 880px);
  isolation: isolate;
  background: linear-gradient(0deg, #080b10, transparent 70%), url('/assets/house-bedroom-windows.png') center / cover;
}
.house-headline {
  position: relative;
  text-align: center;
  margin-block: 0;
  padding-bottom: clamp(60px, 15vh, 165px);
}
.house-headline h1 {
  font-size: clamp(2.5rem, 8.6vw, 8rem);
  letter-spacing: -.075em;
  line-height: .9;
}
.house-headline span, .house-headline em { display: block; }
.house-headline em { color: var(--accent); }

@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .house-opening {
    position: absolute;
    inset: 0;
    z-index: 1;
    min-height: 0;
    pointer-events: none;
    background: linear-gradient(0deg, #080b10ed, transparent 69%);
    opacity: var(--intro-opacity, 1);
  }
  .is-scrubbing .house-headline {
    transform: translateY(var(--intro-title-y, 0px)) scale(var(--intro-title-scale, 1));
  }
}
@media (max-width: 850px) {
  .house-headline { padding-bottom: 24svh; }
}
@media (max-width: 600px) {
  .house-headline h1 { font-size: clamp(2rem, 9vw, 3.4rem); }
  .house-caption { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .house-caption h2 { font-size: clamp(27px, 7vw, 40px); }
  .is-scrubbing .house-skip { min-height: 44px; }
}

.travel-map { display: none; }
.travel-cafe {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 55svh;
  isolation: isolate;
  overflow: hidden;
}
.travel-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.travel-cafe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg), transparent 58%);
}
@media (prefers-reduced-motion: no-preference) {
  .house-tour.is-scrubbing { height: 475svh; }
  .is-scrubbing .house-exterior { opacity: var(--home-opacity, 1); }
  .is-scrubbing .house-interior { opacity: var(--home-opacity, 1); }
  .is-scrubbing .travel-map, .is-scrubbing .travel-cafe { position: absolute; inset: 0; }
  .is-scrubbing .travel-map {
    display: grid;
    place-items: center;
    visibility: var(--map-visibility, hidden);
    opacity: var(--map-opacity, 0);
    background: radial-gradient(ellipse, #193d55, #080b10 76%);
    pointer-events: none;
  }
  .travel-map-art {
    position: relative;
    width: min(92%, 1100px);
    transform: translate(var(--map-x, 0%), var(--map-y, 0%)) scale(var(--map-scale, 1));
    transform-origin: center;
  }
  .travel-map-art img { display: block; width: 100%; height: auto; }
  .travel-pin {
    position: absolute;
    left: 63%;
    top: 48%;
    width: 12px;
    aspect-ratio: 1;
    translate: -50% -50%;
    border: 2px solid white;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 20px 6px #60c8ff;
  }
  .is-scrubbing .travel-cafe {
    visibility: var(--cafe-visibility, hidden);
    opacity: var(--cafe-opacity, 0);
  }
  .is-scrubbing .travel-scene {
    transform: scale(var(--cafe-scale, 1));
    transform-origin: 50% 62%;
  }
  .is-scrubbing .travel-cafe .house-caption { visibility: var(--cafe-caption, hidden); }
  .is-scrubbing.is-traveling .house-interior .house-caption { visibility: hidden; }
}

.travel-scene { position: absolute; inset: 0; z-index: -2; isolation: isolate; }
.travel-signal { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .travel-signal {
    display: grid;
    position: absolute;
    place-items: center;
    left: 50%;
    top: var(--signal-y, 69%);
    width: clamp(50px, 10vw, 110px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .travel-signal i {
    grid-area: 1 / 1;
    width: 100%;
    aspect-ratio: 1.4;
    border: 2px solid #aadaff;
    border-radius: 50%;
    box-shadow: 0 0 22px #70caff, inset 0 0 12px #70caff66;
    animation: house-wifi 3.6s ease-out infinite;
  }
  .travel-signal i:nth-child(2) { animation-delay: -1.2s; }
  .travel-signal i:nth-child(3) { animation-delay: -2.4s; }
  .travel-pin { animation: travel-pin-pulse 1.8s ease-in-out infinite alternate; }
  .travel-pin { scale: var(--map-pin-scale, 1); }
  .travel-pin.campsite-map-pin { left: 31%; top: 30%; }
  .travel-pin.event-map-pin { left: 77%; top: 34%; }
  .travel-pin.jobsite-map-pin { left: 49%; top: 58%; }
  .travel-pin > span {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    translate: -50% 0;
    padding: 4px 7px;
    border-radius: 6px;
    background: #0b1722;
    color: #eff9ff;
    font-size: clamp(.68rem, 1.4vw, .9rem);
    font-weight: 700;
    white-space: nowrap;
  }
}
@keyframes travel-pin-pulse {
  to { box-shadow: 0 0 28px 12px #60c8ff66; }
}

@media (prefers-reduced-motion: no-preference) {
  .travel-pin.house-map-pin {
    left: 21%;
    top: 33%;
    background: #35baff;
    opacity: var(--house-map-ping, 0);
  }
  .house-map-pin::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid #80d6ff;
    border-radius: 50%;
    animation: house-map-ripple 1.45s ease-out infinite;
  }
}
@keyframes house-map-ripple {
  from { transform: scale(1); opacity: .95; }
  to { transform: scale(4); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .house-clouds {
    position: absolute;
    inset: 0 0 83%;
    overflow: hidden;
    pointer-events: none;
  }
  .house-clouds::before {
    content: "";
    position: absolute;
    inset: -40% -20% 0;
    background:
      radial-gradient(ellipse at 30% 60%, #c587ca50, transparent 22%),
      radial-gradient(ellipse at 53% 45%, #697bbe65, transparent 23%),
      radial-gradient(ellipse at 75% 62%, #f2a3bb42, transparent 25%);
    animation: house-cloud-drift 22s ease-in-out infinite alternate;
  }
  .house-mountain-mist {
    position: absolute;
    inset: 13% 0 73%;
    background:
      radial-gradient(ellipse at 15% 70%, #a6c4ef60, transparent 21%),
      radial-gradient(ellipse at 86% 34%, #b3c6f150, transparent 22%);
    mask-image: linear-gradient(90deg, #000 22%, transparent 35% 66%, #000 78%);
    animation: house-mist-drift 16s ease-in-out infinite alternate;
  }
  .house-smoke {
    position: absolute;
    left: 72.5%;
    top: 19.6%;
    width: 0;
    height: 0;
  }
  .house-smoke i {
    position: absolute;
    left: -13px;
    top: -22px;
    width: 26px;
    height: 25px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 44% 55%, #c8c8dbb0 8%, #a5a9c36e 43%, transparent 75%);
    animation: house-smoke-rise 6s linear infinite;
  }
  .house-smoke i:nth-child(2) { animation-delay: -1.5s; }
  .house-smoke i:nth-child(3) { animation-delay: -3s; }
  .house-smoke i:nth-child(4) { animation-delay: -4.5s; }

  @keyframes house-cloud-drift {
    from { transform: translateX(-8%); opacity: .55; }
    to { transform: translateX(10%); opacity: 1; }
  }
  @keyframes house-mist-drift {
    from { transform: translate(-3%, 4%); opacity: .45; }
    to { transform: translate(4%, -6%); opacity: .95; }
  }
  @keyframes house-smoke-rise {
    0% { transform: translate(0, 0) scale(.48); opacity: 0; }
    15% { opacity: .78; }
    50% { transform: translate(11px, -53px) scale(1.65); opacity: .55; }
    100% { transform: translate(53px, -109px) scale(3.2); opacity: 0; }
  }
}

.tour-room { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .house-tour.is-scrubbing { height: 680svh; }
  .is-scrubbing .house-interior { opacity: var(--kitchen-opacity, 1); }
  .is-scrubbing .tour-room { display: block; opacity: var(--home-opacity, 1); }
  .tour-room { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
  .tour-gaming { clip-path: var(--game-clip, inset(100%)); }
  .tour-work { clip-path: var(--work-clip, inset(100%)); }
  .tour-room-view {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
  }
  .tour-gaming .tour-room-view {
    background-image: url('/assets/house-gaming.jpg');
    inset: var(--game-top) auto auto var(--game-left);
    width: var(--game-width);
    height: var(--game-height);
  }
  .tour-work .tour-room-view {
    background-image: url('/assets/house-work.jpg');
    inset: var(--work-top) auto auto var(--work-left);
    width: var(--work-width);
    height: var(--work-height);
  }
  .tour-room-view i { position: absolute; inset: 0; }
  .tour-gaming i:last-child {
    background: radial-gradient(ellipse at 50% 42%, #68baff50, transparent 55%);
    animation: room-glow 1.25s ease-in-out infinite alternate;
  }
  .tour-work i:first-child {
    background: radial-gradient(ellipse at 50% 61%, #86dfff60, transparent 40%);
    animation: room-glow 2s ease-in-out infinite alternate;
  }
  .tour-work i:last-child {
    background: radial-gradient(ellipse at 55% 68%, transparent 10%, #8acfff40 11%, transparent 14%);
    animation: call-ripple 2.5s ease-out infinite;
  }
  @keyframes room-glow { from { opacity: .15; } to { opacity: .92; } }
  @keyframes call-ripple { from { transform: scale(.7); opacity: .85; } to { transform: scale(1.9); opacity: 0; } }
}


@media (prefers-reduced-motion: no-preference) {
  .house-depth {
    position: absolute;
    inset: 0;
    background: inherit;
    pointer-events: none;
  }
  .house-sky-depth {
    mask-image: linear-gradient(#000 8%, transparent 12%);
    transform: translateY(var(--sky-drift, 0px));
  }
  .house-mountain-depth {
    mask-image: radial-gradient(ellipse 33% 11% at 7% 22%, #000 45%, transparent 100%),
      radial-gradient(ellipse 30% 11% at 94% 14%, #000 45%, transparent 100%);
    transform: translateY(var(--mountain-drift, 0px));
  }
}

.travel-cafe .house-caption p {
  max-width: 53ch;
  margin: 0 0 16px;
  text-shadow: 0 2px 8px #000;
}
@media (prefers-reduced-motion: no-preference) {
  .house-tour.is-scrubbing { height: 1460svh; }
  .is-scrubbing .travel-rv {
    opacity: var(--rv-opacity, 0);
    visibility: var(--rv-visibility, hidden);
    --cafe-scale: var(--rv-scale, 1);
  }
  .is-scrubbing .travel-event {
    opacity: var(--event-opacity, 0);
    visibility: var(--event-visibility, hidden);
    --cafe-scale: var(--event-scale, 1);
  }
  .is-scrubbing .travel-stop .house-caption { visibility: inherit; }
  .is-scrubbing .travel-jobsite {
    opacity: var(--jobsite-opacity, 0);
    visibility: var(--jobsite-visibility, hidden);
    --cafe-scale: var(--jobsite-scale, 1);
  }
  .campfire-glow {
    position: absolute;
    left: 50%;
    top: var(--campfire-y, 77%);
    width: clamp(100px, 20vw, 280px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, #ffb3479c, #e65e231c 42%, transparent 65%);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: campfire-flicker .85s ease-in-out infinite alternate;
  }
  @keyframes campfire-flicker {
    0%, 74% { opacity: .35; }
    32%, 100% { opacity: .9; }
    57% { opacity: .56; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .campfire-glow i {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffca76;
    box-shadow: 0 0 9px #ff6c27;
    animation: campfire-ember 2.1s ease-out infinite;
  }
  .campfire-glow i:nth-child(2) { left: 43%; animation-delay: -.7s; }
  .campfire-glow i:nth-child(3) { left: 58%; animation-delay: -1.4s; }
  @keyframes campfire-ember {
    from { opacity: .95; transform: translate(0, 0); }
    to { opacity: 0; transform: translate(18px, -95px) scale(.35); }
  }
}
@media (max-width: 600px) {
  .travel-event .travel-photo { object-position: 67% 62%; }
  .travel-cafe .house-caption h2 { max-width: 19ch; }
  .travel-cafe .house-caption p { font-size: .95rem; }
}

.gateway-callouts {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.gateway-callouts li {
  position: absolute;
  max-width: 35%;
  padding: clamp(8px, 1vw, 12px) clamp(10px, 1.3vw, 18px);
  border: 1px solid #9fd7ff91;
  border-radius: 14px;
  background: #101c29ed;
  color: #eff9ff;
  font-size: clamp(.875rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
}
.gateway-callouts li:nth-child(odd) { right: 57%; }
.gateway-callouts li:nth-child(even) { left: 57%; }
.gateway-callouts li:nth-child(-n+2) { top: 39%; }
.gateway-callouts li:nth-child(n+3) { top: 51%; }
@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .gateway-callouts li {
    opacity: var(--spec-visibility, 0);
    transform: translateY(calc((1 - var(--spec-visibility, 0)) * 12px));
  }
  .gateway-callouts li:nth-child(1) { --spec-visibility: var(--spec-1); }
  .gateway-callouts li:nth-child(2) { --spec-visibility: var(--spec-2); }
  .gateway-callouts li:nth-child(3) { --spec-visibility: var(--spec-3); }
  .gateway-callouts li:nth-child(4) { --spec-visibility: var(--spec-4); }
}
@media (max-width: 600px) {
  .gateway-callouts li { padding: 8px 10px; max-width: 33%; }
  .gateway-callouts li:nth-child(odd) { right: 64%; }
  .gateway-callouts li:nth-child(even) { left: 64%; }
}

.room-caption { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .room-caption {
    display: block;
    position: absolute;
    inset: auto 0 clamp(24px, 5svh, 60px);
    z-index: 1;
    padding: clamp(12px, 2vw, 24px);
    width: fit-content;
    max-width: calc(100% - 32px);
    margin-inline: auto;
    border-radius: 18px;
    background: #0a1320e8;
    text-align: center;
    pointer-events: none;
    opacity: var(--room-caption-opacity, 0);
  }
  .room-caption-game { --room-caption-opacity: var(--game-caption, 0); }
  .room-caption-work { --room-caption-opacity: var(--work-caption, 0); }
  .room-caption h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 2.35rem); }
  .room-caption ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    padding: 0;
    margin: 8px 0 0;
    list-style: none;
    font-size: clamp(.8rem, 1.4vw, 1.05rem);
    color: #bde6ff;
  }
  .room-caption li {
    --entry: clamp(0, calc(var(--room-caption-opacity) * 2 - var(--delay, 0)), 1);
    opacity: var(--entry);
    transform: translateY(calc(10px * (1 - var(--entry))));
  }
  .room-caption li:nth-child(2) { --delay: .35; }
  .room-caption li:nth-child(3) { --delay: .70; }
  .room-caption li:nth-child(4) { --delay: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .tour-room-view { container-type: size; }
  .room-screen-layout {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: max(100cqw, 150cqh);
    aspect-ratio: 3 / 2;
    pointer-events: none;
  }
  .tour-work .room-screen-layout {
    width: max(100cqw, 177.68cqh);
    aspect-ratio: 1672 / 941;
  }
  .race-screen, .call-screen, .work-screen { position: absolute; overflow: hidden; }
  .race-screen { inset: 28% 30.4% 41.7% 30.6%; }
  .race-screen b {
    position: absolute;
    inset: 50% -22% -40%;
    background: repeating-conic-gradient(from 4deg at 53% 0%, transparent 0deg 12deg, #9adfff9c 13deg, transparent 14deg 28deg);
    mask-image: linear-gradient(transparent, #000 70%);
    transform-origin: 53% 0%;
    animation: race-road 1.15s linear infinite;
    mix-blend-mode: screen;
  }
  .race-screen b:nth-child(2) { animation-delay: -.38s; }
  .race-screen b:nth-child(3) { animation-delay: -.76s; }
  .call-screen {
    inset: 55.3% 50.6% 28.3% 36.5%;
    clip-path: polygon(11% 0, 100% 3%, 91% 100%, 0 89%);
  }
  .call-screen b {
    position: absolute;
    width: 41%;
    height: 43%;
    top: 4%;
    left: 11%;
    border: 2px solid #71efa9;
    box-shadow: inset 0 0 10px #71efa980;
    border-radius: 3px;
    opacity: 0;
    animation: call-speaker 6s steps(1, end) infinite;
  }
  .call-screen b:nth-child(2) { left: 52%; top: 7%; animation-delay: -4.5s; }
  .call-screen b:nth-child(3) { left: 7%; top: 47%; animation-delay: -3s; }
  .call-screen b:nth-child(4) { left: 48%; top: 51%; animation-delay: -1.5s; }
  .work-screen {
    inset: 49.5% 24.5% 33.5% 61.3%;
    clip-path: polygon(0 0, 95% 2%, 100% 91%, 8% 100%);
  }
  .work-screen b {
    position: absolute;
    left: 13%;
    top: 23%;
    width: 43%;
    height: 2px;
    background: #ffc168;
    box-shadow: 0 0 6px #ffbc5c;
    animation: work-progress 3.2s ease-in-out infinite;
    transform-origin: left;
  }
  .work-screen b:nth-child(2) { left: 19%; top: 31%; animation-delay: -.8s; }
  .work-screen b:nth-child(3) { left: 24%; top: 39%; animation-delay: -1.6s; }
  .work-screen b:nth-child(4) { left: 29%; top: 47%; width: 25%; animation-delay: -2.4s; }
}
@keyframes race-road {
  from { opacity: 0; transform: scale(.25) translateY(-12%); }
  55% { opacity: .72; }
  to { opacity: 0; transform: scale(1.45) translateY(26%); }
}
@keyframes call-speaker { 0% { opacity: .95; } 25%, 100% { opacity: 0; } }
@keyframes work-progress {
  0%, 100% { transform: scaleX(.18); opacity: .28; }
  55%, 75% { transform: scaleX(1); opacity: .95; }
}

.cafe-steam, .terminal-pulse { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .rv-signal {
    left: var(--rv-signal-x);
    top: var(--rv-signal-y);
    width: clamp(28px, 6vw, 70px);
  }
  .is-scrubbing .cafe-steam, .is-scrubbing .terminal-pulse {
    display: grid;
    position: absolute;
    place-items: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .cafe-steam { left: var(--steam-x); top: var(--steam-y); }
  .cafe-steam i {
    grid-area: 1 / 1;
    width: 34px;
    height: 49px;
    background: radial-gradient(ellipse, #fff9, transparent 65%);
    filter: blur(4px);
    animation: coffee-steam 3s ease-out infinite;
  }
  .cafe-steam i + i { animation-delay: -1.5s; }
  .terminal-pulse { left: var(--terminal-x); top: var(--terminal-y); }
  .terminal-pulse i {
    grid-area: 1 / 1;
    width: clamp(16px, 3vw, 42px);
    aspect-ratio: 1;
    border: 2px solid #b9ffdf;
    border-radius: 50%;
    box-shadow: 0 0 10px #68fbc4;
    animation: terminal-tap 2.8s ease-out infinite;
  }
  .terminal-pulse i + i { animation-delay: .2s; }
}
@keyframes coffee-steam {
  from { opacity: 0; transform: translateY(-8px) scale(.5); }
  22% { opacity: .68; }
  to { opacity: 0; transform: translate(18px, -79px) scale(1.5); }
}
@keyframes terminal-tap {
  0%, 55% { opacity: 0; transform: scale(.45); }
  62% { opacity: .85; }
  90%, 100% { opacity: 0; transform: scale(2.4); }
}

.event-hotspot {
  position: absolute;
  left: var(--event-device-x, 68%);
  top: var(--event-device-y, 85%);
  width: var(--event-device-size, 15%);
  height: auto;
  transform: translate(-50%, -89%);
  filter: drop-shadow(0 6px 4px #0008);
}

@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .event-signal {
    left: var(--event-device-x);
    top: calc(var(--event-device-y) - var(--event-device-size) * .39);
    width: calc(var(--event-device-size) * .4);
  }
}
.jobsite-art {
  position: absolute;
  inset: 0;
}
.jobsite-gateway {
  position: absolute;
  left: 54%;
  top: 72%;
  width: 26%;
  height: auto;
  translate: -50% -83%;
  filter: drop-shadow(0 4px 6px #0008);
}
@media (prefers-reduced-motion: no-preference) {
  .is-scrubbing .jobsite-art {
    inset: 62% auto auto 50%;
    width: var(--jobsite-photo-width);
    height: var(--jobsite-photo-height);
    translate: -50% -62%;
  }
  .jobsite-signal { left: 54%; top: 58%; }
  .jobsite-link {
    position: absolute;
    width: clamp(15px, 3vw, 38px);
    aspect-ratio: 1;
    border: 2px solid #aadaff;
    border-radius: 50%;
    translate: -50% -50%;
    box-shadow: 0 0 15px #60c8ff;
    animation: house-map-ripple 3.6s ease-out infinite;
  }
  .jobsite-tablet { left: 23%; top: 47%; animation-delay: -1.3s; }
  .jobsite-housing { left: 80%; top: 32%; animation-delay: -2.1s; }
  @media (max-width: 600px) {
    .is-scrubbing .travel-jobsite .travel-scene { --cafe-scale: 1; }
    .is-scrubbing .jobsite-art { width: 100%; height: auto; aspect-ratio: 3 / 2; top: 44%; }
    .travel-jobsite { background: #0b1018; }
  }
}
