*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #e8e3d6; color: #1a1810; font-family: 'DM Sans', sans-serif; }
a { color: #c4893a; text-decoration: none; }
a:hover { color: #a06820; text-decoration: underline; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lineExpand {
  from { width: 0; }
  to { width: 100%; }
}
.fade-up { animation: fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both; }
.fade-up-2 { animation: fadeUp 0.8s 0.15s cubic-bezier(0.22,1,0.36,1) both; }
.fade-up-3 { animation: fadeUp 0.8s 0.3s cubic-bezier(0.22,1,0.36,1) both; }

/* Header */
.site-header {
  border-bottom: 1px solid #cfc9ba;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__brand { display: flex; align-items: center; gap: 24px; }
.site-header__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #1a1810;
}
.site-header__sep { width: 1px; height: 18px; background: #cfc9ba; }
.site-header__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6e5c;
}
.site-header__link {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6e5c;
  border-bottom: 1px solid #cfc9ba;
  padding-bottom: 2px;
}

/* Hero */
.hero { padding: 80px 48px 64px; max-width: 1100px; }
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a6e5c;
  margin-bottom: 20px;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: #1a1810;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.hero__title em { font-style: italic; color: #c4893a; }
.hero__lede {
  font-size: 16px;
  line-height: 1.75;
  color: #6a5e4e;
  max-width: 580px;
  font-weight: 300;
}

/* Divider */
.divider-wrap { padding: 0 48px; }
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, #c4893a 0%, transparent 100%);
  margin: 0;
  animation: lineExpand 1.2s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

/* Filter bar */
.filter-bar {
  padding: 24px 48px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8e7c;
  margin-right: 8px;
}
.filter-btn {
  cursor: pointer;
  background: none;
  border: 1px solid #c8bfae;
  color: #7a6e5c;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: #c4893a;
  color: #c4893a;
  background: rgba(196,137,58,0.07);
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  padding: 0 48px 96px;
  max-width: 1400px;
}

/* Articles */
.articles { padding-right: 64px; border-right: 1px solid #cfc9ba; }
.article-card {
  border-top: 1px solid #cfc9ba;
  padding: 36px 0;
  transition: border-color 0.2s;
  cursor: default;
}
.article-card:hover { border-top-color: #c4893a; }
.article-card:hover .card-title { color: #c4893a; }
.article-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-card__date { font-size: 11px; color: #9a8e7c; letter-spacing: 0.04em; }
.article-card__excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #6a5e4e;
  margin-bottom: 20px;
  max-width: 620px;
  font-weight: 300;
}
.article-card__chips { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: #1a1810;
  margin-bottom: 14px;
  text-wrap: pretty;
  transition: color 0.2s;
}

.pub-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid #c8bfae;
  color: #7a6e5c;
  border-radius: 1px;
}
.topic-chip {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(196,137,58,0.1);
  color: #8a6a3a;
  border-radius: 1px;
}
.featured-badge {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #c4893a;
  color: #fff;
  padding: 2px 8px;
  font-weight: 500;
  border-radius: 1px;
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4893a;
  border-bottom: 1px solid rgba(196,137,58,0.35);
  padding-bottom: 1px;
  transition: all 0.2s;
}
.read-link:hover { color: #a06820; border-bottom-color: #a06820; text-decoration: none; }
.read-link__arrow { font-size: 14px; }

/* Sidebar */
.sidebar { padding-left: 48px; padding-top: 36px; }
.sidebar__section { margin-bottom: 48px; }
.sidebar__section--books { margin-bottom: 0; }
.sidebar__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a8e7c;
  margin-bottom: 20px;
}
.sidebar__label--dark { color: #5a5448; }
.sidebar__label--muted { color: #9a8e7c; }
.sidebar__author-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: #1a1810;
  margin-bottom: 6px;
}
.sidebar__author-role { font-size: 12px; color: #7a6e5c; line-height: 1.6; margin-bottom: 16px; }
.sidebar__author-bio {
  font-size: 13px;
  line-height: 1.75;
  color: #6a5e4e;
  font-weight: 300;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.sidebar__contacts { display: flex; flex-direction: column; gap: 10px; }
.sidebar__contact { font-size: 12px; color: #7a6e5c; display: flex; align-items: center; gap: 8px; }
.sidebar__contact-icon { color: #c4893a; font-size: 14px; }

.sidebar__divider { height: 1px; background: #cfc9ba; margin-bottom: 40px; }

.sidebar-stat { border-left: 2px solid #c4893a; padding-left: 16px; margin-bottom: 28px; }
.sidebar-stat__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  color: #c4893a;
  margin-bottom: 4px;
}
.sidebar-stat__desc { font-size: 12px; color: #9a8e7c; line-height: 1.5; font-weight: 300; }

.books__group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  color: #6a6458;
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.books__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.books__list--last { margin-bottom: 0; }
.books__item {
  font-size: 13px;
  color: #7a7260;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 1px solid #3a3830;
}

/* Footer */
.site-footer {
  border-top: 1px solid #2a2820;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer__copy { font-size: 11px; color: #5a5448; letter-spacing: 0.04em; }
.site-footer__link { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #5a5448; }

/* Responsive */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .articles { padding-right: 0; border-right: none; }
  .sidebar { padding-left: 0; padding-top: 48px; }
  .site-header, .hero, .filter-bar, .layout, .divider-wrap, .site-footer { padding-left: 24px; padding-right: 24px; }
}
