:root {
  --ink: #1e1f22;
  --muted: #5a5f6a;
  --accent: #2d6a6d;
  --accent-soft: #e7f0ef;
  --paper: #f4f3ef;
  --panel: #ffffff;
  --border: #dcd7cf;
  --shadow: 0 22px 50px rgba(30, 31, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Serif 4", "Times New Roman", serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 15%, #f9f7f2 0%, #f4f3ef 60%, #eeece7 100%);
  min-height: 100vh;
}

.bg-orbit {
  position: fixed;
  top: -120px;
  right: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(45, 106, 109, 0.14), rgba(45, 106, 109, 0));
  filter: blur(2px);
  z-index: 0;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(244, 243, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo-text {
  white-space: nowrap;
}

.nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

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

.site-main {
  position: relative;
  z-index: 1;
  padding: 48px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  background: var(--panel);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  box-shadow: 0 10px 20px rgba(45, 106, 109, 0.22);
}

.hero-card {
  background: var(--accent-soft);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(45, 106, 109, 0.18);
}

.hero-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section-title {
  margin: 48px 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(29, 27, 22, 0.12);
}

.post-card h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

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

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.post {
  background: var(--panel);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.post-header h1 {
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 12px;
}

.post-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
}

.post-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

.post-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.post-content h2,
.post-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin-top: 2rem;
}

.share-block {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.share-label {
  margin: 0 0 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.share-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-link {
  text-decoration: none;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.share-icon svg {
  width: 18px;
  height: 18px;
}

.share-link:hover .share-icon {
  opacity: 0.85;
}

.comments {
  margin-top: 32px;
}

.archive-month {
  margin-top: 2.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
}

.archive-category {
  margin-top: 2rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
}

.category-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    gap: 10px;
  }

  .nav a {
    margin-left: 12px;
  }

  .hero {
    padding: 28px;
  }
}
