/* PinkOut Partners — page layout (index.html). Components live in components.css. */

.site main { display: block; }
.block > .container { position: relative; }
.block .section-head { margin-block-end: clamp(24px, 3.5vw, 44px); }

/* ---------- Partner-type pages: hero ---------- */

/* ---------- Tracks ---------- */
.track .benefits__title { margin-block: var(--space-8) var(--space-4); }
.track .track-head + .benefits__title { margin-block-start: 0; }
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.packages > * { min-inline-size: 0; }
@media (max-width: 1100px) { .packages { grid-template-columns: repeat(2, 1fr); } }
/* phones: the options are a row to swipe through (the next card peeks in), not four tall cards one under another */
@media (max-width: 700px) {
  .packages {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--block-pad)); padding: 4px var(--block-pad) 12px; scroll-padding-inline: var(--block-pad);
  }
  .packages::-webkit-scrollbar { display: none; }
  .packages > * { scroll-snap-align: start; }
  .packages .package { padding: 20px; gap: var(--space-3); }
}
.indicative { margin-block-start: var(--space-3); }
/* what the proposal agrees: short ticks, not a paragraph */
.scope-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.scope-list li {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  background: rgb(255 255 255 / 0.62); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8); font-weight: var(--fw-medium); line-height: 1.4;
}
.scope-list li::before {
  content: ""; flex: none; inline-size: 20px; block-size: 20px; margin-block-start: 1px; border-radius: 50%;
  background: var(--c-action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fit__summary:empty { display: none; }


.mock-btn { pointer-events: none; --btn-bg: rgb(125 22 63 / 0.12); --btn-fg: rgb(125 22 63 / 0.6); }

/* ---------- Status ---------- */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.status > * { min-inline-size: 0; }
.status__media img { inline-size: 100%; border-radius: var(--radius-card); aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) { .status { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-inline-size: 880px; }
.faq-filter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-end: var(--space-4); }
.faq-list { background: var(--c-surface); border-radius: var(--radius-card); padding: 0 var(--space-5); }
.faq-list .faq:last-child { border-block-end: 0; }
.faq summary::after { background: var(--c-sky); }

/* ---------- Closing ---------- */
.arch-cta { padding-block: clamp(48px, 7vw, 96px); }
.arch-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

/* ---------- Footer ---------- */
.site-footer__controls { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Header + menu ---------- */
.lang-switch[lang="ar"] { font-family: var(--font); }
.menu-sheet__actions { display: grid; gap: var(--space-3); }

/* ---------- Sticky bar room on phones ---------- */

/* ---------- Form inputs styled as approved chips / type cards ---------- */
.chip-input { position: relative; display: inline-flex; }
.chip-input input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip-input .chip { min-block-size: var(--tap); cursor: pointer; }
.chip-input:hover .chip { box-shadow: inset 0 0 0 2px var(--c-text); }
.chip-input input:checked + .chip { --chip-bg: var(--c-action); color: #fff; box-shadow: none; }
.chip-input input:checked + .chip.chip--dot::before { box-shadow: inset 0 0 0 2px #fff; }
.chip-input input:focus-visible + .chip { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.choices[aria-invalid="true"] legend { color: var(--c-error); }
.choices[aria-invalid="true"] .chip { box-shadow: inset 0 0 0 2px var(--c-error); }
label.typecard { cursor: pointer; }
label.typecard:has(input:checked) { background: var(--typecard-c, var(--c-pink)); box-shadow: inset 0 0 0 2px var(--c-text); }
label.typecard:has(input:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.hp { position: absolute !important; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; opacity: 0; }

/* Dialog: the form is the grid (head / scrolling body / foot) */
.dialog[open] { display: flex; flex-direction: column; }
.dialog > form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-block-size: 0; max-block-size: inherit; block-size: 100%; }
.dialog__head .dialog__progress { align-self: flex-start; padding-block-start: 6px; }
.field__control[aria-invalid="true"] + .field__error { margin-block-start: 2px; }

/* ---------- Toasts ---------- */
.toast-region { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 90; pointer-events: none; }

/* Track head: number + headline side by side, actions under the headline (never squeezes the h2) */
.track .track-head { grid-template-columns: auto minmax(0, 1fr); align-items: start; row-gap: var(--space-4); }
.track .track-head__actions { grid-column: 2; }
@media (max-width: 800px) { .track .track-head { grid-template-columns: 1fr; } .track .track-head__actions { grid-column: 1; } }
.package { display: flex; flex-direction: column; }
.package .btn { margin-block-start: auto; align-self: flex-start; }
.fit + .indicative, .goals + .indicative { margin-block-start: var(--space-5); }

/* Utility pages (T2 / T3) */
.utility .site-header { position: static; }
.prose { max-inline-size: 70ch; display: grid; gap: var(--space-4); }
.prose h2 { font-size: var(--fs-h3); margin-block-start: var(--space-5); }
.prose ul { list-style: disc; padding-inline-start: 1.2em; display: grid; gap: var(--space-2); }
.prose a { color: var(--c-action); }
.prose [lang="ar"] { font-size: 17px; line-height: 1.85; }
.notfound { min-block-size: 60vh; display: grid; place-content: center; justify-items: center; gap: var(--space-5); text-align: center; }
.chip--plan { --chip-bg: rgb(255 255 255 / 0.7); font-weight: var(--fw-regular); }
.zone-panel__media { overflow: clip; border-radius: var(--radius-card); }

/* ---------- Track pages: page hero, back link, "other ways" ---------- */
.page-hero__back { display: inline-flex; align-items: center; gap: var(--space-2); margin-block-end: var(--space-5); font-size: var(--fs-small); font-weight: var(--fw-bold); text-decoration: none; }
.page-hero__back::before { content: "←"; display: inline-block; }
[dir="rtl"] .page-hero__back::before { transform: scaleX(-1); }
.page-hero__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-block-end: var(--space-7); }
.page-hero__copy { display: grid; gap: var(--space-5); align-content: start; }
.page-hero__copy .section-head { margin: 0; }
.page-hero h1 { font-size: var(--fs-display); }
.page-hero__copy .track-head__num { font-size: clamp(48px, 6vw, 80px); }
.page-hero__copy .track-head__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); grid-column: auto; }
.page-hero__media { margin: 0; }
.page-hero__media img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } .page-hero__media { order: -1; } .page-hero__media img { aspect-ratio: 16 / 10; } }
.doors--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .doors--two { grid-template-columns: 1fr; } }

/* =========================================================================
   Partner walk-through (journey.js / journey3d.js) · class .walk (".journey" is the audience timeline)
   Default = illustrated story (no 3D). .is-live = sticky 3D stage with cards scrolling over it.
   ========================================================================= */
.walk { position: relative; margin: var(--block-gap) var(--gutter) 0; }
.walk__skip { position: absolute; inset-block-start: var(--space-4); inset-inline-start: var(--space-4); z-index: 5; }
.walk__skip:not(:focus) { clip-path: inset(50%); inline-size: 1px; block-size: 1px; overflow: hidden; white-space: nowrap; padding: 0; }
.walk__stage { display: none; }
.walk__chapters { display: grid; gap: var(--block-gap); }
.walk__chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; padding: var(--block-pad); border-radius: var(--radius-block); background: var(--c-surface); }
.walk__chapter:nth-child(even) .walk__fallback { order: -1; }
.walk__card { display: grid; gap: var(--space-3); align-content: start; }
.walk__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-bold); letter-spacing: var(--track-display); }
h3.walk__title { font-size: clamp(26px, 3.4vw, 44px); }
.walk__card p { color: var(--c-text-2); font-size: var(--fs-lead); line-height: 1.55; }
.brand-name { color: var(--c-action); font-weight: var(--fw-bold); }
.walk__fallback { margin: 0; }
.walk__fallback img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
.walk__brand { margin-block-start: var(--space-2); max-inline-size: 360px; }
.walk__brand .field__control { font-size: 18px; font-weight: var(--fw-bold); }
.walk__scroll { display: none; }
.walk__cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-2); }
@media (max-width: 800px) { .walk__chapter { grid-template-columns: 1fr; } .walk__chapter .walk__fallback { order: -1; } }

