*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ach-color-ink);
  background: var(--ach-color-canvas);
  font-family: var(--ach-font-body);
  font-size: var(--ach-size-300);
  line-height: var(--ach-leading-body);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ach-color-brand-link);
}

a:hover {
  color: var(--ach-color-brand-strong);
}

:focus-visible {
  outline: 2px solid var(--ach-color-focus);
  outline-offset: 3px;
}

.ach-visually-hidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.ach-skip {
  position: absolute;
  left: var(--ach-space-4);
  top: 0;
  transform: translateY(-120%);
  background: var(--ach-color-inverse);
  color: var(--ach-color-ink);
  padding: var(--ach-space-2) var(--ach-space-4);
  z-index: 10;
}

.ach-skip:focus {
  transform: none;
}

.ach-container {
  width: min(100% - (var(--ach-gutter) * 2), var(--ach-content-width));
  margin-inline: auto;
}

main,
.ach-header,
.ach-footer,
.ach-section,
.ach-container,
.ach-header-inner {
  min-width: 0;
  max-width: 100%;
}

.ach-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--ach-color-canvas) 94%, white);
  border-bottom: 1px solid var(--ach-color-line);
}

.ach-header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--ach-space-3);
  min-height: 72px;
  padding-block: var(--ach-space-3);
}

.ach-logo {
  display: block;
  width: auto;
  max-width: 9.5rem;
  height: auto;
}

.ach-nav-book {
  display: none;
}

.ach-header-actions {
  display: flex;
  align-items: center;
  gap: var(--ach-space-2);
  margin-left: auto;
}

.ach-cart-button,
.ach-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--ach-color-line);
  border-radius: 2px;
  background: transparent;
  color: var(--ach-color-ink);
}

.ach-cart-button svg,
.ach-icon-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ach-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #171717;
  color: #f7f4ef;
  font-family: var(--ach-font-ui);
  font-size: 0.7rem;
  line-height: 1.15rem;
  text-align: center;
}

.ach-cart-count[hidden] {
  display: none;
}

.ach-has-shop-menu {
  position: relative;
}

.ach-shop-menu {
  display: none;
  position: absolute;
  z-index: 6;
  top: 100%;
  left: 0;
  min-width: 14rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--ach-color-line);
}

.ach-has-shop-menu:hover .ach-shop-menu,
.ach-has-shop-menu:focus-within .ach-shop-menu,
.ach-nav.is-open .ach-shop-menu {
  display: grid;
  gap: 0.35rem;
}

.ach-nav.is-open .ach-shop-menu {
  position: static;
  border: 0;
  padding: 0.4rem 0 0.4rem 0.75rem;
}

.ach-shop-menu a {
  color: var(--ach-color-ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.ach-brand {
  margin: 0;
  font-family: var(--ach-font-display);
  font-size: var(--ach-size-600);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ach-brand a {
  color: var(--ach-color-nav);
  text-decoration: none;
}

.ach-nav-toggle,
.ach-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ach-space-2);
  min-width: var(--ach-touch-min);
  min-height: var(--ach-touch-min);
  padding: 0 var(--ach-space-3);
  border: 1px solid var(--ach-color-brand);
  border-radius: var(--ach-radius-pill);
  background: var(--ach-color-inverse);
  color: var(--ach-color-nav);
  font-family: var(--ach-font-ui);
  font-size: var(--ach-size-100);
}

.ach-nav-close {
  display: none;
  margin-bottom: var(--ach-space-3);
}

.ach-button-small {
  min-height: var(--ach-touch-min);
  padding-inline: var(--ach-space-4);
  font-size: var(--ach-size-200);
}

.ach-nav-toggle-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ach-color-nav);
}

.ach-nav-toggle-lines::before,
.ach-nav-toggle-lines::after {
  position: absolute;
  left: 0;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ach-color-nav);
  content: "";
}

.ach-nav-toggle-lines::before { top: -6px; }
.ach-nav-toggle-lines::after { top: 6px; }

.ach-nav {
  display: none;
}

.ach-nav.is-open {
  display: block;
  flex: 1 0 100%;
  background: var(--ach-color-inverse);
  padding: var(--ach-space-4);
  border-radius: var(--ach-radius-control);
}

.ach-nav.is-open .ach-nav-close {
  display: inline-flex;
}

.ach-menu,
.ach-footer-menu {
  display: flex;
  flex-direction: column;
  gap: var(--ach-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ach-menu a,
.ach-footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ach-touch-min);
  color: var(--ach-color-nav);
  font-family: var(--ach-font-ui);
  font-size: var(--ach-size-100);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.ach-menu a:hover,
.ach-menu a:focus-visible {
  color: var(--ach-color-brand-strong);
}

.ach-menu a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 currentColor;
}

