/* =========================================================
   LIVE GALLERIES (#galleries)
   live QR + phone demo · themed walk-through rooms · gallery products
   ========================================================= */
.galleries { overflow: hidden; isolation: isolate; }
.galleries-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 76% 22%, rgba(138, 92, 255, .16), transparent 70%),
    radial-gradient(28% 34% at 58% 18%, rgba(41, 231, 255, .09), transparent 70%),
    radial-gradient(40% 30% at 20% 62%, rgba(246, 198, 107, .06), transparent 70%);
}

/* ---------- live demo layout ---------- */
.galleries-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.galleries-title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 16px 0 18px; }
.galleries-lede { max-width: 560px; }
.galleries-steps { list-style: none; padding: 0; margin: 28px 0 28px; display: grid; gap: 12px; max-width: 560px; }
.galleries-steps li { display: flex; gap: 16px; align-items: center; padding: 13px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.galleries-steps b { font-family: var(--mono); font-size: 12.5px; color: var(--cyan); letter-spacing: .1em; font-weight: 600; }
.galleries-steps span { color: var(--ink-2); }
.galleries-steps strong { color: var(--ink); font-weight: 650; }
.galleries-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.galleries-snap .ico { width: 20px; height: 20px; }
.galleries-snap:active { transform: translateY(0) scale(.97); }
.galleries-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 300px; }
.galleries-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 30px 0 0; max-width: 560px; border: 1px solid var(--line); border-radius: 16px; background: rgba(6, 10, 28, .5); }
.galleries-stats > div { padding: 14px 16px; }
.galleries-stats > div + div { border-left: 1px solid var(--line); }
.galleries-stats dt { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.galleries-stats > div:first-child dt { color: var(--cyan); text-shadow: 0 0 18px rgba(41, 231, 255, .45); }
.galleries-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.galleries-stats .bump { animation: galleries-bump .6s var(--ease); display: inline-block; }
@keyframes galleries-bump { 0% { transform: translateY(-6px); opacity: .2; } 100% { transform: none; opacity: 1; } }

/* ---------- stage ---------- */
.galleries-stage { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 660px; }
.galleries-orbit { position: absolute; right: -120px; top: 50%; width: 580px; height: 580px; transform: translateY(-50%); pointer-events: none; z-index: 0; }
.galleries-orbit::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(41, 231, 255, .16), rgba(138, 92, 255, .08) 60%, transparent); }
.galleries-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(41, 231, 255, .26); animation: galleries-spin 40s linear infinite; }
.galleries-orbit i:nth-child(2) { inset: 9%; border: 1px solid rgba(138, 92, 255, .22); border-top-color: rgba(255, 63, 208, .7); animation-duration: 16s; animation-direction: reverse; }
.galleries-orbit i:nth-child(3) { inset: -9%; border: 1px solid rgba(41, 231, 255, .1); border-right-color: rgba(41, 231, 255, .6); animation-duration: 24s; }
@keyframes galleries-spin { to { transform: rotate(360deg); } }

/* QR card (a real, scannable code → the live gala gallery) */
.galleries-qr {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 232px; padding: 16px 16px 18px; border-radius: 22px; text-align: center; text-decoration: none; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.galleries-qr:hover { border-color: rgba(41, 231, 255, .7); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(41, 231, 255, .6); }
.galleries-qr:focus-visible { outline-offset: 4px; border-radius: 22px; }
.galleries-qr-code { position: relative; display: block; width: 100%; border-radius: 12px; overflow: hidden; background: #fff; }
.galleries-qr-code svg { display: block; width: 100%; height: auto; }
/* laser sweep: the span is the travel box (4% → 95% of the square code); the line is its top edge.
   It moves by transform only (translateY(100%) of its own height = the full travel), so no per-frame layout. */
.galleries-qr-laser { position: absolute; left: 4%; right: 4%; top: 4%; height: 91%; pointer-events: none; animation: galleries-laser 2.6s ease-in-out infinite alternate; mix-blend-mode: multiply; will-change: transform; }
.galleries-qr-laser::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(41, 231, 255, .85); box-shadow: 0 0 12px 2px rgba(41, 231, 255, .55); }
@keyframes galleries-laser { from { transform: translateY(0); } to { transform: translateY(100%); } }
.galleries-qr-frame { position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(41, 231, 255, .6); pointer-events: none; }
.galleries-qr-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.galleries-qr-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.galleries-qr-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.galleries-qr-tap { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--cyan); }
.galleries-qr-tap .ico { width: 14px; height: 14px; }

