:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --muted: #777;
  --line: #e5e5e5;
  --panel: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

header,
main,
footer {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 94px;
  height: 44px;
  display: block;
  object-fit: contain;
}

nav {
  gap: 30px;
  color: var(--muted);
}

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

.hero {
  min-height: 390px;
  padding: 82px 0 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 450;
  letter-spacing: -0.06em;
  line-height: 1;
}

.lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.button {
  min-height: 44px;
  margin-top: 28px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
}

.button:hover {
  background: #2a2a2a;
}

.projects {
  margin-bottom: 72px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 24px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.06);
}

.projects-bar {
  height: 52px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #888;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-bar p {
  margin: 0;
}

.projects-bar > span {
  justify-self: end;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b62;
}

.dots i:nth-child(2) {
  background: #f3bd4f;
}

.dots i:nth-child(3) {
  background: #64c864;
}

.project-grid {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.project {
  min-height: 150px;
  padding: 24px;
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  background: #fff;
}

.project:nth-child(1) {
  border-radius: 14px 0 0;
}

.project:nth-child(2) {
  border-radius: 0 14px 0 0;
}

.project:nth-child(5) {
  border-radius: 0 0 0 14px;
}

.project:nth-child(6) {
  border-radius: 0 0 14px;
}

a.project:hover {
  z-index: 1;
  background: var(--panel);
}

.number {
  color: #aaa;
  font-size: 10px;
  line-height: 16px;
}

.project p {
  margin: 0 0 7px;
  color: #999;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project h2 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.project div > span {
  max-width: 390px;
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.project b,
.project small {
  position: absolute;
  right: 20px;
  top: 22px;
  color: #999;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}

.project small {
  padding: 4px 7px;
  background: var(--panel);
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer {
  padding: 28px 0 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: #888;
  font-size: 11px;
}

footer strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-identity {
  display: grid;
  gap: 5px;
}

.legal-identity address {
  font-style: normal;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 11px;
}

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

@media (max-width: 680px) {
  header,
  main,
  footer {
    width: min(100% - 28px, 1080px);
  }

  header {
    height: 64px;
  }

  nav span {
    display: none;
  }

  .hero {
    min-height: 360px;
    padding: 62px 8px 54px;
  }

  h1 {
    font-size: 46px;
  }

  .lede {
    font-size: 15px;
  }

  .projects {
    margin-bottom: 42px;
    border-radius: 18px;
  }

  .project-grid {
    padding: 12px;
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 142px;
    padding: 20px;
  }

  .project:nth-child(n) {
    border-radius: 0;
  }

  .project:first-child {
    border-radius: 12px 12px 0 0;
  }

  .project:last-child {
    border-radius: 0 0 12px 12px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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