:root {
  --bg: #f7f3ee;
  --surface: rgba(255, 255, 255, .78);
  --surface-strong: rgba(255, 255, 255, .92);
  --text: #514940;
  --heading: #7b6547;
  --ink: #1f2f2c;
  --gold: #b69a70;
  --gold-dark: #8f7147;
  --sage: #7f9584;
  --teal: #587d80;
  --clay: #b77c68;
  --line: rgba(92, 76, 55, .16);
  --blue: #d9e8ec;
  --sand: #eadfce;
  --shadow: 0 18px 52px rgba(54, 47, 38, 0.09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    linear-gradient(120deg, rgba(217, 232, 236, .46), transparent 32%),
    linear-gradient(260deg, rgba(127, 149, 132, .18), transparent 30%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.topbar {
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .58);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(247, 243, 238, .88);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  width: 160px;
  height: auto;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: rgba(88, 125, 128, .58);
  transition: width .24s ease;
}

.site-nav a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  margin: 5px auto;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #c3a980, #a9875a);
  color: white;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(137, 106, 63, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(137, 106, 63, .30);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
}

.btn-ghost {
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
  border: 1px solid rgba(88, 125, 128, .32);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--teal);
  font-weight: 700;
  border-bottom: 1px solid rgba(88, 125, 128, .38);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 243, 238, .96), rgba(247, 243, 238, .74)),
    url('assets/hero-bg.svg') center/cover no-repeat;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-watermark {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 320px;
  height: 320px;
  background: url('assets/logo.png') center/contain no-repeat;
  opacity: .05;
  pointer-events: none;
}

.hero-grid,
.split-grid,
.why-grid,
.contact-grid {
  display: grid;
  gap: 36px;
}

.hero-grid {
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}

.split-grid {
  grid-template-columns: .9fr 1.1fr;
}

.why-grid {
  grid-template-columns: .88fr 1.12fr;
  align-items: start;
}

.contact-grid {
  grid-template-columns: 1fr 360px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--heading);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 5.8vw, 5.15rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

h3 {
  font-size: 1.95rem;
}

p {
  margin-top: 0;
}

.lead {
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-badges span,
.service-label {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 13px;
  background: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.hero-card,
.service-card,
.mini-card,
.testimonial-card,
.cta-box,
.contact-card,
.therapist-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
  backdrop-filter: blur(10px);
}

.hero-logo-main {
  width: 100%;
  border-radius: var(--radius);
}

.hero-card-copy {
  padding: 18px 6px 6px;
}

.center {
  text-align: center;
}

.section-head {
  margin-bottom: 40px;
}

.section-copy {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.therapist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.therapist-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.therapist-mark {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: block;
  margin-bottom: 22px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .84);
  box-shadow: 0 16px 34px rgba(54, 47, 38, .16);
  background: linear-gradient(135deg, var(--teal), var(--sage));
}

.therapist-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.therapist-card:nth-child(2) .therapist-mark img {
  object-position: center;
}

.therapist-card ul {
  margin: 6px 0 24px;
  padding-left: 20px;
}

.therapist-card li {
  margin: 6px 0;
}

.services-grid,
.mini-cards,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.services-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mini-cards {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.testimonial-card {
  padding: 26px;
  transition: transform .28s ease, box-shadow .28s ease;
}

.service-card {
  overflow: hidden;
  padding: 0 0 26px;
}

.service-card h3,
.service-card p,
.service-card .service-label {
  margin-left: 26px;
  margin-right: 26px;
}

.service-image {
  position: relative;
  height: 210px;
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--sand);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 243, 238, .08), rgba(31, 47, 44, .20)),
    rgba(182, 154, 112, .10);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.service-image img {
  filter: saturate(.82) contrast(.96) brightness(1.03);
  object-position: center;
  transition: transform .4s ease, filter .4s ease;
}

.service-card:hover .service-image img {
  filter: saturate(.92) contrast(1) brightness(1.04);
  transform: scale(1.04);
}

.service-card:hover,
.testimonial-card:hover,
.mini-card:hover,
.therapist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 68px rgba(54, 47, 38, .13);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: linear-gradient(180deg, var(--blue), var(--sand));
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .55);
}

.service-icon.body {
  background: linear-gradient(180deg, #e4d5c0, #d7c0a0);
}

.service-icon.depth {
  background: linear-gradient(180deg, #bfd4d6, #7f9584);
}

.service-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--teal);
  font-weight: 700;
}

.mini-card {
  padding: 24px;
  transition: transform .28s ease, box-shadow .28s ease;
}

.mini-card span {
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: .16em;
}

.testimonial-card .quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--heading);
}

.cta-box {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(226, 236, 231, .76));
}

.contact-card {
  padding: 28px;
}

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

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

.contact-form span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(88, 125, 128, .62);
  box-shadow: 0 0 0 4px rgba(88, 125, 128, .12);
}

.contact-form .btn {
  border: 0;
  cursor: pointer;
}

.contact-status,
.contact-fallback {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.contact-status:empty {
  display: none;
}

.contact-status a,
.contact-fallback a {
  color: var(--teal);
  font-weight: 700;
  border-bottom: 1px solid rgba(88, 125, 128, .35);
}

.site-footer {
  padding: 32px 0 56px;
  border-top: 1px solid var(--line);
}

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

.footer-logo {
  width: 150px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(130, 106, 79, .05);
}

.footer-note {
  margin: 0;
}

.reveal {
  opacity: 1;
}

.fade-up {
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}

.delay-1.visible {
  transition-delay: .1s;
}

.delay-2.visible {
  transition-delay: .18s;
}

.delay-3.visible {
  transition-delay: .26s;
}

.float-card {
  animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-card {
    animation: none;
  }

  .reveal.visible {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .why-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .mini-cards,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 20px;
    top: 84px;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(247, 243, 238, .98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .services-grid,
  .mini-cards,
  .testimonial-grid,
  .therapist-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 145px;
  }

  h1 {
    max-width: none;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-watermark {
    width: 220px;
    height: 220px;
    right: -18px;
    bottom: 24px;
  }
}
