/* ============================================
   EconPulse — Design System
   Light premium theme inspired by unseen.co
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors — Light Premium Palette */
  --bg-primary: #f7f6f3;
  --bg-secondary: #efeee9;
  --bg-card: #ffffff;
  --bg-nav: rgba(247, 246, 243, 0.85);
  --bg-footer: #1a1a1a;

  --text-primary: #1a1a1a;
  --text-secondary: #5a5a58;
  --text-tertiary: #8a8a88;
  --text-inverse: #f7f6f3;

  --accent: #2d5016;
  --accent-light: #e8f0e0;
  --accent-hover: #3a6b1d;

  --border: #e0dfda;
  --border-light: #eeede8;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-serif-alt: 'Playfair Display', 'Instrument Serif', Georgia, serif;

  --fs-display: clamp(3.2rem, 8vw, 7.5rem);
  --fs-h1: clamp(2.4rem, 5vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 3.5vw, 3rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.75rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
  --fs-small: clamp(0.75rem, 0.9vw, 0.875rem);
  --fs-label: 0.7rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1400px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.3s;
  --duration-mid: 0.6s;
  --duration-slow: 1s;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto; /* Lenis handles this */
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader__text {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  color: var(--text-primary);
  overflow: hidden;
}

.preloader__text span {
  display: inline-block;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: transform var(--duration-mid) var(--ease-out);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.nav__logo em {
  font-style: italic;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 0;
  overflow: visible;
}

/* --- Font Morph Effect on Nav --- */
.nav__link.font-morph {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.font-morph__sans,
.font-morph__serif {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.font-morph__sans {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.font-morph__serif {
  position: absolute;
  left: 0;
  top: 50%;
  font-family: var(--font-serif-alt);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 1.6em; /* Noticeably larger to match unseen! */
  transform: translateY(-50%);
  opacity: 0;
}

.morph-char {
  display: inline-block;
  transform-origin: bottom center;
}

.nav__link.font-morph:hover .font-morph__sans {
  transform: translateY(-100%);
  opacity: 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--text-primary);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-mid) var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  transition: color var(--duration-fast);
}

.mobile-menu__link:hover {
  color: var(--accent);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  position: relative;
}

.hero__label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 900px;
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}

.hero__scroll-indicator .line {
  width: 40px;
  height: 1px;
  background: var(--text-tertiary);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.5); opacity: 0.4; }
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* Animation driven by GSAP in animations.js for smooth scroll-responsive speed */
}

.marquee:hover .marquee__track {
  /* Pause handled via JS */
}

.marquee__item {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  white-space: nowrap;
  padding: 0 var(--space-lg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.marquee__item em {
  font-style: italic;
  color: var(--accent);
}

.marquee__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* marqueeScroll keyframes removed — GSAP handles the marquee now */

/* --- Section Shared --- */
.section {
  padding: var(--space-2xl) var(--space-lg);
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.section__label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-xs);
}

.section__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__link {
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1.5px solid var(--text-primary);
  padding-bottom: 2px;
  transition: color var(--duration-fast), border-color var(--duration-fast);
  flex-shrink: 0;
}

.section__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Featured Article --- */
.featured {
  padding: var(--space-xl) var(--space-lg);
}

.featured__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  cursor: pointer;
}

.featured__image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  position: relative;
}

.featured__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.featured__card:hover .featured__image-wrap img {
  transform: scale(1.05);
}

.featured__content {
  padding: var(--space-lg) 0;
}

.featured__category {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.featured__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  transition: color var(--duration-fast);
}

.featured__card:hover .featured__title {
  color: var(--accent);
}

.featured__excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.featured__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* --- Category Filter Bar --- */
.filter-bar {
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.filter-btn {
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all var(--duration-fast) var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover {
  border-color: var(--text-primary);
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
}

/* --- Article Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding: 0 var(--space-lg) var(--space-2xl);
}

.article-card {
  cursor: pointer;
  position: relative;
}

.article-card__image-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 11;
  margin-bottom: var(--space-md);
  position: relative;
  background: var(--bg-secondary);
}

.article-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.article-card__category {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
  transition: color var(--duration-fast);
}

.article-card:hover .article-card__title {
  color: var(--accent);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.article-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* --- Article Detail Page --- */
.article-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.article-hero__category {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.article-hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.article-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.article-hero__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

/* Banner Image */
.article-banner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto var(--space-xl);
  padding: 0 var(--space-lg);
}

.article-banner img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Article Body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-lg) var(--space-2xl);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin: var(--space-xl) 0 var(--space-md);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.article-body p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-md);
  font-size: var(--fs-body);
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.article-body ul, .article-body ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.article-body li {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-xs);
  list-style: disc;
}

