/* ============================================================
   Anne Metz, PhD LPC — Main Stylesheet
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* --- Variables --- */
:root {
  --cream:     #FDFAF6;
  --warm-light:#F2EBE3;
  --sand:      #E8DDD1;
  --brown:     #8B6F5E;
  --gold:      #C4956A;
  --dark:      #2D2520;
  --text:      #3A3228;
  --muted:     #7A6B61;
  --purple:    #7A8C7E;
  --purple-dark:#5C6B60;
  --white:     #FFFFFF;
  --nav-height: 72px;
  --max-w:     1100px;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--warm { background: var(--warm-light); }
.section--sand { background: var(--sand); }

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--purple-dark) !important; color: var(--white) !important; }

/* Hamburger */
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); transition: all 0.3s; }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  padding: 1.5rem 2rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--sand);
}
.mobile-menu.open { display: flex; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-radius: 2px;
}
.btn-primary:hover { background: var(--purple-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  border-radius: 2px;
}
.btn-outline:hover { background: var(--dark); color: var(--cream); }
.btn-outline-light {
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
  border-radius: 2px;
}
.btn-outline-light:hover { background: var(--cream); color: var(--dark); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-radius: 2px;
}
.btn-gold:hover { background: var(--brown); color: var(--white); }

/* --- Hero --- */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--nav-height);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 4rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  min-height: 600px;
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  padding: 6rem 0 4rem;
  margin-top: var(--nav-height);
  background: var(--warm-light);
  text-align: center;
}
.page-hero .eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-hero p {
  max-width: 640px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* --- Cards --- */
.cards { display: grid; gap: 2rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 2.5rem;
  border-radius: 2px;
}
.card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  border-bottom: 1px solid var(--purple);
  padding-bottom: 2px;
}

/* --- Split Section --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-image { position: relative; overflow: hidden; min-height: 480px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* For portrait photos used in split sections as a direct child div */
.split > div > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.split-content {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content .eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.split-content h2 { margin-bottom: 1.5rem; }
.split-content p { color: var(--muted); margin-bottom: 1rem; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

/* --- Testimonial --- */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.testimonial cite {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 2.5rem;
  border-radius: 2px;
  text-align: left;
}
.testimonial-card blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.testimonial-card cite {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--sand);
  padding: 1.5rem 0;
}
.faq-question {
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  display: none;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.faq-item.open .faq-answer { display: block; }

/* --- Specialty Tags --- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--warm-light);
  border: 1px solid var(--sand);
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
}

/* --- Credential Bar --- */
.cred-bar {
  background: var(--dark);
  color: var(--cream);
  padding: 1.2rem 0;
  text-align: center;
}
.cred-bar p {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--purple);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2.5rem; }

/* --- Stats Strip --- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.stat-item {
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--sand);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--purple);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: var(--cream); font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; opacity: 0.7; line-height: 1.6; }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.6;
  margin-top: 1rem;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.7; transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }
.footer-contact p { font-size: 0.9rem; opacity: 0.7; margin-bottom: 0.5rem; }
.footer-contact a { opacity: 0.7; transition: opacity 0.2s; }
.footer-contact a:hover { opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-heading .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-heading p { color: var(--muted); margin-top: 1rem; }
.divider { width: 48px; height: 2px; background: var(--gold); margin: 0 auto 2rem; }
.divider-left { margin: 0 0 2rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 2rem; order: 2; }
  .hero-image { min-height: 70vw; order: 1; }
  .split { grid-template-columns: 1fr !important; }
  .split-image { min-height: 300px; order: -1 !important; }
  .split-content { padding: 3rem 2rem; }
  .split--reverse { direction: ltr; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  .section--lg { padding: 4rem 0; }
  .page-hero { padding: 4rem 0 3rem; }
  /* Override any inline grid styles on split sections */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1fr; gap: 5rem"],
  [style*="grid-template-columns: 2fr 1fr 1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Contact page two-col */
  .cards-2[style] { grid-template-columns: 1fr !important; }
  /* Page hero CTA button */
  .page-hero .btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
  /* Credential bar wrapping */
  .cred-bar p { font-size: 0.72rem; }
  /* Stats strip 2-col on mobile */
  .stat-item:nth-child(even) { border-right: none; }
  /* Cards padding */
  .card { padding: 1.75rem; }
}
