html, body {
  margin: 0;
  height: 100%;
  background: #1b262e;
  overflow: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

#fit {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#stage {
  width: 1080px;
  height: 1920px;
  /* #fit is a flex container, which makes #stage a flex item -- flex items
     default to flex-shrink:1, and because #stage has overflow:hidden, its
     min-width:auto resolves to 0, so on any viewport narrower than 1080px
     the flexbox algorithm would silently shrink this box on the width axis
     alone, *before* fitStage()'s JS transform runs -- compounding into a
     squashed, too-narrow render. This box's size is fitStage()'s job only.
  */
  flex-shrink: 0;
  position: relative;
  background: var(--rbo-ivory);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  transform-origin: center center;
}

#root {
  position: absolute;
  inset: 0;
}

.route-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* top is set inline per-route (0 for idle, NAV_H otherwise) */
}

/* ---- Press feedback: springy scale-down while held, no hover states ---- */
.press {
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.2, 1.4, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.press.is-pressed {
  transform: scale(0.965);
}

/* ---- Nav bar (all routes except idle) ---- */
.nav-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 104px;
  z-index: 30;
  background: rgba(252, 251, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-side {
  width: 210px;
}

.nav-side-end {
  display: flex;
  justify-content: flex-end;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 72px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #fff;
}

.nav-back.is-hidden {
  display: none;
}

.nav-back span {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--text-heading);
  font-weight: 600;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 46px;
}

.nav-staff {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ---- Buttons ---- */
button {
  font: inherit;
  touch-action: manipulation;
}

.btn {
  min-height: 96px;
  border-radius: var(--radius-pill);
  padding: 0 56px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.btn:disabled {
  opacity: 0.5;
}

.btn-primary {
  background: var(--rbo-reverie-blue);
  color: #fff;
}

.btn-accent {
  background: var(--rbo-gold);
  color: var(--rbo-reverie-blue);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--rbo-reverie-blue);
  border: 1.5px solid var(--rbo-reverie-blue);
  box-shadow: none;
}

/* ---- Virtual Try-On ---- */
.tryon-screen {
  position: absolute;
  inset: 0;
  background: var(--rbo-reverie-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 80px 60px;
  overflow-y: auto;
}

.tryon-eyebrow {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rbo-gold);
  margin: 0;
}

.tryon-heading {
  font-family: var(--font-display);
  font-size: 64px;
  color: #fff;
  margin: 20px 0 0;
  font-weight: 600;
  text-align: center;
}

.tryon-body {
  font-family: var(--font-body);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  line-height: 1.5;
  margin: 0 0 40px;
}

.tryon-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tryon-upload-link {
  display: block;
  margin: 22px auto 0;
  min-height: 56px;
  padding: 10px 20px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.tryon-frame {
  width: 720px;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  margin: 20px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 4px solid var(--rbo-gold);
  background: #000;
  flex-shrink: 0;
}

.tryon-frame canvas,
.tryon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The live <video> is only a decode target for the driven preview canvas
   (drawRotatedCover handles rotation + mirroring) -- kept off-screen rather
   than display:none, which pauses frame decoding in some browsers. */
.tryon-frame video {
  position: absolute;
  width: 2px;
  height: 2px;
  opacity: 0;
  pointer-events: none;
}

.tryon-countdown {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(34, 52, 64, 0.55);
  font-family: var(--font-display);
  font-size: 220px;
  font-weight: 700;
  color: #fff;
}

.tryon-countdown.is-visible {
  display: flex;
}

.tryon-generating {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(34, 52, 64, 0.55);
  text-align: center;
  padding: 0 60px;
}

.tryon-generating p {
  font-family: var(--font-body);
  font-size: 26px;
  color: var(--rbo-gold);
  margin: 0;
}

.spinner {
  width: 76px;
  height: 76px;
  border: 8px solid rgba(255, 255, 255, 0.24);
  border-top-color: var(--rbo-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tryon-error-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 32px;
  background: rgba(235, 195, 99, 0.94);
  color: var(--rbo-reverie-blue);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

/* ---- Lookbook (browse + try-on) ---- */
.lookbook-screen {
  position: absolute;
  inset: 0;
  background: var(--rbo-ivory);
  padding: 60px 70px;
  overflow-y: auto;
}

.lookbook-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
}

/* ---- Session photo thumbnail + enlarge/retake modal ---- */
.session-thumb {
  position: fixed;
  top: 128px;
  right: 24px;
  z-index: 25;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--rbo-gold);
  background-color: #000;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  padding: 0;
  cursor: pointer;
}

.session-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 52, 64, 0.82);
  padding: 60px;
}

.session-modal-card {
  background: var(--rbo-ivory);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.session-modal-card img {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.session-modal-prompt {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-display);
  margin: 24px 0 0;
}

.lookbook-loading {
  font-family: var(--font-body);
  font-size: 26px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 200px;
}

.lookbook-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.lookbook-eyebrow {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rbo-gold);
  margin: 0;
}

.lookbook-heading {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--text-display);
  margin: 12px 0 0;
  font-weight: 600;
}

