/* ═══════════════════════════════════════════════════════════════════
   Shared site nav — lifted from styles.css so subpages match index
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --navy-deep: #0E1828;
  --navy-ink: #08111F;
  --line: rgba(184, 150, 46, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', system-ui, sans-serif;
}

html { scroll-padding-top: 71px; }

nav#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
  grid-auto-rows: 0;
  align-items: center;
  gap: 32px;
  background: linear-gradient(to bottom, rgba(8, 17, 31, 0.85) 0%, rgba(8, 17, 31, 0.65) 70%, transparent 100%);
  border-bottom: none;
  transition: background .35s ease, padding .35s ease, backdrop-filter .35s ease;
}
nav#site-nav.is-scrolled {
  background: rgba(8, 17, 31, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 14px 48px;
  border-bottom: 1px solid var(--line);
}

nav#site-nav .logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
nav#site-nav .logo-main {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: none;
}
nav#site-nav .logo-main span { color: #D4AF5A; }
nav#site-nav .logo-sub {
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-top: 4px;
}

nav#site-nav .nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  justify-content: center;
  position: relative;
  margin: 0;
  padding: 0;
}
nav#site-nav .nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color .25s;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  border-bottom: none;
}
nav#site-nav .nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #D4AF5A;
  opacity: 0.6;
  transition: width .35s var(--ease-out), left .35s var(--ease-out);
}
nav#site-nav .nav-links a:hover { color: #D4AF5A; }
nav#site-nav .nav-links a.active { color: #D4AF5A; }
nav#site-nav .nav-links a:hover::after { width: 100%; left: 0; }

nav#site-nav .nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #0E1828;
  text-decoration: none;
  background: #D4AF5A;
  padding: 12px 22px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color .35s ease;
  border: none;
}
nav#site-nav .nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #B8962E;
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
nav#site-nav .nav-cta span { position: relative; z-index: 1; }
nav#site-nav .nav-cta:hover::before { transform: translateY(0); }
nav#site-nav .nav-cta:hover { background: #D4AF5A; }

nav#site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 38px; height: 38px;
}
nav#site-nav .nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #D4AF5A;
  margin: 5px auto;
  transition: .3s var(--ease-out);
}

/* Mobile */
@media (max-width: 960px) {
  nav#site-nav { padding: 14px 24px; grid-template-columns: 1fr auto; }
  nav#site-nav .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 88px 32px 32px;
    gap: 28px;
    transition: right .35s var(--ease-out);
    border-left: 1px solid var(--line);
    justify-content: flex-start;
  }
  nav#site-nav .nav-links a { font-size: 14px; }
  nav#site-nav.nav-mobile-open .nav-links { right: 0; }
  nav#site-nav .nav-toggle { display: block; }
  nav#site-nav .nav-cta { display: none; }
}

@media (max-width: 1180px) and (min-width: 961px) {
  nav#site-nav { padding: 14px 28px; gap: 20px; }
  nav#site-nav .nav-links { gap: 22px; }
  nav#site-nav .nav-links a { font-size: 10.5px; letter-spacing: .16em; }
  nav#site-nav .nav-cta { padding: 10px 16px; font-size: 10.5px; letter-spacing: .16em; }
  nav#site-nav .logo-sub { font-size: 8.5px; }
}
@media (max-width: 1040px) and (min-width: 961px) {
  nav#site-nav .logo-sub { display: none; }
  nav#site-nav .nav-links { gap: 18px; }
  nav#site-nav .nav-links a { font-size: 10px; }
}

/* The article pages have a light background — push body content below the fixed dark nav */
body { padding-top: 0; }
