/* ==========================================================================
   PCOS Bloom — Design System
   Palette ratio: 60% cream/neutrals · 25% sage · 10% dusty rose · 5% plum
   ========================================================================== */

:root {
  /* Cream / Neutrals (60%) */
  --cream: #FAF7F2;
  --cream-mid: #F5F1EA;
  --cream-deep: #EFE6DD;

  /* Sage Green (25%) */
  --sage: #9CAF88;
  --sage-dark: #7E946E;
  --sage-light: #DCE5D7;

  /* Dusty Rose (10%) */
  --rose: #C98C8C;
  --rose-dark: #B27070;
  --rose-light: #EBD3D3;

  /* Plum Accent (5%) */
  --plum: #5C4351;
  --plum-deep: #46333E;

  /* Text */
  --ink: #3F3A37;
  --ink-soft: #6B625C;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(70, 51, 62, 0.08);
  --shadow-hover: 0 16px 40px rgba(70, 51, 62, 0.14);
  --container: 1140px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose-dark); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--plum); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--plum-deep);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 15px 34px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-primary { background: var(--rose-dark); color: #fff; }
.btn-primary:hover { background: var(--plum); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { border-color: var(--sage-dark); color: var(--sage-dark); background: transparent; }
.btn-outline:hover { background: var(--sage-dark); color: #fff; }
.btn-light { background: var(--cream); color: var(--plum); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo img { height: 54px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--rose);
  transition: width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--rose-dark); }
.nav-cta { background: var(--sage-dark); color: #fff !important; padding: 10px 24px; border-radius: 50px; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--plum); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--plum);
  margin: 6px 0;
  transition: all .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background: var(--cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.jpg") right center / contain no-repeat;
  opacity: .14;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-illustration {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  mix-blend-mode: multiply; /* melts white bg into the cream section */
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 em { font-style: italic; color: var(--rose-dark); }
.hero p.lead {
  margin: 24px 0 36px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; min-height: 380px; }
.blob {
  position: absolute;
  border-radius: 50%;
}
.hero-note {
  margin-top: 28px;
  font-size: .88rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-note svg { flex-shrink: 0; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--sage-light);
  padding: 26px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--plum-deep);
}
.trust-items span { display: flex; align-items: center; gap: 10px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.pillar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.pillar-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 22px;
}
.pillar-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.pillar-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.pillar-card p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- Blog cards ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.post-thumb {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 12px;
}
.post-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--plum-deep); }
.post-card h3 a:hover { color: var(--rose-dark); }
.post-card p { font-size: .95rem; color: var(--ink-soft); flex: 1; }
.read-more {
  margin-top: 20px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- Split / About teaser ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-art {
  border-radius: var(--radius-lg);
  min-height: 400px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Lead magnet / newsletter ---------- */
.lead-magnet {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lead-magnet h2 { color: #fff; }
.lead-magnet p { color: rgba(255,255,255,.9); max-width: 520px; margin: 18px 0 30px; }

.signup-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 520px; }
.signup-form input {
  flex: 1;
  min-width: 220px;
  padding: 15px 24px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .98rem;
  color: var(--ink);
  background: #fff;
}
.signup-form input:focus { outline: 3px solid var(--rose-light); }

/* Kit (ConvertKit) embedded form */
.kit-form { max-width: 560px; }
.newsletter-band .kit-form { margin: 0 auto; }
.lead-magnet .kit-form { position: relative; z-index: 1; }
.form-msg { margin-top: 14px; font-size: .92rem; font-weight: 500; display: none; }
.form-note { font-size: .82rem; opacity: .85; margin-top: 14px; }

.newsletter-band { background: var(--rose-light); }
.newsletter-band .signup-form input { background: #fff; }
.newsletter-band h2 { color: var(--plum-deep); }
.newsletter-band p { color: var(--ink-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--cream-mid);
  padding: 80px 0 64px;
  text-align: center;
}
.page-hero p { max-width: 620px; margin: 18px auto 0; color: var(--ink-soft); }

/* ---------- Article ---------- */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}
.article-wrap .post-meta { margin-bottom: 18px; }
.article-wrap h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: 22px; }
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--cream-deep);
  font-size: .92rem;
  color: var(--ink-soft);
}
.byline-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--rose-dark);
  font-weight: 600;
}
.article-hero {
  margin: 0 0 44px;
}
.article-hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.article-body h2 { margin: 48px 0 18px; font-size: 1.8rem; }
.article-body h3 { margin: 36px 0 14px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 500; color: var(--plum-deep); }

