/* ================================================================
   WIWO — Internal Pages Shared Styles
   Extends the main design system (styles.css)
   ================================================================ */

/* ========== DARK MASTHEAD FOR INTERNAL PAGES ========== */
.masthead--dark {
  background: rgba(15, 15, 24, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.masthead--dark .nav-trigger,
.masthead--dark .nav-link {
  color: rgba(255, 255, 255, 0.65);
}

.masthead--dark .nav-trigger:hover,
.masthead--dark .nav-group.is-open .nav-trigger,
.masthead--dark .nav-link:hover {
  color: #fff;
}

.masthead--dark .hamburger,
.masthead--dark .hamburger::before,
.masthead--dark .hamburger::after {
  background: #fff;
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  padding: 10rem var(--gutter) 5rem;
  overflow: hidden;
  background: var(--bg);
}

.page-hero--dark {
  background: var(--bg-dark);
  color: #fff;
}

.page-hero--dark h1,
.page-hero--dark h2,
.page-hero--dark h3,
.page-hero--dark .page-hero-title,
.page-hero--dark .page-hero-desc,
.page-hero--dark .breadcrumb {
  color: #fff;
}

.page-hero--dark .page-hero-desc {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero--dark .breadcrumb {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero--dark .breadcrumb a:hover {
  color: var(--green);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  animation: kenburns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.18) translate(-2.5%, -1.5%);
  }
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-dark));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.page-hero--dark .page-hero-eyebrow {
  color: var(--green);
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.page-hero--dark .page-hero-desc {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.page-hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: var(--blue-10);
  color: var(--blue);
}

.page-hero--dark .page-hero-tag {
  background: rgba(59, 255, 0, 0.1);
  color: var(--green);
}

/* ========== PAGE SECTIONS ========== */
.page-section {
  padding: 6rem var(--gutter);
}

.page-section--soft {
  background: var(--bg-soft);
}

.page-section--white {
  background: var(--bg-white);
}

.page-section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.page-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ========== FEATURE GRID ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-item-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Dark variant */
.page-section--dark .feature-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.page-section--dark .feature-item h3 {
  color: #fff;
}

.page-section--dark .feature-item p {
  color: rgba(255, 255, 255, 0.8);
}

.page-section--dark .feature-item-num {
  color: var(--green);
}

/* ========== PROCESS / STEPS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  border: 1px solid var(--line);
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-10);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== STATS ROW ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-block-value {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}

.page-section--dark .stat-block-value {
  color: var(--green);
}

.stat-block-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.page-section--dark .stat-block-label {
  color: rgba(255, 255, 255, 0.8);
}

.page-section--dark .stats-row {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ========== SPLIT SECTION ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.split-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.split-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.split-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ========== CTA SECTION (SHARED) ========== */
.page-cta {
  padding: 6rem var(--gutter);
  text-align: center;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(66, 66, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.page-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.page-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.page-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.page-hero--dark .breadcrumb {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.page-hero--dark .breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ========== TOOLS / TECH TAGS ========== */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.tool-tag:hover {
  border-color: var(--blue);
  background: var(--blue-10);
}

/* ========== GLOBAL DARK SECTION TEXT OVERRIDES ========== */
/* Fix: base styles.css sets h1,h2,h3 { color: var(--ink) } which
   overrides inherited white text in dark sections. Force white. */
.page-section--dark h1,
.page-section--dark h2,
.page-section--dark h3,
.page-cta h1,
.page-cta h2,
.page-cta h3 {
  color: #fff;
}

.page-section--dark p,
.page-section--dark .split-text p {
  color: rgba(255, 255, 255, 0.6);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .page-hero {
    padding: 8rem var(--gutter) 3.5rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split--reverse {
    direction: ltr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ========== CLIENT LOGOS GRID ========== */
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  min-height: 140px;
}

.client-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(66,66,255,0.12);
}

.client-logo-item img {
  width: 95%;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-fallback {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-item:hover .client-logo-fallback {
  color: var(--ink);
}

@media (max-width: 768px) {
  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== NEOMARKETING PAGE — BOLD DESIGN ========== */

/* Manifesto hero */
.neo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0a0a14;
  color: #fff;
  overflow: hidden;
  padding: 6rem var(--gutter);
}

.neo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.neo-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  animation: kenburns 20s ease-in-out infinite alternate;
}

.neo-hero-bg--video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  pointer-events: none;
}

.neo-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,20,0.3) 0%, rgba(10,10,20,0.92) 100%);
  z-index: 1;
}

.neo-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.neo-hero-strike {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.neo-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.neo-hero-title .neo-green {
  color: var(--green);
}

.neo-hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.neo-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.neo-hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(59,255,0,0.08);
  color: var(--green);
  border: 1px solid rgba(59,255,0,0.15);
}

/* Old vs New comparison section */
.neo-vs {
  padding: 6rem var(--gutter);
  background: var(--bg-white);
}

.neo-vs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.neo-vs-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 3rem;
}

.neo-vs-col {
  padding: 3rem;
  border-radius: var(--radius);
}

.neo-vs-col--old {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.neo-vs-col--new {
  background: #0a0a14;
  color: #fff;
  border: 1px solid rgba(59,255,0,0.2);
}

.neo-vs-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.neo-vs-col--old h3 { color: #999; }
.neo-vs-col--new h3 { color: var(--green); }

.neo-vs-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
  line-height: 1.5;
}

.neo-vs-col--old .neo-vs-item {
  color: #888;
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.15);
}

.neo-vs-col--new .neo-vs-item {
  border-bottom-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.neo-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

/* Bold numbered section */
.neo-service {
  padding: 7rem var(--gutter);
  position: relative;
  overflow: hidden;
}

.neo-service-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.neo-service-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.12;
}

.neo-service--dark .neo-service-bg img {
  opacity: 0.2;
  mix-blend-mode: luminosity;
}

.neo-service-bg--video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  pointer-events: none;
}

.neo-service-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.neo-service-num {
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  opacity: 0.04;
  position: absolute;
  top: 2rem;
  left: var(--gutter);
  pointer-events: none;
}

.neo-service--dark .neo-service-num {
  color: #fff;
}

.neo-service--dark {
  background: #0a0a14;
  color: #fff;
}

.neo-service--dark .neo-service-header h2,
.neo-service--dark .neo-service-header h1 {
  color: #fff;
}

.neo-service-header {
  margin-bottom: 3rem;
  max-width: 700px;
}

.neo-service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: inline-block;
}

