/* Desktop-only typography and spacing correction.
   Mobile and the approved hero composition remain untouched. */
.talkwise-site .phase2-opening__journey-art {
  display: none;
}

.talkwise-site .phase2-opening__branch-insight {
  display: none;
}

.talkwise-site .phase2-opening__branch-reflection,
.talkwise-site .phase2-opening__branch-label {
  display: none;
}

.talkwise-site .phase2-opening__person-copy {
  width: 100%;
  max-width: 38rem;
  margin-inline: auto;
  text-align: left;
}

.talkwise-site .phase2-opening__person .phase2-opening__person-copy p {
  max-width: 38ch;
  margin-inline: auto;
  color: #405247;
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.24rem, 1.45vw, 1.4rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  text-wrap: pretty;
}

.talkwise-site .phase2-opening__person-copy p + p {
  margin-top: .88em;
}

.talkwise-site .phase2-section2__awareness-art {
  display: none;
}

@media (min-width: 1024px) {
  .talkwise-site .scroll-scrub__chapter {
    min-height: calc(100vh + 220px) !important;
  }

  .talkwise-site .scroll-scrub__chapter-pin {
    position: sticky;
    top: 96px;
    min-height: calc(100vh - 96px) !important;
    padding-top: 30px;
    padding-bottom: 30px;
    align-items: flex-start;
  }

  .talkwise-site .phase2-opening {
    width: min(1240px, 90vw);
    max-width: 1240px;
    padding: 36px 48px 32px;
  }

  .talkwise-site .phase2-opening__primary {
    grid-template-columns: minmax(0, 1.58fr) minmax(330px, 1fr);
    gap: clamp(34px, 3.4vw, 48px);
  }

  .talkwise-site .phase2-opening__person {
    padding-left: 0;
  }

  .talkwise-site .phase2-opening__scope {
    gap: 40px;
    margin-top: 22px;
    padding-top: 20px;
  }

  .talkwise-site .phase2-opening .scroll-scrub__actions {
    margin-top: 22px;
  }

  .talkwise-site .phase2-opening .hero-credentials {
    margin-top: 18px;
  }
}