.callout {
  background: var(--sage-light);
  border-left: 4px solid var(--sage-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
  font-size: .98rem;
}
.callout.rose { background: var(--rose-light); border-color: var(--rose-dark); }

.disclaimer {
  background: var(--cream-mid);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: .86rem;
  color: var(--ink-soft);
  margin: 48px 0 0;
}

.references {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-deep);
  font-size: .88rem;
  color: var(--ink-soft);
}
.references h2 { font-size: 1.3rem; margin-bottom: 14px; }
.references ol { margin-left: 20px; }
.references li { margin-bottom: 8px; overflow-wrap: break-word; }

.author-box {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 56px 0;
  align-items: flex-start;
}
.author-box .byline-avatar { width: 64px; height: 64px; font-size: 1.6rem; flex-shrink: 0; }
.author-box h3 { margin-bottom: 8px; }
.author-box p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- Founder story (About) ---------- */
.hero-accent { color: var(--rose-dark); font-weight: 500; }
.lead-para {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--plum-deep);
  margin-bottom: 28px;
}
.story-divider {
  display: block;
  width: 80px;
  height: auto;
  margin: 44px auto;
  color: var(--sage-dark);
}
.pull-quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
}
.pull-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.15rem + 1.2vw, 1.9rem);
  line-height: 1.45;
  color: var(--plum-deep);
  margin: 0;
}
.pull-quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose-dark);
}
.diff-item {
  max-width: 720px;
  border-left: 2px solid var(--sage);
  padding-left: 26px;
  margin-bottom: 40px;
}
.diff-item:last-child { margin-bottom: 0; }
.diff-item h3 { margin-bottom: 10px; }
.diff-item p { color: var(--ink-soft); }
.affirm {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.15rem + 1.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--plum-deep);
  text-align: center;
  margin: 44px 0 0;
  padding: 46px 30px;
  background: linear-gradient(180deg, var(--cream-mid), var(--cream-deep));
  border-radius: var(--radius);
  position: relative;
}
.affirm::before, .affirm::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 40px;
  height: 1px;
  background: var(--rose);
  transform: translateX(-50%);
}
.affirm::before { top: 22px; }
.affirm::after { bottom: 22px; }
.welcome-line {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  color: var(--rose-dark);
  text-align: center;
  margin-top: 36px;
}
.cta-wrap { text-align: center; margin-top: 40px; }
.story-photo {
  max-width: 860px;
  margin: 0 auto 52px;
}
.story-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}
.story-prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-soft);
}
.story-prose p { margin-bottom: 22px; }
.story-prose strong { color: var(--plum-deep); font-weight: 500; }
.story-close {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--plum-deep);
  line-height: 1.4;
  margin-top: 36px;
}
.story-welcome {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--rose-dark);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-form { display: grid; gap: 18px; }
.contact-form label { font-size: .9rem; font-weight: 500; color: var(--plum-deep); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .98rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--sage);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--plum-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--rose); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 28px 24px; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-deep);
  color: rgba(255,255,255,.8);
  padding: 72px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .92rem; max-width: 320px; margin-top: 18px; }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.footer-social a:hover {
  background: var(--rose);
  border-color: var(--rose);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 17px; height: 17px;
  fill: rgba(255,255,255,.85);
}
.footer-social a:hover svg { fill: #fff; }
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: #fff;
  letter-spacing: .12em;
}
.footer-logo span { color: var(--rose); }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .94rem; }
.site-footer a:hover { color: var(--rose-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 28px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Animation initial states (GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(36px); }
.no-js .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .lead-magnet { padding: 52px 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 24px;
    border-bottom: 1px solid var(--cream-deep);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; padding: 12px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