.btn-reset {
  min-height: 64px;
  padding: 0 32px;
  font-size: 20px;
}

/* ---- Search + filters ---- */
.lookbook-searchrow {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.lookbook-search {
  flex: 1;
  height: 76px;
  border-radius: var(--radius-pill);
  background: var(--rbo-white);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
}

.lookbook-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--text-body);
}

.btn-filters {
  position: relative;
  height: 76px;
  padding: 0 36px;
  border-radius: var(--radius-pill);
  background: var(--rbo-white);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-heading);
  cursor: pointer;
}

.filter-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--rbo-gold);
  color: var(--rbo-reverie-blue);
  font-size: 15px;
  font-weight: 700;
}

.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 10px 0 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-lavender);
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-heading);
}

.chip-remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(52, 79, 98, 0.12);
  color: var(--text-heading);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.lookbook-count {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.lookbook-empty {
  font-family: var(--font-body);
  font-size: 26px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 120px;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-bottom: 40px;
}

.gown-card {
  position: relative;
  background: var(--rbo-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gown-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--rbo-gold);
  color: var(--rbo-reverie-blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gown-card-photo {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--surface-lavender);
  padding: 20px;
}

.gown-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gown-card-designer {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.gown-card-name {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-display);
  margin: 6px 0 0;
  line-height: 1.1;
}

.gown-card-meta {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.gown-card-price {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-display);
  margin: 4px 0 0;
}

/* ---- Filter drawer ---- */
.filter-drawer {
  background: var(--rbo-ivory);
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 50px 20px;
  flex-shrink: 0;
}

.filter-drawer-header h2 {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--text-display);
  margin: 0;
}

.filter-drawer-close {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 50px;
}

.filter-section {
  margin-bottom: 36px;
}

.filter-section-label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-chip {
  min-height: 64px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-body);
  cursor: pointer;
}

.filter-chip.is-selected {
  background: var(--rbo-reverie-blue);
  border-color: var(--rbo-reverie-blue);
  color: #fff;
}

/* ---- Filter accordion (collapsible FACET_GROUPS sections) ---- */
.filter-accordion {
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0;
}

.filter-accordion-header {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.filter-accordion-header .filter-section-label {
  margin: 0;
  flex-shrink: 0;
}

.filter-accordion-summary {
  flex: 1;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.filter-accordion-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.filter-accordion.is-open .filter-accordion-chevron {
  transform: rotate(180deg);
}

.filter-accordion.is-open .filter-accordion-header .filter-accordion-summary {
  color: var(--rbo-reverie-blue);
}

.filter-accordion-body {
  padding-bottom: 28px;
}

.filter-subsection {
  margin-top: 24px;
}

.filter-section-label-sub {
  font-size: 15px;
}

.filter-drawer-footer {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  padding: 24px 50px 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--rbo-ivory);
}

.filter-drawer-footer .btn {
  flex: 1;
  min-height: 84px;
  font-size: 24px;
  padding: 0 24px;
}

/* ---- Gown Detail ---- */
/* Carousel fills the whole screen; the sheet is a bottom overlay on top of
   it, collapsed to a peek strip by default so the photo dominates -- only
   its own attribute grid scrolls internally when expanded, the screen
   itself never scrolls as a whole. */
.detail-screen {
  position: absolute;
  inset: 0;
  background: var(--rbo-ivory);
  overflow: hidden;
}

.detail-carousel {
  position: absolute;
  inset: 0;
  background: var(--surface-lavender);
  overflow: hidden;
  /* Our own JS handles left/right swipe -- without this, a touch starting
     near the left edge (where the prev arrow sits, 24px in) can get read by
     the browser/OS as an edge-swipe "back" gesture and swallowed before it
     ever reaches our pointerdown/click handlers. */
  touch-action: none;
}

.detail-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--rbo-gold);
  color: var(--rbo-reverie-blue);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel-arrow-left { left: 24px; }
