:root {
  color-scheme: light;
  --paper: #fbfcfd;
  --ink: #102448;
  --muted: #4e5661;
  --slate: #486987;
  --green: #416930;
  --gold: #dba435;
  --line: #d7dfe7;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { font-family: "Instrument Sans", system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .75rem; background: white; }
.skip-link:not(:focus) { clip-path: inset(50%); }

.site-header { border-bottom: 1px solid var(--line); background: white; }
.header-inner, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-inner { min-height: 5rem; }
.brand { display: block; width: min(25rem, 100%); min-width: 0; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2rem); }
nav a { font-weight: 600; font-size: .9rem; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.nav-contact { color: var(--slate); }

.hero, .split { display: grid; align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.hero {
  grid-template-columns: 1.18fr 1fr;
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
h1, h2 { font-weight: 600; letter-spacing: -.065em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.3vw, 5rem); line-height: 1.02; }
h1 em { color: var(--slate); font-style: normal; }
h2 { font-size: clamp(2.25rem, 4.3vw, 4rem); line-height: 1.03; }
.intro { margin-block: 1.6rem 1.75rem; max-width: 33rem; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 3.25rem;
  padding: .75rem 1.15rem;
  border-radius: .35rem;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #263f60; }

.projects { padding: clamp(1.25rem, 3vw, 2rem); border-top: 4px solid var(--gold); border-radius: .75rem; background: var(--ink); color: white; }
.eyebrow { margin-bottom: 1rem; color: var(--slate); font-size: .76rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.projects .eyebrow { color: #e3b960; }
.project-list { margin: 0; padding: 0; list-style: none; }
.project-list li { padding-block: 1rem; border-top: 1px solid #627c9a; }
.project-list li:last-child { padding-bottom: 0; }
.project-list h3 { font-size: 1.22rem; line-height: 1.3; }
.project-list p { margin-top: .35rem; color: #e0e4ee; font-size: .95rem; line-height: 1.5; }

.split { grid-template-columns: 1fr 1.15fr; }
.approach, .about, .contact { padding-block: clamp(3.25rem, 7vw, 6rem); }
.approach { background: #edf2f6; }
.steps { padding-left: 1.65rem; }
.steps li { padding: 0 0 1.1rem .55rem; }
.steps li + li { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::marker { color: var(--green); font-weight: 700; }
.steps h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.steps p, .prose p, .contact p { font-size: 1.075rem; line-height: 1.65; }
.steps p, .prose p { color: var(--muted); }
.about-headshot {
  display: block;
  width: min(100%, 17rem);
  height: auto;
  margin-top: 1.5rem;
  border-radius: .75rem;
}
.prose p + p { margin-top: 1.1rem; }
.contact { background: var(--ink); color: white; }
.contact p { margin-bottom: 1.25rem; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.button-light { background: var(--gold); color: var(--ink); }
.button-light:hover { background: #edbb53; }
.button-light:focus-visible { outline-color: white; }
.footer { padding-block: 1.4rem; color: var(--muted); font-size: .9rem; }
.footer a { text-decoration: none; }

@media (max-width: 760px) {
  .hero, .split { grid-template-columns: 1fr; }
  h1, h2 { text-wrap: initial; }
}

@media (max-width: 520px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 1rem; }
  .brand { margin-left: -1rem; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 2rem); }
}
