/* Front page: dimensions follow the supplied 1920px P01 composition. */
.home {
  --home-width: min(75.2%, 1444px);
  --home-space: clamp(105px, 12.3vw, 236px);
  --home-title: clamp(38px, 3.12vw, 60px);
}
.home .v2-wrap, .home .v2-header-inner { width: var(--home-width); max-width: none; }
.home .v2-hero {
  height: min(58.1vw, 1116px); min-height: 570px; border-radius: 0; isolation: isolate;
  --hero-enter: 100%; --hero-countermove: -78%; --hero-exit: -12%;
  --hero-motion: 720ms cubic-bezier(.35, 0, .18, 1) both;
}
.home .v2-slide { transition: none; }
.home .v2-hero-image::after { background: none; }
.home .v2-slide:first-child .v2-hero-image img { transform: scale(1.18) translateY(-5%); }
.home .v2-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(30, 21, 17, .48); pointer-events: none;
}
.home .v2-slide::after { display: none; }
.home .v2-hero-text { z-index: 3; }
.home .v2-hero-controls { z-index: 4; }
.home .v2-hero.is-backward {
  --hero-enter: -100%; --hero-countermove: 78%; --hero-exit: 12%;
}
@media (prefers-reduced-motion: no-preference) {
  .home .v2-slide.is-leaving { opacity: 1; visibility: visible; pointer-events: none; }
  .home .is-entering .v2-hero-image {
    z-index: 1; overflow: hidden;
    animation: vw-hero-enter var(--hero-motion);
  }
  .home .is-entering .v2-hero-image img { animation: vw-hero-countermove var(--hero-motion); }
  .home .is-leaving .v2-hero-image { animation: vw-hero-exit var(--hero-motion); }
  .home .is-leaving .v2-hero-text { animation: vw-hero-caption-out 170ms ease-in-out both; }
  .home .is-entering .v2-hero-text { animation: vw-hero-caption-in 620ms ease-in-out both; }
}
@keyframes vw-hero-enter { from { translate: var(--hero-enter) 0; } to { translate: 0 0; } }
@keyframes vw-hero-countermove { from { translate: var(--hero-countermove) 0; } to { translate: 0 0; } }
@keyframes vw-hero-exit { from { translate: 0 0; } to { translate: var(--hero-exit) 0; } }
@keyframes vw-hero-caption-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vw-hero-caption-in { 0%, 32% { opacity: 0; } to { opacity: 1; } }
.home .v2-hero-text h1, .home .v2-hero-text h2 { font-size: clamp(46px, 4.35vw, 84px); line-height: 1.23; }
.home .v2-hero-text p { font-size: clamp(16px, 1.25vw, 24px); }
.home .v2-hero-controls { bottom: 6.5%; }
.home .v2-hero-controls button { width: clamp(44px, 3.9vw, 75px); height: clamp(44px, 3.9vw, 75px); }
.home .v2-home-intro { padding: var(--home-space) 0 0; }
.home .v2-section-heading h2 { font-size: var(--home-title); line-height: 1.35; letter-spacing: -.06em; }
.home .v2-label { font-size: clamp(14px, 1vw, 20px); }
.home .v2-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; }
.home .v2-intro-copy { padding-right: 9%; }
.home .v2-intro-copy .v2-lead { font-size: clamp(16px, 1.08vw, 21px); line-height: 1.78; }
.home .v2-doctor-crop { aspect-ratio: .875; }
.home .v2-doctor-crop img { height: 100%; width: 100%; object-position: 50% 35%; }
.home .v2-intro-space { padding-top: clamp(40px, 3.8vw, 73px); }
.home .v2-intro-space img { aspect-ratio: .53; object-position: center; }
.home .v2-home-services { padding: var(--home-space) 0 clamp(95px, 9.6vw, 185px); }
.home .v2-home-services > .v2-wrap { display: block; }
.home .v2-home-services .v2-section-heading { text-align: center; padding: 0; margin-bottom: clamp(42px, 3.4vw, 66px) !important; }
.home .v2-home-services h2 span { font-weight: 350; }
.home .v2-service-deck { position: relative; margin: 0; }
.home .v2-service-track {
  --card-gap: clamp(20px, 3.55vw, 68px);
  position: relative; display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--card-gap)) / 3); gap: var(--card-gap);
  width: 88%; margin: 0 auto; padding-bottom: 5px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.home .v2-service-track::-webkit-scrollbar { display: none; }
