:root {
  --ink: #14292f;
  --dark-surface: #132f34;
  --teal: #22b8a9;
  --deep-teal: #08796f;
  --ice: #f1f7f8;
  --lavender: #c5b6f4;
  --lime: #dcf36a;
  --mist: #d6eeeb;
}

.brand {
  gap: 12px;
}

.brand-symbol {
  display: inline-block;
  width: 51px;
  height: 51px;
  flex: none;
  background: url('/assets/mascot-badge.svg') center / contain no-repeat;
  transform: none;
}

.brand-symbol::before,
.brand-symbol::after {
  content: none;
}

.brand-name {
  font-size: 16px;
  letter-spacing: -.065em;
}

.header-phone .round-arrow {
  background: var(--teal);
  border-color: transparent;
}

.btn {
  border-radius: 999px;
}

.hero {
  max-width: 1660px;
  width: calc(100% - clamp(16px, 3.5vw, 64px));
  padding: clamp(25px, 3.6vw, 58px) clamp(22px, 4.5vw, 74px) 0;
  border-radius: clamp(20px, 3vw, 46px);
  color: #fff;
  background: var(--ink);
}

.hero-top {
  gap: 20px;
}

.hero-top .eyebrow {
  flex: none;
  color: var(--mist);
}

.hero-rule {
  height: 1px;
  flex: 1;
  background: #ffffff30;
}

.hero-top .hours {
  color: #d4e9e8;
  max-width: 300px;
}

.hero-title {
  position: relative;
  animation: none;
  font-weight: 800;
  font-size: clamp(37px, 12.2vw, 205px);
  letter-spacing: -.047em;
  line-height: .91;
  margin: clamp(17px, 2.6vw, 39px) 0 clamp(26px, 3vw, 45px);
}

.hero-window {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-rows: 1fr auto;
  gap: 24px clamp(22px, 4vw, 62px);
  min-height: 0;
  background: transparent;
  overflow: visible;
}

.hero-copy {
  align-self: end;
  padding: 0;
}

.hero-media {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  min-width: 0;
}

.hero-actions {
  align-self: start;
  padding-bottom: clamp(18px, 3vw, 42px);
}

.hero-copy .small {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 7px 12px;
  background: #ffffff13;
  border: 1px solid #ffffff2a;
  border-radius: 999px;
  color: #d9edeb;
  white-space: nowrap;
  margin-bottom: 22px;
}

.hero-copy .live-dot {
  background: var(--lime);
}

.hero-copy .hero-visit {
  font-size: clamp(32px, 4.3vw, 71px);
  font-weight: 650;
  line-height: .99;
  letter-spacing: -.085em;
}

.hero-actions .btn,
.contacts .btn {
  color: var(--ink);
  background: var(--teal);
  border-color: var(--teal);
}

.hero-actions .btn:hover,
.contacts .btn:hover {
  background: white;
  border-color: white;
}

.hero .btn:focus-visible,
.hero a:focus-visible {
  outline-color: var(--lime);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1.68;
  border-radius: 23px 62px 23px 23px;
}

.hero-location {
  margin: 16px 0 0;
  color: #d4e9e8;
  font-size: clamp(13px, 1.25vw, 16px);
}

.hero-bottom {
  color: #d9edeb;
  border-color: transparent;
  border-top: 1px solid #ffffff26;
  margin-top: clamp(22px, 3.4vw, 45px);
  padding: 19px 0 23px;
}

.hero-bottom a:last-child .arrow {
  rotate: 90deg;
}

.section-head h2 {
  font-weight: 720;
  letter-spacing: -.075em;
}

.section-head .eyebrow {
  color: var(--deep-teal);
}

.feature-grid {
  gap: clamp(12px, 1.6vw, 26px);
}

.feature-card {
  border-radius: 22px;
  background: var(--ice);
}

.feature-image {
  position: relative;
}

