.therapist-grid,
html,
body {
  overflow-x: clip;
}

.therapist-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.therapist-card > img {
  aspect-ratio: 2 / 3;
  height: auto;
}

.profile-portrait img {
  height: auto;
}

.profile-gallery img {
  height: 320px;
}

.demo-profile-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.profile-portrait > .demo-profile-note {
  margin: 10px 12px 0;
  padding-top: 0;
  border: 0;
}

.gallery-placeholder {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, var(--sage-soft), #eadfce);
}

.gallery-placeholder > span {
  display: grid;
  flex: 1;
  place-items: center;
  color: var(--sage-dark);
  font: 600 22px/1.1 var(--serif);
}

.profile-request-cta {
  margin-top: 22px;
}

:root {
  --clay: #9b4935;
  --clay-dark: #7e3929;
  --muted: #6b645e;
  --sage: #5d745e;
  --radius: 24px;
}

.site-loading .site-footer {
  visibility: hidden;
}

html {
  scrollbar-gutter: stable;
}

.site-header {
  background: var(--cream);
  backdrop-filter: none;
}

.footer-brand small {
  color: #d5cec7;
}

.initial-home {
  display: none;
}

.home-route .initial-home {
  display: grid;
}

#main {
  min-height: 100svh;
}

.slot-count strong {
  min-width: 2ch;
}

.date-button.active span {
  color: #fff;
}

button,
.brand,
.profile-link,
.site-footer nav a,
.mini-slot,
.filter-button,
.chip,
.icon-button,
.text-button {
  min-height: 44px;
}

.button-small {
  min-height: 44px;
}

.brand,
.profile-link,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #bd9450;
  outline-offset: 3px;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  animation: word-in 650ms cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(90ms + var(--i) * 70ms);
}

.hero::before {
  transform-origin: center;
  animation: none;
  opacity: .9;
}

.hero-text-link {
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid var(--sage);
  background: transparent;
  color: var(--sage-dark);
  padding: 0 4px;
  font-weight: 750;
  cursor: pointer;
}

.hero-reassurance {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.76fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  width: min(1180px, calc(100% - 40px));
  padding: 64px 0 72px;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(56px, 6.25vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 590px;
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 21px);
}

.hero-actions {
  align-items: center;
  margin-top: 28px;
}

.hero-reassurance {
  max-width: 580px;
}

.hero-proof {
  margin-top: 20px;
}

.hero-visual {
  display: grid;
  min-height: 0;
  gap: 14px;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #d9c7ae;
  box-shadow: var(--shadow);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.hero-availability {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.72fr);
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 16px 18px;
}

.hero-availability span,
.hero-availability strong {
  display: block;
}

.hero-availability span {
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-availability strong {
  margin-top: 3px;
  font: 600 19px/1.15 var(--serif);
}

.hero-availability b {
  color: var(--sage-dark);
  font-size: 27px;
}

.hero-availability p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer .whatsapp-button {
  border-color: #cfc8c1;
  color: #fff;
}

.button[data-magnetic] {
  transform: none;
  will-change: auto;
}

.button[data-magnetic]:hover {
  transform: translateY(-2px);
}

.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.treatment-number {
  color: #8f806f;
}

.date-button {
  min-height: 82px;
}

.date-button small {
  display: block;
  margin-top: 2px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
}

.date-button.active small {
  color: #fff;
}

.date-button.day-off {
  background: #f0ece6;
  color: #aaa09a;
  cursor: not-allowed;
}

.date-button.day-off span,
.date-button.day-off small {
  color: #aaa09a;
}

.therapist-tabs,
.date-strip,
.therapist-grid,
.profile-calendar {
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 220ms ease, background 220ms ease;
}

.meta-pill i {
  color: var(--clay-dark);
  font-style: normal;
}

.treatment-card:hover .meta-pill {
  background: #d9e5d6;
  transform: translateY(-2px);
}

.recipe-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.result-personalised {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
}

.recipe-summary {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fffdf9, var(--sage-soft));
  padding: 18px;
}

.recipe-summary img {
  width: 150px;
  height: 150px;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
}

.recipe-summary span,
.recipe-summary strong,
.recipe-summary a {
  display: block;
}

.recipe-summary span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

.recipe-summary span:first-child {
  margin-top: 0;
}

