/* SpaceHub homepage v2 — light selling body under dark hero */

.shv-main {
  --shv-bg: #ffffff;
  --shv-bg-soft: #fafafa;
  --shv-text: #121212;
  --shv-muted: #5c5c5c;
  --shv-gold: var(--sh-accent, #c9a962);
  --shv-gold-ink: var(--sh-accent-ink, #121212);
  --sh-accent-rgb: 201, 169, 98;
  --shv-violet: #6b4cff;
  --shv-card: #ffffff;
  --shv-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shv-radius: 18px;
  --shv-max: 1120px;
  --shv-pad-y: clamp(36px, 4vw, 56px);
  position: relative;
  background: var(--shv-bg);
  color: var(--shv-text);
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

.shv-main *,
.shv-main *::before,
.shv-main *::after {
  box-sizing: border-box;
}

.shv-main h1,
.shv-main h2,
.shv-main h3,
.shv-main p,
.shv-main ol,
.shv-main ul {
  margin: 0;
  padding: 0;
}

.shv-main a {
  color: inherit;
  text-decoration: none;
}

.shv-wrap {
  width: min(var(--shv-max), calc(100% - 40px));
  margin: 0 auto;
}

.shv-section {
  padding: var(--shv-pad-y) 0;
}

.shv-section.is-off,
.shv-section[hidden] {
  display: none !important;
}

.shv-venues,
.shv-facts,
.shv-how,
.shv-final {
  background: var(--shv-bg);
}

.shv-occasions,
.shv-gallery,
.shv-photohub {
  background: var(--shv-bg-soft);
}

.shv-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: center;
}

.shv-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--shv-text);
}

.shv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shv-btn--primary {
  background: var(--shv-gold);
  color: var(--shv-gold-ink);
  box-shadow: 0 8px 24px rgba(var(--sh-accent-rgb, 201, 169, 98), 0.28);
}

.shv-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--sh-accent-rgb, 201, 169, 98), 0.35);
}

/* ── Venues: 5 in one row on desktop ── */
.shv-venues__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.shv-venue {
  display: flex;
  flex-direction: column;
  background: var(--shv-card);
  border-radius: var(--shv-radius);
  box-shadow: var(--shv-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

.shv-venue:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.shv-venue__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eaeaea;
}

.shv-venue__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#venues .shv-venue[href="andromeda/"] .shv-venue__media img {
  object-position: 50% 72%;
}

.shv-venue__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shv-venue__name {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.shv-venue__cap {
  font-size: 12px;
  font-weight: 600;
  color: var(--shv-muted);
}

.shv-venue__line {
  font-size: 12px;
  color: var(--shv-muted);
  line-height: 1.35;
}

/* ── Occasions ── */
.shv-occasions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shv-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 18px;
  text-align: center;
  background: var(--shv-card);
  border-radius: var(--shv-radius);
  box-shadow: var(--shv-shadow);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shv-chip:hover {
  transform: translateY(-3px);
  border-color: var(--shv-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.shv-chip.is-active {
  border-color: var(--shv-gold);
  background: #fffef5;
  box-shadow: 0 8px 22px rgba(var(--sh-accent-rgb, 201, 169, 98), 0.25);
}

.shv-venue.is-filtered-out {
  display: none !important;
}

.shv-venues__filter-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--shv-muted);
}

.shv-venues__filter-note.is-off {
  display: none !important;
}

/* ── Facts ── */
.shv-facts {
  padding-top: calc(var(--shv-pad-y) * 0.7);
  padding-bottom: calc(var(--shv-pad-y) * 0.7);
}

.shv-facts__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 16px;
  text-align: center;
}

.shv-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shv-fact__n {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--shv-text);
}

.shv-fact__l {
  font-size: 13px;
  font-weight: 500;
  color: var(--shv-muted);
  text-transform: lowercase;
}

/* ── How ── */
.shv-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  position: relative;
}

