/* ============================================================
   Authentically Thrive Therapy — Stylesheet
   Clinton Cretcher, AMFT #153972
   ============================================================ */

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--sage-dark);
  color: var(--white);
  padding: .75rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  transition: top .2s;
}
.skip-nav:focus {
  top: 0;
}

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

:root {
  --cream:           #FAF7F2;
  --cream-dark:      #F0EAE0;
  --sage:            #6B8F71;
  --sage-dark:       #4A6B50;
  --sage-light:      #C8DEC9;
  --terracotta:      #C17D5C;
  --terracotta-lt:   #F0D5C4;
  --brown:           #3D2B1F;
  --text:            #2D2A27;
  --text-muted:      #6B6460;
  --white:           #FFFFFF;
  --border:          #E5DDD4;
  --shadow:          0 4px 28px rgba(45, 42, 39, 0.09);
  --radius:          12px;
  --radius-lg:       24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--brown);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

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

a { color: var(--sage-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }

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

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

.section     { padding: 5rem 0; }
.section--alt { background-color: var(--cream-dark); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
}
.btn--primary {
  background: var(--sage); color: var(--white); border-color: var(--sage);
}
.btn--primary:hover {
  background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,143,113,.35);
}
.btn--outline {
  background: transparent; color: var(--sage-dark); border-color: var(--sage-dark);
}
.btn--outline:hover {
  background: var(--sage-dark); color: var(--white); transform: translateY(-2px);
}
.btn--terracotta {
  background: var(--terracotta); color: var(--white); border-color: var(--terracotta);
}
.btn--terracotta:hover {
  background: #A8673C; border-color: #A8673C; color: var(--white);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(193,125,92,.35);
}

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; position: relative;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  line-height: 1.2;
}
.nav__logo__name {
  display: block; color: var(--brown); text-decoration: none;
}
.nav__logo__name:hover { color: var(--sage-dark); }
.nav__logo__sub {
  display: block; font-size: .72rem;
  font-family: 'DM Sans', sans-serif; font-weight: 400;
  color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none;
}
.nav__logo__sub:hover { color: var(--sage); }
.nav__links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav__links a {
  font-size: .92rem; font-weight: 500; color: var(--text); text-decoration: none; transition: color .2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--sage-dark); }
.nav__links a.active { font-weight: 600; }
.nav__cta {
  background: var(--sage) !important; color: var(--white) !important;
  padding: .5rem 1.25rem; border-radius: 50px; font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
}
.nav__cta:hover { background: var(--sage-dark) !important; transform: translateY(-1px); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--brown); border-radius: 2px; transition: all .3s;
}

/* --- Section Header --- */
.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* --- Hero --- */
.hero { padding: 6rem 0 5rem; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero__badge {
  display: inline-block; background: var(--terracotta-lt); color: var(--terracotta);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 50px; margin-bottom: 1.25rem;
}
.hero__title { margin-bottom: 1.25rem; }
.hero__title em { font-style: italic; color: var(--sage-dark); }
.hero__subtitle {
  font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 480px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }

.hero__image-wrap { position: relative; }
.hero__image {
  width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4/5;
}
.hero__image-placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--terracotta-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--text-muted); font-style: italic;
}
.hero__accent {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--terracotta-lt); opacity: .55; z-index: -1;
}
.hero__tag {
  position: absolute; bottom: 2rem; left: -1rem;
  background: var(--white); border-radius: var(--radius);
  padding: .75rem 1.25rem; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 500;
}
.hero__tag strong { display: block; color: var(--sage-dark); font-size: .98rem; }

/* --- Services Grid --- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: inherit; display: block;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); color: inherit;
}
.service-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card__title {
  font-family: 'Playfair Display', serif; font-size: 1.15rem;
  color: var(--brown); margin-bottom: .5rem;
}
.service-card__text { font-size: .95rem; color: var(--text-muted); margin-bottom: 1rem; }
.service-card__link { font-size: .9rem; font-weight: 600; color: var(--sage-dark); }

/* --- Audience Grid --- */
.audience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem;
}
.audience-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem 1.5rem;
  text-align: center; border: 1px solid var(--border);
}
.audience-card__icon { font-size: 2.2rem; margin-bottom: .75rem; }
.audience-card h4 { color: var(--brown); margin-bottom: .4rem; }
.audience-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* --- About Page Grid --- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start;
}
.about-photo-wrap { position: relative; min-width: 0; }
.about-photo {
  width: 100%; max-width: 100%; border-radius: var(--radius-lg); display: block;
}
.about-grid > div { min-width: 0; }
.about-photo-accent {
  position: absolute; top: -1.5rem; right: -1.5rem;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--sage-light); z-index: -1;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .about-photo-accent { display: none; }
}

