/* =====================================================================
   Frank Marchese Psychotherapy, stylesheet
   Design carried over from the original single-file site, with a few
   small additions noted at the bottom of this file.
   ===================================================================== */

:root {
  --stone: #2c2825;
  --stone-light: #3d3835;
  --warm-white: #f5f0eb;
  --cream: #ebe4db;
  --sage: #8a9a7b;
  --sage-light: #a8b89c;
  --sage-muted: rgba(138, 154, 123, 0.12);
  --terracotta: #c4816a;
  --terracotta-soft: rgba(196, 129, 106, 0.15);
  --text: #2c2825;
  --text-soft: #5a5350;
  --text-inverse: #f5f0eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 240, 235, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 40, 37, 0.06);
  transition: all 0.4s ease;
}
nav.scrolled { padding: 0.8rem 2.5rem; box-shadow: 0 2px 30px rgba(44,40,37,0.06); }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--stone); text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--sage); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-soft);
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.03em; transition: color 0.3s;
}
.nav-links a:hover { color: var(--stone); }
.nav-cta {
  background: var(--stone) !important; color: var(--text-inverse) !important;
  padding: 0.6rem 1.4rem !important; border-radius: 6px; transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--stone-light) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--stone); margin: 5px 0; transition: 0.3s; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 2.5rem 6rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-muted) 0%, transparent 70%); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -5%;
  width: 40vw; height: 40vw; border-radius: 50%;
  background: radial-gradient(circle, var(--terracotta-soft) 0%, transparent 70%); pointer-events: none;
}
.hero-inner {
  max-width: 760px; margin: 0 auto; width: 100%;
  text-align: center;
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem); color: var(--stone);
  margin-bottom: 1.5rem; letter-spacing: -0.03em;
}
.hero h1 em { font-style: italic; color: var(--sage); }
.hero-text {
  font-size: 1.08rem; color: var(--text-soft);
  margin: 0 auto 2rem; max-width: 480px; line-height: 1.8;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--stone); color: var(--text-inverse); text-decoration: none;
  padding: 1rem 2rem; border-radius: 8px; font-size: 0.95rem; font-weight: 500;
  transition: all 0.35s ease; letter-spacing: 0.02em;
}
.hero-cta:hover { background: var(--stone-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(44,40,37,0.15); }
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

/* ── Welcome (client-first, calm) ── */
.welcome { background: var(--warm-white); padding: 6.5rem 2.5rem; }
.welcome-inner { max-width: 660px; margin: 0 auto; text-align: center; }
.welcome p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.6; color: var(--stone); font-weight: 400;
  margin-bottom: 1.5rem;
}
.welcome p:last-of-type { color: var(--text-soft); }
.welcome-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--sage); text-decoration: none; font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.02em; margin-top: 1rem;
  transition: color 0.3s;
}
.welcome-link:hover { color: var(--stone); }
.welcome-link svg { transition: transform 0.3s; }
.welcome-link:hover svg { transform: translateX(4px); }

/* ── Sections ── */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 1rem;
}

/* ── About ── */
.about { background: var(--warm-white); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.about-pull {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 400; font-style: italic;
  color: var(--stone); line-height: 1.45;
  border-left: 3px solid var(--sage); padding-left: 1.75rem; margin-bottom: 2rem;
}
.about p { color: var(--text-soft); font-size: 1.02rem; margin-bottom: 1.25rem; line-height: 1.85; }
.about-image-area { position: relative; order: 2; }
.about-image-box {
  width: 100%; aspect-ratio: 4/5; border-radius: 16px;
  background: linear-gradient(145deg, var(--cream), #d8d0c5);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 0.85rem; overflow: hidden;
}
.about-image-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-accent {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--sage-muted); border: 2px solid var(--sage-light); z-index: -1;
}

/* ── Services ── */
.services { background: var(--stone); color: var(--text-inverse); }
.services .section-label { color: var(--sage-light); }
.services h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.services-intro {
  color: rgba(245,240,235,0.7); max-width: 620px;
  margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.8;
}
.services-body { max-width: 680px; }
.services-body p {
  color: rgba(245,240,235,0.72);
  font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.4rem;
}
.services-body p:last-child { margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2.5rem 2rem; transition: all 0.4s ease;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  cursor: default;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sage-muted);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.service-icon svg { stroke: var(--sage-light); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; font-weight: 500; }
.service-card p { color: rgba(245,240,235,0.6); font-size: 0.92rem; line-height: 1.75; flex-grow: 1; }
.service-hover-cta {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--sage-light); font-size: 0.88rem; font-weight: 500;
  margin-top: 1.25rem; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(6px);
  transition: all 0.35s ease;
}
.service-hover-cta svg { transition: transform 0.3s; }
.service-card:hover .service-hover-cta {
  opacity: 1; transform: translateY(0);
}
.service-card:hover .service-hover-cta svg { transform: translateX(3px); }

