/* ── MASTHEAD ── */

.masthead {
  border-bottom: 3px double var(--ink);
  padding: 1.25rem 4vw 0;
  display: grid;
  grid-template-rows: auto auto auto;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}

.issue-info {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.nav-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}

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

.masthead-title {
  text-align: center;
  padding: 1.8rem 0 1.4rem;
}

.masthead-title h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.masthead-title .subtitle {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  color: #666;
}

.masthead-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid var(--rule);
}

.masthead-bottom span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #888;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
}

/* ── Compact masthead (folio pages) ── */
.masthead--compact {
  padding-bottom: 0;
}

.masthead--compact .masthead-title {
  padding: 0.5rem 0 0.4rem;
}

.masthead--compact .masthead-title h1 {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  line-height: 1;
}

.masthead--compact .masthead-title .subtitle,
.masthead--compact .masthead-bottom {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .masthead-title h1 { font-size: clamp(2.8rem, 14vw, 5rem); }
  .masthead-bottom { flex-direction: column; gap: 0.3rem; text-align: center; }
}
