:root {
  --background: #f7f7f5;
  --text: #1b1b1a;
  --secondary: #686863;
  --border: #ddddda;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

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

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

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.header,
.hero,
.blog,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.header-label {
  justify-self: center;
  margin: 0;
  color: var(--secondary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link,
.contact {
  color: var(--secondary);
}

.nav-link:hover,
.contact:hover,
.email:hover {
  color: var(--text);
}

.nav-link[aria-current="page"] {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 136px);
  padding: 120px 0;
  display: flex;
  align-items: center;
}

.content {
  max-width: 980px;
}

h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.qualifier {
  display: block;
  margin-top: 20px;
  color: var(--secondary);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.email {
  display: inline-block;
  margin-top: 40px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--text);
  font-size: 14px;
}

.blog {
  min-height: calc(100vh - 136px);
  padding: 112px 0 140px;
}

.blog-kicker {
  margin: 0 0 24px;
  color: var(--secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-title {
  max-width: 820px;
  font-size: clamp(52px, 7vw, 92px);
}

.blog-description {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.5;
}

.post-list {
  margin-top: 104px;
  border-top: 1px solid var(--border);
}

.post-list-header,
.empty-state {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
}

.post-list-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.empty-state {
  margin: 0;
  padding: 28px 0;
  color: var(--secondary);
  font-size: 14px;
}

.empty-state span:last-child {
  color: var(--text);
}

.footer {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 11px;
}

@media (max-width: 640px) {
  .header,
  .hero,
  .blog,
  .footer {
    width: calc(100% - 28px);
  }

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

  .blog {
    padding: 88px 0 120px;
  }

  .header {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .header-label {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .header-nav {
    gap: 12px;
  }

  h1 {
    font-size: clamp(50px, 16vw, 76px);
  }

  .blog-title {
    font-size: clamp(48px, 15vw, 70px);
  }

  .blog-description {
    font-size: 17px;
  }

  .post-list {
    margin-top: 72px;
  }

  .post-list-header,
  .empty-state {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

}