.carousel-arrow-right { right: 24px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 270px; /* clears the detail-sheet's collapsed peek strip (~248px tall) */
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 1;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(52, 79, 98, 0.35);
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--rbo-gold);
}

/* Bottom sheet: collapsed to just the handle by default (the carousel
   behind it dominates the screen), tapping the handle reveals the
   attribute grid. The try-on button stays visible in both states -- it's
   the primary action, not something worth burying behind a tap. */
.detail-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--rbo-ivory);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -10px 30px rgba(20, 30, 40, 0.15);
  display: flex;
  flex-direction: column;
  /* Fixed px, not vh -- #stage is a fixed 1080x1920 canvas scaled down as a
     whole by fitStage() (see kiosk.js), so vh here would resolve against
     the real browser viewport instead of this design's own coordinate
     space and come out wildly wrong. */
  max-height: 1400px;
}

.detail-sheet-handle {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 70px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.detail-sheet-summary {
  flex: 1;
  min-width: 0;
}

.detail-sheet-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.detail-sheet.is-open .detail-sheet-chevron {
  transform: rotate(180deg);
}

.detail-action {
  flex: 0 0 auto;
  padding: 0 70px 28px;
}

.detail-action .btn {
  width: 100%;
}

.detail-action-btn {
  font-size: 24px;
  text-transform: none;
  letter-spacing: 0.01em;
  white-space: normal;
  line-height: 1.3;
  padding: 20px 40px;
}

.detail-eyebrow {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.detail-heading {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--text-display);
  margin: 6px 0 0;
  font-weight: 600;
  line-height: 1.2;
}

.detail-price {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 500;
}

.detail-meta-wrap {
  flex: 0 1 auto;
  overflow-y: auto;
  max-height: 0;
  padding: 0 70px;
  transition: max-height 0.25s ease;
}

.detail-sheet.is-open .detail-meta-wrap {
  max-height: 600px; /* fixed px, same reasoning as .detail-sheet's own max-height */
  padding: 0 70px 40px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  padding-top: 8px;
}

.detail-meta-label {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.detail-meta-value {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--text-display);
  margin: 6px 0 0;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgba(52, 79, 98, 0.25);
  border-radius: 6px;
}

/* ---- Idle screen ---- */
.idle-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: pointer;
}

.idle-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1600ms ease, transform 7000ms ease;
}

.idle-photo.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.idle-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 52, 64, 0.35), rgba(34, 52, 64, 0.82));
}

.idle-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 90px;
  color: #fff;
}

.idle-logo {
  width: 520px;
  margin-bottom: 60px;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.25));
}

.idle-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.idle-heading {
  font-family: var(--font-display);
  font-size: 104px;
  line-height: 1.02;
  color: #fff;
  margin: 26px 0 0;
  font-weight: 600;
}

.idle-heading em {
  font-style: italic;
}

.idle-body {
  font-family: var(--font-body);
  font-size: 30px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-top: 30px;
  line-height: 1.5;
}

.idle-prompt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.idle-prompt-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: kpulse 2.2s ease-in-out infinite;
}

.idle-prompt-label {
  font-family: var(--font-body);
  font-size: 24px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

@keyframes kpulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 0.5; }
}

/* ---- Temporary stub for the next screen (Home Menu is a separate build) ---- */
.stub-screen {
  position: absolute;
  inset: 0;
  background: var(--rbo-reverie-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  padding: 0 90px;
}

.stub-screen h2 {
  font-family: var(--font-display);
  font-size: 56px;
  color: #fff;
  margin: 0;
}

.stub-screen p {
  font-family: var(--font-body);
  font-size: 26px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
}

.stub-back {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rbo-reverie-blue);
  background: var(--rbo-gold);
  border: none;
  border-radius: var(--radius-pill);
  padding: 24px 48px;
  cursor: pointer;
}
