/* River Valley Free Counseling Clinic — built on the "Classical" design system
   (Cormorant Garamond + Lora), retuned to the clinic's sage green and wheat palette. */

:root {
  --color-bg: #ffffff;
  --color-text: oklch(0.27 0.045 150);
  --color-text-soft: oklch(0.36 0.05 150);
  --color-accent: oklch(0.4 0.06 150);
  --color-accent-600: oklch(0.34 0.06 150);
  --color-accent-700: oklch(0.32 0.055 150);
  --color-divider: oklch(0.83 0.045 78);
  --color-gold: oklch(0.72 0.07 75);
  --color-band: oklch(0.95 0.022 140);
  --color-band-hover: oklch(0.97 0.015 140);
  --color-link: oklch(0.36 0.06 150);
  --color-link-hover: oklch(0.26 0.05 150);
  --color-link-underline: oklch(0.78 0.06 75);

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-heading-weight: 600;
  --font-body: "Lora", Georgia, serif;

  --space-1: 4.6px;
  --space-2: 9.2px;
  --space-3: 13.8px;

  --radius-md: 4px;

  --gutter: clamp(20px, 5vw, 72px);
  --section-pad: clamp(64px, 8vw, 104px);
}

/* — base (from the Classical system) — */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
}
p {
  margin: 0 0 var(--space-3);
}
a {
  color: var(--color-link);
  text-decoration-color: var(--color-link-underline);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--color-link-hover);
}
img {
  display: block;
  max-width: 100%;
}
figure {
  margin: 0;
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
::selection {
  background: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

/* — buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn-primary {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  color: var(--color-accent);
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
}
.btn-primary:active {
  background: color-mix(in srgb, var(--color-accent) 22%, transparent);
}

/* — layout helpers — */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.band {
  background: var(--color-band);
}
.band-bordered {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.section-kicker {
  margin-bottom: 14px;
}
.section-title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: normal;
}
.section-intro {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.7;
}

/* — navigation — */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--color-divider);
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-text);
  text-decoration: none;
}
.brand:hover {
  color: var(--color-text);
}
.brand-logo {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 15px;
}
.nav-links a:not(.btn) {
  color: var(--color-text);
  text-decoration: none;
}
.nav-links a:not(.btn):hover {
  color: var(--color-link-hover);
}

/* — hero — */
.hero {
  border-bottom: 1px solid var(--color-divider);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(40px, 5vw, 56px);
}
.hero-text {
  min-width: 0;
}
.hero-title {
  margin: 0;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-title span {
  display: block;
}
.hero-title-sm {
  font-size: clamp(26px, 3vw, 38px);
  color: var(--color-text-soft);
}
.hero-title-lg {
  font-size: clamp(80px, 12vw, 156px);
  font-weight: 500;
  line-height: 0.95;
  margin-top: 6px;
}
.hero-title-md {
  font-size: clamp(36px, 4.6vw, 60px);
  margin-top: 4px;
}
.hero-lede {
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.65;
}
.hero-call {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
  color: var(--color-text);
  text-decoration: none;
}
.hero-call:hover {
  color: var(--color-link-hover);
}
.hero-phone {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  font-feature-settings: "tnum" 1;
  padding-bottom: 6px;
}
.hero-logo {
  display: flex;
  justify-content: center;
}
.hero-logo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  mix-blend-mode: multiply;
}
.hero-footer {
  padding-bottom: clamp(32px, 4vw, 44px);
}
.hero-footer .eyebrow {
  padding-top: 20px;
  border-top: 1px solid var(--color-divider);
}

/* — verse — */
.verse {
  border-bottom: 1px solid var(--color-divider);
}
.verse figure {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--gutter);
  text-align: center;
}
.rule-short {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 28px;
}
.verse blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
}
.verse figcaption {
  margin-top: 20px;
  font-size: 14px;
}

/* — about — */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px 72px;
}
.about-body {
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}
.about-body p {
  margin: 0;
}
.about-body p + p {
  margin-top: 20px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  text-align: center;
}
.pillars > div {
  padding: 18px 8px;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.7;
}
.pillars > div + div {
  border-left: 1px solid var(--color-divider);
}

/* — services — */
.services-title {
  max-width: 22ch;
}
.services-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  column-gap: 40px;
  font-size: 17px;
  line-height: 1.4;
}
.services-list li {
  padding: 14px 0;
  border-top: 1px solid var(--color-divider);
}

/* — contact — */
.contact-intro {
  max-width: 58ch;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 36px;
}
.contact-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
}
.contact-card:hover {
  color: var(--color-text);
  background: var(--color-band-hover);
}
.contact-value {
  margin-top: 10px;
  font-family: var(--font-heading);
}
.contact-phone {
  font-size: 34px;
  font-feature-settings: "tnum" 1;
}
.contact-email {
  font-size: 28px;
  word-break: break-word;
}

/* — footer — */
.site-footer {
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 14px;
  line-height: 1.6;
}
