/* ── shared.css — used by every page ── */

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

:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --charcoal: #1a1a1a;
  --mid: #4a4a4a;
  --light: #8a8a8a;
  --accent: #b8860b;
  --accent-light: #d4a843;
  --rule: #d8d0c4;
  --nav-height: 60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,134,11,0.25);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav-brand:hover { color: var(--accent-light); }

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

.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  transition: color 0.3s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--accent-light); }
.nav-links a.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: rgba(245,240,232,0.4);
  text-align: center;
  padding: 3rem 2rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

/* ── LAYOUT HELPERS ── */
main { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }

section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible { opacity: 1; transform: translateY(0); }
section:last-child { border-bottom: none; }

.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 200px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 2rem;
}

h2 em { font-style: italic; color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandRule {
  from { width: 0; opacity: 0; }
  to   { width: 80px; opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(184,134,11,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 2rem; border-bottom: none; }
  .nav-hamburger { display: block; }
  main { padding: 0 1.25rem; }
  section { padding: 4rem 0; }
}
