:root {
  --rust: #b05336;
  --orange: #dc7f3f;
  --gold: #e19f50;
  --tan: #c69d69;
  --teal: #3d7c88;
  --teal-light: #56adb5;
  --teal-deep: #255663;
  --canopy: linear-gradient(90deg, var(--rust) 0%, var(--orange) 22%, var(--gold) 42%, var(--tan) 56%, var(--teal-light) 74%, var(--teal) 86%, var(--teal-deep) 100%);

  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-2: #f3ece2;
  --ink: #1f2d31;
  --ink-2: #5e5850;
  --line: #e5dccf;
  --link: #2f6b76;
  --btn-bg: #3d7c88;
  --btn-ink: #ffffff;
  --btn-hover: #2f6672;
  --mark-name: #3d7c88;
  --mark-sub: #b38652;
  --tint-rust: #a14a2e;
  --tint-gold: #93601f;
  --tint-teal: #2f6b76;
  --tint-deep: #255663;
  --danger: #b3261e;
  --focus: #2f6b76;
  --shadow: 0 1px 2px rgba(31, 45, 49, 0.05), 0 8px 24px rgba(31, 45, 49, 0.06);

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10262b;
    --surface: #153138;
    --surface-2: #1b3b42;
    --ink: #f4efe7;
    --ink-2: #b8b1a6;
    --line: #29484f;
    --link: #7cc6cc;
    --btn-bg: #e19f50;
    --btn-ink: #10262b;
    --btn-hover: #ecb36e;
    --mark-name: #6cc0c7;
    --mark-sub: #d9b07c;
    --tint-rust: #ef8c66;
    --tint-gold: #f0b468;
    --tint-teal: #6cc0c7;
    --tint-deep: #94d3d8;
    --danger: #ff8a80;
    --focus: #7cc6cc;
    --shadow: none;
  }
}

:root[data-theme="dark"] {
  --bg: #10262b;
  --surface: #153138;
  --surface-2: #1b3b42;
  --ink: #f4efe7;
  --ink-2: #b8b1a6;
  --line: #29484f;
  --link: #7cc6cc;
  --btn-bg: #e19f50;
  --btn-ink: #10262b;
  --btn-hover: #ecb36e;
  --mark-name: #6cc0c7;
  --mark-sub: #d9b07c;
  --tint-rust: #ef8c66;
  --tint-gold: #f0b468;
  --tint-teal: #6cc0c7;
  --tint-deep: #94d3d8;
  --danger: #ff8a80;
  --focus: #7cc6cc;
  --shadow: none;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  max-width: 22ch;
}

h3 {
  font-size: 1.12rem;
  font-weight: 600;
}

p,
ul {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}

.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--canopy);
  opacity: 0.85;
}

.topbar-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-display);
  white-space: nowrap;
}

.wordmark-name {
  color: var(--mark-name);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.wordmark-sub {
  color: var(--mark-sub);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav a:hover {
  color: var(--ink);
}

.topbar-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface-2);
}

.theme button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}

.theme button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.theme button[data-theme-choice="dark"] svg {
  fill: currentColor;
  stroke: none;
}

.theme button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(31, 45, 49, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 0.98rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.btn-primary:hover {
  background: var(--btn-hover);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink-2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font: 600 0.78rem/1 var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-right: 20px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 10px 0 0 var(--gold), 20px 0 0 var(--teal);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 52ch;
}

section {
  padding: 96px 0;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  margin-bottom: 22px;
  max-width: 17ch;
}

.hero-copy .lede {
  margin-bottom: 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.accepting {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--tint-teal);
  font-weight: 600;
  font-size: 0.95rem;
}

.accepting-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-light) 28%, transparent);
}

.hero-art {
  display: grid;
  place-items: center;
}

