:root {
  --bg: #fff8f4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fffdfb;
  --surface-soft: #fff2ec;
  --ink: #241822;
  --muted: #6f5a66;
  --line: rgba(103, 49, 65, 0.14);
  --rose: #e54d74;
  --rose-deep: #c43c61;
  --gold: #ffbf70;
  --shadow: 0 18px 50px rgba(118, 53, 76, 0.12);
  --shadow-soft: 0 10px 28px rgba(118, 53, 76, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 200, 214, 0.42), transparent 26rem),
    radial-gradient(circle at top right, rgba(255, 219, 178, 0.35), transparent 22rem),
    linear-gradient(180deg, #fffaf7 0%, #fff4ee 42%, #fffaf8 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-link::before {
  content: "♡";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe2ea, #fff5df);
  color: var(--rose-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--rose-deep);
}

.hero-panel,
.card,
.article-card,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 28px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 226, 232, 0.92), transparent 22rem),
    radial-gradient(circle at 88% 5%, rgba(255, 213, 168, 0.72), transparent 18rem),
    rgba(255, 255, 255, 0.78);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-lead,
.intro-copy,
.card p,
.prose p,
.prose li,
.sidebar-card p,
.footer-copy,
.article-meta,
.post-meta,
.crumbs {
  color: var(--muted);
}

.hero-lead {
  max-width: 64ch;
  margin: 18px 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-link,
.ghost-link,
.tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

.primary-link,
.ghost-link {
  padding: 12px 18px;
}

.primary-link {
  background: linear-gradient(135deg, var(--rose), #f47f6b);
  color: white;
  box-shadow: 0 14px 26px rgba(229, 77, 116, 0.2);
}

.ghost-link {
  border: 1px solid rgba(229, 77, 116, 0.22);
  color: var(--rose-deep);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-chip {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(229, 77, 116, 0.12);
  color: var(--ink);
  font-size: 0.9rem;
}

.section-gap {
  margin-top: 24px;
}

.blog-list-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px;
}

.card-meta {
  margin: 0 0 10px;
  color: var(--rose-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3 a {
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--rose-deep);
}

.card p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.card-footer {
  margin-top: 16px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.article-card,
.sidebar-card {
  padding: 26px;
}

.crumbs {
  margin: 0 0 14px;
  font-size: 0.92rem;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--rose-deep);
}

.post-meta {
  margin-top: 16px;
  font-size: 0.95rem;
}

.prose {
  margin-top: 22px;
}

.prose h2,
.prose h3 {
  margin-top: 28px;
}

.prose p,
.prose li {
  font-size: 1rem;
  line-height: 1.85;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.callout {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(229, 77, 116, 0.14);
  border-radius: 20px;
  background: var(--surface-soft);
}

.callout strong {
  color: var(--ink);
}

.sidebar-card h3 {
  margin-bottom: 14px;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.sidebar-card a {
  text-decoration: none;
}

.sidebar-card a:hover {
  color: var(--rose-deep);
}

.related-grid {
  margin-top: 16px;
}

.site-footer {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--rose-deep);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a.is-active {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 12px;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .blog-list-grid,
  .related-grid,
  .post-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 100%);
    padding-top: 12px;
  }

  .site-header,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .blog-list-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .card,
  .article-card,
  .sidebar-card {
    border-radius: 24px;
    padding: 20px;
  }
}
