@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Libre+Caslon+Display&display=swap');

:root {
  --paper: #eee9dd;
  --ink: #121212;
  --muted: #6f6a61;
  --line: rgba(18,18,18,.28);
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.94); }
figure, h1, h2, h3, p { margin: 0; }

.site-header, main, footer { max-width: var(--max); margin: 0 auto; }
.site-header {
  min-height: 82px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .18em;
  font-size: .94rem;
}
nav { display: flex; gap: 28px; }
nav a {
  text-decoration: none;
  font-size: .75rem;
  letter-spacing: .06em;
}
nav a:hover { opacity: .55; }

.hero {
  min-height: calc(100vh - 82px);
  padding: 42px 32px 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eyebrow, .section-label, .small-note, figcaption, .location {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .67rem;
}
.eyebrow, .section-label, .small-note, figcaption, .location { color: var(--muted); }

h1, h2 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.055em;
}
h1 {
  max-width: 1180px;
  font-size: clamp(4.8rem, 10.6vw, 10.5rem);
  line-height: .82;
}
h1 em { font-weight: 400; }
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero-bottom p {
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}
.text-link {
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
  font-size: .84rem;
}
.text-link span { margin-left: 14px; }

.feature-image { margin: 0 32px; }
.feature-image--wide { height: min(68vw, 820px); }
.feature-image figcaption { padding-top: 10px; }
.split-section {
  margin: 110px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr);
  gap: 44px;
}
.section-content h2 {
  max-width: 920px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .91;
  margin-bottom: 54px;
}
.section-content > p {
  max-width: 770px;
  margin-left: auto;
}
.section-content > p + p { margin-top: 26px; }
.large-copy { font-size: clamp(1.25rem, 2.1vw, 1.8rem); line-height: 1.4; }

.capabilities-section {
  margin: 0 32px 120px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.capabilities-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 58px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.capability-grid article {
  min-height: 300px;
  padding: 22px 28px 30px 0;
  border-bottom: 1px solid var(--line);
}
.capability-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
.capability-grid article:nth-child(even) { padding-left: 28px; }
.capability-grid span {
  color: var(--muted);
  font-size: .68rem;
}
.capability-grid h3 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 56px 0 20px;
}
.capability-grid p { max-width: 480px; }

.image-pair {
  margin: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: start;
}
.image-pair .feature-image { margin: 0; height: 760px; }
.image-pair__offset { margin-top: 150px !important; height: 540px !important; }

.experience { margin-top: 190px; }

.remote-note {
  margin: 0 32px 120px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 44px;
}
.remote-note p:first-child {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}
.remote-note p:last-child { max-width: 700px; }

.contact-section {
  min-height: 84vh;
  padding: 30px 32px 80px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-section h2 {
  font-size: clamp(5rem, 12vw, 11.5rem);
  line-height: .82;
  margin: 80px 0;
}
.email-link {
  width: fit-content;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 5.4rem);
  line-height: 1;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
}
.location { margin-top: 42px; }

footer {
  padding: 26px 32px 38px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 30px;
  color: var(--muted);
  font-size: .72rem;
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 0 18px; }
  nav { display: none; }
  .hero { min-height: calc(100svh - 68px); padding: 24px 18px 34px; }
  h1 { font-size: clamp(4rem, 20vw, 6.4rem); line-height: .84; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 26px; }
  .feature-image { margin: 0 18px; }
  .feature-image--wide { height: 72vh; }
  .split-section {
    margin: 82px 18px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-content h2 { font-size: clamp(3rem, 15vw, 5.2rem); margin-bottom: 40px; }
  .section-content > p { margin-left: 0; }
  .capabilities-section { margin: 0 18px 88px; }
  .capabilities-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 34px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article, .capability-grid article:nth-child(even) { min-height: 240px; padding: 18px 0 24px; border-right: 0; }
  .capability-grid h3 { margin-top: 38px; }
  .image-pair { margin: 0 18px; grid-template-columns: 1fr; gap: 40px; }
  .image-pair .feature-image { height: 62vh; }
  .image-pair__offset { margin-top: 0 !important; height: 56vh !important; width: 82%; margin-left: auto !important; }
  .experience { margin-top: 100px; }
  .remote-note { margin: 0 18px 88px; grid-template-columns: 1fr; gap: 24px; }
  .contact-section { min-height: 78vh; padding: 24px 18px 50px; }
  .contact-section h2 { font-size: clamp(4.3rem, 19vw, 7rem); margin: 70px 0; }
  .email-link { font-size: clamp(1.7rem, 8.5vw, 3rem); }
  footer { padding: 22px 18px 30px; grid-template-columns: 1fr; gap: 5px; }
}