.shv-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 76, 255, 0.35), transparent);
  pointer-events: none;
}

.shv-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.shv-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(107, 76, 255, 0.28);
  color: var(--shv-violet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.shv-step__t {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.shv-step__d {
  font-size: 14px;
  color: var(--shv-muted);
}

.shv-how__cta {
  margin-top: 40px;
  text-align: center;
}

/* ── PhotoHub attribution ── */
.shv-photohub {
  position: relative;
  padding: clamp(48px, 7vw, 80px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(var(--sh-accent-rgb, 201, 169, 98), 0.18), transparent 58%),
    linear-gradient(180deg, #f4f4f2 0%, #ecece8 100%);
}

.shv-photohub::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 18, 18, 0.12), transparent);
}

.shv-photohub__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.shv-photohub__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shv-muted);
}

.shv-photohub__brand {
  position: relative;
  display: inline-block;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--shv-text);
  transition: color 0.2s ease;
}

.shv-photohub__brand::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -6px;
  height: 3px;
  border-radius: 2px;
  background: var(--shv-gold);
  transform: scaleX(0.72);
  transform-origin: center;
  transition: transform 0.25s ease, left 0.25s ease, right 0.25s ease;
}

.shv-photohub__brand:hover,
.shv-photohub__brand:focus-visible {
  color: #000;
}

.shv-photohub__brand:hover::after,
.shv-photohub__brand:focus-visible::after {
  left: 0;
  right: 0;
  transform: scaleX(1);
}

.shv-photohub__brand:focus-visible {
  outline: 2px solid var(--shv-text);
  outline-offset: 8px;
}

.shv-photohub__sub {
  margin-top: 8px;
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.45;
  color: var(--shv-muted);
}

@media (prefers-reduced-motion: reduce) {
  .shv-photohub__brand,
  .shv-photohub__brand::after {
    transition: none;
  }
}

/* ── Final CTA ── */
.shv-final__inner {
  position: relative;
  text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 40px);
  border-radius: 24px;
  background: var(--shv-bg-soft);
  overflow: hidden;
}

.shv-final__accent {
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(107, 76, 255, 0.55), var(--shv-gold), transparent);
}

.shv-final .shv-title {
  max-width: 18em;
  margin: 0 auto 28px;
}

.shv-final__ways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.shv-way {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shv-shadow);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.shv-way:hover {
  transform: translateY(-2px);
}

.shv-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--shv-violet);
}

/* ── Footer ── */
.shv-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 36px;
}

.shv-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.shv-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
}

.shv-footer__logo {
  width: 120px;
  height: auto;
}

.shv-footer__brand p {
  font-size: 13px;
  line-height: 1.5;
}

.shv-footer__legal {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 420px;
}

.shv-footer__legal p + p {
  margin-top: 6px;
}

.shv-footer__legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 1100px) and (min-width: 901px) {
  .shv-venues .shv-wrap {
    width: min(100% - 32px, 1200px);
  }

  .shv-venues__track {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .shv-venues__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .shv-occasions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shv-facts__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .shv-fact__n {
    font-size: clamp(18px, 4.6vw, 28px);
  }

  .shv-fact__l {
    font-size: 11px;
    line-height: 1.25;
  }

  .shv-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shv-steps::before {
    display: none;
  }

  .shv-step {
    text-align: left;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: start;
  }

  .shv-step__n {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .shv-wrap {
    width: min(var(--shv-max), calc(100% - 32px));
  }

  .shv-venues__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    margin-inline: -16px;
    padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .shv-venue {
    flex: 0 0 min(52vw, 200px);
    scroll-snap-align: start;
  }

  .shv-venue__media {
    aspect-ratio: 16 / 10;
  }

  .shv-venue__body {
    padding: 10px 12px 12px;
  }

  .shv-final__ways {
    flex-direction: column;
    align-items: stretch;
  }

  .shv-way,
  .shv-btn {
    width: 100%;
  }
}
