@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Serif+SC:wght@400;500&display=swap');

:root {
  --bg: #f7f7f5;
  --text: #171717;
  --muted: #777773;
  --line: #deded9;
  --accent: #171717;
  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand span {
  display: inline-block;
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  transition: color .2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.hero {
  padding-top: clamp(100px, 15vw, 170px);
  padding-bottom: clamp(100px, 14vw, 155px);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 500;
}

.hero h1 em {
  font-family: "Noto Serif SC", serif;
  font-style: normal;
  font-weight: 400;
}

.intro {
  max-width: 520px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-heading .line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.post {
  min-height: 180px;
  display: grid;
  grid-template-columns: 150px 1fr 30px;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  transition: padding .25s ease;
}

.post:hover {
  padding-left: 8px;
  padding-right: 8px;
}

.post time {
  padding-top: 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}

.post-title {
  display: inline-block;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
  letter-spacing: -.035em;
  transition: opacity .2s ease;
}

.post-title:hover {
  opacity: .55;
}

.post-body p {
  max-width: 600px;
  margin: 12px 0 18px;
  color: var(--muted);
}

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

.tags span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}

.arrow {
  padding-top: 4px;
  font-size: 20px;
  transition: transform .2s ease;
}

.post:hover .arrow {
  transform: translate(3px, -3px);
}

.about {
  padding-top: 150px;
  padding-bottom: 150px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 50px;
}

.about h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.04em;
}

.about-grid p {
  max-width: 460px;
  margin: 0 0 25px;
  color: #4e4e4a;
  font-size: 16px;
  line-height: 2;
}

.about-grid .muted {
  color: var(--muted);
  font-size: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    height: 72px;
  }

  .nav {
    gap: 18px;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .post {
    grid-template-columns: 1fr 22px;
    gap: 8px;
    padding: 30px 0;
  }

  .post time {
    grid-column: 1 / -1;
    padding: 0 0 8px;
  }

  .about {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 40px;
  }

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