:root {
  --home-ink: #121820;
  --home-blue: #0079c7;
  --home-blue-dark: #003f70;
  --home-cyan: #00b9e8;
  --home-pale: #d7f6fd;
  --home-line: #b5c7d2;
}

.home-hero {
  position: relative;
  min-height: 391px;
  overflow: hidden;
  color: var(--home-ink);
  background: linear-gradient(117deg, #d5f7ff 0%, #bdeef9 50%, transparent 50.1%);
  isolation: isolate;
}

.home-hero__media {
  position: absolute;
  inset: 0 0 0 38.2%;
  z-index: -3;
  overflow: hidden;
}

.home-hero__room {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  transform: scale(1.02);
  animation: home-room-in 900ms cubic-bezier(.2,.7,.2,1) both;
}

.home-hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(117deg, transparent 0 48.8%, rgb(255 255 255 / .93) 48.9% 50.3%, rgb(115 223 247 / .8) 50.4% 51.3%, transparent 51.4%),
    linear-gradient(117deg, #d5f7ff 0 48.8%, transparent 48.9%),
    linear-gradient(90deg, transparent 65%, rgb(255 255 255 / .04));
}

.home-hero__inner {
  position: relative;
  min-height: 391px;
}

.home-hero__copy {
  width: min(54%, 595px);
  padding: 30px 0 25px 10px;
  container-type: inline-size;
  animation: home-copy-in 600ms cubic-bezier(.2,.75,.2,1) both;
}

.home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 22px;
  background: rgb(134 233 253 / .67);
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
}

.home-hero__title {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.05em;
}

.home-hero__title > span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.home-hero__title-accent {
  color: #0089c9;
}

.home-hero__lead {
  margin: 10px 0 14px;
  font-size: clamp(.95rem, 1.65vw, 1.14rem);
  font-weight: 600;
  line-height: 1.42;
}

.home-hero__lead span {
  white-space: nowrap;
}

.home-hero__actions {
  display: flex;
  gap: 26px;
  align-items: center;
}

.home-hero__button {
  min-width: 164px;
  min-height: 47px;
  justify-content: center;
  gap: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.home-hero__practitioner {
  position: absolute;
  inset: 0 0 0 54%;
  pointer-events: none;
}

.home-hero__portrait-frame {
  position: absolute;
  right: 4%;
  bottom: -2px;
  width: clamp(185px, 22vw, 250px);
  filter:
    drop-shadow(1px 0 0 white)
    drop-shadow(-1px 0 0 white)
    drop-shadow(0 -1px 0 white)
    drop-shadow(0 1px 0 white)
    drop-shadow(0 11px 18px rgb(0 48 75 / .15));
  animation: home-person-in 800ms 100ms cubic-bezier(.16,.76,.18,1) both;
}

.home-hero__portrait {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero__nameplate {
  position: absolute;
  left: 11%;
  bottom: 23px;
  z-index: 2;
  min-width: 163px;
  margin: 0;
  padding: 6px 18px 7px 22px;
  border-left: 3px solid #14cff2;
  border-radius: 5px;
  background-color: #004873;
  background: #00365f linear-gradient(100deg, #005f97, #00365f);
  box-shadow: 0 8px 22px rgb(0 43 69 / .28);
  color: #fff;
  text-align: center;
  letter-spacing: .08em;
  animation: home-copy-in 600ms 280ms both;
}

.home-hero__role,
.home-hero__name {
  display: block;
  white-space: nowrap;
}

.home-hero__role {
  font-size: .72rem;
  font-weight: 700;
}

.home-hero__name {
  margin-top: 1px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.home-services {
  padding: 24px 0 27px;
  background: #fff;
}

.home-section-heading {
  display: flex;
  align-items: center;
  gap: 25px;
}

.home-section-heading h2,
.home-first h2,
.home-approach h2,
.home-access-card h2,
.home-concerns h2 {
  margin: 0;
  color: #141414;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: 600;
  line-height: 1.2;
}

.home-section-heading h2 {
  flex: 0 0 auto;
  font-size: clamp(1.9rem, 4.1vw, 2.55rem);
}

.home-section-heading > span {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #06c7e6, transparent);
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border-bottom: 5px solid #06cbe3;
}

.home-service {
  display: grid;
  grid-template-rows: minmax(72px, auto) 1fr auto;
  min-width: 0;
  padding: 0 28px 18px 10px;
  border-right: 1px solid var(--home-line);
}

.home-service + .home-service {
  padding-left: 29px;
}

.home-service:last-child {
  border-right: 0;
}

.home-service h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.06em;
}

.home-service p {
  margin: 10px 0 7px;
  font-size: clamp(.92rem, 1.55vw, 1rem);
  font-weight: 500;
  line-height: 1.38;
}

.home-service a,
.home-text-link {
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--home-blue);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 180ms ease, transform 180ms ease;
}

.home-service a:hover,
.home-text-link:hover {
  color: #00578f;
  transform: translateX(3px);
}

.home-concerns {
  padding: 16px 0;
  background: linear-gradient(100deg, #daf7fd, #b8eef9 55%, #d6f8fd);
}

.home-concerns__inner {
  display: grid;
  grid-template-columns: 242px 1fr;
  align-items: center;
  gap: 24px;
}

.home-concerns h2 {
  padding-right: 24px;
  border-right: 1px solid #9ab8c3;
  font-size: 1.8rem;
  white-space: nowrap;
}

.home-concerns ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-concerns a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px clamp(8px, 2vw, 23px) 7px clamp(12px, 3vw, 40px);
  border: 1.5px solid #008fd1;
  border-radius: 7px;
  background: rgb(255 255 255 / .82);
  color: #13171b;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-concerns a::after {
  content: "→" / "";
  color: var(--home-blue);
  font-size: 1.55rem;
}

.home-concerns a:hover {
  border-color: #006ba5;
  box-shadow: 0 8px 18px rgb(0 93 137 / .12);
  transform: translateY(-2px);
}

.home-first {
  padding: 26px 0 0;
}

.home-first__grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 31px;
  align-items: center;
}