/* Live: the venue stays on screen while the chapters scroll over it */
.walk.is-live { display: grid; grid-template-columns: minmax(0, 1fr); margin-inline: 0; }
.walk.is-live > .walk__stage, .walk.is-live > .walk__chapters { grid-area: 1 / 1; }
.walk.is-live .walk__stage {
  display: block; position: sticky; inset-block-start: 0; align-self: start; block-size: 100svh; overflow: clip;
  background: radial-gradient(120% 90% at 50% 60%, #fff 0%, var(--c-canvas) 55%, var(--c-pink) 100%);
}
.walk__canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.walk.is-live .walk__chapters { position: relative; z-index: 2; gap: 0; }
.walk.is-live .walk__chapter {
  min-block-size: 100svh; grid-template-columns: 1fr; align-items: center; padding: calc(var(--header-h) + 16px) clamp(16px, 5vw, 80px) 48px;
  background: none; border-radius: 0; pointer-events: none;
}
.walk.is-live .walk__fallback { display: none; }
.walk.is-live .walk__card {
  pointer-events: auto; max-inline-size: 460px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-pop);
  opacity: 0.4; transform: translateY(14px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.walk.is-live .walk__chapter[data-active] .walk__card { opacity: 1; transform: none; }
.walk.is-live .walk__scroll { display: inline-flex; gap: 8px; align-items: center; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--c-text); }
.walk.is-live .walk__scroll::after { content: "↓"; animation: nudge 1.6s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.walk__hud { position: absolute; inset-block-end: 24px; inset-inline-end: clamp(16px, 4vw, 56px); display: flex; align-items: center; gap: var(--space-3); padding: 8px 14px; border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.85); box-shadow: var(--shadow-pop); z-index: 3; }
.walk__count { font-size: 13px; font-weight: var(--fw-bold); white-space: nowrap; }
.walk__dots { display: flex; gap: 6px; }
.walk__dots button { inline-size: 12px; block-size: 12px; padding: 0; border: 0; border-radius: 50%; background: rgb(125 22 63 / 0.25); cursor: pointer; transition: inline-size var(--t-ui) var(--ease-out), background-color var(--t-ui); }
.walk__dots button[aria-current="true"] { inline-size: 28px; border-radius: 6px; background: var(--c-action); }
/* tap target stays 44px without growing the dot */
.walk__dots li { display: grid; place-items: center; min-inline-size: 24px; min-block-size: 44px; }

@media (max-width: 800px) {
  .walk.is-live .walk__chapter { align-items: end; padding: 120px 12px calc(96px + env(safe-area-inset-bottom)); }
  .walk.is-live .walk__card { max-inline-size: none; padding: 20px; }
  .walk.is-live .walk__card p { font-size: 16px; }
  .walk__hud { inset-block-end: auto; inset-block-start: calc(var(--header-h) + 10px); inset-inline-end: 50%; translate: calc(50% * var(--dir)) 0; }
  .walk__count { display: none; }
}

/* =========================================================================
   App journey (beauty service + e-commerce): the story plays on a phone (phone.js).
   Chapter i shows screen i; --p (0…1) turns the phone a little as the story moves on.
   ========================================================================= */
.walk--beauty { --track-c: var(--c-lavender); }
.walk--shop { --track-c: var(--c-peach); }
.walk--app.is-live .walk__stage {
  display: grid; place-items: center; padding-inline-start: min(44vw, 640px);
  background: linear-gradient(160deg, var(--c-canvas) 10%, var(--track-c) 85%);
}
.walk--app .walk__stage::before, .walk--app .walk__stage::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.walk--app .walk__stage::before {
  inline-size: 70vmin; aspect-ratio: 1; inset-inline-end: 6%; inset-block-start: 50%;
  translate: 0 calc(-50% + (var(--p, 0) - 0.5) * 16vh); background: radial-gradient(circle, rgb(255 255 255 / 0.95), transparent 65%);
}
.walk--app .walk__stage::after {
  inline-size: 40vmin; aspect-ratio: 1; inset-inline-end: 30%; inset-block-start: 52%;
  translate: 0 calc((var(--p, 0) - 0.5) * -22vh); background: radial-gradient(circle, rgb(255 61 139 / 0.16), transparent 65%);
}
.walk__concept { inset-block: calc(var(--header-h) + 16px) auto; inset-inline: auto clamp(16px, 4vw, 56px); z-index: 3; }

.phone {
  position: relative; z-index: 1; block-size: min(680px, 78svh); aspect-ratio: 9 / 19; border-radius: 13% / 6.2%;
  background: #fff; overflow: hidden; container-type: size; line-height: 1.3; color: var(--c-text);
  box-shadow: 0 0 0 10px #2b1220, 0 0 0 11px #5c2541, 0 50px 90px -30px rgb(125 22 63 / 0.6);
  transform: perspective(1400px) rotateY(calc((var(--p, 0) - 0.5) * -16deg * var(--dir))) rotateZ(calc((var(--p, 0) - 0.5) * 3deg));
  transition: transform 300ms var(--ease-out);
}
.phone::before { content: ""; position: absolute; z-index: 9; inset-block-start: 1.8%; inset-inline-start: 50%; translate: calc(-50% * var(--dir)) 0; inline-size: 30%; block-size: 3.4%; border-radius: 99px; background: #2b1220; }
.phone__screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.75em; padding: 15% 6% 7%; background: #fff; font-size: 4.1cqi; /* cqi: sized by the phone */
  opacity: 0; visibility: hidden; transform: translateX(calc(10% * var(--dir)));
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s 500ms;
}
.phone__screen[data-past] { transform: translateX(calc(-10% * var(--dir))); }
.phone__screen[data-on] { opacity: 1; visibility: visible; transform: none; transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s; }
/* what's on a screen arrives one piece after another */
.phone__screen > * { opacity: 0; translate: 0 12px; transition: opacity 400ms var(--ease-out), translate 500ms var(--ease-out); }
.phone__screen[data-on] > * { opacity: 1; translate: 0 0; }
.phone__screen[data-on] > :nth-child(2) { transition-delay: 70ms; }
.phone__screen[data-on] > :nth-child(3) { transition-delay: 140ms; }
.phone__screen[data-on] > :nth-child(4) { transition-delay: 210ms; }
.phone__screen[data-on] > :nth-child(5) { transition-delay: 280ms; }
.phone__screen[data-on] > :nth-child(n+6) { transition-delay: 350ms; }
.phone__screen--flush { padding: 0 0 7%; }
.phone__screen--flush > :not(.ph-cover, .ph-post) { margin-inline: 6%; }

.phone__screen--lock { padding-block-start: 24%; background: linear-gradient(165deg, #ff9cc4 0%, #ddcffb 55%, #ffd9c2 100%); }
.ph-lock { display: grid; justify-items: center; color: #fff; text-shadow: 0 2px 12px rgb(125 22 63 / 0.25); }
.ph-lock span { font-size: 1.1em; font-weight: var(--fw-medium); }
.ph-lock b { font-size: 4.6em; line-height: 1; }
.ph-note { display: flex; gap: 0.7em; align-items: flex-start; margin-block-start: 1.6em; padding: 0.9em; border-radius: 1.3em; background: rgb(255 255 255 / 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1em 2em -1em rgb(125 22 63 / 0.4); }
.phone__screen[data-on] > .ph-note { transition-delay: 500ms; translate: 0 0; }
.phone__screen > .ph-note { translate: 0 -1.5em; }
.ph-note__icon { flex: none; display: grid; place-items: center; inline-size: 2.4em; block-size: 2.4em; border-radius: 0.7em; background: var(--c-action); color: #fff; font-weight: var(--fw-bold); }
.ph-note b { display: flex; justify-content: space-between; gap: 0.5em; font-size: 0.95em; }
.ph-note small { font-weight: 400; color: var(--c-text-2); }
.ph-note p { margin: 0.15em 0 0; font-size: 0.95em; line-height: 1.35; }

.ph-bar { display: flex; justify-content: space-between; align-items: center; }
.ph-logo { font-weight: 800; font-size: 1.15em; color: var(--c-action); }
.ph-me { inline-size: 1.9em; block-size: 1.9em; border-radius: 50%; background: var(--c-pink); }
.ph-h { font-size: 1.45em; line-height: 1.15; font-weight: var(--fw-bold); }
.ph-muted { color: var(--c-text-2); font-size: 0.85em; }
.ph-search { padding: 0.7em 1em; border-radius: 99px; background: var(--c-canvas); color: var(--c-text-2); font-size: 0.95em; box-shadow: inset 0 0 0 1px rgb(125 22 63 / 0.08); }
.ph-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5em; }
.ph-cats span { display: grid; justify-items: center; gap: 0.35em; padding: 0.7em 0.3em; border-radius: 1em; background: color-mix(in srgb, var(--c) 45%, #fff); text-align: center; }
.ph-cats i { inline-size: 2em; block-size: 2em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 0.35em rgb(255 255 255 / 0.6); }
.ph-cats b { font-size: 0.78em; line-height: 1.15; font-weight: 600; }
.ph-banner { position: relative; flex: 1 1 auto; min-block-size: 5em; border-radius: 1.1em; overflow: hidden; }
.ph-banner img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ph-banner b { position: absolute; inset-inline-start: 0.8em; inset-block-end: 0.8em; padding: 0.3em 0.9em; border-radius: 99px; background: #fff; font-size: 0.9em; }
.ph-banner--product { background: var(--track-shop); }
.ph-banner--product img { inset-inline: auto 4%; inline-size: 50%; object-fit: contain; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 0.4em; }
.ph-chips span { padding: 0.35em 0.8em; border-radius: 99px; background: var(--c-canvas); font-size: 0.85em; font-weight: 600; box-shadow: inset 0 0 0 1px rgb(125 22 63 / 0.12); }
.ph-chips .is-on { background: var(--c-action); color: #fff; box-shadow: none; }
.ph-label { font-size: 0.8em; font-weight: var(--fw-bold); color: var(--c-text-2); }
.ph-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.4em 0.7em; align-items: center; padding: 0.8em; border-radius: 1.1em; background: #fff; box-shadow: 0 0.6em 1.6em -0.8em rgb(125 22 63 / 0.35), inset 0 0 0 1px rgb(125 22 63 / 0.06); }
.ph-card.is-hero { box-shadow: 0 0 0 0.18em var(--c-action), 0 1em 2em -1em rgb(223 0 76 / 0.5); }
.phone__screen[data-on] > .ph-card.is-ghost { opacity: 0.5; }
.ph-card__id { display: grid; gap: 0.2em; }
.ph-card__id b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-card__id small { font-size: 0.8em; color: var(--c-text-2); }
.ph-card__id i, .ph-lines i, .ph-products i { display: block; block-size: 0.55em; border-radius: 99px; background: rgb(125 22 63 / 0.1); }
.ph-card__id i + i, .ph-products i + i { inline-size: 55%; }
.ph-card em { font-style: normal; font-size: 0.75em; font-weight: var(--fw-bold); padding: 0.25em 0.6em; border-radius: 99px; background: #c7efdf; color: #0d5c3e; }
.ph-thumbs, .ph-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35em; }
.ph-thumbs img, .ph-grid img { inline-size: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6em; }
.ph-av { display: grid; place-items: center; inline-size: 2.6em; block-size: 2.6em; border-radius: 50%; background: var(--track-c, var(--c-lavender)); font-weight: var(--fw-bold); }
.ph-card.is-ghost .ph-av { background: var(--c-canvas); }
.ph-av--lg { font-size: 1.5em; box-shadow: 0 0 0 0.15em #fff; }
.ph-cover { flex: none; block-size: 28%; overflow: hidden; }
.ph-cover img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.ph-cover--brand { background: linear-gradient(135deg, var(--c-peach), var(--c-pink)); }
.ph-profile { display: grid; justify-items: start; gap: 0.25em; margin-block-start: -2.2em; }
.ph-profile b { font-size: 1.25em; }
.ph-profile small { color: var(--c-text-2); font-size: 0.85em; }
.ph-btn { display: block; margin-block-start: auto; padding: 0.85em 1em; border-radius: 99px; background: var(--c-action); color: #fff; text-align: center; font-weight: var(--fw-bold); font-size: 0.95em; }
.ph-row { display: flex; gap: 0.6em; align-items: center; padding: 0.8em; border-radius: 1em; background: var(--c-canvas); font-size: 0.9em; font-weight: 600; }
.ph-row i { flex: none; inline-size: 1.6em; block-size: 1.6em; border-radius: 50%; background: var(--c-pink); }
.ph-lines { display: grid; gap: 0.45em; }
.ph-lines i:last-child { inline-size: 70%; }
.ph-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6em; }
.ph-products--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ph-products span { display: grid; gap: 0.3em; align-content: start; padding: 0.6em; border-radius: 1em; background: var(--c-canvas); }
.ph-products img { inline-size: 100%; aspect-ratio: 1; object-fit: contain; }
.ph-products .is-hero { background: var(--track-shop); box-shadow: 0 0 0 0.18em var(--c-action); }
.ph-products b { font-size: 0.85em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-products small { font-size: 0.75em; color: var(--c-text-2); }
.ph-hero-img { display: grid; place-items: center; aspect-ratio: 1.1; border-radius: 1.2em; background: var(--track-shop); }
.ph-hero-img img { inline-size: 70%; }
.ph-hero-img--gift { flex: 1 1 auto; aspect-ratio: auto; min-block-size: 0; }
.ph-hero-img--gift img { inline-size: auto; block-size: 70%; }
.ph-tabs { display: flex; justify-content: space-around; margin-block-start: auto; padding-block-start: 0.8em; border-block-start: 1px solid rgb(125 22 63 / 0.08); }
.ph-tabs i { inline-size: 1.4em; block-size: 1.4em; border-radius: 0.45em; background: rgb(125 22 63 / 0.15); }
.ph-tabs .is-on { background: var(--c-action); }
.ph-check { display: grid; place-items: center; flex: none; inline-size: 2.8em; block-size: 2.8em; border-radius: 50%; background: #2fbf71; color: #fff; font-weight: var(--fw-bold); }
.ph-done { display: grid; justify-items: center; gap: 0.3em; padding: 1.4em 1em; border-radius: 1.4em; background: #fff; text-align: center; box-shadow: 0 -1em 3em -1em rgb(125 22 63 / 0.35); }
.ph-done b { font-size: 1.3em; }
.ph-done small { color: var(--c-text-2); font-size: 0.85em; }
/* booking confirmed / added to bag: lands a beat after the screen opens */
.phone__screen > .ph-done:not(.ph-done--static) { position: absolute; inset-inline: 5%; inset-block-end: 5%; translate: 0 40%; }
.phone__screen > .ph-toast { position: absolute; inset-inline: 8%; inset-block-start: 11%; translate: 0 -60%; display: flex; gap: 0.6em; align-items: center; padding: 0.6em 1em 0.6em 0.6em; border-radius: 99px; background: var(--c-text); color: #fff; font-weight: 600; font-size: 0.9em; }
.ph-toast .ph-check { inline-size: 1.9em; block-size: 1.9em; font-size: 0.85em; }
.phone__screen[data-on] > :is(.ph-done:not(.ph-done--static), .ph-toast) { translate: 0 0; transition-delay: 1100ms; }
.ph-post { position: relative; flex: 1 1 auto; overflow: hidden; }
.ph-post img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ph-credit { position: absolute; inset-inline-start: 6%; inset-block-end: 5%; padding: 0.45em 0.9em; border-radius: 99px; background: #fff; font-size: 0.9em; box-shadow: 0 0.5em 1.5em -0.5em rgb(125 22 63 / 0.5); }
.ph-credit b { color: var(--c-action); }
.ph-actions { display: flex; gap: 0.6em; align-items: center; padding-block-start: 0.4em; }
.ph-actions .ph-btn { flex: 1; margin: 0; }
.ph-heart { font-weight: var(--fw-bold); color: var(--c-action); }
/* little moments: a tap where she taps, hearts after the look */
.phone__screen > .ph-tap, .phone__screen > .ph-hearts { position: absolute; pointer-events: none; translate: none; }
.ph-tap { inset-inline-start: var(--x); inset-block-start: var(--y); inline-size: 2.6em; block-size: 2.6em; margin: -1.3em; border-radius: 50%; background: rgb(223 0 76 / 0.28); box-shadow: 0 0 0 0.3em rgb(223 0 76 / 0.14); }
.phone__screen > .ph-tap, .phone__screen[data-on] > .ph-tap { opacity: 0; }
.phone__screen[data-on] > .ph-tap { animation: ph-tap 2.2s 1.1s var(--ease-out) infinite; }
@keyframes ph-tap { 0% { opacity: 0; transform: scale(0.4); } 25% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.6); } }
.ph-hearts { inset-inline-end: 14%; inset-block-end: 22%; }
.ph-hearts i { position: absolute; font-style: normal; font-size: 1.6em; color: var(--c-action); opacity: 0; }
.phone__screen[data-on] .ph-hearts i { animation: ph-float 2.4s var(--ease-out) infinite; }
.phone__screen[data-on] .ph-hearts i:nth-child(2) { animation-delay: 0.8s; inset-inline-start: 1em; }
.phone__screen[data-on] .ph-hearts i:nth-child(3) { animation-delay: 1.6s; inset-inline-start: -0.8em; }
@keyframes ph-float { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6em) scale(1.2); } }
/* the booking/order flow: where, services, price, status, rating */
.ph-cats .is-on { box-shadow: 0 0 0 0.16em var(--c-action); }
.ph-opt { display: flex; gap: 0.7em; align-items: center; padding: 0.8em; border-radius: 1.1em; background: var(--c-canvas); box-shadow: inset 0 0 0 1px rgb(125 22 63 / 0.1); }
.ph-opt.is-on { background: color-mix(in srgb, var(--track-c, var(--c-pink)) 55%, #fff); box-shadow: 0 0 0 0.16em var(--c-action); }
.ph-opt > span:nth-child(2) { display: grid; gap: 0.1em; flex: 1; }
.ph-opt small { font-size: 0.8em; color: var(--c-text-2); }
.ph-opt__icon { flex: none; display: grid; place-items: center; inline-size: 2.4em; block-size: 2.4em; border-radius: 50%; background: #fff; }
.ph-opt__icon svg { inline-size: 1.2em; block-size: 1.2em; fill: none; stroke: var(--c-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-radio { flex: none; inline-size: 1.1em; block-size: 1.1em; border-radius: 50%; box-shadow: inset 0 0 0 0.12em var(--c-line-strong); }
.is-on > .ph-radio { box-shadow: inset 0 0 0 0.3em var(--c-action); background: #fff; }
.ph-star { color: #e8a300; letter-spacing: 0.05em; }
.ph-star--lg { font-size: 1.5em; }
.ph-svc { display: grid; grid-template-columns: minmax(0, 1fr) auto 3.2em; gap: 0.6em; align-items: center; padding: 0.55em 0.8em; border-radius: 0.9em; background: var(--c-canvas); font-size: 0.9em; }
.ph-svc.is-on { box-shadow: inset 0 0 0 0.14em var(--c-action); }
.ph-svc small { color: var(--c-text-2); }
.ph-svc i, .ph-sum i { block-size: 0.55em; border-radius: 99px; background: rgb(125 22 63 / 0.14); } /* prices: set by the partner */
.ph-sum { display: grid; grid-template-columns: minmax(0, 1fr) 4em; gap: 0.6em 0.8em; align-items: center; padding: 0.9em 1em; border-radius: 1em; background: var(--c-canvas); font-size: 0.9em; }
.ph-sum b { padding-block-start: 0.5em; border-block-start: 1px solid rgb(125 22 63 / 0.12); }
.ph-sum b + i { margin-block-start: 0.5em; background: var(--c-action); opacity: 0.5; }
.ph-track { display: grid; gap: 0; margin: 0.4em 0 0; padding: 0; list-style: none; }
.ph-track li { position: relative; padding-block: 0 1.15em; padding-inline: 2em 0; font-size: 0.95em; font-weight: 600; color: var(--c-text-2); }
.ph-track li::before { content: ""; position: absolute; inset-inline-start: 0.25em; inset-block-start: 0.2em; inline-size: 0.9em; block-size: 0.9em; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 0.15em rgb(125 22 63 / 0.3); }
.ph-track li::after { content: ""; position: absolute; inset-inline-start: calc(0.7em - 1px); inset-block: 1.25em 0.1em; inline-size: 2px; background: rgb(125 22 63 / 0.15); }
.ph-track li:last-child::after { display: none; }
.ph-track .is-done { color: var(--c-text); }
.ph-track .is-done::before { background: #2fbf71; box-shadow: none; }
.ph-track .is-done::after { background: #2fbf71; }
.ph-track .is-now { color: var(--c-action); font-weight: var(--fw-bold); }
.ph-track .is-now::before { background: var(--c-action); box-shadow: 0 0 0 0.3em rgb(223 0 76 / 0.2); }
.phone__screen[data-on] .ph-track .is-now::before { animation: ph-now 1.6s var(--ease-out) infinite; }
@keyframes ph-now { 50% { box-shadow: 0 0 0 0.55em rgb(223 0 76 / 0.08); } }
.ph-actions--3 { flex-wrap: wrap; }
.ph-pill { padding: 0.45em 0.9em; border-radius: 99px; background: var(--c-canvas); box-shadow: inset 0 0 0 1px rgb(125 22 63 / 0.15); font-size: 0.85em; font-weight: var(--fw-bold); }
.ph-pill:first-child { background: var(--c-action); color: #fff; box-shadow: none; }
.ph-rate { display: grid; justify-items: center; gap: 0.2em; padding: 0.8em; border-radius: 1.1em; background: var(--c-canvas); text-align: center; }
.phone__screen > .ph-toast--low { inset-block: auto 6%; translate: 0 60%; }
:root[data-motion="off"] .phone { transform: none; }
:root[data-motion="off"] .phone__screen[data-on] .ph-track .is-now::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .phone__screen[data-on] .ph-track .is-now::before { animation: none; } }
@media (prefers-reduced-motion: reduce) { .phone { transform: none; } }

@media (max-width: 1000px) and (min-width: 801px) {
  .walk--app.is-live .walk__stage { padding-inline-start: 48%; }
  .walk--app.is-live .walk__card { max-inline-size: 380px; }
}
@media (max-width: 800px) {
  .walk--app.is-live .walk__stage { place-items: start center; padding: calc(var(--header-h) + 84px) 0 0; }
  .walk--app .phone { block-size: min(46svh, 470px); box-shadow: 0 0 0 7px #2b1220, 0 30px 60px -24px rgb(125 22 63 / 0.6); }
  .walk--app .walk__stage::before { inset-inline-end: 50%; translate: calc(50% * var(--dir)) calc(-60% + (var(--p, 0) - 0.5) * 10vh); }
  .walk__concept { display: none; }
}

/* Track hero: the app concept takes the place of a photo */
.page-hero__media--app { display: grid; place-items: center; padding: var(--space-6) var(--space-4); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.5); }
@media (max-width: 900px) { .page-hero__media--app { order: 0; } }

/* =========================================================================
   Event tour (tour.js / tour3d.js): one continuous scroll through the venue.
   Default = illustrated stops (no 3D). .is-live = sticky 3D stage, zone cards scrolling over it.
   ========================================================================= */
.tour { position: relative; }
/* The event page opens straight on the tour (it is the hero): the header floats over the venue instead of pushing it
   down; every stop already leaves room for it (padding-top: header height + 20px). */
body[data-page="event"] .site-header { position: fixed; inset-inline: 0; }
/* the header floats over the tour, so a link to the tour or one of its chapters lands it exactly at the top
   (this cancels the page's scroll padding for the header, base.css, which other sections still need) */
.tour, .tour__stop { scroll-margin-block-start: calc(-1 * (var(--header-h) + var(--space-4))); }
.tour__skip { position: absolute; inset-block-start: var(--space-4); inset-inline-start: var(--space-4); z-index: 5; }
.tour__skip:not(:focus) { clip-path: inset(50%); inline-size: 1px; block-size: 1px; overflow: hidden; white-space: nowrap; padding: 0; }
.tour__stage { display: none; }
.tour__stops { display: grid; gap: var(--block-gap); margin: var(--block-gap) var(--gutter) 0; padding: 0; list-style: none; }
/* without 3D the stops are an illustrated list: the first one starts below the floating header, and a stop's
   links land with the header's room kept (the -margin above is only for the live tour) */
.tour:not(.is-live) .tour__stops { padding-block-start: calc(var(--header-h) + var(--space-3)); }
.tour:not(.is-live), .tour:not(.is-live) .tour__stop { scroll-margin-block-start: calc(var(--header-h) + var(--space-3)); }
@media (max-width: 700px) { .tour:not(.is-live) .tour__stop { padding: 14px 14px 22px; gap: var(--space-4); } }
.tour__stop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: center; padding: var(--block-pad); border-radius: var(--radius-block); background: var(--c-surface); }
.tour__fallback { margin: 0; overflow: clip; border-radius: var(--radius-card); }
.tour__fallback img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tour__fallback--beauty img { transform: scale(1.8); transform-origin: 50% 100%; } /* keeps third-party names on the render out of frame */
@media (max-width: 800px) { .tour__stop { grid-template-columns: 1fr; } .tour__fallback { order: -1; } }

/* The zone card */
.stop-card { display: grid; gap: 14px; align-content: start; color: var(--c-text); }
.stop-card__head { display: flex; gap: 14px; align-items: center; }
.stop-card__num { font-size: 52px; line-height: 0.8; font-weight: 800; color: var(--zone-c, var(--c-pink)); -webkit-text-stroke: 1.5px var(--c-text); }
.stop-card__of { display: block; font-size: 12px; font-weight: var(--fw-bold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.stop-card__tag { display: block; font-size: 15px; font-weight: var(--fw-bold); }
.stop-card__title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; font-weight: 800; letter-spacing: var(--track-display); }
.stop-card__progress { display: flex; gap: 4px; }
.stop-card__progress i { flex: 1; block-size: 4px; border-radius: 2px; background: rgb(125 22 63 / 0.12); }
.stop-card__progress i[data-done] { background: rgb(223 0 76 / 0.45); }
.stop-card__progress i[data-now] { background: var(--c-action); }
.stop-card--intro .stop-card__title { font-size: clamp(32px, 3.6vw, 52px); }
.stop-card__what { color: var(--c-text-2); font-size: 16.5px; line-height: 1.5; }
.stop-card__block { display: grid; gap: 10px; padding-block-start: 14px; border-block-start: 1px solid rgb(125 22 63 / 0.1); transition: opacity 450ms var(--ease-out), translate 500ms var(--ease-out); }
.stop-card__block h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.stop-card__can { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stop-card__can li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.35; }
.stop-card__can svg { flex: none; inline-size: 20px; block-size: 20px; padding: 2px; border-radius: 50%; background: var(--c-action); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.stop-card__gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stop-card__gets li { display: grid; gap: 8px; align-content: start; padding: 12px 10px; border-radius: 16px; background: color-mix(in srgb, var(--zone-c, var(--c-pink)) 35%, #fff); font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.stop-card__icon { display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; background: #fff; }
.stop-card__icon svg { inline-size: 18px; block-size: 18px; fill: none; stroke: var(--c-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stop-card > .btn { justify-self: start; }
.stop-card__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.stop-card__facts li { padding: 12px 14px; border-radius: 16px; background: var(--c-canvas); font-weight: var(--fw-bold); line-height: 1.3; }
.stop-card__brand { margin: 0; }
.stop-card__packages { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--pkg { cursor: pointer; background: var(--c-pink); font-weight: var(--fw-bold); }
.chip--pkg:hover { background: var(--c-action); color: #fff; }
.stop-card__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.tour__scroll, .tour__explore { display: none; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.tour__scroll::after { content: " ↓"; display: inline-block; animation: nudge 1.6s var(--ease-out) infinite; }

/* Live: the venue stays on screen while the stops scroll over it */
.tour.is-live { display: grid; grid-template-columns: minmax(0, 1fr); background: #22060f; }
.tour.is-live > .tour__stage, .tour.is-live > .tour__stops { grid-area: 1 / 1; }
.tour.is-live .tour__stage {
  display: block; position: sticky; inset-block-start: 0; align-self: start; block-size: 100svh; overflow: clip;
  background: radial-gradient(110% 85% at 62% 58%, #7a2050 0%, #3a0b20 55%, #1d0410 100%);
}
.tour__canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; touch-action: pan-y; }
.tour__stage[data-exploring] .tour__canvas { cursor: grab; }
.tour.is-live .tour__stops { position: relative; z-index: 2; gap: 0; margin: 0; pointer-events: none; }
.tour.is-live .tour__stop { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; block-size: 100svh; padding: calc(var(--header-h) + 20px) clamp(16px, 4vw, 56px) 24px; background: none; border-radius: 0; }
.tour.is-live .tour__fallback { display: none; }
/* Frosted glass over the venue: the model shows through, blurred; the text keeps its contrast (≥ 4.5:1) because the
   glass stays mostly white and the blur flattens whatever is behind it. Inner tiles are glass too, tinted by the zone. */
.tour.is-live .stop-card {
  max-inline-size: 450px; max-block-size: calc(100svh - var(--header-h) - 44px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(22px, 2.2vw, 30px); border-radius: 26px;
  border: 1px solid rgb(255 255 255 / 0.65); border-block-start: 5px solid var(--zone-c, var(--c-action));
  background:
    radial-gradient(120% 70% at 0% 0%, rgb(255 255 255 / 0.55), transparent 60%),
    linear-gradient(160deg, rgb(255 255 255 / 0.86), rgb(255 238 245 / 0.76));
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.9), inset 0 0 0 1px rgb(255 255 255 / 0.25);
  pointer-events: auto;
}
.tour.is-live .stop-card__gets li { background: color-mix(in srgb, var(--zone-c, var(--c-pink)) 40%, rgb(255 255 255 / 0.45)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
.tour.is-live .stop-card__facts li { background: rgb(255 255 255 / 0.5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7); }
.tour.is-live .stop-card__icon { background: rgb(255 255 255 / 0.85); }
.tour.is-live .stop-card__block { border-block-start-color: rgb(125 22 63 / 0.14); }
.tour.is-live .stop-card .field__control { background: rgb(255 255 255 / 0.75); }
/* browsers without backdrop blur: plain white, so the text never sits on a busy, unblurred scene */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .tour.is-live .stop-card { background: rgb(255 255 255 / 0.96); } }
@media (max-width: 800px), (pointer: coarse) {
  /* phones: a lighter blur and a more solid glass (a big blur over a moving 3D scene costs a lot of GPU time there) */
  .tour.is-live .stop-card { background: linear-gradient(160deg, rgb(255 255 255 / 0.93), rgb(255 240 246 / 0.88)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .tour__themes { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgb(255 255 255 / 0.9); }
  body[data-page="event"] :is(.site-header__logo, .site-nav, .site-header__actions) { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
.tour.is-live .tour__scroll, .tour.is-live .tour__explore { display: block; color: var(--c-text-2); }
/* one world per screen: the card arrives with its world */
.tour.is-live .stop-card { opacity: 0; translate: 0 18px; transition: opacity 500ms var(--ease-out) 250ms, translate 600ms var(--ease-out) 250ms; }
.tour.is-live .tour__stop[data-active] .stop-card { opacity: 1; translate: 0 0; }

/* Stage furniture: zone labels, mini floor plan, stop rail */
.tour__labels button {
  will-change: transform;
  position: absolute; inset-block-start: 0; left: 0; translate: -50% -50%; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 0; border-radius: var(--radius-pill);
  background: #fff; color: var(--c-text); font: var(--fw-bold) 12px/1.3 var(--font); white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.6); transition: opacity 150ms var(--ease-out), padding 200ms var(--ease-out);
}
.tour__labels button::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--zone-c); box-shadow: 0 0 0 1px rgb(125 22 63 / 0.25); }
.tour__labels button[data-hidden] { opacity: 0; pointer-events: none; }
.tour__labels button[data-current] { padding: 8px 16px; background: var(--c-action); color: #fff; font-size: 14px; }
.tour__stage:not([data-exploring]) .tour__labels button { pointer-events: none; }
/* Moments: what happens at the stop on show, popping up over the spot where it happens (a little speech bubble) */
.tour__moment, .tour__ping {
  will-change: translate, opacity;
  position: absolute; inset-block-start: 0; left: 0; z-index: 1; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 14px;
  background: #fff; color: var(--c-text); font: var(--fw-bold) 12.5px/1.25 var(--font); white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.65), inset 0 -3px 0 color-mix(in srgb, var(--zone-c, var(--c-pink)) 70%, #fff);
  /* placed by tour3d.js through `translate` (never transform: the scale below must grow the bubble where it stands) */
  transition: opacity 160ms var(--ease-out), scale 160ms var(--ease-out);
}
.tour__moment::before, .tour__ping::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--zone-c, var(--c-pink)); box-shadow: 0 0 0 1px rgb(125 22 63 / 0.25); }
.tour__moment::after, .tour__ping::after { /* the tail, pointing at the spot */
  content: ""; position: absolute; left: 50%; inset-block-end: -6px; inline-size: 12px; block-size: 12px; translate: -50% 0; rotate: 45deg;
  background: #fff; border-radius: 0 0 3px 0; z-index: -1;
}
.tour__moment[data-hidden], .tour__moment[data-off], .tour__ping[data-hidden] { opacity: 0; scale: 0.92; }
/* what a click names (a vendor, a world) */
.tour__ping { --zone-c: var(--c-pink); }
@media (prefers-reduced-motion: reduce) { :is(.tour__moment, .tour__ping) { transition: none; } }
/* Themed days: one pill of icons at the bottom of the map (where the stop rail used to be); a click dresses the whole
   venue for that day (themes3d.js). Phones: across the top, under the header. */
.tour__themes {
  position: absolute; z-index: 3; inset-block-end: 22px; inset-inline-end: clamp(16px, 3vw, 40px); max-inline-size: calc(100% - 32px);
  display: flex; align-items: center; gap: 3px; padding: 5px 5px 5px 14px; border-radius: var(--radius-pill); overflow-x: auto; scrollbar-width: none;
  background: rgb(255 255 255 / 0.8); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.7);
}
[dir="rtl"] .tour__themes { padding: 5px 14px 5px 5px; }
.tour__themes-title { flex: none; margin-inline-end: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); white-space: nowrap; }
.tour__theme {
  flex: none; display: grid; place-items: center; inline-size: 38px; block-size: 38px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--c-text); cursor: pointer; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), scale 200ms var(--ease-out);
}
.tour__theme svg { inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tour__theme:hover { background: rgb(125 22 63 / 0.08); }
.tour__theme:focus-visible { outline: 2px solid var(--c-action); outline-offset: 2px; }
.tour__theme[aria-pressed="true"] { background: var(--c-action); color: #fff; scale: 1.06; }
@media (max-width: 1100px) and (min-width: 801px) { .tour__theme { inline-size: 34px; block-size: 34px; } }
/* the one button, icon only: each click moves on to the next themed day (its name is in the tooltip) */
.tour__themes:has(.tour__theme-next) { padding: 5px; }
.tour__theme-next {
  display: grid; place-items: center; inline-size: 48px; block-size: 48px; padding: 0; border: 0; border-radius: 50%;
  background: #ffa6c9; color: #7d163f; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); transition: scale 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.tour__theme-next:hover { background: #ff97bf; }
.tour__theme-next:active { scale: 0.92; }
.tour__theme-next:focus-visible { outline: 2px solid var(--c-action); outline-offset: 3px; }
.tour__theme-next svg { inline-size: 24px; block-size: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tour__theme-next svg[hidden] { display: none; }
/* a click: the next theme's icon spins in from small, then settles */
.tour__theme-next.is-switching svg:not([hidden]) { animation: theme-pop 480ms var(--ease-out); }
@keyframes theme-pop { 0% { transform: scale(0.2) rotate(-120deg); opacity: 0; } 60% { transform: scale(1.18) rotate(12deg); opacity: 1; } 100% { transform: none; } }
/* a few soft sparks drift off the button now and then, a hint that it can be pressed */
.tour__themes:has(.tour__theme-next) { overflow: visible; }
.tour__theme-sparks { position: absolute; inset: 5px; pointer-events: none; }
.tour__theme-sparks i {
  position: absolute; z-index: 1; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 11px; block-size: 11px; margin: -5.5px; opacity: 0;
  background: var(--c); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 2px rgb(255 255 255 / 0.9)); animation: theme-spark 4.2s var(--ease-out) var(--d) infinite;
}
@keyframes theme-spark {
  0% { opacity: 0; transform: rotate(var(--a)) translateX(24px) scale(0.4); }
  8% { opacity: 1; }
  20% { opacity: 0.8; }
  32% { opacity: 0; transform: rotate(var(--a)) translateX(54px) scale(1) rotate(120deg); }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(54px) scale(1); }
}
[dir="rtl"] .tour__theme-sparks { scale: -1 1; }
@media (max-width: 800px) { .tour__theme-sparks { scale: 1 -1; } [dir="rtl"] .tour__theme-sparks { scale: -1 -1; } } /* phones: the button is at the top, so they drift down */
@media (prefers-reduced-motion: reduce) { .tour__theme-sparks { display: none; } }
@media (max-width: 800px) { .tour__theme-next { inline-size: 42px; block-size: 42px; } }
@media (max-width: 800px) {
  .tour__themes { inset-block: calc(var(--header-h) + 8px) auto; inset-inline: auto 8px; padding: 3px; }
  .tour__themes-title { display: none; }
  .tour__theme { inline-size: 34px; block-size: 34px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .tour__themes { background: rgb(255 255 255 / 0.96); } }
/* Phones: each chapter card is a compact sheet, so more of it reads at a glance before scrolling inside it */
@media (max-width: 800px) {
  .tour.is-live .stop-card { gap: 10px; padding: 16px 16px 18px; }
  .tour .stop-card__head { gap: 10px; }
  .tour .stop-card__num { font-size: 34px; }
  .tour .stop-card__title, .tour .stop-card--intro .stop-card__title { font-size: 26px; line-height: 1.08; }
  .tour .stop-card__what { font-size: 14.5px; line-height: 1.45; }
  .tour .stop-card__block { gap: 8px; padding-block-start: 10px; }
  .tour .stop-card__can li { font-size: 14px; }
  .tour .stop-card__gets li { padding: 8px 10px; font-size: 13px; }
  .tour .stop-card__icon { inline-size: 28px; block-size: 28px; }
  .tour .stop-card__facts { gap: 6px; }
  .tour .stop-card__facts li { padding: 8px 10px; font-size: 13px; border-radius: 12px; }
}
/* the room behind the venue takes the day's colour too */
.tour.is-live .tour__stage[data-theme="kpop"] { background: radial-gradient(110% 85% at 62% 58%, #4a1f8f 0%, #1c0a45 55%, #09031c 100%); }
.tour.is-live .tour__stage[data-theme="movie"] { background: radial-gradient(110% 85% at 62% 58%, #23305e 0%, #0e1430 55%, #05070f 100%); }
.tour.is-live .tour__stage[data-theme="henna"] { background: radial-gradient(110% 85% at 62% 58%, #7a4420 0%, #3a1d0c 55%, #1a0c05 100%); }
.tour.is-live .tour__stage[data-theme="princess"] { background: radial-gradient(110% 85% at 62% 58%, #8a4fa8 0%, #4a1f63 55%, #220c33 100%); }
.tour.is-live .tour__stage[data-theme="pajama"] { background: radial-gradient(110% 85% at 62% 58%, #3a3f8f 0%, #1a1d4a 55%, #0a0c24 100%); }
.tour.is-live .tour__stage[data-theme="japan"] { background: radial-gradient(110% 85% at 62% 58%, #a33a55 0%, #5a1a2c 55%, #2a0b14 100%); }
.tour.is-live .tour__stage[data-theme="camping"] { background: radial-gradient(110% 85% at 62% 58%, #24456b 0%, #0e2036 55%, #050c16 100%); }
.tour.is-live .tour__stage[data-theme="horror"] { background: radial-gradient(110% 85% at 62% 58%, #2f3a33 0%, #121815 55%, #060807 100%); }
.tour.is-live .tour__stage[data-theme="gaming"] { background: radial-gradient(110% 85% at 62% 58%, #1f2a7a 0%, #0a0d36 55%, #03041a 100%); }
.tour.is-live .tour__stage[data-theme="anime"] { background: radial-gradient(110% 85% at 62% 58%, #8a3f9a 0%, #3f1a5a 55%, #1c0a2c 100%); }
.tour.is-live .tour__stage[data-theme="padel"] { background: radial-gradient(110% 85% at 62% 58%, #3f8fd0 0%, #1f5a8f 55%, #0c2a4a 100%); }
.tour.is-live .tour__stage[data-theme="football"] { background: radial-gradient(110% 85% at 62% 58%, #1f5a3a 0%, #0c2a1c 55%, #050f0a 100%); }
.tour.is-live .tour__stage[data-theme="space"] { background: radial-gradient(110% 85% at 62% 58%, #3a1f7a 0%, #14093a 55%, #03020f 100%); }
.tour.is-live .tour__stage[data-theme="ocean"] { background: radial-gradient(110% 85% at 62% 58%, #1f7a8f 0%, #0a3a4a 55%, #031a24 100%); }
.tour.is-live .tour__stage[data-theme="disco"] { background: radial-gradient(110% 85% at 62% 58%, #8f1f6a 0%, #3f0a3a 55%, #1a0418 100%); }
.tour.is-live .tour__stage[data-theme="garden"] { background: radial-gradient(110% 85% at 62% 58%, #c97a6a 0%, #7a3f4a 55%, #3a1a24 100%); }
.tour.is-live .tour__stage[data-theme="winter"] { background: radial-gradient(110% 85% at 62% 58%, #3f6a9a 0%, #1a3058 55%, #0a1428 100%); }
.tour.is-live .tour__stage[data-theme="candy"] { background: radial-gradient(110% 85% at 62% 58%, #a34f8f 0%, #5a1f52 55%, #2a0a26 100%); }
.tour.is-live .tour__stage[data-theme="art"] { background: radial-gradient(110% 85% at 62% 58%, #8a5a7a 0%, #4a2a4a 55%, #24121e 100%); }
.tour.is-live .tour__stage[data-theme="fashion"] { background: radial-gradient(110% 85% at 62% 58%, #4a3a44 0%, #1e161c 55%, #0a0709 100%); }
.tour.is-live .tour__stage[data-theme="science"] { background: radial-gradient(110% 85% at 62% 58%, #1f6a5a 0%, #0a3030 55%, #031414 100%); }
.tour.is-live .tour__stage[data-theme="books"] { background: radial-gradient(110% 85% at 62% 58%, #7a4a2a 0%, #3a2214 55%, #1a0e08 100%); }
.tour.is-live .tour__stage[data-theme="bake"] { background: radial-gradient(110% 85% at 62% 58%, #8a4a4a 0%, #4a2222 55%, #220e0e 100%); }
.tour.is-live .tour__stage[data-theme="wellness"] { background: radial-gradient(110% 85% at 62% 58%, #4a7a6a 0%, #24443a 55%, #0e201a 100%); }
.tour.is-live .tour__stage[data-theme="travel"] { background: radial-gradient(110% 85% at 62% 58%, #3f8fd0 0%, #1f5a8f 55%, #0c2a4a 100%); }
.tour.is-live .tour__stage[data-theme="tech"] { background: radial-gradient(110% 85% at 62% 58%, #1f4a7a 0%, #0a1e3a 55%, #030a18 100%); }
.tour.is-live .tour__stage[data-theme="safari"] { background: radial-gradient(110% 85% at 62% 58%, #a35a2a 0%, #5a2e14 55%, #2a1408 100%); }
.tour.is-live .tour__stage[data-theme="carnival"] { background: radial-gradient(110% 85% at 62% 58%, #7a1f4a 0%, #3a0e2a 55%, #1a0614 100%); }
.tour__plan {
  position: absolute; z-index: 3; inset-block-start: calc(var(--header-h) + 20px); inset-inline-end: clamp(16px, 3vw, 40px); inline-size: 160px;
  padding: 8px; border-radius: 18px; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.6);
}
.tour__plan-svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.tour__plan-building { fill: #fff5f8; stroke: rgb(125 22 63 / 0.25); stroke-width: 0.4; }
.tour__plan-svg rect[data-plan-zone] { opacity: 0.45; stroke: #fff; stroke-width: 0.35; cursor: pointer; transition: opacity 300ms; }
.tour__plan-svg rect[data-plan-zone]:hover { opacity: 0.8; }
.tour__plan-svg rect[data-on] { opacity: 1; stroke: var(--c-action); stroke-width: 0.9; }
/* the route: a trail of soft dots strolling along a faint pink band, arrows in and out */
.tour__plan-road { fill: none; stroke: rgb(255 61 139 / 0.12); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tour__plan-loop { fill: none; stroke: var(--c-action); stroke-width: 0.8; stroke-linecap: round; stroke-dasharray: 0.01 1.7; opacity: 0.8; animation: plan-march 2.4s linear infinite; }
@keyframes plan-march { to { stroke-dashoffset: -1.71; } }
.tour__plan-arrow { fill: none; stroke: var(--c-action); stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.tour__plan-dot { fill: var(--c-action); }
.tour__plan-pulse { fill: rgb(223 0 76 / 0.3); transform-box: fill-box; transform-origin: center; animation: plan-pulse 1.6s var(--ease-out) infinite; }
@keyframes plan-pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 1100px) and (min-width: 801px) { .tour__plan { inline-size: 170px; } .tour.is-live .stop-card { max-inline-size: 400px; } }
/* Phones: the venue fills the screen, the card is a sheet at the bottom (scrolls inside if it is long) */
@media (max-width: 800px) {
  .tour.is-live .tour__stop { justify-content: flex-end; align-items: stretch; padding: calc(var(--header-h) + 56px) 10px calc(10px + env(safe-area-inset-bottom)); } /* the card sits at the very bottom */
  .tour.is-live .stop-card { max-inline-size: none; max-block-size: 50svh; padding: 18px; border-radius: 22px; }
  .tour__plan { display: none; }
  .tour__labels button[data-current] { padding: 6px 12px; font-size: 13px; }
  :is(.tour__moment, .tour__ping) { padding: 4px 9px; font-size: 11px; }
  .stop-card__num { font-size: 40px; }
  .stop-card__title { font-size: 30px; }
}
@media (max-width: 420px) {
  .stop-card__gets { grid-template-columns: 1fr; }
  .stop-card__gets li { grid-template-columns: auto 1fr; align-items: center; }
  .stop-card__facts { grid-template-columns: 1fr 1fr; }
}

/* Event hero: the brand name first, the venue model as the picture */
.page-hero__brand { max-inline-size: 420px; margin-block: var(--space-2) var(--space-3); }
.page-hero__brand .field__control { font-size: 18px; font-weight: var(--fw-bold); }
.page-hero__media--venue img { aspect-ratio: 4 / 3; object-fit: cover; background: #3a0b20; }
.package__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: auto; }
.package__actions .btn { margin: 0; }

/* Details heading on track pages */
.track:not(.track--hero) > .container > .section-head { margin-block-end: var(--space-6); }
.walk:not(.is-live) .eyebrow--white { background: var(--c-butter); }

/* Desktop, short screens: a card that would not fit (tour.js sets data-tight) shows its short version and a "Details"
   button, so it never becomes a scrolling box that catches the scroll meant for the tour */
@media (min-width: 801px) {
  .tour.is-live .stop-card[data-tight]:not([data-open]) :is(.stop-card__block, .stop-card__facts, .stop-card__packages, .tour__scroll, .tour__explore) { display: none; }
  .tour.is-live .stop-card[data-tight] { position: relative; }
  .tour.is-live .stop-card[data-tight] .stop-card__head, .tour.is-live .stop-card[data-tight] > .eyebrow { padding-inline-end: 96px; }
  .tour.is-live .stop-card[data-tight] .stop-card__more {
    display: inline-flex; align-items: center; position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-end: 14px;
    min-block-size: 32px; padding: 4px 14px; border: 0; border-radius: var(--radius-pill);
    background: var(--c-action); color: #fff; font: var(--fw-bold) 13px/1 var(--font); cursor: pointer;
  }
  .tour.is-live .stop-card[data-tight] .stop-card__more span + span, .stop-card[data-tight][data-open] .stop-card__more span:first-child { display: none; }
  .stop-card[data-tight][data-open] .stop-card__more span + span { display: inline; }
}

/* Phones: the chapter card is a compact sheet, a quarter of the screen at most, so the venue stays the star. It shows
   the chapter, its title and two lines; "Details" opens the rest (it scrolls inside, and closes on the next chapter). */
.stop-card__more { display: none; }
@media (max-width: 800px) {
  .tour.is-live .stop-card { position: relative; max-block-size: min(25svh, 230px); overflow: hidden; gap: 6px; padding: 12px 14px 14px; border-radius: 20px; }
  .tour.is-live .stop-card[data-open] { max-block-size: 62svh; overflow: auto; }
  .tour.is-live .stop-card:not([data-open]) :is(.stop-card__block, .stop-card > .btn, .stop-card__facts, .stop-card__brand, .tour__scroll, .tour__explore, .stop-card__packages, .stop-card__cta) { display: none; }
  .tour.is-live .stop-card:not([data-open]) .stop-card__what { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .tour .stop-card__head { gap: 8px; padding-inline-end: 84px; }
  .tour .stop-card__num { font-size: 26px; }
  .tour .stop-card__of { font-size: 10.5px; }
  .tour .stop-card__tag { font-size: 13px; }
  .tour .stop-card__title, .tour .stop-card--intro .stop-card__title { font-size: 21px; line-height: 1.1; }
  .tour .stop-card__what { font-size: 13.5px; line-height: 1.4; }
  .tour .stop-card .eyebrow { margin-inline-end: 84px; }
  .stop-card__more {
    display: inline-flex; align-items: center; position: absolute; z-index: 1; inset-block-start: 10px; inset-inline-end: 10px;
    min-block-size: 30px; padding: 4px 12px; border: 0; border-radius: var(--radius-pill);
    background: var(--c-action); color: #fff; font: var(--fw-bold) 12px/1 var(--font); cursor: pointer;
  }
  .stop-card__more span + span, .stop-card[data-open] .stop-card__more span:first-child { display: none; }
  .stop-card[data-open] .stop-card__more span + span { display: inline; }
}

/* Loading: until the 3D venue has drawn, the hero film plays (its poster first) with the worlds cycling on it.
   tour3d.js marks the stage data-ready; the loader then fades away and the film is stopped. */
.tour__loader { display: none; }
.tour.is-live .tour__loader {
  display: block; position: absolute; inset: 0; z-index: 4; overflow: hidden; background: #1a0712; /* above the venue's labels */
  transition: opacity 800ms var(--ease-out), visibility 0s linear 800ms;
}
.tour__stage[data-ready] .tour__loader { opacity: 0; visibility: hidden; }
.tour__loader-poster, .tour__loader-film { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.tour__loader-film { opacity: 0; transition: opacity 600ms var(--ease-out); }
.tour__loader-film[data-playing] { opacity: 1; }
.tour__loader::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 60% 50%, rgb(26 7 18 / 0.25), rgb(26 7 18 / 0.72)); }
.tour__loader-worlds {
  position: absolute; z-index: 1; inset-block: 0; inset-inline: calc(clamp(16px, 4vw, 56px) + 450px) 0;
  display: grid; place-items: center; pointer-events: none;
}
.tour__loader-worlds span {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.35em;
  color: #fff; font: 800 clamp(34px, 5.6vw, 84px) / 1 var(--font); letter-spacing: -0.01em; text-shadow: 0 6px 30px rgb(0 0 0 / 0.45);
  opacity: 0; animation: tour-world calc(var(--n) * 1.4s) var(--ease-out) infinite; animation-delay: calc(var(--i) * 1.4s);
}
.tour__loader-worlds span::before { content: ""; inline-size: 0.32em; block-size: 0.32em; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgb(255 255 255 / 0.85); }
@keyframes tour-world {
  0% { opacity: 0; transform: translateY(22px) scale(0.96); }
  3% { opacity: 1; transform: none; }
  11% { opacity: 1; transform: none; }
  14.3% { opacity: 0; transform: translateY(-18px) scale(1.02); }
  100% { opacity: 0; }
}
.tour__loader-note {
  position: absolute; z-index: 1; inset-block-end: 28px; inset-inline: calc(clamp(16px, 4vw, 56px) + 450px) 0; margin: 0;
  display: grid; justify-items: center; gap: 10px; color: rgb(255 255 255 / 0.85); font: 700 13px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase;
}
.tour__loader-note i { inline-size: 120px; block-size: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, #ff8fb8, transparent) 0 0 / 50% 100% no-repeat, rgb(255 255 255 / 0.2); animation: tour-loading 1.4s linear infinite; }
@keyframes tour-loading { from { background-position: -60px 0, 0 0; } to { background-position: 120px 0, 0 0; } }
/* the floor plan and the theme bar wait for the venue */
.tour.is-live .tour__stage:not([data-ready]) :is(.tour__plan, .tour__themes) { opacity: 0; pointer-events: none; }
.tour.is-live .tour__stage :is(.tour__plan, .tour__themes) { transition: opacity 600ms var(--ease-out) 300ms; }
@media (max-width: 1100px) and (min-width: 801px) { .tour__loader-worlds, .tour__loader-note { inset-inline-start: calc(clamp(16px, 4vw, 56px) + 400px); } }
@media (max-width: 800px) {
  /* phones: the card is a small sheet at the bottom; the worlds cycle in the space above it */
  .tour__loader-worlds { inset-inline: 0; inset-block: calc(var(--header-h) + 50px) 32%; }
  .tour__loader-worlds span { font-size: clamp(30px, 9vw, 44px); }
  .tour__loader-note { inset-inline: 0; inset-block-end: auto; inset-block-start: 58%; }
}
@media (prefers-reduced-motion: reduce) {
  .tour__loader-worlds span { animation: none; }
  .tour__loader-worlds span:first-child { opacity: 1; }
  .tour__loader-note i { animation: none; }
}
html[data-motion="off"] .tour__loader-worlds span { animation: none; }
html[data-motion="off"] .tour__loader-worlds span:first-child { opacity: 1; }

/* =========================================================================
   One booking / one order, three views (loop.js; content in src/loop-<track>.json).
   The tour's night and glass, brought to the app pages: one record, three frosted cards that change together.
   ========================================================================= */
.loop {
  --block-bg: radial-gradient(110% 80% at 50% 38%, #7a2050 0%, #3a0b20 58%, #1d0410 100%);
  color: #fff; isolation: isolate;
}
/* soft lights behind the glass, so the blur has something to catch */
.loop::before, .loop::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.55; pointer-events: none; }
.loop::before { inline-size: 42%; aspect-ratio: 1; inset-block-start: 30%; inset-inline-start: 4%; background: #ff5f9a; }
.loop::after { inline-size: 36%; aspect-ratio: 1; inset-block-start: 42%; inset-inline-end: 4%; background: var(--loop-glow, #9b7bff); }
.loop--shop { --loop-glow: #ff9d6b; }
.loop .section-head h2 { color: #fff; }
.loop .eyebrow { color: var(--c-text); }
.loop .section-head .t-lead { color: rgb(255 228 238 / 0.88); }
.loop__stage { position: relative; display: grid; gap: clamp(18px, 2.4vw, 28px); }

/* no script: who sees what, as a plain list */
.loop__fallback { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; padding: 0; list-style: none; }
.loop__fallback li, .loop__changes li { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-radius: 20px; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.loop__fallback span, .loop__changes span { font-size: 14.5px; line-height: 1.5; color: rgb(255 228 238 / 0.85); }

/* Controls: frosted pills, like the theme bar on the map */
.loop__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.loop__seg, .loop__ctrl {
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.84); color: var(--c-text);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(255 255 255 / 0.7);
}
.loop__seg-label { padding-inline: 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); white-space: nowrap; }
.loop__opt, .loop__btn {
  display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--c-text); font: var(--fw-bold) 14px/1.2 var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-micro), color var(--t-micro);
}
.loop__opt:hover, .loop__btn:hover { background: rgb(125 22 63 / 0.08); }
.loop__opt[aria-pressed="true"], .loop__btn[aria-pressed="true"] { background: var(--c-action); color: #fff; }
.loop__btn svg { inline-size: 16px; block-size: 16px; fill: currentColor; }
.loop__btn--next { padding: 0; inline-size: 40px; justify-content: center; }
.loop__btn--next svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .loop__btn--next svg { transform: scaleX(-1); }

/* The steps: one line, filled up to where the record is */
.loop__steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.loop__steps::before, .loop__steps::after { content: ""; position: absolute; inset-block-start: 16px; inset-inline-start: calc(100% / 12); block-size: 3px; border-radius: 2px; }
.loop__steps::before { inline-size: calc(100% - 100% / 6); background: rgb(255 255 255 / 0.18); }
.loop__steps::after { inline-size: calc((100% - 100% / 6) * var(--p)); background: linear-gradient(90deg, #ff8fb8, var(--c-action)); transition: inline-size 600ms var(--ease-out); }
[dir="rtl"] .loop__steps::after { background: linear-gradient(-90deg, #ff8fb8, var(--c-action)); }
.loop__steps button {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; inline-size: 100%; padding: 0 4px; border: 0;
  background: none; color: rgb(255 228 238 / 0.8); font: var(--fw-bold) 13px/1.25 var(--font); text-align: center; cursor: pointer;
}
.loop__steps i {
  display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; font-style: normal; font-size: 13px;
  background: #3a0b20; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.35); color: #fff;
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), scale 300ms var(--ease-pop);
}
.loop__steps button:hover i { box-shadow: inset 0 0 0 2px #fff; }
.loop__steps button[data-done] i { background: #ff8fb8; box-shadow: none; color: var(--c-text); }
.loop__steps button[aria-current] { color: #fff; }
.loop__steps button[aria-current] i { background: var(--c-action); box-shadow: 0 0 0 6px rgb(223 0 76 / 0.3); scale: 1.12; }

/* The three cards: frosted glass, as on the tour */
.loop__cards { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); align-items: stretch; }
.loop__thread { position: absolute; z-index: -1; inset-inline: 8%; inset-block-start: 46px; block-size: 2px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.45) 0 8px, transparent 8px 16px); }
.loop__thread::after { content: ""; position: absolute; inset-block-start: -5px; inset-inline-start: 0; inline-size: 12px; block-size: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px 4px #ff8fb8; opacity: 0; }
.loop__cards[data-pulse] .loop__thread::after { animation: loop-thread 900ms var(--ease-out); }
@keyframes loop-thread { 0% { inset-inline-start: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { inset-inline-start: calc(100% - 12px); opacity: 0; } }
.loop-card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 1.8vw, 24px); border-radius: 26px; color: var(--c-text); cursor: pointer;
  border: 1px solid rgb(255 255 255 / 0.65); border-block-start: 5px solid var(--view-c);
  background:
    radial-gradient(120% 70% at 0% 0%, rgb(255 255 255 / 0.55), transparent 60%),
    linear-gradient(160deg, rgb(255 255 255 / 0.88), rgb(255 238 245 / 0.8));
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.9);
  transition: translate 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.loop-card[data-on] { translate: 0 -8px; box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.75), 0 0 0 3px var(--view-c), inset 0 1px 0 rgb(255 255 255 / 0.9); }
.loop-card__head { display: flex; align-items: center; gap: 10px; }
.loop-card__icon { flex: none; display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 50%; background: var(--view-c); }
.loop-card__icon svg { inline-size: 20px; block-size: 20px; fill: none; stroke: var(--c-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loop-card__who { display: grid; min-inline-size: 0; }
.loop-card__who b { font-size: 17px; line-height: 1.2; }
.loop-card__who small { font-size: 12.5px; color: var(--c-text-2); }
.loop-card__status { margin-inline-start: auto; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--c-action); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.loop-card__rec { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / 0.55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.8); }
.loop-card__id { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.loop-card__facts { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: var(--fw-medium); line-height: 1.4; }
.loop-card__facts li { display: flex; align-items: baseline; gap: 8px; }
.loop-card__facts li::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--c-action); translate: 0 -2px; }
.loop-card__msg { display: grid; gap: 4px; align-content: start; min-block-size: 112px; padding: 14px 16px; border-radius: 18px; background: color-mix(in srgb, var(--view-c) 55%, rgb(255 255 255 / 0.5)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
.loop-card__msg b { font-size: 18px; line-height: 1.25; }
.loop-card__msg p { font-size: 14.5px; line-height: 1.45; color: var(--c-text-2); }
.loop-card__msg[data-flash] { animation: loop-flash 700ms var(--ease-out); }
@keyframes loop-flash { 0% { scale: 0.97; box-shadow: 0 0 0 0 rgb(223 0 76 / 0.5), inset 0 0 0 1px rgb(255 255 255 / 0.6); } 70% { scale: 1.01; box-shadow: 0 0 0 10px rgb(223 0 76 / 0), inset 0 0 0 1px rgb(255 255 255 / 0.6); } 100% { scale: 1; } }
.loop-card__acts { display: flex; flex-wrap: wrap; gap: 6px; min-block-size: 30px; }
.loop-card__act { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.85); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 13px; font-weight: var(--fw-bold); }
.loop-card__act:first-child { background: var(--c-action); color: #fff; box-shadow: none; }
.loop-card__foot { margin-block-start: auto; padding-block-start: 10px; border-block-start: 1px solid rgb(125 22 63 / 0.12); font-size: 12.5px; color: var(--c-text-2); }
/* a view this booking doesn't involve (a partner, for an at-home visit): quieter, and it says why */
.loop-card[data-idle] { background: linear-gradient(160deg, rgb(255 255 255 / 0.72), rgb(255 238 245 / 0.62)); }
.loop-card[data-idle] .loop-card__status { background: rgb(125 22 63 / 0.12); color: var(--c-text); }
.loop-card[data-idle] .loop-card__msg { background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.55) 0 10px, rgb(255 255 255 / 0.35) 10px 20px); box-shadow: inset 0 0 0 1.5px rgb(125 22 63 / 0.18); }
.loop-card[data-idle] .loop-card__rec { opacity: 0.6; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .loop-card { background: rgb(255 255 255 / 0.96); } }

.loop__caption { max-inline-size: 760px; justify-self: center; text-align: center; font-size: 16.5px; line-height: 1.6; color: rgb(255 228 238 / 0.9); }
.loop__caption b { color: #fff; }
.loop__concept { position: static; justify-self: center; color: var(--c-text); }
.loop__changes-title { margin-block: clamp(36px, 5vw, 56px) 16px; font-size: var(--fs-h3); text-align: center; color: #fff; }
.loop__changes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.loop__changes b { font-size: 16px; }

@media (max-width: 900px) {
  /* one card at a time: the "who's looking" switch picks it */
  .loop__cards { grid-template-columns: minmax(0, 1fr); max-inline-size: 460px; justify-self: center; inline-size: 100%; }
  .loop-card:not([data-on]), .loop__thread { display: none; }
  .loop-card[data-on] { translate: none; }
  .loop__changes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .loop__seg-label { display: none; }
  .loop__opt { padding: 0 12px; font-size: 13.5px; }
  .loop__steps button { font-size: 12px; padding: 0 1px; white-space: nowrap; }
  .loop__steps button:not([aria-current]) span { visibility: hidden; } /* only the step on show is named (the card's pill names it too) */
  .loop__steps i { inline-size: 28px; block-size: 28px; }
  .loop__steps::before, .loop__steps::after { inset-block-start: 13px; }
  .loop__changes { grid-template-columns: minmax(0, 1fr); }
  .loop-card__msg { min-block-size: 0; }
}
@media (max-width: 800px), (pointer: coarse) { .loop-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
@media (prefers-reduced-motion: reduce) { .loop-card__msg[data-flash], .loop__cards[data-pulse] .loop__thread::after { animation: none; } }
html[data-motion="off"] :is(.loop-card__msg[data-flash], .loop__cards[data-pulse] .loop__thread::after) { animation: none; }

/* =========================================================================
   App partner page that opens on a stage (tools/apptour_markup.py + journey.js), the way the event page opens on
   the venue: a night-lit photo, her booking on a big phone, bubbles for her side and the partner's side, a route of
   the steps, and one frosted glass card per step (the tour's stop-card).
   ========================================================================= */
body:has(.atour) .site-header { position: fixed; inset-inline: 0; }
.atour { position: relative; background: #1a0712; }
.atour .walk__skip { position: absolute; inset-block-start: var(--space-4); inset-inline-start: var(--space-4); z-index: 5; }
.atour__stage { display: none; }
.atour__stops { margin: 0; padding: 0; list-style: none; }
.stop-card__title em { font-style: normal; color: var(--c-action); }
.atour__scroll { display: none; font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--c-text-2); }
.atour__scroll::after { content: " ↓"; display: inline-block; animation: nudge 1.6s var(--ease-out) infinite; }

/* no script: the steps as plain cards on the night background */
.atour:not(.is-live) .atour__stops { display: grid; gap: var(--block-gap); padding: calc(var(--header-h) + var(--space-4)) var(--gutter) var(--block-gap); }
.atour:not(.is-live) .stop-card { padding: var(--block-pad); border-radius: var(--radius-block); background: var(--c-surface); }

.atour.is-live { display: grid; grid-template-columns: minmax(0, 1fr); }
.atour.is-live > .atour__stage, .atour.is-live > .atour__stops { grid-area: 1 / 1; }
.atour.is-live .atour__stage { display: block; position: sticky; inset-block-start: 0; align-self: start; block-size: 100svh; overflow: clip; background: #1a0712; }

/* the backdrop: one photo per kind of step, slowly settling in, darkened like the event film */
.atour__bg { position: absolute; inset: 0; }
.atour__bg img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: 0; scale: 1.1; transition: opacity 1s var(--ease-out), scale 7s var(--ease-out); }
.atour__bg img[data-on] { opacity: 1; scale: 1.02; }
.atour__bg img { filter: saturate(0.9) contrast(1.05); }
.atour__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 68% 55%, rgb(255 61 139 / 0.16), transparent 70%),
    linear-gradient(90deg, rgb(26 7 18 / 0.9) 0%, rgb(26 7 18 / 0.66) 42%, rgb(26 7 18 / 0.6) 70%, rgb(26 7 18 / 0.8) 100%),
    linear-gradient(0deg, rgb(26 7 18 / 0.75), transparent 35%);
}
[dir="rtl"] .atour__bg::after {
  background:
    radial-gradient(45% 55% at 32% 55%, rgb(255 61 139 / 0.16), transparent 70%),
    linear-gradient(-90deg, rgb(26 7 18 / 0.9) 0%, rgb(26 7 18 / 0.66) 42%, rgb(26 7 18 / 0.6) 70%, rgb(26 7 18 / 0.8) 100%),
    linear-gradient(0deg, rgb(26 7 18 / 0.75), transparent 35%);
}

/* the scene: the phone, big and lit, leaning towards the pointer */
.atour__scene { position: absolute; z-index: 1; inset-block: calc(var(--header-h) + 12px) 28px; inset-inline: 40% 13%; display: grid; place-items: center; }
.atour__scene::before { /* the light it stands in */
  content: ""; position: absolute; inline-size: min(560px, 70%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 120 175 / 0.45), rgb(255 61 139 / 0.12) 45%, transparent 70%); filter: blur(10px);
}
.atour__scene::after { /* its shadow on the floor */
  content: ""; position: absolute; inset-block-end: 1%; inline-size: 34%; block-size: 28px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.55), transparent); filter: blur(6px);
}
.atour .phone {
  block-size: min(720px, calc(100svh - var(--header-h) - 70px)); border-radius: 14% / 6.6%;
  box-shadow:
    0 0 0 9px #14050c, 0 0 0 10.5px #9b5878, 0 0 0 12.5px #2a0d1b,
    0 70px 120px -40px rgb(0 0 0 / 0.85), 0 0 120px -20px rgb(255 61 139 / 0.55);
  transform: perspective(1600px) rotateY(calc((-11deg + var(--lx, 0) * 14deg) * var(--dir))) rotateX(calc(4deg - var(--ly, 0) * 8deg)) rotateZ(calc(1.2deg * var(--dir)));
  transition: transform 700ms var(--ease-out);
}
.atour .phone::after { /* glass glare */
  content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.2) 0%, rgb(255 255 255 / 0.05) 22%, transparent 34%, transparent 72%, rgb(255 255 255 / 0.07) 100%);
}
:root[data-motion="off"] .atour .phone { transform: perspective(1600px) rotateY(calc(-11deg * var(--dir))) rotateX(4deg); }
@media (prefers-reduced-motion: reduce) { .atour .phone { transform: perspective(1600px) rotateY(calc(-11deg * var(--dir))) rotateX(4deg); } }

/* bubbles: her side (white) and the partner's side (berry), fading in where they belong */
.atour__moments { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.atour__moment {
  position: absolute; inset-block-start: var(--y); inset-inline-start: var(--x); translate: calc(-50% * var(--dir)) -50%;
  display: grid; gap: 3px; padding: 9px 15px 11px; border-radius: 16px; white-space: nowrap;
  background: rgb(255 255 255 / 0.94); color: var(--c-text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px -18px rgb(0 0 0 / 0.75), inset 0 -3px 0 var(--c-pink);
  transition: opacity 160ms var(--ease-out), scale 160ms var(--ease-out);
}
.atour__moment small { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-2); }
.atour__moment small::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--c-action); }
.atour__moment b { font-size: 14.5px; line-height: 1.2; }
.atour__moment--you { background: linear-gradient(135deg, #ff3d8b, var(--c-action) 55%, #a8003c); color: #fff; box-shadow: 0 20px 44px -16px rgb(223 0 76 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.atour__moment--you small { color: rgb(255 255 255 / 0.85); }
.atour__moment--you small::before { background: #fff; }
.atour__moment[data-hidden] { opacity: 0; scale: 0.9; }
@media (prefers-reduced-motion: reduce) { .atour__moment { transition: none; } }

.atour__concept { position: absolute; z-index: 3; inset-block: auto 24px; inset-inline: auto clamp(16px, 3vw, 40px); }

/* the step cards: the tour's frosted glass */
.atour.is-live .atour__stops { position: relative; z-index: 2; pointer-events: none; }
.atour.is-live .atour__stop {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; block-size: 100svh;
  padding: calc(var(--header-h) + 20px) clamp(16px, 4vw, 56px) 24px; scroll-snap-align: center;
}
html:has(.atour.is-live) { scroll-snap-type: y proximity; }
.atour.is-live .stop-card {
  max-inline-size: 450px; max-block-size: calc(100svh - var(--header-h) - 44px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(22px, 2.2vw, 30px); border-radius: 26px;
  border: 1px solid rgb(255 255 255 / 0.65); border-block-start: 5px solid var(--c-action);
  background:
    radial-gradient(120% 70% at 0% 0%, rgb(255 255 255 / 0.55), transparent 60%),
    linear-gradient(160deg, rgb(255 255 255 / 0.88), rgb(255 238 245 / 0.8));
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.9), inset 0 0 0 1px rgb(255 255 255 / 0.25);
  pointer-events: auto; opacity: 0; translate: 0 18px; transition: opacity 500ms var(--ease-out) 150ms, translate 600ms var(--ease-out) 150ms;
}
.atour.is-live .atour__stop[data-active] .stop-card { opacity: 1; translate: 0 0; }
.atour--beauty { --zone-c: var(--c-lavender); }
.atour--shop { --zone-c: var(--c-peach); }
.atour.is-live .stop-card__gets li { background: color-mix(in srgb, var(--zone-c) 45%, rgb(255 255 255 / 0.45)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6); }
.atour.is-live .stop-card__facts li { background: rgb(255 255 255 / 0.5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7); }
.atour.is-live .stop-card__icon { background: rgb(255 255 255 / 0.85); }
.atour.is-live .stop-card .field__control { background: rgb(255 255 255 / 0.75); }
.atour.is-live .atour__scroll { display: block; }
.atour .stop-card__cta { margin-block-start: 2px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .atour.is-live .stop-card { background: rgb(255 255 255 / 0.96); } }

@media (max-width: 1100px) and (min-width: 801px) {
  .atour__scene { inset-inline: 42% 1%; }
  .atour.is-live .stop-card { max-inline-size: 380px; }
}
/* Phones: the phone stays the star at the top; the card is a sheet at the bottom (a quarter of the screen), "Details"
   opens the rest; the route becomes a row of numbers under the header. */
@media (max-width: 800px) {
  .atour__scene { inset-block: calc(var(--header-h) + 18px) calc(min(25svh, 230px) + 26px); inset-inline: 0; }
  .atour .phone { block-size: 100%; max-block-size: 470px; box-shadow: 0 0 0 6px #14050c, 0 0 0 7px #9b5878, 0 40px 70px -30px rgb(0 0 0 / 0.85), 0 0 80px -20px rgb(255 61 139 / 0.55); }
  .atour__moment { padding: 6px 10px 8px; border-radius: 12px; }
  .atour__moment--you { inset-inline-start: 25%; }
  .atour__moment--her { inset-inline-start: 75%; }
  .atour .phone { transform: perspective(1600px) rotateY(calc(-6deg * var(--dir))) rotateX(3deg); }
  .atour__moment small { font-size: 9px; }
  .atour__moment b { font-size: 12px; }
  .atour__concept { display: none; }
  .atour.is-live .atour__stop { justify-content: flex-end; padding: 0 10px calc(12px + env(safe-area-inset-bottom)); }
  .atour.is-live .stop-card { position: relative; max-inline-size: none; inline-size: 100%; max-block-size: min(25svh, 230px); overflow: hidden; gap: 6px; padding: 12px 14px 14px; border-radius: 20px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: linear-gradient(160deg, rgb(255 255 255 / 0.95), rgb(255 240 246 / 0.9)); }
  .atour.is-live .stop-card[data-open] { max-block-size: 62svh; overflow: auto; }
  .atour.is-live .stop-card:not([data-open]) :is(.stop-card__block, .stop-card > .btn, .stop-card__facts, .stop-card__brand, .stop-card__cta, .atour__scroll) { display: none; }
  .atour.is-live .stop-card:not([data-open]) .stop-card__what { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .atour .stop-card__head { gap: 8px; padding-inline-end: 84px; }
  .atour .stop-card__num { font-size: 26px; }
  .atour .stop-card__of { font-size: 10.5px; }
  .atour .stop-card__tag { font-size: 13px; }
  .atour .stop-card__title { font-size: 21px; line-height: 1.1; }
  .atour .stop-card__what { font-size: 13.5px; line-height: 1.4; }
  .atour .stop-card .eyebrow { margin-inline-end: 84px; }
}
/* phone screens on the stage: richer pieces (places with photos, other artists, a day strip, a route map) */
.ph-place { position: relative; flex: none; block-size: 8.2em; border-radius: 1.1em; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(125 22 63 / 0.08); }
.ph-place img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.ph-place__lounge { object-position: 50% 80%; scale: 1.35; transform-origin: 50% 90%; } /* keeps names on the render out of frame */
.ph-place__txt { position: absolute; inset-inline: 0.5em; inset-block-end: 0.5em; display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.5em 0.7em; border-radius: 0.8em; background: rgb(255 255 255 / 0.92); }
.ph-place__txt > span { display: grid; }
.ph-place__txt small { font-size: 0.78em; color: var(--c-text-2); }
.ph-place.is-on { box-shadow: 0 0 0 0.18em var(--c-action); }
.phone__screen[data-on] > .ph-card.is-dim { opacity: 0.55; }
.ph-who { display: flex; gap: 0.7em; align-items: center; }
.ph-who > span:last-child { display: grid; gap: 0.1em; }
.ph-who b { font-size: 1.1em; }
.ph-who small { font-size: 0.82em; color: var(--c-text-2); }
.ph-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.35em; }
.ph-days span { display: grid; justify-items: center; gap: 0.1em; padding: 0.5em 0; border-radius: 0.8em; background: var(--c-canvas); font-size: 0.75em; color: var(--c-text-2); }
.ph-days b { font-size: 1.35em; color: var(--c-text); }
.ph-days .is-on { background: var(--c-action); color: rgb(255 255 255 / 0.8); }
.ph-days .is-on b { color: #fff; }
.ph-map { position: relative; flex: none; block-size: 7em; border-radius: 1em; overflow: hidden; background: linear-gradient(135deg, #fde7ef, #efe6ff); }
.ph-map svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.ph-map__roads { fill: none; stroke: #fff; stroke-width: 7; }
.ph-map__route { fill: none; stroke: var(--c-action); stroke-width: 3; stroke-dasharray: 5 4; stroke-linecap: round; }
.ph-map__me, .ph-map__pin { position: absolute; inline-size: 0.9em; block-size: 0.9em; border-radius: 50%; translate: -50% -50%; }
.ph-map__me { left: 12%; top: 86%; background: var(--c-action); box-shadow: 0 0 0 0.35em rgb(223 0 76 / 0.25); }
.ph-map__pin { left: 86%; top: 24%; background: #fff; box-shadow: inset 0 0 0 0.25em var(--c-text); }
.ph-map__eta { position: absolute; inset-block-start: 0.5em; inset-inline-start: 0.5em; padding: 0.2em 0.6em; border-radius: 99px; background: #fff; font-size: 0.75em; font-weight: var(--fw-bold); }
.atour .phone__screen { gap: 0.85em; }

/* ---------- The stage, alive (beauty) ----------
   Every animation runs from a starting state to the screen's finished state, so with motion off (or reduced) each
   screen simply shows its result. A screen's animations restart each time it comes on (they hang on [data-on]). */
.ph-status { position: absolute; z-index: 7; inset-block-start: 2.4%; inset-inline: 9%; display: flex; justify-content: space-between; align-items: center; font-size: 3.4cqi; color: var(--c-text); pointer-events: none; }
.ph-status b { font-weight: 700; }
.ph-status__icons { display: flex; align-items: center; gap: 0.35em; }
.ph-status__icons svg { inline-size: 1.15em; block-size: 0.8em; fill: currentColor; }
.ph-battery { position: relative; inline-size: 1.6em; block-size: 0.8em; border-radius: 0.22em; box-shadow: inset 0 0 0 0.09em currentColor; padding: 0.12em; }
.ph-battery i { display: block; block-size: 100%; inline-size: 78%; border-radius: 0.1em; background: currentColor; }
.phone:has(.phone__screen--lock[data-on]) .ph-status, .phone:has(.phone__screen--flush[data-on]) .ph-status { color: #fff; }
.ph-sweep { position: absolute; z-index: 9; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden; }
.ph-sweep::before { content: ""; position: absolute; inset-block: -20%; inline-size: 40%; inset-inline-start: -60%; rotate: 18deg; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.35), transparent); opacity: 0; }
.ph-type { display: inline-block; white-space: nowrap; color: var(--c-text); font-weight: 600; }
.ph-live { display: none; }
.ph-confetti { position: absolute; inset-inline-start: 50%; inset-block-start: 1.6em; pointer-events: none; }
.ph-confetti i { position: absolute; inline-size: 0.45em; block-size: 0.7em; border-radius: 0.1em; opacity: 0; }
.ph-confetti i:nth-child(3n) { background: var(--c-action); } .ph-confetti i:nth-child(3n+1) { background: #ffcf4a; } .ph-confetti i:nth-child(3n+2) { background: #b9a3ff; }
@property --eta { syntax: "<integer>"; inherits: false; initial-value: 4; }
@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.ph-eta { --eta: 4; counter-reset: eta var(--eta); }
.ph-eta::before { content: counter(eta); }
.ph-star--lg { --fill: 100%; background: linear-gradient(90deg, #e8a300 var(--fill), #ead9df var(--fill)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .ph-star--lg { background: linear-gradient(-90deg, #e8a300 var(--fill), #ead9df var(--fill)); -webkit-background-clip: text; background-clip: text; }
.atour__air { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.atour__air i { position: absolute; inset-inline-start: var(--x); inset-block-end: -10px; inline-size: var(--s); block-size: var(--s); border-radius: 50%; background: radial-gradient(circle, #fff, rgb(255 143 184 / 0.6) 45%, transparent 70%); opacity: 0; }
.atour [data-brand][data-flash] { animation: ph-name 700ms var(--ease-out); }
.ph-av.has-photo { color: transparent; background-size: cover; background-position: center; }

@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) {
    /* the phone floats; a light crosses its glass when the step changes */
    & .atour .phone { animation: ph-hover 6s ease-in-out infinite; }
    & .atour__stage[data-sweep] .ph-sweep::before { animation: ph-sweep 1.1s var(--ease-out); }
    & .atour__air i { animation: ph-air var(--d) linear var(--w) infinite; }
    & .atour__moment:not([data-hidden]) { animation: ph-bob 4.5s ease-in-out infinite; }
    & .atour__moment--you:not([data-hidden]) { animation-delay: -2s; }

    /* 1 · she types what she wants; the Makeup tile gets tapped */
    & .atour .phone__screen[data-on] .ph-type { animation: ph-type 1.3s steps(16) 0.5s both; }
    &[dir="rtl"] .atour .phone__screen[data-on] .ph-type { animation-name: ph-type-rtl; }
    & .atour .phone__screen[data-on] .ph-search::after { content: ""; display: inline-block; inline-size: 2px; block-size: 1em; margin-inline-start: 2px; vertical-align: -0.15em; background: var(--c-action); animation: ph-caret 0.9s steps(1) infinite; }
    & .atour .phone__screen[data-on] .ph-cats .is-on { animation: ph-pick 600ms var(--ease-pop) 1.9s both; }
    & .atour .phone__screen[data-on] .ph-banner img { animation: ph-kenburns 9s ease-out both; }
    /* 2 · At home gets chosen */
    & .atour .phone__screen[data-on] .ph-place.is-on { animation: ph-pick 600ms var(--ease-pop) 1s both; }
    & .atour .phone__screen[data-on] .ph-place.is-on .ph-radio { animation: ph-radio 400ms var(--ease-pop) 1.1s both; }
    /* 3 · the list loads (a shimmer), then her card lights up; "Available" breathes */
    & .atour .phone__screen[data-on] > .ph-card { animation: ph-load 900ms var(--ease-out) both; }
    & .atour .phone__screen[data-on] > .ph-card.is-hero { animation: ph-load 900ms var(--ease-out) both, ph-glow 2.4s ease-in-out 1.2s infinite; }
    & .atour .phone__screen[data-on] > .ph-card:nth-of-type(2) { animation-delay: 150ms; }
    & .atour .phone__screen[data-on] > .ph-card:nth-of-type(3) { animation-delay: 300ms; }
    & .atour .phone__screen[data-on] .ph-card em::before { content: ""; display: inline-block; inline-size: 0.5em; block-size: 0.5em; margin-inline-end: 0.3em; border-radius: 50%; background: #2fbf71; animation: ph-now 1.6s var(--ease-out) infinite; }
    & .atour .phone__screen[data-on] .ph-card__id i { background: linear-gradient(90deg, rgb(125 22 63 / 0.08), rgb(125 22 63 / 0.2), rgb(125 22 63 / 0.08)) 0 0 / 200% 100%; animation: ph-shimmer 1.4s linear infinite; }
    /* 4 · her profile: the cover drifts, the work pops in, the stars fill */
    & .atour .phone__screen[data-on] .ph-cover img { animation: ph-kenburns 10s ease-out both; }
    & .atour .phone__screen[data-on] .ph-grid img { animation: ph-pop 500ms var(--ease-pop) both; }
    & .atour .phone__screen[data-on] .ph-grid img:nth-child(1) { animation-delay: 0.5s; }
    & .atour .phone__screen[data-on] .ph-grid img:nth-child(2) { animation-delay: 0.65s; }
    & .atour .phone__screen[data-on] .ph-grid img:nth-child(3) { animation-delay: 0.8s; }
    & .atour .phone__screen[data-on] .ph-svc.is-on { animation: ph-pick 600ms var(--ease-pop) 1.4s both; }
    /* 5 · Saturday, 18:30, the price adds up, pay, booked (with confetti) */
    & .atour .phone__screen[data-on] .ph-days .is-on { animation: ph-select 450ms var(--ease-pop) 0.7s both; }
    & .atour .phone__screen[data-on] .ph-chips .is-on { animation: ph-select 450ms var(--ease-pop) 1.1s both; }
    & .atour .phone__screen[data-on] .ph-sum i { transform-origin: 0 50%; animation: ph-bar 600ms var(--ease-out) both; }
    &[dir="rtl"] .atour .phone__screen[data-on] .ph-sum i { transform-origin: 100% 50%; }
    & .atour .phone__screen[data-on] .ph-sum i:nth-of-type(1) { animation-delay: 1.4s; }
    & .atour .phone__screen[data-on] .ph-sum i:nth-of-type(2) { animation-delay: 1.55s; }
    & .atour .phone__screen[data-on] .ph-sum i:nth-of-type(3) { animation-delay: 1.8s; }
    & .atour .phone__screen[data-on] .ph-btn { animation: ph-press 400ms ease-in-out 2.2s both; }
    & .atour .phone__screen[data-screen="5"][data-on] > .ph-done { transition-delay: 2.5s; }
    & .atour .phone__screen[data-on] .ph-confetti i { animation: ph-confetti 1.3s cubic-bezier(0.2, 0.7, 0.3, 1) 2.7s both; }
    /* 6 · she watches the artist arrive: the dot drives the route, the minutes count down */
    & .atour .phone__screen[data-on] .ph-map__route { animation: ph-march 1s linear infinite; }
    & .atour .phone__screen[data-on] .ph-map__me { animation: ph-drive 3.2s ease-in-out 0.4s both; }
    & .atour .phone__screen[data-on] .ph-eta { animation: ph-eta 3.2s linear 0.4s both; }
    & .atour .phone__screen[data-screen="6"][data-on] > .ph-toast { transition-delay: 3.7s; }
    /* 7 · the stars fill, the review is posted */
    & .atour .phone__screen[data-on] .ph-star--lg { animation: ph-stars 1.2s var(--ease-out) 0.8s both; }
    & .atour .phone__screen[data-screen="7"][data-on] > .ph-toast { transition-delay: 2.2s; }
  }
}
@keyframes ph-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes ph-sweep { 0% { opacity: 0; inset-inline-start: -60%; } 20% { opacity: 1; } 100% { opacity: 0; inset-inline-start: 130%; } }
@keyframes ph-air { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 0.8; } 85% { opacity: 0.6; } 100% { translate: 30px -105svh; opacity: 0; } }
@keyframes ph-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ph-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ph-type-rtl { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes ph-caret { 50% { opacity: 0; } }
@keyframes ph-pick { 0% { box-shadow: none; scale: 1; } 40% { scale: 0.94; } 100% { scale: 1; } }
@keyframes ph-radio { from { box-shadow: inset 0 0 0 0.12em var(--c-line-strong); background: transparent; } }
@keyframes ph-load { from { opacity: 0; translate: 0 1em; } }
@keyframes ph-glow { 0%, 100% { box-shadow: 0 0 0 0.18em var(--c-action), 0 1em 2em -1em rgb(223 0 76 / 0.5); } 50% { box-shadow: 0 0 0 0.3em rgb(223 0 76 / 0.55), 0 1em 2.4em -0.8em rgb(223 0 76 / 0.7); } }
@keyframes ph-shimmer { to { background-position: -200% 0; } }
@keyframes ph-kenburns { from { scale: 1.15; } to { scale: 1; } }
@keyframes ph-pop { from { opacity: 0; scale: 0.7; } }
@keyframes ph-select { from { background: var(--c-canvas); color: var(--c-text-2); scale: 0.9; } }
@keyframes ph-bar { from { transform: scaleX(0); } }
@keyframes ph-press { 50% { scale: 0.95; filter: brightness(0.9); } }
@keyframes ph-confetti { 0% { opacity: 1; translate: 0 0; rotate: 0deg; } 100% { opacity: 0; translate: var(--cx) var(--cy); rotate: var(--cr); } }
@keyframes ph-march { to { stroke-dashoffset: -9; } }
@keyframes ph-drive { 0% { left: 12%; top: 86%; } 30% { left: 35%; top: 69%; } 55% { left: 59%; top: 58%; } 75% { left: 66%; top: 42%; } 100% { left: 86%; top: 24%; } }
@keyframes ph-eta { from { --eta: 12; } to { --eta: 4; } }
@keyframes ph-stars { from { --fill: 0%; } }
@keyframes ph-name { 0% { background: rgb(255 207 74 / 0.9); } 100% { background: transparent; } }
.ph-confetti i:nth-child(1) { --cx: -3.2em; --cy: -3em; --cr: 200deg; } .ph-confetti i:nth-child(2) { --cx: 3em; --cy: -3.4em; --cr: -220deg; }
.ph-confetti i:nth-child(3) { --cx: -1.4em; --cy: -4.4em; --cr: 160deg; } .ph-confetti i:nth-child(4) { --cx: 1.6em; --cy: -4.6em; --cr: -140deg; }
.ph-confetti i:nth-child(5) { --cx: -4.4em; --cy: -1.2em; --cr: 260deg; } .ph-confetti i:nth-child(6) { --cx: 4.4em; --cy: -1.6em; --cr: -260deg; }
.ph-confetti i:nth-child(7) { --cx: -2.4em; --cy: -2em; --cr: 120deg; } .ph-confetti i:nth-child(8) { --cx: 2.4em; --cy: -2.2em; --cr: -120deg; }
.ph-confetti i:nth-child(9) { --cx: 0; --cy: -5em; --cr: 300deg; } .ph-confetti i:nth-child(10) { --cx: -3.8em; --cy: -4em; --cr: -300deg; }
.ph-confetti i:nth-child(11) { --cx: 3.8em; --cy: -4.2em; --cr: 180deg; } .ph-confetti i:nth-child(12) { --cx: 0.6em; --cy: -3em; --cr: -90deg; }

/* the partner puts herself in the app: her photo (stays on the device) */
.atour__photo { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; background: rgb(255 255 255 / 0.6); box-shadow: inset 0 0 0 1px rgb(125 22 63 / 0.14); cursor: pointer; }
.atour__photo:hover { box-shadow: inset 0 0 0 2px var(--c-text); }
.atour__photo:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.atour__photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.atour__photo-pic { flex: none; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--track-beauty) center / cover; }
.atour__photo-pic:not(.has-photo)::before { content: "+"; font-size: 22px; font-weight: 700; color: var(--c-text); }
.atour__photo > span:last-child { display: grid; }
.atour__photo b { font-size: 14px; }
.atour__photo small { font-size: 12.5px; color: var(--c-text-2); }
@media (max-width: 800px) { .atour.is-live .stop-card:not([data-open]) .atour__photo { display: none; } }
/* the shop stage, alive: what only the order screens have */
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) {
    /* 2 · the Gift Edit fills in; her product glows */
    & .atour--shop .phone__screen[data-on] .ph-products > span { animation: ph-pop 500ms var(--ease-pop) both; }
    & .atour--shop .phone__screen[data-on] .ph-products > span:nth-child(2) { animation-delay: 120ms; }
    & .atour--shop .phone__screen[data-on] .ph-products > span:nth-child(3) { animation-delay: 240ms; }
    & .atour--shop .phone__screen[data-on] .ph-products > span:nth-child(4) { animation-delay: 360ms; }
    & .atour--shop .phone__screen[data-on] .ph-products > .is-hero { animation: ph-pop 500ms var(--ease-pop) both, ph-glow 2.4s ease-in-out 1s infinite; }
    & .atour--shop .phone__screen[data-on] .ph-products img { animation: ph-bob 4s ease-in-out infinite; }
    /* 4 · the product floats, the button is pressed, then "Added to bag" */
    & .atour--shop .phone__screen[data-on] .ph-hero-img img { animation: ph-bob 3.5s ease-in-out infinite; }
    & .atour--shop .phone__screen[data-screen="4"][data-on] .ph-btn { animation-delay: 1.2s; }
    & .atour--shop .phone__screen[data-screen="4"][data-on] > .ph-toast { transition-delay: 1.6s; }
    /* 5 · "Send as a gift" gets chosen */
    & .atour--shop .phone__screen[data-on] .ph-opt.is-on { animation: ph-pick 600ms var(--ease-pop) 0.8s both; }
    & .atour--shop .phone__screen[data-on] .ph-opt.is-on .ph-radio { animation: ph-radio 400ms var(--ease-pop) 0.9s both; }
    /* 7 · the gift, delivered */
    & .atour--shop .phone__screen[data-on] .ph-hero-img--gift img { animation: ph-pop 600ms var(--ease-pop) 0.3s both, ph-bob 3.5s ease-in-out 1s infinite; }
  }
}
.atour--shop .phone:has(.phone__screen--flush[data-on]) .ph-status { color: var(--c-text); } /* the brand page cover is light */
.ph-place--parcel { block-size: 6.5em; background: var(--track-shop); }
.ph-place--parcel img { inset: 0.4em auto auto 50%; inline-size: auto; block-size: 60%; translate: -50% 0; object-fit: contain; }
.ph-place--parcel .ph-check { inline-size: 1.8em; block-size: 1.8em; font-size: 0.8em; }
