/* ============================================
   Heidi Kelly Counseling — shared stylesheet
   Palette pulled from logo: teal-navy + warm gold
   Type: Jost (geometric, matches logo lettering) + Source Sans 3
   ============================================ */

:root {
  --navy-deep: #0a3550;
  --navy: #0e3f5e;
  --navy-mid: #134b6e;
  --navy-light: #1b5a80;
  --gold: #cda844;
  --gold-bright: #f1cb68;
  --paper: #faf7f0;
  --paper-dim: #f1ecdf;
  --ink: #223449;
  --muted: #56677d;
  --line: rgba(205, 168, 68, 0.45);
  --max: 1060px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: "Jost", "Century Gothic", "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}

a { color: var(--navy-mid); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--navy);
  color: var(--paper);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(241, 203, 104, 0.3);
}

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

.brand {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
}

.site-nav { display: flex; gap: 1.35rem; flex-wrap: wrap; }

.site-nav a {
  font-family: "Jost", "Century Gothic", sans-serif;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold-bright);
  color: var(--gold-bright);
}

/* ---------- Hero: navy night sky with oval swoops + stars ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding: 4.5rem 1.4rem 5.5rem;
}

/* big soft ovals, echoing the photoshopped logo background */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 130vw; height: 80vw;
  min-width: 900px; min-height: 620px;
  background: var(--navy-mid);
  top: -30%; left: -25%;
  opacity: 0.75;
}
.hero::after {
  width: 110vw; height: 70vw;
  min-width: 760px; min-height: 520px;
  background: var(--navy-deep);
  bottom: -45%; right: -30%;
  opacity: 0.6;
}

.hero > * { position: relative; z-index: 2; }

.hero .stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero .emblem {
  width: min(200px, 44vw);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(241, 203, 104, 0.22);
}

.hero .site-title {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.05em;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
}

.hero .tagline {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  letter-spacing: 0.03em;
  color: #f4f1e8;
  max-width: 36rem;
  margin: 0 auto 1.2rem;
}

.hero .subline {
  max-width: 40rem;
  margin: 0 auto 2.2rem;
  font-size: 1.08rem;
  color: #d5dde6;
}

.btn {
  display: inline-block;
  font-family: "Jost", "Century Gothic", sans-serif;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  border: 1px solid var(--gold);
  transition: background 0.2s ease;
}

.btn:hover { background: var(--gold-bright); }

.btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 247, 240, 0.65);
  margin-left: 0.8rem;
}

.btn.ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

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

section { padding: 4.5rem 0; }

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

.eyebrow {
  display: block;
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.4rem;
  align-items: start;
}

.headshot {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.headshot-placeholder {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--navy-mid);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.about-grid p + p { margin-top: 1rem; }

/* ---------- Services ---------- */

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.6rem 1.5rem;
}

.section-alt .card { background: #fff; }

.card h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.card p { font-size: 1rem; color: var(--muted); }

.approach {
  margin-top: 2.6rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  max-width: 46rem;
}

.approach h3 { margin-bottom: 0.6rem; }

/* ---------- Insurance & platforms ---------- */

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

.platform {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.platform h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }

.platform .tag {
  font-family: "Jost", "Century Gothic", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.platform ul { list-style: none; margin-bottom: 1.4rem; }

.platform li {
  padding: 0.35rem 0 0.35rem 1.3rem;
  position: relative;
  color: var(--muted);
}

.platform li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.7em;
  color: var(--gold);
}

.platform .btn { margin-top: auto; text-align: center; }

.note {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 46rem;
}

/* ---------- Blog ---------- */

.post-list { list-style: none; margin-top: 1.6rem; }

.post-list li {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}

.post-list h3 { font-size: 1.3rem; }
.post-list h3 a { color: var(--navy); text-decoration: none; }
.post-list h3 a:hover { color: var(--gold); }

.post-meta {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0.25rem 0 0.5rem;
}

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

.article {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.4rem 4.5rem;
}

.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
.article h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; }
.article p + p { margin-top: 1rem; }
.article ul { margin: 1rem 0 1rem 1.4rem; }
.article li + li { margin-top: 0.4rem; }
.article .post-meta { margin-bottom: 2rem; }

.article .bio-box {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: 0.98rem;
  color: var(--muted);
  font-style: italic;
}

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

.contact-block { max-width: 40rem; }
.contact-block p + p { margin-top: 0.9rem; }

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

.site-footer {
  background: var(--navy);
  color: #c8d3dd;
  padding: 2.6rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer .star-row {
  color: var(--gold-bright);
  word-spacing: 1.2em;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
}

.site-footer p + p { margin-top: 0.5rem; }
.site-footer a { color: var(--gold-bright); }

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

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; justify-items: center; }
  .hero { padding: 3.5rem 1.2rem 4.5rem; }
  .btn.ghost { margin-left: 0; margin-top: 0.8rem; }
  .site-nav { gap: 0.9rem; }
}

/* ---------- Social icons ---------- */

.social-row {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  margin-bottom: 1.3rem;
}

.social-row a {
  color: var(--gold-bright);
  display: inline-flex;
  width: 26px;
  height: 26px;
  transition: color 0.2s ease;
}

.social-row a:hover { color: var(--paper); }
.social-row svg { width: 100%; height: 100%; }

/* ---------- Article hero image ---------- */

.article .hero-img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
  margin: 0 0 1.8rem;
}

/* ---------- About side column (headshot + badge) ---------- */

.about-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
}

.about-side .badge {
  width: 120px;
  height: auto;
}
