/* ============================================================
   EMPOWERMENT THERAPY — main.css
   Palette: warm sage, soft stone, deep charcoal, accent gold
   Type:    Cormorant Garamond (display) / Inter (body)
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --color-bg:         #FAFAF8;
  --color-surface:    #F3F1EC;
  --color-sage:       #7A9E8E;
  --color-sage-dark:  #5B7F70;
  --color-sage-light: #C5D8D0;
  --color-stone:      #E8E3DA;
  --color-gold:       #B8965A;
  --color-ink:        #2C2C2A;
  --color-ink-muted:  #6B6B65;
  --color-white:      #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;
  --text-6xl:  5.5rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10);

  --max-w: 1200px;
  --nav-h: 80px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }

/* ── Accessibility ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-sage);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

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

/* ── Typography globals ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.section--sage .eyebrow { color: var(--color-sage-light); }

p { max-width: 65ch; }
p + p { margin-top: 1em; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

.btn-primary {
  background: var(--color-sage);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-sage-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--color-sage);
  border: 1.5px solid var(--color-sage);
}
.btn-outline:hover { background: var(--color-sage); color: var(--color-white); }

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

.btn-nav {
  background: var(--color-sage);
  color: var(--color-white);
  padding: 0.625rem 1.5rem;
  font-size: var(--text-xs);
}
.btn-nav:hover { background: var(--color-sage-dark); }

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-stone);
  height: var(--nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.site-logo img { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
}

.main-nav ul a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-ink-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.main-nav ul a:hover,
.main-nav ul a[aria-current="page"] {
  color: var(--color-ink);
  background: var(--color-surface);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem, 5vw, 3rem);
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    border-top: 1px solid var(--color-stone);
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav ul a { font-size: var(--text-lg); display: block; padding: 0.75rem 0; border-radius: 0; border-bottom: 1px solid var(--color-stone); }

  .btn-nav { width: 100%; justify-content: center; }
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--color-surface);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--color-stone);
}

.page-hero h1 { margin-top: 0.5rem; }

/* ── HOME: Hero ──────────────────────────────────────────── */
.hero {
  min-height: calc(90vh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 60%);
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(122,158,142,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 780px; }

.hero h1 {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  font-weight: 600;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--color-ink-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* ── HOME: About strip ───────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-strip img {
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 720px) {
  .about-strip { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip .about-image { order: -1; max-height: 360px; }
}

/* ── HOME: Values ────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}

.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.value-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--color-sage-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card h3 { font-size: var(--text-xl); margin-bottom: 0.75rem; }
.value-card p { font-size: var(--text-sm); color: var(--color-ink-muted); max-width: none; }

/* ── HOME: Why choose ────────────────────────────────────── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reason {
  padding: 1.5rem;
  border-left: 3px solid var(--color-sage-light);
  padding-left: 1.5rem;
}

.reason h3 { font-size: var(--text-xl); margin-bottom: 0.5rem; }
.reason p { font-size: var(--text-sm); color: var(--color-ink-muted); max-width: none; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-stone);
}

blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}

blockquote::before { content: '\201C'; }
blockquote::after  { content: '\201D'; }

.testimonial cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-ink-muted);
  font-weight: 500;
}

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.cta-band h2 { margin-bottom: 0.75rem; }
.cta-band p  { margin-inline: auto; color: var(--color-ink-muted); margin-bottom: 2rem; }

.section--sage .cta-band p   { color: rgba(255,255,255,.8); }
.section--sage .cta-band h2  { color: var(--color-white); }

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

.about-layout img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3/4;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.approach-card {
  padding: 2rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-stone);
}

.approach-card h3 { font-size: var(--text-xl); margin-bottom: 0.75rem; }
.approach-card p { font-size: var(--text-sm); color: var(--color-ink-muted); max-width: none; }

.office-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.office-images img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; }

@media (max-width: 720px) {
  .about-layout { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
}

/* ── Offerings page ──────────────────────────────────────── */
.offering {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
  border-bottom: 1px solid var(--color-stone);
}

.offering:last-child { border-bottom: none; }
.offering:nth-child(even) .offering-images { order: -1; }

.offering-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  color: var(--color-stone);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.offering h2 { margin-bottom: 1rem; }
.offering p  { color: var(--color-ink-muted); margin-bottom: 1.25rem; }

.offering ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.offering ul li {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.offering ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-sage);
}

.offering-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.offering-images img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 820px) {
  .offering { grid-template-columns: 1fr; gap: 2rem; }
  .offering:nth-child(even) .offering-images { order: 0; }
}

/* ── What to Expect ──────────────────────────────────────── */
.expect-items {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.expect-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.expect-item:nth-child(even) img { order: -1; }

.expect-item img {
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.expect-item h2 { margin-bottom: 1rem; }
.expect-item p  { color: var(--color-ink-muted); }

@media (max-width: 720px) {
  .expect-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .expect-item:nth-child(even) img { order: 0; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-stone);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.faq-item {
  background: var(--color-bg);
  padding: 2rem;
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--color-ink);
}

.faq-item p {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  max-width: none;
}

.faq-emergency {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--color-surface);
  border-left: 4px solid var(--color-sage);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}

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

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

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--color-ink-muted); margin-bottom: 1.5rem; }

.contact-note {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  border-left: 3px solid var(--color-sage-light);
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1.5px solid var(--color-stone);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(122,158,142,.15);
}

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

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--color-sage-light);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-sage-dark);
}

@media (max-width: 820px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── Blog ────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.post-card {
  background: var(--color-white);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.post-card-image {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.post-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-date {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 0.75rem;
}

.post-card h2 {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-card p {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  max-width: none;
  margin-bottom: 1.25rem;
  flex: 1;
}

.post-card .read-more {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-sage);
  text-decoration: none;
}

/* Blog post page */
.post-layout { max-width: 720px; margin-inline: auto; }
.post-layout .post-meta { font-size: var(--text-sm); color: var(--color-ink-muted); margin-bottom: 0.5rem; }
.post-layout h1 { margin-bottom: 2rem; }
.post-body { font-size: var(--text-lg); line-height: 1.8; }
.post-body h2 { font-size: var(--text-3xl); margin-top: 2.5rem; margin-bottom: 1rem; }
.post-body h3 { font-size: var(--text-2xl); margin-top: 2rem; margin-bottom: 0.75rem; }
.post-body p  { margin-bottom: 1.25em; }
.post-body ul, .post-body ol { margin: 1em 0 1em 1.5rem; }
.post-body li { margin-bottom: 0.5em; }
.post-body a  { color: var(--color-sage-dark); text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding-block: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  max-width: none;
}

.footer-brand img { filter: brightness(0) invert(1); opacity: .7; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding-top: 0.25rem;
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--color-white); }

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
  max-width: 320px;
}

.footer-emergency {
  color: rgba(255,255,255,.5);
  max-width: none;
}
.footer-emergency strong { color: rgba(255,255,255,.8); }

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-links a:hover { color: var(--color-white); }

.footer-copy { max-width: none; }
.footer-copy a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-copy a:hover { color: var(--color-white); }

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-legal { text-align: left; max-width: none; }
  .footer-links { justify-content: flex-start; }
}

/* ── Prose pages (terms, privacy) ────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--text-2xl); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { font-size: var(--text-xl); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p  { color: var(--color-ink-muted); margin-bottom: 1em; }
.prose ul { list-style: disc; margin: 1em 0 1em 1.5rem; color: var(--color-ink-muted); }
.prose a  { color: var(--color-sage-dark); }
