@font-face {
  font-family: Manrope;
  src: url("./assets/manrope.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
}
:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --ink: #20271e;
  --muted: #495043;
  --line: #cfccbd;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(88%, 1260px); margin-inline: auto; }
.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 2rem; font-weight: 800; letter-spacing: -.09em; text-decoration: none; }
.brand sup { vertical-align: super; margin-left: .25em; font-size: .38em; letter-spacing: 0; }
nav { display: flex; gap: clamp(.85rem, 4vw, 3.5rem); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; padding-block: .6rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero {
  display: grid;
  grid-template-columns: 4fr 5fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.4rem);
  padding-block: clamp(3rem, 7vw, 7rem);
}
h1, h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.2rem, 6.3vw, 6.4rem); line-height: .96; }
.lede { color: var(--muted); max-width: 33ch; line-height: 1.65; margin-block: 1.5rem 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 48px;
  padding: .85rem 1.25rem;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
}
.button:hover { background: #394735; }
.button:focus-visible { outline-color: #866222; }
.project img {
  width: 100%;
  aspect-ratio: 5 / 4;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #c1ad8a;
}
figcaption {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding: .85rem 0;
  font-size: .82rem;
  color: var(--muted);
}
figcaption strong { color: var(--ink); }
.services { border-top: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1.02; }
.service-list { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-list article { border-top: 1px solid var(--line); padding-top: 1.15rem; }
h3 { font-size: 1.12rem; }
.service-list p { color: var(--muted); line-height: 1.65; margin-top: .5rem; max-width: 32ch; }
.contact { background: var(--ink); color: var(--paper); }
.contact-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.contact h2 { max-width: 21ch; }
.contact p { margin-top: 1rem; }
.contact .button { background: var(--paper); color: var(--ink); }
.contact .button:hover { background: #e8d9ba; }
.contact .button:focus-visible { outline-color: var(--paper); }
footer { padding-block: 1.25rem; font-size: .85rem; font-weight: 700; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .project img { aspect-ratio: 4 / 3; }
  .service-list { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 355px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .25rem; padding-block: .6rem; }
  h1 { font-size: 2.9rem; }
}
