*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0C0F14;
  --bg-secondary: #12161D;
  --bg-card: #181D27;
  --bg-card-hover: #1E2533;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dim: #8A7233;
  --text-primary: #E8E4DD;
  --text-secondary: #9A968E;
  --text-muted: #5E5B55;
  --accent: #C9A84C;
  --border: rgba(201, 168, 76, 0.12);
  --border-strong: rgba(201, 168, 76, 0.25);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1140px;
  --radius: 12px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-name span { color: var(--gold); }
.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

/* Mobile menu */
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--text-primary); cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-primary);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.04em;
  border: none; border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
  padding: 14px 8px;
}
.btn-secondary:hover { color: var(--gold-light); }
.btn-secondary svg { transition: transform 0.3s; }
.btn-secondary:hover svg { transform: translateX(3px); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.orbit-graphic {
  width: 380px; height: 380px;
  position: relative;
}
.orbit-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: orbit-spin 30s linear infinite;
}
.orbit-ring:nth-child(1) { inset: 0; }
.orbit-ring:nth-child(2) { inset: 50px; border-color: var(--border-strong); animation-duration: 22s; animation-direction: reverse; }
.orbit-ring:nth-child(3) { inset: 100px; animation-duration: 16s; }
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.5);
}
.orbit-ring:nth-child(1) .orbit-dot { top: -4px; left: 50%; }
.orbit-ring:nth-child(2) .orbit-dot { bottom: -4px; right: 20%; }
.orbit-ring:nth-child(3) .orbit-dot { top: 50%; right: -4px; }
.orbit-center {
  position: absolute;
  inset: 130px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* ── Sections ── */
section { padding: 100px 0; position: relative; }
section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.section-label {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
  align-items: start;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 40px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--border-strong); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
}
.journey-timeline { position: relative; padding-left: 28px; }
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dim), transparent);
}
.journey-step { margin-bottom: 32px; position: relative; }
.journey-step:last-child { margin-bottom: 0; }
.journey-step::before {
  content: '';
  position: absolute;
  left: -32px; top: 8px;
  width: 9px; height: 9px;
  background: var(--bg-primary);
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.journey-step.active::before {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}
.journey-step-label {
  font-size: 0.72rem;
  color: var(--gold-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.journey-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 4px;
}
.journey-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Dashboard ── */
.dash-section { background: var(--bg-secondary); }
.dash-header-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  margin-top: 56px; margin-bottom: 28px;
}
.dash-updated {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.dash-updated span { color: var(--gold-dim); }
.dash-top-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dash-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.dash-kpi::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
}
.dash-kpi.positive::after { background: linear-gradient(90deg, transparent, #4ADE80, transparent); }
.dash-kpi.negative::after { background: linear-gradient(90deg, transparent, #F87171, transparent); }
.dash-kpi.neutral::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.dash-kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.dash-kpi-value {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.dash-kpi-change {
  font-size: 0.82rem;
  font-weight: 500;
}
.dash-kpi-change.up { color: #4ADE80; }
.dash-kpi-change.down { color: #F87171; }
.dash-kpi-change.flat { color: var(--text-muted); }

.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.dash-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.dash-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
}
.dash-card-badge {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.dash-chart-container {
  position: relative;
  width: 100%;
  height: 240px;
}
.dash-chart-container canvas { width: 100% !important; height: 100% !important; }

/* Allocation donut */
.dash-alloc-container {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
}
.dash-donut-wrap {
  position: relative;
  width: 180px; height: 180px;
}
.dash-donut-wrap canvas { width: 100% !important; height: 100% !important; }
.dash-donut-center {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.dash-donut-center-val {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-primary);
}
.dash-donut-center-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-legend { width: 100%; }
.dash-legend-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
.dash-legend-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.dash-legend-item span:last-child {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

/* Holdings table */
.dash-holdings {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.dash-table-wrap { overflow-x: auto; }
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.dash-table th {
  text-align: left;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 0 12px 14px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dash-table th:last-child,
.dash-table td:last-child { text-align: right; }
.dash-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table .ticker {
  font-weight: 600;
  color: var(--text-primary);
}
.dash-table .name {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-left: 4px;
}
.dash-table .gain { color: #4ADE80; font-weight: 500; }
.dash-table .loss { color: #F87171; font-weight: 500; }
.dash-sparkline { display: inline-block; vertical-align: middle; }

/* Goal progress */
.dash-goal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.dash-goal-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 20px;
}
.dash-goal-ring-wrap {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 20px;
}
.dash-goal-ring-wrap canvas { width: 100% !important; height: 100% !important; }
.dash-goal-pct {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold);
}
.dash-goal-detail {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.dash-goal-detail strong {
  color: var(--text-primary);
  font-weight: 600;
}
.dash-bottom-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .dash-top-row { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-bottom-row { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .dash-top-row { grid-template-columns: 1fr; }
}

/* ── Videos ── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
}
.video-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-icon {
  width: 56px; height: 56px;
  background: rgba(201, 168, 76, 0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}
.video-card:hover .video-play-icon { transform: scale(1.1); }
.video-play-icon svg { margin-left: 3px; }
.video-info { padding: 20px; }
.video-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.video-tag {
  font-size: 0.68rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: rgba(201, 168, 76, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}
.video-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.video-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.video-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.videos-cta {
  text-align: center;
  margin-top: 40px;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.active { display: flex; }
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.video-modal-content iframe {
  width: 100%; height: 100%;
  border: none;
}
.video-modal-close {
  position: absolute;
  top: -44px; right: 0;
  background: none; border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s;
}
.video-modal-close:hover { color: var(--gold); }

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ── Topics / What I Cover ── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.topic-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.topic-card:hover::before { opacity: 1; }
.topic-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.3rem;
}
.topic-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 10px;
}
.topic-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Calculator ── */
.calc-section { background: var(--bg-secondary); }
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: start;
}
.calc-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.calc-field { margin-bottom: 24px; }
.calc-field:last-of-type { margin-bottom: 0; }
.calc-field label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 500;
}
.calc-field input[type="number"],
.calc-field input[type="range"] { width: 100%; }
.calc-field input[type="number"] {
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  -moz-appearance: textfield;
}
.calc-field input[type="number"]::-webkit-inner-spin-button,
.calc-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.calc-field input[type="number"]:focus { border-color: var(--gold-dim); }
.calc-input-row {
  display: flex; align-items: center; gap: 12px;
}
.calc-input-row input[type="number"] { flex: 1; }
.calc-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 50px;
}
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border-strong);
  border-radius: 4px;
  outline: none;
  margin-top: 8px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}
.calc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result-main {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.calc-result-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.calc-result-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.calc-result-value .currency {
  font-size: 0.5em;
  color: var(--gold-dim);
  vertical-align: super;
  margin-right: 4px;
}
.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.calc-breakdown-item {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.calc-breakdown-value {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.calc-breakdown-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.calc-bar-container {
  margin-top: 8px;
}
.calc-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-bar {
  height: 10px;
  background: var(--bg-primary);
  border-radius: 100px;
  overflow: hidden;
  display: flex;
}
.calc-bar-deposit {
  background: var(--text-muted);
  height: 100%;
  border-radius: 100px 0 0 100px;
  transition: width 0.5s ease;
}
.calc-bar-interest {
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  height: 100%;
  border-radius: 0 100px 100px 0;
  transition: width 0.5s ease;
}
.calc-cta {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.calc-cta a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
}
.calc-cta a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
}

/* ── Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s;
}
.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.product-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  margin-bottom: 12px;
}
.product-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.product-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.product-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.product-features li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5rem;
}
.product-card.featured {
  border-color: var(--gold-dim);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 168, 76, 0.04) 100%);
}
.product-price {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 8px;
}
.product-price .price {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold);
}
.product-price .period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Newsletter ── */
.newsletter-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.newsletter-form {
  display: flex; gap: 12px;
  margin-top: 36px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--gold-dim); }
.newsletter-form button {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--bg-primary);
  border: none; border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}
.newsletter-form button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.newsletter-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 56px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 10px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-item-value {
  color: var(--text-primary);
  font-size: 0.95rem;
}
.contact-item-value a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-item-value a:hover { color: var(--gold-light); }

.social-links {
  display: flex; gap: 12px;
  margin-top: 32px;
}
.social-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 16px; }
.form-row > * { flex: 1; }
.contact-form label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold-dim); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  align-self: flex-start;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--bg-primary);
  border: none; border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ── Footer ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .orbit-graphic { width: 260px; height: 260px; }
  .orbit-ring:nth-child(2) { inset: 35px; }
  .orbit-ring:nth-child(3) { inset: 70px; }
  .orbit-center { inset: 90px; font-size: 1.4rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .topics-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .logo-tagline { display: none; }
  .logo-icon { width: 38px; height: 38px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(12, 15, 20, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .newsletter-form { flex-direction: column; }
  .form-row { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ===================================================================
   Brevo / Sendinblue newsletter form — style overrides (scoped)
   =================================================================== */
  :where(.sib-form-message-panel) { display: none; }
  :where(.sib-form-message-panel .sib-notification__icon) { width: 20px; height: 20px; }

  /* ===== The Rich Orbit overrides — wartości skopiowane z .newsletter-form ===== */

  .sib-form {
    text-align: center;
    background-color: transparent !important;
    padding: 0 !important;
  }

  #sib-container {
    max-width: none;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
  }

  /* identycznie jak .newsletter-form { display:flex; gap:12px; margin-top:36px; } */
  .ro-form-row {
    display: flex;
    gap: 12px;
    margin-top: 36px;
  }

  .ro-form-row .entry__field {
    flex: 1;
    display: flex;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  /* identycznie jak .newsletter-form input */
  #sib-container .input {
    flex: 1;
    width: 100%;
    height: auto !important;
    padding: 14px 20px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    outline: none;
    transition: border-color 0.3s;
    box-shadow: none !important;
    text-align: left;
  }

  #sib-container .input:focus {
    border-color: var(--gold-dim) !important;
  }

  #sib-container input::placeholder {
    color: var(--text-muted) !important;
    font-family: var(--font-body) !important;
    text-align: left;
  }

  #sib-container input:-ms-input-placeholder {
    color: var(--text-muted) !important;
  }

  /* identycznie jak .newsletter-form button */
  #sib-container .sib-form-block__button {
    padding: 14px 28px !important;
    background: var(--gold) !important;
    color: var(--bg-primary) !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    text-align: center;
  }

  /* identycznie jak .newsletter-form button:hover */
  #sib-container .sib-form-block__button:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
  }

  /* notka — identycznie jak .newsletter-note */
  #sib-container .entry__specification {
    display: block;
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    font-family: var(--font-body) !important;
    margin-top: 14px;
    text-align: center !important;
    line-height: 1.65;
  }

  /* błąd walidacji pola — dyskretny, w kolorach strony */
  #sib-container .entry__error {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem !important;
    font-family: var(--font-body) !important;
    text-align: left;
    color: #F87171 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
  }

  #sib-container .entry__error:empty { display: none; }

  /* komunikaty po wysyłce */
  #error-message,
  #success-message {
    font-family: var(--font-body);
    font-size: 0.88rem;
    text-align: left;
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 12px 16px;
  }

  #error-message {
    color: #F87171;
    background-color: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.3);
  }

  #success-message {
    color: #4ADE80;
    background-color: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.3);
  }

  #sib-container a {
    text-decoration: underline;
    color: var(--gold-light);
  }

  /* mobile — ten sam breakpoint co .newsletter-form (900px) */
  @media (max-width: 900px) {
    .ro-form-row { flex-direction: column; }
    #sib-container .sib-form-block__button { width: 100%; }
  }
