/* Both fonts are served locally. No third-party font requests. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/lora-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  /* Shared palette and typefaces: adjust these to restyle all three pages. */
  --paper: #e5ede7;
  --surface: #f6f7f0;
  --ink: #34463b;
  --muted: #506456;
  --accent: #3e5d4a;
  --accent-hover: var(--ink);
  --sage: var(--clay);
  --teal: var(--accent);
  --teal-surface: #d4e1d7;
  --teal-text: var(--muted);
  --clay: #dce6dd;
  --line: #c3d0c5;
  --font-body: 'Manrope', Arial, sans-serif;
  --font-heading: 'Lora', Georgia, serif;
  --radius: 0.5rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-space: clamp(3.5rem, 7vw, 6rem);
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 180ms ease, background-color 180ms ease;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: var(--surface);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

.container {
  width: min(100%, 1344px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: var(--gutter);
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-200%);
}

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

.skip-link:hover {
  color: var(--surface);
}

/* A wordmark and always-visible navigation, including on small screens. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 88px;
  padding-block: 1rem;
}

.brand {
  display: block;
  text-decoration: none;
  min-width: 0;
}

.brand__name {
  display: block;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.brand__description {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.045em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav a {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.7rem;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  text-decoration: underline;
}

/* The unmirrored portrait sits left of the copy, facing into the layout. */
.hero {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.hero__location {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.75rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero__portrait {
  position: relative;
  isolation: isolate;
}

/* A quiet wash sits behind the photograph's feathered edges. */
.hero__portrait::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -1.75rem;
  left: -2rem;
  width: calc(100% + 4rem);
  aspect-ratio: 600 / 540;
  background: url('/images/portrait-accent.svg?v=eucalyptus-1') center / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.hero__portrait img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: 43% center;
  border-radius: var(--radius);
  /* Only the outer edges fade; the face retains its original opacity. */
  mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 78%, transparent);
  mask-composite: intersect;
}

.hero__portrait figcaption {
  padding-block: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.hero__portrait figcaption span {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero__title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--teal);
}

.hero__welcome {
  max-width: 55ch;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero__welcome > p + p {
  margin-top: 0.75rem;
}

.hero__salutation {
  color: var(--ink);
  font-weight: 500;
}

.text-link {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.6rem;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__text > .text-link {
  margin-top: 1rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-block: 1.75rem;
}

.facts dt,
.contact-list dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.facts dd {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Content rhythm: open space and softly tinted sections. */
.section {
  padding-block: var(--section-space);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.section-title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.section-note {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 1.25rem;
}

.prose {
  font-size: 1.0625rem;
  color: var(--muted);
}

.prose > * + * {
  margin-top: 1.25rem;
}

.practice {
  background: var(--surface);
}

.practice__statement {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 65ch;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.therapy {
  background: var(--teal-surface);
}

.therapy > .container {
  position: relative;
}

.therapy > .container::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  right: var(--gutter);
  width: clamp(8rem, 17vw, 14rem);
  aspect-ratio: 220 / 100;
  background: url('/images/therapy-accent.svg?v=eucalyptus-1') center / contain no-repeat;
  pointer-events: none;
}

.therapy__title {
  padding-right: clamp(9rem, 20vw, 16rem);
  color: var(--teal);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.therapy__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: 2rem;
  color: var(--teal-text);
}

.therapy__body > p {
  margin: 0;
}

.billing {
  background: var(--surface);
}

.contact {
  background: var(--clay);
}

.contact__title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: 2.5rem;
}

.contact-list > div {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.contact-list > div:first-child {
  padding-top: 0;
  border: 0;
}

.contact-list dd {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-list a {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.25rem;
}

.contact-list .contact-list__address {
  max-width: 35ch;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
}

.site-footer {
  padding-block: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer__inner,
.site-footer__nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
}

.site-footer a {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.5rem;
}

/* Legal pages share the identity, with a narrower reading measure. */
.legal {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.legal .container {
  max-width: calc(65ch + 2 * var(--gutter));
}

.legal__back {
  display: inline-block;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--muted);
  padding-block: 0.5rem;
  margin-bottom: 3rem;
}

.legal__head {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.legal__title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  hyphens: auto;
}

.legal__body {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal__body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
  line-height: 1.3;
  hyphens: auto;
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body h3 {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal__body p,
.legal__body ul {
  margin-bottom: 1rem;
}

.legal__body ul {
  padding-left: 1.5rem;
}

.legal__body li + li {
  margin-top: 0.75rem;
}

.legal__body address {
  font-style: normal;
  color: var(--ink);
  background: var(--sage);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin-block: 1.5rem;
}

.legal__body address strong {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal__caps {
  padding: 1.5rem;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.9;
}

.legal__source {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 1rem;
  }

  /* Wrapped navigation must not cover the reading area when text is enlarged. */
  .site-header {
    position: static;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-block: 1rem 0.5rem;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .hero__portrait {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
    align-items: center;
    gap: 1.25rem;
  }

  .hero__portrait::before {
    top: -0.75rem;
    left: -0.75rem;
    width: calc((100% - 1.25rem) / 2 + 1.5rem);
    aspect-ratio: 1;
  }

  .hero__portrait img {
    aspect-ratio: 1;
  }

  .hero__portrait figcaption {
    padding: 0;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .two-col,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy > .container::before {
    display: block;
    position: static;
    width: 6rem;
    margin-bottom: 1rem;
  }

  .therapy__title {
    padding-right: 0;
  }
}

@media (max-width: 580px) {
  .hero {
    padding-top: 1.5rem;
  }

  .hero__portrait {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: 1rem;
  }

  .hero__portrait::before {
    width: calc((100% - 1rem) / 2 + 1.5rem);
  }

  .hero__portrait figcaption {
    font-size: 0.8125rem;
  }

  .hero__portrait figcaption span {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
  }

  .facts {
    margin-top: 2.5rem;
    gap: 1.5rem 1rem;
  }

  .therapy__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__grid {
    margin-top: 2rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}
