.adoption-intro {
  max-width: 820px;
  padding: 90px 30px 55px;
  text-align: center;
}

.adoption-intro h1 {
  color: #9265ab;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 28px;
}

.adoption-intro > p:last-child {
  font-size: 1.18rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 760px;
}

.eyebrow,
.availability {
  color: #f07f17;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.puppet-list {
  display: grid;
  gap: 38px;
  padding: 0 30px 100px;
}

.puppet-card {
  align-items: stretch;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 16px 45px rgba(69, 42, 83, 0.12);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  overflow: hidden;
}

.puppet-card--reverse .puppet-photo {
  grid-column: 2;
  grid-row: 1;
}

.puppet-card--reverse .puppet-details {
  grid-column: 1;
  grid-row: 1;
}

.puppet-photo {
  align-items: flex-end;
  display: flex;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  padding: 24px 24px 0;
}

.puppet-photo--orange { background: #f89a38; }
.puppet-photo--yellow { background: #ffdf3e; }
.puppet-photo--purple { background: #9265ab; }

.puppet-photo img {
  display: block;
  height: 100%;
  max-height: 500px;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.puppet-details {
  align-self: center;
  padding: 52px clamp(35px, 6vw, 78px);
}

.puppet-details h2 {
  color: #9265ab;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  margin: 0 0 20px;
}

.personality {
  font-size: 1.13rem;
  line-height: 1.55;
  margin-bottom: 30px;
}

.puppet-specs {
  border-top: 2px solid #f3edf5;
  margin: 0 0 30px;
}

.puppet-specs > div {
  border-bottom: 2px solid #f3edf5;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(120px, 0.8fr) 1.2fr;
  padding: 12px 0;
}

.puppet-specs dt {
  color: #674178;
  font-weight: 800;
}

.puppet-specs dd {
  margin: 0;
}

.enquire-button {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.enquire-button:hover,
.enquire-button:focus-visible {
  background: #9265ab;
  transform: translateY(-2px);
}

.enquiry-section {
  background: url(/patternbg.svg);
  padding: 95px 30px 140px;
}

.enquiry-layout {
  align-items: center;
  display: grid;
  gap: clamp(45px, 7vw, 95px);
  grid-template-columns: 0.8fr 1.2fr;
}

.enquiry-copy {
  background: #f89a38;
  border-radius: 40px;
  color: #fff;
  padding: 42px;
}

.enquiry-copy .eyebrow {
  color: #fff;
}

.enquiry-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  margin: 0 0 24px;
}

.enquiry-copy p {
  line-height: 1.6;
}

.enquiry-copy .small-print {
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-top: 24px;
  padding-top: 20px;
}

.adoption-form {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 16px 45px rgba(69, 42, 83, 0.18);
  padding: clamp(30px, 5vw, 55px);
}

.enquiry-success {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 16px 45px rgba(69, 42, 83, 0.18);
  padding: clamp(38px, 6vw, 65px);
}

.enquiry-success[hidden],
.enquiry-error[hidden] {
  display: none;
}

.enquiry-success h3 {
  color: #9265ab;
  font-family: 'Gernus Doripos', sans-serif;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  margin: 0 0 20px;
}

.enquiry-success > p:not(.eyebrow) {
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.enquiry-error {
  background: #fff0eb;
  border-radius: 20px;
  color: #8b321e;
  font-weight: 700;
  margin: 0 0 24px;
  padding: 15px 18px;
}

.field-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.field {
  margin-bottom: 22px;
}

.field label {
  color: #674178;
  display: block;
  font-weight: 800;
  margin: 0 0 8px 6px;
}

.field input,
.field select,
.field textarea {
  background: #f7f2f9;
  border: 2px solid transparent;
  border-radius: 24px;
  box-sizing: border-box;
  color: #2d2132;
  font: inherit;
  padding: 15px 18px;
  width: 100%;
}

.field textarea {
  border-radius: 24px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9265ab;
  outline: none;
}

.adoption-form .contact-btn {
  background: #9265ab;
  border: 0;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 16px 25px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.adoption-form .contact-btn:hover,
.adoption-form .contact-btn:focus-visible {
  background: #774a8d;
  transform: translateY(-2px);
}

.adoption-footer {
  padding-top: 25px;
}

.adoption-footer .footer-adopt {
  width: 36%;
}

.footer-adopt h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.footer-adopt .linkBtn {
  background: #f89a38;
}

@media (max-width: 991px) {
  header .section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .topNav {
    position: static;
  }

  .puppet-card,
  .enquiry-layout {
    grid-template-columns: 1fr;
  }

  .puppet-card--reverse .puppet-photo,
  .puppet-card--reverse .puppet-details {
    grid-column: 1;
  }

  .puppet-card--reverse .puppet-photo {
    grid-row: 1;
  }

  .puppet-card--reverse .puppet-details {
    grid-row: 2;
  }

  .puppet-photo {
    min-height: 430px;
  }

  .enquiry-copy {
    max-width: 620px;
  }

  .adoption-footer .col,
  .adoption-footer .footer-adopt {
    width: 45%;
  }
}

@media (max-width: 700px) {
  main {
    padding-top: 65px;
  }

  .adoption-intro {
    padding-bottom: 42px;
  }

  .puppet-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  .puppet-card {
    border-radius: 28px;
  }

  .puppet-photo {
    min-height: 360px;
  }

  .puppet-details {
    padding: 38px 26px 44px;
  }

  .puppet-specs > div,
  .field-row {
    grid-template-columns: 1fr;
  }

  .puppet-specs > div {
    gap: 4px;
  }

  .enquiry-section {
    padding: 75px 18px 125px;
  }

  .enquiry-copy {
    border-radius: 28px;
    padding: 32px 26px;
  }

  .adoption-form {
    border-radius: 28px;
  }

  .enquiry-success {
    border-radius: 28px;
  }

  .adoption-footer .col,
  .adoption-footer .footer-adopt {
    width: 100%;
  }
}
