:root {
  --paper: #f4f1eb;
  --ink: #171715;
  --muted: #66635d;
  --line: #d5d0c7;
  --signal: #e4552d;
  --signal-dark: #c83f1a;
  --white: #fffdf9;
  --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 11vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 5px;
}

.site-header,
main,
footer {
  width: min(100%, 1600px);
  margin-inline: auto;
}

.site-header {
  min-height: 6.5rem;
  padding: 1.5rem var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
}

.brand-mark path:first-child {
  fill: var(--ink);
}

.brand-mark path:last-child {
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.82rem;
  font-weight: 600;
}

nav a:not(.nav-cta) {
  transition: color 160ms ease;
}

nav a:not(.nav-cta):hover {
  color: var(--signal);
}

.nav-cta {
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--ink);
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  min-height: calc(100vh - 6.5rem);
  min-height: calc(100svh - 6.5rem);
  padding: clamp(4rem, 9vh, 8rem) var(--page-padding) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow,
.section-label,
.section-heading > p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--signal);
  border-radius: 50%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-block: clamp(3rem, 8vh, 7rem);
  font-size: clamp(3.6rem, 9.5vw, 9.25rem);
  font-weight: 600;
  line-height: 0.87;
  letter-spacing: -0.075em;
}

h1 span {
  color: var(--signal);
}

.hero-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.hero-footer p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.text-link span {
  color: var(--signal);
  font-size: 1.1rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(0.2rem, 0.2rem);
}

.services {
  padding: var(--section-space) var(--page-padding);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) 2fr;
  gap: 2rem;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.service-list {
  border-top: 1px solid var(--ink);
}

.service-item {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) 2fr;
  gap: 2rem;
}

.service-number {
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-item > div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 8rem);
}

.service-item h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.service-item p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.approach {
  margin-inline: var(--page-padding);
  padding: clamp(3rem, 6vw, 5.5rem);
  background: var(--ink);
  color: var(--white);
}

.approach .section-label {
  color: #aaa69e;
}

.approach-content {
  margin-top: clamp(4rem, 9vw, 9rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.approach h2 {
  margin-bottom: 0;
  color: var(--signal);
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.approach-copy > p:first-child {
  max-width: 39rem;
  margin-bottom: 2.5rem;
  color: #d8d4cd;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.principles {
  margin-bottom: 0;
  color: #aaa69e;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact {
  padding: var(--section-space) var(--page-padding);
}

.contact-content {
  margin-top: clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
}

.contact h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 7.2vw, 7.5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.contact-link {
  padding-block: 1.5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-size: clamp(1rem, 2vw, 1.45rem);
  transition: color 160ms ease;
}

.contact-link span {
  color: var(--signal);
  font-size: 1.45em;
  transition: transform 160ms ease;
}

.contact-link:hover {
  color: var(--signal-dark);
}

.contact-link:hover span {
  transform: translate(0.2rem, -0.2rem);
}

footer {
  padding: 2rem var(--page-padding);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
}

footer p {
  margin-bottom: 0;
}

footer p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--ink);
  font-size: 0.85rem;
}

.footer-brand .brand-mark {
  width: 1.65rem;
  height: 1.65rem;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 5.5rem;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 5.5rem);
    padding-top: 3.5rem;
  }

  h1 {
    margin-block: 4rem;
    font-size: clamp(3.5rem, 17vw, 6rem);
  }

  .hero-footer,
  .section-heading,
  .service-item,
  .service-item > div,
  .approach-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-footer {
    align-items: start;
  }

  .text-link {
    justify-content: space-between;
  }

  .section-heading,
  .service-item {
    gap: 1.5rem;
  }

  .service-item > div {
    gap: 1rem;
  }

  .approach {
    margin-inline: 0;
    padding-inline: var(--page-padding);
  }

  .approach-content {
    align-items: start;
  }

  .contact-content {
    gap: 4rem;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer > p:first-of-type {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
