/* ===========================================================
   Paradise Creek Counseling & Consulting
   Design system: "Forest & Creek"
   =========================================================== */

:root {
  /* Color tokens */
  --ink: #1F2E27;
  --ink-soft: #48564D;
  --paper: #F3EFDD;
  --paper-raised: #FCFAF0;
  --pine: #1F4A3C;
  --pine-dark: #143229;
  --moss: #5C7A5E;
  --creek: #3E7787;
  --creek-light: #E7F0EE;
  --clay: #B4842F;
  --clay-light: #F3E6CB;
  --stone: #E3DDC6;
  --stone-dark: #CFC6A4;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1120px;
  --radius: 10px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 30px -18px rgba(31, 46, 39, 0.35);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--creek); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pine);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 560; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1.1em; }
.lede { font-size: 1.2rem; color: var(--ink-soft); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--stone-dark);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--pine);
  flex-shrink: 0;
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

.brand-plate {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  padding: 10px 16px;
  border-radius: 12px;
}

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

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--pine);
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--pine);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pine);
  margin: 4px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 9px 13px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: 7px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--stone); color: var(--pine); }
.main-nav a[aria-current="page"] {
  color: var(--pine);
  background: var(--clay-light);
}

.nav-cta {
  background: var(--pine) !important;
  color: var(--paper) !important;
}
.nav-cta:hover { background: var(--pine-dark) !important; color: var(--paper) !important; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .main-nav a { padding: 12px 6px; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: var(--paper); }
.btn-primary:hover { background: var(--pine-dark); color: var(--paper); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--paper); }
.btn-clay { background: var(--clay); color: var(--white); }
.btn-clay:hover { background: #97701f; color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 40px;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 50px;
  align-items: start;
}
.hero-copy h1 { margin-bottom: 0.35em; }
.hero-art { position: relative; }
.hero-watermark {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 620px;
  max-width: none;
  opacity: 0.16;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-watermark { display: none; }
}

.trust-note {
  margin-top: 1.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--stone-dark);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Info card (sidebar on hero) ---------- */
.info-card {
  background: var(--paper-raised);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.info-card h3 { margin-bottom: 0.6em; }
.info-card .info-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.info-card .info-line strong { color: var(--pine); display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.info-card a { font-weight: 600; }

/* ---------- Creek divider (signature element) ---------- */
.creek-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}
.creek-divider svg { width: 100%; height: auto; display: block; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--paper-raised); }
.section-pine { background: var(--pine); color: var(--paper); }
.section-pine h2, .section-pine h3 { color: var(--paper); }
.section-pine .eyebrow { color: var(--clay-light); }
.section-pine a { color: var(--clay-light); }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.card .icon-badge { margin-bottom: 16px; }
.card h3 { margin-bottom: 0.5em; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--creek-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-badge svg { width: 24px; height: 24px; stroke: var(--creek); }

/* ---------- Team ---------- */
.office-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.office-filter button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--pine);
  background: transparent;
  color: var(--pine);
  cursor: pointer;
}
.office-filter button.active,
.office-filter button:hover {
  background: var(--pine);
  color: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 780px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--paper-raised);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
}
.team-card h3 { margin-bottom: 0; }
.team-role { color: var(--creek); font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.team-office {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--moss);
  background: var(--creek-light);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}
.team-bio { font-size: 0.96rem; color: var(--ink-soft); }
.team-contact { font-size: 0.92rem; font-weight: 600; }

.avatar-1 { background: var(--pine); }
.avatar-2 { background: var(--creek); }
.avatar-3 { background: var(--moss); }
.avatar-4 { background: var(--clay); }
.avatar-5 { background: var(--pine-dark); }
.avatar-6 { background: #7A6A3F; }

/* ---------- Location cards ---------- */
.location-card {
  background: var(--paper-raised);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink);
}
/* These win over .section-pine's h3/a/eyebrow overrides (same or higher specificity,
   declared later) so location cards stay readable even when a dark section wraps them. */
.location-card h3 { color: var(--pine); }
.location-card .eyebrow { color: var(--clay); margin-bottom: 4px; }
.location-card address { font-style: normal; margin: 10px 0 18px; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.location-card .services-tag {
  font-size: 0.85rem;
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 18px;
}
.location-card .btn-outline { color: var(--pine); border-color: var(--pine); }
.location-card .btn-outline:hover { color: var(--paper); background: var(--pine); }

/* ---------- Lists ---------- */
.check-list, .plain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--creek);
}

.resource-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.resource-list li {
  border-bottom: 1px solid var(--stone-dark);
  padding-bottom: 20px;
}
.resource-list a { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.resource-list p { margin: 6px 0 0; color: var(--ink-soft); }

/* ---------- Callout / banner ---------- */
.callout {
  border: 1.5px dashed var(--clay);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  background: var(--clay-light);
}
.callout h3 { margin-bottom: 0.4em; }

.cta-banner {
  background: var(--pine);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 46px;
  text-align: center;
}
.cta-banner h2 { color: var(--paper); }
.cta-banner p { color: var(--stone); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-row { justify-content: center; }
.cta-banner .btn-outline { color: var(--paper); border-color: var(--paper); }
.cta-banner .btn-outline:hover { background: var(--paper); color: var(--pine); }

/* ---------- Article / long text pages ---------- */
.article {
  max-width: 760px;
}
.article h2 { margin-top: 1.4em; }
.article blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--creek);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--pine);
}
.qa-item { margin-bottom: 1.6em; }
.qa-item .q { font-weight: 700; color: var(--pine); margin-bottom: 0.3em; }
.qa-item .a { font-style: italic; color: var(--ink-soft); }

.byline-note {
  background: var(--creek-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 2em;
}

.subpage-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2em 0;
}
@media (max-width: 780px) { .subpage-links { grid-template-columns: 1fr; } }
.subpage-links a {
  display: block;
  text-decoration: none;
  background: var(--paper-raised);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--pine);
}
.subpage-links a:hover { border-color: var(--creek); background: var(--creek-light); }
.subpage-links span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }

.legal-section { margin-bottom: 2.4em; }
.legal-section h2 { border-bottom: 2px solid var(--stone-dark); padding-bottom: 0.3em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-dark);
  color: var(--stone);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 {
  color: var(--paper);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  margin-bottom: 14px;
}
.site-footer a { color: var(--stone); }
.site-footer a:hover { color: var(--paper); }
.site-footer .brand-text, .site-footer .brand-text small { color: var(--paper); }
.site-footer .brand-text small { color: var(--stone); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; font-size: 0.94rem; }
.footer-bottom {
  border-top: 1px solid rgba(243,239,221,0.15);
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--stone-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}
.nondiscrim {
  font-size: 0.85rem;
  color: var(--stone-dark);
  max-width: 760px;
  margin-top: 6px;
}
