:root {
  --emerald-950: #061F18;
  --emerald-900: #0A2A20;
  --emerald-800: #0F3A2C;
  --emerald-700: #155039;
  --emerald-600: #1C6B4C;
  --emerald-500: #278563;
  --gold: #CBA45C;
  --gold-bright: #E4C67F;
  --gold-dim: #9C7F42;
  --cream: #F7F0DE;
  --ivory: #FFFCF4;
  --paper: #FBF6E9;
  --ink: #0E1F19;
  --ink-soft: rgba(14,31,25,0.62);
  --line: rgba(14,31,25,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--ivory); color: var(--ink); font-family: 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .font-display { font-family: 'Fraunces', serif; }
::selection { background: var(--gold); color: var(--emerald-950); }
a { color: inherit; }

nav {
  position: sticky; top: 0; z-index: 100;
  padding: 18px 48px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,31,24,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(203,164,92,0.18);
}
.nav-logo {
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; color: var(--ivory);
  position: relative; width: auto; height: 38px; display: inline-flex; align-items: center; text-decoration: none;
}
.nav-logo-text {
  font-family: 'Fraunces', serif; font-weight: 700; font-style: normal; font-size: 1.05rem;
  letter-spacing: 0.01em; color: var(--ivory); white-space: nowrap;
  overflow: hidden; max-width: 0; opacity: 0; margin-left: 0; transform: translateX(-8px);
  transition: max-width 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s ease,
              margin-left 0.45s cubic-bezier(.2,.8,.2,1), transform 0.45s cubic-bezier(.2,.8,.2,1);
}
nav.scrolled .nav-logo-text {
  max-width: 160px; opacity: 1; margin-left: 46px; transform: translateX(0);
  transition-delay: 0.08s;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(247,240,222,0.82); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-bright); }
.nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-dim)); color: var(--emerald-950) !important; padding: 10px 20px; border-radius: 2px; }

.breadcrumb { padding: 20px 48px 0; font-size: 0.78rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--emerald-600); text-decoration: none; font-weight: 600; }

.blog-hero { padding: 60px 48px 20px; max-width: 920px; margin: 0 auto; }
.blog-hero .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald-600); }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; line-height: 1.12; color: var(--emerald-950); margin: 14px 0 16px; }
.blog-hero .meta { font-size: 0.85rem; color: var(--ink-soft); }
.blog-hero .lede { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.25rem; color: var(--ink-soft); margin-top: 18px; line-height: 1.6; }

.blog-cover { max-width: 1000px; margin: 30px auto 0; padding: 0 48px; }
.blog-cover img { width: 100%; height: 420px; object-fit: cover; border-radius: 4px; display: block; }

article.blog-body { max-width: 720px; margin: 0 auto; padding: 40px 48px 90px; }
article.blog-body h2 { font-size: 1.7rem; font-weight: 600; color: var(--emerald-950); margin: 40px 0 16px; }
article.blog-body h3 { font-size: 1.25rem; font-weight: 600; color: var(--emerald-800); margin: 30px 0 12px; }
article.blog-body p { font-size: 1.02rem; line-height: 1.85; color: var(--ink); margin-bottom: 20px; }
article.blog-body ul, article.blog-body ol { margin: 0 0 20px 22px; }
article.blog-body li { font-size: 1.02rem; line-height: 1.85; margin-bottom: 8px; }
article.blog-body strong { color: var(--emerald-800); }
article.blog-body a.inline-link { color: var(--gold-dim); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
article.blog-body blockquote {
  border-left: 3px solid var(--gold); padding: 4px 24px; margin: 30px 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; color: var(--emerald-800);
}

.price-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.price-table th { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-600); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-family: 'Fraunces', serif; color: var(--gold-dim); font-weight: 600; }

.cta-box {
  background: var(--emerald-950); color: var(--ivory); border-radius: 6px;
  padding: 36px 40px; margin: 44px 0; text-align: center;
}
article.blog-body .cta-box h3 { color: var(--ivory); margin-bottom: 10px; }
.cta-box p { color: rgba(247,240,222,0.7); margin-bottom: 22px; }
.cta-box .btn {
  display: inline-block; background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  color: var(--emerald-950); padding: 13px 30px; border-radius: 2px; text-decoration: none;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}

.related { max-width: 1000px; margin: 0 auto; padding: 0 48px 80px; }
.related h2 { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--emerald-950); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Index listing */
.blog-index-hero { background: var(--emerald-950); padding: 90px 48px 60px; text-align: center; }
.blog-index-hero p.tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
.blog-index-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ivory); font-weight: 600; }
.blog-index-hero p.sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.3rem; color: rgba(247,240,222,0.65); margin-top: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }

.post-grid { max-width: 1100px; margin: 0 auto; padding: 70px 48px 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--cream); border-radius: 4px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; border-bottom: 3px solid transparent; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(14,31,25,0.14); border-bottom-color: var(--gold); }
.post-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.post-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-600); }
.post-card-title { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; color: var(--emerald-950); line-height: 1.35; }
.post-card-desc { font-size: 0.87rem; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.post-card-link { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-dim); }

footer.blog-footer { background: var(--emerald-950); color: rgba(247,240,222,0.5); padding: 40px 48px; text-align: center; font-size: 0.82rem; }
footer.blog-footer a { color: var(--gold-bright); text-decoration: none; font-weight: 600; }

.nav-logo-img {
  position: absolute; left: 0; bottom: 0;
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block;
  border: 2px solid rgba(203,164,92,0.5);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  transform: translateY(50%);
  transition: width 0.4s cubic-bezier(.2,.8,.2,1), height 0.4s cubic-bezier(.2,.8,.2,1),
              transform 0.4s cubic-bezier(.2,.8,.2,1);
  z-index: 5;
}
nav.scrolled .nav-logo-img { width: 38px; height: 38px; transform: translateY(0); }
.nav-order-cta { background: transparent !important; color: var(--gold-bright) !important; border: 1.5px solid var(--gold-bright) !important; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav, .breadcrumb, .blog-hero, .blog-cover, article.blog-body, .related, .blog-index-hero, .post-grid { padding-left: 22px; padding-right: 22px; }
  .related-grid, .post-grid { grid-template-columns: 1fr; }
  .nav-links li:not(:last-child) { display: none; }
  .nav-logo-img { width: 68px; height: 68px; }
  nav.scrolled .nav-logo-img { width: 38px; height: 38px; }
}