@media (min-width: 900px) {
  .talkwise-site {
    --desktop-content: 1240px;
    --desktop-reading: 760px;
    --desktop-intro: 880px;
    --desktop-body: clamp(1.125rem, 1.3vw, 1.1875rem);
    --desktop-body-leading: 1.7;
    --desktop-h2: clamp(3.25rem, 4.2vw, 4rem);
    --desktop-h3: clamp(1.875rem, 2.4vw, 2.375rem);
    --desktop-section-space: clamp(80px, 6.3vw, 104px);
  }

  .talkwise-site .desktop-navigation > a,
  .talkwise-site a.nav-action {
    font-size: clamp(1rem, 1.12vw, 1.0625rem);
  }

  .talkwise-site .talkwise-section .section-label {
    font-size: clamp(.875rem, 1vw, .9375rem);
  }

  .talkwise-site .phase2-opening__journey-art {
    display: block;
    position: relative;
    width: min(100%, 34rem);
    margin: 26px 0 0;
    opacity: .78;
    pointer-events: auto;
  }

  .talkwise-site .phase2-opening__branch-reflection {
    display: block;
    position: relative;
    width: 100%;
    margin: 18px 0 0;
    padding: 17px 12px 0 0;
  }

  .talkwise-site .phase2-opening__branch-reflection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 1px;
    background: rgba(156, 111, 76, .48);
  }

  .talkwise-site .phase2-opening__branch-label {
    display: block;
    margin: 0 0 9px;
    color: #8b6a57;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: .68rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .15em;
    text-transform: uppercase;
  }

  .talkwise-site .phase2-opening__branch-insight {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #75564c;
    font-family: "Cormorant Garamond", Lora, Georgia, serif;
    font-size: clamp(1.42rem, 1.72vw, 1.64rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.62;
    letter-spacing: .008em;
    text-wrap: pretty;
  }

  .talkwise-site .phase2-opening__branch-insight span {
    opacity: 0;
    animation-duration: 26s;
    animation-timing-function: cubic-bezier(.22, .72, .24, 1);
    animation-iteration-count: infinite;
    animation-fill-mode: both;
  }

  .talkwise-site .phase2-opening__branch-insight span:nth-child(1) { animation-name: tw-branch-insight-reveal-1; }
  .talkwise-site .phase2-opening__branch-insight span:nth-child(2) { animation-name: tw-branch-insight-reveal-2; }
  .talkwise-site .phase2-opening__branch-insight span:nth-child(3) { animation-name: tw-branch-insight-reveal-3; }
  .talkwise-site .phase2-opening__branch-insight span:nth-child(4) { animation-name: tw-branch-insight-reveal-4; }

  .talkwise-site .phase2-opening__branch-botanical {
    width: min(82%, 32rem);
    margin: 24px auto 0;
    padding: 0;
    opacity: .82;
    pointer-events: none;
  }

  .talkwise-site .phase2-opening__branch-botanical img {
    display: block;
    width: 100%;
    height: auto;
    transform: scaleX(-1);
  }

  .talkwise-site .phase2-opening__journey-art img {
    display: block;
    width: 100%;
    height: auto;
  }

  .talkwise-site .phase2-opening__journey-art figcaption {
    position: absolute;
    left: 50%;
    bottom: 5%;
    width: max-content;
    max-width: 88%;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(29, 43, 36, .34);
    color: rgba(255, 255, 255, .94);
    backdrop-filter: blur(7px);
    font-family: Lora, Georgia, serif;
    font-size: clamp(.52rem, .58vw, .59rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .035em;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .talkwise-site .phase2-opening__journey-art:hover figcaption,
  .talkwise-site .phase2-opening__journey-art:focus figcaption,
  .talkwise-site .phase2-opening__journey-art:focus-visible figcaption,
  .talkwise-site .phase2-opening__journey-art:focus-within figcaption,
  .talkwise-site .phase2-opening__journey-art:active figcaption {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  @media (any-hover: none), (pointer: coarse) {
    .talkwise-site .phase2-opening__journey-art figcaption {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, 0);
    }
  }

  .talkwise-site .phase2-section2,
  .talkwise-site .phase2-section4,
  .talkwise-site .phase2-section5,
  .talkwise-site .phase2-section6 {
    padding-block: var(--desktop-section-space);
  }

  .talkwise-site .talkwise-section.phase2-section2 {
    padding-right: max(48px, calc(50vw - 620px));
    padding-left: max(48px, calc(50vw - 620px));
  }

  /* When we begin to talk */
  .talkwise-site .phase2-section2__inner {
    display: grid;
    grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
    column-gap: clamp(64px, 6vw, 90px);
    width: min(100%, var(--desktop-content));
    align-items: start;
  }

  .talkwise-site .phase2-section2__opening {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .talkwise-site .phase2-section2__opening h2 {
    max-width: 14ch;
    margin-bottom: clamp(28px, 2.6vw, 38px);
    font-size: clamp(2.25rem, 2.65vw, 2.75rem);
    line-height: 1.1;
  }

  .talkwise-site .talkwise-section.phase2-section2 p:not(.gentle-emphasis) {
    max-width: 42ch;
    font-size: var(--desktop-body);
    line-height: var(--desktop-body-leading);
  }

  .talkwise-site .phase2-section2__trust {
    margin-top: 26px !important;
    font-size: clamp(1.875rem, 2.35vw, 2.25rem) !important;
  }

  .talkwise-site .phase2-section2__exploration {
    grid-column: 2;
    grid-row: 1;
    gap: 24px;
    margin-top: 0;
    padding-left: 32px;
  }

  .talkwise-site .phase2-section2__challenge {
    grid-column: 2;
    grid-row: 2;
    margin-top: 48px;
    padding-block: 34px;
  }

  .talkwise-site .phase2-section2__challenge h3 {
    margin-bottom: 24px;
    font-size: var(--desktop-h3);
  }

  .talkwise-site .phase2-section2__awareness-art {
    display: block;
    position: relative;
    grid-column: 1;
    grid-row: 2 / span 2;
    align-self: center;
    width: min(92%, 27rem);
    margin: 0 auto;
    pointer-events: auto;
    cursor: default;
  }

  .talkwise-site .phase2-section2__awareness-art img {
    display: block;
    width: 100%;
    height: auto;
  }

  .talkwise-site .phase2-section2__awareness-art figcaption {
    position: absolute;
    left: 50%;
    top: 81%;
    width: max-content;
    max-width: 88%;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(29, 43, 36, .34);
    color: rgba(255, 255, 255, .94);
    backdrop-filter: blur(7px);
    font-family: Lora, Georgia, serif;
    font-size: clamp(.52rem, .58vw, .59rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .035em;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .talkwise-site .phase2-section2__awareness-art:hover figcaption,
  .talkwise-site .phase2-section2__awareness-art:focus figcaption,
  .talkwise-site .phase2-section2__awareness-art:focus-visible figcaption,
  .talkwise-site .phase2-section2__awareness-art:focus-within figcaption,
  .talkwise-site .phase2-section2__awareness-art:active figcaption {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  @media (any-hover: none), (pointer: coarse) {
    .talkwise-site .phase2-section2__awareness-art figcaption {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, 0);
    }
  }

  .talkwise-site .phase2-section2__autonomy {
    grid-column: 2;
    grid-row: 3;
    margin-top: 40px;
  }

  .talkwise-site .phase2-section2__choice {
    margin-bottom: 20px !important;
    font-size: clamp(1.75rem, 2.1vw, 2rem) !important;
  }

  /* What might bring you to therapy? */
  .talkwise-site .phase2-section4 {
    padding-inline: max(48px, calc(50vw - 620px));
  }

  .talkwise-site .phase2-section4__inner {
    width: min(100%, var(--desktop-content));
  }

  .talkwise-site .phase2-section4__header {
    grid-template-columns: minmax(0, .44fr) minmax(0, .5fr);
    column-gap: clamp(60px, 5.4vw, 80px);
    row-gap: 14px;
    align-items: start;
  }

  .talkwise-site .phase2-section4__header h2 {
    grid-row: 1 / span 2;
    max-width: 12ch;
    font-size: var(--desktop-h2);
    line-height: 1.1;
  }

  .talkwise-site .phase2-section4__header > p:not(.section-label) {
    font-size: var(--desktop-body);
    line-height: var(--desktop-body-leading);
  }

  .talkwise-site .phase2-section4__intro {
    align-self: start;
    margin-bottom: 0 !important;
    font-size: clamp(1.75rem, 2.15vw, 2.125rem) !important;
    line-height: 1.38 !important;
  }

  .talkwise-site .phase2-section4__pathways {
    margin-top: 64px;
  }

  .talkwise-site .phase2-section4__pathways article {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .talkwise-site .phase2-section4__pathways h3 {
    font-size: var(--desktop-h3);
  }

  .talkwise-site .phase2-section4__pathways p,
  .talkwise-site .phase2-section4__ending p {
    font-size: var(--desktop-body);
    line-height: var(--desktop-body-leading);
  }

  .talkwise-site .phase2-section4__ending {
    margin-top: 64px;
  }

  /* What happens in therapy? */
  .talkwise-site .phase2-section5__inner {
    width: min(calc(100% - 96px), 900px);
  }

  .talkwise-site .phase2-section5__header h2 {
    margin-bottom: 30px;
    font-size: var(--desktop-h2);
    line-height: 1.1;
  }

  .talkwise-site .phase2-section5__lead {
    max-width: var(--desktop-intro);
    font-size: clamp(1.875rem, 2.35vw, 2.25rem);
    line-height: 1.42;
  }

  .talkwise-site .phase2-section5__flow {
    margin-top: 36px;
  }

  .talkwise-site .phase2-section5__passage {
    padding-block: 30px;
  }

  .talkwise-site .phase2-section5__passage h3 {
    margin-bottom: 18px;
    font-size: var(--desktop-h3);
  }

  .talkwise-site .phase2-section5__passage p {
    max-width: var(--desktop-reading);
    font-size: var(--desktop-body);
    line-height: var(--desktop-body-leading);
  }

  /* Sessions and fees */
  .talkwise-site .phase2-section6 {
    padding-right: max(48px, calc(50vw - 620px));
    padding-bottom: 72px;
    padding-left: max(48px, calc(50vw - 620px));
  }

  .talkwise-site .phase2-section6__inner {
    width: min(100%, var(--desktop-content));
  }

  .talkwise-site .phase2-section6__header h2 {
    font-size: var(--desktop-h2);
  }

  .talkwise-site .phase2-section6__continuity {
    gap: 20px clamp(48px, 5vw, 68px);
    margin-top: 44px;
  }

  .talkwise-site .phase2-section6__continuity p,
  .talkwise-site .phase2-section6__ways p:not(.phase2-section6__way-label),
  .talkwise-site .phase2-section6__conversation p {
    font-size: var(--desktop-body);
    line-height: var(--desktop-body-leading);
  }

  .talkwise-site .phase2-section6__six {
    margin-top: 8px !important;
    font-size: clamp(1.625rem, 1.9vw, 1.875rem) !important;
  }

  .talkwise-site .phase2-section6__ways {
    margin-top: 52px;
    padding-block: 48px;
  }

  .talkwise-site .phase2-section6__ways h3,
  .talkwise-site .phase2-section6__conversation h3 {
    font-size: var(--desktop-h3);
  }

  .talkwise-site .phase2-section6__conversation {
    gap: clamp(48px, 5.5vw, 76px);
    margin-top: 56px;
  }

  .talkwise-site .phase2-section6__urgent {
    margin-top: 32px;
  }

  /* Confidentiality transition */
  .talkwise-site .home-confidentiality {
    padding-top: 76px;
    padding-bottom: 84px;
  }

  .talkwise-site .home-confidentiality h2 {
    margin-bottom: 28px;
    font-size: var(--desktop-h2);
  }

  .talkwise-site .talkwise-section.home-confidentiality p:not(.gentle-emphasis) {
    max-width: var(--desktop-reading);
    font-size: var(--desktop-body);
    line-height: var(--desktop-body-leading);
  }
}

@keyframes tw-branch-insight-reveal-1 {
  0%, 3%, 100% { opacity: 0; color: rgba(121, 84, 71, 0); }
  10%, 88% { opacity: 1; color: #795447; }
  97% { opacity: 0; color: rgba(121, 84, 71, 0); }
}

@keyframes tw-branch-insight-reveal-2 {
  0%, 10%, 100% { opacity: 0; color: rgba(121, 84, 71, 0); }
  17%, 88% { opacity: 1; color: #795447; }
  97% { opacity: 0; color: rgba(121, 84, 71, 0); }
}

@keyframes tw-branch-insight-reveal-3 {
  0%, 17%, 100% { opacity: 0; color: rgba(121, 84, 71, 0); }
  24%, 88% { opacity: 1; color: #795447; }
  97% { opacity: 0; color: rgba(121, 84, 71, 0); }
}

@keyframes tw-branch-insight-reveal-4 {
  0%, 24%, 100% { opacity: 0; color: rgba(121, 84, 71, 0); }
  31%, 88% { opacity: 1; color: #795447; }
  97% { opacity: 0; color: rgba(121, 84, 71, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .talkwise-site .phase2-opening__branch-insight span {
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 800px) {
  .talkwise-site .phase2-opening__person .phase2-opening__person-copy p {
    max-width: 37ch;
    font-size: clamp(1.18rem, 4.65vw, 1.3rem);
    line-height: 1.7;
    text-align: left;
    text-align-last: auto;
    hyphens: none;
  }
}

/* Phone landscape needs its own composition: its width resembles a tablet,
   but there is not enough room or height for the desktop two-column hero. */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
  .talkwise-site .scroll-scrub,
  .talkwise-site .scroll-scrub__chapter,
  .talkwise-site .scroll-scrub__chapter-pin {
    min-height: 0 !important;
  }

  .talkwise-site .scroll-scrub__chapter-pin {
    position: relative;
    top: auto;
    padding: 22px 24px 32px;
  }

  .talkwise-site .phase2-opening {
    width: 100%;
    max-width: none;
    padding: 28px 34px 30px;
  }

  .talkwise-site .phase2-opening__primary,
  .talkwise-site .phase2-opening__scope {
    grid-template-columns: minmax(0, 1fr);
  }

  .talkwise-site .phase2-opening__person {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 8px 0 0;
  }

  .talkwise-site .phase2-opening__person .protected-media-frame--portrait,
  .talkwise-site .phase2-opening__person img {
    width: 100%;
    max-width: 300px;
  }

  .talkwise-site .phase2-opening__person .phase2-opening__person-copy p {
    max-width: 40ch;
    font-size: 1.08rem;
    line-height: 1.68;
  }
}

@media (min-width: 1024px) {
  .talkwise-site .phase2-opening__journey-art {
    width: min(100%, 31rem);
    margin-top: 20px;
  }
}
