/* ---------- AmyBaeder.com brand ---------- */
:root {
  --teal: #1ABC9C;          /* matches live site button color rgb(26,188,156) */
  --teal-dark: #16A085;
  --teal-deep: #00AF9D;     /* live site primary CTA color rgb(0,175,157) */
  --pink: #F388A1;          /* accent only — never primary */
  --gold: #EAB512;          /* accent only */
  --ink: #1f2937;
  --muted: #4b5563;
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --rule: #e5e7eb;
  --max: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 1em; }
ul { padding-left: 1.25em; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Header (sections containing the logo MUST NOT use brand colors as bg) ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; }
.site-header .logo img { height: 44px; width: auto; }
.site-header nav { display: flex; gap: 1.5rem; align-items: center; }
.site-header nav a { color: var(--ink); font-weight: 500; }
.site-header nav .btn-teal,
.site-header nav .btn-teal-deep,
.site-header nav .btn-pink { color: #fff; }

/* ---------- Buttons (all CTAs are teal — pink/gold are accents only, never primary) ---------- */
.btn { display: inline-block; padding: .8em 1.6em; border-radius: 4px; font-weight: 600; font-size: 1rem; line-height: 1.2; transition: background .15s; cursor: pointer; border: 0; }
.btn:hover { text-decoration: none; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-teal-deep { background: var(--teal-deep); color: #fff; }
.btn-teal-deep:hover { background: var(--teal-dark); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; padding: calc(.8em - 2px) calc(1.6em - 2px); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 1px solid var(--teal); padding: calc(.8em - 1px) calc(1.6em - 1px); }
.btn-outline-teal:hover { background: var(--teal); color: #fff; text-decoration: none; }

.btn-lg { padding: 1em 2em; font-size: 1.1rem; }

/* ---------- Hero (homepage) — hex pattern bg with white overlay ---------- */
.hero-home {
  background:
    linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)),
    url("/images/hero-hex-bg.jpg") center/cover no-repeat;
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.hero-home .logo img { max-height: 90px; width: auto; margin: 0 auto 2rem; }
.hero-home h1 { max-width: 880px; margin: 0 auto 2rem; }
.hero-home .why { font-weight: 600; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .25rem; }
.hero-home .promise { color: var(--muted); margin-bottom: 1rem; }
.hero-home ul { display: flex; gap: 2rem; justify-content: center; list-style: none; padding: 0; margin: 0 0 2.5rem; flex-wrap: wrap; }
.hero-home ul li { color: var(--ink); font-weight: 500; position: relative; padding-left: 1.4em; }
.hero-home ul.hex-bullets {
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  margin: 0 auto 2.5rem;
  list-style: none;
  padding: 0;
  gap: 0;
}
.hero-home ul.hex-bullets li {
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: .5rem;
  padding: 0;
  font-weight: 500;
  color: var(--ink);
}
.hero-home ul.hex-bullets li::before { content: none; }
.hero-home .hex-mark {
  display: inline-flex;
  width: 1.4em;
  height: 1.4em;
  margin-right: .65em;
  color: var(--teal);
  flex-shrink: 0;
}
.hero-home .hex-mark svg { width: 100%; height: 100%; }

/* ---------- 3-column features (hex-shaped icons via clip-path) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 960px; margin: 3rem auto 0; }
.feature { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 2.5rem 1.5rem 2rem; text-align: center; position: relative; }
.feature::after { content: ""; position: absolute; left: 50%; bottom: calc(50% + .25rem); transform: translateX(-50%); width: 80%; height: 2px; background: var(--teal); opacity: 0; }
.feature .icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 4px rgba(255,255,255,.85); }
.feature .icon svg { width: 28px; height: 28px; color: #fff; }
.feature .icon.teal { background: var(--teal); }
.feature .icon.pink { background: var(--pink); }
.feature .icon.gold { background: var(--gold); }
.feature .underline { display: block; width: 80%; height: 2px; background: var(--teal); margin: 0 auto 1.25rem; opacity: .8; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---------- Authority strip ---------- */
.authority { padding: 2.5rem 0; text-align: center; background: #fff; }
.authority img { max-width: 1100px; margin: 0 auto; opacity: .9; }

/* ---------- About strip ---------- */
.about { padding: 4.5rem 0; background: var(--bg-alt); }
.about .row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about img { border-radius: 8px; }
@media (max-width: 760px) { .about .row { grid-template-columns: 1fr; } }

/* ---------- Programs (cards have logos so the section bg stays neutral) ---------- */
.programs { padding: 4rem 0; background: #fff; }
.program-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
  align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 10px;
  padding: 2.5rem 2rem; margin-bottom: 1.75rem;
}
.program-card.flip { grid-template-columns: 1fr 280px; }
.program-card.flip .copy { order: 1; }
.program-card.flip .visual { order: 2; }
.program-card .visual img { max-width: 100%; max-height: 220px; object-fit: contain; margin: 0 auto; }
.program-card h3 { color: var(--ink); margin-top: 0; font-size: 1.4rem; }
.program-card p { color: var(--muted); }
@media (max-width: 760px) {
  .program-card, .program-card.flip { grid-template-columns: 1fr; }
  .program-card.flip .copy { order: 2; }
  .program-card.flip .visual { order: 1; }
}

/* ---------- Get connected ---------- */
.connected { padding: 4rem 0; }
.connected .row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.connected img { border-radius: 8px; height: 320px; width: 100%; object-fit: cover; }
@media (max-width: 760px) { .connected .row { grid-template-columns: 1fr; } }

/* ---------- Contact band ---------- */
.contact { padding: 4rem 0; background: var(--bg-alt); }
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact ul { list-style: none; padding: 0; }
.contact li { padding: .35rem 0; }
.contact .photo img { border-radius: 8px; height: 280px; width: 100%; object-fit: cover; }
@media (max-width: 760px) { .contact .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 2rem 0; text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--rule); }
.site-footer a { color: var(--muted); margin: 0 .75rem; }

/* ---------- Leader hero (typographic, NO logo image — teal bg is OK) ---------- */
.leader-hero { background: var(--teal-deep); color: #fff; padding: 5rem 0 4.5rem; text-align: center; }
.leader-hero .eyebrow { letter-spacing: .25em; font-weight: 600; text-transform: uppercase; opacity: .9; font-size: 1rem; margin-bottom: .8rem; }
.leader-hero h1 { font-size: 3.2rem; color: #fff; margin: 0 0 .5em; letter-spacing: .03em; font-weight: 700; }
.leader-hero .lead { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 720px; margin: 0 auto 2rem; }

/* ---------- Generic content section ---------- */
.content-section { padding: 4rem 0; }
.content-section h2 { color: var(--ink); margin-bottom: .8rem; }
.content-section.alt { background: var(--bg-alt); }
.content-section.dark { background: var(--teal-deep); color: #fff; }
.content-section.dark h2 { color: #fff; }
.content-section.dark p { color: rgba(255,255,255,.92); }
.content-section .visual img { border-radius: 8px; margin-top: 1.5rem; }
.bullet-list { padding-left: 1.4em; line-height: 1.85; }
.cta-row { text-align: center; margin: 2.5rem 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq summary:hover { color: var(--teal-dark); }
.faq p { margin: .75rem 0 0; color: var(--muted); }

/* ---------- Badge section (when we DO need to show the badge image) ---------- */
.badge-section { padding: 4rem 0; background: #fff; text-align: center; }
.badge-section img { max-width: 360px; margin: 0 auto 1.5rem; }

/* ---------- Blog index ---------- */
.post-list { display: grid; grid-template-columns: 1fr; gap: 2rem; margin: 2rem 0; }
.post-card { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--rule); }
.post-card .post-thumb { display: block; }
.post-card .post-thumb img { width: 100%; height: 175px; border-radius: 8px; object-fit: cover; display: block; }
.post-card .post-meta time { color: var(--muted); font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.post-card .post-meta h2 { font-size: 1.5rem; margin: .35rem 0 .75rem; }
.post-card .post-meta h2 a { color: var(--ink); }
.post-card .post-meta h2 a:hover { color: var(--teal-dark); text-decoration: none; }
.post-card .post-meta p { color: var(--muted); margin-bottom: .75rem; }
.post-card .read-more { font-weight: 600; color: var(--teal-dark); }
.post-card.no-thumb { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .post-card, .post-card.no-thumb { grid-template-columns: 1fr; }
}

/* ---------- Blog post detail ---------- */
.post-header { padding: 4rem 0 2rem; background: var(--bg-alt); }
.post-header .eyebrow { color: var(--muted); font-weight: 500; margin-bottom: .5rem; }
.post-header .eyebrow a { color: var(--muted); }
.post-header h1 { font-size: 2.6rem; max-width: 780px; }
.post-hero { background: var(--bg-alt); padding: 0 0 3rem; }
.post-hero img { max-width: 1080px; margin: 0 auto; border-radius: 8px; }
.post-body { max-width: 720px; padding: 3rem 1.25rem; font-size: 1.1rem; line-height: 1.75; }
.post-body p { margin: 0 0 1.25em; }
.post-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 1.5rem auto; }
.post-body h2 { margin-top: 2rem; }
.post-body h3 { margin-top: 1.75rem; }
.post-body blockquote { border-left: 4px solid var(--teal); margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; color: var(--muted); font-style: italic; }
.post-footer { max-width: 720px; padding: 2rem 1.25rem 4rem; }

.post-header .byline { color: var(--muted); font-weight: 500; margin: .25rem 0 0; font-size: 1.05rem; }
