:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66615b;
  --line: #e6e0d8;
  --paper: #faf8f4;
  --surface: #ffffff;
  --accent: #235c51;
  --accent-2: #b94f32;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: 86px 5vw 72px;
}

.hero-inner {
  max-width: 920px;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.04;
  margin: 0;
}

.hero-copy {
  color: var(--muted);
  font-size: 20px;
  margin: 26px 0 0;
  max-width: 720px;
}

.post-list {
  padding: 56px 5vw 84px;
}

.section-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
}

.section-head h1,
.section-head h2 {
  font-size: 26px;
  margin: 0;
}

.posts-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.post-card img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.post-card-body {
  padding: 22px;
}

.post-card time,
.article-header time {
  color: var(--accent-2);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.post-card h2,
.post-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.post-card p {
  color: var(--muted);
  margin: 0;
}

.article {
  margin: 0 auto;
  max-width: 860px;
  padding: 56px 5vw 90px;
}

.back-link {
  color: var(--accent);
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.article-header h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.08;
  margin: 0;
}

.article-header p {
  color: var(--muted);
  font-size: 20px;
  margin: 22px 0 0;
}

.featured-image {
  border-radius: 8px;
  display: block;
  margin-top: 34px;
  width: 100%;
}

.article-body {
  border-top: 1px solid var(--line);
  font-size: 18px;
  margin-top: 42px;
  padding-top: 34px;
}

.article-body h2 {
  font-size: 30px;
  line-height: 1.25;
  margin: 44px 0 14px;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 5vw;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding-top: 56px;
  }
}
