/* ==========================================================================
   Section: Redesign Hero
   ========================================================================== */

.section-redesign-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1e1e1c;
  color: #ffffff;

  --rdh-header-offset: 101px;
  --rdh-ticker-offset: 64px;
  --rdh-space-top: 90px;
  --rdh-space-bottom: 90px;
  --rdh-row-gap: 40px;
  --rdh-stage-height: 460px;
}

.section-redesign-hero {
  padding-top: var(--rdh-header-offset);
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */

.rdh-container {
  /* Intentionally static so .rdh-stage (absolute) anchors to the section,
     not the centered grid container, and can bleed to the viewport edge. */
  display: grid;
  align-items: center;
  padding-top: var(--rdh-space-top);
  padding-bottom: var(--rdh-space-bottom);
  min-height: calc(100svh - var(--rdh-header-offset) - var(--rdh-ticker-offset));
}

.rdh-row {
  width: 100%;
  row-gap: var(--rdh-row-gap);
  align-items: center;
}

.rdh-content-cell,
.rdh-stage-cell {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Left: headline + tagline
   -------------------------------------------------------------------------- */

.rdh-content {
  max-width: 720px;
}

.rdh-headline {
  color: inherit;
  margin: 0 0 28px;
  font-family: Rethink Sans;
  font-weight: 800;
  font-style: ExtraBold;
  font-size: 60px;
  line-height: 54.97px;
  letter-spacing: 0%;
}

.rdh-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body, 'Geist'), sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
  transition: opacity var(--duration-fast, 150ms) ease;
}

.rdh-tagline--link:hover,
.rdh-tagline--link:focus-visible {
  opacity: 1;
  outline: none;
}

.rdh-tagline__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}

.rdh-tagline__arrow svg {
  display: block;
  width: 10px;
  height: 12px;
}

.rdh-tagline--link:hover .rdh-tagline__arrow {
  transform: translateX(3px);
}

.rdh-description {
  margin: 55px 0 0;
  color: inherit;
  font-family: Geist;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 22px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

/* --------------------------------------------------------------------------
   Right: single product image (full-bleed on the right side)
   -------------------------------------------------------------------------- */

.rdh-stage-cell {
  position: relative;
}

.rdh-stage {
  position: relative;
  width: 100%;
  height: var(--rdh-stage-height);
  overflow: hidden;
}

.rdh-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Stage becomes the section's full-bleed background image at every
   breakpoint; headline + tagline sit on top with a gradient overlay
   for readability. Gradient direction shifts at small viewports so the
   text stays legible when content stacks vertically. */
.rdh-content-cell {
  position: relative;
  z-index: 2;
}

.rdh-stage-cell {
  position: static;
  min-height: var(--rdh-stage-height);
}

.rdh-stage {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 1;
}

.rdh-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 30, 28, 0.92) 0%, rgba(30, 30, 28, 0.7) 30%, rgba(30, 30, 28, 0.25) 55%, rgba(30, 30, 28, 0) 75%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media screen and (max-width: 1199px) {
  .section-redesign-hero {
    --rdh-space-top: 70px;
    --rdh-space-bottom: 70px;
    --rdh-stage-height: 400px;
  }
}

@media screen and (max-width: 1023px) {
  .section-redesign-hero {
    --rdh-space-top: 56px;
    --rdh-space-bottom: 56px;
    --rdh-row-gap: 32px;
    --rdh-stage-height: 360px;
  }
}

@media screen and (max-width: 767px) {
  .section-redesign-hero {
    --rdh-space-top: 40px;
    --rdh-space-bottom: 48px;
    --rdh-stage-height: 0px;
  }

  .rdh-content {
    max-width: 100%;
  }

  .rdh-headline {
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 20px;
  }

  .rdh-description {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.4;
  }

  .rdh-tagline {
    font-size: 15px;
  }
}

@media screen and (max-width: 639px) {
  .section-redesign-hero {
    --rdh-header-offset: 80px;
    --rdh-ticker-offset: 52px;
    --rdh-space-top: 28px;
    --rdh-space-bottom: 36px;
    --rdh-row-gap: 24px;
    --rdh-stage-height: 0px;
  }

  /* Stage cell collapses (min-height 0); the absolute-positioned stage
     inside still anchors to the section and fills it edge-to-edge. */
  .rdh-stage-cell {
    min-height: 0;
    padding: 0;
  }

  /* Stronger overlay on small screens — gradient runs through the
     full image since text sits across the whole hero, not just left. */
  .rdh-stage::after {
    background: linear-gradient(180deg, rgba(30, 30, 28, 0.85) 0%, rgba(30, 30, 28, 0.6) 45%, rgba(30, 30, 28, 0.78) 100%);
  }

  .rdh-headline {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .rdh-description {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
  }
}

@media screen and (max-width: 379px) {
  .rdh-headline {
    font-size: 30px;
  }

  .rdh-description {
    font-size: 15px;
  }
}
