.hero {
  padding: 18px 24px 0;
  background: var(--paper);
}

.hero-frame {
  position: relative;
  height: min(820px, calc(100svh - 160px));
  min-height: 630px;
  overflow: hidden;
  color: white;
  background: var(--green);
  border-radius: 8px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.08);
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(6, 35, 24, 0.78) 0%,
      rgba(8, 34, 25, 0.38) 47%,
      rgba(8, 34, 25, 0.05) 90%
    ),
    linear-gradient(0deg, rgba(6, 35, 24, 0.48), transparent 50%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-block: 42px 65px;
}

.hero-topline,
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.hero-topline {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.hero-bottom {
  align-items: end;
}

.hero-kicker {
  color: #f9b29b;
}

.hero h1 {
  margin: 25px 0;
  font-size: clamp(56px, 6.5vw, 120px);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.087em;
}

.hero h1 > span,
.hero h1 em {
  display: inline-block;
  animation: hero-rise 0.95s cubic-bezier(0.18, 0.7, 0.25, 1) both;
}

.hero h1 em {
  color: #f7e9d5;
  font-style: normal;
  animation-delay: 0.1s;
}

.hero-description {
  max-width: 460px;
  margin: 0 0 35px;
  font-size: 16px;
  line-height: 1.8;
}

.hero-side-note {
  min-width: 170px;
  text-align: right;
}

.hero-side-mark {
  color: var(--coral);
  font-size: 95px;
  line-height: 1;
  display: block;
  animation: turn-slow 18s linear infinite;
}

.hero-side-note p {
  margin: 35px 0 65px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-side-note > span:last-child {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.opening {
  padding: 145px 0 160px;
  background: #eae9dd;
}

.promise-layout {
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(75px, 10vw, 180px);
}

.opening .section-index {
  color: var(--blue);
}

.opening .eyebrow {
  margin: 80px 0 22px;
  color: var(--blue);
}

.opening h2 {
  margin: 0 0 35px;
  font-size: clamp(45px, 4.15vw, 73px);
  font-weight: 570;
  line-height: 1.22;
  letter-spacing: -0.075em;
}

.promise-intro > p:not(.eyebrow) {
  max-width: 440px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.promise-ledger {
  border-top: 1px solid var(--green);
}

.promise-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: start;
  padding: 34px 12px 42px 0;
  border-bottom: 1px solid #b8bdb1;
  opacity: 1;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.opening.js-motion .promise-row {
  opacity: 0.35;
  transform: translateY(35px);
}

.promise-row.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.promise-row > span {
  padding-top: 11px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.promise-row h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.5vw, 42px);
  font-weight: 560;
  letter-spacing: -0.07em;
}

.promise-row p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.care-story {
  position: relative;
  height: 380vh;
  color: var(--paper);
  background: var(--green);
}

.care-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.care-background-text {
  position: absolute;
  top: 16%;
  left: 0;
  width: max-content;
  color: rgba(255, 255, 255, 0.045);
  font-size: 16vw;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.09em;
  transform: translateX(var(--care-backdrop-shift, 0px));
  pointer-events: none;
}

.care-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 30px;
}

.care-header .section-index {
  color: var(--coral);
}

.care-header h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 560;
  line-height: 1.16;
  letter-spacing: -0.075em;
}

.care-header h2 em {
  color: var(--coral);
  font-style: normal;
}

.care-header > p {
  margin: 0 0 7px;
  color: #b9c9bf;
  font-size: 15px;
  line-height: 1.7;
}

.care-window {
  position: relative;
  z-index: 1;
  margin-top: 52px;
  overflow: visible;
}

.care-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-inline: max(48px, calc((100vw - 1500px) / 2));
  transform: translate3d(var(--care-track-shift, 0px), 0, 0);
  will-change: transform;
}

.care-panel {
  position: relative;
  display: block;
  width: min(42vw, 650px);
  min-width: 430px;
  height: min(48vh, 430px);
  min-height: 345px;
  overflow: hidden;
  border-radius: 12px;
  background: #244838;
}

.care-photo,
.care-photo::after,
.care-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.care-photo::after {
  content: '';
  background: linear-gradient(0deg, rgba(10, 33, 24, 0.82), transparent 65%);
}

.care-photo img {
  object-fit: cover;
  transition: transform 0.8s ease;
}

.care-panel:hover .care-photo img {
  transform: scale(1.07);
}

.care-panel-copy {
  position: absolute;
  inset: auto 35px 30px;
}

