:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8f8;
  --text-primary: #000000;
  --text-muted: rgba(0, 0, 0, 0.45);
  --border-color: rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.45;
  font-size: 18px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.split-layout {
  display: flex;
  align-items: flex-start;
}

.intro-meta {
  width: 50%;
  position: sticky;
  top: 58px;
  height: calc(100vh - 116px);
}

.intro-meta-picture {
  width: 100%;
  height: 100%;
  background-image: url('./assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sections {
  width: 50%;
  padding: 0 90px;
}

.hero {
  min-height: calc(100vh - 174px);
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.heading {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-primary);
}

.hero .heading {
  margin-bottom: 24px;
}

.bio p {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.bio p.separator {
  color: var(--text-muted);
}

.bio strong {
  font-weight: 600;
}

.social-icons {
  margin-top: 20px;
}

.social-icons ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.social-icons li {
  margin-right: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  color: var(--text-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.social-icons a:hover {
  color: var(--text-primary);
  background-color: #efefef;
}

.social-icons svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.essays {
  padding: 60px 0 30px;
}

.essays .heading {
  margin-bottom: 10px;
}

.essay-list {
  list-style: none;
}

.essay-list li {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.essay-list li:last-child {
  border-bottom: none;
}

.essay-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.essay-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.essay-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.essay-summary {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.essay-link {
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.essay-link:hover {
  opacity: 0.7;
}

.footer {
  padding: 20px 0 60px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 880px) {
  .split-layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .intro-meta {
    width: 100%;
    position: static;
    height: 420px;
    margin-top: 20px;
  }

  .sections {
    width: 100%;
    padding: 0;
  }

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

  .essays {
    padding: 40px 0 10px;
  }
}
