/* ===========================================================
   Bellewood Partners — styles.css
   Minimal, editorial, whitespace-driven. White background,
   near-black text, a single restrained accent. Edit the
   tokens in :root below to re-theme the whole site at once.
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f3;      /* alternating section background */
  --ink: #15161a;          /* headings / near-black */
  --text: #41454d;         /* body text */
  --muted: #767b85;        /* secondary text */
  --line: #e6e5df;         /* hairline borders */
  --accent: #5b6f57;       /* restrained sage accent */
  --accent-deep: #485a45;
  --container: 1120px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }

.btn-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); }

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  background: var(--ink);
  color: #fff;
}
.btn-small:hover { background: #000; }

.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand span { color: var(--muted); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.95rem; color: var(--text); transition: color 0.15s ease; }
.nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { padding: 7rem 28px 6.5rem; max-width: 880px; }
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.07;
  margin-bottom: 1.4rem;
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-soft); }

.section-head { max-width: 680px; margin: 0 0 3.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Investment Focus ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.focus-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 1.8rem 2.6rem;
  transition: background 0.2s ease;
}
.focus-item:hover { background: var(--bg-soft); }
.focus-item .index {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.focus-item h3 { font-size: 1.3rem; margin: 0.9rem 0 0.6rem; }
.focus-item p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.approach-col { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.approach-col h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.approach-col p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.about-copy p { color: var(--text); }

.checklist { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 2px;
}

.process {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.2rem;
  background: var(--bg-soft);
}
.process-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.process-step { display: flex; gap: 1.1rem; padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.process-step:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.step-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.15rem;
}
.process-step h4 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.process-step p { color: var(--muted); margin: 0; font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.contact-copy p { color: var(--text); }

.contact-details { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.contact-details li { margin-bottom: 1.2rem; }
.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.2rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 111, 87, 0.12);
}
.field textarea { resize: vertical; }

.form-note { margin: 1rem 0 0; font-size: 0.9rem; font-weight: 500; min-height: 1.2em; }
.form-note.success { color: var(--accent-deep); }
.form-note.error { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.6rem 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-note { margin: 0; font-size: 0.85rem; color: var(--muted); max-width: 540px; text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.8rem; }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 28px 1.2rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.25);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 0.85rem 0; }
  .nav .btn { width: 100%; margin-top: 0.5rem; }
  .nav-toggle { display: flex; }
  .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); }
}

@media (max-width: 560px) {
  .focus-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 5rem 28px 4.5rem; }
  .section { padding: 4.5rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}