.feature-index {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.feature-label {
  min-height: clamp(145px, 15vw, 240px);
}

.feature-label.lavender {
  background: var(--lavender);
}

.feature-label.mint {
  background: var(--mist);
}

.doctor-grid {
  gap: clamp(16px, 2vw, 31px);
  align-items: start;
}

.doctor {
  --portrait-focus: 0%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dceae8;
  border-radius: 18px 44px 18px 18px;
  background: #edf7f6;
}

.doctor:nth-child(1) { --portrait-focus: 2.5%; }
.doctor:nth-child(2) { --portrait-focus: 20%; }
.doctor:nth-child(4) { --portrait-focus: 13%; }
.doctor:nth-child(5) { --portrait-focus: 7.5%; }
.doctor:nth-child(6) { --portrait-focus: 2.5%; }

.doctor-photo {
  aspect-ratio: 5 / 4;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-position: center var(--portrait-focus);
}

.doctor-caption {
  container-type: inline-size;
  padding: clamp(13px, 1.5vw, 22px);
  border-top: 1px solid #d2e7e4;
}

.doctor-caption .doctor-name {
  margin: 0 0 9px;
  font-size: clamp(11px, 6.15cqi, 23px);
  font-weight: 780;
  line-height: 1.17;
  letter-spacing: -.04em;
}

.doctor-name span {
  display: block;
  white-space: nowrap;
}

.doctor .role {
  min-height: 2.8em;
  margin-bottom: 12px;
  line-height: 1.4;
}

.doctor-caption details summary {
  padding-bottom: 9px;
}

.review,
.article-img {
  border-radius: 19px;
}

.contacts {
  background: var(--mist);
}

.contact-queue {
  margin: 20px 0 0;
}

.contact-photo {
  padding: 8px;
  border-radius: 20px;
  background: #ffffff3d;
}

.contact-photo img {
  border-radius: 14px;
  aspect-ratio: 1.72;
}

.contact-photo .btn {
  margin-top: 7px;
  border-radius: 14px;
}

.footer-title {
  color: var(--teal);
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 12vw;
  }

  .hero-top .hours {
    display: none;
  }

  .hero-window {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 20px;
  }

  .hero-media {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy .hero-visit {
    max-width: none;
    font-size: clamp(34px, 6.4vw, 58px);
  }

  .hero-actions {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .brand-symbol {
    width: 43px;
    height: 43px;
    margin-right: 0;
  }

  .hero {
    width: calc(100% - 16px);
    padding: 22px 15px 0;
  }

  .hero-top .eyebrow {
    font-size: 9px;
  }

  .hero-title {
    font-size: 13vw;
    letter-spacing: -.06em;
    margin: 18px 0 21px;
  }

  .hero-copy .small {
    font-size: 9px;
    margin-bottom: 13px;
  }

  .hero-copy .hero-visit {
    font-size: clamp(33px, 9.2vw, 52px);
  }

  .hero-actions .btn {
    width: auto;
    min-width: 0;
  }

  .hero-photo {
    height: auto;
    aspect-ratio: 1.48;
    border-radius: 16px 38px 16px 16px;
  }

  .hero-bottom {
    margin-top: 16px;
    padding: 14px 2px;
  }

  .feature-card {
    border-radius: 16px;
    grid-template-columns: 36% minmax(0, 1fr);
  }

  .feature-label {
    min-height: 0;
    padding-inline: clamp(10px, 3vw, 16px);
  }

  .feature-label h3 {
    font-size: clamp(20px, 5.9vw, 29px);
  }

}

/* The mask stays put; only the ink inside it moves. */
.motion-mask {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
  padding-block: .08em;
  margin-block: -.08em;
}

.motion-ink {
  display: block;
}

.hero-visit-row {
  display: block;
}

.hero-visit-row + .hero-visit-row {
  color: var(--teal);
}

.hero-word {
  display: inline-block;
}

@keyframes ink-rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes word-sharpen {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes card-arrive {
  from { opacity: .78; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card.reveal-running,
  .doctor.reveal-running {
    animation: card-arrive .58s cubic-bezier(.24, .74, .24, 1);
  }

  .hero-title .motion-ink {
    animation: ink-rise .65s cubic-bezier(.2, .75, .2, 1) both;
  }

  .hero-word {
    animation: word-sharpen .5s ease-out both;
    animation-delay: calc(80ms + var(--word-index) * 65ms);
  }

  .hero-visit-row + .hero-visit-row .hero-word {
    animation-delay: calc(210ms + var(--word-index) * 65ms);
  }

  .reveal-ready .motion-ink {
    transform: translateY(110%);
  }

  .reveal-running .motion-ink {
    animation: ink-rise .62s cubic-bezier(.2, .75, .2, 1) both;
    animation-delay: var(--line-delay, 0ms);
  }
}

.feature-card:hover .feature-image img {
  transform: none;
}

.feature-label h3 {
  display: grid;
  max-width: none;
  overflow: clip;
}

.feature-title {
  grid-area: 1 / 1;
  display: block;
}

.feature-title-next {
  visibility: hidden;
}

@media (min-width: 721px) {
  .feature-grid {
    gap: 0;
    align-items: stretch;
    border-radius: 22px;
  }

  .feature-card {
    min-width: 0;
    border-radius: 0;
  }

  .feature-card:first-child {
    border-radius: 22px 0 0 22px;
  }

  .feature-card:last-child {
    border-radius: 0 22px 22px 0;
  }

  .feature-card:nth-child(n) {
    margin-top: 0;
  }

  .feature-card:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--ink);
    outline-offset: -5px;
  }

  .feature-label {
    position: relative;
    display: grid;
    align-content: end;
    padding: 54px clamp(16px, 1.8vw, 28px) 24px;
    min-height: clamp(170px, 16.5vw, 242px);
  }

  .feature-label h3 {
    font-size: clamp(23px, 2.58vw, 43px);
  }

  .feature-label .arrow {
    position: absolute;
    top: 17px;
    right: 21px;
    width: clamp(28px, 3vw, 46px);
    height: clamp(28px, 3vw, 46px);
  }

  .feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #101b2094;
    opacity: .12;
    pointer-events: none;
  }

  .feature-index {
    z-index: 1;
  }
}

@media (min-width: 721px) and (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .feature-grid {
    display: flex;
  }

  .feature-card {
    flex: 1 1 0;
    transition: flex-grow .48s cubic-bezier(.24, .74, .24, 1);
  }

  .feature-grid:not(:hover) .feature-card:focus-visible,
  .feature-card:hover {
    flex-grow: 1.4;
  }

  .feature-image::after,
  .feature-title {
    transition: opacity .42s ease, transform .48s cubic-bezier(.24, .74, .24, 1);
  }

  .feature-title-next {
    visibility: visible;
    transform: translateY(150%);
  }

  .feature-card:is(:hover, :focus-visible) .feature-image::after {
    opacity: .84;
  }

  .feature-card:is(:hover, :focus-visible) .feature-title:not(.feature-title-next) {
    transform: translateY(-150%);
  }

  .feature-card:is(:hover, :focus-visible) .feature-title-next {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .feature-label h3 {
    overflow: visible;
  }

  .feature-title-next {
    display: none;
  }
}

.service-detail {
  padding-block: clamp(34px, 5vw, 75px);
}

.service-detail-cover {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  border-radius: 24px;
}

.service-detail-heading {
  align-self: center;
  padding: clamp(24px, 4vw, 64px);
}

.service-detail h1 {
  margin: .34em 0 0;
  font-family: Condensed, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(36px, 5.4vw, 88px);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.service-detail-cover img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(22px, 4vw, 66px);
  padding-block: clamp(28px, 5vw, 70px) 0;
}

.service-detail-description {
  font-size: clamp(15px, 1.4vw, 21px);
}

.service-detail-description ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  gap: 10px;
}

.service-detail-actions p {
  width: 100%;
  margin: 0 0 5px;
}

@media (max-width: 600px) {
  .clinic-film-stage {
    border-top-right-radius: 35px;
  }

  .service-detail-cover,
  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .service-detail-cover img {
    min-height: 0;
    aspect-ratio: 1.8;
  }
}

.service-detail-description h2 {
  margin: 0 0 .6em;
  font-size: clamp(23px, 2.5vw, 38px);
  line-height: 1.15;
}

.service-detail-contact {
  width: 100%;
  font-size: 14px;
}

.service-detail-contact:hover {
  text-decoration: underline;
}

@media (min-width: 601px) and (max-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 43% 57%;
  }

  .feature-card:nth-child(n) {
    margin-top: 0;
  }

  .feature-image {
    height: 100%;
    min-height: 165px;
  }
}

