/* ============================================
   PULSE Design System — Smart Home Singapore
   ============================================ */

:root {
  /* Colors - Foundation */
  --pulse-bg: #0B1120;
  --pulse-surface: #111827;
  --pulse-raised: #1A2332;
  --pulse-border: rgba(148, 163, 184, 0.08);
  --pulse-border-hover: rgba(56, 189, 248, 0.2);

  /* Colors - Accent */
  --pulse-cyan: #38BDF8;
  --pulse-cyan-hover: #7DD3FC;
  --pulse-cyan-muted: rgba(56, 189, 248, 0.12);
  --pulse-green: #34D399;
  --pulse-amber: #FBBF24;

  /* Colors - Neutrals */
  --pulse-white: #F8FAFC;
  --pulse-heading: #E2E8F0;
  --pulse-prose: #94A3B8;
  --pulse-muted: #64748B;
  --pulse-dim: #475569;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-editorial: 'Instrument Serif', Georgia, serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Type Scale */
  --text-display: clamp(2.5rem, 4.5vw, 3.75rem);
  --text-h1: clamp(2rem, 3.5vw, 2.75rem);
  --text-h2: clamp(1.5rem, 2.5vw, 2rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-h4: 1.175rem;
  --text-deck: clamp(1.05rem, 1.6vw, 1.25rem);
  --text-body-lg: 1.0625rem;
  --text-body: 0.9375rem;
  --text-body-sm: 0.8125rem;
  --text-label: 0.6875rem;
  --text-caption: 0.625rem;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.1);
  --shadow-glow: 0 0 24px rgba(56, 189, 248, 0.15);

  /* Layout */
  --max-width: 1140px;
  --content-width: 660px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--pulse-prose);
  background: var(--pulse-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pulse-cyan); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--pulse-cyan-hover); }

/* ---- Container ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pulse-border);
  height: 56px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo:hover { text-decoration: none; }
.logo-mark {
  width: 8px;
  height: 8px;
  background: var(--pulse-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pulse-heading);
  letter-spacing: -0.02em;
}
.logo-text strong { color: var(--pulse-cyan); font-weight: 700; }

.site-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}
.site-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.02em;
  color: var(--pulse-muted);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--pulse-heading); text-decoration: none; }
.nav-cta {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--pulse-cyan);
  border-radius: var(--radius-md);
  color: var(--pulse-cyan) !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
}
.nav-cta:hover {
  background: var(--pulse-cyan-muted) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pulse-heading);
  transition: all 0.2s ease;
}

main { padding-top: 56px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--pulse-border);
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.06), transparent);
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--pulse-cyan-muted);
  color: var(--pulse-cyan);
  margin-bottom: var(--space-lg);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 800;
  color: var(--pulse-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}
.hero h1 em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--pulse-cyan);
}
.hero p {
  font-size: var(--text-deck);
  color: var(--pulse-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--pulse-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--pulse-border);
}

/* ============================================
   ARTICLE GRID
   ============================================ */
.articles-section {
  padding: var(--space-3xl) 0;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

/* ============================================
   FEATURED ARTICLE
   ============================================ */
.featured-article {
  margin-bottom: var(--space-2xl);
}
.featured-article > a {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.featured-article > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pulse-border-hover);
  text-decoration: none;
}
.featured-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--pulse-raised);
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.featured-article > a:hover .featured-image img {
  transform: scale(1.03);
}
.featured-content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--pulse-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}
.featured-content p {
  color: var(--pulse-muted);
  font-size: var(--text-body-sm);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   ARTICLE CARD
   ============================================ */
.article-card {
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--pulse-border-hover);
}
.article-card a { text-decoration: none; display: block; }
.article-card a:hover { text-decoration: none; }

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--pulse-raised);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-card:hover .card-image img {
  transform: scale(1.03);
}
.card-content {
  padding: var(--space-lg);
}
.card-category {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--pulse-cyan-muted);
  color: var(--pulse-cyan);
  display: inline-block;
  margin-bottom: var(--space-sm);
}
.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h4);
  color: var(--pulse-white);
  line-height: 1.3;
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}
.card-excerpt {
  font-size: var(--text-body-sm);
  color: var(--pulse-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.card-meta {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--pulse-dim);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.card-meta .reading-time::before {
  content: "\b7";
  margin-right: var(--space-sm);
}

/* ============================================
   SINGLE ARTICLE
   ============================================ */
.article-single {
  padding: var(--space-3xl) 0;
}
.article-container {
  max-width: 860px;
}

.article-header .card-category {
  margin-bottom: var(--space-md);
}
.article-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--pulse-white);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: var(--content-width);
  margin-bottom: var(--space-lg);
}
.article-subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: var(--text-deck);
  color: var(--pulse-heading);
  line-height: 1.6;
  max-width: var(--content-width);
  margin-bottom: var(--space-xl);
}
.article-meta {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--pulse-muted);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--pulse-border);
  border-bottom: 1px solid var(--pulse-border);
  margin-bottom: var(--space-2xl);
  letter-spacing: 0.02em;
}
.article-meta .reading-time::before {
  content: "\b7";
  margin-right: var(--space-md);
}