.ach-page-header {
  padding: var(--ach-space-7) 0 var(--ach-space-5);
  background: var(--ach-color-surface-mist);
}

.ach-page-header h1,
.ach-prose h1 {
  margin: 0;
  font-family: var(--ach-font-display);
  font-size: var(--ach-size-800);
  line-height: var(--ach-leading-tight);
  font-weight: 400;
}

.ach-prose {
  padding: var(--ach-space-6) 0 var(--ach-space-8);
}

.ach-prose h2 {
  font-family: var(--ach-font-display);
  font-size: var(--ach-size-600);
  line-height: var(--ach-leading-tight);
  font-weight: 400;
}

.ach-facts {
  display: grid;
  gap: var(--ach-space-4);
  margin: var(--ach-space-6) 0;
}

.ach-facts div {
  padding-bottom: var(--ach-space-3);
  border-bottom: 1px solid var(--ach-color-line);
}

.ach-facts dt {
  font-family: var(--ach-font-ui);
  font-size: var(--ach-size-100);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ach-color-muted);
}

.ach-facts dd {
  margin: var(--ach-space-2) 0 0;
}

.ach-header .ach-nav-book {
  display: none;
}

.ach-visit-photo,
.ach-clinic-portrait,
.ach-clinic-pair img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.ach-visit-photo {
  aspect-ratio: 3 / 2;
  margin-top: 1rem;
}

.ach-clinic-portrait {
  aspect-ratio: 4 / 5;
  max-width: 28rem;
}

.ach-clinic-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.ach-clinic-pair img {
  aspect-ratio: 4 / 5;
}

@media (max-width: 700px) {
  .ach-clinic-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ach-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ach-touch-min);
  padding: 0 var(--ach-space-5);
  border: 1px solid var(--ach-color-brand);
  border-radius: var(--ach-radius-pill);
  background: var(--ach-color-brand);
  color: var(--ach-color-inverse);
  font-family: var(--ach-font-body);
  font-size: var(--ach-size-400);
  text-decoration: none;
}

.ach-button:hover {
  background: var(--ach-color-nav);
  border-color: var(--ach-color-nav);
  color: var(--ach-color-inverse);
}

.ach-button-secondary {
  background: transparent;
  color: var(--ach-color-brand);
}

.ach-footer {
  padding: var(--ach-space-7) 0 var(--ach-space-5);
  background: var(--ach-color-footer);
  color: var(--ach-color-footer-text);
}

.ach-footer a {
  color: var(--ach-color-footer-text);
}

.ach-footer a:hover {
  color: var(--ach-color-surface);
}

.ach-copyright {
  margin: var(--ach-space-5) 0 0;
  color: var(--ach-color-surface);
  font-size: var(--ach-size-200);
}

label {
  display: block;
  margin-bottom: var(--ach-space-2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: var(--ach-control-height);
  padding: var(--ach-space-2) var(--ach-space-3);
  border: 1px solid var(--ach-color-line-strong);
  border-radius: var(--ach-radius-control);
  background: var(--ach-color-inverse);
  color: var(--ach-color-ink);
  font: inherit;
}

textarea {
  min-height: 8rem;
}

button,
input[type="submit"] {
  min-height: var(--ach-touch-min);
  border-radius: var(--ach-radius-pill);
  font: inherit;
}

@media (max-width: 767px) {
  .ach-header-inner {
    min-height: 64px;
    padding-block: 0.55rem;
  }

  .ach-logo {
    max-width: 8.25rem;
  }
}

@media (max-width: 991px) {
  .ach-header-book {
    display: none;
  }

  .ach-nav.is-open .ach-nav-book {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    min-height: 44px;
    margin: 0 0 0.75rem;
    white-space: normal;
    text-align: center;
  }

  .ach-header-inner:has(.ach-nav.is-open) {
    flex-wrap: wrap;
  }

  .ach-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    order: 4;
  }

  .ach-nav.is-open .ach-nav-close {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.75rem;
  }

  .ach-nav-toggle-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
}

@media (min-width: 992px) {
  .ach-logo {
    max-width: 11.5rem;
  }

  .ach-header-inner {
    flex-wrap: nowrap;
    gap: 1.5rem;
    min-height: 84px;
  }

  .ach-nav-toggle {
    display: none;
  }

  .ach-nav,
  .ach-nav.is-open {
    display: flex;
    justify-content: center;
    flex: 1 1 auto;
    order: 2;
    padding: 0;
    background: transparent;
  }

  .ach-header-actions {
    order: 3;
    margin-left: 0;
  }

  .ach-nav-close,
  .ach-nav.is-open .ach-nav-close {
    display: none;
  }

  .ach-menu,
  .ach-footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 1.35rem;
  }
}

.ach-about-consultation {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}
