/* TalkWise master refinement — additive, reversible, and intentionally quiet. */
.tw-saved-motif-layout,
.placement-marker,
.motif-layout-editor {
  display: none !important;
}

[aria-hidden="true"] img,
figure[aria-hidden="true"] {
  pointer-events: none;
  user-select: none;
}

.enquiry-form:focus,
.enquiry-form:focus-visible {
  outline: 3px solid #91643c;
  outline-offset: 5px;
}

a[href^="tel:"],
a[href^="sms:"],
.text-action,
.resource-link,
.support-card a,
.reading-source a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

.talkwise-site p a,
.talkwise-site li a,
.talkwise-site cite a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
}

@media (max-width: 767px) {
  figure[aria-hidden="true"] {
    max-height: min(34vh, 19rem);
    overflow: hidden;
  }
}

.chat-privacy-warning strong,
.anonymous-chat strong,
.privacy-warning-emphasis {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

.therapy-terms-detail {
  margin-top: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(41, 59, 44, 0.24);
}

.therapy-terms-detail > summary {
  width: fit-content;
  cursor: pointer;
  color: #293b2c;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

.therapy-terms-detail[open] > summary {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.therapy-terms-detail > summary:focus-visible {
  outline: 3px solid #91643c;
  outline-offset: 5px;
}

/* Keep the main About heading comfortably legible at every width. */
.talkwise-site .about-section h2 {
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
}

/* Sitewide reading-flow correction — one predictable path through prose. */
:root {
  --tw-simple-reading-width: 68ch;
  --tw-simple-section-width: 880px;
}

.talkwise-site p {
  max-width: var(--tw-simple-reading-width);
  line-height: 1.72;
}

/* Essential content must remain readable even when reveal motion does not run. */
.talkwise-site .tw-premium-reveal,
.talkwise-site .tw-about-reading-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.talkwise-site .depth-section__inner,
.talkwise-site .phase2-section3__story,
.talkwise-site .about-experience-intro__inner,
.talkwise-site .reading-section > :not(.return-link):not(figure),
.talkwise-site .faq-section > :not(.return-link),
.talkwise-site .support-section > :not(.return-link) {
  max-width: var(--tw-simple-section-width);
  margin-inline: auto;
}

.talkwise-site .depth-section__inner,
.talkwise-site .phase2-section4__header,
.talkwise-site .about-experience-intro__inner {
  display: block;
}

.talkwise-site .depth-section__inner > *,
.talkwise-site .phase2-section4__header > * {
  grid-column: auto;
}

.talkwise-site .depth-section__inner > p,
.talkwise-site .depth-section__inner > ul,
.talkwise-site .depth-section__inner > .culture-language-note,
.talkwise-site .phase2-section3__narrative > p,
.talkwise-site .phase2-section3__conclusion > p,
.talkwise-site .phase2-section4__header > p,
.talkwise-site .reading-section > p,
.talkwise-site .support-section > p,
.talkwise-site .confidentiality-section > p {
  width: 100%;
  max-width: var(--tw-simple-reading-width);
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.talkwise-site .depth-section__inner > h2,
.talkwise-site .depth-section__inner > h3,
.talkwise-site .phase2-section4__header > h2 {
  margin-right: auto;
  margin-left: 0;
}

.talkwise-site .phase2-section4__header > p:not(.section-label) {
  margin-top: clamp(1.25rem, 2.2vw, 1.8rem);
}

.talkwise-site .phase2-section4__pathways {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, var(--tw-simple-section-width));
  margin-right: auto;
  margin-left: auto;
}

.talkwise-site .phase2-section4__pathways article,
.talkwise-site .phase2-section4__pathways article:nth-child(even) {
  padding: clamp(1.75rem, 3vw, 2.6rem) 0;
  border-right: 0;
  border-left: 0;
}

.talkwise-site .phase2-section4__pathways p,
.talkwise-site .phase2-section4__pathways h3 {
  max-width: var(--tw-simple-reading-width);
}

.talkwise-site .phase2-section3__narrative,
.talkwise-site .phase2-section3__conclusion {
  width: min(100%, var(--tw-simple-section-width));
  margin-right: auto;
  margin-left: auto;
}

.talkwise-site .phase2-section3__narrative {
  gap: 1.35rem;
}

.talkwise-site .phase2-section3__conclusion {
  gap: 1.5rem;
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
}

.talkwise-site .phase2-section3__turn,
.talkwise-site .phase2-section3__final,
.talkwise-site .phase2-section3__experience {
  margin-left: 0 !important;
  text-align: left;
}

/* Calm the oversized vertical rhythm that made some pages feel unfinished. */
.talkwise-site:not(.home-page) .talkwise-section,
.talkwise-site .depth-section,
.talkwise-site .phase2-section3,
.talkwise-site .phase2-section4 {
  min-height: 0;
}

.talkwise-site:not(.home-page) .talkwise-section {
  padding-top: clamp(2.6rem, 5vw, 4.75rem);
  padding-bottom: clamp(2.8rem, 5.4vw, 5rem);
}

@media (max-width: 760px) {
  :root {
    --tw-simple-reading-width: 100%;
  }

  .talkwise-site p,
  .talkwise-site li {
    line-height: 1.68;
  }

  .talkwise-site:not(.home-page) .talkwise-section,
  .talkwise-site .depth-section,
  .talkwise-site .phase2-section3,
  .talkwise-site .phase2-section4 {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .talkwise-site .about-section {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .talkwise-site .about-section > div {
    order: 1;
  }

  .talkwise-site .about-section .about-imran-illustration {
    order: 2;
    width: min(72vw, 280px);
    max-height: 24rem;
  }

  .talkwise-site .about-section .about-imran-illustration img {
    max-height: 24rem;
  }

  .talkwise-site .phase2-section3__story {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .talkwise-site .phase2-section3__narrative {
    margin-top: 2.25rem;
  }

  .talkwise-site .phase2-section3__turn {
    margin-top: 1.6rem !important;
    margin-bottom: .75rem !important;
  }

  .talkwise-site .phase2-section4__pathways {
    margin-top: 2.25rem;
  }
}

/* About page: a continuous editorial sequence from the professional journey. */
.talkwise-site #professional-journey .phase2-section3__header,
.talkwise-site #professional-journey .phase2-section3__narrative,
.talkwise-site #professional-journey .phase2-section3__conclusion,
.talkwise-site .therapy-room-section .therapy-room-heading,
.talkwise-site .therapy-room-section .therapy-room-copy,
.talkwise-site #how-i-work,
.talkwise-site #who-i-work-with {
  width: min(100%, var(--tw-simple-section-width));
  max-width: var(--tw-simple-section-width);
  margin-right: auto;
  margin-left: auto;
}

.talkwise-site #professional-journey .phase2-section3__header {
  display: block;
}

.talkwise-site #professional-journey .phase2-section3__narrative,
.talkwise-site #professional-journey .phase2-section3__conclusion {
  display: block;
}

.talkwise-site #professional-journey .phase2-section3__narrative {
  gap: 0;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}

.talkwise-site #professional-journey .phase2-section3__narrative > p + p,
.talkwise-site #professional-journey .phase2-section3__conclusion > p + p {
  margin-top: 1.15rem;
}

.talkwise-site #professional-journey .phase2-section3__header h2 {
  max-width: 18ch;
  margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
  word-spacing: .14em;
}

