/* ============================================================
   Victoria Day, LMFT — shared styles
   Redwood Grove: deep forest green + brass on cool lichen white.
   Type: Cormorant Garamond (headings) + Hanken Grotesk (body)

   To tweak colors or fonts, change the values in :root below.
   ============================================================ */

:root {
  --ink: #1E2B24;
  --ink-soft: #4A5A50;
  --paper: #F4F6F1;
  --paper-raised: #E7EDE4;
  --primary: #2F5D46;
  --primary-deep: #17342A;
  --accent: #B08A3E;
  --accent-deep: #7F6020;
  --accent-soft: #E9E0C6;
  --highlight: #D4B26A;
  --highlight-soft: #F0E9D2;
  --line: #D3DACF;
  --line-soft: #E0E6DC;
  --panel-rule: #B08A3E;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --h-weight: 500; --h3-weight: 600; --h-track: 0; --h-scale: 1.2;
  --wordmark-weight: 600; --radius: 4px; --mark-mobile: 190px;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: var(--h-weight);
  color: var(--primary-deep);
  line-height: 1.12;
  letter-spacing: var(--h-track);
  font-variant-numeric: lining-nums;
  margin: 0 0 0.6em;
}

h3, h4 { font-weight: var(--h3-weight); }

p { margin: 0 0 1.1em; max-width: 62ch; }

a {
  color: var(--primary-deep);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: calc(1.3rem * var(--h-scale));
  font-weight: var(--wordmark-weight);
  letter-spacing: var(--h-track);
  color: var(--primary-deep);
  font-variant-numeric: lining-nums;
  text-decoration: none;
}
.wordmark:hover { color: var(--primary); }

.wordmark .mark {
  width: 22px; height: 22px; flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.nav-links a:hover { color: var(--accent-deep); }

.nav-links a[aria-current="page"] {
  color: var(--primary-deep);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.nav-links a.nav-cta {
  border: 1px solid var(--primary-deep);
  color: var(--primary-deep);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a.nav-cta:hover { background: var(--primary-deep); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: var(--primary-deep);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--pad) 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 0.85rem 0; }
  .nav-links a.nav-cta { display: inline-block; margin-top: 0.6rem; padding: 0.55rem 1.15rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--primary-deep);
  color: var(--primary-deep);
}
.btn-ghost:hover { background: var(--primary-deep); color: var(--paper); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: calc(clamp(2.3rem, 5vw, 3.6rem) * var(--h-scale));
  max-width: 14ch;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-mark { width: 100%; height: auto; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { max-width: var(--mark-mobile); margin: 0 auto; order: -1; }
}

/* ---------- Sections ---------- */

section { padding: clamp(2.75rem, 6vw, 5rem) 0; }

.section-alt {
  background: var(--paper-raised);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 2.2rem;
}

.section-head h2 { font-size: calc(clamp(1.6rem, 3vw, 2.2rem) * var(--h-scale)); }

/* ---------- Panels ---------- */

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.panel {
  background: var(--paper);
  padding: 1.9rem 1.7rem;
  border-top: 3px solid var(--panel-rule);
}

.panel h3 {
  font-size: calc(1.15rem * var(--h-scale));
  margin-bottom: 0.5rem;
}

.panel p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  counter-reset: step;
}

.step { position: relative; padding-left: 3rem; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--serif);
  font-variant-numeric: lining-nums;
  font-size: calc(1.1rem * var(--h-scale));
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.step h3 { font-size: calc(1.05rem * var(--h-scale)); margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 1.1rem; max-width: 40rem; }

label {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

input, textarea, select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

textarea { min-height: 130px; resize: vertical; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }

.field-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }

/* ---------- Notice / crisis banner ---------- */

.notice {
  border-left: 3px solid var(--accent);
  background: var(--highlight-soft);
  padding: 1rem 1.3rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.notice strong { color: var(--ink); }

/* ---------- Footer ---------- */

footer {
  background: var(--primary-deep);
  color: #e1eadf;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  border-top: 4px solid var(--accent);
}

footer h4 { color: #fff; font-size: calc(1.05rem * var(--h-scale)); }

footer a { color: #e1eadf; text-decoration-color: var(--highlight); }
footer a:hover { color: var(--highlight); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.85rem;
  color: #b9cbbd;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.text-soft { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- About page layout ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-text { grid-column: 1; grid-row: 1; max-width: 780px; }
.about-text ul { margin: 0 0 1.1em; padding-left: 1.2rem; max-width: 62ch; }
.about-text li { margin-bottom: 0.4rem; }

/* Portrait: circular, with a thin brass ring; stays in view while reading the bio */
.portrait {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 7rem;
  margin: 0.5rem 0 0;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-text, .portrait { grid-column: auto; grid-row: auto; }
  .portrait { position: static; width: min(240px, 62%); margin: 0.5rem auto 0.5rem; }
}

/* ---------- Redwood Grove: deep forest hero ---------- */
.hero { background: var(--primary-deep); padding-bottom: clamp(2.5rem, 6vw, 4rem) !important; }
.hero h1 { color: #F4F6F1; }
.hero .lede { color: #CBD8CE; }
.hero .btn-primary { background: var(--highlight); color: var(--primary-deep); }
.hero .btn-primary:hover { background: #E3C685; color: var(--primary-deep); }
.hero .btn-ghost { border-color: #9FB5A6; color: #F4F6F1; }
.hero .btn-ghost:hover { background: #F4F6F1; border-color: #F4F6F1; color: var(--primary-deep); }

/* ---------- Compact hero (inner pages): same fern, smaller ---------- */
.hero-compact { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 5vw, 3.25rem) !important; }
.hero-compact .wrap { grid-template-columns: 1fr auto; }
.hero-mark-sm { width: clamp(120px, 15vw, 190px); justify-self: end; }

@media (max-width: 820px) {
  .hero-compact .wrap { grid-template-columns: 1fr auto; gap: 1rem; }
  .hero-compact .hero-mark-sm { width: 96px; max-width: 96px; margin: 0; order: 0; align-self: start; }
}
