/* 2026-11-15 swap: contact swap subpage layout on top of live site.css. */

.swap-page .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 1 0 auto;
}

.swap-page .chapter-when {
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.swap-page .cta-page {
  max-width: 36rem;
  width: 100%;
}

.swap-patch {
  display: block;
  width: min(14rem, 72vw);
  height: auto;
  margin: 0.15rem auto 1.35rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(34, 34, 34, 0.35));
}

.swap-save {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 0;
  margin-bottom: 0.25rem;
  min-height: 3.4rem;
  font-size: 1.08rem;
}

.swap-save:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.swap-share {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 1.75rem;
}

.swap-share-title {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-family: var(--museo);
  font-weight: 700;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.swap-share-lead {
  margin: 0 0 1rem;
  color: var(--light-grey);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.swap-page .contact-form {
  max-width: none;
}

.swap-label {
  display: block;
  margin: 0.15rem 0 0.2rem;
  color: var(--white);
  font-family: var(--museo-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.swap-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.swap-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.swap-page .form-note.is-error {
  color: #ffc4a4;
}

.swap-page .contact-thanks {
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .swap-page .chapter-when {
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
  }
  .swap-page .cta-page {
    padding: 1.6rem 1.05rem;
  }
  .swap-page .contact-form {
    padding: 1.15rem;
  }
  .swap-patch {
    width: min(12.5rem, 68vw);
    margin-bottom: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swap-save {
    transition: none;
  }
}

/* 2026-11-15 handshake: visible page name under the patch. */
.swap-name {
  position: relative;
  z-index: 1;
  margin: 0 0 1.15rem;
  color: var(--white);
  font-family: var(--museo);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}
