/* Hero arc orbit — cold luxury, motion/react island */
.hp-hero--split {
  min-height: min(92vh, 92dvh);
  background: linear-gradient(135deg, #0b1220 0%, #0f172a 42%, #111827 100%);
  display: block;
  overflow: hidden;
}

.hp-hero--split .hp-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(92vh, 92dvh);
  max-width: 88rem;
  margin: 0 auto;
  padding: 5rem 1.25rem 2.5rem;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hp-hero--split .hp-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    padding: 4.5rem 2rem 3rem;
    gap: 2rem;
  }
}

.hp-hero--split .hp-hero__left {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .hp-hero--split .hp-hero__left {
    text-align: left;
    align-items: flex-start;
  }
}

.hp-hero--split .hp-hero__right {
  position: relative;
  min-height: 22rem;
  height: clamp(22rem, 52vh, 36rem);
  touch-action: pan-y;
}

@media (min-width: 1024px) {
  .hp-hero--split .hp-hero__right {
    min-height: 28rem;
    height: clamp(28rem, 68vh, 40rem);
  }
}

.hp-hero--split .hp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.hp-hero--split .hp-hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(11, 18, 32, 0.92) 0%,
    rgba(15, 23, 42, 0.55) 48%,
    rgba(15, 23, 42, 0.25) 100%
  );
}

.hp-hero--split .hp-hero__lead {
  margin-inline: 0;
  max-width: 32rem;
}

.hp-hero--split .hp-hero__actions,
.hp-hero--split .hp-search__tabs,
.hp-hero--split .hp-search__row {
  justify-content: center;
}

@media (min-width: 1024px) {
  .hp-hero--split .hp-hero__actions,
  .hp-hero--split .hp-search__tabs,
  .hp-hero--split .hp-search__row {
    justify-content: flex-start;
  }
}

.hp-hero--split .hp-hero__search {
  margin-inline: 0;
  width: 100%;
  max-width: 36rem;
}

@media (max-width: 767px) {
  .hp-hero--split .hp-hero__search {
    display: none;
  }
  .hp-hero--split .hp-hero__grid {
    padding-top: 5.25rem;
  }
}

.hero-arc {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  contain: layout style;
}

.hero-arc.is-dragging {
  cursor: grabbing;
}

.hero-arc__guide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.hero-arc__guide path {
  fill: none;
  stroke: rgba(212, 175, 55, 0.12);
  stroke-width: 1;
  stroke-dasharray: 6 10;
}

.hero-arc__glow {
  position: absolute;
  left: 8%;
  top: 38%;
  width: 42%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(24px);
}

.hero-arc__card {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity, filter;
  transform-origin: center center;
  pointer-events: auto;
}

.hero-arc__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #1e293b;
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-arc__frame.is-hovered {
  transform: scale(1.04);
}

.hero-arc__card:hover .hero-arc__frame {
  box-shadow:
    0 32px 64px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-arc__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-arc__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 42%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-arc__info {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1rem 1.1rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-arc__info.is-visible {
  opacity: 1;
  transform: none;
}

.hero-arc__info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-arc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-arc__meta span {
  color: #d4af37;
  font-weight: 700;
}

.hero-arc__meta em {
  font-style: normal;
  opacity: 0.85;
}

.hero-arc__transition {
  position: fixed;
  z-index: 99990;
  overflow: hidden;
  pointer-events: none;
  background: #0f172a;
}

.hero-arc__transition img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-arc--empty .hero-arc__placeholder {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.4));
  border: 1px dashed rgba(212, 175, 55, 0.2);
}

html.hero-arc-navigating {
  overflow: hidden;
}

.hero-arc-mount {
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-arc {
    cursor: default;
  }
  .hero-arc__guide path {
    opacity: 0.5;
  }
}

@media (max-width: 767px) {
  .hero-arc__card {
    transform-origin: center center;
  }
}
