/* =========================================================
   Reserve — booking flow (form → processing → confirmed → ticket)
   Loaded after reserve.css; overrides a few of its rules.
   ========================================================= */

/* ---------- wrapper + floating calendar badge ---------- */
.rsv__wrap { position: relative; padding-top: 44px; }
.rsv__card { padding-top: clamp(64px, 6vw, 76px); }

.rsv__badge {
  position: absolute;
  left: 50%; top: 44px;
  width: 220px; height: 80px;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease .5s, transform 1s cubic-bezier(.34, 1.4, .64, 1) .5s;
}
.rsv.is-in .rsv__badge { opacity: 1; }
.rsv__badge-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rsv__badge-orbit ellipse { fill: none; stroke: rgba(247, 196, 124, .55); stroke-width: 1; filter: drop-shadow(0 0 4px rgba(247, 196, 124, .7)); }
.rsv__badge-moon { fill: #ffd9a0; filter: drop-shadow(0 0 5px #f7c47c); }
.rsv__badge-core {
  position: relative;
  width: 78px; height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #b56cff, #6512d6 60%, #3a0a85);
  box-shadow: 0 0 0 2px rgba(220, 170, 255, .55), 0 0 0 8px rgba(140, 60, 255, .14), 0 0 34px rgba(160, 70, 255, .9);
  animation: fbFloat 5s ease-in-out infinite;
}
.rsv__badge-core svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rsv__badge-tick { stroke: #f7c47c; stroke-dasharray: 10; stroke-dashoffset: 10; transition: stroke-dashoffset .6s ease 1.2s; }
.rsv.is-in .rsv__badge-tick { stroke-dashoffset: 0; }

/* ---------- title (sans, gradient accent word, as in the reference) ---------- */
.rsv__title {
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.02em;
  line-height: 1.1;
  text-shadow: none;
}
.rsv__grad {
  background: linear-gradient(100deg, #e6b8ff, #b86bff 45%, #f7c47c 55%, #b86bff 70%, #e6b8ff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: fbGrad 6s ease-in-out infinite;
}
.rsv__when { color: #e9e1f5; }

/* ---------- fields: brighter rims like the reference ---------- */
.rfield__box { background: rgba(16, 6, 32, .55); border-color: rgba(200, 150, 255, .3); height: 54px; border-radius: 14px; }
.rfield[data-field="name"] .rfield__icon { stroke: #f7c47c; }

/* ---------- submit with an oval halo around it ---------- */
.rsv__submit-wrap {
  position: relative;
  display: inline-block;
  margin-top: clamp(22px, 2.6vw, 30px);
  padding: 10px 22px;
}
.rsv__submit-wrap::before, .rsv__submit-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
}
.rsv__submit-wrap::before {                 /* soft glowing oval */
  background: radial-gradient(closest-side, rgba(150, 60, 255, .35), transparent);
  filter: blur(6px);
}
.rsv__submit-wrap::after {                  /* thin rotating rim */
  padding: 1px;
  background: conic-gradient(from var(--sang, 0deg), transparent 0 60%, rgba(220, 170, 255, .9) 75%, rgba(247, 196, 124, .9) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .8;
  animation: fbRim 4s linear infinite;
}
.rsv__submit { margin-top: 0; min-width: min(100%, 320px); }
.rsv__submit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 20px rgba(220, 170, 255, .9);
  animation: fbDot 1.8s ease-in-out infinite;
}
.rsv__submit.is-busy { pointer-events: none; filter: saturate(.8) brightness(.95); }

.rsv__formerr {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: 13.5px;
  color: #ff9cc6;
  opacity: 0;
  transition: max-height .3s, opacity .3s, margin .3s;
}
.rsv__formerr.is-shown { max-height: 60px; opacity: 1; margin-top: 14px; }

/* ---------- stage: panels swap with an animated height ---------- */
.rsv__stage {
  position: relative;
  transition: height .55s var(--ease, ease);
}
.rsv__stage.is-animating { overflow: hidden; }
.rpanel[hidden] { display: none; }
.rpanel--center { text-align: center; padding: 8px 0 4px; }
.rpanel.is-leaving { animation: fbOut .32s ease forwards; }
.rpanel.is-entering { animation: fbIn .6s var(--ease, ease) both; }

.rpanel__h {
  margin: 22px 0 0;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  color: #f7f3fb;
  outline: none;
}
.rpanel__h--big { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
.rpanel__sub {
  margin: 8px 0 0;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: clamp(14px, 1.2vw, 15.5px);
  color: #d6cbe6;
}

/* ---------- processing ---------- */
.rproc { position: relative; width: 132px; height: 132px; margin: 6px auto 0; }
.rproc__ring { width: 100%; height: 100%; overflow: visible; }
.rproc__track { fill: rgba(30, 10, 60, .6); stroke: rgba(190, 130, 255, .18); stroke-width: 6; }
.rproc__arc {
  fill: none;
  stroke: url(#rprocGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 28 72;
  transform-origin: 60px 60px;
  filter: drop-shadow(0 0 8px rgba(190, 110, 255, .9));
  animation: fbSpin 1.1s linear infinite, fbArc 2.2s ease-in-out infinite;
}
.rproc__bolt {
  position: absolute;
  left: 50%; top: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  fill: url(#rprocGrad);
  fill: #c98bff;
  filter: drop-shadow(0 0 10px rgba(200, 130, 255, .95));
  animation: fbBolt 1.4s ease-in-out infinite;
}
.rproc__dots { display: inline-flex; gap: 10px; margin-top: 20px; }
.rproc__dots i { width: 8px; height: 8px; border-radius: 50%; background: #b46bff; opacity: .35; animation: fbDots 1.2s ease-in-out infinite; }
.rproc__dots i:nth-child(2) { animation-delay: .15s; }
.rproc__dots i:nth-child(3) { animation-delay: .3s; }

/* ---------- confirmed ---------- */
.rdone__badge { position: relative; width: 116px; height: 116px; margin: 4px auto 0; }
.rdone__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, #5a16b8, #2a0860 70%) padding-box,
    conic-gradient(from 200deg, #7ad7ff, #b46bff, #f7c47c, #b46bff, #7ad7ff) border-box;
  border: 3px solid transparent;
  box-shadow: 0 0 30px rgba(160, 80, 255, .8), 0 0 70px rgba(120, 50, 255, .45);
}
.rpanel.is-entering .rdone__ring { animation: fbPop .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.rdone__badge svg { position: absolute; inset: 22%; width: 56%; height: 56%; overflow: visible; }
.rdone__badge path {
  fill: none;
  stroke: #fff;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .7));
}
.rpanel.is-entering .rdone__badge path { animation: fbDraw .6s ease .35s both; }
.rdone__star {
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  background: #f3d9ff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px #c98bff);
  transform: translate(var(--x), var(--y)) scale(var(--s));
  animation: fbTwinkle 2.4s ease-in-out infinite;
}
.rdone__star:nth-of-type(2n) { animation-delay: -1.2s; background: #ffe2b0; }
.rpanel.is-entering .rdone__star { animation: fbBurst .8s cubic-bezier(.2, .8, .3, 1) both, fbTwinkle 2.4s ease-in-out .8s infinite; }

.rdone__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(200, 150, 255, .3);
  background: rgba(20, 8, 40, .55);
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: 14.5px;
  color: #efe8f8;
}
.rdone__pill svg, .rtix__row svg, .rtix__btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rdone__pill svg { stroke: #d6b3ff; }
.rdone__code { margin: 10px 0 0; font-family: var(--sans, "Inter", system-ui, sans-serif); font-size: 13.5px; color: #b9abcc; letter-spacing: .02em; }
.rdone__code strong { color: #f7c47c; font-weight: 600; letter-spacing: .06em; }

.rsv__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(180deg, #a447ff, #7012e6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 26px rgba(138, 23, 255, .55);
  transition: filter .3s, box-shadow .3s, transform .35s var(--ease, ease);
}
.rsv__btn > * { position: relative; z-index: 1; }
.rsv__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease, ease); }
.rsv__btn:hover, .rsv__btn:focus-visible { filter: brightness(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 5px rgba(170, 90, 255, .18), 0 12px 36px rgba(160, 60, 255, .75); outline: none; }
.rsv__btn:hover svg { transform: translateX(4px); }

/* ---------- reservation ticket ---------- */
.rpanel[data-panel="ticket"] { text-align: left; }
.rtix__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rtix__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  color: #f7f3fb;
  outline: none;
}
.rtix__title svg { width: 30px; height: 30px; fill: #c98bff; filter: drop-shadow(0 0 8px rgba(200, 130, 255, .9)); animation: fbTwinkle 3s ease-in-out infinite; }
.rtix__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: 14px;
  color: #7ff0a8;
  background: rgba(30, 120, 70, .18);
  border: 1px solid rgba(120, 240, 170, .35);
}
.rtix__status i { width: 8px; height: 8px; border-radius: 50%; background: #3ee07f; box-shadow: 0 0 0 0 rgba(62, 224, 127, .6); animation: fbLive 1.8s ease-out infinite; }
.rtix__body {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(200, 150, 255, .16);
}
.rtix__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #6d22d9, #1d0640 75%);
  box-shadow: 0 0 0 1px rgba(200, 150, 255, .3), 0 10px 30px rgba(0, 0, 0, .45);
}
.rtix__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.05); transition: transform .8s var(--ease, ease); }
.rtix__thumb:hover img { transform: scale(1.12); }
.rtix__event { margin: 0 0 10px; font-family: var(--sans, "Inter", system-ui, sans-serif); font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: #f7f3fb; letter-spacing: -.01em; }
.rtix__row { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; font-family: var(--sans, "Inter", system-ui, sans-serif); font-size: 15px; color: #e3d9f0; }
.rtix__row svg { stroke: #c9a6f5; }
.rtix__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.rtix__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 500;
  font-size: 14.5px;
  color: #efe8f8;
  background: rgba(24, 9, 46, .55);
  border: 1px solid rgba(200, 150, 255, .32);
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease, ease), color .3s;
}
.rtix__btn--accent { color: #dcb6ff; }
.rtix__btn:hover, .rtix__btn:focus-visible { background: rgba(110, 40, 210, .35); border-color: rgba(220, 170, 255, .65); box-shadow: 0 0 22px rgba(160, 70, 255, .45); transform: translateY(-2px); outline: none; color: #fff; }
.rtix__btn:active { transform: translateY(0) scale(.97); }
.rtix__btn:hover svg { animation: fbNudge .5s var(--ease, ease); }
.rtix__btn.is-done { border-color: rgba(120, 240, 170, .55); color: #9ff0c4; }
.rpanel.is-entering .rtix__body, .rpanel.is-entering .rtix__actions > * { animation: fbIn .6s var(--ease, ease) both; }
.rpanel.is-entering .rtix__body { animation-delay: .1s; }
.rpanel.is-entering .rtix__actions > :nth-child(1) { animation-delay: .2s; }
.rpanel.is-entering .rtix__actions > :nth-child(2) { animation-delay: .28s; }
.rpanel.is-entering .rtix__actions > :nth-child(3) { animation-delay: .36s; }

/* steps: completed state */
.rstep.is-done .rstep__num { background: radial-gradient(circle at 35% 30%, #c98bff, #7a1fe6); border-color: rgba(247, 196, 124, .8); color: #fff; }

/* ---------- keyframes ---------- */
@property --sang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes fbRim     { to { --sang: 360deg; } }
@keyframes fbFloat   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fbGrad    { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes fbDot     { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .6; } }
@keyframes fbOut     { to { opacity: 0; transform: translateY(-10px) scale(.98); filter: blur(3px); } }
@keyframes fbIn      { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fbSpin    { to { transform: rotate(360deg); } }
@keyframes fbArc     { 0%, 100% { stroke-dasharray: 18 82; } 50% { stroke-dasharray: 46 54; } }
@keyframes fbBolt    { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; } 50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; } }
@keyframes fbDots    { 0%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes fbPop     { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fbDraw    { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes fbTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fbBurst   { from { transform: translate(0, 0) scale(0); opacity: 0; } to { transform: translate(var(--x), var(--y)) scale(var(--s)); opacity: 1; } }
@keyframes fbLive    { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 127, .6); } 100% { box-shadow: 0 0 0 8px rgba(62, 224, 127, 0); } }
@keyframes fbNudge   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .rsv__submit-wrap { display: block; padding: 8px 0; }
  .rsv__submit-wrap::after { display: none; }
  .rtix__body { grid-template-columns: 1fr; }
  .rtix__thumb { max-width: 260px; }
  .rtix__actions { grid-template-columns: 1fr; }
  .rtix__head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .rsv__badge, .rsv__badge * , .rsv__submit-wrap::after, .rsv__grad, .rpanel, .rpanel * { animation: none !important; }
  .rsv__badge { opacity: 1 !important; }
  .rsv__badge-tick { stroke-dashoffset: 0 !important; }
  .rsv__stage { transition: none; }
  .rproc__arc { animation: fbSpin 1.1s linear infinite !important; }   /* keep a busy indicator */
}

/* =========================================================
   Two-column layout: compact form card (left) + image (right)
   ========================================================= */
.rsv__inner { max-width: 1220px; }
.rsv__layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.rsv__wrap { min-width: 0; }

/* compact card */
.rsv__card { padding: clamp(56px, 5vw, 64px) clamp(18px, 3vw, 36px) clamp(22px, 2.4vw, 28px); border-radius: 24px; }
.rsv__title { font-size: clamp(28px, 2.8vw, 38px); }
.rsv__when { font-size: clamp(14px, 1.15vw, 16px); margin-top: 8px; }
.rsv__form { margin-top: clamp(18px, 2vw, 24px); }
.rsv__grid { gap: 12px; }
.rfield__box { height: 50px; padding-left: 14px; }
.rfield input, .rfield select { font-size: 14.5px; }
.rsv__submit-wrap { margin-top: 18px; padding: 8px 18px; }
.rsv__submit { padding: 15px 28px; font-size: clamp(15px, 1.3vw, 17px); min-width: min(100%, 300px); }
.rsv__note { margin-top: 10px; font-size: 13px; }
.rsv__steps { margin-top: 22px; }
.rstep__label { font-size: 12.5px; }
.rtix__body { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.rtix__actions { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.rtix__btn { height: 44px; font-size: 13px; gap: 6px; padding: 0 8px; }

/* right-side image with the orbits around it */
.rsv__art {
  position: relative;
  min-width: 0;
  aspect-ratio: 1441 / 1092;
  transform: translate3d(var(--ax, 0px), var(--ay, 0px), 0);
  transition: transform .8s var(--ease, ease);
}
.rsv__art .rsv__orbits { width: 125%; }
.rsv__art-glow {
  position: absolute;
  left: 50%; top: 45%;
  width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 110, 255, .45), rgba(120, 40, 230, .2) 45%, transparent 70%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 1.2s ease .6s;
  pointer-events: none;
}
.rsv.is-in .rsv__art-glow { opacity: 1; animation: fbArtGlow 5s ease-in-out 2s infinite; }
.rsv__art-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateX(40px) scale(.95);
  transition: opacity 1.2s var(--ease, ease) .4s, transform 1.4s var(--ease, ease) .4s;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.rsv.is-in .rsv__art-img { opacity: 1; transform: none; animation: fbArtFloat 7s ease-in-out 2s infinite; }
@keyframes fbArtGlow  { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .85; } 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }
@keyframes fbArtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .rsv__layout { grid-template-columns: 1fr; justify-items: center; }
  .rsv__wrap { width: min(100%, 600px); }
  .rsv__art { width: min(100%, 440px); }
}
@media (prefers-reduced-motion: reduce) {
  .rsv__art-img, .rsv__art-glow { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* =========================================================
   Contact form + portrait side by side
   ========================================================= */
.rsv__layout { grid-template-columns: minmax(0, 640px) minmax(0, 480px); justify-content: center; align-items: center; gap: clamp(24px, 4vw, 56px); }
.rsv__photo {
  --ax: 0px; --ay: 0px;
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 900 / 842;
  border: 1px solid rgba(220, 170, 255, .35);
  box-shadow: 0 0 0 1px rgba(170, 90, 255, .12), 0 0 50px rgba(140, 50, 255, .45), 0 30px 70px rgba(0, 0, 0, .55);
  transform: translate3d(var(--ax), var(--ay), 0);
  transition: transform .8s var(--ease, ease), box-shadow .4s;
  opacity: 0;
  translate: 40px 0;
  scale: .96;
}
.rsv.is-in .rsv__photo { opacity: 1; translate: 0 0; scale: 1; transition: opacity 1.1s var(--ease, ease) .4s, translate 1.3s var(--ease, ease) .4s, scale 1.3s var(--ease, ease) .4s, transform .8s var(--ease, ease), box-shadow .4s; }
.rsv__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease, ease); }
.rsv__photo:hover { box-shadow: 0 0 0 1px rgba(247, 196, 124, .35), 0 0 70px rgba(170, 80, 255, .6), 0 30px 70px rgba(0, 0, 0, .55); }
.rsv__photo:hover img { transform: scale(1.04); }
.rsv__photo-shine {                         /* light sweeping across every few seconds */
  position: absolute;
  top: 0; bottom: 0; left: -45%;
  width: 35%;
  background: linear-gradient(105deg, transparent, rgba(255, 240, 220, .22), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.rsv.is-in .rsv__photo-shine { animation: rpShine 6s ease-in-out 2s infinite; }
@keyframes rpShine { 0%, 65% { left: -45%; } 100% { left: 130%; } }

@media (max-width: 960px) {
  .rsv__layout { grid-template-columns: minmax(0, 600px); }
  .rsv__photo { width: min(100%, 460px); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rsv__photo { opacity: 1 !important; translate: none !important; scale: none !important; transition: none !important; }
  .rsv__photo-shine { animation: none !important; }
}

/* cut-out version: no frame, glow behind, bottom edge fades into the page */
.rsv__photo--cutout {
  aspect-ratio: 900 / 1073;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  align-self: end;
}
.rsv__photo--cutout:hover { box-shadow: none; }
.rsv__photo--cutout img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  filter: drop-shadow(0 0 24px rgba(170, 80, 255, .35));
}
/* no hover effect on the cut-out portrait: same look with or without the cursor */
.rsv__photo--cutout:hover img { transform: none; filter: drop-shadow(0 0 24px rgba(170, 80, 255, .35)); }
.rsv__photo--cutout, .rsv__photo--cutout:hover { box-shadow: none; background: none; }
.rsv__photo-aura {                          /* pulsing purple/gold light behind the zodiac halo */
  position: absolute;
  left: 50%; top: 40%;
  width: 95%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 140, .22), rgba(150, 60, 255, .3) 40%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}
.rsv.is-in .rsv__photo-aura { animation: rpAura 6s ease-in-out 1.5s infinite; }
.rsv.is-in .rsv__photo--cutout img { animation: rpFloat 7s ease-in-out 1.8s infinite; }
@keyframes rpAura  { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .8; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }
@keyframes rpFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .rsv__photo-aura, .rsv__photo--cutout img { animation: none !important; } }

/* ---------- submit button on phones: one clean line ---------- */
.rsv__submit-label { white-space: nowrap; }
@media (max-width: 640px) {
  .rsv__submit-wrap { padding-left: 0; padding-right: 0; }
  .rsv__submit { padding: 14px 18px; gap: 8px; font-size: 15.5px; min-width: 0; width: 100%; }
}
@media (max-width: 400px) {
  .rsv__submit { font-size: 14.5px; padding: 13px 14px; }
  .rsv__submit-dot { display: none; }
  .rsv__submit-arrow { width: 18px; height: 18px; }
}
