/* ── NAVBAR ─────────────────────────────────────── */
.site-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-nav .brand span {
  color: var(--amber);
  font-style: italic;
  font-weight: 400;
}

.nav-link-item {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
  position: relative;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.25s ease;
}

.nav-link-item:hover {
  color: var(--ink);
}

.nav-link-item:hover::after {
  width: 100%;
}

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb-bar {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

.breadcrumb-inner a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb-inner a:hover {
  color: var(--amber);
}

.breadcrumb-sep {
  color: var(--rule);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 400;
}

/* ── ARTICLE HEADER ──────────────────────────────── */
.article-header {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  background: var(--cream-dark);
}

.doc-type-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doc-type-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--amber);
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.article-person-link {
  font-family: var(--garamond);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-person-link:hover {
  color: var(--amber);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.meta-portrait {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  filter: sepia(12%);
  flex-shrink: 0;
}

.meta-info {
  flex: 1;
}

.meta-name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
}

.meta-dates {
  font-family: var(--garamond);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.45em 1em;
  border-radius: 2px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.back-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ── OTHER DOCS ──────────────────────────────────── */
.other-docs-title {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.875rem;
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--cream-dark);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-family: var(--sans);
  transition: color 0.15s;
}

.doc-link:last-child {
  border-bottom: none;
}

.doc-link:hover {
  color: var(--amber);
}

.doc-link .icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.doc-link .doc-arrow {
  margin-left: auto;
  color: var(--rule);
  font-size: 0.8rem;
  transition: color 0.15s, transform 0.15s;
}

.doc-link:hover .doc-arrow {
  color: var(--amber);
  transform: translateX(2px);
}

/* ── END ORNAMENT + NAV ──────────────────────────── */
.article-end {
  max-width: 680px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.ornament {
  color: var(--amber-light);
  letter-spacing: 0.4em;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.doc-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.2s;
  max-width: 48%;
}

.doc-nav-link:hover {
  color: var(--amber);
}

.doc-nav-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.doc-nav-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.doc-nav-link:hover .doc-nav-title {
  color: var(--amber);
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0;
  background: var(--cream);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.footer-brand span {
  font-style: italic;
  color: var(--amber);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
}

.fade-up-1 {
  animation-delay: 0.05s;
}

.fade-up-2 {
  animation-delay: 0.15s;
}

.fade-up-3 {
  animation-delay: 0.25s;
}

@media (max-width: 767px) {
  .article-header {
    padding: 2rem 0 1.5rem;
  }

  .article-wrap {
    padding: 2rem 0 3rem;
  }
}
