/* =========================================================
   Work With Me Redesign
   Editorial contact page matching therapy / consultation / writing direction.
========================================================= */

body.work-with-me-redesign-page {
  --wwm-paper: #f7f6f2;
  --wwm-paper-2: #eee9e3;
  --wwm-ink: #111113;
  --wwm-charcoal: #1a1a1d;
  --wwm-muted: rgba(17, 17, 19, 0.64);
  --wwm-red: #a52836;
  --wwm-red-dark: #7d1f2a;
  --wwm-border: rgba(17, 17, 19, 0.14);
  --wwm-blue-black: #13222b;
  --wwm-blue-black-2: #1c3440;

  background:
    radial-gradient(circle at 14% 8%, rgba(165, 40, 54, 0.08), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.75), transparent 34%),
    linear-gradient(180deg, #ebe7e1 0%, #ddd8d0 52%, #cdc6bd 100%) !important;
  color: var(--wwm-ink);
}

body.work-with-me-redesign-page .wwm-page {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(165, 40, 54, 0.08), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.75), transparent 34%),
    linear-gradient(180deg, #ebe7e1 0%, #ddd8d0 50%, #cdc6bd 100%);
}

body.work-with-me-redesign-page .wwm-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(17, 17, 19, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 19, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
}

body.work-with-me-redesign-page .wwm-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - clamp(2rem, 5vw, 5rem)));
  margin-inline: auto;
}

body.work-with-me-redesign-page .wwm-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.48fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

body.work-with-me-redesign-page .wwm-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(17, 17, 19, 0.66);
  font-family: var(--nav-font, "Source Sans 3", system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.work-with-me-redesign-page .wwm-label i {
  color: var(--wwm-red);
}

body.work-with-me-redesign-page .wwm-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--wwm-ink);
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(4.2rem, 8vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

body.work-with-me-redesign-page .wwm-hero__lede {
  max-width: 620px;
  margin: 0;
  color: rgba(17, 17, 19, 0.70);
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.55rem);
  font-weight: 650;
  line-height: 1.5;
}

body.work-with-me-redesign-page .wwm-card {
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 255, 255, 0.78), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(165, 40, 54, 0.055), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf7 52%, #f1eee8 100%);
  border: 1px solid var(--wwm-border);
  border-radius: clamp(22px, 2.5vw, 34px);
  box-shadow:
    0 34px 90px rgba(17, 17, 19, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

body.work-with-me-redesign-page .wwm-contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: stretch;
}

