.design-a {
  background: #dddce1;
  color: #1a1818;
}

@keyframes dsn-a-aperture-open {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.design-a .site-header {
  background: #f8f8f6;
}

.design-a .hero {
  min-height: auto;
  padding: clamp(46px, 6vw, 84px) 0 0;
  background: #f8f8f6;
}

.design-a .hero-copy h1 {
  max-width: 14ch;
  font-weight: 720;
}

.design-a .hero-lede {
  margin-top: 26px;
}

.design-a .hero-copy .button {
  margin-top: 34px;
}

.design-a .hero-media {
  height: auto;
  border-top: 12px solid #2875e8;
}

@media (min-width: 721px) {
  .design-a .hero-copy {
    display: grid;
    align-items: end;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
    gap: 22px 64px;
  }

  .design-a .hero-copy h1 {
    align-self: end;
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: 14ch;
    font-size: clamp(3rem, 5.2vw, 4.9rem);
  }

  .design-a .hero-lede {
    align-self: end;
    grid-column: 2;
    grid-row: 1;
    max-width: 34ch;
    margin: 0;
  }

  .design-a .hero-copy .button {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .design-a .hero-media {
    margin-top: clamp(40px, 5vw, 64px);
  }
}

/* Tablet and fold layouts retain the parallax, but the picture must overscan
   the frame so that its vertical travel never exposes the dark media surface. */
@media (min-width: 721px) and (max-width: 960px) {
  .design-a .hero-media picture {
    inset: -5% 0;
  }
}

/* The approved desktop hero is a white split sidecar. The supplied photograph
   remains complete and unobstructed, while tablet and mobile retain the
   existing stacked composition. */
@media (min-width: 961px) {
  .design-a .hero {
    display: grid;
    min-height: calc(100dvh - 75px);
    padding: clamp(48px, 5vw, 72px) max(32px, calc((100vw - 1240px) / 2));
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    align-items: center;
    gap: clamp(36px, 4vw, 64px);
  }

  .design-a .hero-copy {
    display: flex;
    width: auto;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .design-a .hero-copy h1 {
    align-self: flex-start;
    max-width: 12ch;
    font-size: clamp(3.2rem, 4.3vw, 4.6rem);
  }

  .design-a .hero-lede,
  .design-a .hero-copy .button {
    align-self: flex-start;
    margin: 0;
  }

  .design-a .hero-media {
    width: 100%;
    height: auto;
    margin: 0;
    overflow: visible;
    border-top: 0;
    aspect-ratio: auto;
    background: transparent;
  }

  .design-a .hero-media picture {
    position: static;
  }

  .design-a .hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .design-a .hero-media figcaption {
    display: none;
  }
}

.design-a .hero-media img {
  animation: dsn-a-aperture-open 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.design-a .hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 18px;
  left: max(32px, calc((100vw - 1240px) / 2));
  width: fit-content;
  margin: 0 0 0 auto;
  padding: 8px 11px;
  background: rgba(26, 24, 24, 0.84);
  color: #fff;
}

.design-a .opening-section {
  padding-top: clamp(90px, 11vw, 154px);
  background: #1961ca;
  color: #fff;
}

.design-a .opening-section .pull-quote {
  max-width: 24ch;
  padding-top: 28px;
  border-top: 2px solid #fff;
}

.design-a .section-light {
  background: #f8f8f6;
}

.design-a .editorial-layout {
  align-items: start;
}

.design-a .portrait-card {
  position: sticky;
  top: 24px;
}

.design-a .portrait-card img {
  aspect-ratio: 5 / 4;
}

.design-a .portrait-card figcaption {
  border-bottom: 1px solid #1a1818;
  padding-bottom: 12px;
}

.design-a .income-section {
  background: #dddce1;
}

.design-a .income-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.55fr;
  gap: 28px 70px;
}

.design-a .income-section .section-heading > p {
  margin: 8px 0 0;
}

.design-a .income-row {
  border-color: rgba(26, 24, 24, 0.36);
}

.design-a .income-number {
  color: #1961ca;
}

.design-a .how-section {
  background: #1961ca;
  color: #fff;
}

.design-a .steps {
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.design-a .fit-section {
  background: #1a1818;
  color: #fff;
}

.design-a .fit-card-positive {
  background: #1961ca;
}

@media (prefers-reduced-motion: reduce) {
  .design-a .hero-media img {
    animation: none;
  }
}

.design-a .fit-card-negative {
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.design-a .tiers-section {
  background: #f8f8f6;
}

.design-a .tier {
  border-color: rgba(26, 24, 24, 0.35);
}

.design-a .tier-plus {
  background: #dddce1;
  margin-inline: -24px;
  padding-inline: 24px;
}

.design-a .faq-section {
  background: #dddce1;
}

.design-a .faq-list details {
  border-color: rgba(26, 24, 24, 0.32);
}

.design-a .closing-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(26, 24, 24, 0.9) 0%, rgba(26, 24, 24, 0.38) 58%, rgba(26, 24, 24, 0.08) 100%);
}

.design-a .closing-copy {
  color: #fff;
}

.design-a .site-footer {
  background: #f8f8f6;
  color: #1a1818;
}

@media (max-width: 900px) {
  .design-a .tier-plus {
    margin-inline: 0;
    padding-inline: 0;
  }
}

@media (max-width: 720px) {
  .design-a .hero {
    padding-top: 44px;
  }

  .design-a .hero-copy {
    width: calc(100% - 32px);
    margin-inline: auto;
    margin-bottom: 34px;
  }

  .design-a .hero-media {
    height: auto;
    min-height: 0;
    border-top-width: 8px;
  }

  .design-a .hero-media figcaption {
    right: 16px;
    bottom: 12px;
    left: 16px;
  }

  .design-a .income-section .section-heading {
    grid-template-columns: 1fr;
  }

  .design-a .portrait-card {
    position: static;
  }

  .design-a .tier-plus {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}
