:root {
  --bg: #f4f1ea;
  --surface: #fbfaf7;
  --ink: #11161d;
  --muted: #606873;
  --line: rgba(17, 22, 29, .14);
  --dark: #0a0d12;
  --light: #f7f5ef;
  --accent: #8ea9c7;
  --shell: min(1180px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.site-header { width: var(--shell); margin: 0 auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; font-size: 12px; letter-spacing: .06em; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { text-decoration: none; font-size: 14px; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
.nav-contact { color: var(--ink); border-bottom: 1px solid var(--ink); }
.hero, .page-hero { padding: 112px 0 104px; }
.hero { min-height: 660px; display: flex; flex-direction: column; justify-content: center; }
.page-hero { max-width: 980px; margin-left: max(24px, calc((100vw - 1180px)/2)); }
.eyebrow { margin: 0 0 22px; font-size: 12px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #66788c; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; max-width: 1050px; font-size: clamp(54px, 8vw, 110px); line-height: .94; letter-spacing: -.065em; font-weight: 630; }
.page-hero h1 { font-size: clamp(48px, 6.5vw, 84px); }
h2 { margin: 0 0 18px; font-size: clamp(34px, 4.5vw, 60px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; }
.hero-copy { max-width: 760px; margin: 34px 0 0; font-size: clamp(20px, 2.4vw, 29px); line-height: 1.35; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); text-decoration: none; font-weight: 650; font-size: 14px; }
.button.primary { background: var(--ink); color: white; }
.button.secondary { background: transparent; }
.button:hover { transform: translateY(-1px); }
.section { padding: 104px 0; }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading > p:last-child { color: var(--muted); font-size: 19px; }
.card-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { min-height: 310px; padding: 28px; background: var(--surface); display: flex; flex-direction: column; }
.card-index { font-size: 12px; color: #7b8490; margin-bottom: auto; }
.card h3 { margin-top: 48px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.section-dark { background: var(--dark); color: var(--light); }
.section-dark .eyebrow { color: var(--accent); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.work-list article { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.work-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.work-list p { margin: 8px 0 0; color: #adb5c0; max-width: 620px; }
.about .lead, .legal .lead { font-size: 25px; line-height: 1.42; color: var(--ink); }
.about p { color: var(--muted); font-size: 17px; }
.cta { margin-top: 20px; margin-bottom: 20px; padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.cta h2 { max-width: 800px; margin-bottom: 0; }
.site-footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; }
.site-footer div { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.capability-list { padding-top: 20px; }
.capability { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: 64px 0; border-top: 1px solid var(--line); }
.capability:last-child { border-bottom: 1px solid var(--line); }
.capability-title span { display: block; margin-bottom: 16px; font-size: 12px; color: #7b8490; }
.capability h2 { font-size: clamp(30px, 3.8vw, 50px); }
.capability > div:last-child > p { margin-top: 0; font-size: 20px; color: var(--muted); }
ul { padding-left: 18px; color: var(--muted); }
li { padding: 6px 0; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 44px; }
.principle-grid p { color: #adb5c0; }
.legal { max-width: 860px; padding: 100px 0 120px; }
.legal h1 { font-size: clamp(48px, 6vw, 76px); margin-bottom: 36px; }
.legal h2 { font-size: 25px; margin-top: 48px; }
.legal p { color: var(--muted); font-size: 17px; }
.legal a { color: var(--ink); }
.muted { font-size: 14px !important; margin-top: 60px; }
@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .site-header { min-height: 76px; }
  nav a:not(.nav-contact) { display: none; }
  .hero { min-height: auto; padding: 88px 0; }
  .page-hero { margin-left: 16px; padding: 84px 0; }
  .card-grid.four, .principle-grid { grid-template-columns: 1fr 1fr; }
  .split, .capability { grid-template-columns: 1fr; gap: 32px; }
  .cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .brand span:last-child { display: none; }
  h1 { font-size: 54px; }
  .card-grid.four, .principle-grid { grid-template-columns: 1fr; }
  .card { min-height: 250px; }
  .section { padding: 78px 0; }
  .site-footer { align-items: flex-start; padding: 32px 0; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button:hover { transform: none; } }
