/* Shared styles for the Journal (blog) index + article pages.
   Pura Vida light palette, matched to team-light.html / the rest of the site. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --obsidian: #f7f3ea;
  --obsidian-2: #ffffff;
  --obsidian-3: #f1ece0;
  --obsidian-4: #e8dfcd;
  --gold: #9c7530;
  --gold-light: #b89038;
  --cream: #2c3327;
  --white: #1c231a;
  --muted: #6f7366;
  --muted-light: #3e453a;
  --border: rgba(156,117,48,0.30);
  --border-subtle: rgba(40,55,40,0.10);
  --jade-deep: #2b4a39;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--obsidian);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; }

/* NAV (matches the rest of the light site) */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 72px;
  background: rgba(255,253,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; }
.nav-logo-vip { font-family: var(--serif); font-size: 22px; color: var(--gold); font-weight: 300; letter-spacing: 0.05em; }
.nav-logo-sub { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; list-style: none; gap: 2.2rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #ffffff; padding: 9px 22px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.blog-hero {
  padding: 72px 0 0; min-height: 360px; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; background: var(--obsidian-2);
}
.blog-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.4;
}
.blog-hero-content { position: relative; z-index: 2; padding: 4.5rem 6rem 3.5rem; max-width: 1000px; }
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.3rem; display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 40px; height: 1px; background: var(--gold); }
.blog-hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 6vw, 76px); font-weight: 300;
  line-height: 1.02; color: var(--white); letter-spacing: -0.01em; margin-bottom: 1.2rem;
}
.blog-hero h1 em { font-style: italic; color: var(--gold-light); }
.blog-hero-desc { font-size: 14px; color: var(--muted-light); max-width: 600px; line-height: 1.8; }

/* BLOG INDEX GRID */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 5rem 4rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--border-subtle); border: 1px solid var(--border-subtle); }
.article-card {
  background: var(--obsidian-2); padding: 2.6rem 2.3rem; display: flex; flex-direction: column;
  text-decoration: none; position: relative; transition: background 0.3s; min-height: 320px;
}
.article-card:hover { background: var(--obsidian-3); }
.article-card::after {
  content: ''; position: absolute; bottom: 0; left: 2.3rem; right: 2.3rem; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent); opacity: 0; transition: opacity 0.3s;
}
.article-card:hover::after { opacity: 0.5; }
.card-tag { font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.card-title { font-family: var(--serif); font-size: 27px; font-weight: 400; color: var(--white); line-height: 1.12; margin-bottom: 0.9rem; }
.card-excerpt { font-size: 13px; color: var(--muted-light); line-height: 1.8; flex: 1; }
.card-meta { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); margin-top: 1.5rem; text-transform: uppercase; }
.card-readmore { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 0.6rem; }

/* ARTICLE BODY */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 1rem; }
.article-meta { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-meta span::after { content: '·'; margin-left: 1rem; color: var(--border); }
.article-meta span:last-child::after { content: ''; }
.article-body { font-size: 16px; line-height: 1.85; color: var(--muted-light); }
.article-body h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--white); line-height: 1.2; margin: 2.8rem 0 1rem; }
.article-body h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--jade-deep); margin: 2rem 0 0.6rem; }
.article-body p { margin-bottom: 1.3rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.3rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-light); }
.article-body strong { color: var(--white); font-weight: 500; }
.article-lead { font-size: 19px; line-height: 1.7; color: var(--cream); margin-bottom: 2rem; font-weight: 300; }
.pullquote {
  font-family: var(--serif); font-size: 26px; font-style: italic; font-weight: 400; color: var(--jade-deep);
  line-height: 1.4; margin: 2.5rem 0; padding-left: 1.6rem; border-left: 3px solid var(--gold);
}
.article-cta {
  margin: 3.5rem 0 1rem; padding: 2.6rem; background: var(--obsidian-3);
  border: 1px solid var(--border-subtle); text-align: center;
}
.article-cta h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--white); margin-bottom: 0.8rem; }
.article-cta p { font-size: 13px; color: var(--muted-light); max-width: 480px; margin: 0 auto 1.8rem; }
.cta-btn {
  display: inline-block; background: var(--gold); color: #fff; padding: 14px 40px; font-size: 10px;
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; transition: background 0.2s;
}
.cta-btn:hover { background: var(--gold-light); }
.back-link { display: inline-block; margin: 2.5rem 0 0; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--gold); }

/* FOOTER */
footer {
  background: var(--obsidian-2); border-top: 1px solid var(--border-subtle); margin-top: 4rem;
  padding: 2rem 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-logo { font-family: var(--serif); font-size: 18px; color: var(--gold); font-weight: 300; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 10px; color: var(--muted); letter-spacing: 0.15em; }

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

@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .blog-hero-content { padding: 3.5rem 1.5rem 2.5rem; }
  .section-wrap { padding: 3.5rem 1.5rem; }
  .article-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 2.5rem 1.3rem 1rem; }
  .article-body { font-size: 15.5px; }
  footer { flex-direction: column; text-align: center; }
}
