/* An immersive room with a soft paper veil behind the Persian introduction. */
.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom-color: #62786a1c;
}
.therapy-hero {
  --room-light: 0;
  --room-scale: 1.015;
  --room-shift: 0px;
  --scene-height: max(780px, 100svh);
  position: relative;
  min-height: calc(var(--scene-height) + 440px);
  background: var(--paper);
}
.therapy-stage {
  position: sticky;
  top: 0;
  min-height: var(--scene-height);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 350px max(48px, calc((100% - 1160px) / 2)) 94px;
}
.therapy-stage .hero-copy {
  position: relative;
  z-index: 2;
  width: min(490px, 46%);
}
.therapy-stage .hero-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -52px -130px -110px -130px;
  background: radial-gradient(ellipse at 66% 64%, #f7f6f2 24%, #f7f6f2f0 48%, #f7f6f299 64%, #f7f6f200 78%);
  filter: blur(24px);
  pointer-events: none;
}
.therapy-stage h1 { font-size: clamp(38px, 4vw, 52px); line-height: 1.55; margin-bottom: 18px; }
.therapy-stage .lead { font-size: 14px; line-height: 2.2; color: #485950; margin-bottom: 0; }
.therapy-stage .eyebrow { color: #435f4c; }
.therapy-stage .actions { gap: 26px; margin-top: 25px; }
.therapy-stage .button { font-size: 13px; padding: 13px 24px; border-radius: 5px; }
.therapy-stage .text-link { font-size: 13px; }
.therapy-stage .small-note { color: #5b6d60; margin: 23px 0 0; }
.therapy-visual { position: absolute; inset: 0; z-index: -2; margin: 0; }
.therapy-frame { position: absolute; inset: 0; overflow: hidden; background: #e8e2d5; }
.therapy-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #f7f6f2f0 0%, #f7f6f2bd 7%, #f7f6f200 20%),
    linear-gradient(0deg, #f7f6f2 0%, #f7f6f2ad 7%, #f7f6f22b 19%, #f7f6f200 35%);
}
.therapy-camera {
  position: absolute;
  inset: 0;
  transform: translateY(var(--room-shift)) scale(var(--room-scale));
  transform-origin: 60% 42%;
  will-change: transform;
}
.therapy-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.therapy-image-on { opacity: var(--room-light); }
.therapy-lamp-glow { display: none; }
.therapy-caption {
  position: absolute;
  inset-inline-end: max(48px, calc((100% - 1160px) / 2));
  bottom: 30px;
  z-index: 1;
  color: #617365;
  font-size: 10px;
}
.therapy-scroll {
  position: absolute;
  z-index: 3;
  inset-inline-start: max(48px, calc((100% - 1160px) / 2));
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #425e4c;
  font-size: 11px;
}
.therapy-scroll span:last-child {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #9aa88e;
  border-radius: 50%;
  font-size: 16px;
}
.therapy-scroll:hover { color: var(--ink); }
.therapy-scroll:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.home-page .intro-band { background: #eeeee8; }

@media (max-width: 1000px) and (min-width: 681px) {
  .therapy-stage { padding-inline: 32px; }
  .therapy-stage .hero-copy { width: min(440px, 57%); }
  .therapy-stage h1 { font-size: 40px; }
  .therapy-scroll { inset-inline-start: 32px; }
  .therapy-caption { inset-inline-end: 32px; }
}
@media (max-width: 680px) {
  .home-page .site-header { width: calc(100% - 36px); }
  .home-page .main-nav { background: #f7f6f2f5; }
  .therapy-hero { min-height: 0; }
  .therapy-stage {
    position: relative;
    min-height: 100svh;
    justify-content: flex-start;
    padding: calc(100vw * 2 / 3 + 112px) 24px 100px;
  }
  .therapy-stage .hero-copy { width: 100%; }
  .therapy-stage .hero-copy::before { display: none; }
  .therapy-frame { background: var(--paper); }
  .therapy-camera { inset: 70px 0 auto; height: calc(100vw * 2 / 3); }
  .therapy-image { object-position: center; }
  .therapy-frame::after {
    background: linear-gradient(180deg, #f7f6f200 0%, #f7f6f200 60%, #f7f6f2 100%);
    top: calc(100vw * 2 / 3 - 12px);
    bottom: auto;
    height: 90px;
  }
  .therapy-stage h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .therapy-stage .lead { font-size: 14px; }
  .therapy-stage .actions { gap: 18px; flex-wrap: wrap; }
  .therapy-stage .button { font-size: 12px; padding: 12px 20px; }
  .therapy-stage .text-link { font-size: 12px; }
  .therapy-caption { inset-inline-end: 24px; bottom: 34px; font-size: 9px; }
  .therapy-scroll { inset-inline-start: 24px; bottom: 30px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .therapy-hero { min-height: 0; --room-light: 1; }
  .therapy-stage { position: relative; }
  .therapy-camera { transform: none; will-change: auto; }
}
