:root {
  --bg: #f7f5ef;
  --ink: #171714;
  --muted: #68655d;
  --line: #d8d4ca;
  --panel: #ebe7dd;
  --accent: #1d3b2a;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .92rem;
}
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--ink); }

.hero { padding: 120px 0 110px; max-width: 900px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 11vw, 8.5rem);
  letter-spacing: -.065em;
  font-weight: 780;
}
h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -.045em;
  max-width: 16ch;
}
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.lede {
  max-width: 780px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  margin: 0 0 20px;
}
.sublede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}
.hero-actions { display: flex; gap: 20px; align-items: center; margin-top: 36px; }
.button {
  display: inline-block;
  padding: 13px 18px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 650;
}
.text-link { text-underline-offset: 4px; }

.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 42px; }
.section-heading.narrow { max-width: 760px; }
.section-heading.narrow h2 { max-width: 18ch; }
.section-heading.narrow > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

.grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}
.card p { color: var(--muted); }
.card .number { color: var(--accent); font-size: .8rem; letter-spacing: .1em; }

.contrast { background: var(--ink); color: var(--bg); }
.contrast .eyebrow { color: #b9d4c2; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.principles { display: grid; gap: 34px; }
.principles > div { border-top: 1px solid #3b3b35; padding-top: 20px; }
.principles p { margin-bottom: 0; color: #c4c1b8; }

.about-section { background: #f1eee6; }
.about-grid { align-items: start; }
.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}
.about-intro h2 { margin-bottom: 28px; }
.about-photo {
  content: url("assets/abel-headshot.jpg");
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid var(--line);
}
.about-copy { max-width: 700px; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-copy .about-lede {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin-top: 0;
}

.closing { background: var(--panel); }
.closing-inner { max-width: 820px; }
.closing-inner h2 { max-width: 18ch; }
.closing-inner > p:last-child { color: var(--muted); font-size: 1.08rem; }

.contact-section { background: var(--bg); }
.contact-inner { max-width: 780px; }
.contact-inner h2 { max-width: 15ch; }
.contact-inner > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 650px;
  margin-bottom: 30px;
}

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .9rem;
}
.footer-inner a { text-underline-offset: 3px; }

@media (max-width: 760px) {
  nav { display: none; }
  .hero { padding: 86px 0 76px; }
  .section { padding: 76px 0; }
  .grid.three, .split, .about-layout { grid-template-columns: 1fr; }
  .split, .about-layout { gap: 42px; }
  .about-photo { width: min(100%, 320px); }
  .card { min-height: 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}
