:root {
  --green-deep: #1A2F2A;
  --green-mid: #2D4A3E;
  --green-accent: #3D6B5A;
  --cream: #F5F0E8;
  --cream-light: #FAF8F4;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --text-primary: #F5F0E8;
  --text-secondary: rgba(245, 240, 232, 0.6);
  --text-dim: rgba(245, 240, 232, 0.35);
  --rule: rgba(245, 240, 232, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--green-deep);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1000;
}

/* ========== NAVIGATION ========== */
.nav {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.825rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* ========== JOURNAL INDEX ========== */
.journal-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.journal-header .kicker {
  font-size: 0.77rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.journal-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.journal-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.article-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  list-style: none;
}

.article-card {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
}

.article-card .meta {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.article-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.article-card h2 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-card h2 a:hover {
  color: var(--gold-light);
}

.article-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.article-card .read-more {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.article-card .read-more:hover {
  color: var(--gold-light);
}

/* ========== ARTICLE PAGE ========== */
.article {
  max-width: 680px;
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
}

.article .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.article h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.article .byline {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.article .lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 3rem 0 1.1rem;
}

.article h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 2.2rem 0 0.8rem;
}

.article p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.article strong {
  font-weight: 500;
  color: var(--text-primary);
}

.article a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(196, 162, 101, 0.35);
  text-underline-offset: 3px;
}

.article a:hover {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}

.article ul, .article ol {
  margin: 0 0 1.4rem 1.4rem;
  color: var(--text-secondary);
}

.article li {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.92rem;
}

.article th {
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 2px solid var(--gold);
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.article td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  color: var(--text-secondary);
  line-height: 1.55;
  vertical-align: top;
}

.article .callout {
  background: rgba(196, 162, 101, 0.07);
  border-left: 2px solid var(--gold);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
}

.article .callout p {
  margin-bottom: 0;
  font-size: 0.97rem;
}

.article .divider {
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.8em;
  margin: 2.8rem 0;
  font-size: 0.8rem;
}

/* ========== CTA ========== */
.article-cta {
  max-width: 680px;
  margin: 0 auto 5rem;
  padding: 2.8rem 2.5rem;
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid var(--rule);
  color: var(--cream);
  text-align: center;
  border-radius: 2px;
}

.article-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.article-cta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.article-cta a {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--green-deep);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.article-cta a:hover {
  background: var(--gold-light);
}

/* ========== FOOTER ========== */
.footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
}

.footer-left {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-right {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.935rem;
  color: var(--text-dim);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav { padding: 1.5rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .journal-header { padding: 3.5rem 1.5rem 2rem; }
  .article { padding: 3rem 1.5rem; }
  .article-cta { margin: 0 1.5rem 4rem; }
  .footer {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding: 1.5rem;
  }
  .article table { font-size: 0.85rem; }
  .article th, .article td { padding: 0.6rem 0.5rem; }
}

@media (max-width: 480px) {
  .nav-wordmark {
    font-size: 1.0rem;
    letter-spacing: 0.2em;
  }
  .nav-links a {
    font-size: 0.7rem;
  }
}
