/**
 * Hello Home — "The Drum Channel Secret".
 *
 * White copy column on the left, photo panel on the right whose left edge is
 * cut on a diagonal. The panel runs to the right edge of the viewport rather
 * than stopping at the content column, so the cut has somewhere to go.
 */

/* Comp slant is polygon(clamp(80px,12vw,200px) 0, ...) on the panel. */
.hello-secret {
  --hello-pad-y: 0;
  --hello-pad-x: 0;
  /**
   * Full width, not the shared 1200px measure.
   *
   * This section is two panels that meet on a diagonal, and the right one is
   * a photograph that has to reach the edge of the band. Capped, the grid
   * stopped short on a stretched row and left a strip of page showing beside
   * the panel -- white, against a black panel, right where the button sits.
   *
   * The copy keeps its own padding (below), which is what holds the text off
   * the edge now that the column no longer does it.
   */
  --hello-width: 100%;
  --hello-slant: 12%;
}

.hello-secret .hello-widget__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
}

/* ---- copy --------------------------------------------------------------- */

.hello-secret__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px clamp(24px, 4vw, 64px) 72px clamp(20px, 4vw, 56px);
}

.hello-secret__steps {
  width: 100%;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.hello-secret__step {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.hello-secret__step:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.hello-secret__step-num {
  flex: 0 0 auto;
  min-width: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--hello-accent);
}

.hello-secret__step-text {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

/* ---- photo panel -------------------------------------------------------- */

.hello-secret__panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 64px clamp(24px, 4vw, 56px) 64px clamp(56px, 9vw, 130px);
  background: #000;
  color: #fff;
  /* Top-left corner pulled in by --hello-slant; bottom-left stays square. */
  -webkit-clip-path: polygon(var(--hello-slant) 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(var(--hello-slant) 0, 100% 0, 100% 100%, 0 100%);
}

.hello-secret__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hello-secret__overlay {
  position: relative; /* above the image */
  max-width: 540px;
}

.hello-secret__intro {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.hello-secret__line {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
}

/* Small word sitting on a short rule, between the two big lines. */
.hello-secret__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
}
.hello-secret__divider::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--hello-accent);
}

.hello-secret__attrib {
  margin: 22px 0 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}
.hello-secret__attrib .hello-widget__accent {
  color: #fff;
  font-weight: 700;
}

/* The panel's accent runs sit on a photo, so they go white rather than red. */
.hello-secret__line .hello-widget__accent {
  color: var(--hello-accent);
}

/* ---- mobile -------------------------------------------------------------
 * Stack, and drop the clip entirely: a diagonal that reads as deliberate
 * across two columns reads as a rendering fault across two stacked blocks.
 * ------------------------------------------------------------------------ */

@media (max-width: 899px) {
  .hello-secret .hello-widget__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hello-secret__copy {
    padding: 44px 24px 36px;
  }
  .hello-secret__steps {
    margin-bottom: 28px;
  }
  .hello-secret__copy .hello-btn {
    width: 100%;
  }
  .hello-secret__panel {
    min-height: 0;
    padding: 44px 24px;
    -webkit-clip-path: none;
    clip-path: none;
  }
  .hello-secret__overlay {
    max-width: none;
  }
  .hello-secret__panel .hello-btn {
    width: 100%;
  }
}
