@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-normal-400700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-normal-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-normal-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f4ee;
  --ink: #161714;
  --muted: #6a6a63;
  --line: #d8d4c9;
  --accent: #1f5c45;
  --cream: #e7d9b7;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.site {
  overflow-x: clip;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  min-height: 76px;
}

.wordmark {
  margin-right: auto;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.wordmark span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero {
  padding: clamp(64px, 10vw, 128px) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 9vw, 8.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.hero-aside {
  padding-bottom: 6px;
}

.lede {
  max-width: 38ch;
  margin-bottom: 32px;
  color: #44443f;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 7vw, 96px);
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .eyebrow {
  margin: 0;
  padding-top: 8px;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-note {
  max-width: 48ch;
  margin-top: 18px;
  color: var(--muted);
  text-wrap: pretty;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service {
  padding: 28px 28px 32px 0;
  border-right: 1px solid var(--line);
}

.service + .service {
  padding-left: 28px;
}

.service:last-child {
  padding-right: 0;
  border-right: 0;
}

.service .num,
.steps .num {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.service .num {
  margin-bottom: 32px;
}

.service h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.service p {
  max-width: 30ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}

.approach-grid .eyebrow {
  margin-bottom: 20px;
}

.steps {
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.steps .num {
  padding-top: 6px;
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.steps p {
  max-width: 50ch;
  color: var(--muted);
  text-wrap: pretty;
}

.contact {
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--accent);
  color: var(--paper);
}

.contact .eyebrow {
  color: rgb(246 244 238 / 0.65);
}

.contact .eyebrow::before {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.contact h2 {
  max-width: 14ch;
  color: var(--paper);
}

.contact h2 em {
  color: var(--cream);
}

.contact p {
  max-width: 44ch;
  margin-top: 22px;
  color: rgb(246 244 238 / 0.72);
  text-wrap: pretty;
}

.contact .button {
  margin-top: 28px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.contact .button:hover {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.contact-aside {
  justify-self: end;
}

.contact-aside .label {
  display: block;
  margin-bottom: 10px;
  color: rgb(246 244 238 / 0.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-aside .label--spaced {
  margin-top: 28px;
}

.contact-aside a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgb(246 244 238 / 0.4);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.contact-aside a:hover {
  border-color: var(--paper);
}

.contact-aside p {
  margin-top: 0;
  color: rgb(246 244 238 / 0.72);
}

.site-footer {
  padding: 24px 0;
  background: var(--ink);
  color: rgb(246 244 238 / 0.65);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-inner a:hover {
  color: var(--paper);
}

@media (max-width: 900px) {
  .hero-grid,
  .section-head,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: 520px;
  }

  .contact-aside {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-block: 14px;
  }

  .wordmark {
    margin-right: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
    border-top: 1px solid var(--line);
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-foot {
    flex-direction: column;
    gap: 8px;
  }

  .service-list {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .service,
  .service + .service {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .service .num {
    margin-bottom: 18px;
  }

  .contact-aside {
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
