@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg-page: #f8fafc;
  --surface: #ffffff;
  --surface-subtle: #f1f5f9;
  --surface-alt: #f8fafc;
  
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-light: #f1f5f9;

  /* Vibrant Accents matching Mockup */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --purple: #6366f1;
  --purple-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --cyan-blue-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  --badge-hot: #8b5cf6;
  --badge-news: #3b82f6;

  /* Status and Category highlights */
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --cyan: #06b6d4;

  /* Card elevation & borders */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

img {
  display: block;
  width: 100%;
}

.wrap {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}

/* ==========================================================================
   Utility Top Bar
   ========================================================================== */
.utility {
  background: #0f172a;
  color: #e2e8f0;
  font: 500 11px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid #1e293b;
}

.utility .wrap {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #38bdf8;
}

.pulse i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.utility-note {
  color: #94a3b8;
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.nav .wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--purple-gradient);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.navlinks a {
  position: relative;
  padding: 8px 2px;
  white-space: nowrap;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--accent);
}

.navlinks a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .2s ease;
}

.navlinks a:hover:after,
.navlinks a.active:after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-full {
  width: 100%;
  padding: 12px 20px;
}

.search-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 15px;
  transition: all .15s ease;
}

.search-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 32px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.95fr);
  gap: 24px;
}

/* Left Lead Card */
.lead-card {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  background: #090e17;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.72;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.lead-card:hover .lead-img {
  transform: scale(1.03);
  opacity: 0.8;
}

.lead-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 23, 0.1) 0%, rgba(9, 14, 23, 0.65) 55%, rgba(9, 14, 23, 0.95) 95%);
  pointer-events: none;
}

.lead-floating-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple-gradient);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.lead-copy {
  position: relative;
  z-index: 2;
  padding: 36px;
  color: #ffffff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.badge-purple {
  background: var(--purple-gradient);
  color: #ffffff;
}

.badge-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.badge-soft {
  background: #f1f5f9;
  color: #475569;
}

.lead-card h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 14px 0 16px;
  color: #ffffff;
  font-weight: 800;
}

.lead-card h1 a {
  color: #ffffff;
}

.lead-card h1 a:hover {
  color: #93c5fd;
}

.lead-dek {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 0 20px;
  line-height: 1.55;
}

.lead-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 12px 'IBM Plex Mono', monospace;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lead-meta span.divider {
  width: 16px;
  height: 1px;
  background: #475569;
}

/* Right Briefing Card */
.side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.briefing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.briefing-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.briefing-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #1e293b;
}

.briefing h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 12px 0 8px;
  color: var(--ink);
}

.briefing p.brief-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.5;
}

.brief-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brief-list li {
  background: var(--surface-subtle);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all 0.15s ease;
}

.brief-list li:hover {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.brief-list b {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
}

.brief-load-more {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.2s ease;
}

.brief-load-more:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* Ad Placements */
.ad-box {
  background: var(--surface-subtle);
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.ad-box strong {
  display: block;
  font: 700 11px 'IBM Plex Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 4px;
}

.ad-box span {
  font-size: 12px;
}

/* ==========================================================================
   Trending // Popular Ticker
   ========================================================================== */
.trending-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin: 16px 0 40px;
}

.trending-flex {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.trending-flex::-webkit-scrollbar {
  display: none;
}

.trending-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 2px solid var(--line);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tag-pill:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Sections & Story Grids
   ========================================================================== */
.section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.section-head h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.section-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* 3-Column Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.story-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #0f172a;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card:hover .story-img-wrap img {
  transform: scale(1.05);
}

.story-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.story-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}

.story-body h3 a {
  color: inherit;
}

.story-body h3 a:hover {
  color: var(--accent);
}

.story-summary {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-meta {
  font: 500 11.5px 'IBM Plex Mono', monospace;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   Crypto News Feature Banner Card
   ========================================================================== */
.feature-banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.feature-banner-img {
  position: relative;
  min-height: 320px;
  background: #0f172a;
}

.feature-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-banner-content {
  background: var(--cyan-blue-gradient);
  color: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-banner-content .badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
  align-self: flex-start;
}

.feature-banner-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: #ffffff;
}

.feature-banner-content h3 a {
  color: #ffffff;
}

.feature-banner-content h3 a:hover {
  text-decoration: underline;
}

.feature-banner-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 24px;
}

.feature-banner-content .btn {
  align-self: flex-start;
  background: #ffffff;
  color: #1e3a8a;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.feature-banner-content .btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

/* ==========================================================================
   Altcoin Section with Sidebar
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.95fr);
  gap: 32px;
}

/* Horizontal List Cards */
.story-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-row-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-row-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.story-row-img {
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0f172a;
}

.story-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-row-card:hover .story-row-img img {
  transform: scale(1.05);
}

.story-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-row-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.story-row-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}

.story-row-body h3 a:hover {
  color: var(--accent);
}

.story-row-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-row-meta {
  font: 500 11px 'IBM Plex Mono', monospace;
  color: var(--muted);
  text-transform: uppercase;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.widget-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all 0.15s ease;
}

.cat-item a:hover {
  background: #ffffff;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(3px);
}

.cat-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

/* Latest Notes Widget */
.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notes-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.note-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-top: 5px;
}

.note-dot.amber { background: var(--amber); }
.note-dot.emerald { background: var(--emerald); }
.note-dot.blue { background: var(--accent); }
.note-dot.purple { background: var(--purple); }

/* ==========================================================================
   Article Page Styling
   ========================================================================== */
.article-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 16px 0;
  color: var(--ink);
}

.article-lead-text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 840px;
  margin: 0 0 24px;
}

.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font: 500 12px 'IBM Plex Mono', monospace;
  color: var(--muted);
  text-transform: uppercase;
}

.article-featured-media {
  margin: 32px 0 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.article-featured-media img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1e293b;
}

.article-content p {
  margin-bottom: 1.75rem;
}

.article-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}

.article-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  color: var(--ink);
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--accent);
  background: var(--surface-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #090d16;
  color: #94a3b8;
  padding: 60px 0 28px;
  margin-top: 60px;
  border-top: 1px solid #1e293b;
}

.footgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footbig {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px;
}

.footgrid h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0 0 18px;
}

.footgrid a {
  display: block;
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footgrid a:hover {
  color: #ffffff;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  flex-grow: 1;
  background: #141c2e;
  border: 1px solid #28354f;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form button {
  background: var(--purple-gradient);
  border: none;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
}

.disclaimer {
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Modals & Panels
   ========================================================================== */
.search-panel, .modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.search-panel.open, .modal.open {
  display: flex;
}

.search-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(640px, 100%);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}

.search-row input {
  flex-grow: 1;
  border: none;
  font-size: 18px;
  outline: none;
  color: var(--ink);
}

.search-row .close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--muted);
}

.results {
  margin-top: 16px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result {
  text-align: left;
  padding: 12px 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
}

.result:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .split-layout {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footgrid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navlinks {
    display: none;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-row-card {
    grid-template-columns: 1fr;
  }
  .story-row-img {
    height: 180px;
  }
  .footgrid {
    grid-template-columns: 1fr;
  }
  .disclaimer {
    flex-direction: column;
    align-items: flex-start;
  }
}