/* ── SHARED STYLES: mistyhamiltonsmith.com ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0d0b0e;
  --vellum: #f0ebe3;
  --parchment: #d9d0c0;
  --ash: #8a7f72;
  --blood: #8b1a1a;
  --gold: #c8a45a;
  --gold-dim: #8c6e30;
  --fog: #1a1620;
  --mist: #2a2230;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--ink);
  color: var(--vellum);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(13,11,14,0.97), transparent);
  backdrop-filter: blur(4px);
}

.nav-logo {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--gold); }

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

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ash);
  transition: all 0.3s;
}

/* BUTTONS */
.btn {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border: 1px solid;
  transition: all 0.35s ease;
  display: inline-block;
  cursor: pointer;
}
.btn-primary { background: var(--blood); border-color: var(--blood); color: var(--vellum); }
.btn-primary:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; border-color: var(--ash); color: var(--ash); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: transparent; border-color: var(--gold-dim); color: var(--gold-dim); }
.btn-gold:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,164,90,0.05); }

/* SECTION BASE */
section { padding: 6rem 2rem; position: relative; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blood);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--vellum);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-title em { color: var(--gold); font-style: italic; }

/* DIVIDER */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--gold-dim);
  opacity: 0.4;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim));
}
.ornament-divider::after { background: linear-gradient(to left, transparent, var(--gold-dim)); }

/* FOOTER */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(200,164,90,0.1);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-glyph { font-size: 1.5rem; color: var(--gold-dim); opacity: 0.3; display: block; margin-bottom: 1rem; }
.footer-name { font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ash); }
.footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; list-style: none; margin-top: 1.5rem; }
.footer-links a {
  font-family: 'Cinzel', serif; font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ash); text-decoration: none; opacity: 0.5; transition: opacity 0.3s, color 0.3s;
}
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: var(--ash); opacity: 0.3; margin-top: 2rem; font-style: italic; }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; gap: 1.5rem; position: fixed; top: 0; right: 0; bottom: 0; width: 70vw; max-width: 300px; background: rgba(13,11,14,0.98); padding: 5rem 2rem 2rem; z-index: 99; transform: translateX(100%); transition: transform 0.4s ease; }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-hamburger { display: flex; z-index: 101; }
}
