/* ==========================================================================
   MicheleKunz.com — "Calm Under Pressure" design system
   Palette: deep teal / soft medical blue / warm paper white
   Type: Lora (display serif) + Source Sans 3 (body)
   Motif: soft EKG pulse line as section divider
   ========================================================================== */

:root {
  --teal-deep:  #0e4f5c;
  --teal:       #167d8c;
  --teal-dark:  #0a3a44;
  --blue-soft:  #a5cbdf;
  --blue-ice:   #eaf3f8;
  --paper:      #fbfdfd;
  --ink:        #22333b;
  --ink-soft:   #4d626c;
  --line:       #d8e6ed;
  --gold:       #b9863c;
  --white:      #ffffff;
  --shadow:     0 2px 12px rgba(14, 79, 92, 0.08);
  --shadow-lg:  0 8px 28px rgba(14, 79, 92, 0.14);
  --radius:     10px;
  --serif:      "Lora", Georgia, serif;
  --sans:       "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw:       1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-family: var(--serif); color: var(--teal-dark); line-height: 1.25; }

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.25rem; color: var(--ink-soft); }

/* ---------- EKG pulse divider ---------- */

.pulse-divider {
  display: block;
  width: min(340px, 70%);
  margin: 3.5rem auto;
  opacity: 0.85;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand a { text-decoration: none; }
.brand .brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.brand .brand-tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--teal); text-decoration: none; }
.site-nav a.active { color: var(--teal); border-bottom-color: var(--teal); }
.site-nav .nav-cta {
  background: var(--teal-deep);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border-bottom: none;
}
.site-nav .nav-cta:hover { background: var(--teal); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--blue-ice) 0%, var(--paper) 100%);
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.hero p { margin: 1.1rem 0; max-width: 34em; }

.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.hero-photo figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { background: var(--teal); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--teal-deep);
  border: 2px solid var(--teal-deep);
}
.btn-secondary:hover { background: var(--blue-ice); color: var(--teal-deep); }

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
.section-alt { background: var(--blue-ice); }
.section-dark { background: var(--teal-deep); color: var(--blue-ice); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark a { color: var(--blue-soft); }
.section-center { text-align: center; }
.section-center p { max-width: 42em; margin-left: auto; margin-right: auto; }

.prose { max-width: 46em; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.4rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- Card grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex-grow: 1; }
.card .card-link { font-weight: 700; margin-top: 0.9rem; }
.card-icon { font-size: 1.8rem; margin-bottom: 0.6rem; color: var(--teal); }

/* Badges (book availability, etc.) */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  align-self: flex-start;
}
.badge-available { background: #e2f2e6; color: #1d6b34; }
.badge-coming { background: #fdf1dc; color: #8a5a12; }

/* ---------- Testimonials ---------- */

.testimonial {
  background: var(--white);
  border-left: 4px solid var(--blue-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow);
}
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal);
}

/* ---------- FAQ accordion ---------- */

details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--teal-dark);
  padding: 1rem 1.4rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--teal);
}
details.faq[open] summary::after { content: "\2013"; }
details.faq .faq-body { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }
details.faq .faq-body p { margin-bottom: 0.8rem; }

/* ---------- Article index ---------- */

.article-theme { margin-bottom: 2.5rem; }
.article-list { list-style: none; margin-top: 0.8rem; }
.article-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.article-list li a { font-weight: 700; font-size: 1.06rem; }
.article-list li span { display: block; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 34em;
}
.contact-block p { margin-bottom: 0.9rem; }
.contact-block strong { color: var(--teal-dark); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-dark);
  color: var(--blue-soft);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--blue-ice); }
.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.45rem; }

.footer-bottom {
  border-top: 1px solid rgba(165, 203, 223, 0.25);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 340px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .site-header .wrap { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}
