/* Street-snap landing hero and local refinements.
   Vendor discovery intentionally uses category-vendor-browser.css so its
   Mapbox/list contract stays identical to the current category pages. */
:root {
  --ss-accent: #b84d28;
  --ss-accent-deep: #8f3519;
  --ss-accent-soft: #fbe9df;
  --ss-ink: #111827;
  --ss-muted: #667085;
  --ss-line: #e8ded7;
  --ss-shadow: 0 24px 70px rgba(72, 37, 20, .13);
}

.streetsnap-page {
  overflow: clip;
  background: #fbfbfc;
}

.ss-container {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.ss-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 46px;
  background:
    radial-gradient(circle at 5% 10%, rgba(244, 192, 157, .28), transparent 29%),
    radial-gradient(circle at 94% 20%, rgba(255, 223, 190, .35), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #fbf5f0 100%);
}

.ss-hero::before {
  position: absolute;
  inset: auto -8% -55% 34%;
  height: 520px;
  border: 1px solid rgba(184, 77, 40, .08);
  border-radius: 50%;
  content: "";
  transform: rotate(-6deg);
  pointer-events: none;
}

.ss-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(620px, 1.28fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.ss-hero-copy {
  max-width: 520px;
  padding-left: 18px;
}

.ss-eyebrow {
  margin: 0 0 13px;
  color: var(--ss-accent);
  font: 800 12px/1.3 'Space Mono', ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ss-hero h1 {
  max-width: 520px;
  margin: 0;
  color: var(--ss-ink);
  font-size: clamp(40px, 4vw, 59px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.ss-hero-lead {
  max-width: 510px;
  margin: 21px 0 0;
  color: var(--ss-muted);
  font-size: 14px;
  line-height: 1.7;
}

.ss-primary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  border-radius: 12px;
  background: var(--ss-accent);
  box-shadow: 0 12px 25px rgba(184, 77, 40, .24);
  padding: 13px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  transition: background .18s ease, transform .18s ease;
}

.ss-primary:hover {
  background: var(--ss-accent-deep);
  transform: translateY(-1px);
}

.ss-primary:focus-visible,
.ss-shot-tab:focus-visible {
  outline: 3px solid rgba(184, 77, 40, .35);
  outline-offset: 3px;
}

.ss-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 21px;
}

.ss-trust span {
  border: 1px solid #eadbd2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  padding: 7px 10px;
  color: #536075;
  font-size: 11px;
  font-weight: 750;
}

.ss-director {
  min-width: 0;
}

.ss-camera-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: #121619;
  box-shadow: var(--ss-shadow);
  padding: 10px;
}

.ss-camera-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px 0 9px;
  color: rgba(255, 255, 255, .68);
  font: 700 9px/1 'Space Mono', ui-monospace, monospace;
  letter-spacing: .1em;
}

.ss-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ss-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b53;
  box-shadow: 0 0 0 4px rgba(255, 107, 83, .12);
  animation: ss-live-pulse 2.2s ease-in-out infinite;
}

.ss-shot-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  overflow: hidden;
  border-radius: 15px;
  background: #d7d0ca;
  isolation: isolate;
}

.ss-shot-stage::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #fff;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.ss-shot-stage.is-switching::after {
  animation: ss-shutter .34s ease-out;
}

.ss-shot-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity .22s ease, transform .45s ease, object-position .45s ease;
}

.ss-shot-stage[data-shot="story"] .ss-shot-photo {
  object-position: 56% 50%;
}

.ss-shot-stage[data-shot="portrait"] .ss-shot-photo {
  object-position: 50% 27%;
  transform: scale(1);
}

.ss-shot-stage[data-shot="place"] .ss-shot-photo {
  object-position: 48% 55%;
  transform: scale(1.01);
}

.ss-frame-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .32;
  pointer-events: none;
}

.ss-frame-grid i {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 1px rgba(0, 0, 0, .25);
}

.ss-frame-grid i:nth-child(1),
.ss-frame-grid i:nth-child(2) {
  top: 0;
  bottom: 0;
  width: 1px;
}

.ss-frame-grid i:nth-child(1) { left: 33.333%; }
.ss-frame-grid i:nth-child(2) { left: 66.666%; }

.ss-frame-grid i:nth-child(3),
.ss-frame-grid i:nth-child(4) {
  right: 0;
  left: 0;
  height: 1px;
}

.ss-frame-grid i:nth-child(3) { top: 33.333%; }
.ss-frame-grid i:nth-child(4) { top: 66.666%; }

.ss-focus-mark {
  position: absolute;
  left: 66.666%;
  top: 45%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 4px;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  transition: left .4s ease, top .4s ease;
}

.ss-shot-stage[data-shot="portrait"] .ss-focus-mark { left: 50%; top: 40%; }
.ss-shot-stage[data-shot="place"] .ss-focus-mark { left: 70%; top: 48%; }

.ss-focus-mark::before,
.ss-focus-mark::after {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  content: "";
}

.ss-focus-mark::before { left: 50%; top: -8px; width: 1px; height: 62px; }
.ss-focus-mark::after { left: -8px; top: 50%; width: 62px; height: 1px; }

