* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f3ed;
  --paper: #fffdf8;
  --ink: #22201d;
  --muted: #746b61;
  --line: #ded4c8;
  --accent: #2f6f73;
  --accent-dark: #1e4d51;
  --clay: #b9604b;
  --sand: #e7d4b8;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--accent-dark);
}

.site {
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 24px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 34px;
  align-items: center;
  padding: 42px 0 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 650px;
  margin-top: 18px;
  font-size: 18px;
}

.hero-img {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(81, 57, 35, 0.12);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 28px 0 18px;
  border-top: 1px solid var(--line);
}

.section-head p {
  max-width: 430px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 46px;
}

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

.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.post-body {
  padding: 18px;
}

.meta {
  color: var(--clay);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.post-body h3 {
  margin-top: 10px;
}

.post-body p {
  margin-top: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.read-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.journal {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px 0 56px;
}

.article-head {
  margin-bottom: 28px;
}

.article-head h1 {
  margin-top: 12px;
  font-size: clamp(38px, 6vw, 64px);
}

.article-head p {
  margin-top: 16px;
  font-size: 18px;
}

.article-hero {
  margin: 28px 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  display: grid;
  gap: 20px;
  font-size: 18px;
}

.article-body p {
  color: #3b3630;
}

.note {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #edf4f0;
  color: var(--accent-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.back {
  display: inline-flex;
  margin-top: 34px;
  color: var(--accent-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
}

@media (max-width: 820px) {
  .hero,
  .section-head {
    display: block;
  }

  .hero-img {
    margin-top: 24px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