.service-detail-cover.turquoise { background: var(--teal); }
.service-detail-cover.lavender { background: var(--lavender); }
.service-detail-cover.mint { background: var(--mist); }

/* The large type, fine rules, and solid color edges connect the page sections. */
.section-head {
  padding-top: clamp(12px, 1.7vw, 23px);
  border-top: 1px solid var(--line);
}

.about {
  background: var(--ice);
}

.about-chapter-head {
  margin-bottom: clamp(22px, 4.3vw, 58px);
}

.about-chapter-head h2 {
  margin: 12px 0 0;
  font-family: Condensed, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(70px, 10vw, 155px);
  font-weight: 800;
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -.05em;
}

.about-chapter-head p {
  color: var(--ink);
  font-size: clamp(13px, 1.25vw, 17px);
}

.clinic-film {
  min-width: 0;
  margin: 0;
}

.clinic-film-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px 62px 18px 18px;
  background: var(--ink);
}

.clinic-film-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-control {
  position: absolute;
  bottom: clamp(10px, 2vw, 26px);
  right: clamp(10px, 2vw, 26px);
  display: grid;
  place-items: center;
  width: clamp(38px, 4vw, 54px);
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #ffffff7d;
  border-radius: 50%;
  color: white;
  background: #14292fda;
  cursor: pointer;
}

