/* =========================================================
   Spatial Hero V2.1 — Entry
   Exhibit frame with rupture corners + geometric CTA
========================================================= */
.sv-spatial-entry__select {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Frame: spatial plane, not product card */
.sv-spatial-entry__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6e5df;
  border: 1px solid rgba(38, 50, 58, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 18px 42px rgba(20, 28, 34, 0.08);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.sv-spatial-entry__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 720ms var(--sv-ease);
}

.sv-spatial-entry__image--desktop { display: block; }
.sv-spatial-entry__image--mobile { display: none; }

.sv-spatial-entry__frame-border {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.sv-spatial-entry__frame-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 38%,
    rgba(20, 28, 34, 0.06) 100%
  );
  pointer-events: none;
}

/* Index + corner rupture on media */
.sv-spatial-entry__image-index {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 2;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sv-spatial-entry__select-indicator {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(30, 40, 46, 0.18);
  backdrop-filter: blur(8px);
  transition: background 260ms, transform 260ms;
}

.sv-spatial-entry__indicator-line {
  position: absolute;
  width: 11px;
  height: 1px;
  background: #fff;
  transform: translate(-2px, 1px) rotate(-45deg);
}

.sv-spatial-entry__indicator-arrow {
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(4px, -4px);
}

/* Content */
.sv-spatial-entry__content {
  position: relative;
  z-index: 6;
  margin-top: 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--sv-ease),
    transform 680ms var(--sv-ease-snap),
    visibility 500ms;
  pointer-events: none;
}

.sv-spatial-entry__content--mobile { display: none; }

.sv-spatial-entry__eyebrow {
  margin: 0 0 10px;
  color: var(--sv-muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sv-spatial-entry__title {
  margin: 0;
  color: var(--sv-ink);
  font-size: clamp(24px, 2.55vw, 36px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.032em;
}

.sv-spatial-entry__title-line { display: block; }

.sv-spatial-entry__description {
  max-width: 460px;
  margin: 12px 0 0;
  color: #5f6a72;
  font-size: 13.5px;
  line-height: 1.7;
}

/* Geometric rule under description */
.sv-spatial-entry__content-inner::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(30, 40, 46, 0.45), transparent);
}

/* CTA — rupture corners, not rounded ecommerce button */
.sv-spatial-entry__cta {
  position: relative;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 176px;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(30, 40, 46, 0.5);
  color: var(--sv-ink);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
  transition: background 260ms, border-color 260ms, color 260ms;
}

.sv-spatial-entry__cta-index {
  color: var(--sv-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.sv-spatial-entry__cta-label {
  flex: 1;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sv-spatial-entry__cta-symbol {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform 280ms var(--sv-ease);
}

.sv-spatial-entry__cta-symbol::before {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 9px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: rotate(-45deg);
  transform-origin: right center;
}

.sv-spatial-entry__cta-symbol::after {
  position: absolute;
  top: 3px;
  right: 2px;
  width: 1px;
  height: 9px;
  background: currentColor;
  content: "";
}

.sv-spatial-entry__cta-symbol span {
  position: absolute;
  left: 2px;
  bottom: 3px;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

@media (hover: hover) {
  .sv-spatial-entry__select:hover .sv-spatial-entry__image {
    transform: scale(1.028);
  }
  .sv-spatial-entry__select:hover .sv-spatial-entry__select-indicator {
    background: rgba(30, 40, 46, 0.72);
    transform: translate(2px, -2px);
  }
  .sv-spatial-entry__cta:hover {
    background: rgba(30, 40, 46, 0.06);
    border-color: rgba(30, 40, 46, 0.85);
  }
  .sv-spatial-entry__cta:hover .sv-spatial-entry__cta-symbol {
    transform: translate(3px, -2px);
  }
}

@media (max-width: 767px) {
  .sv-spatial-entry__image--desktop { display: none; }
  .sv-spatial-entry__image--mobile { display: block; }
  .sv-spatial-entry__frame {
    aspect-ratio: 4 / 5;
    clip-path: polygon(
      0 0,
      calc(100% - 10px) 0,
      100% 10px,
      100% 100%,
      10px 100%,
      0 calc(100% - 10px)
    );
  }
  .sv-spatial-entry__content { margin-top: 12px; }
  .sv-spatial-entry__content--desktop { display: none; }
  .sv-spatial-entry__content--mobile { display: block; }
  .sv-spatial-entry__title { font-size: clamp(21px, 6vw, 27px); }
  .sv-spatial-entry__description { font-size: 13px; }
  .sv-spatial-entry__cta {
    width: 100%;
    min-height: 44px;
  }
}