.home-photo {
  margin: 0;
  overflow: hidden;
  background: #edf6f8;
}

.home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-first__photo {
  height: 226px;
}

.home-first__content {
  min-width: 0;
}

.home-first h2,
.home-approach h2,
.home-access-card h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.45rem);
}

.home-first__steps {
  display: grid;
  grid-template-columns: .8fr 1.2fr 1.2fr;
  align-items: center;
  gap: 40px;
  margin: 24px 0 4px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.home-first__steps li {
  position: relative;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1.5px solid #00a9df;
  border-radius: 8px;
  font-size: clamp(.78rem, 1.6vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.home-first__steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  color: var(--home-blue);
  font-size: 1.7rem;
  font-weight: 400;
  transform: translateY(-53%);
}

.home-approach {
  padding: 16px 0 46px;
}

.home-approach__grid {
  display: grid;
  grid-template-columns: 35.5% 39.3% 25.2%;
  align-items: stretch;
  padding-top: 33px;
  border-top: 1px solid #c6d1d8;
}

.home-approach__content,
.home-access-card {
  padding: 0 30px 0 5px;
}

.home-approach__content {
  border-right: 1px solid var(--home-line);
}

.home-approach h2 span {
  color: #008fc8;
}

.home-approach__content p,
.home-access-card p {
  margin: 17px 0 5px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.home-approach__photo {
  height: 184px;
  margin: 0 5px 0 27px;
}

.home-approach__photo img {
  object-position: center 35%;
}

.home-access-card {
  padding-left: 24px;
}

.home-access-card p span {
  display: inline-block;
}

.home-approach h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  white-space: nowrap;
}

@keyframes home-copy-in {
  from { transform: translateY(14px); }
  to { transform: translateY(0); }
}

@keyframes home-person-in {
  from { transform: translateX(18px); }
  to { transform: translateX(0); }
}

@keyframes home-room-in {
  from { transform: scale(1.055); }
  to { transform: scale(1.02); }
}

@media (max-width: 1024px) {
  .home-hero {
    min-height: 391px;
  }

  .home-hero__inner {
    min-height: 391px;
  }

  .home-hero__copy {
    padding-left: 0;
  }

  .home-hero__practitioner {
    left: 55%;
  }

  .home-hero__nameplate {
    left: 11%;
  }

  .home-services {
    padding-top: 26px;
  }

  .home-service {
    padding-right: 18px;
  }

  .home-service + .home-service {
    padding-left: 20px;
  }

  .home-service h3 {
    font-size: clamp(1.5rem, 3.4vw, 2rem);
  }

  .home-concerns__inner {
    grid-template-columns: 242px 1fr;
  }

  .home-concerns h2 {
    font-size: 1.5rem;
  }

  .home-concerns ul {
    gap: 10px;
  }

  .home-concerns a {
    padding-left: 20px;
  }

  .home-first__steps {
    gap: 23px;
  }

  .home-first__steps li:not(:last-child)::after {
    left: calc(100% + 2px);
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 568px;
    background: linear-gradient(155deg, #d7f8ff 0%, #c3f0fa 61%, transparent 61.2%);
  }

  .home-hero__media {
    inset: 53% 0 0;
  }

  .home-hero__wash {
    background:
      linear-gradient(155deg, transparent 0 59.8%, rgb(255 255 255 / .92) 60% 61.1%, rgb(93 218 244 / .78) 61.2% 62%, transparent 62.1%),
      linear-gradient(155deg, #d7f8ff 0 59.8%, transparent 60%);
  }

  .home-hero__inner {
    min-height: 568px;
  }

  .home-hero__copy {
    width: 100%;
    padding: 17px 0 0;
  }

  .home-hero__eyebrow {
    margin-bottom: 6px;
    padding: 4px 13px;
    font-size: .9rem;
  }

  .home-hero__title {
    font-size: clamp(2.1rem, 10.8vw, 2.85rem);
    line-height: 1.02;
  }

  .home-hero__lead {
    margin: 7px 0 10px;
    font-size: clamp(.78rem, 3.6vw, .95rem);
  }

  .home-hero__lead span {
    white-space: normal;
  }

  .home-hero__actions {
    width: min(100%, 380px);
    gap: 10px;
  }

  .home-hero__button {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 45px;
    padding-inline: 12px;
    font-size: .92rem;
  }

  .home-hero__practitioner {
    inset: 50% 0 0;
  }

  .home-hero__portrait-frame {
    right: 7%;
    width: clamp(112px, 40vw, 200px);
  }

  .home-hero__nameplate {
    left: 4%;
    bottom: 18px;
    min-width: 150px;
  }

  .home-services {
    padding-top: 21px;
  }

  .home-section-heading {
    gap: 15px;
  }

  .home-section-heading h2 {
    font-size: 1.8rem;
  }

  .home-services__grid {
    display: block;
    margin-top: 10px;
  }

  .home-service,
  .home-service + .home-service {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 110px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid #c8d6dd;
  }

  .home-service:last-child {
    border-bottom: 0;
  }

  .home-service h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.55rem;
    line-height: 1;
  }

  .home-service p {
    grid-column: 1;
    grid-row: 2;
    margin: 6px 18px 0 0;
    font-size: .89rem;
  }

  .home-service a {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    margin-left: 8px;
    font-size: 0;
    text-decoration: none;
  }

  .home-service a span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #0087c7;
    border-radius: 50%;
    font-size: 1.75rem;
  }

  .home-concerns {
    padding: 18px 0 20px;
  }

  .home-concerns__inner {
    display: block;
  }

  .home-concerns h2 {
    padding: 0;
    border-right: 0;
    font-size: 1.55rem;
  }

  .home-concerns ul {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 13px;
  }

  .home-concerns a {
    min-height: 48px;
    padding: 6px 18px;
    font-size: 1rem;
  }

  .home-first {
    padding-top: 22px;
  }

  .home-first__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-first__photo {
    height: min(63vw, 260px);
  }

  .home-first h2,
  .home-approach h2,
  .home-access-card h2 {
    font-size: 1.8rem;
  }

  .home-first__steps {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-top: 17px;
  }

  .home-first__steps li {
    min-height: 55px;
  }

  .home-first__steps li br {
    display: none;
  }

  .home-first__steps li:not(:last-child)::after {
    content: "↓";
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
  }

  .home-approach {
    padding-bottom: 20px;
  }

  .home-approach__grid {
    grid-template-columns: 1fr;
    gap: 21px;
    padding-top: 23px;
  }

  .home-approach__content,
  .home-access-card {
    padding: 0;
    border-right: 0;
  }

  .home-approach__content {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--home-line);
  }

  .home-approach__photo {
    height: min(58vw, 235px);
    margin: 0;
  }

  .home-access-card {
    padding: 2px 0 0;
  }

  .home-approach h2 {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .home-hero,
  .home-hero__inner {
    min-height: clamp(568px, calc(840px - 70vw), 720px);
  }

  .home-hero__title {
    font-size: clamp(1rem, 10vw, 2.6rem);
  }
}

.page-home [data-qc-phrase] { white-space: nowrap; }
.home-service h3.home-service__core-title {
  font-size: clamp(1rem, 2.23vw, 1.75rem);
  line-height: 1.16;
  white-space: nowrap;
}
.home-approach h2 .home-approach__heading-start { color: inherit; }

@media (max-width: 768px) {
  .home-service h3.home-service__core-title {
    font-size: clamp(.9rem, 6.25vw, 1.55rem);
  }
}

@media (max-width: 280px) {
  .home-service, .home-service + .home-service {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .home-service a {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin: .3rem 0 0;
  }

  .home-service h3, .home-first h2 {
    font-size: clamp(1rem, 7.8vw, 1.35rem);
  }

  .home-service p { margin-right: 0; }
  .home-hero__title-accent { color: #006d9d; }
}

@container (inline-size <= 280px) {
  .home-hero__eyebrow {
    padding: 2px 4px;
    font-size: .68rem;
  }

  .home-hero__lead {
    font-size: .75rem;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .home-hero__button {
    flex-basis: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__room,
  .home-hero__copy,
  .home-hero__portrait-frame,
  .home-hero__nameplate {
    animation: none;
  }

  .home-service a,
  .home-text-link,
  .home-concerns a {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  .home-services,
  .home-first,
  .home-approach {
    color-scheme: light;
  }
}