.article-body img {
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.article-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: opacity var(--duration-fast);
}

.article-body a:hover {
  opacity: 0.7;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--nav-height);
  transition: color var(--duration-fast);
}

.back-link:hover {
  color: var(--text-primary);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* Related Articles */
.related {
  border-top: 1px solid var(--border);
}

/* --- Footer --- */
.footer {
  background: var(--bg-footer);
  color: var(--text-inverse);
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.footer__brand-name em {
  font-style: italic;
  color: var(--accent);
}

.footer__brand-desc {
  color: rgba(247, 246, 243, 0.5);
  line-height: 1.7;
  max-width: 380px;
}

.footer__col-title {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(247, 246, 243, 0.4);
  margin-bottom: var(--space-md);
}

.footer__col a {
  display: block;
  padding: 4px 0;
  color: rgba(247, 246, 243, 0.7);
  transition: color var(--duration-fast);
  font-size: var(--fs-small);
}

.footer__col a:hover {
  color: var(--text-inverse);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--fs-small);
  color: rgba(247, 246, 243, 0.35);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.line-reveal {
  overflow: hidden;
}

.line-reveal > * {
  transform: translateY(105%);
}

/* --- Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .featured__card {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --space-2xl: 5rem;
  }
  
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 85vh;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.25rem;
  }
}

/* ===========================================
   CUSTOM CURSOR & GLOW
   =========================================== */
/* Hide default cursor globally */
body {
  cursor: none;
  background-color: var(--bg-primary);
}

a, button, .filter-btn, .nav__link {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-50%, -50%, 0);
  margin: -6px 0 0 -6px; /* center it perfectly */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border 0.3s ease;
}

.custom-cursor.hovering {
  /* User requested the cursor remain just a dot on hover */
  background: var(--accent);
}

.custom-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  margin: -50px 0 0 -50px;
  opacity: 0;
  background: radial-gradient(circle, rgba(144, 255, 100, 0.4) 0%, transparent 70%);
  filter: blur(15px);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              margin 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s ease;
  mix-blend-mode: normal; /* Fixed pink/purple artifacts */
}

/* Light green glows on dark green (user request) */
.custom-cursor-glow.hovering {
  opacity: 1;
  width: 250px;
  height: 250px;
  margin: -125px 0 0 -125px;
  background: radial-gradient(circle, rgba(100, 255, 100, 0.2) 0%, rgba(136, 190, 100, 0.1) 40%, transparent 70%);
}

.custom-cursor-glow.massive {
  width: 600px;
  height: 600px;
  margin: -300px 0 0 -300px;
  background: radial-gradient(circle, rgba(100, 255, 100, 0.25) 0%, rgba(136, 190, 100, 0.1) 50%, transparent 70%);
  filter: blur(40px);
}

/* ===========================================
   IMPROVED TYPOGRAPHY
   =========================================== */
body {
  color: #111;
  letter-spacing: -0.01em;
}

.hero__title {
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga' 1, 'kern' 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 0.95;
}

.hero__title em {
  font-family: var(--font-serif-alt);
  font-weight: 500;
  font-size: 1.25em;
  display: inline-block;
  transform: translateY(0.08em);
  color: #1a1a1a;
}

.hero__subtitle {
  color: #333;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

.section__title {
  text-rendering: optimizeLegibility;
  letter-spacing: -0.025em;
}

.featured__title {
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga' 1;
  letter-spacing: -0.02em;
}

.article-card__title {
  text-rendering: optimizeLegibility;
}

.article-hero__title {
  font-family: var(--font-serif-alt);
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga' 1, 'kern' 1;
  letter-spacing: -0.02em;
}

/* ===========================================
   MOBILE / TOUCH SUPPORT
   =========================================== */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  /* Hide custom cursor completely on mobile/touch */
  .custom-cursor,
  .custom-cursor-glow {
    display: none !important;
  }
  
  /* Restore default interaction pointers */
  body, a, button, .filter-btn, .nav__link {
    cursor: auto !important;
  }
}
