/* /case-snapshots/ only (pages_existing.case_page_layout): hero with a channel illustration and brand logos,
   and the introduction above the case cards. Uses the shared tokens from vz-modern.css. */

/* ---- hero: text 46%, visual 54%, less vertical space */
.m-hero--cases { padding: 28px 20px 44px; }
.m-hero--cases .m-hero-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: 48px; }
.m-hero--cases h1 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 16px; }
.m-hero--cases .m-lead { margin-bottom: 14px; max-width: 540px; }
.m-hero--cases .m-lead + .m-lead { font-size: 16px; margin-bottom: 24px; }

/* ---- channel illustration (schematic; no client creative) */
.cs-visual { margin: 0; }
.cs-stage { position: relative; aspect-ratio: 16 / 10; }
.cs-stage b { display: block; height: 8px; border-radius: 4px; background: #e6deef; }
.cs-stage b.s { width: 62%; }
.cs-chip { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--m-purple);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(28, 11, 51, .12); white-space: nowrap; }
.cs-slot { position: relative; border-radius: 10px; background: linear-gradient(135deg, #812e77, #5b2a9a 55%, #d6338f); overflow: hidden; }
.cs-slot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 20%, rgba(255, 255, 255, .28), transparent 60%); }

.cs-browser { position: absolute; left: 0; top: 0; width: 74%; border-radius: 16px; background: #fff; border: 1px solid var(--m-line);
  box-shadow: 0 18px 44px rgba(28, 11, 51, .12); overflow: hidden; }
.cs-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--m-line); background: #faf7fd; }
.cs-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e2d6ee; }
.cs-bar span { flex: 1; height: 8px; margin-left: 10px; border-radius: 4px; background: #efe8f6; }
.cs-page { padding: 14px; display: grid; gap: 12px; }
.cs-slot--leader { height: 62px; }
.cs-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
.cs-copy { display: grid; gap: 9px; padding-top: 4px; }
.cs-slot--mpu { aspect-ratio: 6 / 5; }

.cs-tv { position: absolute; right: 0; top: 6%; width: 40%; }
.cs-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; border: 6px solid #1c0b33;
  background: radial-gradient(70% 90% at 30% 30%, #5b2a9a, #1c0b33); box-shadow: 0 18px 40px rgba(28, 11, 51, .25); }
.cs-play { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.cs-play::after { content: ""; position: absolute; left: 15px; top: 11px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #812e77; }
.cs-stand { display: block; width: 30%; height: 8px; margin: 0 auto; border-radius: 0 0 6px 6px; background: #1c0b33; }

.cs-phone { position: absolute; right: 9%; bottom: 0; width: 25%; aspect-ratio: 9 / 17; border-radius: 22px; border: 6px solid #1c0b33; background: #fff;
  box-shadow: 0 20px 44px rgba(28, 11, 51, .28); overflow: hidden; }
.cs-notch { display: block; width: 40%; height: 7px; margin: 5px auto 0; border-radius: 4px; background: #1c0b33; }
.cs-feed { display: grid; gap: 8px; padding: 10px 9px; }
.cs-slot--feed { aspect-ratio: 1 / 1; margin: 2px 0; }
.cs-phone .cs-chip { left: 6px; top: 6px; }

/* ---- logos of brands with a published snapshot */
.cs-brands { margin-top: 22px; }
.cs-brands-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m-muted); }
.cs-brands ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cs-brands li { display: flex; align-items: center; justify-content: center; height: 48px; padding: 6px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--m-line); }
.cs-brands img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---- introduction above the cards (inside the card section's container) */
.vz-case-list > .e-con-inner { padding-top: 56px !important; }
.vz-case-intro { box-sizing: border-box; width: 100%; max-width: 800px; margin: 0 0 32px; padding: 0 20px; }   /* same inset as the card grid */
.vz-case-intro h2 { margin: 0 0 12px; font-family: var(--vz-head); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--m-ink); }
.vz-case-intro p { margin: 0 0 8px; font-size: 17px; line-height: 1.6; color: var(--m-muted); }
.vz-case-intro .vz-case-intro-sub { font-size: 15px; }

@media (max-width: 1024px) {
  .m-hero--cases .m-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .m-hero--cases .m-hero-visual { max-width: 640px; }
  .cs-brands ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .m-hero--cases { padding: 18px 16px 36px; }
  .cs-chip { font-size: 10px; padding: 2px 7px; }
  .cs-phone { border-width: 4px; border-radius: 16px; }
  .cs-screen { border-width: 4px; }
  .vz-case-list > .e-con-inner { padding-top: 40px !important; }
  .vz-case-intro { margin-bottom: 24px; }
  .vz-case-intro p { font-size: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cs-browser, .cs-tv, .cs-phone { animation: cs-in .6s ease-out both; }
  .cs-tv { animation-delay: .12s; }
  .cs-phone { animation-delay: .24s; }
  @keyframes cs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
