.g-skip { position: absolute; z-index: 30; left: 10px; top: -6rem; padding: .75rem 1rem; background: white; color: var(--forest); }
.g-skip:focus { top: 6px; }
.g-header {
  --menu-highlight-fill: color-mix(in srgb, var(--forest) 88%, transparent);
  --menu-highlight-rim: rgb(180 199 183 / .44);
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.g-desktop { position: relative; gap: 12px; }
.g-desktop a, .g-mobile .g-contact, .g-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--cream);
  font: 700 .94rem/1.2 var(--font-body);
  white-space: nowrap;
}
.g-desktop a { padding: 10px 13px; }
.g-header nav a:hover, .g-header .g-contact { text-decoration: none; }
.g-mobile .g-contact { column-gap: .25em; }
.g-desktop a:is([aria-current], .section-active, :hover),
.g-mobile:not(:has(.g-menu[open])) .g-contact[aria-current],
.g-mobile .g-contact:active {
  background: var(--menu-highlight-fill);
  border-color: var(--menu-highlight-rim);
}
@media (hover: hover) and (pointer: fine) {
  .g-mobile:not(:has(.g-menu[open])) .g-contact:hover {
    background: var(--menu-highlight-fill);
    border-color: var(--menu-highlight-rim);
  }
  .g-menu summary:hover { color: var(--gold); }
}
.g-desktop.has-menu-highlight::before {
  content: "";
  position: absolute;
  inset: var(--menu-highlight-inset, 0px) auto var(--menu-highlight-inset, 0px) 0;
  width: var(--menu-highlight-width);
  transform: translateX(calc(var(--menu-highlight-center) - 50%));
  border: 1px solid var(--menu-highlight-rim);
  border-radius: 999px;
  background: var(--menu-highlight-fill);
  pointer-events: none;
}
.g-desktop.has-menu-highlight a { position: relative; }
.g-desktop.has-menu-highlight a:is([aria-current], .section-active, :hover) {
  background: transparent;
  border-color: transparent;
}
@media (prefers-contrast: more) {
  .g-header { --menu-highlight-rim: #cee0d2; }
}
.g-mobile { display: none; }
.g-footer-email { display: inline-block; margin-block: .4rem; font-size: .82rem; overflow-wrap: anywhere; }
.g-header .header-inner:has(.g-brand) { justify-content: space-between; }
.g-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  color: var(--cream);
  font: 400 clamp(.88rem, 1.3vw, 1rem)/1.15 var(--font-heading);
  text-decoration: none;
  pointer-events: auto;
}
.g-brand-mark {
  display: inline-block;
  flex: none;
  width: 1.8rem;
  aspect-ratio: 670 / 586;
  background: url("assets/aspen-grove-mark.webp?v=2acd75fecad4") center top / 100% 100% no-repeat;
}
.g-brand:focus-visible { color: var(--gold); }
.g-brand:focus-visible .g-brand-mark { filter: var(--grove-mark-glow); }
@media (hover: hover) and (pointer: fine) {
  .g-brand:hover { color: var(--gold); }
  .g-brand:hover .g-brand-mark { filter: var(--grove-mark-glow); }
  @media (prefers-reduced-motion: no-preference) {
    .g-brand .g-brand-mark { transition: filter 180ms ease-out; }
  }
}
.home-page .g-brand-mark {
  /* Reuse the full logo already loaded by the home hero. */
  background-image: url("assets/logo-on-forest.webp");
  background-size: 301% auto;
}
.g-footer .footer-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .6rem;
}
.g-footer .footer-brand { font-weight: 650; }
.g-footer .g-footer-email { margin-block: .25rem 0; }
.g-footer nav a { min-height: 32px; display: inline-flex; align-items: center; white-space: nowrap; }
.g-footer nav a:is([aria-current], :hover, :focus-visible, :active) { color: var(--gold); text-decoration-thickness: 2px; }
.home-page:has(#therapists :target, #therapists:target) .g-footer a[href="#therapists"],
.home-page:has(#services :target, #services:target) .g-footer a[href="#services"] { color: var(--gold); text-decoration-thickness: 2px; }
@media (min-width: 741px) {
  .g-footer .footer-content {
    grid-template-columns: minmax(17.5rem, 1fr) minmax(0, max-content) minmax(max-content, 1fr);
    align-items: center;
  }
  .g-footer nav { justify-content: center; }
  .g-footer .footer-location { justify-self: end; }
}
@media (max-width: 740px) {
  .g-brand { gap: .4rem; }
  .g-brand .g-brand-mark { width: 1.5rem; }
  .g-footer .g-footer-email { min-height: 44px; align-content: center; }
  .g-footer nav a { min-height: 44px; }
}
@media (max-width: 460px) {
  .g-contact-directions { display: none; }
}
.g-read { display: flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--forest); border-top: 1px solid var(--line); font-weight: 650; }
article.profile-card {
  --card-active: 0;
  --card-lift: calc(-4px * var(--card-active));
  --card-tint: color-mix(in srgb, var(--card), var(--forest-surface) 80%);
  position: relative;
  translate: 0 var(--card-lift);
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: var(--card-highlight-inset, 0);
  z-index: -1;
  border-radius: var(--profile-card-radius, 6px);
  background: var(--card-tint);
  box-shadow: 0 10px 24px rgb(var(--grove-rgb) / .17);
  opacity: var(--card-active);
  pointer-events: none;
}
.profile-card:is(.colleague, .people-colleague) { --card-highlight-inset: -2px -10px; }
.profile-card:has(.profile-card-link:focus-visible) { --card-active: 1; }
.profile-card-link { text-decoration-thickness: 1px; }
.profile-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--profile-card-radius, 4px);
  /* Keep the profile link's hit area stationary while the card lifts. */
  translate: 0 calc(-1 * var(--card-lift));
}
.profile-card-link:focus-visible::after { outline: 2px solid #886138; outline-offset: 3px; }
.profile-card a:not(.profile-card-link) { position: relative; z-index: 1; }
.profile-portrait { position: relative; overflow: hidden; }
.profile-portrait-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: inherit;
  transform: scale(calc(1 + .05 * var(--card-active)));
}
@media screen {
  .aspen-photo-reveal :is(.profile-portrait img, .therapist-photo img, .svc-card img, .story-photo img, img.office-entrance):not(.aspen-photo-ready) {
    opacity: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .profile-card:has(.profile-card-link:hover) { --card-active: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .profile-card { transition: translate 190ms ease; }
  .profile-card::before { transition: opacity 190ms ease; }
  .profile-card-link::after { transition: translate 190ms ease; }
  .profile-portrait-image { transition: transform 260ms ease-out; }
  .aspen-photo-reveal :is(.profile-portrait img, .therapist-photo img, .svc-card img, .story-photo img, img.office-entrance) {
    transition: opacity 240ms ease-out;
  }
  .aspen-photo-reveal img.profile-portrait-image {
    transition: transform 260ms ease-out, opacity 240ms ease-out;
  }
}
.services {
  --services-green: var(--grove-tone);
  --service-gap: clamp(14px, 2vw, 28px);
  --service-icon-color: #edbd85;
  position: relative;
  isolation: isolate;
  padding-block: clamp(40px, 6vw, 84px);
  border-bottom: 1px solid rgb(241 221 176 / .22);
  background: var(--services-green);
  color: var(--cream);
  text-align: center;
}
.services::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 100%;
  background: linear-gradient(180deg, rgb(var(--grove-rgb) / .84), rgb(var(--grove-rgb) / .78) 45%, var(--services-green) 100%);
}
.services h2 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  letter-spacing: -.05em;
  line-height: 1.04;
  text-wrap: balance;
}
.services-copy { max-width: 51ch; margin: .85rem auto 0; color: #f1ead9; line-height: 1.65; }
.services details {
  max-width: 62ch;
  margin: clamp(26px, 4vw, 45px) auto 0;
  padding-block-start: .5rem;
  border-top: 1px solid rgb(241 221 176 / .3);
  text-align: left;
}
.services details:not([open]) { text-align: center; }
.services details:not([open]) summary { margin-inline: auto; }
.services details p { margin-top: .9em; }
.services summary {
  width: fit-content;
  min-height: 44px;
  padding-block: .65rem;
  color: var(--cream);
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
}
.services a:focus-visible, .services summary:focus-visible { outline-color: var(--gold); }
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 3vw, 38px) var(--service-gap);
  max-width: 1040px;
  margin: clamp(1.65rem, 4vw, 3.6rem) auto 0;
  padding: 0;
  list-style: none;
}
.service-list li { flex: 0 0 calc((100% - 3 * var(--service-gap)) / 4); min-width: 0; }
.service-list a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .75rem;
  min-height: 100%;
  padding: .85rem .3rem 1rem;
  border-radius: 6px;
  text-decoration: none;
}
.service-icon {
  width: clamp(56px, 7.2vw, 94px);
  height: auto;
  fill: none;
  color: var(--service-icon-color);
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-label { font: 400 clamp(1.12rem, 2.15vw, 1.55rem)/1.17 var(--font-heading); text-wrap: balance; }
.service-list a:is(:hover, :focus-visible) .service-label { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-icon { transition: transform 210ms ease-out; }
  .service-list a:hover .service-icon { transform: translateY(-3px); }
}
@media (max-width: 820px) {
  .g-header .g-desktop { display: none; }
  .g-header .header-inner { gap: 8px; padding-block: 5px; }
  .g-mobile { display: flex; align-items: center; gap: 8px; }
  .g-mobile .g-contact, .g-menu summary {
    padding-inline: clamp(8px, 2.4vw, 12px);
    font-size: clamp(.875rem, 3.85vw, .94rem);
  }
  .g-menu { position: relative; }
  .g-menu summary {
    border-radius: 4px;
    list-style: none;
    cursor: pointer;
    gap: 7px;
    -webkit-tap-highlight-color: transparent;
  }
  .g-menu summary::-webkit-details-marker { display: none; }
  .g-menu summary span { position: relative; flex: none; width: 14px; height: 14px; }
  .g-menu summary span::before, .g-menu summary span::after {
    content: "";
    position: absolute;
    inset: 6px 0 auto;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
  }
  .g-menu summary span::before { transform: translateY(-3px); }
  .g-menu summary span::after { transform: translateY(3px); }
  .g-menu[open] summary span::before { transform: rotate(45deg); }
  .g-menu[open] summary span::after { transform: rotate(-45deg); }
  .g-menu[open] summary { color: var(--gold); }
  .g-header :is(.g-contact, .g-menu summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .g-menu nav {
    position: absolute;
    z-index: 6;
    inset: calc(100% + 4px) 0 auto auto;
    display: grid;
    align-items: stretch;
    gap: 0;
    width: min(12.25rem, calc(100vw - 36px));
    max-height: calc(100dvh - 72px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 4px;
    border: 1px solid rgb(251 248 234 / .32);
    border-radius: 8px;
    background: #344a37;
    box-shadow: 0 6px 16px rgb(20 29 20 / .23);
    color: var(--cream);
  }
  .g-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 13px;
    border-radius: 4px;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.26;
  }
  .g-menu nav a:is([aria-current], .section-active) { color: var(--gold); font-weight: 650; }
  .g-menu nav a:is(:hover, :focus-visible) { background: rgb(251 248 234 / .10); }
  .g-menu nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
}
@media (max-width: 740px) {
  .service-list li { flex-basis: calc((100% - var(--service-gap)) / 2); }
  .g-footer-email { padding-block: .4rem; }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .g-menu summary span::before, .g-menu summary span::after { transition: transform 150ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
