/* Guest photos use the existing hero's floating-card composition. */
.wv-photo[hidden],
.wv-photo [hidden],
.wv-photo-actions[hidden],
.wv-photo-actions [hidden] { display: none !important; }

.wv-photo-sr-only,
.wv-photo-status:not([data-error="true"]),
.wv-photo-variant > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wv-photo-visit .wv-page-home .wv-hero-stack { display: none; }
.wv-photo-visit .wv-page-home .wv-hero {
  padding-top: 32px;
  padding-bottom: 40px;
  scroll-margin-top: var(--nav-h);
}
.wv-photo {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  justify-self: center;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.wv-photo-layout { min-width: 0; }
.wv-photo-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  isolation: isolate;
}
.wv-photo-card,
.wv-photo-variant {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-0);
  box-shadow: var(--shadow-card);
  translate: 0 0;
  scale: 1;
  transition: translate 200ms var(--ease-out-expo), scale 200ms var(--ease-out-expo), box-shadow 200ms var(--ease-out-expo), border-color 200ms ease;
}
.wv-photo-preview {
  top: 4%;
  left: 26%;
  width: 50%;
  z-index: 3;
  transform: rotate(-6deg);
  animation: hero-float-c1 9s ease-in-out infinite;
}
.wv-photo-card img,
.wv-photo-variant img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.wv-photo-variants {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wv-photo-variant {
  width: 43%;
  min-width: 48px;
  min-height: 48px;
  pointer-events: auto;
  touch-action: manipulation;
}
.wv-photo-variant:not([data-slot]) { display: none; }
.wv-photo-variant[data-slot="1"] {
  top: 12%;
  left: 2%;
  z-index: 2;
  transform: rotate(5deg);
  animation: hero-float-c2 10s ease-in-out infinite;
}
.wv-photo-variant[data-slot="2"] {
  top: 14%;
  right: 0;
  z-index: 1;
  transform: rotate(7deg);
  animation: hero-float-c3 11s ease-in-out infinite;
}
.wv-photo-variant:focus-visible {
  z-index: 8;
  animation-play-state: paused;
  translate: 0 -8px;
  scale: 1.035;
  border-color: var(--brand-gold);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}
.wv-photo-preview[role="button"] { cursor: pointer; touch-action: manipulation; }
.wv-photo-preview:focus-visible {
  z-index: 8;
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
  animation-play-state: paused;
}
@media (hover: hover) {
  .wv-photo-card:hover,
  .wv-photo-variant:hover {
    z-index: 8;
    animation-play-state: paused;
    translate: 0 -8px;
    scale: 1.035;
    border-color: var(--brand-gold-soft);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  }
}
.wv-photo[data-photo-count="1"] .wv-photo-preview { left: 25%; }
.wv-photo-layout--empty .wv-photo-stack { display: none; }
.wv-photo[data-state="missing"] .wv-photo-stack { display: none; }
.wv-photo[data-state="missing"] :is(#your-photo-title, #your-photo-intro) {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}
.wv-photo[data-state="missing"] #your-photo-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.wv-photo[data-state="missing"] #your-photo-intro {
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* Photo downloads sit beneath the cards, separate from the marketing actions. */
.wv-photo-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  max-width: 100%;
}
.wv-photo-cta {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
  color: #160a00;
  box-shadow: var(--shadow-gold);
}
.wv-photo-cta .wv-photo-save {
  min-height: 52px;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  background: transparent;
  box-shadow: none;
}
.wv-photo-cta .wv-photo-save:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transform: none;
}
.wv-photo-cta--single .wv-photo-save,
.wv-photo-cta:has(.wv-photo-menu-toggle[hidden]) .wv-photo-save { border-radius: var(--radius-pill); }
.wv-photo-cta--single .wv-photo-menu-toggle { display: none; }
.wv-photo-menu-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  min-width: 48px;
  min-height: 52px;
  padding: 0 14px;
  border-left: 1px solid rgba(22, 10, 0, 0.2);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  color: inherit;
  touch-action: manipulation;
  transition: background 200ms ease;
}
.wv-photo-menu-toggle:hover,
.wv-photo-menu-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.16); }
.wv-photo-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  min-width: 220px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.wv-photo-source {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  color: var(--text);
  text-align: left;
  font-size: 0.875rem;
  touch-action: manipulation;
}
.wv-photo-source:hover { background: var(--glass-strong); }
.wv-photo-actions button:disabled { cursor: wait; opacity: 0.55; }
.wv-photo-actions .wv-photo-save:disabled { transform: none; }
.wv-photo-actions .wv-photo-save svg,
.wv-photo-actions .wv-photo-save:hover svg { flex: 0 0 auto; transform: none; }
.wv-photo-status[data-error="true"] {
  max-width: 360px;
  margin: 0;
  color: var(--danger);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.wv-photo-retry,
.wv-photo-back {
  display: flex;
  align-items: center;
  min-height: 48px;
  width: fit-content;
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wv-photo-retry { color: var(--brand-gold); }
.wv-photo-retry:hover,
.wv-photo-back:hover { color: var(--brand-gold-soft); }
.wv-photo :is(a, button):focus-visible,
.wv-photo-actions :is(a, button):focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .wv-photo-visit .wv-page-home .wv-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .wv-photo-visit .wv-hero-copy { order: 1; }
  .wv-photo-visit .wv-photo { order: 0; align-self: center; }
}
@media (max-width: 600px) {
  .wv-photo-visit .wv-page-home .wv-hero { padding-top: 8px; padding-bottom: 32px; }
  .wv-photo-preview { top: 5%; }
  .wv-photo-card,
  .wv-photo-variant { border-radius: var(--radius-md); }
  .wv-photo-cta .wv-photo-save { min-height: 52px; padding: 13px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .wv-photo *, .wv-photo *::before, .wv-photo *::after,
  .wv-photo-actions *, .wv-photo-actions *::before, .wv-photo-actions *::after {
    animation: none !important;
    transition: none !important;
  }
  .wv-photo-card:hover,
  .wv-photo-variant:hover,
  .wv-photo-variant:focus-visible { translate: 0 0; scale: 1; }
}
