/* ============================================
   Customer success — hero section.
   Dark bg + financial-themed waves illustration. Two-column
   split: logo (left, narrow glass frame) + content (right, wide).
   On mobile (≤900px) collapses to single column with the logo as
   a glass strip above the content.
   ============================================ */

.gs-cs-hero {
  background-color: var(--color-bg-dark);
  background-image: url('https://www.giantswarm.io/hubfs/Illustrations/gs23-lp-bg-financial.svg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  /* Same 9rem top as homepage hero — fixed transparent header
     overlays the top, content needs room to breathe under it. */
  padding: 9rem 1.5rem 6rem;
}

.gs-cs-hero__inner {
  max-width: var(--content-frame);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: 3rem;
  align-items: center;
}

/* Logo container — glass-effect square frame matching the homepage
   .gs-customer-logos--card / --pill recipe. Aspect-ratio 1/1 keeps
   the frame square at any size. */
.gs-cs-hero__logo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2rem;
  aspect-ratio: 1 / 1;
  max-width: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.gs-cs-hero__logo img {
  width: 100%;
  height: auto;
  display: block;
  /* Mono-white via filter. For multi-color logos, override to
     filter: none on a per-instance basis. */
  filter: brightness(0) invert(1);
}

/* Two-part kicker line: page type · industry. */
.gs-cs-hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gs-cs-hero__kicker-type {
  /* "Customer Story" link back to the customers index. Stays
     white (not blue) — exception to the two-accent rule for
     breadcrumb context. */
  color: #fff;
  font-weight: var(--weight-bold);
  text-decoration: none;
}

a.gs-cs-hero__kicker-type:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gs-cs-hero__kicker-sep {
  color: var(--color-fg-muted-on-dark);
  opacity: 0.5;
}

.gs-cs-hero__kicker-industry {
  color: var(--color-fg-muted-on-dark);
}

.gs-cs-hero__title {
  font-size: var(--text-h2);    /* visually h2-sized though it's an h1 */
  color: #fff;
  line-height: var(--leading-tight);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.gs-cs-hero__lede {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  /* Hero stacks: logo above content. */
  .gs-cs-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  /* Mobile logo = glass-effect strip. Full-width within the hero's
     1.5rem horizontal padding. Capped at 480px so it doesn't span
     full tablet width — keeps it readable as a brand panel rather
     than a banner. Left-aligned so the brand panel anchors to the
     same edge as the kicker + headline. */
  .gs-cs-hero__logo {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    aspect-ratio: auto;
    max-width: 480px;
    width: 100%;
    padding: 1.5rem 1.5rem;
  }
  .gs-cs-hero__logo img {
    height: 36px;
    width: auto;
  }

  .gs-cs-hero__kicker { font-size: 0.75rem; }
}

@media (max-width: 767px) {
  .gs-cs-hero { padding: 7rem 1.5rem 3rem; }
}