.care-panel-copy > span {
  color: #ffd0bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.care-panel-copy h3 {
  margin: 14px 0 6px;
  font-size: clamp(35px, 3vw, 55px);
  font-weight: 550;
  letter-spacing: -0.07em;
}

.care-panel-copy p {
  max-width: calc(100% - 70px);
  margin: 0;
  color: #e2e8df;
  font-size: 14px;
}

.care-panel-copy b {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
}

.care-progress {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 35px;
  font-size: 12px;
}

.care-progress-line {
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.care-progress-line i {
  display: block;
  width: var(--care-progress, 0%);
  height: 2px;
  background: var(--coral);
}

.care-progress a {
  margin-left: auto;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.diagnostic-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  overflow: hidden;
  color: white;
  background: var(--green-soft);
}

.diagnostic-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 52px clamp(45px, 6vw, 115px) 70px;
  border-top-left-radius: 150px;
  background:
    radial-gradient(
      circle at 3% 14%,
      transparent 0 20%,
      rgba(255, 255, 255, 0.045) 20.2% 20.4%,
      transparent 20.6%
    ),
    #36594b;
}

.diagnostic-copy::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -65%;
  width: 130%;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 226, 207, 0.16);
  border-radius: 50%;
  transform: translateX(var(--diagnostic-ring-shift, 0px));
  pointer-events: none;
}

.diagnostic-copy > * {
  position: relative;
  z-index: 1;
}

.diagnostic-copy .section-index {
  color: #f5b29a;
}

.diagnostic-inset {
  position: relative;
  width: min(73%, 560px);
  aspect-ratio: 1.5;
  margin: 70px auto 30px;
  overflow: hidden;
  border-radius: 6px;
  transform: translateY(var(--diagnostic-inset-shift, 0px));
}

.diagnostic-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagnostic-inset span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.diagnostic-text {
  margin-top: auto;
}

.diagnostic-text h2 {
  margin: 0 0 18px;
  font-size: clamp(35px, 3vw, 54px);
  font-weight: 580;
  line-height: 1.25;
  letter-spacing: -0.068em;
}

.diagnostic-text p {
  max-width: 455px;
  color: #dce5dc;
  font-size: 15px;
  line-height: 1.85;
}

.diagnostic-text .text-link {
  margin-top: 22px;
}

.diagnostic-image {
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 150px;
}

.diagnostic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  transform: scale(1.13) translateY(var(--diagnostic-image-shift, 0px));
}

.diagnostic-image > span {
  position: absolute;
  right: 35px;
  bottom: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-shadow: 0 1px 8px #132c25;
}

.first-visit-home {
  padding: 150px 0 145px;
  background: var(--cream);
}

.section-topline {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.section-topline .section-index {
  color: var(--blue);
}

.first-heading {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 50px;
  align-items: end;
  margin: 55px 0 70px;
}

.first-heading h2,
.journal-heading h2,
.closing-grid h2 {
  margin: 0;
  font-size: clamp(47px, 5.5vw, 94px);
  font-weight: 540;
  line-height: 1.14;
  letter-spacing: -0.08em;
}

.first-heading h2 em,
.journal-heading h2 em,
.closing-grid h2 em {
  color: var(--blue);
  font-style: normal;
}

.first-heading p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.visit-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 50px;
}

.visit-stage {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: var(--green);
  background: var(--paper);
  border-radius: 8px;
  transform: translateY(var(--stage-rise, 0px));
  box-shadow: 0 16px 40px rgba(31, 50, 30, 0.035);
}

.visit-stage:nth-child(2) {
  background: #e8e5d9;
}

.visit-stage:nth-child(3) {
  color: var(--paper);
  background: var(--green-soft);
}

.visit-stage:nth-child(4) {
  background: #f3d3c5;
}

.visit-stage > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.visit-stage strong {
  display: block;
  margin: auto 0 17px;
  font-size: clamp(28px, 2.5vw, 44px);
  letter-spacing: -0.06em;
}

.visit-stage p {
  max-width: 230px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.first-visit-home > .wrap > .round-link {
  margin-left: auto;
  display: flex;
  width: max-content;
}

.team-showcase {
  display: grid;
  grid-template-columns: minmax(430px, 39%) minmax(0, 61%);
  min-height: 760px;
  padding-block: 105px;
  background: #e6e9de;
}

.team-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 clamp(55px, 5.5vw, 100px);
}

.team-showcase .section-index {
  color: var(--blue);
}

