/* ============================================================
   Charmaine Dollar LLC — Brand Stylesheet
   ============================================================ */

:root {
  --navy: #10203A;
  --navy-deep: #0A1626;
  --navy-soft: #1B3157;
  --gold: #B98A32;
  --gold-light: #D9B36C;
  --cream: #FAF6EE;
  --cream-deep: #F1E9D8;
  --charcoal: #23262B;
  --ink-soft: #565C66;
  --white: #FFFFFF;
  --border: #E4DAC3;
  --shadow: 0 20px 50px -20px rgba(10, 22, 38, 0.25);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; color: var(--charcoal); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9em;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  white-space: nowrap;
  color: var(--navy);
}

.brand-tagline {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 3px;
  border-bottom: none !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

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

@media (max-width: 860px) {
  .brand { font-size: 1.02rem; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    display: none;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(217, 179, 108, 0.25);
  border-radius: 50%;
}

.hero-inner { max-width: 720px; position: relative; z-index: 1; }

.hero h1 { color: var(--white); }

.hero .lede {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 96px 0 72px;
}

.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; font-size: 1.08rem; }

/* ---------- Pillars / Cards ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 34px 28px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.pillar-card:hover { transform: translateY(-4px); }

.pillar-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.pillar-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.pillar-card li { margin-bottom: 6px; }

/* ---------- Generic sections ---------- */
.section-alt { background: var(--cream-deep); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }

.section-head { max-width: 700px; margin-bottom: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 20px;
  border-left: 2px solid var(--gold);
}

.stat .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--navy);
  font-weight: 700;
}
.section-navy .stat .num { color: var(--gold-light); }

.stat .label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-navy .stat .label { color: rgba(255,255,255,0.7); }

/* ---------- Cards / lists ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  background: var(--cream-deep);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 0 8px 8px 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px 24px;
}

.audience-card h4 {
  font-family: var(--serif);
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.audience-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 24px;
}
.divider.center { margin-left: auto; margin-right: auto; }

.placeholder-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cream-deep);
  color: var(--ink-soft);
  border: 1px dashed var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

.book-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 760px) {
  .book-layout { grid-template-columns: 1fr; }
}

.book-cover {
  aspect-ratio: 2/3;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,179,108,0.3);
}

.book-cover-photo {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,179,108,0.3);
}

.portrait-photo {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,179,108,0.3);
}

.portrait-standalone-wrap {
  display: flex;
  justify-content: center;
}

.portrait-standalone {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 845/1200;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,179,108,0.3);
}

.book-cover-inner {
  color: var(--white);
  font-family: var(--serif);
}
.book-cover-inner .title { font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.book-cover-inner .rule { width: 36px; height: 2px; background: var(--gold); margin: 14px auto; }
.book-cover-inner .author { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy-soft));
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
}

.site-footer p {
  color: rgba(255,255,255,0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-weight: 700;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--gold-light); }

.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy);
  margin: 32px 0;
}
.section-navy .quote-block { color: var(--white); }