.hero-art img {
  width: min(100%, 440px);
  height: auto;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.service {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 26px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

.service::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-bottom: 10px;
}

.service p {
  color: var(--ink-2);
}

.service-rust::before {
  background: linear-gradient(90deg, var(--rust), var(--orange));
}

.service-gold::before {
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.service-teal::before {
  background: linear-gradient(90deg, var(--teal-light), var(--teal));
}

.service-deep::before {
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
}

.service-rust .service-icon {
  color: var(--tint-rust);
  background: color-mix(in srgb, var(--rust) 13%, transparent);
}

.service-gold .service-icon {
  color: var(--tint-gold);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.service-teal .service-icon {
  color: var(--tint-teal);
  background: color-mix(in srgb, var(--teal-light) 16%, transparent);
}

.service-deep .service-icon {
  color: var(--tint-deep);
  background: color-mix(in srgb, var(--teal-deep) 14%, transparent);
}

.service-rust h3 {
  color: var(--tint-rust);
}

.service-gold h3 {
  color: var(--tint-gold);
}

.service-teal h3 {
  color: var(--tint-teal);
}

.service-deep h3 {
  color: var(--tint-deep);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px 64px;
  align-items: start;
}

.therapies {
  margin-top: 36px;
}

.therapies h3 {
  margin-bottom: 14px;
}

.therapy-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.therapy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
}

.therapy-list li::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.therapy-list li:nth-child(1)::before {
  background: var(--rust);
}

.therapy-list li:nth-child(2)::before {
  background: var(--gold);
}

.therapy-list li:nth-child(3)::before {
  background: var(--teal-light);
}

.values {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.values li {
  position: relative;
  padding: 22px 24px 22px 60px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.values li::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 27px;
  width: 14px;
  height: 14px;
  border-radius: 50% 0 50% 0;
  transform: rotate(-45deg);
}

.values li:nth-child(1)::before {
  background: var(--orange);
}

.values li:nth-child(2)::before {
  background: var(--gold);
}

.values li:nth-child(3)::before {
  background: var(--teal-light);
}

.values h3 {
  margin-bottom: 6px;
}

.values p {
  color: var(--ink-2);
}

.rates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 44px;
  align-items: start;
}

.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

.price h3 {
  color: var(--ink-2);
  font-size: 1rem;
}

.price-amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  font: 700 2.6rem/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price-amount span {
  font: 500 0.95rem/1.2 var(--font-body);
  letter-spacing: 0;
  color: var(--ink-2);
}

.prices-title {
  grid-column: 1 / -1;
  margin: 6px 0 -4px;
}

.insurance {
  padding: 26px 28px 26px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.plans {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.plans li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.plans li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.superbill {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.superbill h3 {
  margin-bottom: 6px;
}

.superbill p {
  color: var(--ink-2);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 16px;
}

.crisis {
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--rust) 9%, transparent);
}

.crisis h3 {
  color: var(--tint-rust);
  font-size: 1rem;
  margin-bottom: 6px;
}

.crisis p {
  color: var(--ink-2);
  font-size: 1rem;
}

.crisis a {
  color: var(--ink);
  font-weight: 600;
}

.contact-form,
.sent {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form[hidden],
.sent[hidden] {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.98rem;
}

.optional {
  font-weight: 400;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.field input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
}

.field-people input {
  max-width: 120px;
}

.field input:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent);
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: var(--danger);
  font-weight: 500;
}

.contact-form .btn {
  justify-self: start;
}

.sent h3 {
  margin-bottom: 8px;
}

.sent p {
  color: var(--ink-2);
}

.footer {
  padding: 48px 0 32px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.98rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-base {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.88rem;
}

.footer-theme {
  display: none;
}

@media (max-width: 1080px) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .contact,
  .approach,
  .rates {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    order: -1;
    justify-self: start;
  }

  .hero-art img {
    width: 170px;
  }

  .hero-grid,
  .contact {
    gap: 32px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar-row {
    gap: 12px;
  }

  .topbar-end .theme {
    display: none;
  }

  .footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-theme {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .wrap {
    padding: 0 16px;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .topbar-cta {
    display: none;
  }

  .services,
  .prices,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form,
  .sent {
    padding: 22px 18px;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