.team-showcase h2 {
  margin: 23px 0 20px;
  font-size: clamp(47px, 4.1vw, 72px);
  font-weight: 550;
  line-height: 1.19;
  letter-spacing: -0.075em;
}

.team-showcase h2 em {
  color: var(--blue);
  font-style: normal;
}

.team-intro {
  max-width: 400px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.team-active {
  max-width: 420px;
  padding-top: 20px;
  border-top: 1px solid var(--green);
}

.team-active-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.team-active h3 {
  margin: 15px 0 7px;
  font-size: 25px;
  letter-spacing: -0.05em;
}

.team-active p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.team-active a {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
}

.team-slider {
  min-width: 0;
  overflow: hidden;
}

.team-slider-window {
  overflow: hidden;
}

.team-slider-track {
  display: flex;
  gap: 24px;
  padding-right: 50px;
  transform: translate3d(var(--team-shift, 0px), 0, 0);
  transition: transform 0.9s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.team-slide {
  position: relative;
  flex: 0 0 min(68%, 580px);
  height: 575px;
  margin: 0;
  overflow: hidden;
  border-radius: 9px;
  background: #aeb9a8;
}

.team-slide::after {
  content: '';
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(0deg, rgba(5, 29, 20, 0.7), transparent);
}

.team-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.team-slide.is-active img {
  transform: scale(1.035);
}

.team-slide figcaption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 30px;
  left: 30px;
  color: white;
}

.team-slide figcaption span {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.team-slide figcaption strong {
  font-size: 25px;
  letter-spacing: -0.05em;
}

.team-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 55px 0 0;
}

.team-slider-position {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.team-slider-position span {
  color: #8b9a8a;
  font-size: 13px;
}

.team-slider-controls > div {
  display: flex;
  gap: 9px;
}

.team-slider-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  background: transparent;
  font-size: 20px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.team-slider-controls button:hover {
  color: white;
  background: var(--green);
}

.journal-section {
  padding-block: 150px;
}

.journal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin: 60px 0 65px;
}

.journal-heading p {
  max-width: 330px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.home-journal-list {
  border-top: 1px solid var(--green);
}

.home-journal-list > a {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr 38px;
  align-items: center;
  gap: 30px;
  min-height: 145px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left 0.3s ease,
    background 0.3s ease;
}

.home-journal-list > a:hover {
  padding-left: 20px;
  background: var(--cream);
}

.home-journal-list span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-journal-list strong {
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.05em;
}

.home-journal-list p,
.home-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-journal-list b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--green);
  border-radius: 50%;
  font-weight: 400;
}

.closing-section {
  padding-block: 105px 115px;
  color: var(--paper);
  background: #14201d;
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(65px, 8vw, 150px);
  align-items: start;
}

.closing-grid .section-index {
  color: var(--coral);
}

.closing-grid h2 {
  margin: 26px 0 35px;
  font-size: clamp(50px, 5vw, 84px);
}

.closing-info address {
  font-size: clamp(25px, 2.4vw, 38px);
  font-style: normal;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.055em;
}

.closing-note {
  margin: 17px 0 60px;
  color: #a8b8ad;
  font-size: 13px;
  line-height: 1.7;
}

.closing-contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid #64776a;
}

.closing-contact span {
  display: block;
  margin-bottom: 20px;
  color: #a8b8ad;
  font-size: 12px;
  font-weight: 700;
}

.closing-contact a {
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.closing-contact p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 60px;
  font-size: 14px;
  font-weight: 700;
}

.closing-links a {
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
}

.closing-map {
  min-width: 0;
}

.closing-map > p {
  display: flex;
  justify-content: space-between;
  margin: 16px 3px 0;
  color: #9baea1;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.closing-map > p span {
  color: var(--coral);
}

/* Each section has its own entrance rhythm; scroll parallax remains active afterwards. */
.diagnostic-story.motion-ready .diagnostic-inset {
  opacity: 0;
  clip-path: inset(0 0 100% 0 round 6px);
  transition:
    opacity 0.7s ease,
    clip-path 1s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.diagnostic-story.motion-ready.is-in-view .diagnostic-inset {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 6px);
}

.diagnostic-story.motion-ready .diagnostic-image {
  clip-path: inset(0 88% 0 0 round 0 0 0 150px);
  transition: clip-path 1.1s cubic-bezier(0.18, 0.8, 0.2, 1);
}

.diagnostic-story.motion-ready.is-in-view .diagnostic-image {
  clip-path: inset(0 0 0 0 round 0 0 0 150px);
}

