/* Treewater Capital — site.css */
:root {
  --forest: #0c2f24;
  --forest-deep: #071c16;
  --pine: #1a5c45;
  --teal: #2a9d8f;
  --teal-soft: #3dbeb0;
  --cream: #f4f1ea;
  --sand: #e8e2d6;
  --charcoal: #1a1f1c;
  --muted: #5c6b64;
  --white: #ffffff;
  --max: 1080px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(7, 28, 22, 0.18);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); }
a:hover { color: var(--teal); }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--forest); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 241, 234, 0.92);
  border-bottom: 1px solid rgba(12, 47, 36, 0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--forest); }
.brand svg { width: 40px; height: 40px; }
.brand-name { font-weight: 700; letter-spacing: 0.02em; font-size: 1.05rem; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a:focus { color: var(--forest); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.2rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--pine); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border: 1px solid rgba(12,47,36,.25); }
.btn-ghost:hover { border-color: var(--teal); color: var(--pine); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(42,157,143,.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(26,92,69,.35), transparent 50%),
    linear-gradient(165deg, var(--forest-deep) 0%, var(--forest) 45%, #123d32 100%);
  color: var(--cream);
  padding: 5.5rem 0 4.5rem;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 80px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-soft); margin-bottom: 1rem; font-weight: 600;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem); line-height: 1.15; margin: 0 0 1rem;
  max-width: 15ch; font-weight: 700; letter-spacing: -0.02em;
}
.hero-lead { font-size: 1.15rem; max-width: 38rem; color: rgba(244,241,234,.88); margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn-primary { background: var(--teal); color: var(--forest-deep); }
.hero .btn-primary:hover { background: var(--teal-soft); }
.hero .btn-ghost { color: var(--cream); border-color: rgba(244,241,234,.35); }
.hero .btn-ghost:hover { border-color: var(--teal-soft); color: #fff; }

/* Sections */
section { padding: 4.25rem 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 0.5rem; color: var(--forest); letter-spacing: -0.02em; }
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 2rem; }
.grid-3 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
.card {
  background: var(--white);
  border: 1px solid rgba(12,47,36,.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 8px 24px rgba(7,28,22,.05);
}
.card h3 { margin: 0.6rem 0 0.5rem; color: var(--forest); font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(145deg, rgba(42,157,143,.18), rgba(26,92,69,.12));
  display: grid; place-items: center; color: var(--pine);
}
.card a.card-cta { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: none; font-size: 0.9rem; }

.about {
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
}
.about-grid {
  display: grid; gap: 2rem; align-items: start;
  grid-template-columns: 1.1fr 0.9fr;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.quote {
  background: var(--forest); color: var(--cream); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
}
.quote p { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.5; }
.quote cite { font-style: normal; color: var(--teal-soft); font-weight: 600; font-size: 0.9rem; }
.bio-meta { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

.logos {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center;
}
.logos a {
  text-decoration: none; color: var(--forest); font-weight: 600; font-size: 0.92rem;
  padding: 0.55rem 0.9rem; border-radius: 999px; background: var(--white);
  border: 1px solid rgba(12,47,36,.1);
}
.logos a:hover { border-color: var(--teal); color: var(--pine); }

.contact-band {
  background: var(--forest-deep); color: var(--cream); padding: 3.5rem 0;
}
.contact-band h2 { margin: 0 0 0.5rem; color: #fff; }
.contact-band p { color: rgba(244,241,234,.85); max-width: 34rem; }
.contact-band .btn-primary { background: var(--teal); color: var(--forest-deep); margin-top: 1.25rem; }

.site-footer {
  padding: 1.75rem 0 2rem; background: var(--forest-deep); color: rgba(244,241,234,.7); font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.site-footer a { color: var(--teal-soft); text-decoration: none; }