/* ── Concerns ── */
.concerns { background: var(--warm-white); }
.concerns h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.concerns-intro { color: var(--text-soft); max-width: 580px; margin-bottom: 3rem; font-size: 1.02rem; }
.concerns-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 3rem; }
.concern-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 0.25rem;
  position: relative;
}
.concern-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sage);
  flex-shrink: 0; margin-top: 9px;
}
.concern-item h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.3rem; }
.concern-item p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }

/* ── Approach ── */
.approach { background: var(--cream); text-align: center; padding: 6rem 2.5rem; }
.approach-statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-style: italic; font-weight: 400;
  color: var(--stone); max-width: 800px; margin: 0 auto; line-height: 1.4;
}

/* ── FAQ ── */
.faq { background: var(--warm-white); }
.faq h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 2.5rem; letter-spacing: -0.02em; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid rgba(44,40,37,0.1); padding: 1.5rem 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  background: none; border: none; width: 100%; text-align: left;
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500;
  color: var(--stone); padding: 0.25rem 0;
}
.faq-q svg { flex-shrink: 0; transition: transform 0.3s; stroke: var(--sage); }
.faq-q.open svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-soft); font-size: 0.95rem; line-height: 1.8;
}
.faq-a.open { max-height: 400px; padding-top: 0.75rem; }

/* ── CTA Band ── */
.cta-band { background: var(--stone); color: var(--text-inverse); text-align: center; padding: 5rem 2.5rem; }
.cta-band h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.cta-band p {
  color: rgba(245,240,235,0.65); max-width: 520px;
  margin: 0 auto 2.5rem; font-size: 1.02rem; line-height: 1.8;
}

/* ── Contact Form ── */
.contact-form {
  max-width: 480px; margin: 0 auto; text-align: left;
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block; font-size: 0.82rem; font-weight: 500;
  color: rgba(245,240,235,0.5); margin-bottom: 0.4rem; letter-spacing: 0.05em;
}
.form-row input, .form-row textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  color: var(--text-inverse); font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--sage); background: rgba(255,255,255,0.1);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(245,240,235,0.3); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--sage); color: white; border: none; cursor: pointer;
  padding: 1rem 2.25rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif; transition: all 0.35s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--sage-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(138,154,123,0.3); }
.form-privacy-note {
  font-size: 0.78rem; color: rgba(245,240,235,0.45); line-height: 1.6;
  margin-top: 1.25rem; max-width: 480px;
}
.form-privacy-note a { color: var(--sage-light); }
.hidden { display: none !important; }

/* ── Footer ── */
footer {
  background: var(--stone); border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(245,240,235,0.5); padding: 3rem 2.5rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-inner a { color: rgba(245,240,235,0.5); text-decoration: none; transition: color 0.3s; }
.footer-inner a:hover { color: var(--sage-light); }
.footer-links { display: flex; gap: 2rem; font-size: 0.85rem; }

/* ── Disclaimer ── */
.disclaimer {
  background: var(--stone);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 2rem 2.5rem;
}
.disclaimer-inner {
  max-width: 1100px; margin: 0 auto;
  font-size: 0.78rem; color: rgba(245,240,235,0.35); line-height: 1.7;
}
.disclaimer-inner a { color: var(--sage-light); }

/* ── Animations ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245,240,235,0.97); backdrop-filter: blur(20px);
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid rgba(44,40,37,0.08);
  }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; min-height: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-area { order: 0; max-width: 320px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .concerns-list { grid-template-columns: 1fr; }
  .contact-form { padding: 0 1rem; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* =====================================================================
   ADDITIONS (not in the original)
   ===================================================================== */

/* "Write this yourself" placeholder block, visible, on-brand, and
   impossible to miss while editing. Delete the surrounding markup once
   you've written your real copy. */
.editme {
  border: 1px dashed var(--sage);
  background: var(--sage-muted);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.editme strong { color: var(--sage); letter-spacing: 0.04em; font-size: 0.72rem; text-transform: uppercase; display: block; margin-bottom: 0.4rem; }
.editme.on-dark { border-color: var(--sage-light); background: rgba(168,184,156,0.1); color: rgba(245,240,235,0.7); }
.editme.on-dark strong { color: var(--sage-light); }

/* Simple legal / privacy page layout (privacy.html) */
.legal { padding: 9rem 2.5rem 5rem; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-inner h1 { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--stone); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.legal-inner .updated { color: var(--sage); font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 2.5rem; }
.legal-inner h2 { font-size: 1.6rem; color: var(--stone); margin: 2.5rem 0 0.75rem; }
.legal-inner p { color: var(--text-soft); margin-bottom: 1rem; line-height: 1.85; }
.legal-inner ul { color: var(--text-soft); margin: 0 0 1rem 1.25rem; line-height: 1.85; }
.legal-inner a { color: var(--sage); }
.legal-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--sage); text-decoration: none; font-size: 0.9rem; margin-top: 2.5rem; }
.legal-back:hover { color: var(--stone); }
