/* Spence & Co. — site styles
   Palette and type follow the firm one-pager. */

:root {
  --navy: #042154;
  --steel: #4a6c99;
  --ink: #101418;
  --body: #4b535c;
  --muted: #5b646e;
  --rule: #e1e4e8;
  --bg: #fbfaf8;
  --bg-alt: #f5f5f4;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-link { display: inline-block; line-height: 0; }
.logo { width: 200px; height: auto; mix-blend-mode: multiply; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* Hero */
.hero-photo img {
  width: 100%;
  height: clamp(220px, 38vw, 520px);
  object-fit: cover;
  object-position: center 40%;
}
.hero-text {
  padding-top: 56px;
  padding-bottom: 48px;
  border-left: 8px solid var(--navy);
  padding-left: 32px;
  margin-top: 40px;
  margin-bottom: 8px;
}
h1 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 20px;
}
.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 34em;
}

/* Sections */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}
.section-alt { background: var(--bg-alt); }
.label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 18px;
}
.label-spaced { margin-top: 44px; }
.wide { max-width: 42em; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
}
.col-side { border-left: 1px solid var(--rule); padding-left: 40px; }

/* Stats */
.stats { margin: 0; display: grid; gap: 22px; }
.stat { border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.stat:last-child { border-bottom: 0; }
.stat dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.stat dd {
  margin: 0;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* Why grid */
.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  max-width: 860px;
}
.why-grid li {
  border-top: 2px solid var(--navy);
  padding-top: 14px;
  font-size: 16px;
  line-height: 1.55;
}

/* Focus and criteria */
.focus-statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 18em;
}
.criteria { margin: 0; }
.criteria > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.criteria > div:last-child { border-bottom: 0; }
.criteria dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.criteria dd {
  margin: 0;
  text-align: right;
  font-size: 15.5px;
  color: var(--ink);
}

/* Leadership */
.leadership {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.headshot img { width: 100%; border-radius: 2px; }
.bio .name {
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}
.bio .title { color: var(--muted); margin: 0 0 18px; }
.bio p { max-width: 40em; }
.text-link {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
}
.text-link:hover { color: var(--steel); border-bottom-color: var(--steel); }

/* Contact */
.button {
  display: inline-block;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--bg);
  background: var(--navy);
  padding: 14px 22px;
  border-radius: 2px;
}
.button:hover { background: #0a3378; }
.address {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
}
.address .firm {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 4px;
}
.address a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.address a:hover { border-bottom-color: var(--navy); }

/* Footer */
.site-footer {
  border-top: 2px solid var(--navy);
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mono { font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }

/* Responsive */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .col-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 32px; }
  .leadership { grid-template-columns: 1fr; gap: 32px; }
  .headshot { max-width: 260px; }
  .section { padding: 48px 0; }
  .hero-text { margin-top: 28px; padding-top: 8px; padding-bottom: 32px; padding-left: 20px; border-left-width: 6px; }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .logo { width: 170px; }
  .site-nav { gap: 18px; flex-wrap: wrap; }
  .why-grid { grid-template-columns: 1fr; }
  .criteria > div { grid-template-columns: 96px 1fr; }
  .stat dd { font-size: 30px; }
}
