/* SpotMySnap — Use cases (case-study layout) */

.uc {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── Hero (centered) ── */
.uc-hero {
  text-align: center;
  padding: 3.5rem 0 2.75rem;
  max-width: 40rem;
  margin: 0 auto;
}

.uc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.uc-hero__lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.uc-hero__stats {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0.35rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.uc-hero__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.65rem 1.5rem;
  position: relative;
}

.uc-hero__stats li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}

.uc-hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-text);
  line-height: 1.1;
}

.uc-hero__stats span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* ── Sticky filter nav ── */
.uc-nav {
  position: sticky;
  top: 4.25rem;
  z-index: 50;
  margin-bottom: 2.5rem;
}

.uc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.uc-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.uc-nav__tab {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}

.uc-nav__tab:hover {
  color: var(--ink);
  background: rgba(29, 107, 107, 0.06);
}

.uc-nav__tab:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.uc-nav__tab.is-active {
  color: #fff;
  background: var(--teal);
}

.uc-nav__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-subtle);
  padding-right: 0.75rem;
  white-space: nowrap;
}

/* ── Story sections ── */
.uc-stories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.uc-story {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.uc-story:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 107, 107, 0.15);
}

.uc-story[data-hidden="true"] {
  display: none;
}

/* Sports — filmstrip layout */
.uc-story--sports {
  display: flex;
  flex-direction: column;
}

.uc-story__filmstrip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
  background: var(--border);
  max-height: 20rem;
}

.uc-story__shot {
  margin: 0;
  overflow: hidden;
  min-height: 12rem;
}

.uc-story__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 450ms ease;
}

.uc-story--sports:hover .uc-story__shot img {
  transform: scale(1.02);
}

.uc-story__shot--hero {
  grid-row: span 1;
}

/* Split layout (image + panel) */
.uc-story--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.uc-story--reverse {
  direction: rtl;
}

.uc-story--reverse > * {
  direction: ltr;
}

.uc-story__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 18rem;
}

.uc-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 450ms ease;
}

.uc-story:hover .uc-story__media img {
  transform: scale(1.02);
}

.uc-story__media figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 0.85rem;
  background: linear-gradient(transparent, rgba(20, 24, 32, 0.75));
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Empty media placeholders */
.uc-story__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
}

.uc-story__media--weddings {
  background: linear-gradient(160deg, #fff5f3 0%, #fce8e4 40%, #f0d4cc 100%);
}

.uc-story__media--social {
  background: linear-gradient(160deg, #f0faf9 0%, #d4ecec 40%, #b8d8d8 100%);
}

.uc-story__media--festival {
  background: linear-gradient(160deg, #f5f3ff 0%, #e9e4ff 40%, #d4cbfd 100%);
}

.uc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-muted);
  opacity: 0.55;
}

.uc-empty span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Content panel */
.uc-story__panel {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uc-story--sports .uc-story__panel {
  padding: 2rem 2.25rem 2.25rem;
}

.uc-story__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.uc-story__head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.uc-story__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(29, 107, 107, 0.15);
  letter-spacing: -0.04em;
}

.uc-story h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.uc-story p {
  font-size: 0.93rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

/* Chips */
.uc-chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.uc-chip--teal { background: rgba(29, 107, 107, 0.1); color: var(--teal-text); }
.uc-chip--violet { background: rgba(91, 79, 199, 0.1); color: #5b4fc7; }
.uc-chip--coral { background: rgba(224, 99, 74, 0.1); color: var(--coral-text); }
.uc-chip--amber { background: rgba(180, 83, 9, 0.1); color: #b45309; }

.uc-chip--live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
}

.uc-chip--live::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.3rem;
  vertical-align: middle;
  animation: uc-live-pulse 2s ease-in-out infinite;
}

@keyframes uc-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Bullets */
.uc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.uc-bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.uc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* Sports inline stats */
.uc-story__stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.uc-story__stats-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.uc-story__stats-row span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-subtle);
}

/* CTA button */
.uc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.65rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--teal-text);
  background: rgba(29, 107, 107, 0.08);
  border: 1px solid rgba(29, 107, 107, 0.18);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, gap 200ms ease;
}

.uc-btn:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal-text);
  gap: 0.6rem;
}

.uc-btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ── Fit check ── */
.uc-check {
  margin-bottom: 3rem;
  text-align: center;
}

.uc-check h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.uc-check__lead {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.uc-check__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}

.uc-check__card {
  padding: 1.4rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.uc-check__card:hover {
  border-color: rgba(29, 107, 107, 0.2);
  box-shadow: var(--shadow-md);
}

.uc-check__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.6rem;
  border-radius: 10px;
  background: rgba(29, 107, 107, 0.1);
  color: var(--teal-text);
}

.uc-check__card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.uc-check__card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.use-cases-page .landing-cta-band {
  border-radius: var(--radius-lg);
}

.landing-nav a.is-active {
  color: var(--teal-text);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .uc-story--split,
  .uc-story--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .uc-story__filmstrip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 14rem 10rem;
    max-height: none;
  }

  .uc-story__shot--hero {
    grid-column: span 2;
    grid-row: 1;
  }

  .uc-check__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .uc-nav {
    display: none;
  }

  .uc-hero {
    padding-top: 2.25rem;
  }

  .uc-hero__stats {
    border-radius: var(--radius);
    flex-direction: column;
    width: 100%;
  }

  .uc-hero__stats li + li::before {
    display: none;
  }

  .uc-hero__stats li {
    width: 100%;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
  }

  .uc-hero__stats li:first-child {
    border-top: none;
  }

  .uc-story__panel {
    padding: 1.5rem;
  }

  .uc-story__head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .uc-story__head > div {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uc-chip--live::before {
    animation: none;
  }

  .uc-story:hover .uc-story__media img,
  .uc-story--sports:hover .uc-story__shot img {
    transform: none;
  }
}
