/* ── Shared Styles · Provenance ── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Lora:wght@400;500&family=DM+Mono:wght@300;400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --ink:          #16120e;
  --ink-mid:      #3d3530;
  --ink-light:    #7a706a;
  --cream:        #f7f3ec;
  --parchment:    #ede6d8;
  --rule:         #cec5b8;
  --accent:       #6b3a2a;
  --accent-warm:  #a0532e;
  --nav-h:        72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 50;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  opacity: 1;
  z-index: 200;
}

.nav-wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-wordmark-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Lora', serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-logo {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  background: #a0532e;
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
}

.btn-secondary {
  display: inline-block;
  padding: 13px 32px;
  background: #a0532e;
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
}

.btn-primary, .btn-secondary {
  transition: background 0.25s, border-color 0.25s, color 0.25s,
              transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--accent-warm);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.btn-secondary:hover {
  background: var(--accent-warm);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ── Section label ── */
.section-label {
  font-family: 'Lora', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
  display: block;
  border-left: 2px solid var(--accent-warm);
  padding-left: 10px;
  line-height: 1;
}
.section-label::after {
  display: none;
}

/* ── Footer ── */
footer {
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
}

.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.footer-copy {
  font-family: 'Lora', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}

/* ── Responsive (shared) ── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  footer { padding: 24px; flex-direction: column; gap: 10px; text-align: center; }
}

@media (min-width: 769px) {
  .nav-links { display: flex !important; }
}