.recipe-summary a {
  color: var(--sage-dark);
  font-weight: 800;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.petals {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.petals i {
  position: absolute;
  top: -30px;
  left: calc(10% + var(--p) * 11%);
  width: 11px;
  height: 18px;
  border-radius: 80% 20% 70% 30%;
  background: color-mix(in srgb, var(--sage) 58%, transparent);
  opacity: 0;
  animation: petal-fall 2.4s ease-out calc(var(--p) * 90ms) 1 forwards;
}

.request-next-step,
.referral-demo {
  border-radius: 18px;
  background: var(--sage-soft);
  padding: 16px;
}

.request-next-step {
  display: grid;
  gap: 3px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.request-next-step strong {
  color: var(--ink);
}

.referral-demo {
  margin: 24px 0 14px;
  text-align: left;
}

.referral-demo h3 {
  margin: 0;
  font: 600 28px/1.1 var(--serif);
}

.referral-demo p:not(.eyebrow) {
  color: var(--muted);
}

.spa-mantra {
  font: italic 24px/1.25 var(--serif);
  color: #ded6cf;
}

.result-mantra {
  margin: 24px 0 8px;
  color: var(--sage-dark);
  text-align: center;
}

.profile-deep .profile-hero {
  align-items: start;
}

.profile-deep .profile-facts {
  grid-template-columns: repeat(2, 1fr);
}

.profile-hero-actions,
.profile-final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.profile-back-link {
  text-decoration: none;
}

.profile-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 70px;
}

.profile-signals article {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  padding: 22px;
}

.profile-signals span,
.profile-signals strong {
  display: block;
}

.profile-signals span {
  margin-bottom: 14px;
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-signals strong {
  font: 600 23px/1.2 var(--serif);
}

.profile-deep .approach-grid {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.profile-deep .approach-grid .eyebrow {
  margin-bottom: 14px;
}

.profile-interview {
  margin-top: 90px;
}

.interview-conversation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

.interview-conversation > div {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  padding: 25px;
}

.interview-conversation dt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font: 600 22px/1.25 var(--serif);
}

.interview-conversation dt span {
  color: var(--clay-dark);
  font: 800 12px/1.5 var(--sans);
  letter-spacing: .1em;
}

.interview-conversation dt em {
  font-weight: 500;
}

.interview-conversation dd {
  margin: 18px 0 0 36px;
  color: var(--muted);
  font-size: 17px;
}

.profile-calendar {
  display: grid;
  grid-auto-columns: 156px;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x proximity;
}

.profile-day {
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 14px;
  scroll-snap-align: start;
}

.profile-day header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.profile-day header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-day header strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font: 600 31px/1 var(--serif);
}

.profile-day header small {
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 800;
}

.profile-day > div {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.profile-slot {
  min-height: 44px;
  border: 1px solid #b7c7b4;
  border-radius: 11px;
  background: #f2f7f0;
  color: var(--sage-dark);
  font-weight: 800;
  cursor: pointer;
}

.profile-slot:hover {
  border-color: var(--sage);
  background: var(--sage);
  color: #fff;
}

.profile-slot.busy {
  border-color: var(--line);
  background: #f0ece6;
  color: #aaa09a;
  text-decoration: line-through;
  cursor: not-allowed;
}

.profile-day.day-off {
  background: rgba(255, 253, 249, .42);
}

.profile-day.day-off header small {
  color: var(--muted);
}

.day-off-mark {
  display: grid;
  min-height: 130px;
  place-items: center;
  color: var(--line);
  font: 500 32px/1 var(--serif);
}

.profile-calendar-key {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.profile-calendar-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.profile-calendar-key i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
}

.profile-calendar-key span:last-child i {
  background: #d5cec5;
}

body.modal-open .mobile-quiz-cta {
  display: none;
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes spa-breathe {
  from { transform: scale(.96); opacity: .78; }
  to { transform: scale(1.06); opacity: 1; }
}

@keyframes petal-fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  20% { opacity: .62; }
  100% { opacity: 0; transform: translate3d(32px, 520px, 0) rotate(220deg); }
}

.low-power .hero::before,
.low-power .hero-word,
.low-power .petals i {
  animation: none;
  opacity: 1;
}

@media (max-width: 980px) {
  .profile-signals {
    grid-template-columns: 1fr 1fr;
  }

  .profile-signals article:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 52px 0 64px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(54px, 9vw, 74px);
  }

  .hero-visual {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    align-items: stretch;
  }

  .hero-photo {
    aspect-ratio: 16 / 11;
  }

  .hero-availability {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .therapist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .profile-deep .profile-facts,
  .profile-signals,
  .interview-conversation {
    grid-template-columns: 1fr;
  }

  .profile-signals {
    margin-top: 48px;
  }

  .profile-signals article,
  .profile-signals article:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .profile-deep .approach-grid,
  .profile-interview,
  .profile-availability {
    margin-top: 64px;
  }

  .profile-deep .approach-grid {
    padding-top: 54px;
  }

  .interview-conversation dd {
    margin-left: 0;
  }

  .profile-final-actions,
  .profile-final-actions .button,
  .profile-hero-actions,
  .profile-hero-actions .button,
  .profile-hero-actions .text-button {
    width: 100%;
  }

  .profile-calendar {
    grid-auto-columns: 148px;
    margin-right: -16px;
    padding-right: 16px;
  }

  .hero {
    width: calc(100% - 32px);
    padding: 42px 0 38px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 58px);
    line-height: 0.98;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 18px;
  }

  .therapist-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .therapist-card {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    margin-top: 24px;
  }

  .hero-text-link {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof li {
    width: fit-content;
  }

  .hero-visual {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-photo {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .hero-availability {
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 18px;
  }

  .recipe-summary {
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .recipe-summary img {
    width: 88px;
    height: 88px;
  }

  .share-actions,
  .share-actions .button,
  .share-actions .text-button {
    width: 100%;
  }

  main {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-word,
  .petals i,
  .meta-pill,
  .button[data-magnetic] {
    animation: none;
    opacity: 1;
    transition: none;
    transform: none;
    filter: none;
  }
}
