/* ============================================================
   Amy Fuhrmann, PhD — amyfuhrmannphd.com
   Stylesheet
   ============================================================ */

@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&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #faf7f2;
  --white:      #ffffff;
  --charcoal:   #2b2b2b;
  --mid:        #555555;
  --light:      #888888;
  --sage:       #7a9e87;
  --sage-dark:  #5c7f6a;
  --border:     #e0dbd2;
  --nav-height: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #3a4a6b;
  background: var(--cream);
  font-size: 17px;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 500; }

/* ── Layout ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Navigation ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s, border-color 0.3s;
}

/* Scrolled state — added by JS */
.site-header.scrolled {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

/* Nav text white when over hero, dark when scrolled */
.site-header .site-title a { color: rgba(255,255,255,0); transition: color 0.3s; }
.site-header.scrolled .site-title a { color: var(--charcoal); }

.site-header nav a { color: rgba(255,255,255,0.9); transition: color 0.3s; }
.site-header nav a:hover { color: #ffffff; }
.site-header nav a.active { color: #ffffff; font-weight: 500; }

.site-header.scrolled nav a { color: var(--mid); }
.site-header.scrolled nav a:hover,
.site-header.scrolled nav a.active { color: var(--charcoal); font-weight: 500; }

/* Mobile hamburger white over hero, dark when scrolled */
.site-header .nav-toggle span { background: rgba(255,255,255,0.9); transition: background 0.3s; }
.site-header.scrolled .nav-toggle span { background: var(--charcoal); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  white-space: nowrap;
}

.site-title a { color: inherit; }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

nav a:hover,
nav a.active { color: var(--charcoal); }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ── Beingwell logo in nav ── */
.nav-logo {
  height: 42px;
  width: auto;
  opacity: 0.95;
  display: block;
}

@media (max-width: 768px) {
  .nav-logo { height: 32px; }
}


.hero {
  position: relative;
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 25, 0.35);
}

.hero__label {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 2rem;
}

/* hero — home (taller, special layout) */
.hero--home {
  height: 520px;
  background-color: #c8c5bc; /* fallback */
}

.hero--home .hero__name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.92);
  text-align: center;
  margin-bottom: 0.5rem;
}

.hero--home .hero__tagline {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  line-height: 1.05;
}

.hero--home .hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 2rem;
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--white);
}

.section--narrow {
  padding: 4rem 0;
}

.section__label {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

/* ── Two-column intro (home) ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}

.intro-grid__text { }

.intro-grid__image img {
  border-radius: 2px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

/* ── Quote block ── */
.quote-block {
  border-left: 3px solid var(--sage);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  background: var(--white);
}

.quote-block blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.55;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  font-style: normal;
}

/* ── CTA banner ── */
.cta-banner {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-banner__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.cta-banner__sub {
  font-size: 0.95rem;
  color: var(--mid);
  margin-top: 0.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn--red {
  background: #c0392b;
  border-color: #c0392b;
  color: var(--white);
  letter-spacing: 0.12em;
}

.btn--red:hover {
  background: #a93226;
  border-color: #a93226;
  color: var(--white);
}

.btn--sage {
  border-color: var(--sage);
  color: var(--sage);
}

.btn--sage:hover {
  background: var(--sage);
  color: var(--white);
}

.btn--filled {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

.btn--filled:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

/* ── How I Can Help Banner (homepage) ── */
.help-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.help-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 75%;
  filter: brightness(0.55) saturate(1.1);
}

.help-banner__content {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  max-width: 600px;
  margin-left: 6%;
}

.help-banner__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.help-banner__sub {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 0;
}


/* Bold uppercase hero label (About, Services, FAQ, Contact pages) */
.hero__label--bold {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ── About Page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.about-headshot {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.about-grid__image figcaption {
  margin-top: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--light);
  text-align: center;
}

/* ── Services Page ── */
.service-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child { border-bottom: none; }

.service-block ul {
  list-style: disc;
  margin: 1rem 0 1.5rem 1.4rem;
  columns: 1;
  gap: 0.5rem;
}

.service-block ul li {
  padding: 0.2rem 0;
  font-size: 0.95rem;
  break-inside: avoid;
  padding-left: 0;
  position: static;
}

.service-block ul li::before {
  display: none;
}

.service-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.service-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}

.free-consult-note {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--mid);
  margin-bottom: 1.2rem;
}

/* ── FAQ Page ── */
.faq-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { padding-top: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
}

.faq-answer p, .faq-answer ul { margin-bottom: 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; gap: 1rem; }
}