.film-control:hover,
.film-control:focus-visible {
  color: var(--ink);
  background: var(--teal);
}

.film-control[hidden],
.film-pause-icon,
.film-control[data-playing] .film-play-icon {
  display: none;
}

.film-control svg {
  width: 22px;
  height: 22px;
}

.film-control[data-playing] .film-pause-icon {
  display: block;
}

.film-caption {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding-block: 13px 18px;
}

.film-caption span:first-child {
  text-transform: uppercase;
  letter-spacing: .07em;
}

.film-caption span:last-child {
  text-align: right;
}

.film-fallback {
  font-size: 13px;
  text-decoration: underline;
}

.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(28px, 6vw, 90px);
  margin-top: clamp(26px, 4vw, 54px);
}

.about-story p {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.75;
}

@media (max-width: 600px) {
  .about-chapter-head h2 {
    font-size: clamp(56px, 16vw, 86px);
  }

  .about-chapter-head p {
    margin-top: 13px;
  }

  .clinic-film-stage {
    border-radius: 13px 34px 13px 13px;
  }

  .film-caption {
    grid-template-columns: 1fr auto;
    font-size: 10px;
  }

  .film-caption span:nth-child(2) {
    grid-row: 2;
  }

  .film-caption span:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  .about-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .doctor-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .doctor {
    border-top-right-radius: 30px;
  }

  .doctor-photo {
    aspect-ratio: 960 / 1097;
  }

  .doctor-caption {
    padding: clamp(16px, 5vw, 24px);
  }

  .doctor-caption .doctor-name {
    font-size: clamp(19px, 6.6cqi, 26px);
  }

  .doctor-name span {
    white-space: normal;
  }

  .doctor .role,
  .doctor summary,
  .doctor .bio {
    font-size: 14px;
  }

  .doctor .role {
    min-height: 0;
  }

  .doctor-caption details summary {
    min-height: 44px;
  }
}

.hero,
.site-footer,
.reason:nth-child(2),
.lab-concept {
  background-color: var(--dark-surface);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title .motion-ink {
    animation-delay: .11s;
  }

  .hero-word {
    animation-duration: .62s;
  }
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 20px);
}

.reason {
  grid-column: span 5;
  position: relative;
  isolation: isolate;
  min-height: clamp(214px, 19vw, 288px);
  padding: clamp(22px, 3vw, 44px);
  overflow: hidden;
  border: 0;
  border-radius: 18px 46px 18px 18px;
  background: #edf7f6;
  --reason-art: #2e8e87;
}

.reason:nth-child(2),
.reason:nth-child(3) { grid-column: span 7; }

.reason:nth-child(2) {
  background-color: var(--dark-surface);
  color: #fff;
  --reason-art: #5bd9c9;
}