.talkwise-site #professional-journey .phase2-section3__opening {
  max-width: 62ch;
  padding: 0;
}

.talkwise-site #professional-journey .phase2-section3__turn {
  max-width: 34ch;
  margin-top: clamp(2rem, 3.5vw, 2.75rem) !important;
  margin-bottom: 1.25rem !important;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem) !important;
  line-height: 1.3 !important;
}

.talkwise-site #professional-journey .phase2-section3__conclusion {
  gap: 0;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.talkwise-site #professional-journey .phase2-section3__experience,
.talkwise-site #professional-journey .phase2-section3__final {
  max-width: 62ch;
  font-family: inherit;
  font-size: clamp(1.12rem, 1.5vw, 1.28rem) !important;
  font-weight: 500;
  line-height: 1.65 !important;
  letter-spacing: 0;
}

.talkwise-site .therapy-room-section {
  display: block;
}

.talkwise-site .therapy-room-section .therapy-room-heading,
.talkwise-site .therapy-room-section .therapy-room-copy {
  display: block;
}

.talkwise-site .therapy-room-section .therapy-room-heading {
  position: static;
  top: auto;
}

.talkwise-site .therapy-room-section .therapy-room-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}

.talkwise-site .therapy-room-section .therapy-room-copy {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.talkwise-site .therapy-room-section .therapy-room-copy p,
.talkwise-site #how-i-work > p,
.talkwise-site #who-i-work-with > p {
  max-width: var(--tw-simple-reading-width);
  margin-right: auto;
  margin-left: 0;
}

.talkwise-site .therapy-room-motif,
.talkwise-site #how-i-work .about-reading-motif,
.talkwise-site #who-i-work-with .about-reading-motif {
  position: static;
  inset: auto;
  float: none;
  transform: none;
  width: min(100%, 260px);
  max-height: 260px;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  overflow: hidden;
  opacity: .72;
}

.talkwise-site .therapy-room-motif img,
.talkwise-site #how-i-work .about-reading-motif img,
.talkwise-site #who-i-work-with .about-reading-motif img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

.talkwise-site #who-i-work-with > h3 {
  max-width: 28ch;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.talkwise-site .about-professional-record .phase2-section3__background-inner {
  width: min(100%, var(--tw-simple-section-width));
  max-width: var(--tw-simple-section-width);
}

.talkwise-site .about-professional-record .phase2-section3__credentials {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.25rem, 4vw, 3.5rem);
}

.talkwise-site .about-professional-record .clinical-experience-path {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 760px) {
  .talkwise-site #professional-journey .phase2-section3__header h2 {
    margin-bottom: 1.15rem;
  }

  .talkwise-site #professional-journey .phase2-section3__opening {
    font-size: 1.28rem;
    line-height: 1.6;
  }

  .talkwise-site .therapy-room-motif,
  .talkwise-site #how-i-work .about-reading-motif,
  .talkwise-site #who-i-work-with .about-reading-motif {
    width: min(68vw, 220px);
    max-height: 220px;
    margin-top: 1.5rem;
  }

  .talkwise-site .about-professional-record .phase2-section3__background {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  /* Prevent older component grids from remaining wider than the phone. */
  .talkwise-site .process-section,
  .talkwise-site .process-section > div,
  .talkwise-site .process-section .process-list,
  .talkwise-site .process-section .therapy-terms-note,
  .talkwise-site .details-section > *,
  .talkwise-site .availability-section > * {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .talkwise-site .process-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .talkwise-site .process-section .process-list {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
