/* Collective Counsel — shared styles
   Warm coaching palette: terracotta brand, sage accent, cream backgrounds
   Serif display (Fraunces) + humanist sans (Inter) body
*/

:root {
  --ink: #2a2420;
  --ink-soft: #433a33;
  --muted: #6b5d54;
  --bg: #faf6f1;
  --bg-alt: #f3ebe0;
  --card: #ffffff;
  --line: #e8dfd4;
  --brand: #c17b5c;
  --brand-dark: #9d5c3f;
  --brand-soft: #f5e4d8;
  --accent: #5a7d6f;
  --accent-dark: #3e5b50;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(42, 36, 32, 0.07);
  --shadow-lg: 0 24px 60px rgba(42, 36, 32, 0.10);
  --maxw: 1180px;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

a { color: var(--brand-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-dark); }

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

.container { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; }

/* Display type */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
  font-variation-settings: 'opsz' 40, 'SOFT' 30;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-variation-settings: 'opsz' 144, 'SOFT' 50; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 16px; color: var(--muted); }
p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 62ch; }

/* ==== Top nav ==== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(193, 123, 92, 0.10);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.brand-sub {
  font-size: 0.78rem;
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.96rem;
}
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--brand-dark); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.nav .btn { padding: 10px 18px; }

/* ==== Buttons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(193, 123, 92, 0.28); }
.btn.primary:hover { background: var(--brand-dark); transform: translateY(-1px); color: #fff; }
.btn.secondary { background: #fff; color: var(--accent-dark); border-color: var(--line); }
.btn.secondary:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--ink-soft); }
.btn.ghost:hover { color: var(--brand-dark); }

/* ==== Eyebrow / Pills ==== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.eyebrow.sage { background: #e3ede8; color: var(--accent-dark); }
.pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.pill.sage { background: #e3ede8; color: var(--accent-dark); }

/* ==== Sections ==== */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }

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

/* ==== Cards & panels ==== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid rgba(193, 123, 92, 0.06);
}
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card h3 { margin-top: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==== Hero ==== */
.hero {
  padding: 88px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(193, 123, 92, 0.12), transparent 60%),
    radial-gradient(500px 380px at 10% 90%, rgba(90, 125, 111, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-art {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, #e8cdbd 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #b9d0c6 0%, transparent 55%),
    linear-gradient(135deg, #f5e4d8 0%, #e3ede8 100%);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px);
}
.hero-art-quote {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.45;
}
.hero-art-quote span { display: block; margin-top: 8px; font-family: 'Inter', sans-serif; font-style: normal; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-dark); font-weight: 600; }

/* ==== CTA row ==== */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 8px;
}

/* ==== Feature / Service grids ==== */
.feature {
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(193, 123, 92, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand-dark);
}
.feature .icon.sage { background: #e3ede8; color: var(--accent-dark); }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { font-size: 0.98rem; margin: 0; }

/* ==== Lists ==== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  padding: 14px 0 14px 32px;
  border-top: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}
.checklist li:first-child { border-top: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 20px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
}
.checklist li::after {
  content: '';
  position: absolute;
  left: 6px; top: 24px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  transform: rotate(45deg);
}

/* ==== Stat / Step ==== */
.step {
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(193, 123, 92, 0.06);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* ==== Testimonial ==== */
.testimonial {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  border: 1px solid var(--line);
}
.testimonial::before {
  content: '"';
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  color: var(--brand);
  opacity: 0.22;
  position: absolute;
  top: -8px;
  left: 20px;
  line-height: 1;
}
.testimonial blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 20px;
  font-style: italic;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-dark);
}

/* ==== CTA band ==== */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: rgba(255,255,255,0.86); margin: 0; max-width: 52ch; }
.cta-band .btn.primary { background: #fff; color: var(--accent-dark); box-shadow: none; }
.cta-band .btn.primary:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* ==== Footer ==== */
footer {
  margin-top: 80px;
  padding: 56px 0 40px;
  background: #2a2420;
  color: rgba(255,255,255,0.78);
}
footer a { color: rgba(255,255,255,0.85); }
footer a:hover { color: var(--brand-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
}
.footer-grid p, .footer-grid a { font-size: 0.96rem; line-height: 1.8; }
.footer-brand { color: #fff; font-family: 'Fraunces', serif; font-size: 1.3rem; margin-bottom: 10px; display: block; }
.footer-brand-sub { color: var(--brand-soft); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; display: block; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: 4px 0; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}

/* ==== Mobile nav toggle ==== */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ==== Contact block ==== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 18px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.contact-row .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-dark);
}
.contact-row strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.contact-row p { margin: 0; color: var(--ink-soft); }
.contact-row a { color: var(--brand-dark); font-weight: 500; }

/* ==== Form ==== */
form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
form input, form textarea, form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(193, 123, 92, 0.15);
}
form .field { margin-bottom: 16px; }
form textarea { min-height: 140px; resize: vertical; }

/* ==== Responsive ==== */
@media (max-width: 960px) {
  .hero { padding: 56px 0 32px; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav a:hover, .nav a.active { background: var(--brand-soft); }
  .nav a.active::after { display: none; }
  .nav .btn { align-self: flex-start; margin-top: 6px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .topbar-inner { position: relative; }
  section { padding: 48px 0; }
  .card, .feature, .step { padding: 24px; }
  .testimonial { padding: 28px; }
}

/* ==== Utilities ==== */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