.ss-director-cue {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: min(350px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 13px;
  background: rgba(20, 22, 24, .72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  padding: 12px 14px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.ss-director-cue > span {
  color: rgba(255, 255, 255, .68);
  font: 700 8px/1.2 'Space Mono', ui-monospace, monospace;
  letter-spacing: .11em;
}

.ss-director-cue strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.35;
}

.ss-director-cue p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 10px;
  line-height: 1.5;
}

.ss-shot-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding-top: 9px;
}

.ss-shot-tab {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #1c2125;
  padding: 10px;
  color: rgba(255, 255, 255, .67);
  text-align: left;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.ss-shot-tab:hover { border-color: rgba(255, 255, 255, .34); }

.ss-shot-tab.is-active {
  border-color: rgba(255, 148, 104, .65);
  background: #2b211d;
  color: #fff;
}

.ss-tab-number {
  color: #e99570;
  font: 700 9px/1 'Space Mono', ui-monospace, monospace;
}

.ss-mode-label {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ss-preview-note {
  margin: 10px 4px 0;
  color: #7b6d65;
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

/* Keep Mapbox controls and the advertiser price pair legible in the shared
   five-card browser without changing any other category page. */
.category-vendor-explorer {
  --category-accent: var(--ss-accent);
  border-top: 1px solid #eee7e1;
  background: #fff;
}

.category-vendor-explorer .category-vendor-intro {
  max-width: 940px;
}

.category-vendor-explorer .category-vendor-intro h2 {
  text-wrap: balance;
}

.category-vendor-explorer #partnerMap { min-height: 0; }
.category-vendor-explorer #partnerMap .mapboxgl-ctrl-bottom-left,
.category-vendor-explorer #partnerMap .mapboxgl-ctrl-bottom-right { bottom: 6px; }

.category-vendor-explorer .pc-studio-fx-price {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: var(--ss-accent);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-vendor-explorer .pc-studio-review-count { color: #69738a; font-weight: 500; }

@keyframes ss-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .42; }
}

@keyframes ss-shutter {
  0% { opacity: 0; }
  35% { opacity: .62; }
  100% { opacity: 0; }
}

@media (max-width: 1180px) {
  .ss-container { width: min(100% - 32px, 1000px); }
  .ss-hero-grid { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 30px; }
  .ss-hero-copy { padding-left: 0; }
  .ss-hero h1 { font-size: 42px; }
  .ss-shot-stage { min-height: 330px; }
  .category-vendor-explorer .pc-studio-name {
    display: -webkit-box;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .category-vendor-explorer .pc-studio-fx-price { font-size: 9px; }
}

@media (max-width: 900px) {
  .ss-hero { padding: 30px 0 38px; }
  .ss-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ss-hero-copy { max-width: 680px; text-align: center; margin-inline: auto; }
  .ss-hero h1, .ss-hero-lead { max-width: 680px; }
  .ss-trust { justify-content: center; }
  .ss-director { width: min(100%, 820px); margin-inline: auto; }
}

@media (max-width: 760px) {
  .ss-container { width: calc(100% - 24px); }
  .ss-hero { padding: 22px 0 30px; }
  .ss-hero-grid { gap: 21px; }
  .ss-eyebrow { margin-bottom: 9px; font-size: 10px; }
  .ss-hero h1 { font-size: 36px; line-height: 1.06; }
  .ss-hero-lead { margin-top: 15px; font-size: 12.5px; line-height: 1.65; }
  .ss-primary { width: min(100%, 280px); margin-top: 20px; }
  .ss-trust { margin-top: 16px; gap: 6px; }
  .ss-trust span { padding: 6px 8px; font-size: 9.5px; }
  .ss-camera-shell { border-radius: 18px; padding: 7px; }
  .ss-camera-bar { min-height: 32px; font-size: 8px; }
  .ss-shot-stage { min-height: 0; aspect-ratio: 4 / 3; border-radius: 12px; }
  .ss-shot-stage[data-shot="portrait"] .ss-shot-photo { object-position: 50% 25%; }
  .ss-director-cue { right: 9px; bottom: 9px; width: calc(100% - 18px); padding: 9px 11px; }
  .ss-director-cue strong { font-size: 12px; }
  .ss-director-cue p { font-size: 9px; }
  .ss-shot-tabs { gap: 5px; padding-top: 7px; }
  .ss-shot-tab { grid-template-columns: 1fr; gap: 3px; padding: 8px 7px; text-align: center; }
  .ss-tab-number { font-size: 7.5px; }
  .ss-mode-label { font-size: 8.5px; }
  .ss-preview-note { margin-top: 7px; font-size: 8.5px; text-align: center; }
  .category-vendor-explorer .pc-studio-name {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .category-vendor-explorer .pc-studio-fx-price { font-size: 9px; }
}

@media (max-width: 390px) {
  .ss-hero h1 { font-size: 33px; }
  .ss-shot-stage { aspect-ratio: 1 / 1; }
  .ss-shot-stage[data-shot="portrait"] .ss-shot-photo { object-position: 50% 24%; }
  .ss-focus-mark { width: 38px; height: 38px; }
  .ss-focus-mark::before { top: -6px; height: 50px; }
  .ss-focus-mark::after { left: -6px; width: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .ss-live i { animation: none; }
  .ss-shot-photo, .ss-primary, .ss-shot-tab { transition: none; }
  .ss-shot-stage.is-switching::after { animation: none; }
}
