/* ==========================================================================
   NEWSLETTER ARCHIVE — Lusion-inspired immersive design
   ========================================================================== */

/* --- Hero: Dark Commanding --- */
.nla-hero {
  background: var(--color-navy);
  padding: clamp(10rem, 14vw, 14rem) var(--space-8) clamp(var(--space-16), 8vw, var(--space-20));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nla-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(14, 165, 233, 0.06), transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(184, 134, 11, 0.04), transparent 60%);
  pointer-events: none;
}

.nla-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nla-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-4);
  text-align: center;
  max-width: none;
}

.nla-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-navy-text);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.nla-hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-navy-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-10);
}

.nla-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nla-hero-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nla-hero-stat-value {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-cyan);
  font-variant-numeric: tabular-nums;
}

.nla-hero-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-navy-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nla-hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--color-navy-border);
}


/* ==========================================================================
   FEATURED ISSUE — Warm sand background
   ========================================================================== */
.nla-featured {
  background: var(--color-bg);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
  position: relative;
  overflow: hidden;
}

.nla-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 60%, rgba(15, 27, 45, 0.03), transparent 60%);
  pointer-events: none;
}

.nla-featured-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nla-featured-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.nla-featured-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  text-align: center;
  max-width: none;
}

.nla-featured-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
  max-width: none;
}


/* --- 3D Perspective Card --- */
.nla-card-perspective {
  perspective: 1200px;
  padding: var(--space-8);
}

.nla-issue-card {
  position: relative;
  background: var(--color-navy);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow:
    0 4px 16px rgba(15, 27, 45, 0.12),
    0 16px 48px rgba(15, 27, 45, 0.16);
}

.nla-issue-card:hover {
  box-shadow:
    0 8px 32px rgba(15, 27, 45, 0.2),
    0 32px 80px rgba(15, 27, 45, 0.24),
    0 0 0 1px rgba(184, 134, 11, 0.15);
}

.nla-issue-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.nla-issue-card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(var(--space-8), 4vw, var(--space-12)) clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-direction: column;
}

/* Subtle grid texture on card */
.nla-issue-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.nla-issue-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(184, 134, 11, 0.12);
  border: 1px solid rgba(184, 134, 11, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: var(--space-6);
}

.nla-issue-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-navy-text);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.nla-issue-card-edition {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-navy-text-muted);
  margin-bottom: var(--space-6);
}

.nla-issue-card-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--color-navy-border), rgba(184, 134, 11, 0.3), var(--color-navy-border));
  margin-bottom: var(--space-8);
}

/* Stories inside the card */
.nla-issue-card-stories {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.nla-issue-story {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nla-issue-story:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--color-navy-border);
}

.nla-issue-story-num {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-cyan);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
  padding-top: 2px;
}

.nla-issue-story h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-navy-text);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.nla-issue-story p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-navy-text-muted);
  line-height: 1.6;
}

.nla-issue-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  align-self: center;
  margin-top: var(--space-2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nla-issue-card-cta:hover {
  background: #C99510;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
}

.nla-issue-card-cta span {
  transition: transform 0.2s ease;
}

.nla-issue-card-cta:hover span {
  transform: translateX(3px);
}


/* ==========================================================================
   UPCOMING ISSUES — Clean white
   ========================================================================== */
.nla-upcoming {
  background: var(--color-bg);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
}

.nla-upcoming-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  text-align: center;
}

.nla-upcoming-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  text-align: center;
  max-width: none;
}

.nla-upcoming-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: var(--space-12);
}

.nla-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.nla-upcoming-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

.nla-upcoming-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 27, 45, 0.1), 0 4px 12px rgba(15, 27, 45, 0.05);
  border-color: var(--color-border);
}

/* Dark navy header bar */
.nla-upcoming-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #0F1B2D;
}

.nla-upcoming-issue-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.nla-upcoming-date-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Card body */
.nla-upcoming-card-body {
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: var(--space-3);
}

/* Decorative SVG icon */
.nla-upcoming-icon {
  width: 52px;
  height: 52px;
  margin-top: var(--space-2);
  margin-bottom: var(--space-1);
  opacity: 0.12;
  transition: opacity 0.4s ease;
}

.nla-upcoming-card:hover .nla-upcoming-icon {
  opacity: 0.22;
}

.nla-upcoming-icon svg {
  width: 100%;
  height: 100%;
}

/* Topic headline */
.nla-upcoming-topic {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.3;
}

/* Description */
.nla-upcoming-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: none;
}

.nla-upcoming-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  transition: color 0.25s ease, gap 0.25s ease;
}

.nla-upcoming-link:hover {
  color: var(--color-navy);
  gap: 0.6em;
}

.nla-upcoming-link span {
  transition: transform 0.25s ease;
  display: inline-block;
}

.nla-upcoming-link:hover span {
  transform: translateX(3px);
}


/* ==========================================================================
   WHAT'S INSIDE — Light
   ========================================================================== */
.nla-inside {
  background: var(--color-surface-2);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
}

.nla-inside-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  text-align: center;
}

.nla-inside-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  text-align: center;
  max-width: none;
}

.nla-inside-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: var(--space-12);
}

.nla-inside-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: left;
}

.nla-inside-item {
  padding: var(--space-6);
  border-radius: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nla-inside-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 27, 45, 0.06);
}

.nla-inside-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(30, 58, 95, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.nla-inside-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.nla-inside-item p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ==========================================================================
   SUBSCRIBE CTA — Dark
   ========================================================================== */
.nla-subscribe {
  background: var(--color-navy);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nla-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(14, 165, 233, 0.04), transparent 60%);
  pointer-events: none;
}

.nla-subscribe-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nla-subscribe-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-navy-text);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.nla-subscribe-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-navy-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.nla-subscribe-form {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto var(--space-4);
}

.nla-subscribe-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-navy-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-navy-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nla-subscribe-form input[type="email"]:focus {
  border-color: var(--color-cyan);
  background: rgba(255, 255, 255, 0.08);
}

.nla-subscribe-form input[type="email"]::placeholder {
  color: var(--color-navy-text-muted);
  opacity: 0.5;
}

.nla-subscribe-trust {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-navy-text-muted);
  opacity: 0.6;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .nla-upcoming-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .nla-inside-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nla-hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .nla-hero-stat-divider {
    width: 32px;
    height: 1px;
  }

  .nla-inside-grid {
    grid-template-columns: 1fr;
  }

  .nla-subscribe-form {
    flex-direction: column;
  }

  .nla-subscribe-form input[type="email"],
  .nla-subscribe-form .btn-primary {
    width: 100%;
  }

  .nla-issue-story {
    flex-direction: column;
    gap: var(--space-2);
  }

  .nla-card-perspective {
    padding: var(--space-2);
  }

  /* Center gold CTA on mobile */
  .nla-issue-card-inner {
    text-align: center;
  }
  .nla-issue-card-cta {
    display: inline-flex;
    margin: 0 auto;
  }
}
