@font-face {
  font-family: "Manrope HM";
  src: url("assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f9f5ef;
  --panel: #f8f5ef;
  --sage: #48685c;
  --sage-deep: #2f5147;
  --sand: #e3d3c1;
  --image-fallback: #d9cec0;
  --ink: #202f2d;
  --ink-muted: #52615f;
  --line: rgba(32, 47, 45, 0.2);
  --focus: #a44731;
  --header-height: 6rem;
  --content-max: 96rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--ground);
  font-family: "Manrope HM", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  color: var(--ground);
  background: var(--sage-deep);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.18rem solid var(--focus);
  outline-offset: 0.24rem;
}

.skip-link:focus-visible,
.call-action:focus-visible,
.message-action:focus-visible,
.contact__phone:focus-visible {
  outline-color: var(--ground);
  outline-offset: -0.32rem;
  box-shadow: inset 0 0 0 0.5rem var(--focus);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ground);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 max(3.5rem, calc((100vw - var(--content-max)) / 2 + 3.5rem));
  background: var(--ground);
  border-bottom: 1px solid rgba(32, 47, 45, 0.08);
}

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

.brand__mark {
  padding-right: 1.35rem;
  font-size: clamp(2.2rem, 3vw, 3.35rem);
  font-weight: 260;
  line-height: 1;
  letter-spacing: -0.04em;
  border-right: 1px solid var(--line);
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 520;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.7rem);
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0;
  font-size: 1rem;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a:active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  max-width: var(--content-max);
  min-height: 43rem;
  margin: 0 auto;
  overflow: hidden;
  background: var(--sand);
}

.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--image-fallback);
}

.hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.01);
}

