/* Local homepage direction draft. This file is linked after v2-home.css so the
   approved visual system stays intact while the new content structure is tested. */

.v2-site {
  color-scheme: light;
}

.v2-hero .v2-intro {
  max-width: 49ch;
  line-height: 1.65;
}

.hoq-eyebrow {
  margin: 0 0 18px;
  color: #526873;
  font-family: "DM Sans", "Avenir Next", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hoq-opening-story,
.hoq-practitioners,
.hoq-faq {
  padding: clamp(68px, 8vw, 116px) clamp(20px, 5vw, 76px);
}

.hoq-opening-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(48px, 8vw, 120px);
  background: #f8f7f4;
  border-bottom: 1px solid rgba(47, 23, 58, .16);
}

.hoq-opening-lead {
  max-width: 790px;
}

.hoq-opening-lead h2 {
  max-width: 12ch;
  margin: 0;
  color: #2f173a;
  font-size: clamp(50px, 6.2vw, 92px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}

.hoq-opening-detail {
  max-width: 620px;
  align-self: end;
}

.hoq-opening-detail > p {
  margin: 0 0 18px;
  color: #514b52;
  font-size: 17px;
  line-height: 1.72;
}

.hoq-opening-detail blockquote {
  margin: 30px 0;
  padding-left: 22px;
  border-left: 2px solid #4d2a58;
  color: #2f173a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.4vw, 38px);
  font-style: italic;
  line-height: 1.18;
}

.hoq-opening-trust {
  margin: 0 0 30px;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: minmax(145px, 190px) 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(47, 23, 58, .22);
}

.hoq-care-logo-link {
  display: block;
}

.hoq-opening-trust img {
  width: 100%;
  height: auto;
}

.hoq-opening-trust p {
  margin: 0;
  color: #4f5860;
  line-height: 1.55;
}

.hoq-opening-trust p a {
  margin-top: 10px;
  width: max-content;
  display: flex;
  gap: 14px;
  color: #2f173a;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.hoq-home-quiz {
  padding: clamp(68px, 8vw, 116px) clamp(20px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(440px, 1.28fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: start;
  background: #dfe8eb;
  scroll-margin-top: 104px;
}

.hoq-home-quiz > header {
  margin: 0;
}

.hoq-home-quiz > header h2 {
  max-width: 8ch;
  margin: 16px 0 20px;
  color: #2f173a;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1;
}

.hoq-home-quiz > header > span {
  max-width: 38ch;
}

.hoq-home-quiz > [data-quiz-stage] {
  min-height: 420px;
  padding: clamp(24px, 4vw, 46px);
  background: #fff;
  border: 1px solid rgba(47, 23, 58, .16);
}

.hoq-home-quiz .quiz-choice {
  border-radius: 0;
}

.hoq-home-quiz .quiz-next {
  border-radius: 0;
}

.hoq-booking-intro {
  gap: 20px !important;
}

.hoq-booking-intro p {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}

.v2-booking-grid .hoq-quiz-button {
  width: max-content;
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-booking-grid .hoq-quiz-button:hover,
.v2-booking-grid .hoq-quiz-button:focus-visible {
  background: #fff;
  color: #3d1d49 !important;
}

.hoq-tcm-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(46px, 8vw, 118px);
  align-items: center;
  background: #dfe8eb;
}

.hoq-tcm-copy {
  max-width: 650px;
}

.hoq-tcm-copy h2,
.hoq-practitioners h2,
.hoq-care-ecosystem h2,
.hoq-faq h2 {
  margin: 0 0 24px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.02;
}

.hoq-tcm-copy > p:not(.hoq-eyebrow) {
  max-width: 59ch;
  color: #514b52;
  line-height: 1.72;
}

.hoq-tcm-copy > strong {
  max-width: 48ch;
  margin: 28px 0;
  display: block;
  color: #2f173a;
  font-size: 19px;
  line-height: 1.5;
}

.hoq-tcm-intro figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #cbd8dc;
}

.hoq-tcm-intro figure img {
  height: 100%;
  object-fit: cover;
}

.v2-first-visit > div {
  align-self: start;
}

.v2-first-visit li:last-child {
  border-bottom: 0;
}

.hoq-practitioners {
  background: #fff;
}

.hoq-practitioners > header {
  max-width: 850px;
  margin-bottom: clamp(42px, 6vw, 74px);
}

.hoq-practitioners > header > p:last-child {
  max-width: 65ch;
  color: #625962;
  font-size: 17px;
  line-height: 1.68;
}

.hoq-practitioner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.hoq-practitioner-grid article {
  display: grid;
  grid-template-columns: minmax(190px, .78fr) minmax(240px, 1.22fr);
  align-items: stretch;
  background: #f7f3f0;
}

.hoq-practitioner-grid article:nth-child(2) {
  background: #dfe8eb;
}

.hoq-practitioner-grid figure {
  position: relative;
  margin: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: start;
  overflow: hidden;
  background: #f8f5f2;
}

.hoq-practitioner-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hoq-practitioner-grid .hoq-gabriel-frame {
  background: radial-gradient(circle at 38% 30%, #fbf8f4 0%, #f3ede8 58%, #e5ded8 100%);
}

.hoq-practitioner-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: rgba(47, 23, 58, .84);
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hoq-practitioner-grid article > div {
  padding: clamp(28px, 4vw, 52px);
  align-self: center;
}

.hoq-role {
  margin: 0 0 13px;
  color: #526873;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hoq-practitioner-grid h3 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.02;
}

.hoq-practitioner-grid article > div > p:not(.hoq-role) {
  color: #625962;
  line-height: 1.68;
}

.hoq-practitioner-grid a {
  margin-top: 24px;
  display: inline-flex;
  gap: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: #526873;
  font-size: 12px;
  font-weight: 700;
}

.hoq-care-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: clamp(48px, 10vw, 160px);
  background: #dfe8eb;
}

.hoq-care-ecosystem h2 {
  max-width: 14ch;
}

.hoq-care-ecosystem > div:last-child {
  padding-top: 34px;
}

.hoq-care-ecosystem > div:last-child p {
  color: #514b52;
  line-height: 1.72;
}

.hoq-care-ecosystem > div:last-child strong {
  margin: 28px 0;
  display: block;
  color: #2f173a;
  font-size: 18px;
  line-height: 1.55;
}

.hoq-faq {
  display: grid;
  grid-template-columns: minmax(300px, .68fr) minmax(500px, 1.32fr);
  gap: clamp(46px, 9vw, 140px);
  background: #fff;
}

.hoq-faq header {
  align-self: start;
}

.hoq-faq-list {
  border-top: 1px solid rgba(47, 23, 58, .2);
}

.hoq-faq details {
  border-bottom: 1px solid rgba(47, 23, 58, .2);
}

.hoq-faq summary {
  position: relative;
  padding: 25px 44px 25px 0;
  color: #2f173a;
  cursor: pointer;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.25;
  list-style: none;
}

.hoq-faq summary::-webkit-details-marker {
  display: none;
}

.hoq-faq summary::after {
  content: "+";
  position: absolute;
  top: 23px;
  right: 4px;
  color: #526873;
  font-family: "DM Sans", "Avenir Next", sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.hoq-faq details[open] summary::after {
  content: "-";
}

.hoq-faq details p {
  max-width: 61ch;
  padding: 0 48px 25px 0;
  color: #625962;
  line-height: 1.72;
}

.v2-philosophy .hoq-eyebrow {
  color: #526873;
}

.v2-philosophy .v2-inline {
  margin-top: 26px;
  color: #526873;
}

.v2-primary,
.v2-nav .v2-book,
.hoq-faq summary,
.hoq-practitioner-grid a,
.v2-inline {
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.v2-primary:active,
.v2-nav .v2-book:active,
.hoq-practitioner-grid a:active,
.v2-inline:active {
  transform: translateY(1px);
}

@media (max-width: 1080px) {
  .hoq-practitioner-grid {
    grid-template-columns: 1fr;
  }

  .hoq-practitioner-grid article {
    grid-template-columns: minmax(220px, .7fr) minmax(280px, 1.3fr);
  }
}

@media (max-width: 900px) {
  .hoq-opening-story,
  .hoq-home-quiz,
  .hoq-faq {
    grid-template-columns: 1fr;
  }

  .hoq-opening-story {
    gap: 38px;
  }

  .hoq-home-quiz {
    gap: 36px;
  }

  .hoq-faq {
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .hoq-opening-story,
  .hoq-home-quiz,
  .hoq-practitioners,
  .hoq-faq {
    padding: 62px 18px;
  }

  .hoq-opening-lead h2 {
    max-width: 11ch;
    font-size: clamp(44px, 13vw, 58px);
  }

  .hoq-opening-detail blockquote {
    font-size: 28px;
  }

  .hoq-opening-trust {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hoq-opening-trust img {
    width: 174px;
  }

  .hoq-home-quiz > header h2 {
    max-width: 9ch;
    font-size: clamp(42px, 12vw, 54px);
  }

  .hoq-home-quiz > [data-quiz-stage] {
    min-height: 0;
    padding: 24px 18px;
  }

  .hoq-home-quiz .quiz-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .hoq-home-quiz .quiz-actions .quiz-next {
    width: 100%;
  }

  .hoq-tcm-copy h2,
  .hoq-practitioners h2,
  .hoq-care-ecosystem h2,
  .hoq-faq h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .hoq-practitioner-grid article {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hoq-practitioner-grid figure {
    aspect-ratio: 1 / 1;
  }

  .hoq-practitioner-grid article > div {
    padding: 28px 24px 34px;
  }

  .hoq-faq summary {
    padding-right: 36px;
    font-size: 21px;
  }

  .hoq-faq details p {
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage-draft *,
  .homepage-draft *::before,
  .homepage-draft *::after {
    transition: none !important;
  }
}
