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

:root {
  --sand:    #f5f0ea;
  --warm:    #e8ddd2;
  --taupe:   #9e8472;
  --brown:   #7a5c48;
  --dark:    #2e2420;
  --white:   #ffffff;
  --text:    #3d2f28;
  --light:   #faf7f4;
  --accent:  #c4956a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

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

.announcement-bar {
  background: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.announcement-bar a { color: var(--warm); text-decoration: underline; }

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brown); }
.nav-cta {
  background: var(--brown);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--dark) !important; }

/* ─── BLOG HERO ─── */
.blog-hero {
  background: var(--sand);
  padding: 88px 80px 72px;
  text-align: center;
}
.blog-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: 18px;
  display: block;
}
.blog-hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  color: var(--dark);
  font-weight: 300;
  margin-bottom: 20px;
}
.blog-hero h1 em { font-style: italic; color: var(--brown); }
.blog-hero p {
  font-size: 17px;
  color: #6b5148;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}
.blog-hero .divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 32px auto 0;
}

/* ─── POSTS LIST ─── */
.posts-wrap {
  padding: 80px 80px 96px;
  max-width: 1200px;
  margin: 0 auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 48px;
}

.post-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(122, 92, 72, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(122, 92, 72, 0.14);
}

.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--warm);
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-date {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: 14px;
}
.post-card h2 {
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 14px;
  font-weight: 500;
}
.post-card p {
  font-size: 15px;
  color: #6b5148;
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}
.post-card .read-more {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
  align-self: flex-start;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.post-card:hover .read-more { color: var(--dark); border-color: var(--brown); }

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--taupe);
}
.empty-state h2 {
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 12px;
}
.empty-state p { font-size: 15px; max-width: 460px; margin: 0 auto; }

.loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--taupe);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--dark);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  font-weight: 300;
}
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.cta-banner p {
  font-size: 16px;
  color: #d8c9bc;
  max-width: 580px;
  margin: 0 auto 32px;
  font-weight: 300;
}
.btn-light {
  background: var(--white);
  color: var(--dark);
  padding: 16px 40px;
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-light:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  color: #c8b5a6;
  padding: 80px 80px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer-brand img { height: 48px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-brand p { font-size: 14px; color: #a99380; line-height: 1.7; font-weight: 300; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 20px;
  font-family: 'Jost', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #c8b5a6; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact-item {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact-item span:first-child {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-contact-item span:last-child { font-size: 14px; color: #c8b5a6; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid #3d3028;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #8a7766;
}

.sticky-book {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brown);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 40px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(122, 92, 72, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transition: transform 0.2s, background 0.2s;
}
.sticky-book:hover { transform: translateY(-2px); background: var(--dark); }
.sticky-book-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd087;
  box-shadow: 0 0 0 0 rgba(125, 208, 135, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 208, 135, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(125, 208, 135, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 208, 135, 0); }
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links li:nth-child(-n+3) { display: none; }
  .blog-hero { padding: 64px 20px 48px; }
  .posts-wrap { padding: 48px 20px 72px; }
  .posts-grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer { padding: 64px 20px 24px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