.article-hero-image {
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Article body */
.article-body {
  max-width: var(--content-width);
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--pulse-prose);
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-h2);
  color: var(--pulse-white);
  letter-spacing: -0.02em;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h3);
  color: var(--pulse-heading);
  letter-spacing: -0.01em;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.25;
}
.article-body h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h4);
  color: var(--pulse-heading);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.article-body a {
  color: var(--pulse-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: var(--pulse-cyan-hover);
}
.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body strong {
  color: var(--pulse-heading);
  font-weight: 600;
}
.article-body em {
  font-family: var(--font-editorial);
}
.article-body blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--pulse-cyan);
  border-left: 3px solid var(--pulse-cyan);
  padding: var(--space-md) var(--space-xl);
  margin: var(--space-2xl) 0;
  background: var(--pulse-cyan-muted);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body blockquote p { margin-bottom: 0; line-height: 1.5; }
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--pulse-raised);
  color: var(--pulse-cyan);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
}
.article-body pre {
  background: var(--pulse-raised);
  border: 1px solid var(--pulse-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow-x: auto;
  margin: var(--space-xl) 0;
}
.article-body pre code {
  background: none;
  padding: 0;
  color: var(--pulse-heading);
}
.article-body img {
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: var(--text-body-sm);
}
.article-body th {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pulse-muted);
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 2px solid var(--pulse-border);
}
.article-body td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--pulse-border);
  color: var(--pulse-heading);
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding-top: var(--space-2xl);
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--pulse-border);
  max-width: var(--content-width);
}
.article-tags .tag, .tag {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.06);
  color: var(--pulse-muted);
  transition: all 0.15s ease;
}
.article-tags .tag:hover, .tag:hover {
  background: var(--pulse-cyan-muted);
  color: var(--pulse-cyan);
  text-decoration: none;
}

/* ============================================
   RELATED ARTICLES
   ============================================ */
.related-articles {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--pulse-border);
  margin-top: var(--space-2xl);
}
.related-articles h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-h3);
  color: var(--pulse-heading);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xl);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 0 0 var(--space-3xl);
}
.cta-card {
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border-hover);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pulse-cyan), transparent);
}
.cta-card h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--pulse-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}
.cta-card p {
  color: var(--pulse-muted);
  font-size: var(--text-body);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LIST / CATEGORY PAGES
   ============================================ */
.list-section {
  padding: var(--space-3xl) 0;
}
.list-header {
  margin-bottom: var(--space-2xl);
}
.list-header h1 {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--pulse-white);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.list-header p {
  color: var(--pulse-muted);
  margin-top: var(--space-sm);
}

/* ============================================
   TERMS
   ============================================ */
.terms-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.term-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--pulse-surface);
  border: 1px solid var(--pulse-border);
  color: var(--pulse-heading);
  transition: all 0.15s ease;
}
.term-item:hover {
  border-color: var(--pulse-border-hover);
  color: var(--pulse-cyan);
  text-decoration: none;
}
.term-count {
  font-size: var(--text-caption);
  color: var(--pulse-dim);
  background: rgba(148, 163, 184, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-sm);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--pulse-cyan);
  color: var(--pulse-cyan);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}
.btn:hover {
  background: var(--pulse-cyan-muted);
  text-decoration: none;
}
.btn-primary {
  background: var(--pulse-cyan);
  color: var(--pulse-bg);
  border-color: var(--pulse-cyan);
}
.btn-primary:hover {
  background: var(--pulse-cyan-hover);
  box-shadow: var(--shadow-glow);
  color: var(--pulse-bg);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) 0;
  color: var(--pulse-muted);
}
.empty-state h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--pulse-heading);
  margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #080D1A;
  border-top: 1px solid var(--pulse-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer-about .logo-text {
  display: block;
  margin-bottom: var(--space-md);
}
.footer-about .logo-text strong { color: var(--pulse-cyan); }
.footer-about p {
  color: var(--pulse-muted);
  font-size: var(--text-body-sm);
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pulse-heading);
  margin-bottom: var(--space-lg);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-sm); }
.footer-col a {
  color: var(--pulse-muted);
  font-size: var(--text-body-sm);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--pulse-heading); }
.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--pulse-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--pulse-dim);
}
.footer-bottom .back-to-top {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--pulse-muted);
  letter-spacing: 0.04em;
}
.footer-bottom .back-to-top:hover { color: var(--pulse-cyan); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .featured-article > a { grid-template-columns: 1fr; }
  .featured-content { padding: var(--space-xl); }
  .article-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .hero { padding: var(--space-3xl) 0 var(--space-2xl); }
  .article-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
  .article-meta { flex-wrap: wrap; gap: var(--space-xs); }
  .cta-card { padding: var(--space-xl); }
  .nav-toggle { display: flex; }
  .site-nav ul {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
  }
  .site-nav.open ul { display: flex; }
  .site-nav.open a { font-size: 1.125rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .article-grid { grid-template-columns: 1fr; }
  .hero { padding: var(--space-2xl) 0; }
  .card-content { padding: var(--space-md) var(--space-lg) var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
}