.fee-list {
  list-style: none;
  margin: 0.75rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fee-list li {
  font-size: 0.95rem;
  padding-left: 1rem;
  border-left: 2px solid var(--sage);
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.75rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--sage);
}

.contact-form textarea { 
  height: 140px; 
  resize: vertical; 
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.contact-info address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.contact-info address a { 
  color: var(--sage); 
}

.contact-info address a:hover { 
  text-decoration: underline; 
}

.office-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.office-photos img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 1px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--light);
  margin-top: 0.5rem;
  font-style: italic;
}

.form-success {
  display: none;
  background: #eef6f1;
  border: 1px solid var(--sage);
  padding: 1.5rem;
  color: var(--sage-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
}

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-inner h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.footer-inner a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-inner a:hover { color: rgba(255,255,255,0.9); }

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--sage);
  margin: 1.5rem 0;
}

/* ── Prevent horizontal overflow globally ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* { max-width: 100%; }

img {
  max-width: 100%;
  height: auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  nav ul {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 99;
  }

  nav ul.open { display: flex; }

  /* Always dark text inside the mobile dropdown regardless of hero state */
  nav ul li a,
  .site-header nav ul li a,
  .site-header.scrolled nav ul li a {
    display: block;
    padding: 0.8rem 2rem;
    color: var(--charcoal) !important;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: var(--charcoal) !important;
    background: var(--cream);
  }

  /* Force ALL grid layouts to single column regardless of inline styles */
  .intro-grid,
  .about-grid,
  .contact-grid,
  [class*="grid"] {
    display: block !important;
  }

  .intro-grid > *,
  .about-grid > *,
  .contact-grid > * {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  .intro-grid__image,
  .about-grid__image {
    max-width: 240px;
    margin: 0 auto 2rem;
    display: block;
  }

  /* Service page two-column lists */
  .service-block ul { columns: 1; }

  /* Service image pair */
  .service-images {
    grid-template-columns: 1fr !important;
  }

  .service-images img {
    height: 180px;
  }

  /* Inline grid on services page */
  .service-block > div[style*="grid"] {
    display: block !important;
  }

  .service-block > div[style*="grid"] > * {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }

  /* CTA banner */
  .cta-banner {
    grid-template-columns: 1fr !important;
    display: block !important;
    text-align: center;
  }

  .cta-banner > * { margin-bottom: 1.5rem; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Hero */
  .hero { height: calc(260px + var(--nav-height)); }
  .hero--home { height: calc(360px + var(--nav-height)); }

  .hero--home .hero__tagline {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  /* Sections */
  .section { padding: 3rem 0; }
  .section--narrow { padding: 2.5rem 0; }

  /* Contact page office photos */
  .office-photos {
    grid-template-columns: 1fr 1fr;
  }

  /* Containers */
  .container,
  .container--wide {
    padding: 0 1.25rem;
  }

  /* Buttons — make them full width on mobile for easy tapping */
  .btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  /* Quote block */
  .quote-block {
    padding: 1.25rem 1.25rem;
    margin: 2rem 0;
  }

  /* Help banner mobile */
  .help-banner { min-height: 260px; }
  .help-banner__content { margin-left: 0; padding: 2.5rem 1.25rem; }

  /* Services page inner grid */
  .service-block__inner {
    display: block !important;
  }

  .service-block__inner > * {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }

}
