/* ============================================================
   LEGALLY EMPOWERED — Shared Stylesheet
   Brand palette: F2EBDF / AA78BF / 1C3D59 / B0B6D9 / 0D0D0D
   ============================================================ */

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

:root {
  --cream:        #F2EBDF;
  --purple:       #AA78BF;
  --purple-dark:  #8A5A9F;
  --purple-deep:  #5C3A7A;
  --navy:         #1C3D59;
  --navy-dark:    #122840;
  --navy-mid:     #1E4568;
  --periwinkle:   #B0B6D9;
  --peri-light:   #D8DCF0;
  --ink:          #0D0D0D;
  --cream-soft:   #FAF7F2;
  --white:        #FFFFFF;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream-soft);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

/* ── Logo colour contexts ── */
.logo-white       { color: #ffffff; }
.logo-navy        { color: var(--navy); }
.logo-white-faint { color: rgba(255,255,255,0.35); }
.logo-navy-faint  { color: var(--navy); opacity: 0.12; }

.logo-nav    { width: 24px;  height: 40px;  flex-shrink: 0; }
.logo-hero   { width: 170px; height: 285px; }
.logo-wm     { width: 80px;  height: 134px; flex-shrink: 0; }
.logo-footer { width: 20px;  height: 33px;  flex-shrink: 0; }
.logo-page   { width: 110px; height: 184px; }
.logo-founder{ width: 70px;  height: 117px; }

/* ── Navigation ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3.5rem;
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(170,120,191,0.18);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-wordmark { display: flex; flex-direction: column; gap: 2px; }
.nav-wordmark span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.26em;
  font-size: 0.65rem;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
}
.nav-wordmark span:last-child { color: rgba(255,255,255,0.45); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--periwinkle); }
.nav-cta {
  background: var(--purple);
  color: #fff;
  padding: 0.55rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  border-radius: 1px;
}
.nav-cta:hover { background: var(--purple-dark); }

/* ── Buttons ── */
.btn-purple {
  background: var(--purple); color: #fff;
  padding: 0.9rem 2.2rem; font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s;
  display: inline-block; border-radius: 1px;
}
.btn-purple:hover { background: var(--purple-dark); transform: translateY(-2px); }

.btn-navy {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 0.85rem 2rem; font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 1px; transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy-mid); }

.btn-cream {
  background: var(--cream); color: var(--purple-deep);
  padding: 0.88rem 2rem; font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 1px; transition: background 0.2s; white-space: nowrap;
}
.btn-cream:hover { background: #fff; }

.btn-ol-cream {
  border: 1px solid rgba(242,235,223,0.35); color: rgba(255,255,255,0.75);
  padding: 0.88rem 2rem; font-size: 0.73rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 1px; transition: all 0.2s; white-space: nowrap;
}
.btn-ol-cream:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); }

.btn-ghost-peri {
  border: 1px solid rgba(176,182,217,0.35); color: var(--periwinkle);
  padding: 0.9rem 2.2rem; font-size: 0.73rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s; border-radius: 1px;
}
.btn-ghost-peri:hover { background: rgba(176,182,217,0.08); border-color: var(--periwinkle); }

.btn-outline-navy {
  border: 1px solid rgba(28,61,89,0.3); color: var(--navy);
  padding: 0.85rem 2rem; font-size: 0.73rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 1px; transition: all 0.2s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.link-und {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--navy); font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid rgba(28,61,89,0.28);
  padding-bottom: 2px; transition: all 0.2s;
}
.link-und:hover { color: var(--purple); border-color: var(--purple); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--navy-dark);
  padding: 6rem 3.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  background: radial-gradient(ellipse at right center, rgba(170,120,191,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-left { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--periwinkle); }
.breadcrumb span { color: var(--periwinkle); }
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300; color: #fff;
  line-height: 1.05; margin-bottom: 1.5rem;
}
.page-title em { font-style: italic; color: var(--purple); }
.page-subtitle {
  color: rgba(255,255,255,0.78); font-size: 0.92rem;
  line-height: 1.85; max-width: 520px; font-weight: 300;
}