.hero__media-note {
  position: absolute;
  z-index: 1;
  top: 1rem;
  right: 1rem;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: 0.4rem 0.65rem;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero__copy {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: min(52%, 50rem);
  min-height: 25rem;
  padding: 2.5rem 4.2rem 6.6rem;
  background: var(--panel);
}

.hero__copy h1 {
  max-width: none;
  margin: 0 0 1.25rem;
  font-size: clamp(2.9rem, 3.5vw, 3.4rem);
  font-weight: 420;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__copy > p {
  max-width: 42ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.hero__copy > .hero__identity {
  display: flex;
  max-width: none;
  margin: 1.15rem 0 0;
  padding-top: 0.8rem;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero__identity strong {
  font-weight: 650;
}

.hero__identity span {
  color: var(--ink-muted);
}

.hero__actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
  min-height: 5rem;
  color: var(--ground);
  background: var(--sage-deep);
}

.call-action,
.message-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  text-decoration: none;
  transition: color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.call-action {
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.8rem 1.7rem;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
}

.call-action svg {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0.48rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.call-action strong {
  margin-left: 0.25rem;
  font-size: 1.18em;
  font-variant-numeric: tabular-nums;
}

.message-action {
  padding: 0.8rem 1.35rem;
  border-left: 1px solid rgba(249, 245, 239, 0.3);
}

.call-action:hover,
.message-action:hover,
.call-action:active,
.message-action:active {
  color: var(--ground);
  background: var(--ink);
}

.hero__details {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(24%, 23rem);
  padding: 1rem 2rem;
  background: var(--sand);
}

.detail-row {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1.1rem;
  align-items: center;
  min-height: 5rem;
}

.detail-row + .detail-row {
  border-top: 1px solid rgba(32, 47, 45, 0.35);
}

.detail-row svg {
  width: 2.05rem;
  height: 2.05rem;
  fill: none;
  stroke: var(--sage-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.detail-row p {
  margin: 0;
  line-height: 1.35;
}

.detail-row strong,
.detail-row span {
  display: block;
}

.detail-row strong {
  font-size: 0.98rem;
  font-weight: 650;
}

.detail-row span {
  margin-top: 0.15rem;
  color: var(--sage-deep);
  font-size: 0.83rem;
}

.service-index,
.counseling-intro,
.services-detail,
.formats,
.contact,
.site-footer {
  max-width: var(--content-max);
  margin-inline: auto;
}

.service-index {
  padding: 3.6rem 3.4rem 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.counseling-intro h2,
.formats h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  font-weight: 430;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-heading p,
.formats__heading p {
  max-width: 36ch;
  margin: 0;
  color: var(--ink-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.service-link {
  display: flex;
  min-height: 9.5rem;
  padding: 1.3rem 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.service-link + .service-link {
  border-left: 1px solid var(--line);
}

.service-link svg {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: var(--sage-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.service-link span {
  max-width: 14ch;
  font-size: 0.9rem;
  font-weight: 560;
  line-height: 1.35;
}

.service-link:hover,
.service-link:active {
  color: var(--ground);
  background: var(--sage-deep);
}

.service-link:hover svg,
.service-link:active svg {
  stroke: currentColor;
}

.counseling-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 10vw, 10rem);
  padding: clamp(7rem, 12vw, 12rem) 4.2rem 6rem;
}

.counseling-intro__statement h2 {
  max-width: 15ch;
}

.counseling-intro__body {
  max-width: 37rem;
  padding-top: 0.5rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.counseling-intro__body p {
  margin: 0;
}

.counseling-intro__body p + p {
  margin-top: 1.5rem;
}

.services-detail {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) 1.15fr;
  gap: clamp(2rem, 8vw, 9rem);
  padding: 2.7rem 4.2rem;
  scroll-margin-top: 1rem;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.service-row p {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-muted);
}

.formats {
  display: grid;
  grid-template-columns: minmax(22rem, 1.04fr) 0.96fr;
  gap: 0;
  padding: 0;
  color: var(--ink);
  background: var(--ground);
  border-block: 1px solid var(--line);
}

.formats__heading {
  display: flex;
  padding: clamp(2.6rem, 4.6vw, 4.4rem) clamp(2rem, 4.4vw, 4.2rem);
  flex-direction: column;
  justify-content: center;
  color: var(--ground);
  background: var(--sage-deep);
}

.formats__heading h2 {
  max-width: 12ch;
  color: inherit;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.05;
}

.formats__heading p {
  max-width: 28ch;
  margin-top: 1.2rem;
  color: rgba(249, 245, 239, 0.8);
}

.formats__options {
  display: grid;
  align-content: stretch;
}

.formats__options article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: clamp(2rem, 3.2vw, 3.1rem) clamp(2rem, 4vw, 4.2rem);
  align-items: center;
  scroll-margin-top: 2rem;
}

.formats__options article + article {
  border-top: 1px solid var(--line);
}

.formats__options h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 620;
  line-height: 1.2;
}

.formats__meta p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

.formats__options a {
  color: var(--ink);
  font-weight: 650;
  text-underline-offset: 0.28em;
}

.formats__options a:hover,
.formats__options a:active {
  color: var(--sage-deep);
}

.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem 8rem;
  padding: clamp(6rem, 11vw, 10rem) 4.2rem 5rem;
}

.contact__lead p {
  max-width: 42ch;
  margin: 1.5rem 0 0;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.contact__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  border: 1px solid var(--ink);
}

.contact__actions > a {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: center;
  font-weight: 620;
  text-decoration: none;
}

.contact__phone {
  grid-column: 1 / -1;
  padding: 1.2rem 1.5rem;
  flex-direction: column;
  color: var(--ground);
  background: var(--sage-deep);
}

.contact__phone span {
  font-size: 0.85rem;
  font-weight: 500;
}

.contact__phone strong {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.contact__actions > a:not(.contact__phone) + a {
  border-left: 1px solid var(--ink);
}

.contact__actions > a:not(.contact__phone) {
  transition: color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.contact__actions > a:not(.contact__phone):hover,
.contact__actions > a:not(.contact__phone):active {
  color: var(--ground);
  background: var(--ink);
}

.contact__fallback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.8rem 1rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  text-align: center;
  border-top: 1px solid var(--ink);
}

.contact__fallback a {
  font-weight: 650;
}

.contact__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact__facts div {
  padding: 1.5rem 1.8rem;
}

.contact__facts div + div {
  border-left: 1px solid var(--line);
}

.contact__facts dt {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__facts dd {
  margin: 0.45rem 0 0;
  font-weight: 560;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 4.2rem;
  color: rgba(249, 245, 239, 0.72);
  background: var(--ink);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__image {
    animation: room-reveal 900ms var(--ease-out) both;
  }

  @keyframes room-reveal {
    from {
      opacity: 0.84;
      transform: scale(1.025);
    }
    to {
      opacity: 1;
      transform: scale(1.01);
    }
  }
}

@media (max-width: 72rem) {
  :root {
    --header-height: 5.2rem;
  }

  .site-header {
    padding-inline: 2rem;
  }

  .brand__name {
    display: none;
  }

  .brand__mark {
    padding-right: 0;
    border-right: 0;
  }

  .hero {
    min-height: 46rem;
  }

  .hero__copy {
    width: 64%;
    padding-inline: 2.4rem;
  }

  .hero__copy h1 {
    font-size: clamp(2.65rem, 4.2vw, 3.35rem);
  }

  .hero__details {
    width: 32%;
    padding-inline: 1.3rem;
  }

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

  .service-link:nth-child(odd) {
    border-left: 0;
  }

  .service-link:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .service-link:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .counseling-intro,
  .contact {
    gap: 3rem;
    padding-inline: 2.5rem;
  }
}

@media (min-width: 72.01rem) and (max-width: 80rem) {
  .hero__copy {
    width: 60%;
    padding-inline: 3.3rem;
  }

  .hero__copy h1 {
    font-size: clamp(2.8rem, 4vw, 3.2rem);
  }

  .hero__details {
    width: 26%;
  }
}

@media (max-width: 48rem) {
  html {
    scroll-padding-top: 4.5rem;
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .site-header {
    min-height: 4.5rem;
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-left: max(1rem, env(safe-area-inset-left));
  }

  .brand {
    min-width: 0;
    min-height: 2.75rem;
    gap: 0.7rem;
  }

  .brand__mark {
    flex: 0 0 auto;
    padding-right: 0.7rem;
    font-size: 2rem;
    border-right: 1px solid var(--line);
  }

  .brand__name {
    display: block;
    max-width: 10.5rem;
    font-size: 0.78rem;
    font-weight: 560;
    line-height: 1.18;
    letter-spacing: -0.015em;
  }

  .nav-toggle {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.75rem;
    place-content: center;
    gap: 0.38rem;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.15rem;
    height: 1px;
    background: currentColor;
    transition: transform 220ms var(--ease-out);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(0.22rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.22rem) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 0.75rem 1.15rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .hero__media,
  .hero__copy,
  .hero__details {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero__media {
    height: 60vw;
    min-height: 17rem;
    max-height: 25rem;
    order: 1;
  }

  .hero__image {
    object-position: center 52%;
  }

  .hero__copy {
    min-height: 0;
    padding: 2.6rem 1.3rem 0;
    order: 2;
  }

  .hero__copy h1 {
    max-width: 14ch;
    margin-bottom: 1.1rem;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .hero__copy > p {
    margin-bottom: 1.35rem;
  }

  .hero__copy > .hero__identity {
    margin: 0 0 1.8rem;
  }

  .hero__actions {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr 1fr;
    margin: 0 -1.3rem;
  }

  .call-action {
    grid-column: 1 / -1;
    justify-content: center;
    padding-inline: 1rem;
  }

  .message-action {
    min-height: 3.7rem;
    border-top: 1px solid rgba(32, 47, 45, 0.28);
  }

  .message-action:first-of-type {
    border-left: 0;
  }

  .hero__details {
    padding: 0.5rem 1.3rem;
    order: 3;
  }

  .detail-row {
    grid-template-columns: 1.9rem 1fr;
    min-height: 4.7rem;
  }

  .detail-row svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .service-index {
    padding: 4.5rem 1.15rem 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 1.6rem;
  }

  .section-heading h2,
  .counseling-intro h2,
  .formats h2,
  .contact h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section-heading p {
    margin-top: 0.8rem;
  }

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

  .service-link {
    min-height: 8.5rem;
  }

  .counseling-intro,
  .formats,
  .contact {
    grid-template-columns: 1fr;
  }

  .counseling-intro {
    gap: 2rem;
    padding: 7rem 1.3rem 4.5rem;
  }

  .counseling-intro__body {
    padding-top: 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 2rem 1.3rem;
  }

  .formats {
    gap: 0;
    padding: 0;
  }

  .contact {
    gap: 2.5rem;
    padding: 6rem 1.3rem 4rem;
  }

  .contact__facts {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .contact__facts div {
    padding-inline: 0;
  }

  .contact__facts div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    padding: 2rem 1.3rem max(2rem, calc(1rem + env(safe-area-inset-bottom)));
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