/* ===================================================================
   ARTYKUŁY — lista, karty, pojedynczy wpis, paginacja, nawigacja
   Sekcja spójna z resztą The Rich Orbit (zmienne, .topic-card).
   Jedna, czysta wersja — bez duplikatów i nadpisań.
   =================================================================== */

/* ── Karty artykułów (lista /artykuly/ i sekcja na stronie głównej) ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.article-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.article-card:hover::before { opacity: 1; }

/* Metadane: plakietka + data + czas czytania (wspólne dla kart i nagłówka wpisu) */
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.article-card-tag {
  font-size: 0.68rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: rgba(201, 168, 76, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
}
.article-card-meta time,
.article-reading-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.article-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}
.article-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-top: auto;
}
.article-card-more svg { transition: transform 0.3s; }
.article-card:hover .article-card-more svg { transform: translateX(3px); }

/* ── Strona listy /artykuly/ ── */
.articles-page { padding-top: 160px; }

.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
}
.page-btn {
  padding: 11px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
}
.page-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.page-btn.disabled { opacity: 0.35; pointer-events: none; }
.page-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.articles-empty {
  margin-top: 56px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Pojedynczy artykuł ── */
.article-single {
  padding: 160px 0 80px;
}
.article-single::after { display: none; }   /* bez ozdobnej kreski spod sekcji */

.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  transition: color 0.3s;
}
.article-back:hover { color: var(--gold-light); }
.article-back svg { transition: transform 0.3s; }
.article-back:hover svg { transform: translateX(-3px); }

