/* Clinic identity and visitor information */
.clinic-logo {
  width: clamp(134px, 12vw, 180px);
  height: auto;
}
.footer-logo {
  position: relative;
  display: block;
}
/* The cut falls in the transparent gap between the original seal and the wordmark. */
.footer-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo.png") center / 100% 100% no-repeat;
  clip-path: inset(0 0 0 24%);
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.35rem 2rem;
  font-size: .875rem;
}
.footer-business {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  margin: 0 0 .55rem;
  line-height: 1.4;
}
.footer-business > div { display: flex; align-items: baseline; gap: .35rem; }
.footer-business > div + div { border-inline-start: 1px solid #829186; padding-inline-start: .8rem; }
.footer-business dt { color: #e7ecdc; font-weight: 600; }
.footer-business dd { margin: 0; }
.footer-bottom .footer-copyright {
  display: block;
  margin-block-start: .8rem;
  font-size: .8125rem;
  line-height: 1.5;
  letter-spacing: .01em;
}
.footer-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .85rem; }
.footer-fee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem 1.15rem;
  border: 1px solid #a6b3a5;
  border-radius: .25rem;
  color: #f5f6ee;
  font-weight: 600;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.footer-fee-link:is(:hover, :focus-visible) {
  color: #243d34;
  background-color: #f5f6ee;
  border-color: #f5f6ee;
}
@media (max-width: 640px) {
  .footer-bottom { grid-template-columns: minmax(0, 1fr); }
  .footer-actions { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 440px) {
  .footer-business > div:last-child { width: 100%; padding-inline-start: 0; border: 0; }
}
.footer-bottom address { color: inherit; font-style: normal; line-height: 1.9; }
.footer-bottom address a:hover, .intro-ribbon a:hover { text-decoration: underline; }
.footer-fax { display: inline-block; margin-left: .65em; }
.intro-ribbon a { white-space: nowrap; }
.scroll-hero .scene-caption .home-care-summary + p { margin-top: .35em; }
.section-jump { text-underline-offset: .35em; text-decoration: underline; }
.hours-schedule dd { color: var(--ink); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 10rem;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .3em;
}
.visit-map-card:has(.wrap_map) .map-fallback { display: none; }

/* The title spans the section before the content is divided into columns. */
.section-heading {
  position: relative;
  margin-block-end: clamp(1.9rem, 3.6vw, 3.8rem);
  text-align: center;
}
.section-heading .eyebrow {
  margin: 0 0 clamp(.65rem, 1.2vw, 1rem);
  font-size: clamp(.8rem, .85vw, .94rem);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, calc(1rem + 3.25vw), 4.25rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.22;
}
.section-heading h2 > span,
.section-heading h2 > strong {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}
.section-heading h2 > strong { font-weight: 760; }
.section-heading .section-description {
  max-width: 43rem;
  margin: clamp(.85rem, 1.65vw, 1.4rem) auto 0;
  color: #596457;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.7;
  text-wrap: balance;
}
.section-heading > a { display: inline-flex; margin-top: .95rem; }
.section-heading + .process-list { margin-top: 0; }
.tour-heading .section-heading { margin-bottom: 0; }
.hours-intro > p:first-child,
.staff-layout .director-greeting > .director-hello:first-child, .visit-info .visit-subtitle {
  margin-top: 0;
}
.faq { display: block; }
.faq-list { max-width: 58rem; margin-inline: auto; }
.faq-question-heading { display: flex; flex: 1; align-items: center; gap: inherit; margin: 0; }
.faq-answer .faq-direct-answer { color: var(--ink); }
.faq-answer p + p { margin-top: .65em; }
.faq-answer p a { text-decoration: underline; text-underline-offset: .16em; }
.faq-credit, .guide-credit { display: flex; flex-wrap: wrap; gap: .35em 1em; margin-top: 1rem; color: var(--muted); font-size: .85rem; }

.principles-caption { font-size: .8rem; color: #65715f; }
.staff-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 2.8vw, 2.8rem);
}
.staff-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  border-top-left-radius: clamp(2.5rem, 5vw, 5rem);
}
.staff-portrait figcaption {
  margin-top: .55rem;
  color: #65715f;
  font-size: .8rem;
  line-height: 1.5;
}
.staff-layout .director-greeting > p { font-size: 1rem; line-height: 1.9; color: #546055; }
.staff-layout .director-greeting .director-hello { font-size: 1.25rem; color: var(--green); }
.staff-layout .director-profile h3 { margin: 0; }
.staff-layout .director-profile dl > div {
  display: grid;
  grid-template-columns: 4em minmax(0, 1fr);
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}
.staff-layout .director-profile dt { width: auto; }
.staff-layout .director-profile dd { color: var(--ink); }
.staff-layout .director-profile ul { margin: 0; padding: 0; list-style: none; }
.staff-layout .director-profile li + li { margin-top: .25rem; }
#promises .director-grid { align-items: start; gap: clamp(1.8rem, 5vw, 5rem); }
#promises .director-visual { align-self: start; width: 100%; border-radius: 0; }
#promises .director-visual::after { content: none; }
#promises .director-visual > img[aria-hidden="true"] { opacity: 0; pointer-events: none; }
#promise-photo-pulse, #promise-photo-herbs { object-position: 65% center; }
#promise-photo-listen { object-position: 47% center; }
#promises .promise-photo-caption {
  inset: auto 0 0;
  display: grid;
  padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.25rem, 3vw, 3rem) clamp(1.15rem, 2.65vw, 2.5rem);
  color: rgba(255, 253, 247, .82);
  background: linear-gradient(to top, rgba(14, 30, 23, .78), rgba(14, 30, 23, .5) 50%, transparent);
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -.045em;
  pointer-events: none;
}
.promise-photo-caption > span {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
}
#promise-photo-pulse[aria-hidden="false"] ~ figcaption .caption-pulse,
#promise-photo-herbs[aria-hidden="false"] ~ figcaption .caption-herbs,
#promise-photo-listen[aria-hidden="false"] ~ figcaption .caption-listen {
  visibility: visible;
  opacity: 1;
  --caption-offset: 0px;
  --caption-duration: 600ms;
  --caption-delay: 90ms;
}
@media (prefers-reduced-motion: no-preference) {
  .promise-photo-caption > span {
    transform: translateY(var(--caption-offset, .28em));
    transition:
      opacity var(--caption-duration, 150ms) ease-in-out var(--caption-delay, 0ms),
      transform var(--caption-duration, 150ms) cubic-bezier(.22, .8, .3, 1) var(--caption-delay, 0ms),
      visibility 150ms linear;
  }
}
.promise-list { padding: 0; background: transparent; color: var(--ink); }
@media screen and (min-width: 961px) and (max-width: 1536px) {
  .promise-list { margin-inline-end: 2.25rem; }
}
.promise-list ol { margin: 0; }
.promise-list li { border-color: #cdd4c5; margin-top: 1.25rem; padding-top: 1.25rem; cursor: pointer; }
.promise-list li:first-child { margin-top: 0; }
.promise-list li > span { color: #837055; font-size: .8rem; }
.promise-list li > div { flex: 1; min-width: 0; }
.promise-list li h3 { margin: 0; font-size: clamp(1.12rem, 1.5vw, 1.45rem); line-height: 1.5; }
#promises .promise-choice { border: 0; padding: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; }
.promise-list li p { font-size: 1rem; line-height: 1.85; color: #546055; }
.promise-label {
  background: linear-gradient(#cfd8b9, #cfd8b9)
              no-repeat left center / calc(var(--promise-active, 0) * 100%) 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .62s cubic-bezier(.22,.68,.25,1);
}
.promise-sign {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: calc(var(--promise-active, 0) * 3.1rem);
  overflow: hidden;
  transition: height .55s cubic-bezier(.22,.68,.25,1);
}
.promise-sign span {
  color: #65765a;
  font: 500 clamp(1.6rem, 2.3vw, 2.15rem)/1.15 'Noto Serif CJK KR', Batang, serif;
  letter-spacing: .06em;
  opacity: var(--promise-active, 0);
  transform: translateY(calc((1 - var(--promise-active, 0)) * .65rem));
  transition: opacity .42s ease, transform .52s ease;
}
.promise-list li:has(.promise-choice[aria-pressed="true"]) { --promise-active: 1; }
.promise-choice:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.tour-arrow { background: #20382f91; }
/* The two portrait photographs occupy the middle 600px of their 1200px canvases. */
.tour-portrait-photo { object-view-box: inset(0 25%); }
@supports not (object-view-box: inset(0 25%)) {
  .tour-stage { container-type: size; }
  .tour-slide > .tour-portrait-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(200%, 150cqh);
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
  }
}
@media screen and (min-width: 961px) {
  /* Keep the gallery controls within reach beside the fixed quick links. */
  .tour-main-controls { padding-right: 84px; }
  .tour-autoplay { right: max(84px, calc((100% - var(--shell)) / 2)); }
}

@media (max-width: 960px) {
  .intro-ribbon { gap: .6rem 1.2rem; flex-wrap: wrap; }
}
@media (min-width: 761px) and (max-width: 1199px) {
  .staff-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.1fr); }
  .staff-layout .director-profile { grid-column: 1 / -1; }
  .staff-layout .director-profile dl {
    display: grid;
    grid-template-columns: 1.2fr 1fr .9fr;
    gap: 1.5rem;
  }
  .staff-layout .director-profile dl > div { display: block; }
  .staff-layout .director-profile dt { margin-bottom: .5rem; }
}
@media (max-width: 760px) {
  .staff-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .staff-portrait { width: min(100%, 18rem); }
  .staff-portrait img { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  .clinic-logo { width: 136px; }
  .hero-full h1 { font-size: clamp(2.1rem, 10.4vw, 3.7rem); }
  .hero-full .hero-description { max-width: 100%; font-size: 1rem; }
  .intro-ribbon { padding: 1rem; gap: .35rem .6rem; }
  .intro-ribbon a { font-size: .88rem; }
  .intro-ribbon > a:last-child { flex-basis: 100%; text-align: center; }
  .intro-ribbon > i:nth-last-child(2) { display: none; }
  #promises .director-grid { flex-direction: column; }
  #promises .director-visual { min-height: 0; aspect-ratio: 3 / 2; }
  .process-row-description { font-size: 1rem; }
  .tour-slide figcaption { max-width: calc(100% - 9rem); }
}
@media (max-width: 420px) {
  .staff-layout .director-profile dl > div { grid-template-columns: 1fr; gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .promise-label, .promise-sign, .promise-sign span { transition: none; transform: none; }
}
@media print {
  .promise-sign { display: none; }
}
