/* ==========================================================================
   UGC subpage — extends style.css with the few pieces the homepage lacks.
   Everything else (nav, bands, cards, buttons, specs, reveals) is inherited.
   ========================================================================== */

/* ---- Hero ---- */
/* Single column and centred: there is no product photo to balance a split
   layout here, and a lone column of text pinned left reads as unfinished. */
.ugc-hero {
  padding-top: clamp(6rem, 13vw, 8.5rem);
  text-align: center;
}

.ugc-hero-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.ugc-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.028em; /* tightest tracking sits on the largest type */
  text-wrap: balance;
}

.ugc-lead {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.38;
  letter-spacing: 0.004em;
  color: var(--text-dim);
}

.ugc-hero-actions { margin-top: 2rem; }

/* The shared spec strip is built for the homepage's five figures; this page
   has four, which would otherwise leave an empty fifth column on the right. */
.ugc-hero .spec-strip { grid-template-columns: repeat(4, 1fr); }

/* ---- Case studies ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.case-card {
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

/* Vertical frame, matching the aspect the finished videos ship in.
   Deliberately a step darker than --bg-alt: the card sits on a --bg-alt band,
   so reusing that token would make the whole upper half of the card vanish. */
.case-thumb {
  aspect-ratio: 3 / 4;
  background: #e8e8ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-thumb-label {
  font-size: 0.8125rem;
  letter-spacing: 0.008em;
  color: var(--text-faint);
}

.case-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body { padding: 1.5rem; }

.case-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.125rem 0.625rem;
  border-radius: 980px;
  background: var(--bg-alt);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.case-title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin-bottom: 0.375rem;
}

.case-text {
  font-size: 0.9375rem;
  line-height: 1.47;
  color: var(--text-dim);
}

.case-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.002em;
  color: var(--accent);
}

/* ---- Ablauf ----
   Numbered because the steps are a real sequence: the briefing has to
   happen before the shoot, and the shoot before delivery. */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46rem;
}

.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.step-list .step:last-child { border-bottom: 1px solid var(--border); }

.step-num {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}

.step-title {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin-bottom: 0.375rem;
}

.step-text {
  font-size: 1rem;
  line-height: 1.47;
  color: var(--text-dim);
  max-width: 34rem;
}

/* ---- Booking block sits on the grey band here ---- */
.section--alt.section-booking .booking-contact-line a { color: var(--link); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  /* Four figures fold to 2×2, so the divider belongs on the right column only.
     style.css puts it on child 4 for its own five-item strip — reset first. */
  .ugc-hero .spec-strip { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
  .ugc-hero .spec { border-left: 1px solid var(--border); }
  .ugc-hero .spec:nth-child(odd) { border-left: none; }
}

@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 2.5rem 1fr; padding: 1.5rem 0; }
}
