@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6f6f6f;
  --line: #dddddd;
  --soft: #f5f5f5;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  width: min(calc(100% - 64px), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}

.nav a,
.text-link,
.contact-links a {
  position: relative;
}

.nav a::after,
.text-link::after,
.contact-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}

.nav a:hover::after,
.text-link:hover::after,
.contact-links a:hover::after {
  right: 0;
}

main,
.footer {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 770px;
  padding: 110px 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.label,
.section-index,
.service > span,
.process-item > p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .09em;
}

.eyebrow {
  margin: 0 0 42px;
}

.hero h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(58px, 8.5vw, 132px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 500;
}

.hero-copy {
  max-width: 680px;
  margin: 52px 0 0 auto;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.42;
  letter-spacing: -.035em;
}

.hero-actions {
  margin: 48px 0 0 auto;
  width: min(680px, 100%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-size: 13px;
  transition: transform .2s ease, opacity .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: white;
  background: black;
}

.text-link {
  font-size: 13px;
}

.section-line {
  border-top: 1px solid var(--line);
  padding: 92px 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
}

.section-index {
  margin: 4px 0 0;
  color: var(--muted);
}

.statement-large {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -.055em;
}

.statement-small {
  max-width: 630px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section-heading h2,
.fit h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 500;
}

.services {
  display: block;
}

.section-heading {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.service-grid {
  margin-left: 200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.service {
  min-height: 290px;
  padding: 32px 42px 42px 0;
  border-bottom: 1px solid var(--line);
}

.service:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 56px;
}

.service:nth-child(even) {
  padding-left: 56px;
}

.service h3 {
  margin: 54px 0 18px;
  font-size: 25px;
  letter-spacing: -.035em;
  font-weight: 500;
}

.service p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.tech-list {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span {
  border: 1px solid var(--text);
  padding: 11px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.tech-note {
  margin: 28px 0 0;
  color: var(--muted);
}

.process {
  display: block;
}

.process-list {
  margin-left: 200px;
  border-top: 1px solid var(--line);
}

.process-item {
  padding: 34px 0 40px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 170px 1fr 1fr;
  gap: 38px;
  align-items: start;
}

.process-item h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.035em;
}

.process-item span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.fit-content {
  max-width: 1040px;
}

.fit .label,
.contact .label {
  margin: 0 0 32px;
}

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

.fit li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.contact {
  padding-top: 120px;
  padding-bottom: 120px;
}

.contact-copy {
  margin: 30px 0 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.contact-links {
  margin-top: 62px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.contact-links a {
  font-size: clamp(26px, 3.2vw, 48px);
  letter-spacing: -.045em;
}

.footer {
  border-top: 1px solid var(--line);
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 900px) {
  .site-header,
  main,
  .footer {
    width: min(calc(100% - 36px), var(--max));
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 90px 0;
  }

  .hero-copy,
  .hero-actions {
    margin-left: 0;
  }

  .section-line,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-grid,
  .process-list {
    margin-left: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service:nth-child(odd),
  .service:nth-child(even) {
    border-right: 0;
    padding: 28px 0 38px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 30px 0;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(50px, 16vw, 76px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-line {
    padding: 68px 0;
  }

  .statement-large,
  .section-heading h2,
  .fit h2,
  .contact h2 {
    font-size: 42px;
  }

  .contact-links a {
    font-size: 26px;
  }
}
