/* ============================================
   Jannan Psychotherapy — Site Styles
   Brand palette pulled from @talkswithjannan
   ============================================ */

:root {
  /* Brand colours from Instagram */
  --sage: #869B89;
  --sage-dark: #5E7B66;
  --sage-darker: #455F4D;
  --sage-light: #B5C5B7;
  --sage-soft: #E2EAE3;
  --cream: #F2EBD7;
  --cream-soft: #FAF5E8;
  --cream-warm: #F7F0DC;
  --mustard: #A07F2A;
  --mustard-soft: #D9C58A;

  /* Neutral system */
  --bg: var(--cream-soft);
  --surface: #FFFFFF;
  --surface-warm: var(--cream);
  --text: #2A211A;
  --text-muted: #524740;
  --text-light: #8C7F73;
  --accent: var(--sage-dark);
  --accent-soft: var(--sage-soft);
  --border: #E4DCC4;
  --border-strong: #C9BC9E;

  --max-width: 1140px;
  --reading-width: 720px;

  /* Fonts */
  --font-script: 'Caveat', 'Brush Script MT', cursive;
}

.script {
  font-family: var(--font-script);
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.6rem; font-family: 'Inter', sans-serif; font-weight: 600; }

p { margin-bottom: 1.2rem; color: var(--text-muted); }

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--text); }

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sage-darker);
  border-bottom: 1px solid rgba(242, 235, 215, 0.12);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--cream-soft);
  letter-spacing: 0.01em;
}

.nav-brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mustard-soft);
  margin-top: 3px;
}

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

.nav-links a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--cream-soft);
  opacity: 1;
}

.nav-cta {
  background: var(--cream-soft);
  color: var(--sage-darker) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 1 !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--mustard);
  color: var(--cream-soft) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--cream-soft);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 5rem 1.5rem 6rem;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--sage-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-content h1 { margin-bottom: 1.5rem; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--sage-dark);
  color: white !important;
}

.btn-primary:hover {
  background: var(--sage-darker);
  color: white !important;
}

.btn-secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--text);
  color: white !important;
  border-color: var(--text);
}

.hero-image {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sage-soft);
  border: 1px solid var(--border);
  max-width: 420px;
  margin: 0 auto;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-credentials {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 360px;
}

.credential-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verified-icon {
  width: 22px;
  height: 27.5px;
  flex-shrink: 0;
  margin-bottom: -4px;
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--sage-dark);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  flex: 1;
  white-space: nowrap;
}

a.credential-pill:hover {
  background: var(--sage-soft);
  border-color: var(--sage-light);
  color: var(--sage-darker);
}

/* ============================================
   SECTIONS
   ============================================ */

section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-narrow { max-width: 820px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.8rem;
  display: block;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 1rem auto 0;
}

/* ============================================
   ABOUT — Intro + Read more expandable
   ============================================ */

/* Hero Read more (the SEO keyword expandable) */
.hero-readmore {
  margin: -0.5rem 0 1.5rem;
}

.hero-readmore summary {
  cursor: pointer;
  display: inline-block;
  padding: 0.55rem 1.3rem;
  background: transparent;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sage-dark);
  transition: background 0.2s ease, color 0.2s ease;
  list-style: none;
  border: 1px solid var(--sage-light);
}

.hero-readmore summary::-webkit-details-marker { display: none; }
.hero-readmore summary::marker { content: ''; }
.hero-readmore summary:hover { background: var(--sage-soft); color: var(--sage-darker); }

.hero-readmore .readmore-close { display: none; }
.hero-readmore[open] .readmore-open { display: none; }
.hero-readmore[open] .readmore-close { display: inline; }

.hero-readmore-body {
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-readmore-body p { margin-bottom: 0.9rem; }

/* About cred note (BACP explanation, anchored from credential pill) */
.about-cred-note {
  background: var(--cream);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--sage);
  font-size: 0.98rem;
  color: var(--text);
  margin-top: 1.8rem;
}

.section-warm { background: var(--cream); }
.section-white { background: var(--surface); }
.section-sage { background: var(--sage); color: var(--cream-soft); }
.section-sage h2, .section-sage h3 { color: var(--cream-soft); }
.section-sage p { color: rgba(250, 245, 232, 0.85); }
.section-sage .section-eyebrow { color: var(--cream); }

/* ============================================
   WHO I WORK WITH — CARD GRID
   ============================================ */

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.who-card {
  background: var(--surface);
  padding: 2rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(94, 123, 102, 0.12);
}

