/* Attraction cards: photographic covers, jade-red titles and warm glass tips.
   Keep every selector scoped: specialties have their own material and typography. */
.spot--attraction {
  --spot-radius: 22px;
  position: relative;
  isolation: isolate;
  min-width: 0;
  scroll-margin-top: 82px;
  border-radius: var(--spot-radius);
  perspective: 1500px;
  color: #e2e3e4;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
.spot--attraction .spot-stage {
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.spot--attraction .spot-rotor {
  position: relative;
  display: grid;
  min-width: 0;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  transform: rotateY(var(--spot-turn, 0deg));
}
/* The photograph sets a portrait minimum; complete copy may grow the card. */
.spot--attraction .spot-rotor::before {
  content: '';
  grid-area: 1 / 1;
  min-width: 0;
  aspect-ratio: 357 / 530;
  pointer-events: none;
}
.spot--attraction .spot-face {
  position: relative;
  grid-area: 1 / 1;
  min-width: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #101214;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 8px 18px rgb(16 18 20 / 12%);
}
.spot--attraction .spot-face::before {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 241 215 / 26%), inset 0 1px 1px rgb(255 255 255 / 48%), inset 0 -1px 1px rgb(0 0 0 / 35%);
  pointer-events: none;
}
/* Restore the muted foil reflection removed during the branch integration. */
.spot--attraction .spot-glare,
.spot--specialty .spot-glare {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--spot-sheen, 0);
  background: linear-gradient(115deg, transparent 20%, rgb(255 240 210 / 8%) 45%, rgb(255 255 255 / 16%) 49%, transparent 70%), radial-gradient(ellipse at var(--spot-gx, 50%) var(--spot-gy, 30%), rgb(255 246 223 / 13%), transparent 65%);
  transition: opacity .45s ease-out;
}
.spot--attraction .spot-back .spot-glare { opacity: calc(var(--spot-sheen, 0) * .2); }
.spot--attraction .spot-front { display: none; background: #858e86; }
.spot--attraction.spot--no-photo .spot-front { background: #2e4640; }
.spot--attraction .spot-back { display: flex; }
.spot--attraction[data-ready] .spot-front { display: flex; align-items: flex-end; }
.spot--attraction[data-ready] .spot-back { transform: rotateY(180deg); }
.spot--attraction .spot-photo,
.spot--attraction .spot-back-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.spot--attraction .spot-front::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgb(10 12 14 / 15%) 57%, rgb(10 12 14 / 86%) 100%);
  pointer-events: none;
  content: '';
}
.spot--attraction .spot-front-caption { position: relative; z-index: 1; width: 100%; padding: 28px; }
.spot--attraction h3 {
  margin: 0;
  font: 600 24px/1.18 'Inter', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.spot--attraction .spot-front h3 { color: #fff; text-shadow: 0 2px 10px rgb(0 0 0 / 24%); }
.spot--attraction .spot-hint { display: block; color: #c8cace; font: 400 12px/1.5 'Inter', ui-sans-serif, system-ui, sans-serif; }
.spot--attraction .spot-front .spot-hint { margin-top: 16px; }
.spot--attraction .spot-back-photo { transform: scaleX(-1); filter: saturate(.55) contrast(1.04); opacity: .78; }
.spot--attraction .spot-back::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,.99) 0%, rgba(16,18,20,.94) 13%, rgba(16,18,20,.83) 28%, rgba(16,18,20,.65) 44%, rgba(16,18,20,.25) 56%, rgba(16,18,20,.64) 76%, rgba(16,18,20,.95) 92%, #101214 100%);
  pointer-events: none;
  content: '';
}
.spot--attraction .spot-back-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 28px;
}
.spot--attraction .spot-back h3 { color: #c04851; }
.spot--attraction .spot-description { margin: 0; color: #e2e3e4; font: 400 15.5px/1.65 'Inter', ui-sans-serif, system-ui, sans-serif; text-wrap: pretty; }
.spot--attraction .spot-tip {
  margin: auto 0 0;
  padding: 16px;
  border: 1px solid rgba(237,195,174,.32);
  border-radius: 12px;
  background-color: rgba(31,25,23,.52);
  background-image: linear-gradient(135deg, rgba(237,195,174,.13), rgba(251,236,222,.035) 65%);
  -webkit-backdrop-filter: blur(16px) saturate(.85);
  backdrop-filter: blur(16px) saturate(.85);
  box-shadow: inset 0 1px 0 rgba(251,236,222,.08);
}
.spot--attraction .spot-tip-label { display: block; margin-bottom: 8px; color: #edc3ae; font: 600 13px/1.4 'Inter', ui-sans-serif, system-ui, sans-serif; }
.spot--attraction .spot-tip p { margin: 0; color: #fbecde; font: 400 14px/1.65 'Inter', ui-sans-serif, system-ui, sans-serif; text-wrap: pretty; }
.spot--attraction .spot-return { margin-top: auto; }
.spot--attraction .spot-tip + .spot-return { margin-top: 0; }
.spot--attraction .spot-toggle {
  display: none;
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
  -webkit-tap-highlight-color: transparent;
}
.spot--attraction[data-ready] .spot-toggle { display: block; }
.spot--attraction .spot-toggle:focus-visible { outline: 3px solid #c04851; outline-offset: 5px; }
.spot--attraction .spot-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .spot--attraction .spot-front-caption,
  .spot--attraction .spot-back-content { padding: 24px; }
  .spot--attraction h3 { font-size: 22px; }
  .spot--attraction .spot-tip { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot--attraction .spot-glare,
  .spot--specialty .spot-glare { display: none; }
  .spot--attraction .spot-stage,
  .spot--attraction .spot-rotor,
  .spot--attraction .spot-face { transform: none !important; }
  .spot--attraction .spot-stage { transition: none; }
  .spot--attraction[data-ready]:not([data-flipped]) .spot-back,
  .spot--attraction[data-ready][data-flipped] .spot-front { visibility: hidden; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .spot--attraction .spot-tip { background: #302824; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #edc3ae; }
}
@media print {
  .spot--attraction { break-inside: avoid; perspective: none; }
  .spot--attraction .spot-stage,
  .spot--attraction .spot-rotor,
  .spot--attraction .spot-face { transform: none !important; }
  .spot--attraction .spot-front,
  .spot--attraction .spot-glare,
  .spot--attraction .spot-toggle,
  .spot--attraction .spot-back-photo,
  .spot--attraction .spot-back::after,
  .spot--attraction .spot-return { display: none !important; }
  .spot--attraction .spot-back { visibility: visible !important; background: #fff; box-shadow: none; }
  .spot--attraction .spot-back h3,
  .spot--attraction .spot-description,
  .spot--attraction .spot-tip-label,
  .spot--attraction .spot-tip p { color: #222; }
  .spot--attraction .spot-tip { background: none; backdrop-filter: none; }
}
