/*-- -------------------------- -->
<---   Therapist page (v2 layout)  -->
<--- -------------------------- -*/

/* Section structure follows the SO Studio therapist page (inset hero panel
   flanked by cutouts, green statement band, split founder panel, tall
   portfolio grid, offering cards, numbered testimonial tabs, four-up
   inclusions, dark FAQ, split contact form). Builds on home-v2.css for
   tokens, pills, cutout shapes and the footer. Headings use Sentient here
   (the homepage hero face) to keep the editorial serif feel. */

.tp {
  --olive: #b9c48a;
  --sage: #bcc889;
  --blush: #d9a58e;
  --brown: #7a4a2b;
  --cream: #f6f3dc;
  --tp-serif: var(--accentFont);
}

.tp-h2 {
  font-family: var(--tp-serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.tp-h2 em { font-style: italic; font-weight: 300; }
.tp-h2 u,
.tp-faq-intro a {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--olive);
}
.tp-h2--lg { font-size: clamp(2.1rem, 3.6vw, 2.9rem); max-width: 54rem; margin: 0 auto; }
.tp-h2--xl { font-size: clamp(2.1rem, 3.6vw, 2.9rem); max-width: 60rem; margin: 0 auto; }
.tp .v2-topper { font-weight: 500; letter-spacing: 0.14em; font-size: 0.875rem; }

/* Header: sits on the light page, so ink text instead of paper */
.tp-header { position: relative; background: var(--paper-light); color: var(--ink); }
.tp-header .v2-wrap { min-height: 4.25rem; max-width: none; padding: 0 clamp(1.25rem, 2vw, 1.75rem); }
.tp-header .v2-logo img { width: 2rem; }
.tp-header .v2-nav { gap: 3rem; }
.tp-header .v2-nav a { color: var(--ink); }
.tp-header .v2-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tp-header .v2-menu-btn { color: var(--ink); }

/* Hero -------------------------------------------------------------------- */

.tp-hero { background: var(--paper-light); padding: 0 clamp(1rem, 2vw, 1.75rem); }
.tp-hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--cream);
  min-height: 38rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.5rem 7rem;
  isolation: isolate;
}
.tp-hero-copy { position: relative; z-index: 2; max-width: 34rem; }
.tp-hero h1 {
  font-family: var(--tp-serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
.tp-hero h1 em { display: block; font-style: italic; font-weight: 300; }
.tp-hero p { font-size: 1.2rem; line-height: 1.55; margin: 2rem auto 0; max-width: 24rem; }

.tp-hero .v2-shape { z-index: 1; }
.tp-hero .h1 { left: -2rem; top: 3.5rem; width: 13rem; height: 3.75rem; background-color: var(--brick); border-radius: 0 3rem 0 0; }
.tp-hero .h2 { left: -3rem; top: 11rem; width: 12rem; height: 14rem; background-color: var(--blush); border-radius: 50% 60% 45% 40%; }
.tp-hero .h3 { left: 10.5rem; top: 21rem; width: 9rem; height: 5rem; background-color: var(--brown); clip-path: polygon(0 0, 100% 15%, 80% 100%); }
.tp-hero .h4 { left: 7.5rem; bottom: -1rem; width: 6rem; height: 11rem; background-color: var(--olive); border-radius: 0 999px 999px 0; }
.tp-hero .h5 { right: -2rem; top: 3.5rem; width: 14rem; height: 3.5rem; background-color: var(--mustard); border-radius: 0 0 0 4rem; }
.tp-hero .h6 { right: -3rem; top: 10rem; width: 11rem; height: 14rem; background-color: var(--sky); border-radius: 55% 45% 40% 60%; }
.tp-hero .h7 { right: 7rem; top: 21rem; width: 9rem; height: 5rem; background-color: var(--forest); clip-path: polygon(100% 0, 0 30%, 15% 100%); }
.tp-hero .h8 { right: 5rem; bottom: -2rem; width: 9rem; height: 9rem; background-color: var(--blue); border-radius: 50% 50% 0 0; clip-path: inset(0 0 0 0 round 50% 50% 0 0); }

/* Intro band -------------------------------------------------------------- */

.tp-intro { background: var(--forest-deep); color: var(--paper); padding: 9rem 0; margin-top: 1.25rem; }
.tp-intro .v2-wrap { display: grid; grid-template-columns: 1fr 1.45fr; gap: 3rem 6rem; align-items: start; }
.tp-intro .tp-h2 { max-width: 20rem; }
.tp-intro .v2-text { opacity: 0.92; }

/* Founder ----------------------------------------------------------------- */

.tp-founder { display: grid; grid-template-columns: 1fr 1fr; min-height: 44rem; }
.tp-founder-art {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  display: grid;
  place-items: center;
  padding: 5rem 3rem;
}
.tp-founder-photo {
  position: relative;
  z-index: 2;
  width: min(26rem, 82%);
  aspect-ratio: 4 / 4.4;
  border-radius: 10px;
  overflow: hidden;
}
.tp-founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tp-founder-art .f1 { left: 2rem; top: 1.75rem; width: 8.5rem; height: 13rem; background-color: var(--olive); border-radius: 0 999px 999px 0; }
.tp-founder-art .f2 { right: 1.5rem; top: 4rem; width: 8rem; height: 7rem; background-color: var(--brick); border-radius: 0 0 999px 999px; transform: rotate(-12deg); }
.tp-founder-art .f3 { right: 2.5rem; bottom: 3rem; width: 10rem; height: 3.5rem; background-color: var(--mustard); border-radius: 999px 999px 0 0; }
.tp-founder-art .f4 { left: 2rem; bottom: -1rem; width: 8rem; height: 6rem; background-color: var(--forest); border-radius: 0 3rem 0 0; }

.tp-founder-copy {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(1.5rem, 8vw, 7rem);
}
.tp-founder-copy .tp-h2 { margin: 0.75rem 0 2.25rem; font-size: clamp(2.2rem, 3.4vw, 2.9rem); }
.tp-founder-copy .v2-text { max-width: 30rem; }

/* Portfolio grid ---------------------------------------------------------- */

.tp-work { background: var(--paper-light); padding: 6rem 0 7rem; text-align: center; }
.tp-work .v2-topper { margin-bottom: 1.75rem; }
.tp-grid {
  list-style: none;
  margin: 4rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 64rem;
}
.tp-shot {
  position: relative;
  border: 1px solid rgba(28, 26, 22, 0.55);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tp-shot:hover { transform: translateY(-4px); box-shadow: 0 1.25rem 2.5rem rgba(28, 26, 22, 0.14); }
.tp-shot-bar { display: flex; gap: 3px; padding: 5px 7px; background: var(--paper-light); border-bottom: 1px solid rgba(28, 26, 22, 0.55); }
.tp-shot-bar span { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.tp-shot img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; }
.tp-shot-label {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  background: var(--paper-light);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-family: var(--tp-serif);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.tp-shot:hover .tp-shot-label,
.tp-shot:focus-within .tp-shot-label { opacity: 1; transform: none; }
.tp-shot a { position: absolute; inset: 0; z-index: 2; }
.tp-shot a:focus-visible { outline: 3px solid var(--mustard); outline-offset: -3px; }

/* Offerings --------------------------------------------------------------- */

.tp-offer { position: relative; overflow: hidden; background: var(--forest-deep); color: var(--paper); padding: 6rem 0 7rem; text-align: center; }
.tp-offer .v2-wrap { position: relative; z-index: 2; }
.tp-offer .v2-topper { margin-bottom: 1.75rem; }
.tp-cards { list-style: none; margin: 3.5rem auto 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; max-width: 44rem; }
.tp-card { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 2.75rem 0 0; display: flex; flex-direction: column; }
.tp-card img { width: 2.75rem; height: auto; margin: 0 auto 1.5rem; }
.tp-card-tier { font-size: 0.85rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }
.tp-card h3 { font-family: var(--tp-serif); font-weight: 300; font-size: 1.9rem; margin: 0.9rem 0 1.75rem; }
.tp-card p { margin: 0 auto; padding: 0 2.5rem; max-width: 20rem; font-size: 0.95rem; line-height: 1.6; flex: 1; }
.tp-card dl { margin: 3rem 0 0; }
.tp-card dl div { display: flex; justify-content: space-between; padding: 1.6rem 2.5rem; border-top: 1px solid rgba(28, 26, 22, 0.7); font-size: 0.95rem; }
.tp-card dt { text-transform: uppercase; font-weight: 400; }
.tp-card dd { margin: 0; }
.tp-offer-cta { width: min(30rem, 100%); min-height: 4rem; margin: 3.25rem auto 0; display: flex; }
.tp-offer-note { margin: 1.25rem 0 0; font-size: 0.9rem; opacity: 0.8; }

.tp-offer .o1 { left: -2rem; top: 16rem; width: 9rem; height: 9rem; background-color: var(--sky); border-radius: 0 0 999px 999px; transform: rotate(-24deg); }
.tp-offer .o2 { left: -2rem; bottom: 3rem; width: 9rem; height: 10rem; background-color: var(--brick); border-radius: 45% 55% 50% 45%; }
.tp-offer .o3 { right: -1rem; top: 26rem; width: 9rem; height: 8rem; background-color: var(--mustard); clip-path: polygon(0 0, 35% 0, 35% 55%, 65% 55%, 65% 0, 100% 0, 100% 100%, 0 100%); }
.tp-offer .o4 { right: -1.5rem; bottom: -1.5rem; width: 10rem; height: 10rem; background-color: var(--brown); border-radius: 50% 50% 0 0; }

/* Testimonials ------------------------------------------------------------ */

.tp-quotes { background: var(--sage); color: var(--ink); padding: 4.5rem 0 6rem; }
.tp-quotes .v2-topper { text-align: center; margin: 0 0 3.5rem; }
.tp-quote-tabs { display: flex; align-items: center; gap: 0.9rem; }
.tp-quote-tabs button {
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-family: var(--bodyFont);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(28, 26, 22, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tp-quote-tabs button[aria-selected="true"] { color: var(--ink); }
.tp-quote-tabs button[aria-selected="true"]::after { content: ""; width: 4.5rem; height: 1px; background: currentColor; }
.tp-quote-panels { margin-top: 3rem; min-height: 16rem; }
.tp-quote { margin: 0 auto; max-width: 52rem; text-align: center; }
.tp-quote p { font-family: var(--tp-serif); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.35; letter-spacing: -0.015em; margin: 0 0 2rem; }
.tp-quote footer { font-size: 0.95rem; line-height: 1.5; }
.tp-quote footer strong { display: block; font-weight: 500; }
.tp-quote:not([hidden]) { animation: tp-fade 0.5s ease; }
@keyframes tp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* What's included --------------------------------------------------------- */

.tp-included { background: var(--paper-light); padding: 5.5rem 0 7rem; text-align: center; }
.tp-included .v2-topper { margin-bottom: 1.75rem; }
.tp-features { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.tp-features svg { width: 2.25rem; height: 2.25rem; margin: 0 auto 1.75rem; display: block; }
.tp-features h3 { font-family: var(--bodyFont); font-weight: 500; font-size: 1rem; letter-spacing: 0.06em; margin: 0 0 1.5rem; }
.tp-features p { margin: 0 auto; max-width: 13rem; font-size: 0.95rem; line-height: 1.6; }

/* FAQ --------------------------------------------------------------------- */

#faq.tp-faq { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: 5rem 0 6rem; }
#faq.tp-faq .v2-wrap { display: block; position: relative; z-index: 2; max-width: 30rem; padding: 0; text-align: center; }
.tp-faq-title { font-family: var(--tp-serif); font-weight: 300; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 1; margin: 0; }
.tp-faq-intro { font-size: 1.1rem; line-height: 1.55; margin: 1.75rem 0 2.5rem; }
.tp-faq-intro a { color: inherit; text-decoration-color: currentColor; text-decoration-thickness: 1px; }
#faq.tp-faq .cs-faq-group { border-top-color: rgba(247, 245, 223, 0.6); text-align: left; }
#faq.tp-faq .cs-faq-item { border-bottom-color: rgba(247, 245, 223, 0.6); }
#faq.tp-faq .cs-faq-question { color: var(--paper); font-family: var(--bodyFont); font-weight: 300; font-size: 1rem; letter-spacing: 0; padding: 1rem 0; }
#faq.tp-faq .cs-faq-icon,
#faq.tp-faq .cs-faq-icon::before,
#faq.tp-faq .cs-faq-icon::after { width: 11px; }
#faq.tp-faq .cs-faq-icon::before,
#faq.tp-faq .cs-faq-icon::after { top: 5px; height: 1.25px; }
#faq.tp-faq .cs-faq-answer-text { font-size: 0.95rem; opacity: 0.85; padding-right: 1.5rem; }

.tp-faq .q1 { left: -2rem; top: -1rem; width: 14rem; height: 6rem; background-color: var(--olive); border-radius: 0 0 5rem 0; }
.tp-faq .q2 { right: -1rem; top: 1.5rem; width: 10rem; height: 5.5rem; background-color: var(--sky); border-radius: 2rem 2rem 0 0; }
.tp-faq .q3 { left: -1rem; top: 22rem; width: 7rem; height: 9rem; background-color: var(--mustard); clip-path: polygon(0 0, 100% 0, 45% 50%, 100% 100%, 0 100%); }
.tp-faq .q4 { left: 1rem; bottom: 2rem; width: 10rem; height: 11rem; background-color: var(--blue); border-radius: 45% 45% 40% 40%; }
.tp-faq .q5 { right: -1rem; top: 27rem; width: 8.5rem; height: 6rem; background-color: var(--brick); border-radius: 0.4rem; transform: rotate(-3deg); }

/* Contact ----------------------------------------------------------------- */

#contact.tp-contact { background: var(--forest-deep); color: var(--paper); padding: 6.5rem 0 0; overflow: hidden; }
#contact.tp-contact .v2-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 7rem; max-width: var(--wrap); text-align: left; align-items: start; }
.tp-contact-copy { display: flex; flex-direction: column; min-height: 100%; }
.tp-contact .tp-h2 { font-size: clamp(2.4rem, 4vw, 3.2rem); max-width: 22rem; }
.tp-contact .v2-text { margin-top: 2rem; max-width: 22rem; opacity: 0.92; }
#contact .tp-contact-art .v2-shape { top: auto; right: auto; bottom: auto; transform: none; opacity: 1; }
.tp-contact-art { position: relative; flex: 1; min-height: 20rem; margin: 3rem 0 0 calc(var(--gutter) * -1); }
#contact .tp-contact-art .c1 { left: 4rem; top: 0; width: 9rem; height: 8rem; background-color: var(--brown); border-radius: 50%; clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 50%, 50% 100%, 0 100%); }
#contact .tp-contact-art .c2 { left: 0; top: 6rem; width: 9rem; height: 11rem; background-color: var(--sky); border-radius: 0 60% 30% 0; }
#contact .tp-contact-art .c3 { left: 14rem; top: 6rem; width: 5rem; height: 10rem; background-color: var(--blue); clip-path: polygon(0 0, 100% 0, 50% 100%); }
#contact .tp-contact-art .c4 { left: 2rem; bottom: -2rem; width: 11rem; height: 8rem; background-color: var(--brick); border-radius: 45% 45% 0 0; }
#contact .tp-contact-art .c5 { left: 15rem; bottom: -2rem; width: 11rem; height: 10rem; background-color: var(--mustard); border-radius: 50% 50% 0 0 / 60% 60% 0 0; }

#contact.tp-contact .cs-form {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper);
  border-radius: 10px;
  box-shadow: none;
  padding: 1.75rem 1.5rem 1.5rem;
  margin-bottom: 5.5rem;
}
#contact.tp-contact .cs-form-fields { grid-template-columns: 1fr; gap: 1.25rem; }
#contact.tp-contact .cs-label { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; gap: 0.35rem; }
#contact.tp-contact .cs-label em { color: var(--olive); opacity: 1; }
#contact.tp-contact fieldset.cs-label { border: 0; padding: 0; margin: 0; }
#contact.tp-contact legend { padding: 0; margin-bottom: 0.6rem; }
#contact.tp-contact .cs-input,
#contact.tp-contact .cs-textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 223, 0.35);
  border-radius: 0;
  padding: 0.55rem 0;
  color: var(--paper);
}
#contact.tp-contact .cs-textarea { min-height: 4.5rem; }
#contact.tp-contact .cs-radio-option { font-size: 0.9rem; letter-spacing: 0; margin-top: 0.35rem; }
#contact.tp-contact .cs-radio-option input { accent-color: var(--olive); width: 1.05rem; height: 1.05rem; }
#contact.tp-contact .cs-submit { background: #a3a461; color: var(--paper-light); min-height: 3rem; margin-top: 0.5rem; }
#contact.tp-contact .cs-submit:hover { background: #8e8f50; }

/* Footer texture, as on the reference */
.tp .v2-footer { background-color: var(--ink); }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
  .tp-hero .h3 { left: 6rem; }
  .tp-hero .h7 { right: 4rem; }
}

@media (max-width: 960px) {
  .tp-header .v2-nav { background: var(--paper-light); border-top-color: rgba(28, 26, 22, 0.12); gap: 0; }
  .tp-header .v2-nav a { border-bottom-color: rgba(28, 26, 22, 0.1); }

  .tp-hero-panel { min-height: 0; padding: 7.5rem 1.25rem 10rem; }
  .tp-hero .h1 { width: 7rem; height: 2.25rem; top: 1.5rem; }
  .tp-hero .h5 { width: 7rem; height: 2.25rem; top: 1.5rem; }
  .tp-hero .h2 { width: 5rem; height: 7rem; top: auto; bottom: 3rem; left: -2rem; }
  .tp-hero .h6 { width: 5rem; height: 7rem; top: auto; bottom: 4rem; right: -2rem; }
  .tp-hero .h3, .tp-hero .h7 { display: none; }
  .tp-hero .h4 { left: 5rem; width: 3.5rem; height: 6rem; }
  .tp-hero .h8 { right: 4.5rem; width: 5.5rem; height: 5.5rem; }

  .tp-intro { padding: 5rem 0; }
  .tp-intro .v2-wrap { grid-template-columns: 1fr; gap: 2rem; }

  .tp-founder { grid-template-columns: 1fr; }
  .tp-founder-art { min-height: 26rem; padding: 4rem 2rem; }
  .tp-founder-copy { padding: 4rem var(--gutter); }

  .tp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .tp-shot-label { opacity: 1; transform: none; font-size: 0.7rem; left: 0.35rem; bottom: 0.35rem; padding: 0.2rem 0.55rem; }

  .tp-cards { grid-template-columns: 1fr; gap: 1rem; max-width: 26rem; }
  .tp-offer .o1, .tp-offer .o3 { width: 5rem; height: 5rem; }
  .tp-offer .o2, .tp-offer .o4 { width: 5.5rem; height: 5.5rem; }

  .tp-features { grid-template-columns: 1fr 1fr; gap: 3rem 1.5rem; }

  #faq.tp-faq .v2-wrap { padding: 0 var(--gutter); max-width: 30rem; }
  .tp-faq .v2-shape { opacity: 0.55; }
  .tp-faq .q1 { width: 8rem; height: 3.5rem; }
  .tp-faq .q2 { width: 6rem; height: 3.5rem; }
  .tp-faq .q3, .tp-faq .q5 { display: none; }
  .tp-faq .q4 { width: 5rem; height: 6rem; bottom: -1rem; left: -1rem; }

  #contact.tp-contact .v2-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .tp-contact-art { order: 3; min-height: 14rem; margin-top: 0; }
  .tp-contact-copy { display: contents; }
  #contact.tp-contact .cs-form { margin-bottom: 0; }
  #contact .tp-contact-art .c1 { width: 6rem; height: 5.5rem; left: 3rem; }
  #contact .tp-contact-art .c2 { width: 6rem; height: 7.5rem; top: 4rem; }
  #contact .tp-contact-art .c3 { left: 10rem; top: 4rem; width: 3.5rem; height: 7rem; }
  #contact .tp-contact-art .c4 { width: 8rem; height: 6rem; }
  #contact .tp-contact-art .c5 { left: 11rem; width: 8rem; height: 7rem; }
}

@media (max-width: 520px) {
  .tp-hero h1 { font-size: 2.5rem; }
  .tp-features { grid-template-columns: 1fr; }
  .tp-quote-tabs button[aria-selected="true"]::after { width: 2.5rem; }
}