/* ── Section tags & headings ── */
.sec-tag {
  font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--purple); font-weight: 500; margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 8px;
}
.sec-tag::after { content: ''; flex: 0 0 20px; height: 1px; background: var(--purple); opacity: 0.5; }

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--ink); line-height: 1.15;
}
.section-heading-light { color: #fff; }
.section-heading-navy  { color: var(--navy); }

/* ── Stats bar ── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--navy); }
.stat-cell { padding: 2.2rem 1.5rem; text-align: center; border-right: 1px solid rgba(176,182,217,0.1); }
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 400; color: var(--periwinkle);
  display: block; line-height: 1;
}
.stat-label {
  font-size: 0.67rem; color: rgba(255,255,255,0.72);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-top: 7px; display: block; font-weight: 300;
}

/* ── Content layout (main + sidebar) ── */
.content-wrap { display: grid; grid-template-columns: 1fr 300px; background: var(--cream-soft); }
.content-main { padding: 5rem 4rem 5rem 3.5rem; border-right: 1px solid rgba(28,61,89,0.08); }
.content-sidebar { padding: 5rem 3rem; }
.content-section { margin-bottom: 4rem; }
.content-section h2, .content-section h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--navy);
  line-height: 1.15; margin-bottom: 1.2rem;
}
.content-section p { font-size: 0.88rem; color: #5a5a5a; line-height: 1.9; margin-bottom: 1rem; font-weight: 300; }

/* ── Sidebar cards ── */
.sc { background: #fff; border: 1px solid rgba(28,61,89,0.09); padding: 2rem; margin-bottom: 2rem; border-radius: 2px; }
.sc h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
.sc p { font-size: 0.82rem; color: #666; line-height: 1.75; margin-bottom: 1rem; font-weight: 300; }
.sc.navy { background: var(--navy); border-color: var(--navy); }
.sc.navy h3 { color: #fff; }
.sc.navy p { color: rgba(255,255,255,0.6); }
.sc.purple { background: var(--purple); border-color: var(--purple); }
.sc.purple h3 { color: #fff; }
.sc.purple p { color: rgba(255,255,255,0.7); }
.sc-label { font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple); font-weight: 500; display: block; margin-bottom: 2px; }
.sc-val { font-size: 0.84rem; color: var(--navy); font-weight: 400; }
.sc-div { height: 1px; background: rgba(28,61,89,0.08); margin: 1.2rem 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.tag { background: rgba(176,182,217,0.2); color: var(--navy); font-size: 0.72rem; padding: 4px 10px; border-radius: 20px; }
.btn-cream-full {
  display: block; text-align: center; background: var(--cream); color: var(--purple-deep);
  padding: 0.85rem; font-size: 0.73rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; border-radius: 1px;
  transition: background 0.2s; margin-top: 1.2rem;
}
.btn-cream-full:hover { background: #fff; }
.btn-purple-full {
  display: block; text-align: center; background: var(--purple); color: #fff;
  padding: 0.85rem; font-size: 0.73rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; border-radius: 1px;
  transition: background 0.2s; margin-top: 1rem;
}
.btn-purple-full:hover { background: var(--purple-dark); }

/* ── CTA band ── */
.cta-band {
  background: var(--purple); padding: 5.5rem 3.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: #fff; line-height: 1.1; }
.cta-band h2 em { font-style: italic; color: var(--peri-light); }
.cta-right p { color: rgba(255,255,255,0.62); font-size: 0.89rem; line-height: 1.82; margin-bottom: 2rem; font-weight: 300; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ── */
footer { background: var(--ink); padding: 4rem 3.5rem 2rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand-top { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,0.72); font-size: 0.79rem; line-height: 1.82; max-width: 240px; font-weight: 300; }
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 0.83rem; color: var(--periwinkle);
  margin-bottom: 1.2rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.74); font-size: 0.79rem; text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col ul li a:hover { color: var(--periwinkle); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.62); font-size: 0.71rem; font-weight: 300; }

/* ── Pill / dot utilities ── */
.pillar-dot { width: 36px; height: 36px; border-radius: 50%; margin-bottom: 1.2rem; display: flex; align-items: center; justify-content: center; }
.pd-p  { background: rgba(170,120,191,0.12); }
.pd-n  { background: rgba(28,61,89,0.09); }
.pd-pe { background: rgba(176,182,217,0.2); }
.pd-c  { background: rgba(170,120,191,0.07); }
.pillar-dot svg { width: 18px; height: 18px; stroke-width: 1.5; stroke-linecap: round; fill: none; }

/* ── Divider line ── */
.rule { height: 1px; background: rgba(28,61,89,0.1); margin: 3rem 0; }
.rule-light { height: 1px; background: rgba(255,255,255,0.1); margin: 2rem 0; }

/* ── Animations ── */
@keyframes fadeUp  { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
.anim-up   { animation: fadeUp 0.6s ease both; }
.anim-in   { animation: fadeIn 0.8s ease both; }

/* ============================================================
   MOBILE & RESPONSIVE — breakpoints: 1024px, 768px, 480px
   ============================================================ */

/* ── Hamburger menu (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {

  /* Nav */
  nav { padding: 1rem 2rem; }

  /* Hero */
  .page-hero { padding: 4rem 2rem 3.5rem; grid-template-columns: 1fr; }
  .page-hero .logo-page { display: none; }
  .page-title { font-size: 3rem; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }

  /* Content layout */
  .content-wrap { grid-template-columns: 1fr; }
  .content-main { padding: 3rem 2rem; border-right: none; border-bottom: 1px solid rgba(28,61,89,0.08); }
  .content-sidebar { padding: 3rem 2rem; }

  /* CTA band */
  .cta-band { padding: 4rem 2rem; grid-template-columns: 1fr; gap: 2rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  footer { padding: 3rem 2rem 1.5rem; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {

  /* ---- NAV ---- */
  nav { padding: 1rem 1.5rem; position: fixed; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 62px;
    left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(170,120,191,0.2);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav-cta { display: none; }
  .nav-mobile-cta {
    display: block;
    margin: 1rem 1.5rem 0;
    text-align: center;
    background: var(--purple);
    color: #fff;
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 1px;
  }

  /* ---- BODY OFFSET for fixed nav ---- */
  body { padding-top: 62px; }

  /* ---- PAGE HERO ---- */
  .page-hero { padding: 3rem 1.5rem 2.5rem; }
  .page-title { font-size: 2.4rem; margin-bottom: 1rem; }
  .page-subtitle { font-size: 0.88rem; }
  .breadcrumb { font-size: 0.65rem; }

  /* ---- STATS ---- */
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-cell { padding: 1.5rem 1rem; }
  .stat-num { font-size: 2rem; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid rgba(176,182,217,0.1); }
  .stat-cell:nth-child(4) { border-top: 1px solid rgba(176,182,217,0.1); border-right: none; }

  /* ---- CONTENT ---- */
  .content-main { padding: 2.5rem 1.5rem; }
  .content-sidebar { padding: 2rem 1.5rem; }
  .content-section { margin-bottom: 2.5rem; }
  .content-section h2 { font-size: 1.7rem; }

  /* ---- SIDEBAR CARDS ---- */
  .sc { padding: 1.5rem; }

  /* ---- CTA BAND ---- */
  .cta-band { padding: 3rem 1.5rem; gap: 1.5rem; }
  .cta-band h2 { font-size: 2rem; }
  .cta-btns { flex-direction: column; }
  .cta-btns a { text-align: center; }

  /* ---- FOOTER ---- */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* ---- SECTION HEADINGS ---- */
  .section-heading { font-size: 1.8rem; }
}

/* ── SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .page-title { font-size: 2rem; }
  .stat-num { font-size: 1.75rem; }
  .cta-band h2 { font-size: 1.75rem; }
  .content-section h2 { font-size: 1.5rem; }
}

