:root {
  --pink: #c8005a;
  --pink-light: #f5e6ee;
  --pink-mid: #e8b4ce;
  --dark: #1a1a1a;
  --gray: #666;
  --light-gray: #f7f7f7;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

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

img { max-width: 100%; display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.header-nav { display: flex; gap: 28px; }

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .2s;
}

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

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}

.logo-main {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--dark);
}

.header-right { display: flex; justify-content: flex-end; }

.tagline {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
}

.header-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--pink) 0%, #ff6b9d 50%, var(--pink) 100%);
}

/* ── HERO ── */
.home-hero {
  background: var(--pink-light);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .4em;
  color: var(--pink-mid);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
}

.hero-text h1 em {
  color: var(--pink);
  font-style: italic;
}

.hero-text p {
  font-size: 16px;
  color: var(--gray);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

/* ── POSTS GRID ── */
.posts-grid {
  max-width: var(--max-width);
  margin: 48px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* ── POST CARD ── */
.post-card {
  background: var(--white);
  border: 1px solid #eee;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.post-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--pink-light);
}

.post-card--featured .post-card__image {
  aspect-ratio: auto;
  height: 100%;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-mid));
  font-size: 32px;
  color: var(--pink);
  min-height: 200px;
}

.post-card__body {
  padding: 24px;
}

.post-card--featured .post-card__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card__date {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.post-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post-card__title a { color: var(--dark); }
.post-card__title a:hover { color: var(--pink); }

.post-card--featured .post-card__title {
  font-size: 28px;
}

.post-card__excerpt {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: .04em;
  transition: gap .2s;
}

.post-card__link:hover { text-decoration: underline; }

/* ── POST PAGE ── */
.post-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.post-header {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}

.post-meta time {
  font-size: 13px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 16px;
}

.post-lead {
  font-size: 18px;
  color: var(--gray);
  font-style: italic;
  font-family: var(--font-display);
}

.post-hero-image {
  margin-bottom: 32px;
  border-radius: 2px;
  overflow: hidden;
}

.post-hero-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.post-content {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--dark);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pink-light);
}

.post-content p { margin-bottom: 20px; }

.post-content a { color: var(--pink); text-decoration: underline; }

/* ── CTA ── */
.post-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--pink-light);
  text-align: center;
}

.post-cta p {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--dark);
}

.cta-button {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, transform .1s;
}

.cta-button:hover {
  background: #a0004a;
  transform: translateY(-1px);
}

/* ── SIDEBAR ── */
.post-sidebar { position: sticky; top: 88px; }

.sidebar-widget {
  border: 1px solid #eee;
  padding: 24px;
}

.sidebar-widget h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pink);
  color: var(--dark);
}

.sidebar-posts { list-style: none; }

.sidebar-posts li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-posts li:last-child { border-bottom: none; }

.sidebar-posts a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
  transition: color .2s;
}

.sidebar-posts a:hover { color: var(--pink); }

.sidebar-posts span {
  font-size: 12px;
  color: var(--gray);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: #aaa;
  text-align: center;
  padding: 48px 24px;
  margin-top: 64px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.site-footer p { font-size: 14px; margin-bottom: 8px; }

.footer-copy { font-size: 12px; color: #666; margin-top: 16px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .header-top { grid-template-columns: 1fr; height: auto; padding: 16px 24px; gap: 8px; }
  .header-nav, .header-right { display: none; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-wrapper { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
}

@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { grid-column: 1 / -1; }
}