.diagnostic-story.motion-ready .diagnostic-text > * {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.diagnostic-story.motion-ready.is-in-view .diagnostic-text > * {
  opacity: 1;
  transform: translateY(0);
}

.diagnostic-text > :nth-child(2) {
  transition-delay: 0.14s;
}

.diagnostic-text > :nth-child(3) {
  transition-delay: 0.28s;
}

.first-visit-home.motion-ready .first-heading > * {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.18, 0.75, 0.2, 1);
}

.first-visit-home.motion-ready.is-in-view .first-heading > * {
  opacity: 1;
  transform: translateY(0);
}

.first-heading > p {
  transition-delay: 0.14s;
}

.first-visit-home.motion-ready .visit-stage.motion-item {
  opacity: 0;
  transform: translateY(calc(var(--stage-rise, 0px) + 80px)) scale(0.96);
  transition:
    opacity 0.7s ease,
    transform 0.95s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.first-visit-home.motion-ready .visit-stage.motion-item.is-in-view {
  opacity: 1;
  transform: translateY(var(--stage-rise, 0px)) scale(1);
}

.visit-stage:nth-child(2) {
  transition-delay: 0.1s;
}

.visit-stage:nth-child(3) {
  transition-delay: 0.2s;
}

.visit-stage:nth-child(4) {
  transition-delay: 0.3s;
}

.team-showcase.motion-ready .team-showcase-copy > div,
.team-showcase.motion-ready .team-showcase-copy > .section-index {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.18, 0.75, 0.2, 1);
}

.team-showcase.motion-ready.is-in-view .team-showcase-copy > div,
.team-showcase.motion-ready.is-in-view .team-showcase-copy > .section-index {
  opacity: 1;
  transform: translateY(0);
}

.team-showcase-copy > div:nth-child(2) {
  transition-delay: 0.12s;
}

.team-showcase-copy > div:nth-child(3) {
  transition-delay: 0.26s;
}

.team-showcase.motion-ready .team-slider-window {
  opacity: 0;
  clip-path: inset(0 70% 0 0 round 9px);
  transition:
    opacity 0.5s ease,
    clip-path 1.1s cubic-bezier(0.18, 0.8, 0.2, 1);
}

.team-showcase.motion-ready.is-in-view .team-slider-window {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 9px);
}

.journal-section.motion-ready .journal-heading > * {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.18, 0.75, 0.2, 1);
}

.journal-section.motion-ready.is-in-view .journal-heading > * {
  opacity: 1;
  transform: translateY(0);
}

.journal-heading > p {
  transition-delay: 0.16s;
}

.journal-section.motion-ready .home-journal-list > a.motion-item {
  opacity: 0;
  transform: translateX(-65px);
  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.18, 0.75, 0.2, 1),
    padding-left 0.3s ease,
    background 0.3s ease;
}

.journal-section.motion-ready .home-journal-list > a.motion-item.is-in-view {
  opacity: 1;
  transform: translateX(0);
}

.home-journal-list > a:nth-child(2) {
  transition-delay: 0.12s;
}

.closing-section.motion-ready .closing-info > * {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.18, 0.75, 0.2, 1);
}

.closing-section.motion-ready.is-in-view .closing-info > * {
  opacity: 1;
  transform: translateY(0);
}

.closing-info > :nth-child(2) {
  transition-delay: 0.08s;
}

.closing-info > :nth-child(3) {
  transition-delay: 0.16s;
}

.closing-info > :nth-child(4) {
  transition-delay: 0.24s;
}

.closing-info > :nth-child(n + 5) {
  transition-delay: 0.34s;
}

.closing-section.motion-ready .closing-map {
  opacity: 0;
  clip-path: inset(0 85% 0 0 round 15px);
  transition:
    opacity 0.45s ease,
    clip-path 1.1s cubic-bezier(0.18, 0.8, 0.2, 1);
}

