/* Seowon's introduction layout, using PUM's existing copy and photographs. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  height: auto;
  min-height: max(568px, calc(100vh - 100px));
  background: var(--ink);
  overflow: hidden;
}

.feature > .intro-heading,
.feature > .intro-body {
  grid-column: 1;
  min-width: 0;
  padding-inline: clamp(30px, 5.2vw, 80px);
}

.feature > .intro-heading {
  grid-row: 1;
  align-self: end;
  padding-top: 64px;
  padding-bottom: 22px;
}

.feature > .intro-heading h2 {
  margin: 20px 0 0;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.feature > .intro-body {
  grid-row: 2;
  align-self: start;
  padding-bottom: 64px;
}

.feature > .intro-body p {
  max-width: 38ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}

.feature > .intro-body a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 44px;
  margin-top: 30px;
  padding: 13px 22px;
  background: var(--wine);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
}

.feature > .hero-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  min-height: max(568px, calc(100vh - 100px));
  margin: 0;
  transform: none;
}

.feature > .hero-visual::after {
  content: none;
}

/* The existing caption is retained in the section's text, not on the photos. */
.feature > .hero-visual .hero-visual-caption {
  display: none;
}

/* The changing label stays available to assistive technology and existing JS. */
.feature > .hero-visual .image-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .feature {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .feature > .intro-heading,
  .feature > .intro-body {
    align-self: stretch;
    padding-inline: 6%;
  }

  .feature > .intro-heading {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .feature > .intro-heading h2 {
    margin-top: 16px;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.25;
    letter-spacing: -.04em;
  }

  .feature > .hero-visual {
    order: 0;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .feature > .intro-body {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .feature > .intro-body p {
    font-size: 14px;
  }

  .feature > .intro-body a {
    background: transparent;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
}