.text-purple { color: var(--blue); }

.neo-service-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.neo-service-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.neo-service--dark .neo-service-header p {
  color: rgba(255,255,255,0.8);
}

/* Manifesto CTA */
.neo-cta {
  padding: 8rem var(--gutter);
  background: #0a0a14;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.neo-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,255,0,0.08), transparent 70%);
  pointer-events: none;
}

.neo-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
}

.neo-cta h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.neo-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .neo-vs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .neo-vs-divider {
    transform: rotate(90deg);
    padding: 0.5rem;
  }
  .neo-hero {
    min-height: auto;
    padding: 10rem var(--gutter) 5rem;
  }
  .neo-service {
    padding: 5rem var(--gutter);
  }
}

/* ========== INSIGHT ARTICLE PAGE — IBM-INSPIRED ========== */

/* Article Hero */
.article-hero {
  padding: 9rem var(--gutter) 3rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
}

.article-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.article-hero-text {
  max-width: 560px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(59,255,0,0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.article-read-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.article-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-secondary);
  opacity: 0.4;
}

.article-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.article-hero-excerpt {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.article-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
}

.article-author-info {
  font-size: 0.85rem;
  line-height: 1.4;
}

.article-author-name {
  font-weight: 700;
  color: var(--ink);
}

.article-author-role {
  color: var(--text-secondary);
}

.article-hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.article-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Layout */
.article-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  padding: 3.5rem var(--gutter) 5rem;
}

/* Article Body */
.article-body {
  max-width: 720px;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.75rem;
  padding-left: 1.25rem;
}

.article-body li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* Pull Quote — IBM style */
.article-pullquote {
  background: var(--bg-soft);
  border-left: 4px solid var(--green);
  padding: 2.5rem 3rem;
  margin: 2.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-pullquote p {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.article-pullquote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  font-weight: 500;
}

/* Stat Callout */
.article-stat-callout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  background: #0a0a14;
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 2.5rem 0;
}

.article-stat {
  text-align: center;
}

.article-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1;
}

.article-stat-label,
.article-body .article-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85) !important;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Inline image */
.article-inline-img {
  margin: 2.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-inline-img img {
  width: 100%;
  height: auto;
  display: block;
}

.article-inline-img figcaption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  padding-left: 0.5rem;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.article-sidebar-section {
  margin-bottom: 2.5rem;
}

.article-sidebar-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.article-share-links {
  display: flex;
  gap: 0.75rem;
}

.article-share-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.article-share-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-10);
}

.article-share-link svg {
  width: 18px;
  height: 18px;
}

/* Table of Contents */
.article-toc {
  list-style: none;
  padding: 0;
}

.article-toc li {
  margin-bottom: 0.5rem;
}

.article-toc a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: color 0.2s;
  display: block;
  padding: 0.25rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}

.article-toc a:hover,
.article-toc a.active {
  color: var(--ink);
  border-left-color: var(--green);
}

/* Related articles */
.article-related {
  padding: 5rem var(--gutter);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.article-related-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-related-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-related-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.article-related-card-body {
  padding: 1.5rem;
}

.article-related-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.article-related-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Article Responsive */
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .article-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-hero-visual {
    order: -1;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  .article-pullquote {
    padding: 1.5rem 2rem;
  }
}