/* --- About Snapshot (home) --- */
.about-snapshot {
  display: block; max-width: 720px; margin: 0 auto;
}
.about-snapshot__image-wrap { position: relative; }
.about-snapshot__image {
  width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover;
}
.about-snapshot__placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--sage-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .9rem; font-style: italic;
}
.about-snapshot__accent {
  position: absolute; top: -1.5rem; right: -1.5rem;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--sage-light); z-index: -1;
}
.about-snapshot__eyebrow { display: block; margin-bottom: .75rem; }
.about-snapshot__text { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }
.credential-list { list-style: none; margin-bottom: 2rem; }
.credential-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .95rem; padding: .45rem 0; border-bottom: 1px solid var(--border);
}
.credential-list li:last-child { border-bottom: none; }
.credential-list .check { color: var(--sage); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* --- Philosophy Quote --- */
.philosophy {
  text-align: center; padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--sage-dark) 0%, #3D5E42 100%);
}
.philosophy blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem); font-style: italic;
  max-width: 680px; margin: 0 auto 1.5rem; line-height: 1.55; color: var(--white);
}
.philosophy cite { font-size: .9rem; color: rgba(255,255,255,.7); letter-spacing: .05em; text-transform: uppercase; }

/* --- FAQ --- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 1.25rem 0; font-weight: 600; font-size: 1rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--brown);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--sage); font-weight: 300;
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item__body {
  padding: 0 0 1.25rem; color: var(--text-muted);
  font-size: .97rem; line-height: 1.8;
}
h3.faq-category { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-dark); margin: 2.5rem 0 .75rem; font-family: 'DM Sans', sans-serif; }
h3.faq-category:first-child { margin-top: 0; }

/* --- CTA Section --- */
.cta-section {
  background: var(--terracotta-lt); text-align: center; padding: 5rem 0;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { display: block; }
.page-hero h1 { max-width: 640px; margin-bottom: 1rem; }
.page-hero__subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; }

/* --- Services (inner page) --- */
.service-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.service-section:last-child { border-bottom: none; }
.service-section__inner {
  display: grid; grid-template-columns: 80px 1fr; gap: 2rem; align-items: start;
}
.service-section__label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--sage-dark); font-weight: 600;
}
.service-section__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-section h2 { margin-bottom: 1rem; }
.service-section p { color: var(--text-muted); }
.signs-list {
  list-style: none; margin: 1.5rem 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
}
.signs-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .95rem; color: var(--text-muted);
}
.signs-list li::before { content: '•'; color: var(--terracotta); font-weight: 700; flex-shrink: 0; }

/* --- About Page --- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start;
}
.about-photo {
  width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover;
}
.about-photo-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--terracotta-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .9rem; font-style: italic;
}
.about-photo-wrap { position: relative; }
.about-photo-accent {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--terracotta-lt); opacity: .5; z-index: -1;
}
.approach-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1rem;
}
.approach-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--border);
}
.approach-card__icon { font-size: 1.6rem; margin-bottom: .75rem; }
.approach-card h4 { color: var(--brown); margin-bottom: .4rem; }
.approach-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

.credentials-box {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  padding: 2rem; margin-top: 2rem;
}
.credentials-box h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.credentials-box ul { list-style: none; }
.credentials-box li {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .5rem 0; border-bottom: 1px solid var(--border);
  font-size: .93rem; color: var(--text-muted);
}
.credentials-box li:last-child { border-bottom: none; }
.credentials-box .check { color: var(--sage); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* --- Footer --- */
.footer {
  background: var(--brown);
  color: rgba(250,247,242,.7);
  padding: 3.5rem 0 2rem; font-size: .9rem;
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1.5rem;
}
.footer__brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--cream); margin-bottom: .75rem;
}
.footer__tagline { font-size: .88rem; line-height: 1.7; margin-bottom: 1rem; }
.footer__disclosure { font-size: .77rem; line-height: 1.65; opacity: .6; }
.footer__heading {
  font-size: .73rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cream); margin-bottom: 1rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer__links a { color: rgba(250,247,242,.7); font-size: .88rem; transition: color .2s; }
.footer__links a:hover { color: var(--cream); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}
.crisis-bar {
  background: var(--sage-dark); color: var(--white); text-align: center;
  padding: .7rem 1rem; font-size: .85rem;
}
.crisis-bar a { color: var(--terracotta-lt); font-weight: 600; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 400px; margin: 0 auto; }
  .service-section__inner { grid-template-columns: 1fr; }
  .signs-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image-wrap { order: -1; }
  .hero__image-placeholder, .hero__image { aspect-ratio: 1/1; max-width: 400px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .credentials-box { padding: 1.25rem; }
  .credentials-box li { font-size: .88rem; display: block; }
  .credentials-box .check { display: inline; margin-right: .4rem; }
  html, body { overflow-x: hidden; max-width: 100%; }

  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 1.5rem; border-bottom: 1px solid var(--border);
    gap: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav { position: relative; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
