@media (min-width: 801px) {
  .hero {
    display: block;
    position: relative;
    max-width: none;
    min-height: max(720px, calc(100vh - 74px));
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    width: 52%;
    min-height: max(720px, calc(100vh - 74px));
  }
  .hero-visual {
    position: absolute;
    inset: 0;
    min-height: 0;
  }
  .hero-visual picture,
  .hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-visual img { object-fit: cover; object-position: center; }
  h1 { font-size: clamp(2.25rem, 4.25vw, 3.6rem); }
}

@media (min-width: 1100px) {
  h1 span { white-space: nowrap; }
}

@media (max-width: 800px) {
  .hero {
    position: relative;
    display: block;
    min-height: 900px;
    background: #fffaf0;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    min-height: 900px;
    justify-content: flex-start;
    padding-top: 42px;
    background: linear-gradient(180deg, rgba(255,250,240,.98) 0%, rgba(255,250,240,.9) 43%, rgba(255,250,240,.28) 67%, transparent 80%);
  }
  .hero-visual {
    position: absolute;
    inset: 0;
    min-height: 0;
    aspect-ratio: auto;
  }
  .hero-visual picture,
  .hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-visual img { object-fit: cover; object-position: center top; }
  .hero-visual figcaption { bottom: 18px; }
}

.job-grid li {
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

.job-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid var(--ink);
}

.job-card-body {
  min-height: 126px;
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.job-card-body span {
  color: var(--coral-dark);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
}

.job-card-body h3 {
  font-size: 1.16rem;
  line-height: 1.45;
}

@media (max-width: 431px) {
  .job-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    border: 0;
  }

  .job-grid li {
    border: 3px solid var(--ink);
  }

  .job-card-body {
    min-height: 108px;
    padding: 1rem 1.15rem 1.2rem;
  }

  .job-card-body h3 { font-size: 1.2rem; }
}

/* HOW IT WORKS illustrations */
.flow .timeline { max-width: 980px; }

.flow .step {
  grid-template-columns: 100px clamp(112px, 10vw, 140px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.step-visual {
  width: clamp(112px, 10vw, 140px);
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 250, 240, .95);
}

.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-copy { min-width: 0; }

@media (max-width: 800px) {
  .flow .step {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "visual visual"
      "number copy";
    align-items: start;
    gap: 12px 14px;
    padding: 30px 0;
  }

  .step-visual {
    grid-area: visual;
    justify-self: center;
    width: clamp(136px, 41vw, 168px);
    margin-bottom: 4px;
    padding: 8px;
  }

  .flow .step-num {
    grid-area: number;
    margin-top: 2px;
  }

  .step-copy { grid-area: copy; }

  .flow .step.is-active { transform: translateX(4px); }
}

@media (max-width: 431px) {
  .flow .step {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px 12px;
  }

  .step-visual { width: clamp(140px, 42vw, 164px); }
  .flow .step-num { font-size: 1.8rem; }
}

/* Confirmed contract and payment details */
.condition-contract {
  margin: .35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 38, 43, .35);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .8rem;
}

.condition-contract span {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.condition-contract strong { font-size: 1.05rem; }

.pay-terms {
  margin: 1.25rem 0 0;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.pay-terms div {
  min-width: 0;
  padding: 0 1rem;
  border-left: 1px solid rgba(37, 38, 43, .35);
}

.pay-terms div:first-child { border-left: 0; }
.pay-terms dt { font-size: .78rem; font-weight: 900; }
.pay-terms dd { margin: .18rem 0 0; font-weight: 800; line-height: 1.55; }

@media (max-width: 800px) {
  .pay-terms {
    grid-template-columns: 1fr;
    gap: 0;
    padding: .45rem 0;
  }

  .pay-terms div {
    padding: .65rem .15rem;
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: .8rem;
    border-left: 0;
    border-top: 1px solid rgba(37, 38, 43, .25);
  }

  .pay-terms div:first-child { border-top: 0; }
  .pay-terms dd { margin: 0; }
}

@media (max-width: 431px) {
  .pay-note { text-align: left; }
  .pay-terms div { grid-template-columns: 5rem minmax(0, 1fr); }
  .faq summary { line-height: 1.55; }
}