.reason:nth-child(3) { background: var(--mist); }
.reason:nth-child(4) { background: #e4f1ef; }

.reason .reason-index {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 clamp(28px, 4vw, 58px);
  font-size: 11px;
  letter-spacing: .08em;
}

.reason-index::after {
  content: '';
  width: 34px;
  border-top: 1px solid currentColor;
  transform-origin: left;
}

.reason h3 {
  width: 100%;
  max-width: min(100%, 25ch);
  margin: 0 0 13px;
  overflow: clip;
  font-size: clamp(23px, 3vw, 47px);
  font-weight: 740;
  line-height: 1.05;
  letter-spacing: -.067em;
}

.reason h3 span { display: block; }

.reason p {
  max-width: 39ch;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.62;
}

.reason-art {
  position: absolute;
  z-index: -1;
  top: clamp(13px, 2vw, 32px);
  right: clamp(13px, 2vw, 32px);
  width: clamp(85px, 11.5vw, 175px);
  color: var(--reason-art);
  opacity: .29;
  pointer-events: none;
}

.reason-art svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

.reason-figure {
  display: block;
  text-align: right;
  font: 800 clamp(104px, 14.5vw, 218px)/.8 Condensed, 'Arial Narrow', Arial, sans-serif;
  letter-spacing: -.07em;
}

@media (prefers-reduced-motion: no-preference) {
  .reason.reveal-ready h3 span { opacity: 0; transform: translateY(100%); }
  .reason.reveal-ready .reason-index::after { transform: scaleX(0); }
  .reason.reveal-running h3 span {
    animation: reason-title-in .48s var(--reason-delay, 0ms) cubic-bezier(.23,.75,.25,1) both;
  }
  .reason.reveal-running .reason-index::after {
    animation: reason-rule-in .32s var(--reason-delay, 0ms) ease-out both;
  }
  @keyframes reason-title-in {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes reason-rule-in {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  @media (min-width: 651px) {
    .reason:nth-child(even) { --reason-delay: 75ms; }
  }
}

@media (max-width: 650px) {
  .reason-grid { grid-template-columns: 1fr; margin-top: 0; }
  .reason-grid .reason { grid-column: auto; min-height: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .btn {
  gap: 12px;
  padding: 14px 17px;
}

.hero-actions .hero-directions {
  color: #fff;
  border-color: #b1d1cf80;
  background: transparent;
}

.hero-actions .hero-directions:hover {
  color: var(--ink);
}

.service-prices {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding: clamp(20px, 3vw, 40px);
  margin: clamp(-30px, -2vw, -12px) 0 clamp(24px, 4vw, 54px);
  border-radius: 18px 36px 18px 18px;
  background: var(--mist);
}

.service-prices h3 {
  margin: 0 0 6px;
  font-size: clamp(23px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.063em;
}

.service-prices p {
  margin: 0;
}

.service-prices .btn {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .service-prices {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
  }
}

.empty-results a {
  color: var(--deep-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.live-stage {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  isolation: isolate;
  background: radial-gradient(ellipse at 75% 0%, #f5fbf7, #c8e5de 74%);
}

.live-word {
  position: absolute;
  z-index: 0;
  top: -1cqw;
  left: 4cqw;
  color: #1d6964;
  font: 800 26cqw/.91 Condensed, 'Arial Narrow', Arial, sans-serif;
  letter-spacing: -.055em;
}

.live-frame {
  position: absolute;
  z-index: 1;
  inset: 24% 6% 12% 15%;
  overflow: hidden;
  border: 1px solid #fff9;
  border-radius: 2.3cqw 6cqw 2.3cqw 2.3cqw;
  background: #d9ebe4;
  box-shadow: 0 3.6cqw 5.4cqw #15464c46;
  transform: perspective(1100px) rotateX(3deg) rotateY(-7deg);
}

.live-mark {
  position: absolute;
  bottom: 6%;
  left: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1cqw;
  color: #174941;
  font: 800 clamp(7px, 1.2cqw, 12px)/1 Manrope, Arial, sans-serif;
  letter-spacing: .12em;
}

.live-mark i {
  width: .8cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #159686;
}

.live-frame img,
.live-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.live-frame video { opacity: 0; }
.live-stage.is-playing .live-frame video { opacity: 1; }

.live-stage.animate .live-frame { animation: live-frame 7s ease-in-out infinite; }
.live-stage.animate .live-word { animation: live-type 7s ease-in-out infinite; }
.live-stage.animate:not(.is-running) .live-frame,
.live-stage.animate:not(.is-running) .live-word { animation-play-state: paused; }

@keyframes live-frame {
  0%, 100% { transform: perspective(1100px) translate(-3%, 2%) rotateX(3deg) rotateY(-11deg); }
  50% { transform: perspective(1100px) translate(1.5%, -3%) rotateX(-2deg) rotateY(7deg) scale(1.07); }
}

@keyframes live-type {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5cqw); }
}

.hero-photo .live-word {
  font-size: 24.2cqw;
  color: #176b63;
}

.live-line {
  position: absolute;
  bottom: 4.4%;
  left: 5%;
  z-index: 2;
  margin: 0;
  color: #174941;
  font-weight: 750;
  font-size: clamp(11px, 2.1cqw, 15px);
  line-height: 1.2;
}

.hero-photo .film-control {
  z-index: 3;
  bottom: 4%;
  right: 4%;
  width: clamp(30px, 6.5cqw, 40px);
}

.hero-photo .film-control svg {
  width: 18px;
  height: 18px;
}

.grain-surface {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.grain-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/assets/grain/noise-1.png') 0 0 / 96px 96px;
  mix-blend-mode: soft-light;
  opacity: .22;
  pointer-events: none;
}

.service-item.grain-surface:not([open])::before {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .grain-surface.grain-in-view::before {
    animation: surface-grain .4s steps(1, end) infinite;
  }

  .hero:has(.film-control[data-user-paused])::before {
    animation-play-state: paused;
  }

  @keyframes surface-grain {
    0%, 100% { background-image: url('/assets/grain/noise-1.png'); }
    12.5% { background-image: url('/assets/grain/noise-2.png'); }
    25% { background-image: url('/assets/grain/noise-3.png'); }
    37.5% { background-image: url('/assets/grain/noise-4.png'); }
    50% { background-image: url('/assets/grain/noise-5.png'); }
    62.5% { background-image: url('/assets/grain/noise-6.png'); }
    75% { background-image: url('/assets/grain/noise-7.png'); }
    87.5% { background-image: url('/assets/grain/noise-8.png'); }
  }
}

.service-directory {
  --service-gutter: clamp(15px, 3.2vw, 54px);
  --service-index-width: clamp(32px, 5vw, 70px);
  --service-gap: clamp(8px, 2vw, 28px);
  border: 1px solid #c8e0db;
  border-radius: 21px 56px 21px 21px;
  overflow: hidden;
  background: #eef7f4;
}

.service-directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(20px, 3vw, 38px) var(--service-gutter);
  color: #fff;
  background: var(--dark-surface);
}

.service-directory-head h3 {
  margin: 0;
  font: 800 clamp(34px, 5vw, 70px)/.92 Condensed, 'Arial Narrow', Arial, sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.service-directory-head > span {
  flex-shrink: 0;
  color: #b9dfd8;
  font-size: clamp(10px, 1.1vw, 14px);
  font-variant-numeric: tabular-nums;
  letter-spacing: .07em;
}

.service-directory .service-list {
  display: block;
}

.service-directory .service-item {
  border-top: 1px solid #c8e0db;
}

.service-directory .service-item summary {
  display: grid;
  grid-template-columns: var(--service-index-width) minmax(0, 1fr) auto;
  min-height: clamp(68px, 7.2vw, 105px);
  gap: var(--service-gap);
  padding: 12px var(--service-gutter);
  color: var(--ink);
  transition: background-color .2s;
}

.service-directory summary:focus-visible {
  outline: 2px solid var(--deep-teal);
  outline-offset: -4px;
}

.service-directory .service-name {
  font-size: clamp(17px, 2.15vw, 32px);
  font-weight: 740;
  letter-spacing: -.05em;
  line-height: 1.1;
}

.service-index-num {
  display: grid;
  grid-auto-rows: 1em;
  height: 1em;
  overflow: hidden;
  font: 750 clamp(20px, 3vw, 42px)/1 Condensed, 'Arial Narrow', Arial, sans-serif;
  color: var(--deep-teal);
}

.service-index-num > span {
  transition: transform .32s cubic-bezier(.21, .75, .3, 1);
}

.service-directory summary .plus {
  width: clamp(30px, 4.2vw, 56px);
  height: clamp(30px, 4.2vw, 56px);
  border: 1px solid #b3d1c9;
  border-radius: 9px;
  background: #fff8;
  transition: background-color .2s, border-color .2s;
}

.service-directory summary .plus::before,
.service-directory summary .plus::after {
  top: calc(50% - .5px);
  left: calc(50% - 7px);
  width: 14px;
}

.service-directory .service-item[open] {
  background: var(--dark-surface);
  color: #fff;
}

.service-directory .service-item[open] summary { color: #fff; }
.service-directory .service-item[open] .service-index-num { color: #8fd4c7; }
.service-directory .service-item[open] summary .plus { color: var(--ink); background: var(--teal); border-color: var(--teal); }
.service-directory .service-item[open] summary:focus-visible { outline-color: var(--teal); }

.service-directory .service-body {
  max-width: 84ch;
  padding: 0 var(--service-gutter) 25px calc(var(--service-gutter) + var(--service-index-width) + var(--service-gap));
  color: #e0f3ef;
  font-size: clamp(13px, 1.2vw, 16px);
}

.service-directory .service-body > :last-child { margin-bottom: 0; }
.service-directory .service-body a { text-decoration: underline; text-underline-offset: .2em; }

@media (hover: hover) {
  .service-directory .service-item:not([open]) summary:hover { background: #d9eee8; }
  .service-directory .service-item:not([open]) summary:hover .plus { background: var(--teal); border-color: var(--teal); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-directory summary:hover .service-index-num > span { transform: translateY(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .service-directory summary, .service-directory summary .plus { transition: none; }
}

.clinic-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-block: 12px clamp(22px, 4vw, 44px);
}

.clinic-photo-pair figure {
  min-width: 0;
  margin: 0;
}

.clinic-photo-pair img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px 34px 14px 14px;
}

.clinic-photo-pair figcaption {
  margin-top: 9px;
  color: var(--ink);
  font-size: 13px;
}

.about-details {
  border: 1px solid #b5d6cf;
  border-radius: 18px;
  background: #dff1ed;
}

.about-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(15px, 2.7vw, 34px);
  min-height: 74px;
  border-radius: 17px;
  list-style: none;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(18px, 2.1vw, 27px);
  font-weight: 750;
  letter-spacing: -.035em;
}

.about-details summary::-webkit-details-marker { display: none; }
.about-details summary:hover { background: #d0eae4; }
.about-details summary:focus-visible { outline: 2px solid var(--deep-teal); outline-offset: -3px; }

.about-details-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border-radius: 99px;
  background: var(--teal);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.about-details-action svg { width: 19px; height: 19px; }
.about-details-hide,
.about-details[open] .about-details-show { display: none; }
.about-details[open] .about-details-hide { display: inline; }
.about-details[open] .about-details-action svg { transform: rotate(180deg); }

.about-details .about-story {
  margin-top: 0;
  padding: 8px clamp(15px, 2.7vw, 34px) 24px;
}

@media (max-width: 600px) {
  .clinic-photo-pair { grid-template-columns: 1fr; }
  .about-details summary { min-height: 66px; }
}

.prices-page {
  --price-header-height: 72px;
  --price-utility-height: 35px;
  --price-anchor-offset: calc(var(--price-header-height) + 16px);
  scroll-padding-top: var(--price-anchor-offset);
}

.prices-page .site-header {
  position: sticky;
  top: calc(-1 * var(--price-utility-height));
  box-shadow: 0 1px 0 var(--line);
}

.prices-page .header-main {
  height: var(--price-header-height);
}

.prices-page .mobile-nav {
  top: 100%;
}

.prices-page .price-sidebar {
  top: var(--price-anchor-offset);
}

.prices-page .price-sidebar a {
  font-size: 14px;
}

.prices-page .price-content {
  min-width: 0;
}

.prices-page .price-search {
  font-size: 16px;
  scroll-margin-top: 0;
}

.prices-page .search-wrap svg {
  top: 50%;
  transform: translateY(-50%);
}

.prices-page .price-section {
  scroll-margin-top: 0;
}

.price-sidebar a[hidden] {
  display: none;
}

.prices-page .price-section h2 {
  font-size: clamp(30px, 3.1vw, 45px);
  font-weight: 750;
}

.prices-page .price-intro,
.prices-page .price-extra p {
  font-size: clamp(14px, 1.25vw, 17px);
}

.prices-page .price-note,
.prices-page .price-caveats,
.prices-page .price-cta {
  font-size: 14px;
}

.prices-page .price-table {
  font-size: clamp(14px, 1.18vw, 17px);
  line-height: 1.5;
}

.prices-page .price-table th {
  font-size: clamp(10px, 1vw, 12px);
}

.prices-page .price-table td {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.prices-page .price-table td:nth-child(2) {
  font-size: clamp(15px, 1.3vw, 18px);
  font-variant-numeric: tabular-nums;
}

.prices-page .price-table td:last-child {
  font-size: clamp(12px, 1.08vw, 14px);
}

@media (min-width: 901px) {
  .prices-page .price-sidebar {
    max-height: calc(100dvh - var(--price-anchor-offset) - 16px);
    overflow-y: auto;
  }

  .prices-page .price-sidebar a:focus-visible {
    outline-offset: -3px;
  }
}

@media (max-width: 600px) {
  .prices-page {
    --price-header-height: 68px;
    --price-utility-height: 31px;
  }

  .prices-page .price-sidebar a {
    font-size: 12px;
  }

  .prices-page .price-table th,
  .prices-page .price-table td {
    padding-inline: 7px;
  }
}


.service-seo-copy p { margin: 0 0 1em; }
.service-seo-copy .service-price-table { margin-bottom: 1em; }
.service-price-table th:nth-child(2), .service-price-table td:nth-child(2) { white-space: nowrap; }
.service-related { display: flex; flex-wrap: wrap; gap: .6em 1em; margin: 1em 0; font-size: .8em; }
.service-related a, .price-service-link { text-decoration: underline; text-underline-offset: .18em; }
.service-related a:hover, .price-service-link:hover { text-decoration-thickness: .15em; }
.price-service-directory { margin-bottom: 24px; }
.price-service-directory h2 { font-size: clamp(19px, 2.3vw, 30px); }

.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.3rem;
  margin-top: 1.3rem;
  font-size: .8rem;
  scroll-margin-bottom: 5rem;
}

.footer-messengers a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.contact-socials {
  flex-wrap: wrap;
}

.footer-meta {
  display: grid;
  gap: .45rem;
  min-width: 0;
}

.footer-credit {
  color: #b8cbce;
  font-size: .75rem;
  line-height: 1.4;
}

.footer-credit a {
  color: #d9f0ee;
  text-decoration: underline;
  text-decoration-color: #75a5a7;
  text-underline-offset: .2em;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: white;
  text-decoration-color: currentColor;
}


.service-detail-with-facade {
  grid-template-columns: minmax(0, 1fr);
}

.service-detail-with-facade > .service-detail-description {
  width: 100%;
  max-width: 68ch;
  min-width: 0;
}

.service-facade {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: var(--dark-surface);
}

.service-facade-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
  padding: clamp(25px, 4.5vw, 72px);
  background: radial-gradient(ellipse at 100% 100%, #16464a 0%, transparent 70%);
}

.service-facade-copy .eyebrow {
  margin: 0;
  color: #b1e1dd;
}

.service-facade h2 {
  margin: .24em 0 .4em;
  font-family: Condensed, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(36px, 5vw, 84px);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.035em;
}

.service-facade-location {
  display: flex;
  gap: .65em;
  align-items: center;
  margin: 0;
  color: #e1efee;
  font-size: clamp(13px, 1.2vw, 18px);
}

.service-facade-location::before {
  width: 1.75em;
  height: 1px;
  background: var(--teal);
  content: '';
}

.service-facade-stage {
  position: relative;
  align-self: center;
  aspect-ratio: 3 / 2;
  background: #254d51;
}

.service-facade-stage .film-control {
  width: clamp(44px, 4vw, 54px);
}

.service-facade-stage .film-control:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .service-facade {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 18px;
  }

  .service-facade-copy {
    padding: clamp(20px, 5vw, 38px);
  }
}


@media (max-width: 600px) {
  .mobile-quick a {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding-inline: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .mobile-quick .quick-vk {
    background: #215bd0;
    color: #fff;
  }

  .mobile-quick .quick-max {
    background: #6435b8;
    color: #fff;
  }

  .mobile-quick a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -5px;
  }
}

.facade-assembly {
  --facade-cycle-duration: 5.1s;
  --facade-play-state: paused;
  background: #0d262d;
}

.facade-assembly[data-running] {
  --facade-play-state: running;
}

.facade-assembly > .facade-assembly-art {
  display: block;
  width: 100%;
  height: 100%;
}

.facade-assembly .facade-blueprint { opacity: .45; }
.facade-assembly .facade-scan { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .facade-assembly[data-animated] .facade-cycle {
    animation: clinic-facade-cycle var(--facade-cycle-duration) ease-in infinite var(--facade-play-state);
  }

  .facade-assembly[data-animated] .facade-blueprint path {
    animation: clinic-facade-trace var(--facade-cycle-duration) ease-out infinite var(--facade-play-state);
  }

  .facade-assembly[data-animated] .facade-structure > path {
    animation: clinic-facade-foundation var(--facade-cycle-duration) ease infinite var(--facade-play-state);
  }

  .facade-assembly[data-animated] .facade-left,
  .facade-assembly[data-animated] .facade-center,
  .facade-assembly[data-animated] .facade-right,
  .facade-assembly[data-animated] .facade-side,
  .facade-assembly[data-animated] .facade-marker {
    animation: var(--facade-piece-animation) var(--facade-cycle-duration) cubic-bezier(.22, .7, .22, 1) infinite var(--facade-play-state);
  }

  .facade-assembly .facade-left { --facade-piece-animation: clinic-facade-left; }
  .facade-assembly .facade-center { --facade-piece-animation: clinic-facade-center; }
  .facade-assembly .facade-right,
  .facade-assembly .facade-side { --facade-piece-animation: clinic-facade-right; }
  .facade-assembly .facade-marker { --facade-piece-animation: clinic-facade-address; }

  .facade-assembly[data-animated] .facade-scan { opacity: 1; }

  .facade-assembly[data-animated] .facade-scan rect {
    animation: clinic-facade-light var(--facade-cycle-duration) linear infinite var(--facade-play-state);
  }
}

/* The first 2.82s preserve the original scene, followed by a 2s hold and dissolve. */
@keyframes clinic-facade-cycle {
  0%, 94.51% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes clinic-facade-trace {
  0% { stroke-dasharray: 1; stroke-dashoffset: 1; }
  21.96%, 100% { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes clinic-facade-foundation {
  0%, 6.86% { opacity: 0; transform: translateY(46px); }
  26.86%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes clinic-facade-left {
  0%, 14.12% { opacity: 0; transform: translate(-180px, -65px); }
  38.63%, 100% { opacity: 1; transform: translate(0); }
}

@keyframes clinic-facade-center {
  0%, 17.06% { opacity: 0; transform: translateY(85px); }
  39.02%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes clinic-facade-right {
  0%, 19.61% { opacity: 0; transform: translate(180px, -85px); }
  44.12%, 100% { opacity: 1; transform: translate(0); }
}

@keyframes clinic-facade-address {
  0%, 42.35% { opacity: 0; transform: translateY(22px); }
  55.29%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes clinic-facade-light {
  0%, 51.96% { transform: translateX(-150px); }
  94.51%, 100% { transform: translateX(630px); }
}
