:root {
  --bg: #f6f3ee;
  --text: #171717;
  --muted: #666;
  --line: #d8d1c7;
  --card: #ffffff;
  --accent: #7a3b1d;
  --accent-soft: #efe5dc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: -0.02em;
}

nav a {
  margin-left: 22px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
}

.hero {
  padding: 44px 0 64px;
}

.profile-image {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 26px;
  border: 2px solid #d8d1c7;
}

.kicker {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(2.45rem, 5.8vw, 3.85rem);
  line-height: 1.04;
  margin: 12px 0 24px;
  letter-spacing: -0.04em;
}

.intro {
  font-size: 1.15rem;
  color: #333;
  max-width: 650px;
}

.button {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 21px;
  border: 1px solid var(--text);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.button:hover {
  background: var(--text);
  color: white;
}

.featured h2,
.archive h1 {
  margin-bottom: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.card-with-image {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
}

.card-image-link,
.card-image-placeholder {
  width: 132px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-image-placeholder {
  position: relative;
}

.card-image-placeholder::after {
  content: "Archive";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-content {
  min-width: 0;
}

.card h3 {
  margin: 4px 0 8px;
  font-size: 1.38rem;
  line-height: 1.15;
}

.card p {
  margin-top: 0;
  margin-bottom: 10px;
}

.date,
.meta,
.article-date {
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #ddc7b8;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-tags {
  margin: 10px 0 8px;
}

.article-page {
  padding-top: 56px;
}

.article h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.45rem);
  line-height: 1.04;
  margin-bottom: 16px;
  max-width: 680px;
}

.subheadline {
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 26px;
  max-width: 620px;
}

.feature-block {
  width: min(900px, calc(100vw - 48px));
  margin: 28px 0 30px 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.feature-image {
  width: 100%;
  height: 100%;
  max-height: 330px;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.tldr {
  background: white;
  border-left: 4px solid var(--accent);
  padding: 22px 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tldr p {
  margin: 0;
}

.tldr-label {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px !important;
}

.article-body {
  margin-top: 8px;
}

.article-body p {
  margin-bottom: 1.25em;
  font-size: 1.08rem;
}

.article-body p:first-child {
  margin-top: 0;
}

.standalone {
  font-size: 1.18rem;
  line-height: 1.45;
}

.archive-note {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  max-width: 1100px;
  margin: 54px auto 0;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 840px) {

  .feature-block {
    width: 100%;
    margin: 24px 0 30px;
    transform: none;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-image {
    min-height: auto;
    max-height: none;
  }

}

@media (max-width: 720px) {

  main {
    padding: 42px 20px;
  }

  .hero {
    padding: 34px 0 54px;
  }

  .profile-image {
    width: 118px;
    height: 118px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .article h1 {
    font-size: 2.45rem;
  }

  .subheadline {
    font-size: 1.08rem;
  }

  .card {
    padding: 20px;
  }

  .card-with-image {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card-image-link,
  .card-image-placeholder {
    width: 100%;
    max-width: 100%;
  }

  .article-body p {
    font-size: 1rem;
  }

}