/* ==============================================
   newsletter.css
   Newsletter dedicated page styles.
   Used on: /newsletter/
   ============================================== */

.nl-page-hero {
  background: var(--newsletter-bg);
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nl-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200, 151, 58, 0.12) 0%, transparent 70%);
}

.nl-page-hero-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nl-page-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.nl-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: #F5F0E8;
  margin: 0 0 20px;
}

.nl-page-title em {
  font-style: italic;
  color: var(--amber-light);
}

.nl-page-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.6);
  margin: 0 0 36px;
}

.nl-page-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto 12px;
}

.nl-page-form input {
  flex: 1;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.22);
  border-right: none;
  padding: 14px 18px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: #F5F0E8;
  outline: none;
  border-radius: 3px 0 0 3px;
}

.nl-page-form input::placeholder {
  color: rgba(245, 240, 232, 0.32);
}

.nl-page-form button {
  background: var(--amber);
  color: var(--ink);
  border: none;
  padding: 14px 26px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 0 3px 3px 0;
  transition: background 0.2s;
}

.nl-page-form button:hover {
  background: var(--amber-light);
}

.nl-page-privacy {
  font-size: 0.76rem;
  color: rgba(245, 240, 232, 0.28);
}

.nl-page-form-embed {
  max-width: 420px;
  margin: 0 auto 12px;
}

.nl-page-form-embed form,
.nl-page-form-embed p {
  margin: 0;
}

.nl-page-form-embed p + p {
  margin-top: 12px;
}

.nl-page-form-embed input::placeholder {
  color: rgba(245, 240, 232, 0.32);
}

.nl-page-form-embed input[type="submit"]:hover,
.nl-page-form-embed button:hover,
.nl-page-form-embed .button:hover {
  background: var(--amber-light);
}

.nl-page-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 72px);
}

.nl-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.nl-feature {
  background: var(--bg-subtle);
  border: 1px solid var(--amber);
  border-radius: 6px;
  padding: 28px 24px;
}

.nl-feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.nl-feature-icon img {
  height: 48px;
  width: auto;
  display: block;
}

.nl-feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 9px;
}

.nl-feature-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.nl-archive-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
}

.nl-archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nl-archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s;
}

.nl-archive-item:first-child {
  border-top: 1px solid var(--border);
}

.nl-archive-item:hover {
  background: var(--bg-subtle);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.nl-archive-item .nl-archive-title-text {
  color: var(--amber-dark);
  transition: color var(--transition);
}

.nl-archive-item:hover .nl-archive-title-text {
  color: var(--amber);
}

.nl-archive-title-text {
  font-family: var(--font-essay-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.nl-archive-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  white-space: nowrap;
}

.nl-archive-arrow {
  color: var(--amber);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Archive CTA (on subscribe page) ── */

.nl-archive-cta {
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.nl-archive-cta-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 900;
}

.nl-archive-cta-link:hover {
  color: var(--amber);
}

/* ==============================================
   Issue archive cards grid
   ============================================== */

.nl-issues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.nl-issue-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.nl-issue-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.nl-issue-card-header {
  background: var(--brown);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nl-issue-number {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
}

.nl-issue-date-badge {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.nl-issue-card-body {
  padding: 20px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nl-issue-card-title {
  font-family: var(--font-essay-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}

.nl-issue-card-teaser {
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 16px;
}

.nl-issue-card-cta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

/* Responsive — issue cards */
@media (max-width: 640px) {
  .nl-issues-grid {
    grid-template-columns: 1fr;
  }
}
