/* The Pet Oasis · "Take the tour" walkthrough (Oct 24, 2026). Navy stage, cyan + orange accents. */
.tour-page { background: var(--navy); }
.tour-page .top { background: rgba(255,253,249,.94); }
.nav a.nav-tour, .nav a[aria-current="page"] { background: var(--cyan-soft); color: var(--blue-deep); }
.eyebrow.light { color: #ffc17a; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.eyebrow .dot { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--orange-pop); margin-right:8px; vertical-align: 1px; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.tour {
  --bar: 64px; --ctrl: 76px;
  position: relative; color: #fff;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(41,163,224,.22), transparent 60%),
    radial-gradient(700px 480px at 92% 95%, rgba(224,122,18,.18), transparent 60%),
    linear-gradient(180deg, #0a2747, #071c34);
  min-height: calc(100svh - 73px);
  display: flex; flex-direction: column;
}

/* ---------- progress bar ---------- */
.tour-bar { position: relative; z-index: 4; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7,28,52,.55); backdrop-filter: blur(10px); }
.tour-track { height: 4px; background: rgba(255,255,255,.08); }
.tour-track span { display:block; height:100%; width:0; background: linear-gradient(90deg, var(--cyan), var(--orange-pop)); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.tour-bar-inner { max-width: 1320px; margin: 0 auto; padding: 10px 22px; display: flex; align-items: center; gap: 18px; }
.tour-count { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fd6f3; min-width: 104px; }
.tour-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; justify-content: center; }
.tour-dots a { display: flex; align-items: center; gap: 7px; text-decoration: none; color: rgba(255,255,255,.62); font-size: 13.5px; font-weight: 500; padding: 5px 9px 5px 5px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
.tour-dots a b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(255,255,255,.1); color: #fff; transition: background .2s; }
.tour-dots a:hover { background: rgba(255,255,255,.08); color: #fff; }
.tour-dots a.done b { background: rgba(41,163,224,.55); }
.tour-dots a[aria-current="step"] { background: #fff; color: var(--navy); }
.tour-dots a[aria-current="step"] b { background: var(--orange-deep); }
.tour-dots a span { display: none; }
.tour-dots a[aria-current="step"] span { display: inline; }
.tour-mapbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.tour-mapbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.tour-mapbtn[aria-expanded="true"] { background: #fff; color: var(--navy); }
.tour-mini { position: absolute; right: 22px; top: calc(100% + 8px); width: min(440px, calc(100vw - 24px)); background: #0d2f55; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.tour-mini-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9fd6f3; font-weight: 700; margin-bottom: 8px; }

/* ---------- floor plan ---------- */
.plan { width: 100%; height: auto; display: block; font-family: var(--sans); }
.plan-shell { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.35); stroke-width: 2; }
.plan-lot { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.18); stroke-dasharray: 6 6; }
.plan-door { stroke: var(--orange-pop); stroke-width: 4; stroke-linecap: round; }
.plan-path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .9; }
.plan .room rect { fill: rgba(41,163,224,.12); stroke: rgba(159,214,243,.55); stroke-width: 1.5; transition: fill .2s; }
.plan .room circle { fill: var(--orange-deep); }
.plan .room text { fill: #fff; font-size: 14px; font-weight: 600; text-anchor: middle; }
.plan .room:hover rect, .plan .room:focus rect { fill: rgba(41,163,224,.3); }
.plan .room.is-here rect { fill: rgba(255,138,0,.28); stroke: var(--orange-pop); stroke-width: 2.5; }
.plan .room.is-done rect { fill: rgba(41,163,224,.24); }
.plan .lot-t { fill: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; }
.plan-you { fill: var(--orange-pop); stroke: #fff; stroke-width: 3; transition: cx .5s cubic-bezier(.2,.7,.2,1), cy .5s cubic-bezier(.2,.7,.2,1); }
.plan-note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; text-align: center; }

/* ---------- stops ---------- */
.tour-stops { position: relative; flex: 1; display: flex; touch-action: pan-y; }
.stop { width: 100%; min-width: 0; }
.tour { overflow-x: clip; }
.js .stop { display: none; }
.js .stop.is-active { display: grid; animation: stopIn .55s cubic-bezier(.2,.7,.2,1) both; }
.js .stop.is-active.from-left { animation-name: stopInL; }
@keyframes stopIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stopInL { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
html:not(.js) .stop { display: grid; border-bottom: 1px solid rgba(255,255,255,.1); }

.stop:not(.stop-intro):not(.stop-end) {
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
  max-width: 1320px; margin: 0 auto; gap: 34px; padding: 26px 22px 18px; align-items: center;
}
.stop-stage { container-type: size; height: calc(100svh - 73px - var(--bar) - var(--ctrl) - 44px); min-height: 380px; display: grid; place-items: center; }
.frame {
  position: relative; margin: 0;
  width: min(100cqw, calc(100cqh * var(--ar)));
  aspect-ratio: var(--ar);
  border-radius: 20px;
}
.frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 22px; background: var(--orange-deep); z-index: 0; }
.stop:nth-of-type(odd) .frame::before { background: var(--cyan); inset: 14px 14px -14px -14px; }
.frame picture, .frame .media { position: relative; z-index: 1; width: 100%; height: 100%; }
.frame .media { object-fit: cover; border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.45); background: #0d2f55; }
.js .stop.is-active .frame picture .media { animation: kb 14s ease-out both; }
@keyframes kb { from { transform: scale(1.035); } to { transform: scale(1); } }
.frame { overflow: visible; }
.frame picture { overflow: hidden; border-radius: 20px; }
.frame > .media { overflow: hidden; }

/* hotspots */
.hs {
  position: absolute; z-index: 3; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.95); color: var(--navy); font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.hs b { position: relative; z-index: 1; }
.hs::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); animation: ping 2.4s ease-out infinite; }
.hs:hover, .hs[aria-expanded="true"] { background: var(--orange-deep); color: #fff; }
@keyframes ping { 0% { transform: scale(.75); opacity: .9; } 80%,100% { transform: scale(1.5); opacity: 0; } }
.hs-tip {
  position: absolute; z-index: 5; max-width: min(300px, 80%); background: #fff; color: var(--ink);
  padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transform: translate(-50%, calc(-100% - 26px)); pointer-events: none;
}
.hs-tip.below { transform: translate(-50%, 26px); }
.hs-tip strong { color: var(--blue-deep); }

/* panel */
.stop-panel { align-self: center; max-height: calc(100svh - 73px - var(--bar) - var(--ctrl) - 30px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.stop-k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffc17a; margin-bottom: 10px; }
.stop-panel h2 { font-size: clamp(30px, 3.2vw, 44px); color: #fff; }
.stop-lede { color: rgba(255,255,255,.82); font-size: 17.5px; margin: 14px 0 18px; max-width: 46ch; }
.here { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.here li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.84); font-size: 15.5px; line-height: 1.45; transition: background .2s, border-color .2s; }
.here li b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--navy); font-size: 13px; }
.here li strong { color: #fff; }
.here li a { color: #9fd6f3; }
.here li.lit { background: rgba(224,122,18,.18); border-color: rgba(255,138,0,.55); }
.here li.lit b { background: var(--orange-deep); color: #fff; }
.stop-links { display: flex; flex-wrap: wrap; gap: 10px; }
.stop-panel .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.stop-panel .btn.line:hover { border-color: #fff; }
.map-embed { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); margin-bottom: 14px; aspect-ratio: 16 / 8; background: #0d2f55; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.stop-panel .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; }
.stop-panel .tags li { padding: 7px 12px; border-radius: 999px; background: rgba(41,163,224,.16); border: 1px solid rgba(159,214,243,.35); color: #dff2fc; font-size: 14px; font-weight: 500; }
.stop-candid { margin: 0 0 16px; border-radius: 16px; overflow: hidden; }
.stop-candid img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.pay-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-mini a { position: relative; display: grid; gap: 2px; padding: 12px; border-radius: 14px; text-decoration: none; background: #fff; color: var(--ink); }
.pay-mini a span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }
.pay-mini a strong { font-size: 16px; color: var(--blue-deep); }
.pay-mini a i { position: absolute; right: 10px; top: 8px; font-style: normal; color: var(--muted); }
.pay-mini a:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* intro + end */
.stop-intro, .stop-end { grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; padding: 40px 22px; min-height: calc(100svh - 73px - var(--bar) - var(--ctrl)); }
.intro-inner { max-width: 1240px; width: 100%; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.intro-copy h1 { font-size: clamp(42px, 5.4vw, 74px); color: #fff; }
.intro-copy h1 em { font-style: italic; color: #ffc17a; }
.intro-copy .lede, .end-inner .lede { color: rgba(255,255,255,.8); font-size: 19px; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.intro-keys { margin-top: 22px; color: rgba(255,255,255,.6); font-size: 14.5px; }
.key { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 6px; margin-right: 4px; border-radius: 7px; border: 1px solid rgba(255,255,255,.3); border-bottom-width: 3px; font-size: 13px; color: #fff; }
.intro-plan { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 22px; }
.end-inner { max-width: 760px; width: 100%; text-align: center; }
.intro-copy, .end-inner { min-width: 0; overflow-wrap: break-word; }
.end-inner h2 { font-size: clamp(38px, 4.6vw, 62px); color: #fff; }
.end-inner .hero-actions { justify-content: center; }
.end-hours { list-style: none; padding: 0; margin: 30px auto 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; }
.end-hours li { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.end-hours span { font-size: 13px; color: rgba(255,255,255,.65); }
.end-hours strong { font-size: 17px; }
.end-fine { color: rgba(255,255,255,.6); font-size: 14px; max-width: 56ch; margin: 0 auto 14px; }
.end-restart { color: #9fd6f3; font-weight: 600; text-decoration: none; }
.end-restart:hover { text-decoration: underline; }

/* controls */
.tour-ctrl { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1320px; width: 100%; margin: 0 auto; padding: 12px 22px calc(12px + env(safe-area-inset-bottom)); }
html:not(.js) .tour-ctrl, html:not(.js) .tour-mapbtn { display: none; }
.tour-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; transition: transform .15s, background .2s; }
.tour-btn:hover { transform: translateY(-1px); border-color: #fff; }
.tour-btn.next { background: var(--orange-deep); border-color: var(--orange-deep); box-shadow: 0 10px 24px rgba(184,93,6,.35); }
.tour-btn.next:hover { background: #9e4f04; }
.tour-btn:disabled { opacity: .35; cursor: default; transform: none; }
.tour-next-lbl { color: rgba(255,255,255,.65); font-size: 14.5px; text-align: center; flex: 1; }
.tour-next-lbl strong { color: #fff; }

.tour-foot { background: #061629; color: rgba(255,255,255,.65); padding: 0 !important; }
.tour-foot .foot-base { max-width: 1320px; margin: 0 auto; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; border: 0; }
.tour-foot a { color: #9fd6f3; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .tour-dots a[aria-current="step"] span { display: none; }
  .tour-dots a { padding: 5px; }
}
@media (max-width: 900px) {
  .tour { --bar: 56px; --ctrl: 78px; }
  body.tour-page { padding-bottom: 0; }
  .tour-bar-inner { padding: 8px 12px; gap: 8px; }
  .tour-count { display: none; }
  .tour-dots { gap: 2px; justify-content: flex-start; }
  .tour-dots a { padding: 3px; }
  .tour-dots a b { width: 26px; height: 26px; }
  .tour-mapbtn span { display: none; }
  .tour-mapbtn { padding: 8px 10px; }
  .stop:not(.stop-intro):not(.stop-end) { grid-template-columns: 1fr; gap: 22px; padding: 18px 16px 8px; align-items: start; }
  .stop-stage { container-type: inline-size; height: auto; min-height: 0; padding: 4px 8px 10px 4px; }
  .frame { width: min(100cqw, calc(46svh * var(--ar))); }
  .stop-panel { max-height: none; overflow: visible; padding: 0 2px 10px; }
  .stop-panel h2 { font-size: 32px; }
  .stop-lede { font-size: 16.5px; }
  .intro-inner { grid-template-columns: 1fr; gap: 28px; }
  .stop-intro, .stop-end { padding: 28px 18px; min-height: 0; }
  .tour-ctrl { background: rgba(7,28,52,.94); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .tour-btn { min-height: 50px; padding: 10px 18px; }
  .tour-next-lbl { font-size: 13px; }
  .tour-page .dock { display: none; }
  .frame::before { inset: 10px -8px -10px 10px; }
  .stop:nth-of-type(odd) .frame::before { inset: 10px 10px -10px -8px; }
}
@media (max-width: 640px) {
  .pay-mini { grid-template-columns: 1fr; }
  .end-hours { grid-template-columns: 1fr; }
  .intro-copy h1 { font-size: 40px; }
  .intro-copy .lede { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; min-width: 0; white-space: normal; justify-content: center; padding-left: 16px; padding-right: 16px; }
  .tour-btn .lbl { display: inline; }
  .tour-next-lbl { display: none; }
  .tour-ctrl .tour-btn { flex: 1; justify-content: center; }
  .hs { width: 34px; height: 34px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .stop.is-active, .js .stop.is-active .frame .media { animation: none !important; }
  .hs::after { animation: none; opacity: .6; }
  .tour-track span, .plan-you { transition: none; }
}