.home .v2-service-slide { display: block; min-width: 0; margin: 0; scroll-snap-align: start; }
.home .v2-service-image img { width: 100%; aspect-ratio: 1.48; object-fit: cover; border-radius: clamp(14px, 1.4vw, 27px); }
.home .v2-service-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 4px; padding: 0 3px; margin-top: 14px; }
.home .v2-service-copy h3 { margin: 0; font-size: clamp(19px, 1.6vw, 31px); line-height: 1.35; letter-spacing: -.065em; }
.home .v2-service-copy > p:not(.v2-label) { grid-column: 1/-1; margin: 0; font-size: clamp(14px, .77vw, 16px); line-height: 1.68; color: #585956; }
.home .v2-home-services .v2-service-copy a.v2-pill { grid-column: 2; grid-row: 1; margin: 0; padding: 8px 14px; font-size: clamp(10px, .65vw, 13px); min-width: 0; min-height: 40px; height: auto; white-space: nowrap; }
.home .v2-home-services .v2-carousel-controls { position: absolute; inset: 48% -5.3% auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; margin: 0; }
.home .v2-carousel-controls button { pointer-events: auto; width: clamp(44px, 3.9vw, 75px); height: clamp(44px, 3.9vw, 75px); }
.home .v2-diagnostics.v4-readable { width: 100%; border-radius: 0; max-width: none; padding: clamp(64px, 4vw, 78px) 0 clamp(72px, 6vw, 116px); }
.home .v4-readable .v2-section-heading { margin-bottom: 16px !important; }
.home .v4-readable .v2-section-heading h2 { font-size: clamp(40px, 3.85vw, 74px); line-height: 1.2; }
.home .v4-readable .v2-section-heading .v2-label { font-size: clamp(16px, 1.55vw, 30px); color: white; letter-spacing: .005em; }
.home .v4-readable .v2-section-heading .v2-lead { font-size: clamp(19px, 1.65vw, 32px); max-width: none; }
.home .v4-readable .v2-trust-row { gap: 16px 36px; font-size: clamp(16px, 1.35vw, 26px); margin-bottom: clamp(30px, 2.4vw, 46px) !important; }
.home .v4-readable .v2-trust-row p::before { width: 1.95em; height: 1.95em; background: #ffffff25 url('home-p01/care-icons.webp') no-repeat left center / 300% 100%; }
.home .v4-readable .v2-trust-row p:nth-child(2)::before { background-position: center; }
.home .v4-readable .v2-trust-row p:nth-child(3)::before { background-position: right center; }
.home .v4-readable .v2-diagnostic-card {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: white; background: transparent; border: 1px solid #ffffff40; border-radius: 16px;
  min-height: clamp(175px, 15vw, 288px); padding: clamp(22px, 2vw, 40px); position: relative;
}
.home .v4-readable .v2-diagnostic-card:is(:first-child,:hover,:focus-within) { color: #182a21; background: white; }
.home .v4-readable .v2-diagnostic-card h3 { font-size: clamp(21px, 1.48vw, 29px); color: inherit; }
.home .v4-readable .v2-diagnostic-card h3 a, .home .v4-readable .v2-diagnostic-card p { color: inherit; }
.home .v4-readable .v2-diagnostic-card h3 a::after { content: ''; position: absolute; inset: 0; }
.home .v4-readable .v4-card-arrow { display: none; }
.home .v4-readable .v2-diagnostic-card:is(:first-child,:hover,:focus-within) .v4-card-arrow {
  display: grid; place-items: center; position: absolute; top: 15%; right: 8%;
  width: 1.7em; height: 1.7em; border-radius: 50%; background: #225740; color: white; font-size: clamp(21px, 1.6vw, 31px); font-weight: 400; line-height: 1;
}
.home .v4-readable .v2-diagnostic-card p { font-size: clamp(16px, .98vw, 19px); }
.home #health-journal { padding: clamp(100px, 13vw, 250px) 0 clamp(80px, 8vw, 154px); }
.home .v2-post-image, .home .v2-post-image img, .home .v2-footer { border-radius: 0; }
.home .v2-category { border-radius: 30px; border: 1px solid #ced3cf; padding: .45em 1.3em; font-size: clamp(14px, 1.05vw, 20px); line-height: 1.25; color: #606c63 !important; }
.home .v2-category:is(.is-current,:hover,:focus-visible) { color: white !important; background: #225740; border-color: #225740; }
.home .v2-footer { padding-block: clamp(80px, 7.5vw, 144px); }
@media (min-width: 1120px) {
  .home .v2-header .v2-brand { transform: scale(1.16); }
  .home .v2-footer .v2-brand { transform: scale(1.22); transform-origin: left top; margin-bottom: 54px; }
  .home .v2-post-grid > li:first-child .wp-block-post-title { font-size: clamp(28px, 1.95vw, 37px); max-width: 17em; }
  .home .v2-post-grid > li:nth-child(n+2) .wp-block-post-title { font-size: clamp(25px, 1.6vw, 31px); max-width: 19em; }
  .home .v2-post-body .wp-block-post-excerpt { font-size: clamp(16px, 1.02vw, 20px); }
  .home.vf-page .vf-quick { right: max(20px, calc((100vw - min(75.2vw, 1444px)) / 2 - 80px)); }
  .home.vf-page .vf-quick > a { width: 52px; height: 52px; }
  .home.vf-page .vf-quick > a span { display: none; }
}
@media (max-width: 1100px) {
  .home { --home-width: 88%; --home-space: 100px; }
  .home .v2-service-track { width: 93%; --card-gap: 22px; }
  .home .v2-home-services .v2-carousel-controls { left: -3.5%; right: -3.5%; }
}
@media (max-width: 850px) {
  .home .v2-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .home .v2-intro-copy { padding: 0; }
  .home .v2-service-track { grid-auto-columns: calc((100% - var(--card-gap))/2); }
}
@media (max-width: 650px) {
  .home { --home-width: calc(100% - 40px); --home-title: clamp(29px, 6.8vw, 40px); --home-space: 76px; }
  .home .v2-hero { height: 85svh; min-height: 500px; max-height: 760px; }
  .home .v2-slide:first-child .v2-hero-image img { transform: none; }
  .home .v2-hero-text h1, .home .v2-hero-text h2 { font-size: clamp(33px, 8.3vw, 48px); }
  .home .v2-hero-controls { bottom: 20px; }
  .home .v2-intro-space { padding-top: 26px; }
  .home .v2-home-services { padding-bottom: 76px; }
  .home .v2-service-track { width: 100%; grid-auto-columns: 90%; }
  .home .v2-home-services .v2-carousel-controls { position: static; transform: none; justify-content: center; margin-top: 20px; }
  .home .v2-service-deck { display: flex; flex-direction: column; }
  .home .v2-service-copy h3 { font-size: 23px; }
  .home .v2-home-services .v2-service-copy a.v2-pill { min-height: 44px; font-size: 11px; }
  .home .v4-readable .v2-section-heading h2 { font-size: 36px; }
  .home .v4-readable .v2-trust-row { gap: 8px 14px; font-size: 14px; }
  .home .v4-readable .v2-diagnostic-card { min-height: 117px; padding: 22px; }
  .home .v4-readable .v2-diagnostic-card:is(:first-child,:hover,:focus-within) .v4-card-arrow { top: 18px; right: 16px; }
  .home #health-journal { padding-block: 80px; }
}
