/* ============================================================
   BAYES GLOBAL — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Cinzel:wght@400;500&display=swap');

:root {
  --gold: #B8962E;
  --gold-light: #C9A84C;
  --gold-muted: #A0823A;
  --charcoal: #2E2E35;
  --charcoal-dark: #1E1E24;
  --charcoal-nav: #3A3A45;
  --parchment: #F5F0E8;
  --parchment-dark: #EDE6D6;
  --ink: #2C2418;
  --ink-light: #4A3F30;
  --purple-banner: #5A527A;
  --text-body: #3D3428;
  --text-muted: #7A6E5F;
  --divider: #C9A84C;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  background-color: var(--parchment);
  color: var(--text-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Parchment texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

/* ── NAVIGATION ── */
nav {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
  height: 72px;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(184,150,46,0.3);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  position: relative;
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #F0EAD6;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.nav-logo::before {
  content: '';
  display: block;
  width: 44px;
  height: 18px;
  border-top: 1.5px solid var(--gold);
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: #D4C9B0;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold-light); }

/* ── ORNAMENT DIVIDER ── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 1.5rem auto;
  width: 100%;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-muted));
  max-width: 280px;
}

.ornament::after {
  background: linear-gradient(to left, transparent, var(--gold-muted));
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold-muted);
  transform: rotate(45deg);
  margin: 0 10px;
  flex-shrink: 0;
}

/* ── PAGE WRAPPER ── */
.page-content {
  position: relative;
  isolation: auto;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(184,150,46,0.2);
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--gold-muted);
  text-decoration: none;
}

footer a:hover { color: var(--gold); }

/* ── TAGLINE ── */
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 400;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.9rem; }
  .nav-logo { font-size: 1.1rem; }
  .nav-news-short { display: inline; }
  .nav-news-full { display: none; }
}

@media (min-width: 769px) {
  .nav-news-short { display: none; }
  .nav-news-full { display: inline; }
}

@media (max-width: 560px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; letter-spacing: 0; }
}
