/* Avocation Investments — site styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #14232b;
  --ink-soft: #3d5059;
  --teal: #157e7b;
  --teal-dark: #0e5a58;
  --orange: #e8722a;
  --paper: #ffffff;
  --mist: #f4f2ec;
  --line: #e2ded4;
  --radius: 10px;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; }

a { color: var(--teal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { display: block; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); letter-spacing: -0.01em;
}
.brand-name .accent { color: var(--teal); }

.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.95rem; font-weight: 500;
}
.nav a:hover { color: var(--teal-dark); }
.nav a.active { color: var(--orange); }
.nav a.btn { color: #fff; }

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

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline {
  border: 2px solid var(--teal); color: var(--teal-dark); background: transparent;
}
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #cf5f1c; }

/* Hero */
.hero { padding: 90px 0 70px; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.02em; max-width: 800px;
}
.hero h1 .accent { color: var(--teal); }
.hero p.lede {
  margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 660px;
}
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats band */
.stats {
  background: var(--ink); color: #fff; padding: 44px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat .num {
  font-family: var(--display); font-weight: 700;
  font-size: 2.3rem; color: var(--orange); line-height: 1;
}
.stat .label { margin-top: 8px; font-size: 0.92rem; color: #c9d2d6; }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--mist); }
.section-kicker {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.8rem; color: var(--orange);
}
.section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-top: 10px; letter-spacing: -0.015em;
}
.section .section-intro { margin-top: 16px; max-width: 680px; color: var(--ink-soft); }

/* Card grids */
.cards { display: grid; gap: 22px; margin-top: 38px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.section.alt .card { border-color: #d8d3c6; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.97rem; color: var(--ink-soft); }
.card .card-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--teal-dark); background: rgba(21,126,123,0.1);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}

/* Portfolio */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px;
}
.p-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; background: var(--paper);
  display: block; text-decoration: none; color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.p-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.p-card .p-name {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
}
.p-card .p-exit {
  font-size: 0.8rem; font-weight: 600; color: var(--orange); margin-top: 2px;
}
.p-card .p-desc { font-size: 0.88rem; color: var(--ink-soft); margin-top: 6px; }
.p-note { margin-top: 26px; font-size: 0.9rem; color: var(--ink-soft); }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 38px; }
.person {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; background: var(--paper);
}
.person .headshot {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex;
  align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 1.7rem;
  margin-bottom: 18px;
}
.person.rich .headshot { background: var(--orange); }
.person img.headshot-photo {
  width: 128px; height: 128px; border-radius: 50%;
  object-fit: cover; object-position: center 25%;
  margin-bottom: 18px; border: 4px solid var(--mist); display: block;
}
.person h3 { font-size: 1.3rem; }
.person .role { color: var(--orange); font-weight: 600; font-size: 0.92rem; margin: 4px 0 14px; }
.person p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 12px; }
.person a.li { font-weight: 600; font-size: 0.92rem; }

/* Quote block */
.quote {
  border-left: 4px solid var(--orange); padding: 6px 0 6px 24px;
  margin-top: 34px; max-width: 720px;
}
.quote p { font-size: 1.15rem; font-family: var(--display); font-weight: 500; }

/* Contact form */
.form { max-width: 560px; margin-top: 36px; }
.form label { display: block; font-weight: 600; font-size: 0.92rem; margin: 18px 0 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-family: var(--body); font-size: 1rem;
  background: var(--paper); color: var(--ink);
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--teal); border-color: var(--teal);
}
.form button { margin-top: 24px; border: none; cursor: pointer; font-family: var(--body); }
.form .fine { margin-top: 14px; font-size: 0.85rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--teal); color: #fff; padding: 60px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin-top: 10px; color: #d6ecea; max-width: 620px; }
.cta-band .btn { margin-top: 26px; background: #fff; color: var(--teal-dark); }
.cta-band .btn:hover { background: var(--mist); }

/* Footer */
.site-footer {
  background: var(--ink); color: #aeb9be; padding: 44px 0; font-size: 0.9rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #d5dde0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 860px) {
  .cards.three, .cards.two, .portfolio-grid, .team-grid, .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 24px; gap: 16px; align-items: flex-start;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .cards.three, .cards.two, .portfolio-grid, .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 50px; }
}