.article-header {
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.article-header .article-card-meta { margin-bottom: 20px; }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.article-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Treść (renderowany Markdown) */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.article-content > *:first-child { margin-top: 0; }
.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--text-primary);
  margin: 48px 0 18px; line-height: 1.3;
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--text-primary);
  margin: 36px 0 14px; line-height: 1.35;
}
.article-content h4 {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.article-content p { margin: 0 0 22px; }
.article-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-dim);
  transition: text-decoration-color 0.3s;
}
.article-content a:hover { text-decoration-color: var(--gold-light); }
.article-content strong { color: var(--text-primary); font-weight: 600; }
.article-content em { font-style: italic; }
.article-content ul,
.article-content ol { margin: 0 0 22px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content ul li::marker { color: var(--gold); }
.article-content ol li::marker { color: var(--gold); font-weight: 600; }
.article-content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold-dim);
  color: var(--text-primary);
  font-style: italic;
  font-size: 1.08rem;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content img {
  max-width: 100%; height: auto;
  border-radius: var(--radius);
  margin: 28px 0;
  border: 1px solid var(--border);
}
.article-content hr {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 44px 0;
}
.article-content code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--gold-light);
}
.article-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px; overflow-x: auto;
  margin: 28px 0; font-size: 0.9rem; line-height: 1.6;
}
.article-content pre code {
  background: none; border: none; padding: 0;
  color: var(--text-primary); font-size: inherit;
}
.article-content table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0; font-size: 0.92rem;
}
.article-content th,
.article-content td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.article-content th {
  color: var(--text-primary); font-weight: 600;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
}

/* Nawigacja poprzedni / następny — kompaktowe karty w obrębie kolumny treści.
   position: static chroni przed regułą globalną "nav { position: fixed }". */
.article-nav {
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.35s ease;
}
.article-nav-link.next { text-align: right; }
.article-nav-link:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.article-nav-label {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.article-nav-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
  .articles-page { padding-top: 120px; }
}
@media (max-width: 700px) {
  .article-single { padding-top: 120px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-link.next { text-align: left; }
}