.closing-section.motion-ready.is-in-view .closing-map {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 15px);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes turn-slow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1050px) {
  .care-panel {
    width: 60vw;
  }

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

  .visit-stage {
    min-height: 260px;
  }

  .team-showcase {
    grid-template-columns: 38% 62%;
  }

  .team-showcase-copy {
    padding-inline: 40px;
  }

  .team-slide {
    flex-basis: 80%;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 10px 10px 0;
  }

  .hero-frame {
    height: min(760px, calc(100svh - 120px));
    min-height: 560px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(6, 35, 24, 0.88), transparent 85%);
  }

  .hero-content {
    padding-block: 25px 40px;
  }

  .hero-topline span:last-child,
  .hero-side-note {
    display: none;
  }

  .hero h1 {
    font-size: clamp(43px, 10vw, 72px);
  }

  .hero-description {
    font-size: 14px;
  }

  .opening {
    padding-block: 90px;
  }

  .promise-layout,
  .first-heading,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .promise-layout {
    gap: 55px;
  }

  .opening .eyebrow {
    margin-top: 55px;
  }

  .opening h2 {
    font-size: clamp(42px, 10vw, 60px);
  }

  .journal-heading {
    display: block;
  }

  .promise-row {
    grid-template-columns: 75px 1fr;
    gap: 10px;
    padding-block: 24px;
  }

  .promise-row > span {
    font-size: 9px;
  }

  .diagnostic-story {
    display: block;
  }

  .diagnostic-copy {
    min-height: 680px;
    padding: 45px 28px 60px;
    border-top-left-radius: 100px;
  }

  .diagnostic-inset {
    width: 80%;
    margin: 45px auto 25px;
  }

  .diagnostic-image {
    height: 530px;
    border-bottom-left-radius: 100px;
  }

  .care-story {
    height: auto;
  }

  .care-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding-block: 85px;
  }

  .care-header {
    display: block;
  }

  .care-header h2 {
    margin-bottom: 20px;
  }

  .care-window {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
  }

  .care-track {
    padding-inline: 18px;
    transform: none !important;
  }

  .care-panel {
    width: min(82vw, 460px);
    min-width: min(82vw, 460px);
    height: 420px;
    scroll-snap-align: center;
  }

  .care-progress-line {
    display: none;
  }

  .first-visit-home,
  .journal-section {
    padding-block: 90px;
  }

  .first-heading {
    gap: 25px;
  }

  .first-heading h2,
  .journal-heading h2,
  .closing-grid h2 {
    font-size: clamp(42px, 10vw, 65px);
  }

  .visit-stages {
    gap: 8px;
  }

  .visit-stage {
    min-height: 275px;
    padding: 18px;
    transform: none !important;
  }

  .team-showcase {
    display: block;
    padding-block: 80px;
  }

  .team-showcase-copy {
    gap: 35px;
    padding-inline: 24px;
  }

  .team-showcase h2 {
    font-size: clamp(45px, 10vw, 67px);
  }

  .team-active {
    margin-bottom: 35px;
  }

  .team-slider {
    padding-left: 24px;
  }

  .team-slide {
    flex-basis: 82%;
    height: 470px;
  }

  .team-slider-controls {
    padding-right: 24px;
  }

  .home-journal-list > a {
    grid-template-columns: 1fr 30px;
    gap: 10px;
  }

  .home-journal-list > a span,
  .home-journal-list > a strong,
  .home-journal-list > a p {
    grid-column: 1;
  }

  .home-journal-list > a b {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .closing-section {
    padding-block: 85px;
  }

  .closing-grid {
    gap: 55px;
  }

  .closing-map .map-frame {
    height: 370px;
  }
}

@media (max-width: 480px) {
  .visit-stages {
    grid-template-columns: 1fr;
  }

  .visit-stage {
    min-height: 220px;
  }

  .closing-contact {
    grid-template-columns: 1fr;
  }

  .closing-note {
    margin-bottom: 40px;
  }

  .team-slide {
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 > span,
  .hero h1 em,
  .hero-side-mark {
    animation: none;
  }

  .hero-image,
  .care-track,
  .diagnostic-inset,
  .diagnostic-image img,
  .team-slider-track {
    transform: none !important;
  }

  .opening.js-motion .promise-row {
    opacity: 1;
    transform: none;
  }

  .diagnostic-story.motion-ready .diagnostic-inset,
  .diagnostic-story.motion-ready .diagnostic-image,
  .diagnostic-story.motion-ready .diagnostic-text > *,
  .first-visit-home.motion-ready .first-heading > *,
  .first-visit-home.motion-ready .visit-stage.motion-item,
  .team-showcase.motion-ready .team-showcase-copy > *,
  .team-showcase.motion-ready .team-slider-window,
  .journal-section.motion-ready .journal-heading > *,
  .journal-section.motion-ready .home-journal-list > a.motion-item,
  .closing-section.motion-ready .closing-info > *,
  .closing-section.motion-ready .closing-map {
    opacity: 1;
    clip-path: none;
    transform: none;
    transition: none;
  }
}