body.work-with-me-redesign-page .wwm-info-card {
  padding: clamp(2rem, 3vw, 3rem);
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.10), transparent 34%),
    linear-gradient(160deg, #101517 0%, var(--wwm-blue-black) 45%, #081013 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body.work-with-me-redesign-page .wwm-info-card h2,
body.work-with-me-redesign-page .wwm-form-card h2 {
  margin: 0 0 1rem;
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(2rem, 2.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

body.work-with-me-redesign-page .wwm-info-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

body.work-with-me-redesign-page .wwm-contact-method {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

body.work-with-me-redesign-page .wwm-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.work-with-me-redesign-page .wwm-icon-link span:first-child {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.work-with-me-redesign-page .wwm-socials {
  margin-top: clamp(2rem, 5vw, 4rem);
}

body.work-with-me-redesign-page .wwm-socials h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.35rem;
}

body.work-with-me-redesign-page .wwm-socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

body.work-with-me-redesign-page .wwm-form-card {
  padding: clamp(2rem, 4vw, 3.5rem);
}

body.work-with-me-redesign-page .wwm-form-card p {
  max-width: 760px;
  color: var(--wwm-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

body.work-with-me-redesign-page .wwm-form {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

body.work-with-me-redesign-page .wwm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.work-with-me-redesign-page .wwm-field {
  margin-bottom: 1rem;
}

body.work-with-me-redesign-page .wwm-field--full {
  grid-column: 1 / -1;
}

body.work-with-me-redesign-page .wwm-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(17, 17, 19, 0.70);
  font-size: 0.92rem;
  font-weight: 800;
}

body.work-with-me-redesign-page .wwm-form input,
body.work-with-me-redesign-page .wwm-form select,
body.work-with-me-redesign-page .wwm-form textarea {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.85rem 1rem;
  color: var(--wwm-ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 17, 19, 0.16);
  border-radius: 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.work-with-me-redesign-page .wwm-form textarea {
  min-height: 11rem;
  resize: vertical;
}

body.work-with-me-redesign-page .wwm-form input:focus,
body.work-with-me-redesign-page .wwm-form select:focus,
body.work-with-me-redesign-page .wwm-form textarea:focus {
  background: #fff;
  border-color: rgba(165, 40, 54, 0.64);
  box-shadow: 0 0 0 4px rgba(165, 40, 54, 0.10);
}

body.work-with-me-redesign-page .wwm-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

body.work-with-me-redesign-page .wwm-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.45rem;
  color: var(--wwm-ink);
  background: transparent;
  border: 2px solid var(--wwm-red);
  border-radius: 0;
  font-family: var(--nav-font, "Source Sans 3", system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

body.work-with-me-redesign-page .wwm-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wwm-red);
  transform: translateY(105%);
  transition: transform 0.26s ease;
}

body.work-with-me-redesign-page .wwm-btn:hover,
body.work-with-me-redesign-page .wwm-btn:focus-visible {
  color: #fff;
}

body.work-with-me-redesign-page .wwm-btn:hover::after,
body.work-with-me-redesign-page .wwm-btn:focus-visible::after {
  transform: translateY(0);
}

body.work-with-me-redesign-page #formMessage {
  margin-top: 1rem;
  color: var(--wwm-muted);
}

@media (max-width: 991px) {
  body.work-with-me-redesign-page .wwm-hero,
  body.work-with-me-redesign-page .wwm-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  body.work-with-me-redesign-page .wwm-shell {
    width: min(100%, calc(100% - 1.5rem));
  }

  body.work-with-me-redesign-page .wwm-form-grid {
    grid-template-columns: 1fr;
  }

  body.work-with-me-redesign-page .wwm-info-card,
  body.work-with-me-redesign-page .wwm-form-card {
    padding: 1.4rem;
  }
}

/* Work With Me — sidebar readability refinement */
body.work-with-me-redesign-page .wwm-info-card {
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(160deg, #111719 0%, #14262e 46%, #071014 100%) !important;
}

body.work-with-me-redesign-page .wwm-info-card h2 {
  color: rgba(255, 250, 242, 0.96) !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

body.work-with-me-redesign-page .wwm-info-card p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.12rem);
  font-weight: 600;
  line-height: 1.72;
}

body.work-with-me-redesign-page .wwm-contact-method {
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body.work-with-me-redesign-page .wwm-icon-link {
  color: rgba(255, 255, 255, 0.96) !important;
}

body.work-with-me-redesign-page .wwm-icon-link:hover {
  color: #fff !important;
  text-decoration: none;
}

body.work-with-me-redesign-page .wwm-icon-link span:first-child {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

body.work-with-me-redesign-page .wwm-socials h3 {
  color: rgba(255, 250, 242, 0.96) !important;
}

body.work-with-me-redesign-page .wwm-socials a {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body.work-with-me-redesign-page .wwm-socials a:hover {
  background: rgba(255, 255, 255, 0.24) !important;
}

/* Work With Me — soften hero lede */
body.work-with-me-redesign-page .wwm-hero {
  align-items: center !important;
}

body.work-with-me-redesign-page .wwm-hero__lede {
  max-width: 700px !important;
  color: rgba(17, 17, 19, 0.62) !important;
  font-size: clamp(1.18rem, 0.65vw + 1rem, 1.48rem) !important;
  font-weight: 500 !important;
  line-height: 1.78 !important;
  letter-spacing: 0.005em !important;
}

@media (min-width: 992px) {
  body.work-with-me-redesign-page .wwm-hero {
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.58fr) !important;
  }

  body.work-with-me-redesign-page .wwm-hero__lede {
    padding-top: clamp(1rem, 2vw, 2rem);
  }
}

/* Work With Me — hero after lede removal */
body.work-with-me-redesign-page .wwm-hero {
  display: block !important;
  max-width: 980px !important;
}

body.work-with-me-redesign-page .wwm-hero h1 {
  max-width: 11ch !important;
}

/* ==========================================================================
   Work With Me — final editorial contact layout
   --------------------------------------------------------------------------
   Purpose:
   - Preserve the warm editorial/therapeutic tone of the redesigned page.
   - Reduce the oversized landing-page scale so the form appears sooner.
   - Keep the form as the primary action without making the page feel generic.
   - Use breakpoint-specific layout rules instead of stacking experimental
     transform overrides.

   Desktop composition:
   - Headline remains large and expressive, but no longer dominates the full
     viewport.
   - Form card is lifted into view on desktop.
   - Contact information card has enough width and visual weight.
   - Final visual alignment intentionally separates the headline and contact
     card: headline slightly right, contact card slightly left.

   Breakpoints:
   - 1200px+   : full editorial two-column composition.
   - 992–1199 : tighter small-desktop layout.
   - <768px    : simpler stacked mobile layout.
   ========================================================================== */

body.work-with-me-redesign-page .wwm-page {
  padding: clamp(2.25rem, 4.5vw, 4.5rem) 0 clamp(3rem, 5vw, 5.5rem) !important;
}

body.work-with-me-redesign-page .wwm-hero {
  max-width: 860px !important;
  margin-bottom: clamp(1.4rem, 3vw, 2.6rem) !important;
}

body.work-with-me-redesign-page .wwm-hero h1 {
  max-width: 13ch !important;
  font-size: clamp(3.35rem, 6.3vw, 6.85rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.085em !important;
}

body.work-with-me-redesign-page .wwm-contact-layout {
  gap: clamp(1rem, 2vw, 1.75rem) !important;
}

body.work-with-me-redesign-page .wwm-info-card,
body.work-with-me-redesign-page .wwm-form-card {
  padding: clamp(1.45rem, 2.5vw, 2.55rem) !important;
}

body.work-with-me-redesign-page .wwm-info-card {
  min-height: auto !important;
}

body.work-with-me-redesign-page .wwm-contact-method,
body.work-with-me-redesign-page .wwm-socials {
  margin-top: clamp(1.35rem, 3vw, 2.25rem) !important;
}

/* Desktop base: lift the form and keep the full contact layout away from edges. */
@media (min-width: 992px) {
  body.work-with-me-redesign-page .wwm-contact-layout {
    width: min(1360px, calc(100% - clamp(4rem, 7vw, 8rem))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.work-with-me-redesign-page .wwm-form-card {
    transform: translateY(-255px) !important;
  }
}

/* Small desktop / 1080px: preserve two columns without cramping the form. */
@media (min-width: 992px) and (max-width: 1199px) {
  body.work-with-me-redesign-page .wwm-page {
    padding-top: 2.25rem !important;
  }

  body.work-with-me-redesign-page .wwm-hero {
    max-width: 720px !important;
    margin-bottom: 1.5rem !important;
    transform: translateX(1rem) !important;
  }

  body.work-with-me-redesign-page .wwm-hero h1 {
    max-width: 12ch !important;
    font-size: clamp(3.6rem, 6vw, 5.2rem) !important;
    line-height: 0.94 !important;
  }

  body.work-with-me-redesign-page .wwm-contact-layout {
    width: min(1000px, calc(100% - 3rem)) !important;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 1.35rem !important;
  }

  body.work-with-me-redesign-page .wwm-info-card,
  body.work-with-me-redesign-page .wwm-form-card {
    padding: 1.65rem !important;
  }

  body.work-with-me-redesign-page .wwm-info-card {
    transform: translateX(-0.5rem) !important;
  }

  body.work-with-me-redesign-page .wwm-form-card {
    transform: translateY(-145px) !important;
  }

  body.work-with-me-redesign-page .wwm-form-card h2 {
    font-size: clamp(2.15rem, 4vw, 3.15rem) !important;
    line-height: 0.98 !important;
  }
}

/* Large desktop: give the left card presence while keeping the form dominant. */
@media (min-width: 1200px) {
  body.work-with-me-redesign-page .wwm-contact-layout {
    width: min(1520px, calc(100% - clamp(5rem, 7vw, 9rem))) !important;
    grid-template-columns: minmax(560px, 0.95fr) minmax(700px, 1.35fr) !important;
    gap: clamp(1.75rem, 3vw, 3rem) !important;
    align-items: start !important;
  }

  body.work-with-me-redesign-page .wwm-hero {
    transform: translateX(clamp(1.75rem, 3vw, 3.75rem)) !important;
  }

  body.work-with-me-redesign-page .wwm-info-card {
    width: 100% !important;
    max-width: 640px !important;
    justify-self: center !important;
    transform: translateX(clamp(-2.25rem, -1.75vw, -1rem)) !important;
  }

  body.work-with-me-redesign-page .wwm-info-card h2 {
    font-size: clamp(2.6rem, 3.2vw, 3.45rem) !important;
  }

  body.work-with-me-redesign-page .wwm-info-card p {
    max-width: 34rem !important;
  }
}

/* Mobile: keep the page readable and avoid desktop positioning tricks. */
@media (max-width: 767px) {
  body.work-with-me-redesign-page .wwm-page {
    padding: 2rem 0 3rem !important;
  }

  body.work-with-me-redesign-page .wwm-hero {
    margin-bottom: 1.35rem !important;
    transform: none !important;
  }

  body.work-with-me-redesign-page .wwm-hero h1 {
    max-width: 12ch !important;
    font-size: clamp(3rem, 17vw, 4.4rem) !important;
    line-height: 0.94 !important;
  }

  body.work-with-me-redesign-page .wwm-info-card,
  body.work-with-me-redesign-page .wwm-form-card {
    padding: 1.35rem !important;
    transform: none !important;
  }
}


/* Work With Me — mobile form-first layout and field tuning */
@media (max-width: 767px) {
  body.work-with-me-redesign-page .wwm-contact-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  body.work-with-me-redesign-page .wwm-form-card {
    order: 1 !important;
  }

  body.work-with-me-redesign-page .wwm-info-card {
    order: 2 !important;
  }

  body.work-with-me-redesign-page .wwm-form-card h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
  }

  body.work-with-me-redesign-page .wwm-form-card > p:not(.wwm-label) {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.35rem !important;
  }

  body.work-with-me-redesign-page .wwm-form-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body.work-with-me-redesign-page .wwm-field {
    width: 100% !important;
  }

  body.work-with-me-redesign-page .wwm-field label {
    margin-bottom: 0.45rem !important;
    font-size: 0.82rem !important;
  }

  body.work-with-me-redesign-page .wwm-field input,
  body.work-with-me-redesign-page .wwm-field select,
  body.work-with-me-redesign-page .wwm-field textarea {
    width: 100% !important;
    min-height: 3.25rem !important;
    padding: 0.9rem 1rem !important;
    font-size: 1rem !important;
    border-radius: 16px !important;
  }

  body.work-with-me-redesign-page .wwm-field textarea {
    min-height: 9.5rem !important;
  }

  body.work-with-me-redesign-page .wwm-submit-wrap {
    margin-top: 1.25rem !important;
  }

  body.work-with-me-redesign-page .wwm-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 3.2rem !important;
  }
}
