/* Coherence Partners — shared site styles
   Palette pixel-sampled 2026-07-13 from the locked parent mark asset (assets/parent-mark-full.png,
   the actual locked Canva DAHPG0KO4iY export) — supersedes the earlier visual-estimate palette:
   cream #F4EDDD · terracotta #D87848 · rust #A84828 · slate #384858 · navy #081830 · rule #D9946B (still estimated — not reliably present in the sampled asset)
*/

:root {
  --cream: #F4EDDD;
  --cream-warm: #EEE5D2;
  --terracotta: #D87848;
  --rust: #A84828;
  --slate: #384858;
  --navy: #081830;
  --rule: #D9946B;
  --ink: #201B14;
  --ink-soft: #55524A;
  --border: rgba(8, 24, 48, 0.12);
  --max: 1120px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--navy, #081830);
  color: var(--cream, #F4EDDD);
}
.btn-primary:hover { background: #16324c; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--navy, #081830);
  border-color: var(--navy, #081830);
}
.btn-secondary:hover { background: rgba(8, 24, 48,0.06); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 237, 221, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 34px; height: auto; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1;
}
.brand-word small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--slate);
  margin-top: 3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.78;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav .btn-primary { color: var(--cream, #F4EDDD); opacity: 1; }
.main-nav .btn-primary:hover { opacity: 1; }
.nav-links { display: flex; gap: 30px; }
.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero-sub {
  font-size: 1.08rem;
  max-width: 44ch;
  margin-bottom: 1.8em;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(8, 24, 48,0.35);
  border: 1px solid var(--border);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-cream { background: var(--cream); }
.section-warm { background: var(--cream-warm); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy p { color: rgba(244, 237, 221,0.78); }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  width: 56px;
  height: 2px;
  background: var(--rule);
  border: none;
  margin: 0 0 24px;
}
.center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Grids / Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px 28px;
}
.card-flat {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px 28px;
  background: var(--cream);
}
.card .num, .card-flat .num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--rust);
  margin-bottom: 10px;
}
.card h3, .card-flat h3 { margin-bottom: 0.5em; }
.card p, .card-flat p { margin-bottom: 0; font-size: 0.96rem; }

.value-card {
  border-left: 3px solid var(--rule);
  padding-left: 20px;
}
.value-card h3 { margin-bottom: 0.35em; font-size: 1.15rem; }
.value-card p { font-size: 0.95rem; }

/* ---------- Split with image/mark ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}
.split.reverse .split-media { order: 2; }

.stat-line { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.stat-line div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--navy);
}
.stat-line div span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--cream); max-width: 26ch; margin: 0 auto 0.5em; }
.cta-band p { color: rgba(244, 237, 221,0.75); max-width: 50ch; margin: 0 auto 28px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-secondary { color: var(--cream); border-color: rgba(244, 237, 221,0.5); }
.cta-band .btn-secondary:hover { background: rgba(244, 237, 221,0.08); }
.cta-band .btn-primary { background: var(--rust); }
.cta-band .btn-primary:hover { background: #a04d2c; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(244, 237, 221,0.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 237, 221,0.14);
}
@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.footer-top h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-top a {
  display: block;
  text-decoration: none;
  color: rgba(244, 237, 221,0.75);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-top a:hover { color: var(--cream); }
.footer-brand .brand-word { color: var(--cream); }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; margin-top: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(244, 237, 221,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { color: var(--rust); }
.page-hero p.lede { font-size: 1.1rem; max-width: 60ch; }

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

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rust);
}
textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.08em;
}
