:root {
  --bg: #f3efe6;
  --bg-strong: #e8dfcd;
  --text: #1f2937;
  --muted: #4b5563;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #d97706;
  --card: #fffaf2;
  --border: #d4c7b0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #f8f3e8 0%, transparent 40%),
    radial-gradient(circle at 100% 20%, #f1e4cc 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
}

.shape-1 {
  width: 280px;
  height: 280px;
  background: #f59e0b;
  top: -80px;
  left: -70px;
}

.shape-2 {
  width: 340px;
  height: 340px;
  background: #14b8a6;
  bottom: -130px;
  right: -80px;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(243, 239, 230, 0.86);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu-link {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu-link:hover,
.menu-link.active {
  color: var(--text);
  background: #f4e7d2;
}

.content-wrap {
  padding-top: 2.2rem;
  padding-bottom: 4rem;
  animation: fade-slide 0.7s ease both;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  max-width: 780px;
  margin: 1.2rem 0 2.2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f0dfc0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

h1,
h2,
h3,
h4 {
  font-family: "IBM Plex Serif", Georgia, serif;
  line-height: 1.2;
  margin: 0.4rem 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.post-list {
  display: grid;
  gap: 0.9rem;
}

.post-item {
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.post-item h2,
.post-item h3 {
  margin: 0.2rem 0 0.4rem;
}

.post-item a {
  color: #0f766e;
}

.post-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.3rem;
}

.prose {
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
}

.post-meta-taxonomies {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.taxonomy-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.taxonomy-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.taxonomy-chip {
  display: inline-block;
  text-decoration: none;
  color: #115e59;
  border: 1px solid #99d8d3;
  background: #ecfdf5;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.taxonomy-chip:hover {
  background: #d1fae5;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(236, 226, 207, 0.6);
  padding: 1.6rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  margin: 0.25rem 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
}

.cookie-banner-inner {
  border: 1px solid #0f766e;
  background: #f0fdfa;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
  padding: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.cookie-banner p {
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    gap: 0.8rem;
    flex-direction: column;
  }
}
