:root {
  --paper: #f5f6f9;
  --ink: #0f1b2b;
  --muted: #606976;
  --line: #cfd4dc;
  --blue: #315dff;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 48px, 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.name { font-size: .95rem; font-weight: 750; }
.site-header nav { display: flex; gap: 2rem; font-size: .78rem; }
.site-header nav a { color: var(--muted); transition: color 150ms ease; }
.site-header nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
  padding-block: 7rem 8rem;
}
.eyebrow { margin: 0 0 1.5rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .68rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(4rem, 7.5vw, 7.5rem); font-weight: 650; letter-spacing: -.075em; line-height: .92; }
.hero h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.lede { max-width: 720px; margin: 2.2rem 0 0; color: var(--muted); font-size: 1.15rem; line-height: 1.7; }
.actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.5rem; }
.button { min-width: 245px; display: inline-flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-radius: 3px; background: var(--ink); color: white; font-size: .84rem; font-weight: 700; transition: transform 150ms ease, background 150ms ease; }
.button:hover { background: var(--blue); transform: translateY(-2px); }
.text-link { padding-bottom: .35rem; border-bottom: 1px solid var(--ink); font-size: .84rem; font-weight: 700; }
.availability { display: flex; align-items: flex-start; gap: .65rem; margin: 2.4rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.availability span { flex: 0 0 auto; width: 7px; height: 7px; margin-top: .25rem; border-radius: 50%; background: #3ca556; box-shadow: 0 0 0 4px rgba(60,165,86,.12); }

.profile-card { min-height: 480px; display: flex; flex-direction: column; padding: 2rem; border-radius: 4px; background: var(--ink); color: white; box-shadow: 25px 28px 60px rgba(15,27,43,.16); }
.monogram { width: 106px; height: 106px; display: grid; place-items: center; margin-bottom: auto; border-radius: 50%; background: var(--blue); font-family: Georgia, serif; font-size: 2.2rem; }
.profile-card dl { margin: 0; }
.profile-card dl div { display: flex; flex-direction: column; gap: .45rem; padding-block: 1.1rem; border-bottom: 1px solid #324052; }
.profile-card dl div:last-child { border-bottom: 0; }
.profile-card dt { color: #8793a3; font-family: ui-monospace, monospace; font-size: .58rem; text-transform: uppercase; }
.profile-card dd { margin: 0; font-size: .85rem; font-weight: 650; line-height: 1.45; }

.results { background: var(--ink); color: white; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.result-grid article { min-height: 340px; padding: 2.5rem; border-right: 1px solid #324052; }
.result-grid article:first-child { padding-left: 0; }
.result-grid article:last-child { border-right: 0; }
.result-grid strong { display: block; color: #90a8ff; font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.06em; }
.result-grid h2 { margin: 2.5rem 0 .8rem; font-size: 1.2rem; }
.result-grid p { max-width: 340px; margin: 0; color: #aeb7c3; font-size: .8rem; line-height: 1.65; }

.expertise { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7rem; padding-block: 8rem; }
.section-intro h2, .context h2, .selected-work h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 650; letter-spacing: -.065em; line-height: 1; }
.expertise-list { border-top: 1px solid var(--line); }
.expertise-list article { display: grid; grid-template-columns: 55px .7fr 1.3fr; gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.expertise-list span { color: var(--blue); font-family: ui-monospace, monospace; font-size: .65rem; }
.expertise-list h3 { margin: 0; font-size: .85rem; }
.expertise-list p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }

.context, .selected-work { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; padding-block: 7rem; border-top: 1px solid var(--line); }
.context > p { align-self: end; margin: 0; color: var(--muted); line-height: 1.8; }
.selected-work { align-items: end; }
.selected-work > a { justify-self: end; padding-bottom: .5rem; border-bottom: 1px solid var(--ink); font-size: .84rem; font-weight: 700; }
.closing { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--ink); }
.closing p { max-width: 760px; margin: 0; font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 650; letter-spacing: -.04em; }
.closing a { padding-bottom: .5rem; border-bottom: 1px solid var(--ink); font-weight: 700; white-space: nowrap; }
.footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer div { display: flex; gap: 1.5rem; }

@media (max-width: 950px) {
  .hero, .expertise, .context { grid-template-columns: 1fr; gap: 4rem; }
  .profile-card { width: min(100%, 620px); min-height: 420px; }
  .expertise, .context { gap: 3rem; }
  .result-grid article { padding-inline: 1.5rem; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1320px); }
  .site-header { min-height: 74px; }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { padding-block: 5rem; }
  .hero h1 { font-size: clamp(3.4rem, 15vw, 5.3rem); }
  .actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .result-grid { grid-template-columns: 1fr; }
  .result-grid article { min-height: 260px; padding-inline: 0; border-right: 0; border-bottom: 1px solid #324052; }
  .expertise-list article { grid-template-columns: 34px 1fr; }
  .expertise-list p { grid-column: 2; }
  .selected-work { grid-template-columns: 1fr; gap: 2rem; }
  .selected-work > a { justify-self: start; }
  .closing { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
