:root {
  --bg: #0c0e10;
  --ink: #e8e6e1;
  --muted: #9a978f;
  --body: #c4c1b9;
  --green: #6fa08a;
  --line: rgba(232, 230, 225, 0.14);
  --sans: "Space Grotesk", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

main > :last-child { flex: 1; }

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

a:hover { color: var(--green); }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.nav-links a.active { color: var(--ink); }

.nav-links a:hover { color: var(--green); }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 48px 96px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(70, 110, 90, 0.22), transparent);
}

.eyebrow {
  position: relative;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 30px;
}

.hero h1 {
  position: relative;
  margin: 0;
  font-weight: 500;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
  text-wrap: pretty;
}

.hero-sub {
  position: relative;
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.pillar {
  padding: 40px 48px;
  border-right: 1px solid var(--line);
  display: block;
}

.pillar:last-child { border-right: none; }

.pillar-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  margin-bottom: 16px;
  letter-spacing: 0.12em;
}

.pillar-text {
  font-size: 18px;
  line-height: 1.45;
}

/* ---------- Firm ---------- */

.firm {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 48px;
  padding: 88px 48px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 20px;
}

.firm h2 {
  margin: 0;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.firm-body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 640px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
}

.firm-body p { margin: 0; }

/* ---------- Subpage hero ---------- */

.page-hero {
  padding: 96px 48px 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  position: relative;
  margin: 0;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 860px;
  text-wrap: pretty;
}

.glow-bl {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 15% 100%, rgba(70, 110, 90, 0.16), transparent);
}

/* ---------- Cell grid (approach / capabilities) ---------- */

.grid-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
  padding: 64px 48px 40px;
}

.cell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.cell {
  padding: 40px 48px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.cell:nth-child(3n) { border-right: none; }

.cell-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 16px;
}

.cell-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

/* ---------- Split prose section ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 48px;
  padding: 72px 48px;
  border-bottom: 1px solid var(--line);
}

.split h2 {
  margin: 0;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.split-body {
  max-width: 640px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--body);
}

.split-body p { margin: 0; }

/* ---------- Statement band ---------- */

.statement {
  padding: 80px 48px;
  border-bottom: 1px solid var(--line);
}

.statement p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 700px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.contact-hero {
  padding: 96px 48px;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.contact-hero h1 {
  position: relative;
  margin: 0;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 560px;
  text-wrap: pretty;
}

.contact-blocks {
  display: flex;
  flex-direction: column;
}

.contact-block {
  padding: 44px 48px;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-child { border-bottom: none; }

.contact-email {
  font-size: 22px;
  font-weight: 500;
}

.contact-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 48px;
}

.site-footer span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.footer-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 26px;
}

.footer-cta:hover {
  background: var(--green);
  color: var(--bg);
}

.footer-next {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header { padding: 20px 24px; flex-wrap: wrap; gap: 14px; }
  .nav-links { gap: 18px; flex-wrap: wrap; }
  .hero { padding: 70px 24px 64px; }
  .hero h1 { font-size: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 24px; }
  .pillar:last-child { border-bottom: none; }
  .firm { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px; }
  .site-footer { padding: 28px 24px; flex-wrap: wrap; gap: 16px; }
  .page-hero { padding: 64px 24px 56px; }
  .page-hero h1 { font-size: 38px; }
  .grid-head { padding: 48px 24px 28px; }
  .cell-grid { grid-template-columns: 1fr; }
  .cell { border-right: none; padding: 32px 24px; }
  .split { grid-template-columns: 1fr; gap: 28px; padding: 56px 24px; }
  .statement { padding: 56px 24px; }
  .statement p { font-size: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero { border-right: none; border-bottom: 1px solid var(--line); padding: 64px 24px; }
  .contact-hero h1 { font-size: 36px; }
  .contact-block { padding: 36px 24px; }
}
