/* Contact v4 — scoped to the accepted Home v4 shell. */
@media (max-width: 720px) {
  html body.ay-stitch-contact-v1 .ay-contact-hero-card { padding-top: 48px !important; }
}
body.ay-stitch-home-v3.ay-stitch-contact-v1 .site-container,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .content-container,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .site-main,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .content-area,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .entry,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .entry-content-wrap,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--v2-cream, #f4f1e9);
  box-shadow: none;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .entry-content {
  padding-top: 0;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-hero {
  padding-top: clamp(42px, 4vw, 54px);
  padding-bottom: 24px;
  background: var(--v2-cream, #f4f1e9);
}

@media (min-width: 721px) {
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-hero > .ay-stitch-wrap,
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta > .ay-stitch-wrap {
    width: min(calc(100% - 96px), 1040px);
  }
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  min-height: 560px;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(36px, 4vw, 52px);
  background: rgba(255, 255, 255, .76);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-copy h1 {
  max-width: 610px;
  margin: 0;
  color: var(--v2-ink, #0f172a);
  font: 800 clamp(44px, 4.4vw, 58px)/1 Manrope, sans-serif;
  letter-spacing: -.058em;
  text-wrap: balance;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-lede {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(15, 23, 42, .68);
  font: 400 16px/1.6 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-direct {
  display: grid;
  gap: 7px;
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, .10);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-direct span {
  color: rgba(15, 23, 42, .52);
  font: 700 11px/1 Geist, Manrope, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-direct a {
  width: fit-content;
  color: var(--v2-ink, #0f172a);
  font: 700 16px/1.35 Manrope, sans-serif;
  text-decoration-color: rgba(15, 23, 42, .28) !important;
  text-underline-offset: 5px;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-direct a:hover {
  text-decoration-color: currentColor !important;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(36px, 4vw, 52px);
  border-left: 1px solid rgba(15, 23, 42, .10);
  background: var(--v2-cream, #f4f1e9);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-card h2 {
  margin: 0 0 9px;
  color: var(--v2-ink, #0f172a);
  font: 800 clamp(30px, 3vw, 36px)/1.06 Manrope, sans-serif;
  letter-spacing: -.04em;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-intro {
  max-width: 520px;
  margin: 0;
  color: rgba(15, 23, 42, .64);
  font: 400 15px/1.58 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: rgba(15, 23, 42, .62);
  font: 700 11px/1.1 Geist, Manrope, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form input,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form select,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, .23);
  border-radius: 0;
  background-color: transparent;
  padding: 7px 0 9px;
  color: var(--v2-ink, #0f172a);
  font: 500 15px/1.35 Manrope, sans-serif;
  box-shadow: none !important;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form input::placeholder,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form textarea::placeholder {
  color: rgba(15, 23, 42, .38);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form select {
  appearance: none;
  padding-right: 26px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(15,23,42,.70) 50%), linear-gradient(135deg, rgba(15,23,42,.70) 50%, transparent 50%);
  background-position: calc(100% - 7px) calc(50% - 1px), calc(100% - 2px) calc(50% - 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form textarea {
  min-height: 96px;
  resize: vertical;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form input:focus,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form select:focus,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form textarea:focus {
  border-color: var(--v2-ink, #0f172a);
  box-shadow: 0 2px 0 rgba(15, 23, 42, .10) !important;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form button[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--v2-ink, #0f172a);
  color: #fff;
  font: 800 12px/1 Geist, Manrope, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form button[type="submit"]:hover,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form button[type="submit"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-note {
  margin: -8px 0 0;
  color: rgba(15, 23, 42, .52);
  font: 500 12px/1.45 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-notice,
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-success {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .62);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-notice {
  color: #7c2d12;
  font: 600 14px/1.5 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-success[hidden],
body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form[hidden] {
  display: none !important;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-success:focus {
  outline: 2px solid rgba(15, 23, 42, .22);
  outline-offset: 3px;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-success-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--v2-ink, #0f172a);
  color: #fff;
  font: 800 18px/1 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-success h3 {
  margin: 0 0 10px;
  color: var(--v2-ink, #0f172a);
  font: 800 28px/1.08 Manrope, sans-serif;
  letter-spacing: -.035em;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-success p {
  margin: 0;
  color: rgba(15, 23, 42, .64);
  font: 400 15px/1.58 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-reset {
  display: inline-flex;
  margin-top: 24px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, .32);
  background: transparent;
  padding: 0 0 3px;
  color: var(--v2-ink, #0f172a);
  font: 700 12px/1 Geist, Manrope, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta {
  padding-top: 24px;
  padding-bottom: clamp(52px, 6vw, 72px);
  background: var(--v2-cream, #f4f1e9);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta .ay-stitch-dark-panel {
  padding: clamp(52px, 5.5vw, 72px) clamp(28px, 5vw, 72px);
  border-radius: 32px;
  background: var(--v2-ink, #0f172a);
  color: #fff;
  text-align: center;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .12), 0 8px 24px rgba(15, 23, 42, .055);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta .ay-stitch-eyebrow {
  color: rgba(255, 255, 255, .62);
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font: 800 clamp(36px, 4.4vw, 52px)/1 Manrope, sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta .ay-stitch-dark-panel > p:not(.ay-stitch-eyebrow) {
  max-width: 680px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, .70);
  font: 400 16px/1.58 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta .ay-stitch-actions {
  margin-top: 26px;
}

@media (max-width: 1024px) {
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-copy,
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-card {
    padding: clamp(34px, 5vw, 48px);
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-card {
    border-top: 1px solid rgba(15, 23, 42, .10);
    border-left: 0;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-direct {
    margin-top: 38px;
  }
}

@media (max-width: 720px) {
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-stitch-wrap {
    width: min(100% - 32px, 520px);
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-hero {
    padding-top: 30px;
    padding-bottom: 16px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-panel {
    border-radius: 28px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-copy,
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-card {
    padding: 30px 22px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-copy h1 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-lede {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.56;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-direct {
    margin-top: 30px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-form {
    margin-top: 26px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta {
    padding-top: 16px;
    padding-bottom: 56px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta .ay-stitch-dark-panel {
    padding: 58px 22px;
    border-radius: 28px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta h2 {
    font-size: clamp(34px, 9.4vw, 42px);
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta .ay-stitch-dark-panel > p:not(.ay-stitch-eyebrow) {
    font-size: 15px;
    line-height: 1.52;
  }
}

@media (max-width: 360px) {
  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-copy h1 {
    font-size: 36px;
  }

  body.ay-stitch-home-v3.ay-stitch-contact-v1 .ay-contact-final-cta h2 {
    font-size: 32px;
  }
}
