:root {
  --blog-bg: #f7efe9;
  --blog-bg-soft: #fff8f4;
  --blog-panel: rgba(255, 255, 255, 0.84);
  --blog-panel-strong: rgba(255, 255, 255, 0.96);
  --blog-ink: #23171b;
  --blog-muted: #6c5c63;
  --blog-accent: #b87e84;
  --blog-accent-deep: #6d4a50;
  --blog-line: rgba(102, 72, 77, 0.12);
  --blog-shadow: 0 28px 60px rgba(79, 53, 58, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--blog-ink);
  background:
    radial-gradient(circle at top left, rgba(222, 191, 193, 0.58), transparent 28%),
    linear-gradient(180deg, #fffaf7 0%, #f7efe9 42%, #f3e8e0 100%);
  line-height: 1.68;
}

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

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

.blog-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.9), transparent 20%),
    radial-gradient(circle at 10% 14%, rgba(186, 126, 132, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(247, 239, 233, 0.86));
}

.site-main {
  padding-top: 0;
}

.blog-hero {
  padding: clamp(56px, 7vw, 92px) 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: stretch;
}

.hero-copy,
.hero-note-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(30px, 4vw, 54px);
  background:
    radial-gradient(circle at top right, rgba(238, 212, 213, 0.84), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 240, 235, 0.88));
  border: 1px solid var(--blog-line);
  box-shadow: var(--blog-shadow);
}

.hero-copy::before,
.hero-note-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(109, 74, 80, 0.08);
  pointer-events: none;
}

.hero-note-card {
  padding: clamp(26px, 4vw, 38px);
  display: grid;
  align-content: space-between;
  min-height: 100%;
  background: linear-gradient(155deg, rgba(98, 67, 72, 0.98), rgba(146, 104, 109, 0.9));
  box-shadow: 0 26px 56px rgba(71, 45, 50, 0.2);
}

.eyebrow,
.section-label,
.post-pill,
.note-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.post-pill {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(184, 126, 132, 0.12);
  color: var(--blog-accent-deep);
  border: 1px solid rgba(109, 74, 80, 0.1);
}

.section-label,
.note-label {
  color: var(--blog-accent-deep);
}

.note-label {
  color: rgba(255, 255, 255, 0.72);
}

.section-title,
.post-title,
h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6vw, 5.25rem);
  max-width: 12ch;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  max-width: 13ch;
}

.post-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.06;
}

.hero-lead,
.hero-body,
.section-copy,
.post-description {
  color: var(--blog-muted);
}

.hero-lead {
  max-width: 42rem;
  margin: 20px 0 12px;
  font-size: 1.12rem;
}

.hero-body {
  max-width: 40rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #c1888d, #87595e);
  box-shadow: 0 18px 32px rgba(113, 74, 79, 0.24);
}

.button-secondary {
  color: var(--blog-accent-deep);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(109, 74, 80, 0.12);
}

.note-copy {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.12;
}

.blog-listing {
  padding: 22px 0 clamp(76px, 9vw, 120px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}

.section-copy {
  margin: 0;
  font-size: 1rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  border-radius: 34px;
  overflow: hidden;
  background: var(--blog-panel-strong);
  border: 1px solid var(--blog-line);
  box-shadow: var(--blog-shadow);
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.post-card-link {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: clamp(26px, 4vw, 36px);
}

.post-card-link:hover,
.post-card-link:focus {
  text-decoration: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 238, 233, 0.92));
}

.post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--blog-muted);
  font-size: 0.94rem;
}

.post-description {
  margin: 0;
}

.post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blog-accent-deep);
}

.post-link::after {
  content: "→";
  font-size: 1.05rem;
}

.blog-empty {
  padding: 28px;
  border-radius: 28px;
  background: var(--blog-panel);
  border: 1px dashed rgba(109, 74, 80, 0.2);
  color: var(--blog-muted);
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 120px;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .hero-note-card {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .blog-hero {
    padding-top: 42px;
  }

  .hero-copy,
  .hero-note-card,
  .post-card-link {
    padding: 24px;
  }

  .button {
    width: 100%;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