.galleries-beam { position: absolute; left: 226px; right: 300px; top: 34%; height: 30%; width: auto; z-index: 1; overflow: visible; pointer-events: none; }
.galleries-beam-dash { stroke-dasharray: 2 26; animation: galleries-beam 1.2s linear infinite; filter: drop-shadow(0 0 4px #29e7ff); }
@keyframes galleries-beam { to { stroke-dashoffset: -28; } }

/* phone (pure CSS frame, neon edge) */
.galleries-phone {
  position: relative; z-index: 2; flex: none;
  width: 318px; height: 650px; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a3150, #0c1022 40%, #1d2340);
  box-shadow: 0 0 0 1px rgba(160, 200, 255, .25), inset 0 0 0 2px rgba(0, 0, 0, .6), 0 50px 100px -30px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(41, 231, 255, .4), 0 0 0 2px rgba(138, 92, 255, .12);
}
.galleries-phone::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(41, 231, 255, .8), rgba(138, 92, 255, .2) 40%, rgba(255, 63, 208, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.galleries-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #060914; display: flex; flex-direction: column; }
.galleries-island { position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 5; }
.galleries-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; height: 42px; font-family: var(--mono); font-size: 11px; color: #fff; flex: none; }
.galleries-bars { display: flex; gap: 3px; align-items: flex-end; }
.galleries-bars i { display: block; width: 4px; background: #fff; border-radius: 1px; }
.galleries-bars i:nth-child(1) { height: 5px; } .galleries-bars i:nth-child(2) { height: 7px; } .galleries-bars i:nth-child(3) { height: 9px; }
.galleries-app-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 6px; flex: none; }
.galleries-app-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.galleries-app-title { font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.galleries-live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: rgba(255, 59, 107, .15); border: 1px solid rgba(255, 59, 107, .5); color: #ff9db5; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.galleries-live-pill .dot { width: 6px; height: 6px; }
.galleries-app-meta { display: flex; justify-content: space-between; padding: 0 16px 10px; color: var(--muted); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; flex: none; font-variant-numeric: tabular-nums; }
.galleries-toast {
  position: absolute; left: 50%; top: 136px; z-index: 6;
  display: flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 28px);
  padding: 8px 14px; border-radius: 999px; background: #101836; border: 1px solid rgba(41, 231, 255, .55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 24px -6px rgba(41, 231, 255, .7);
  font-size: 12px; font-weight: 650; color: #fff; white-space: nowrap;
  transform: translate(-50%, -14px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.galleries-toast.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.galleries-toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
.galleries-feed { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 88px; gap: 4px; padding: 0 8px; align-content: start; }
.galleries-ph { position: relative; border-radius: 8px; overflow: hidden; background: #111833; }
.galleries-ph:first-child { grid-column: span 3; grid-row: span 3; border-radius: 12px; }
.galleries-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.galleries-ph:first-child::after {
  content: "Just now"; position: absolute; left: 8px; bottom: 8px; text-transform: uppercase;
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; padding: 4px 7px; border-radius: 6px; background: rgba(4, 8, 22, .75); color: var(--cyan);
}
.galleries-ph.arrive { animation: galleries-arrive .9s var(--ease) both; }
@keyframes galleries-arrive { 0% { opacity: 0; transform: scale(1.18); filter: brightness(2.4) blur(8px); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
.galleries-ph.arrive::before { content: ""; position: absolute; inset: 0; background: #fff; z-index: 2; animation: galleries-flash .7s ease-out both; pointer-events: none; }
@keyframes galleries-flash { from { opacity: .85; } to { opacity: 0; } }
.galleries-app-bar { display: flex; justify-content: space-around; padding: 10px 30px 16px; border-top: 1px solid var(--line); background: rgba(6, 9, 20, .95); flex: none; }
.galleries-app-bar i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .35); }
.galleries-app-bar i.on { border-color: var(--cyan); box-shadow: 0 0 10px rgba(41, 231, 255, .5); }
.galleries-flyer { position: absolute; left: 0; top: 0; z-index: 4; width: 64px; height: 80px; border-radius: 8px; overflow: hidden; pointer-events: none; box-shadow: 0 0 0 2px rgba(41, 231, 255, .8), 0 0 24px rgba(41, 231, 255, .6); }
.galleries-flyer img { width: 100%; height: 100%; object-fit: cover; }

/* pause decorative loops while the section is off-screen */
.galleries:not(.is-live) .galleries-orbit i,
.galleries:not(.is-live) .galleries-qr-laser,
.galleries:not(.is-live) .galleries-beam-dash { animation-play-state: paused; }

/* ---------- sub heads ---------- */
.galleries-subhead { max-width: 720px; }
.galleries-subhead h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; margin: 12px 0 12px; }
.galleries-subhead p:not(.kicker) { color: var(--ink-2); font-size: 16px; }
.galleries-subhead-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.galleries-subhead-row h3 { margin-bottom: 0; }

/* ---------- The Gallery rooms ---------- */
.galleries-rooms { margin-top: clamp(80px, 10vw, 140px); }
.galleries-room-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.galleries-room {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border-radius: var(--radius-lg); padding: 12px 12px 18px;
  background: linear-gradient(170deg, rgba(246, 198, 107, .1), rgba(16, 22, 50, .7) 30%, rgba(8, 12, 30, .72));
  border: 1px solid rgba(246, 198, 107, .28);
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .35s;
}
.galleries-room:hover, .galleries-room:focus-visible { transform: translateY(-6px); border-color: rgba(246, 198, 107, .7); box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .95), 0 0 46px -14px rgba(246, 198, 107, .55); }
.galleries-room:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.galleries-doorway {
  position: relative; aspect-ratio: 16 / 10; border-radius: 16px 16px 10px 10px; overflow: hidden;
  perspective: 900px; background: #05060c;
  box-shadow: inset 0 0 0 1px rgba(246, 198, 107, .45), 0 0 0 4px rgba(8, 10, 20, .9), 0 0 0 5px rgba(246, 198, 107, .35);
}
.galleries-doorway > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 1.6s var(--ease), filter .6s; filter: brightness(.82) saturate(1.05); }
.galleries-room.is-open .galleries-doorway > img { transform: scale(1); filter: none; }
.galleries-room:hover .galleries-doorway > img, .galleries-room:focus-visible .galleries-doorway > img { transform: scale(1.12); }
/* gilded double doors that swing open when the card scrolls in */
.galleries-door {
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 18%, transparent 82%, rgba(0, 0, 0, .35)),
    repeating-linear-gradient(180deg, transparent 0 22%, rgba(246, 198, 107, .55) 22% calc(22% + 1px), transparent calc(22% + 1px) 26%),
    linear-gradient(160deg, #3a2a10, #1a1206 45%, #4a3615 70%, #1c1408);
  box-shadow: inset 0 0 0 2px rgba(246, 198, 107, .55), inset 0 0 24px rgba(0, 0, 0, .7);
  transition: transform 1.5s cubic-bezier(.6, .05, .25, 1), opacity 1.5s;
  backface-visibility: hidden;
}
.galleries-door::after { content: ""; position: absolute; top: 50%; width: 6px; height: 26px; margin-top: -13px; border-radius: 3px; background: linear-gradient(180deg, #ffe4a3, #b8862e); box-shadow: 0 0 10px rgba(246, 198, 107, .8); }
.galleries-door.l { left: 0; transform-origin: left center; }
.galleries-door.l::after { right: 10px; }
.galleries-door.r { right: 0; transform-origin: right center; }
.galleries-door.r::after { left: 10px; }
.galleries-room.is-open .galleries-door.l { transform: rotateY(-104deg); opacity: 0; }
.galleries-room.is-open .galleries-door.r { transform: rotateY(104deg); opacity: 0; }
.galleries-doorway::after { /* warm light spilling out of the room */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 60%, rgba(255, 220, 150, .28), transparent 70%);
  opacity: 0; transition: opacity 1.2s .3s;
}
.galleries-room.is-open .galleries-doorway::after { opacity: 1; animation: galleries-glow 2.4s 1.2s ease-out forwards; }
@keyframes galleries-glow { to { opacity: 0; } }
.galleries-room-tag { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(5, 7, 16, .78); border: 1px solid rgba(246, 198, 107, .5); color: #ffe9a8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.galleries-room-tag.live { border-color: rgba(255, 59, 107, .6); color: #ffb3c4; }
.galleries-room-tag .dot { width: 6px; height: 6px; }
.galleries-room-mobile {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; height: 64%; aspect-ratio: 390 / 844; border-radius: 9px; overflow: hidden;
  border: 2px solid #1d2340; box-shadow: 0 0 0 1px rgba(246, 198, 107, .6), 0 14px 30px rgba(0, 0, 0, .75); background: #05060c;
  opacity: 0; transform: translateY(12px); transition: opacity .6s 1.1s, transform .8s 1.1s var(--ease);
}
.galleries-room.is-open .galleries-room-mobile { opacity: 1; transform: none; }
.galleries-room-mobile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.galleries-room:hover .galleries-room-mobile, .galleries-room:focus-visible .galleries-room-mobile { transform: translateY(-4px) rotate(-3deg); transition-delay: 0s; }
.galleries-room-body { padding: 18px 8px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.galleries-room-kind { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.galleries-room-body h4 { font-size: 20px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.galleries-room-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.galleries-room-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14px; color: #ffe9a8; }
.galleries-room-go .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.galleries-room:hover .galleries-room-go .ico { transform: translate(3px, -3px); }

/* ---------- product cards ---------- */
.galleries-products { margin-top: clamp(80px, 10vw, 130px); }
.galleries-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.galleries-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; border-radius: var(--radius-lg); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.galleries-card:hover, .galleries-card:focus-within { transform: translateY(-4px); border-color: rgba(41, 231, 255, .5); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 40px -16px rgba(41, 231, 255, .55); }
.galleries-card.is-flag { border-color: rgba(138, 92, 255, .45); }
.galleries-card-art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #070b1c; }
.galleries-card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.galleries-card:hover .galleries-card-art img { transform: scale(1.05); }
.galleries-card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 16, .45) 0%, transparent 26%, transparent 48%, rgba(8, 12, 30, .92)); }
.galleries-card-icon { position: absolute; left: 14px; bottom: -2px; z-index: 2; width: 54px; height: 54px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.galleries-card-icon img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.galleries-card-chips { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; }
.galleries-card-chips .status-chip { background: rgba(5, 7, 16, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.galleries-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.galleries-card-body h4 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.galleries-card-body h4 a { text-decoration: none; }
.galleries-card-body h4 a:hover { color: var(--cyan); }
.galleries-card-tag { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.galleries-card .bullets { margin: 2px 0 0; gap: 7px; }
.galleries-card .bullets li { font-size: 13.5px; line-height: 1.45; padding-left: 22px; }
.galleries-card .bullets li::before { width: 10px; }
.galleries-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.galleries-card-price { display: flex; flex-direction: column; gap: 2px; }
.galleries-card-note { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.galleries-card-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.galleries-card-btns .btn { flex: 1 1 auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .galleries-stage { min-height: 620px; }
  .galleries-qr { width: 196px; }
  .galleries-beam { left: 190px; }
  .galleries-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .galleries-live { grid-template-columns: 1fr; }
  .galleries-stage { justify-content: center; min-height: 0; padding: 20px 0 0; }
  .galleries-orbit { right: 50%; transform: translate(50%, -50%); }
  .galleries-qr { left: max(0px, calc(50% - 360px)); }
  .galleries-room-grid { grid-template-columns: 1fr 1fr; }
  .galleries-room-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .galleries-room-grid > :last-child:nth-child(odd) .galleries-doorway { aspect-ratio: 21 / 9; }
}
@media (max-width: 760px) {
  .galleries-title { font-size: clamp(34px, 9.6vw, 44px); margin: 12px 0 14px; }
  .galleries-steps li { padding: 12px 14px; gap: 12px; font-size: 15px; }
  .galleries-actions .btn { flex: 1 1 100%; }
  .galleries-hint { max-width: none; }
  .galleries-stats > div { padding: 12px 10px; }
  .galleries-stats dd { font-size: 11.5px; }
  .galleries-stage { flex-direction: column; align-items: center; gap: 22px; padding-top: 8px; }
  .galleries-qr { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 360px; display: grid; grid-template-columns: 112px 1fr; align-items: center; column-gap: 16px; text-align: left; padding: 14px; }
  .galleries-qr-text { align-items: flex-start; }
  .galleries-beam, .galleries-orbit { display: none; }
  .galleries-phone { width: 290px; height: 590px; border-radius: 46px; padding: 10px; }
  .galleries-screen { border-radius: 37px; }
  .galleries-feed { grid-auto-rows: 78px; }
  .galleries-room-grid { grid-template-columns: 1fr; }
  .galleries-room-grid > :last-child:nth-child(odd) .galleries-doorway { aspect-ratio: 16 / 10; }
  .galleries-cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .galleries-cards::-webkit-scrollbar { display: none; }
  .galleries-card { flex: 0 0 84%; scroll-snap-align: center; }
  .galleries-subhead-row .btn { width: 100%; }
}

/* ---------- reduced motion: calm, static, doors already open ---------- */
html.reduced .galleries-orbit i, html.reduced .galleries-qr-laser, html.reduced .galleries-beam-dash { animation: none; }
html.reduced .galleries-qr-laser { display: none; }
html.reduced .galleries-door { display: none; }
html.reduced .galleries-room-mobile { opacity: 1; transform: none; transition: none; }
html.reduced .galleries-doorway > img { transform: none; filter: none; transition: none; }
html.reduced .galleries-doorway::after { display: none; }
html.reduced .galleries-ph.arrive, html.reduced .galleries-ph.arrive::before { animation: none; }
html.reduced .galleries-room, html.reduced .galleries-card { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .galleries-orbit i, .galleries-qr-laser, .galleries-beam-dash, .galleries-ph.arrive, .galleries-ph.arrive::before { animation: none !important; }
  .galleries-door { display: none; }
}