.who-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.who-card p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.who-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 50%;
}

.who-card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ============================================
   APPROACH / HOW I WORK
   ============================================ */

.approach-bordered {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  background: var(--cream-soft);
}

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

.approach-content p + p { margin-top: 1rem; }

.approach-quote {
  background: var(--sage);
  color: var(--cream-soft);
  padding: 3rem 2.5rem;
  border-radius: 8px;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.35;
  position: relative;
}

.approach-quote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--cream-soft);
  opacity: 0.3;
  font-family: 'Cormorant Garamond', serif;
}

.approach-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
  opacity: 0.8;
}

/* ============================================
   ARTICLES PREVIEW — fully clickable cards
   ============================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(94, 123, 102, 0.15);
  border-color: var(--sage-light);
}

.article-card:hover h3 {
  color: var(--sage-dark);
}

.article-card-cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--sage);
}

.article-card-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.article-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.7rem;
}

.article-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.2s ease;
}

.article-card p {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--sage-light);
}

.article-card-read-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

.article-card:hover .article-card-read-more {
  color: var(--sage-darker);
}

/* ============================================
   FEES & FAQ
   ============================================ */

.fees-card {
  background: var(--sage);
  color: var(--cream-soft);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.fees-card .article-tag {
  color: var(--cream);
  opacity: 0.9;
}

.fees-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: var(--cream-soft);
  margin: 0.5rem 0;
  font-weight: 500;
}

.fees-amount small {
  font-size: 1rem;
  color: var(--cream-soft);
  display: block;
  margin-top: 0.3rem;
  font-family: 'Inter', sans-serif;
  opacity: 0.85;
}

.fees-card p {
  color: rgba(250, 245, 232, 0.9);
  margin-bottom: 1.5rem;
}

.btn-on-sage {
  display: inline-block;
  background: var(--cream-soft);
  color: var(--sage-darker) !important;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-on-sage:hover {
  background: var(--mustard);
  color: var(--cream-soft) !important;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info p { font-size: 1.05rem; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-method:last-child { border-bottom: none; }

.contact-method-label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.3rem;
}

.contact-method-value {
  color: var(--text);
  font-size: 1.05rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.3rem;
  display: block;
}

input, textarea, select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s ease;
}

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

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* AJAX form states */
.contact-form-wrap {
  position: relative;
}

.btn.btn-sent {
  background: #4A7752 !important;
  color: #FAF5E8 !important;
  border: none !important;
  cursor: default;
  transform: none;
}

.form-error {
  background: rgba(168, 64, 64, 0.08);
  color: #8B3A3A;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.92rem;
  margin-top: 0.6rem;
  border-left: 3px solid #8B3A3A;
}

.form-success {
  background: var(--cream);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  animation: form-success-in 0.4s ease-out;
}

@keyframes form-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
}

.form-success-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.form-success h3 {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.form-success p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--sage-darker);
  color: var(--cream);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; }

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

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--cream-soft);
  margin-bottom: 0.8rem;
}

