/* ─────────────────────────────────────────
   Napoleon Era — style.css
   Shared across all pages via base.html
───────────────────────────────────────── */

:root {
  --cream:      #f4f1eb;
  --beige:      #e8dfc8;
  --beige-dark: #d4c4a0;
  --grey-light: #eee9df;
  --grey:       #857a68;
  --charcoal:   #2a2520;
  --ink:        #1a150e;
  --gold:       #8b6f3a;
}

/* ── BASE ── */
body {
  background: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  color: var(--charcoal);
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--beige-dark);
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  justify-content: space-between;
}
.site-nav .brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.site-nav .nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav .nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active { color: var(--ink); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  padding: 2.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4f1eb;
}
.footer-sub {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--grey);
}

/* ─────────────────────────────────────────
   HOME PAGE
───────────────────────────────────────── */

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 86vh;
}
.hero-left {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-left .bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-left .hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #d4c4a0;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f4f1eb;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-weight: 400;
  font-style: italic;
  color: #e8dfc8;
}
.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: #c8c2b4;
  max-width: 400px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.btn-hero {
  display: inline-block;
  background: #e8dfc8;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: 0;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-hero:hover { background: var(--cream); color: var(--ink); }

.hero-right {
  background: var(--grey-light);
  border-left: 1px solid var(--beige-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
}
.stats-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
}
.stat-item {
  padding-bottom: 2.2rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--beige-dark);
}
.stat-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-desc { font-style: italic; font-size: 1rem; color: var(--grey); }

/* Articles section */
.articles-section { padding: 6rem 4rem; }
.section-rule {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.section-rule::before,
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--beige-dark);
}
.section-rule span {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.section-sub {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 3.5rem;
}

/* Article cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.article-card {
  background: #f0ede6;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--beige-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:nth-child(even) { background: #e8dfc8; }
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26,21,14,0.16);
  color: inherit;
  position: relative;
  z-index: 2;
}
.card-img-wrap { overflow: hidden; flex-shrink: 0; }
.card-img-wrap img {
  width: 100%; height: 210px;
  object-fit: cover; display: block;
  filter: grayscale(30%) brightness(0.93);
  transition: filter 0.5s, transform 0.5s;
}
.article-card:hover .card-img-wrap img {
  filter: grayscale(0%) brightness(1.03);
  transform: scale(1.05);
}
.card-body-inner {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.card-num {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-tag {
  background: var(--beige-dark);
  color: #4a4032;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 0;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.card-subtitle {
  font-style: italic;
  font-size: 0.9rem;
  color: #635948;
  margin-bottom: 0.9rem;
}
.card-divider {
  border: none;
  border-top: 1px solid var(--beige-dark);
  margin-bottom: 0.9rem;
}
.card-excerpt {
  font-size: 0.95rem;
  color: #4a4032;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}
.card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.card-read-time { font-style: italic; font-size: 0.8rem; color: var(--grey); }
.btn-article {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 0;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-article:hover { background: var(--gold); color: var(--cream); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { min-height: 55vh; }
  .hero-left .hero-content { padding: 3rem; }
  .hero-right { padding: 3rem; border-left: none; border-top: 1px solid var(--beige-dark); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .articles-section { padding: 4rem 2rem; }
  .site-nav { padding: 0 2rem; }
  .site-footer { padding: 2rem; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .site-nav .nav-links { display: none; }
}