:root {
  --ves-cream: #f6eee6;
  --ves-ivory: #fff8ef;
  --ves-deep: #2e2520;
  --ves-plum: #7b515a;
  --ves-muted: #5f5147;
  --ves-border: rgba(234, 217, 203, 0.55);
}
* { box-sizing: border-box; }
body.journal-page {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--ves-deep);
  background:
    radial-gradient(900px 320px at 10% -12%, rgba(255,248,239,0.85), rgba(255,248,239,0)),
    radial-gradient(780px 300px at 88% 8%, rgba(220,201,188,0.2), rgba(220,201,188,0)),
    linear-gradient(180deg, #f3e8df 0%, var(--ves-cream) 45%, #f7efe7 100%);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.journal-hero {
  padding: 12px 22px 26px;
  background: linear-gradient(118deg, #5c4337, #7b515a 54%, #8a6b58);
}
.article-hero.tone-evening { background: linear-gradient(116deg, #5f4639, #7f5961 52%, #8a6f5f); }
.article-hero.tone-plum { background: linear-gradient(118deg, #5f3f46, #7f4e5c 52%, #8f6a62); }
.article-hero.tone-blush { background: linear-gradient(118deg, #6b4b46, #8a615f 50%, #9a7a6e); }
.article-hero.tone-sage { background: linear-gradient(118deg, #566056, #6f7060 54%, #8d7d6a); }
.journal-nav {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  color: #fff8ef;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: rgba(255,248,239,0.9);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.journal-hero-copy {
  max-width: 1160px;
  margin: 18px auto 0;
  color: #fff8ef;
}
.eyebrow {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 241, 229, 0.9);
}
.journal-hero-copy h1 {
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
}
.journal-hero-copy p {
  margin: 0;
  max-width: 740px;
  line-height: 1.7;
}
.journal-main {
  width: min(1160px, 100% - 28px);
  margin: 26px auto 0;
  display: grid;
  gap: 20px;
}
.journal-main > * {
  animation: journalFadeIn .55s ease both;
}
@keyframes journalFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.featured-post {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--ves-border);
  background: linear-gradient(160deg, rgba(255, 251, 246, 0.9), rgba(249, 241, 232, 0.86));
}
.featured-media,
.post-media {
  border-radius: 14px;
  background: linear-gradient(150deg, #d6c0b2, #b08e8a 56%, #8f7d72);
  background-size: cover;
  background-position: center;
  min-height: 240px;
  display: block;
  transition: transform .38s ease, box-shadow .38s ease, filter .38s ease;
}
.featured-media:hover,
.post-media:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 14px 28px rgba(78, 62, 53, 0.14);
  filter: saturate(1.03);
}
.featured-copy h2,
.post-copy h3,
.article-body h2,
.article-body h3,
.related-posts h2,
.article-cta-block h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 0.003em;
}
.featured-copy h2 {
  font-size: clamp(36px, 4.8vw, 54px);
  line-height: 0.95;
  margin-top: 8px;
}
.featured-copy h2 a,
.post-copy h3 a { color: var(--ves-deep); text-decoration: none; }
.featured-copy p,
.post-copy p,
.article-body p,
.article-cta-block p { color: var(--ves-muted); line-height: 1.72; }
.small-eyebrow {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7b6554;
}
.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  margin-top: 10px;
}
.meta-line a { color: #5f4237; text-decoration: none; }
.meta-line a:hover { text-decoration: underline; }
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-chip {
  text-decoration: none;
  color: #654d3f;
  border: 1px solid rgba(194, 170, 151, 0.55);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 251, 246, 0.66);
}
.category-chip.active {
  background: rgba(123, 81, 90, 0.18);
  border-color: rgba(123, 81, 90, 0.36);
}
.journal-search-wrap {
  margin-top: -4px;
}
.journal-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.journal-search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(194, 170, 151, 0.56);
  background: rgba(255, 251, 246, 0.86);
  color: #4e3f34;
  font-size: 14px;
}
.journal-search button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(123,81,90,.13);
  color: #5f4237;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.post-card {
  border: 1px solid var(--ves-border);
  background: linear-gradient(160deg, rgba(255, 251, 246, 0.9), rgba(249, 241, 232, 0.86));
  border-radius: 14px;
  overflow: hidden;
  transition: transform .36s ease, box-shadow .36s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(78, 62, 53, 0.12);
}
.post-media { min-height: 190px; border-radius: 0; }
.post-copy { padding: 14px 14px 16px; }
.post-copy h3 { font-size: clamp(28px, 4vw, 40px); line-height: 0.95; margin-top: 6px; }
.empty-posts {
  grid-column: 1 / -1;
  border: 1px solid var(--ves-border);
  border-radius: 14px;
  background: rgba(255, 251, 246, 0.78);
  padding: 20px;
}
.empty-posts h3 { margin: 0 0 8px; font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 500; }
.article-hero .journal-hero-copy h1 { max-width: 880px; }
.article-main {
  max-width: 780px;
  margin-top: 48px;
  gap: 30px;
}
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: rgba(123, 81, 90, 0.72);
  z-index: 90;
  transition: transform .15s linear;
}
.article-cover {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 251, 246, 0.82);
  box-shadow: 0 18px 36px rgba(78, 62, 53, 0.1);
}
.article-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-body {
  padding: 8px 2px 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.article-body p,
.article-body li {
  font-size: 20px;
  line-height: 1.95;
  letter-spacing: 0.002em;
}
.article-body p { margin: 0 0 22px; color: #55473d; }
.article-body h2 {
  font-size: clamp(42px, 5.4vw, 58px);
  margin: 44px 0 14px;
  line-height: 0.95;
}
.article-body h3 {
  font-size: clamp(34px, 4.5vw, 46px);
  margin: 34px 0 12px;
  line-height: 0.97;
}
.article-body ul {
  margin: 12px 0 26px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.article-body ul li {
  position: relative;
  padding-left: 24px;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(123, 81, 90, 0.35);
  transform: translateY(-50%);
}
.article-body hr {
  border: 0;
  border-top: 1px solid rgba(198, 174, 155, 0.5);
  margin: 36px 0;
}
.article-body blockquote {
  margin: 34px 0;
  padding: 14px 0 14px 22px;
  border-left: 2px solid rgba(123, 81, 90, 0.38);
  background: transparent;
  border-radius: 0;
}
.article-body blockquote p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.05;
  color: #3f3129;
}
.article-cta-block {
  padding: 26px;
  border: 1px solid rgba(206, 182, 158, 0.36);
  border-radius: 18px;
  background: radial-gradient(460px 200px at 14% 0%, rgba(255,255,255,0.3), rgba(255,255,255,0)), linear-gradient(160deg, rgba(248, 238, 230, 0.88), rgba(244, 231, 222, 0.82));
}
.article-ending-glyph {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  color: rgba(122, 98, 82, 0.75);
  margin: -4px 0 0;
}
.btn-primary {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ves-plum);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}
.related-posts { margin-bottom: 4px; }
.related-posts h2 {
  margin-bottom: 14px;
  font-size: clamp(40px, 5vw, 52px);
}
.post-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.post-grid.compact .post-media {
  min-height: 170px;
  position: relative;
}
.post-grid.compact .post-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(39,30,26,0), rgba(39,30,26,.14));
  opacity: 0;
  transition: opacity .3s ease;
}
.post-grid.compact .post-card:hover .post-media::after {
  opacity: 1;
}
.post-grid.compact .post-copy h3 { font-size: clamp(24px, 3vw, 34px); }
.post-grid.compact .post-copy p {
  margin-top: 8px;
  margin-bottom: 0;
}
.share-softly {
  border-top: 1px solid rgba(198, 174, 155, 0.46);
  padding-top: 18px;
  margin-top: 2px;
}
.share-softly h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #775f50;
  font-weight: 500;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(188, 163, 144, 0.56);
  background: rgba(255, 251, 246, 0.78);
  color: #5e4a3d;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .22s ease, transform .22s ease;
}
.share-btn:hover {
  background: rgba(255, 245, 235, 0.92);
  transform: translateY(-1px);
}
@media (max-width: 980px) {
  .journal-nav { align-items: flex-start; flex-direction: column; gap: 10px; }
  .featured-post { grid-template-columns: 1fr; }
  .post-grid,
  .post-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-main {
    max-width: 720px;
    margin-top: 36px;
  }
}
@media (max-width: 680px) {
  .journal-hero { padding: 10px 14px 20px; }
  .logo { font-size: 32px; }
  .nav-links { gap: 12px; flex-wrap: wrap; }
  .journal-main { width: calc(100% - 20px); margin-top: 20px; }
  .article-main {
    max-width: 100%;
    margin-top: 28px;
    gap: 22px;
  }
  .post-grid,
  .post-grid.compact { grid-template-columns: 1fr; }
  .journal-search {
    grid-template-columns: 1fr;
  }
  .journal-search button {
    width: 100%;
  }
  .article-cover { border-radius: 14px; }
  .article-body { padding: 0; }
  .article-body p,
  .article-body li {
    font-size: 18px;
    line-height: 1.86;
  }
  .article-body p { margin-bottom: 18px; }
  .article-body h2 { margin-top: 30px; font-size: clamp(34px, 8.2vw, 44px); }
  .article-body h3 { margin-top: 24px; font-size: clamp(30px, 7.2vw, 38px); }
  .article-body blockquote { margin: 24px 0; padding-left: 14px; }
  .article-body blockquote p { font-size: clamp(30px, 8vw, 38px); }
  .article-cta-block { padding: 20px; }
  .btn-primary { width: 100%; text-align: center; }
  .share-softly {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}