.footer p {
  color: var(--cream);
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

.footer h4 {
  color: var(--cream-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--cream);
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--cream-soft);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(242, 235, 215, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   ARTICLE PAGE LAYOUT
   ============================================ */

.article-page {
  background: var(--surface);
}

.article-header {
  background: var(--sage);
  color: var(--cream-soft);
  padding: 4rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.article-header-inner {
  max-width: var(--reading-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.article-header::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(242, 235, 215, 0.08);
  pointer-events: none;
}

.article-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(242, 235, 215, 0.06);
  pointer-events: none;
}

.article-breadcrumb {
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.article-breadcrumb a {
  color: var(--cream);
}

.article-breadcrumb a:hover {
  color: var(--cream-soft);
}

.article-header .article-tag {
  color: var(--cream);
  display: inline-block;
  background: rgba(242, 235, 215, 0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.article-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  line-height: 1.15;
  color: var(--cream-soft);
}

.article-meta-row {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--cream);
  opacity: 0.85;
  margin-top: 1.5rem;
}

.article-body {
  padding: 4rem 1.5rem 5rem;
}

.article-body-inner {
  max-width: var(--reading-width);
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.78;
}

.article-body-inner p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.article-body-inner h2 {
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  font-size: 2rem;
}

.article-body-inner h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.article-body-inner ul, .article-body-inner ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body-inner li {
  margin-bottom: 0.6rem;
  color: var(--text);
}

.article-body-inner blockquote {
  border-left: 3px solid var(--sage-dark);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.article-cta-box {
  background: var(--cream);
  border-radius: 8px;
  padding: 2.5rem;
  margin: 3rem 0 2rem;
  text-align: center;
}

.article-cta-box h3 {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.article-cta-box p { margin-bottom: 1.5rem; }

/* ============================================
   LEAD CAPTURE POP-UP
   ============================================ */

.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: lead-fade-in 0.25s ease-out;
}

.lead-popup[hidden] { display: none !important; }

@keyframes lead-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lead-card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.lead-popup-card {
  position: relative;
  background: var(--cream-soft);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(44, 44, 42, 0.25);
  animation: lead-card-in 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

.lead-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}

.lead-popup-close:hover {
  background: var(--border);
  color: var(--text);
}

.lead-popup-step h3 {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.lead-popup-step p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.lead-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lead-popup-actions .btn {
  width: 100%;
}

.lead-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.lead-popup-form input[type="email"],
.lead-popup-form input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: white;
}

.lead-popup-form input[type="email"]:focus,
.lead-popup-form input[type="tel"]:focus {
  outline: none;
  border-color: var(--sage-dark);
}

.lead-popup-form .btn {
  margin-top: 0.4rem;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
  .hero-inner,
  .approach-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-image {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 4/5;
    border-radius: 50%;
  }

  .hero-credentials {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile nav: brand on top, links laid out across (no hamburger) */
  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
  }

  .nav-brand { text-align: center; }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.9rem 1.1rem;
    padding: 0;
    background: transparent;
    border: none;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 0.4rem 0.95rem;
    font-size: 0.78rem;
  }

  .nav-toggle { display: none !important; }

  section { padding: 3.5rem 1.5rem; }
  .hero { padding: 3rem 1.5rem 4rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .approach-quote { font-size: 1.7rem; padding: 2rem 1.5rem; }
}

/* ============================================
   SMALL PHONE (≤480px) — iPhone SE / 13 mini
   ============================================ */

@media (max-width: 480px) {
  body { font-size: 16px; }

  .nav-inner { padding: 0.9rem 1.2rem; gap: 1rem; }
  .nav-brand { font-size: 1.2rem; }
  .nav-brand small { font-size: 0.62rem; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.85rem; }

  section { padding: 2.8rem 1.2rem; }
  .hero { padding: 2.2rem 1.2rem 3rem; }

  .hero-image { max-width: 260px; aspect-ratio: 1/1; }
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.16em; margin-bottom: 0.9rem; }
  .hero-lead { font-size: 1.02rem; margin-bottom: 1.5rem; }
  .hero-credentials { gap: 0.4rem; margin-top: 1.8rem; }
  .credential-pill { font-size: 0.7rem; padding: 0.35rem 0.75rem; }

  .hero-ctas { gap: 0.6rem; width: 100%; }
  .btn { padding: 0.85rem 1.4rem; font-size: 0.9rem; width: 100%; }

  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: 1rem; }

  .who-card { padding: 1.6rem 1.4rem; }
  .who-card-icon { width: 38px; height: 38px; font-size: 1rem; }

  .approach-quote { font-size: 1.4rem; padding: 1.7rem 1.4rem; }
  .approach-quote::before { font-size: 3.5rem; top: 0.6rem; left: 1rem; }

  .articles-grid { gap: 1.2rem; }
  .article-card-body { padding: 1.4rem; }
  .article-card h3 { font-size: 1.25rem; }

  .fees-card { padding: 1.8rem 1.4rem; }
  .fees-amount { font-size: 2.6rem; }

  .faq-item { padding: 1.4rem 0; }
  .faq-question { font-size: 1.2rem; }

  .article-title { font-size: 1.8rem; }
  .article-body { padding: 2.5rem 1.2rem 3.5rem; }
  .article-body-inner { font-size: 1.02rem; line-height: 1.7; }
  .article-body-inner h2 { font-size: 1.6rem; margin-top: 2.2rem; }
  .article-body-inner blockquote { font-size: 1.2rem; padding-left: 1.2rem; }

  .article-cta-box { padding: 1.8rem 1.4rem; }
  .article-cta-box h3 { font-size: 1.85rem; }

  .footer { padding: 3rem 1.2rem 1.5rem; }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.serif { font-family: 'Cormorant Garamond', serif; }
